1616class Resource (Model ):
1717 """Resource.
1818
19+ Common fields that are returned in the response for all Azure Resource
20+ Manager resources.
21+
1922 Variables are only populated by the server, and will be ignored when
2023 sending a request.
2124
22- :ivar id: Fully qualified resource Id for the resource. Ex -
25+ :ivar id: Fully qualified resource ID for the resource. Ex -
2326 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
2427 :vartype id: str
2528 :ivar name: The name of the resource
2629 :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"
2932 :vartype type: str
3033 """
3134
@@ -49,20 +52,23 @@ def __init__(self, **kwargs):
4952
5053
5154class TrackedResource (Resource ):
52- """The resource model definition for a ARM tracked top level resource.
55+ """Tracked Resource.
56+
57+ The resource model definition for an Azure Resource Manager tracked top
58+ level resource which has 'tags' and a 'location'.
5359
5460 Variables are only populated by the server, and will be ignored when
5561 sending a request.
5662
5763 All required parameters must be populated in order to send to Azure.
5864
59- :ivar id: Fully qualified resource Id for the resource. Ex -
65+ :ivar id: Fully qualified resource ID for the resource. Ex -
6066 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
6167 :vartype id: str
6268 :ivar name: The name of the resource
6369 :vartype name: str
64- :ivar type: The type of the resource. Ex-
65- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
70+ :ivar type: The type of the resource. E.g.
71+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
6672 :vartype type: str
6773 :param tags: Resource tags.
6874 :type tags: dict[str, str]
@@ -99,22 +105,24 @@ class AttestationProvider(TrackedResource):
99105
100106 All required parameters must be populated in order to send to Azure.
101107
102- :ivar id: Fully qualified resource Id for the resource. Ex -
108+ :ivar id: Fully qualified resource ID for the resource. Ex -
103109 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
104110 :vartype id: str
105111 :ivar name: The name of the resource
106112 :vartype name: str
107- :ivar type: The type of the resource. Ex-
108- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
113+ :ivar type: The type of the resource. E.g.
114+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
109115 :vartype type: str
110116 :param tags: Resource tags.
111117 :type tags: dict[str, str]
112118 :param location: Required. The geo-location where the resource lives
113119 :type location: str
120+ :ivar system_data: The system metadata relating to this resource
121+ :vartype system_data: ~azure.mgmt.attestation.models.SystemData
114122 :param trust_model: Trust model for the attestation service instance.
115123 :type trust_model: str
116- :param status: Required. Status of attestation service. Possible values
117- include: 'Ready', 'NotReady', 'Error'
124+ :param status: Status of attestation service. Possible values include:
125+ 'Ready', 'NotReady', 'Error'
118126 :type status: str or
119127 ~azure.mgmt.attestation.models.AttestationServiceStatus
120128 :param attest_uri: Gets the uri of attestation service
@@ -126,7 +134,7 @@ class AttestationProvider(TrackedResource):
126134 'name' : {'readonly' : True },
127135 'type' : {'readonly' : True },
128136 'location' : {'required' : True },
129- 'status ' : {'required ' : True },
137+ 'system_data ' : {'readonly ' : True },
130138 }
131139
132140 _attribute_map = {
@@ -135,13 +143,15 @@ class AttestationProvider(TrackedResource):
135143 'type' : {'key' : 'type' , 'type' : 'str' },
136144 'tags' : {'key' : 'tags' , 'type' : '{str}' },
137145 'location' : {'key' : 'location' , 'type' : 'str' },
146+ 'system_data' : {'key' : 'systemData' , 'type' : 'SystemData' },
138147 'trust_model' : {'key' : 'properties.trustModel' , 'type' : 'str' },
139148 'status' : {'key' : 'properties.status' , 'type' : 'str' },
140149 'attest_uri' : {'key' : 'properties.attestUri' , 'type' : 'str' },
141150 }
142151
143152 def __init__ (self , ** kwargs ):
144153 super (AttestationProvider , self ).__init__ (** kwargs )
154+ self .system_data = None
145155 self .trust_model = kwargs .get ('trust_model' , None )
146156 self .status = kwargs .get ('status' , None )
147157 self .attest_uri = kwargs .get ('attest_uri' , None )
@@ -150,16 +160,27 @@ def __init__(self, **kwargs):
150160class AttestationProviderListResult (Model ):
151161 """Attestation Providers List.
152162
163+ Variables are only populated by the server, and will be ignored when
164+ sending a request.
165+
166+ :ivar system_data: The system metadata relating to this resource
167+ :vartype system_data: ~azure.mgmt.attestation.models.SystemData
153168 :param value: Attestation Provider array.
154169 :type value: list[~azure.mgmt.attestation.models.AttestationProvider]
155170 """
156171
172+ _validation = {
173+ 'system_data' : {'readonly' : True },
174+ }
175+
157176 _attribute_map = {
177+ 'system_data' : {'key' : 'systemData' , 'type' : 'SystemData' },
158178 'value' : {'key' : 'value' , 'type' : '[AttestationProvider]' },
159179 }
160180
161181 def __init__ (self , ** kwargs ):
162182 super (AttestationProviderListResult , self ).__init__ (** kwargs )
183+ self .system_data = None
163184 self .value = kwargs .get ('value' , None )
164185
165186
@@ -202,8 +223,6 @@ class AttestationServiceCreationSpecificParams(Model):
202223 """Client supplied parameters used to create a new attestation service
203224 instance.
204225
205- :param attestation_policy: Name of attestation policy.
206- :type attestation_policy: str
207226 :param policy_signing_certificates: JSON Web Key Set defining a set of
208227 X.509 Certificates that will represent the parent certificate for the
209228 signing certificate used for policy operations
@@ -212,13 +231,11 @@ class AttestationServiceCreationSpecificParams(Model):
212231 """
213232
214233 _attribute_map = {
215- 'attestation_policy' : {'key' : 'attestationPolicy' , 'type' : 'str' },
216234 'policy_signing_certificates' : {'key' : 'policySigningCertificates' , 'type' : 'JSONWebKeySet' },
217235 }
218236
219237 def __init__ (self , ** kwargs ):
220238 super (AttestationServiceCreationSpecificParams , self ).__init__ (** kwargs )
221- self .attestation_policy = kwargs .get ('attestation_policy' , None )
222239 self .policy_signing_certificates = kwargs .get ('policy_signing_certificates' , None )
223240
224241
@@ -240,19 +257,21 @@ def __init__(self, **kwargs):
240257
241258
242259class AzureEntityResource (Resource ):
243- """The resource model definition for a Azure Resource Manager resource with an
244- etag.
260+ """Entity Resource.
261+
262+ The resource model definition for an Azure Resource Manager resource with
263+ an etag.
245264
246265 Variables are only populated by the server, and will be ignored when
247266 sending a request.
248267
249- :ivar id: Fully qualified resource Id for the resource. Ex -
268+ :ivar id: Fully qualified resource ID for the resource. Ex -
250269 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
251270 :vartype id: str
252271 :ivar name: The name of the resource
253272 :vartype name: str
254- :ivar type: The type of the resource. Ex-
255- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
273+ :ivar type: The type of the resource. E.g.
274+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
256275 :vartype type: str
257276 :ivar etag: Resource Etag.
258277 :vartype etag: str
@@ -470,16 +489,27 @@ def __init__(self, **kwargs):
470489class OperationList (Model ):
471490 """List of supported operations.
472491
492+ Variables are only populated by the server, and will be ignored when
493+ sending a request.
494+
495+ :ivar system_data: The system metadata relating to this resource
496+ :vartype system_data: ~azure.mgmt.attestation.models.SystemData
473497 :param value: List of supported operations.
474498 :type value: list[~azure.mgmt.attestation.models.OperationsDefinition]
475499 """
476500
501+ _validation = {
502+ 'system_data' : {'readonly' : True },
503+ }
504+
477505 _attribute_map = {
506+ 'system_data' : {'key' : 'systemData' , 'type' : 'SystemData' },
478507 'value' : {'key' : 'value' , 'type' : '[OperationsDefinition]' },
479508 }
480509
481510 def __init__ (self , ** kwargs ):
482511 super (OperationList , self ).__init__ (** kwargs )
512+ self .system_data = None
483513 self .value = kwargs .get ('value' , None )
484514
485515
@@ -532,19 +562,21 @@ def __init__(self, **kwargs):
532562
533563
534564class ProxyResource (Resource ):
535- """The resource model definition for a ARM proxy resource. It will have
536- everything other than required location and tags.
565+ """Proxy Resource.
566+
567+ The resource model definition for a Azure Resource Manager proxy resource.
568+ It will not have tags and a location.
537569
538570 Variables are only populated by the server, and will be ignored when
539571 sending a request.
540572
541- :ivar id: Fully qualified resource Id for the resource. Ex -
573+ :ivar id: Fully qualified resource ID for the resource. Ex -
542574 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
543575 :vartype id: str
544576 :ivar name: The name of the resource
545577 :vartype name: str
546- :ivar type: The type of the resource. Ex-
547- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
578+ :ivar type: The type of the resource. E.g.
579+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
548580 :vartype type: str
549581 """
550582
@@ -562,3 +594,44 @@ class ProxyResource(Resource):
562594
563595 def __init__ (self , ** kwargs ):
564596 super (ProxyResource , self ).__init__ (** kwargs )
597+
598+
599+ class SystemData (Model ):
600+ """Metadata pertaining to creation and last modification of the resource.
601+
602+ :param created_by: The identity that created the resource.
603+ :type created_by: str
604+ :param created_by_type: The type of identity that created the resource.
605+ Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
606+ :type created_by_type: str or ~azure.mgmt.attestation.models.CreatedByType
607+ :param created_at: The timestamp of resource creation (UTC).
608+ :type created_at: datetime
609+ :param last_modified_by: The identity that last modified the resource.
610+ :type last_modified_by: str
611+ :param last_modified_by_type: The type of identity that last modified the
612+ resource. Possible values include: 'User', 'Application',
613+ 'ManagedIdentity', 'Key'
614+ :type last_modified_by_type: str or
615+ ~azure.mgmt.attestation.models.CreatedByType
616+ :param last_modified_at: The type of identity that last modified the
617+ resource.
618+ :type last_modified_at: datetime
619+ """
620+
621+ _attribute_map = {
622+ 'created_by' : {'key' : 'createdBy' , 'type' : 'str' },
623+ 'created_by_type' : {'key' : 'createdByType' , 'type' : 'str' },
624+ 'created_at' : {'key' : 'createdAt' , 'type' : 'iso-8601' },
625+ 'last_modified_by' : {'key' : 'lastModifiedBy' , 'type' : 'str' },
626+ 'last_modified_by_type' : {'key' : 'lastModifiedByType' , 'type' : 'str' },
627+ 'last_modified_at' : {'key' : 'lastModifiedAt' , 'type' : 'iso-8601' },
628+ }
629+
630+ def __init__ (self , ** kwargs ):
631+ super (SystemData , self ).__init__ (** kwargs )
632+ self .created_by = kwargs .get ('created_by' , None )
633+ self .created_by_type = kwargs .get ('created_by_type' , None )
634+ self .created_at = kwargs .get ('created_at' , None )
635+ self .last_modified_by = kwargs .get ('last_modified_by' , None )
636+ self .last_modified_by_type = kwargs .get ('last_modified_by_type' , None )
637+ self .last_modified_at = kwargs .get ('last_modified_at' , None )
0 commit comments