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) -> None:
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,22 @@ 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
114120 :param trust_model: Trust model for the attestation service instance.
115121 :type trust_model: str
116- :param status: Required. Status of attestation service. Possible values
117- include: 'Ready', 'NotReady', 'Error'
122+ :param status: Status of attestation service. Possible values include:
123+ 'Ready', 'NotReady', 'Error'
118124 :type status: str or
119125 ~azure.mgmt.attestation.models.AttestationServiceStatus
120126 :param attest_uri: Gets the uri of attestation service
@@ -126,7 +132,6 @@ class AttestationProvider(TrackedResource):
126132 'name' : {'readonly' : True },
127133 'type' : {'readonly' : True },
128134 'location' : {'required' : True },
129- 'status' : {'required' : True },
130135 }
131136
132137 _attribute_map = {
@@ -140,7 +145,7 @@ class AttestationProvider(TrackedResource):
140145 'attest_uri' : {'key' : 'properties.attestUri' , 'type' : 'str' },
141146 }
142147
143- def __init__ (self , * , location : str , status , tags = None , trust_model : str = None , attest_uri : str = None , ** kwargs ) -> None :
148+ def __init__ (self , * , location : str , tags = None , trust_model : str = None , status = None , attest_uri : str = None , ** kwargs ) -> None :
144149 super (AttestationProvider , self ).__init__ (tags = tags , location = location , ** kwargs )
145150 self .trust_model = trust_model
146151 self .status = status
@@ -240,19 +245,21 @@ def __init__(self, *, tags=None, **kwargs) -> None:
240245
241246
242247class AzureEntityResource (Resource ):
243- """The resource model definition for a Azure Resource Manager resource with an
244- etag.
248+ """Entity Resource.
249+
250+ The resource model definition for an Azure Resource Manager resource with
251+ an etag.
245252
246253 Variables are only populated by the server, and will be ignored when
247254 sending a request.
248255
249- :ivar id: Fully qualified resource Id for the resource. Ex -
256+ :ivar id: Fully qualified resource ID for the resource. Ex -
250257 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
251258 :vartype id: str
252259 :ivar name: The name of the resource
253260 :vartype name: str
254- :ivar type: The type of the resource. Ex-
255- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
261+ :ivar type: The type of the resource. E.g.
262+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
256263 :vartype type: str
257264 :ivar etag: Resource Etag.
258265 :vartype etag: str
@@ -532,19 +539,21 @@ def __init__(self, *, provider: str=None, resource: str=None, operation: str=Non
532539
533540
534541class ProxyResource (Resource ):
535- """The resource model definition for a ARM proxy resource. It will have
536- everything other than required location and tags.
542+ """Proxy Resource.
543+
544+ The resource model definition for a Azure Resource Manager proxy resource.
545+ It will not have tags and a location.
537546
538547 Variables are only populated by the server, and will be ignored when
539548 sending a request.
540549
541- :ivar id: Fully qualified resource Id for the resource. Ex -
550+ :ivar id: Fully qualified resource ID for the resource. Ex -
542551 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
543552 :vartype id: str
544553 :ivar name: The name of the resource
545554 :vartype name: str
546- :ivar type: The type of the resource. Ex-
547- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
555+ :ivar type: The type of the resource. E.g.
556+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
548557 :vartype type: str
549558 """
550559
0 commit comments