github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/compute/v2/extensions/serverusage/testing/fixtures.go (about) 1 package testing 2 3 // ServerWithUsageExtResult represents a raw server response from the Compute API 4 // with OS-SRV-USG data. 5 // Most of the actual fields were deleted from the response. 6 const ServerWithUsageExtResult = ` 7 { 8 "server": { 9 "OS-SRV-USG:launched_at": "2018-07-27T09:15:55.000000", 10 "OS-SRV-USG:terminated_at": null, 11 "created": "2018-07-27T09:15:48Z", 12 "updated": "2018-07-27T09:15:55Z", 13 "id": "d650a0ce-17c3-497d-961a-43c4af80998a", 14 "name": "test_instance", 15 "status": "ACTIVE", 16 "user_id": "0f2f3822679e4b3ea073e5d1c6ed5f02", 17 "tenant_id": "424e7cf0243c468ca61732ba45973b3e" 18 } 19 } 20 `