@@ -119,14 +119,18 @@ class AttestationProvider(TrackedResource):
119
119
:type location: str
120
120
:ivar system_data: The system metadata relating to this resource
121
121
:vartype system_data: ~azure.mgmt.attestation.models.SystemData
122
- :param trust_model: Trust model for the attestation service instance .
122
+ :param trust_model: Trust model for the attestation provider .
123
123
:type trust_model: str
124
124
:param status: Status of attestation service. Possible values include:
125
125
'Ready', 'NotReady', 'Error'
126
126
:type status: str or
127
127
~azure.mgmt.attestation.models.AttestationServiceStatus
128
128
:param attest_uri: Gets the uri of attestation service
129
129
:type attest_uri: str
130
+ :ivar private_endpoint_connections: List of private endpoint connections
131
+ associated with the attestation provider.
132
+ :vartype private_endpoint_connections:
133
+ list[~azure.mgmt.attestation.models.PrivateEndpointConnection]
130
134
"""
131
135
132
136
_validation = {
@@ -135,6 +139,7 @@ class AttestationProvider(TrackedResource):
135
139
'type' : {'readonly' : True },
136
140
'location' : {'required' : True },
137
141
'system_data' : {'readonly' : True },
142
+ 'private_endpoint_connections' : {'readonly' : True },
138
143
}
139
144
140
145
_attribute_map = {
@@ -147,6 +152,7 @@ class AttestationProvider(TrackedResource):
147
152
'trust_model' : {'key' : 'properties.trustModel' , 'type' : 'str' },
148
153
'status' : {'key' : 'properties.status' , 'type' : 'str' },
149
154
'attest_uri' : {'key' : 'properties.attestUri' , 'type' : 'str' },
155
+ 'private_endpoint_connections' : {'key' : 'properties.privateEndpointConnections' , 'type' : '[PrivateEndpointConnection]' },
150
156
}
151
157
152
158
def __init__ (self , ** kwargs ):
@@ -155,6 +161,7 @@ def __init__(self, **kwargs):
155
161
self .trust_model = kwargs .get ('trust_model' , None )
156
162
self .status = kwargs .get ('status' , None )
157
163
self .attest_uri = kwargs .get ('attest_uri' , None )
164
+ self .private_endpoint_connections = None
158
165
159
166
160
167
class AttestationProviderListResult (Model ):
@@ -185,18 +192,16 @@ def __init__(self, **kwargs):
185
192
186
193
187
194
class AttestationServiceCreationParams (Model ):
188
- """Parameters for creating an attestation service instance .
195
+ """Parameters for creating an attestation provider .
189
196
190
197
All required parameters must be populated in order to send to Azure.
191
198
192
199
:param location: Required. The supported Azure location where the
193
- attestation service instance should be created.
200
+ attestation provider should be created.
194
201
:type location: str
195
- :param tags: The tags that will be assigned to the attestation service
196
- instance.
202
+ :param tags: The tags that will be assigned to the attestation provider.
197
203
:type tags: dict[str, str]
198
- :param properties: Required. Properties of the attestation service
199
- instance
204
+ :param properties: Required. Properties of the attestation provider
200
205
:type properties:
201
206
~azure.mgmt.attestation.models.AttestationServiceCreationSpecificParams
202
207
"""
@@ -220,8 +225,7 @@ def __init__(self, **kwargs):
220
225
221
226
222
227
class AttestationServiceCreationSpecificParams (Model ):
223
- """Client supplied parameters used to create a new attestation service
224
- instance.
228
+ """Client supplied parameters used to create a new attestation provider.
225
229
226
230
:param policy_signing_certificates: JSON Web Key Set defining a set of
227
231
X.509 Certificates that will represent the parent certificate for the
@@ -240,10 +244,9 @@ def __init__(self, **kwargs):
240
244
241
245
242
246
class AttestationServicePatchParams (Model ):
243
- """Parameters for patching an attestation service instance .
247
+ """Parameters for patching an attestation provider .
244
248
245
- :param tags: The tags that will be assigned to the attestation service
246
- instance.
249
+ :param tags: The tags that will be assigned to the attestation provider.
247
250
:type tags: dict[str, str]
248
251
"""
249
252
@@ -351,8 +354,8 @@ class JSONWebKey(Model):
351
354
352
355
All required parameters must be populated in order to send to Azure.
353
356
354
- :param alg: Required. The "alg" (algorithm) parameter identifies the
355
- algorithm intended for
357
+ :param alg: The "alg" (algorithm) parameter identifies the algorithm
358
+ intended for
356
359
use with the key. The values used should either be registered in the
357
360
IANA "JSON Web Signature and Encryption Algorithms" registry
358
361
established by [JWA] or be a value that contains a Collision-
@@ -370,8 +373,8 @@ class JSONWebKey(Model):
370
373
:type e: str
371
374
:param k: Symmetric key
372
375
:type k: str
373
- :param kid: Required. The "kid" (key ID) parameter is used to match a
374
- specific key. This
376
+ :param kid: The "kid" (key ID) parameter is used to match a specific key.
377
+ This
375
378
is used, for instance, to choose among a set of keys within a JWK Set
376
379
during key rollover. The structure of the "kid" value is
377
380
unspecified. When "kid" values are used within a JWK Set, different
@@ -396,8 +399,7 @@ class JSONWebKey(Model):
396
399
:type q: str
397
400
:param qi: RSA Private Key Parameter
398
401
:type qi: str
399
- :param use: Required. Use ("public key use") identifies the intended use
400
- of
402
+ :param use: Use ("public key use") identifies the intended use of
401
403
the public key. The "use" parameter is employed to indicate whether
402
404
a public key is used for encrypting data or verifying the signature
403
405
on data. Values are commonly "sig" (signature) or "enc" (encryption).
@@ -418,10 +420,7 @@ class JSONWebKey(Model):
418
420
"""
419
421
420
422
_validation = {
421
- 'alg' : {'required' : True },
422
- 'kid' : {'required' : True },
423
423
'kty' : {'required' : True },
424
- 'use' : {'required' : True },
425
424
}
426
425
427
426
_attribute_map = {
@@ -561,6 +560,45 @@ def __init__(self, **kwargs):
561
560
self .description = kwargs .get ('description' , None )
562
561
563
562
563
+ class PrivateEndpointConnection (Resource ):
564
+ """The Private Endpoint Connection resource.
565
+
566
+ Variables are only populated by the server, and will be ignored when
567
+ sending a request.
568
+
569
+ :ivar id: Fully qualified resource ID for the resource. Ex -
570
+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
571
+ :vartype id: str
572
+ :ivar name: The name of the resource
573
+ :vartype name: str
574
+ :ivar type: The type of the resource. E.g.
575
+ "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
576
+ :vartype type: str
577
+ :param provisioning_state: Provisioning state of the private endpoint
578
+ connection. Possible values include: 'Succeeded', 'Creating', 'Deleting',
579
+ 'Failed'
580
+ :type provisioning_state: str or
581
+ ~azure.mgmt.attestation.models.PrivateEndpointConnectionProvisioningState
582
+ """
583
+
584
+ _validation = {
585
+ 'id' : {'readonly' : True },
586
+ 'name' : {'readonly' : True },
587
+ 'type' : {'readonly' : True },
588
+ }
589
+
590
+ _attribute_map = {
591
+ 'id' : {'key' : 'id' , 'type' : 'str' },
592
+ 'name' : {'key' : 'name' , 'type' : 'str' },
593
+ 'type' : {'key' : 'type' , 'type' : 'str' },
594
+ 'provisioning_state' : {'key' : 'properties.provisioningState' , 'type' : 'str' },
595
+ }
596
+
597
+ def __init__ (self , ** kwargs ):
598
+ super (PrivateEndpointConnection , self ).__init__ (** kwargs )
599
+ self .provisioning_state = kwargs .get ('provisioning_state' , None )
600
+
601
+
564
602
class ProxyResource (Resource ):
565
603
"""Proxy Resource.
566
604
0 commit comments