File: test_mgmt_compute.test_usage.yaml

package info (click to toggle)
python-azure 20181112%2Bgit-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 407,300 kB
  • sloc: python: 717,190; makefile: 201; sh: 76
file content (154 lines) | stat: -rw-r--r-- 12,356 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
interactions:
- request:
    body: null
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      User-Agent: [python/3.6.4 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5
          msrest_azure/0.4.34 computemanagementclient/4.3.0 Azure-SDK-For-Python]
      accept-language: [en-US]
    method: GET
    uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/usages?api-version=2018-10-01
  response:
    body: {string: "{\r\n  \"value\": [\r\n    {\r\n      \"limit\": 2000,\r\n      \"unit\":
        \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\": {\r\n        \"value\":
        \"availabilitySets\",\r\n        \"localizedValue\": \"Availability Sets\"\r\n
        \     }\r\n    },\r\n    {\r\n      \"limit\": 100,\r\n      \"unit\": \"Count\",\r\n
        \     \"currentValue\": 1,\r\n      \"name\": {\r\n        \"value\": \"cores\",\r\n
        \       \"localizedValue\": \"Total Regional vCPUs\"\r\n      }\r\n    },\r\n
        \   {\r\n      \"limit\": 10000,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\":
        1,\r\n      \"name\": {\r\n        \"value\": \"virtualMachines\",\r\n        \"localizedValue\":
        \"Virtual Machines\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\": 2000,\r\n
        \     \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"virtualMachineScaleSets\",\r\n        \"localizedValue\":
        \"Virtual Machine Scale Sets\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 1,\r\n      \"name\":
        {\r\n        \"value\": \"standardDSv2Family\",\r\n        \"localizedValue\":
        \"Standard DSv2 Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"basicAFamily\",\r\n        \"localizedValue\": \"Basic
        A Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\": 100,\r\n
        \     \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardA0_A7Family\",\r\n        \"localizedValue\":
        \"Standard A0-A7 Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardA8_A11Family\",\r\n        \"localizedValue\":
        \"Standard A8-A11 Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardDFamily\",\r\n        \"localizedValue\":
        \"Standard D Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardDv2Family\",\r\n        \"localizedValue\":
        \"Standard Dv2 Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardDSFamily\",\r\n        \"localizedValue\":
        \"Standard DS Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardGFamily\",\r\n        \"localizedValue\":
        \"Standard G Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardGSFamily\",\r\n        \"localizedValue\":
        \"Standard GS Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardFFamily\",\r\n        \"localizedValue\":
        \"Standard F Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardFSFamily\",\r\n        \"localizedValue\":
        \"Standard FS Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        24,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardNVFamily\",\r\n        \"localizedValue\":
        \"Standard NV Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        48,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardNCFamily\",\r\n        \"localizedValue\":
        \"Standard NC Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        8,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardHFamily\",\r\n        \"localizedValue\":
        \"Standard H Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardAv2Family\",\r\n        \"localizedValue\":
        \"Standard Av2 Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardLSFamily\",\r\n        \"localizedValue\":
        \"Standard LS Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardDv2PromoFamily\",\r\n        \"localizedValue\":
        \"Standard Dv2 Promo Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardDSv2PromoFamily\",\r\n        \"localizedValue\":
        \"Standard DSv2 Promo Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        0,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardMSFamily\",\r\n        \"localizedValue\":
        \"Standard MS Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardDv3Family\",\r\n        \"localizedValue\":
        \"Standard Dv3 Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardDSv3Family\",\r\n        \"localizedValue\":
        \"Standard DSv3 Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardEv3Family\",\r\n        \"localizedValue\":
        \"Standard Ev3 Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardESv3Family\",\r\n        \"localizedValue\":
        \"Standard ESv3 Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        10,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardBSFamily\",\r\n        \"localizedValue\":
        \"Standard BS Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardFSv2Family\",\r\n        \"localizedValue\":
        \"Standard FSv2 Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        0,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardNDSFamily\",\r\n        \"localizedValue\":
        \"Standard NDS Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        0,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardNCSv2Family\",\r\n        \"localizedValue\":
        \"Standard NCSv2 Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        0,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardNCSv3Family\",\r\n        \"localizedValue\":
        \"Standard NCSv3 Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        0,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardLSv2Family\",\r\n        \"localizedValue\":
        \"Standard LSv2 Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardEIv3Family\",\r\n        \"localizedValue\":
        \"Standard EIv3 Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        100,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"standardEISv3Family\",\r\n        \"localizedValue\":
        \"Standard EISv3 Family vCPUs\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        10000,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"StandardDiskCount\",\r\n        \"localizedValue\":
        \"Standard Storage Managed Disks\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        10000,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 1,\r\n      \"name\":
        {\r\n        \"value\": \"PremiumDiskCount\",\r\n        \"localizedValue\":
        \"Premium Storage Managed Disks\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        10000,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"StandardSSDDiskCount\",\r\n        \"localizedValue\":
        \"StandardSSDStorageDisks\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        20,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"UltraSSDDiskCount\",\r\n        \"localizedValue\":
        \"DirectDriveDisks\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\": 10000,\r\n
        \     \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"StandardSnapshotCount\",\r\n        \"localizedValue\":
        \"StandardStorageSnapshots\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        10000,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"PremiumSnapshotCount\",\r\n        \"localizedValue\":
        \"PremiumStorageSnapshots\"\r\n      }\r\n    },\r\n    {\r\n      \"limit\":
        10000,\r\n      \"unit\": \"Count\",\r\n      \"currentValue\": 0,\r\n      \"name\":
        {\r\n        \"value\": \"ZRSSnapshotCount\",\r\n        \"localizedValue\":
        \"ZrsStorageSnapshots\"\r\n      }\r\n    }\r\n  ]\r\n}"}
    headers:
      cache-control: [no-cache]
      content-length: ['8657']
      content-type: [application/json; charset=utf-8]
      date: ['Thu, 27 Sep 2018 22:13:26 GMT']
      expires: ['-1']
      pragma: [no-cache]
      server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
      strict-transport-security: [max-age=31536000; includeSubDomains]
      transfer-encoding: [chunked]
      vary: [Accept-Encoding]
      x-content-type-options: [nosniff]
      x-ms-ratelimit-remaining-resource: [Microsoft.Compute/GetSubscriptionInfo3Min;419]
    status: {code: 200, message: OK}
version: 1