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
@@ -451,13 +456,16 @@ class CognitiveServicesAccountProperties(Model):
451
456
:param api_properties: The api properties for special APIs.
452
457
:type api_properties:
453
458
~azure.mgmt.cognitiveservices.models.CognitiveServicesAccountApiProperties
459
+ :ivar date_created: Gets the date of cognitive services account creation.
460
+ :vartype date_created: str
454
461
"""
455
462
456
463
_validation = {
457
464
'provisioning_state' : {'readonly' : True },
458
465
'endpoint' : {'readonly' : True },
459
466
'internal_id' : {'readonly' : True },
460
467
'capabilities' : {'readonly' : True },
468
+ 'date_created' : {'readonly' : True },
461
469
}
462
470
463
471
_attribute_map = {
@@ -472,6 +480,7 @@ class CognitiveServicesAccountProperties(Model):
472
480
'private_endpoint_connections' : {'key' : 'privateEndpointConnections' , 'type' : '[PrivateEndpointConnection]' },
473
481
'public_network_access' : {'key' : 'publicNetworkAccess' , 'type' : 'str' },
474
482
'api_properties' : {'key' : 'apiProperties' , 'type' : 'CognitiveServicesAccountApiProperties' },
483
+ 'date_created' : {'key' : 'dateCreated' , 'type' : 'str' },
475
484
}
476
485
477
486
def __init__ (self , * , custom_sub_domain_name : str = None , network_acls = None , encryption = None , user_owned_storage = None , private_endpoint_connections = None , public_network_access = None , api_properties = None , ** kwargs ) -> None :
@@ -487,6 +496,7 @@ def __init__(self, *, custom_sub_domain_name: str=None, network_acls=None, encry
487
496
self .private_endpoint_connections = private_endpoint_connections
488
497
self .public_network_access = public_network_access
489
498
self .api_properties = api_properties
499
+ self .date_created = None
490
500
491
501
492
502
class CognitiveServicesResourceAndSku (Model ):
@@ -818,13 +828,13 @@ class PrivateEndpointConnection(Resource):
818
828
Variables are only populated by the server, and will be ignored when
819
829
sending a request.
820
830
821
- :ivar id: Fully qualified resource Id for the resource. Ex -
831
+ :ivar id: Fully qualified resource ID for the resource. Ex -
822
832
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
823
833
:vartype id: str
824
834
:ivar name: The name of the resource
825
835
:vartype name: str
826
- :ivar type: The type of the resource. Ex-
827
- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
836
+ :ivar type: The type of the resource. E.g.
837
+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
828
838
:vartype type: str
829
839
:param properties: Resource properties.
830
840
:type properties:
@@ -906,13 +916,13 @@ class PrivateLinkResource(Resource):
906
916
Variables are only populated by the server, and will be ignored when
907
917
sending a request.
908
918
909
- :ivar id: Fully qualified resource Id for the resource. Ex -
919
+ :ivar id: Fully qualified resource ID for the resource. Ex -
910
920
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
911
921
:vartype id: str
912
922
:ivar name: The name of the resource
913
923
:vartype name: str
914
- :ivar type: The type of the resource. Ex-
915
- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
924
+ :ivar type: The type of the resource. E.g.
925
+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
916
926
:vartype type: str
917
927
:param properties: Resource properties.
918
928
:type properties:
@@ -1022,19 +1032,21 @@ def __init__(self, *, status=None, description: str=None, action_required: str=N
1022
1032
1023
1033
1024
1034
class ProxyResource (Resource ):
1025
- """The resource model definition for a ARM proxy resource. It will have
1026
- everything other than required location and tags.
1035
+ """Proxy Resource.
1036
+
1037
+ The resource model definition for a Azure Resource Manager proxy resource.
1038
+ It will not have tags and a location.
1027
1039
1028
1040
Variables are only populated by the server, and will be ignored when
1029
1041
sending a request.
1030
1042
1031
- :ivar id: Fully qualified resource Id for the resource. Ex -
1043
+ :ivar id: Fully qualified resource ID for the resource. Ex -
1032
1044
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1033
1045
:vartype id: str
1034
1046
:ivar name: The name of the resource
1035
1047
:vartype name: str
1036
- :ivar type: The type of the resource. Ex-
1037
- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
1048
+ :ivar type: The type of the resource. E.g.
1049
+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
1038
1050
:vartype type: str
1039
1051
"""
1040
1052
@@ -1212,7 +1224,7 @@ class Sku(Model):
1212
1224
creation, optional for update.
1213
1225
:type name: str
1214
1226
:ivar tier: Gets the sku tier. This is based on the SKU name. Possible
1215
- values include: 'Free', 'Standard', 'Premium'
1227
+ values include: 'Free', 'Standard', 'Premium', 'Enterprise'
1216
1228
:vartype tier: str or ~azure.mgmt.cognitiveservices.models.SkuTier
1217
1229
"""
1218
1230
@@ -1223,7 +1235,7 @@ class Sku(Model):
1223
1235
1224
1236
_attribute_map = {
1225
1237
'name' : {'key' : 'name' , 'type' : 'str' },
1226
- 'tier' : {'key' : 'tier' , 'type' : 'SkuTier ' },
1238
+ 'tier' : {'key' : 'tier' , 'type' : 'str ' },
1227
1239
}
1228
1240
1229
1241
def __init__ (self , * , name : str , ** kwargs ) -> None :
@@ -1253,20 +1265,23 @@ def __init__(self, *, name: str=None, value: str=None, **kwargs) -> None:
1253
1265
1254
1266
1255
1267
class TrackedResource (Resource ):
1256
- """The resource model definition for a ARM tracked top level resource.
1268
+ """Tracked Resource.
1269
+
1270
+ The resource model definition for an Azure Resource Manager tracked top
1271
+ level resource which has 'tags' and a 'location'.
1257
1272
1258
1273
Variables are only populated by the server, and will be ignored when
1259
1274
sending a request.
1260
1275
1261
1276
All required parameters must be populated in order to send to Azure.
1262
1277
1263
- :ivar id: Fully qualified resource Id for the resource. Ex -
1278
+ :ivar id: Fully qualified resource ID for the resource. Ex -
1264
1279
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1265
1280
:vartype id: str
1266
1281
:ivar name: The name of the resource
1267
1282
:vartype name: str
1268
- :ivar type: The type of the resource. Ex-
1269
- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
1283
+ :ivar type: The type of the resource. E.g.
1284
+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
1270
1285
:vartype type: str
1271
1286
:param tags: Resource tags.
1272
1287
:type tags: dict[str, str]
0 commit comments