16
16
class Resource (Model ):
17
17
"""Resource.
18
18
19
+ Common fields that are returned in the response for all Azure Resource
20
+ Manager resources.
21
+
19
22
Variables are only populated by the server, and will be ignored when
20
23
sending a request.
21
24
22
- :ivar id: Fully qualified resource Id for the resource. Ex -
25
+ :ivar id: Fully qualified resource ID for the resource. Ex -
23
26
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
24
27
:vartype id: str
25
28
:ivar name: The name of the resource
26
29
:vartype name: str
27
- :ivar type: The type of the resource. Ex-
28
- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
30
+ :ivar type: The type of the resource. E.g.
31
+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
29
32
:vartype type: str
30
33
"""
31
34
@@ -49,19 +52,21 @@ def __init__(self, **kwargs) -> None:
49
52
50
53
51
54
class AzureEntityResource (Resource ):
52
- """The resource model definition for a Azure Resource Manager resource with an
53
- etag.
55
+ """Entity Resource.
56
+
57
+ The resource model definition for an Azure Resource Manager resource with
58
+ an etag.
54
59
55
60
Variables are only populated by the server, and will be ignored when
56
61
sending a request.
57
62
58
- :ivar id: Fully qualified resource Id for the resource. Ex -
63
+ :ivar id: Fully qualified resource ID for the resource. Ex -
59
64
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
60
65
:vartype id: str
61
66
:ivar name: The name of the resource
62
67
:vartype name: str
63
- :ivar type: The type of the resource. Ex-
64
- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
68
+ :ivar type: The type of the resource. E.g.
69
+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
65
70
:vartype type: str
66
71
:ivar etag: Resource Etag.
67
72
:vartype etag: str
@@ -236,20 +241,23 @@ def __init__(self, *, name: str, city: str=None, district: str=None, country_or_
236
241
237
242
238
243
class TrackedResource (Resource ):
239
- """The resource model definition for a ARM tracked top level resource.
244
+ """Tracked Resource.
245
+
246
+ The resource model definition for an Azure Resource Manager tracked top
247
+ level resource which has 'tags' and a 'location'.
240
248
241
249
Variables are only populated by the server, and will be ignored when
242
250
sending a request.
243
251
244
252
All required parameters must be populated in order to send to Azure.
245
253
246
- :ivar id: Fully qualified resource Id for the resource. Ex -
254
+ :ivar id: Fully qualified resource ID for the resource. Ex -
247
255
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
248
256
:vartype id: str
249
257
:ivar name: The name of the resource
250
258
:vartype name: str
251
- :ivar type: The type of the resource. Ex-
252
- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
259
+ :ivar type: The type of the resource. E.g.
260
+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
253
261
:vartype type: str
254
262
:param tags: Resource tags.
255
263
:type tags: dict[str, str]
@@ -286,13 +294,13 @@ class Machine(TrackedResource):
286
294
287
295
All required parameters must be populated in order to send to Azure.
288
296
289
- :ivar id: Fully qualified resource Id for the resource. Ex -
297
+ :ivar id: Fully qualified resource ID for the resource. Ex -
290
298
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
291
299
:vartype id: str
292
300
:ivar name: The name of the resource
293
301
:vartype name: str
294
- :ivar type: The type of the resource. Ex-
295
- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
302
+ :ivar type: The type of the resource. E.g.
303
+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
296
304
:vartype type: str
297
305
:param tags: Resource tags.
298
306
:type tags: dict[str, str]
@@ -429,13 +437,13 @@ class MachineExtension(TrackedResource):
429
437
430
438
All required parameters must be populated in order to send to Azure.
431
439
432
- :ivar id: Fully qualified resource Id for the resource. Ex -
440
+ :ivar id: Fully qualified resource ID for the resource. Ex -
433
441
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
434
442
:vartype id: str
435
443
:ivar name: The name of the resource
436
444
:vartype name: str
437
- :ivar type: The type of the resource. Ex-
438
- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
445
+ :ivar type: The type of the resource. E.g.
446
+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
439
447
:vartype type: str
440
448
:param tags: Resource tags.
441
449
:type tags: dict[str, str]
@@ -1136,19 +1144,21 @@ def __init__(self, **kwargs) -> None:
1136
1144
1137
1145
1138
1146
class ProxyResource (Resource ):
1139
- """The resource model definition for a ARM proxy resource. It will have
1140
- everything other than required location and tags.
1147
+ """Proxy Resource.
1148
+
1149
+ The resource model definition for a Azure Resource Manager proxy resource.
1150
+ It will not have tags and a location.
1141
1151
1142
1152
Variables are only populated by the server, and will be ignored when
1143
1153
sending a request.
1144
1154
1145
- :ivar id: Fully qualified resource Id for the resource. Ex -
1155
+ :ivar id: Fully qualified resource ID for the resource. Ex -
1146
1156
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1147
1157
:vartype id: str
1148
1158
:ivar name: The name of the resource
1149
1159
:vartype name: str
1150
- :ivar type: The type of the resource. Ex-
1151
- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
1160
+ :ivar type: The type of the resource. E.g.
1161
+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
1152
1162
:vartype type: str
1153
1163
"""
1154
1164
0 commit comments