azure.mgmt.attestation.models module¶
-
class
azure.mgmt.attestation.models.
AttestationProvider
(*, location: str, tags: Optional[Dict[str, str]] = None, trust_model: Optional[str] = None, status: Optional[Union[str, _models.AttestationServiceStatus]] = None, attest_uri: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation.models._models_py3.TrackedResource
Attestation service response message.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
location (str) – The geo-location where the resource lives. Required.
system_data (SystemData) – The system metadata relating to this resource.
trust_model (str) – Trust model for the attestation provider.
status (str or AttestationServiceStatus) – Status of attestation service. Known values are: “Ready”, “NotReady”, and “Error”.
attest_uri (str) – Gets the uri of attestation service.
private_endpoint_connections (list[PrivateEndpointConnection]) – List of private endpoint connections associated with the attestation provider.
- Keyword Arguments
location (str) – The geo-location where the resource lives. Required.
trust_model (str) – Trust model for the attestation provider.
status (str or AttestationServiceStatus) – Status of attestation service. Known values are: “Ready”, “NotReady”, and “Error”.
attest_uri (str) – Gets the uri of attestation service.
-
class
azure.mgmt.attestation.models.
AttestationProviderListResult
(*, value: Optional[List[_models.AttestationProvider]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation._serialization.Model
Attestation Providers List.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
system_data (SystemData) – The system metadata relating to this resource.
value (list[AttestationProvider]) – Attestation Provider array.
- Keyword Arguments
value (list[AttestationProvider]) – Attestation Provider array.
-
class
azure.mgmt.attestation.models.
AttestationServiceCreationParams
(*, location: str, properties: _models.AttestationServiceCreationSpecificParams, tags: Optional[Dict[str, str]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation._serialization.Model
Parameters for creating an attestation provider.
All required parameters must be populated in order to send to Azure.
- Variables
location (str) – The supported Azure location where the attestation provider should be created. Required.
tags (dict[str, str]) – The tags that will be assigned to the attestation provider.
properties (AttestationServiceCreationSpecificParams) – Properties of the attestation provider. Required.
- Keyword Arguments
location (str) – The supported Azure location where the attestation provider should be created. Required.
tags (dict[str, str]) – The tags that will be assigned to the attestation provider.
properties (AttestationServiceCreationSpecificParams) – Properties of the attestation provider. Required.
-
class
azure.mgmt.attestation.models.
AttestationServiceCreationSpecificParams
(*, policy_signing_certificates: Optional[_models.JSONWebKeySet] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation._serialization.Model
Client supplied parameters used to create a new attestation provider.
- Variables
policy_signing_certificates (JSONWebKeySet) – JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations.
- Keyword Arguments
policy_signing_certificates (JSONWebKeySet) – JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations.
-
class
azure.mgmt.attestation.models.
AttestationServicePatchParams
(*, tags: Optional[Dict[str, str]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation._serialization.Model
Parameters for patching an attestation provider.
-
class
azure.mgmt.attestation.models.
AttestationServiceStatus
(value)[source]¶ -
Status of attestation service.
-
ERROR
= 'Error'¶
-
NOT_READY
= 'NotReady'¶
-
READY
= 'Ready'¶
-
-
class
azure.mgmt.attestation.models.
CloudErrorBody
(*, code: Optional[str] = None, message: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation._serialization.Model
An error response from Attestation.
- Variables
- Keyword Arguments
-
class
azure.mgmt.attestation.models.
CreatedByType
(value)[source]¶ -
The type of identity that created the resource.
-
APPLICATION
= 'Application'¶
-
KEY
= 'Key'¶
-
MANAGED_IDENTITY
= 'ManagedIdentity'¶
-
USER
= 'User'¶
-
-
class
azure.mgmt.attestation.models.
JSONWebKey
(*, kty: str, alg: Optional[str] = None, crv: Optional[str] = None, d: Optional[str] = None, dp: Optional[str] = None, dq: Optional[str] = None, e: Optional[str] = None, k: Optional[str] = None, kid: Optional[str] = None, n: Optional[str] = None, p: Optional[str] = None, q: Optional[str] = None, qi: Optional[str] = None, use: Optional[str] = None, x: Optional[str] = None, x5_c: Optional[List[str]] = None, y: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation._serialization.Model
JSONWebKey.
All required parameters must be populated in order to send to Azure.
- Variables
alg (str) – The “alg” (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA “JSON Web Signature and Encryption Algorithms” registry established by [JWA] or be a value that contains a Collision- Resistant Name.
crv (str) – The “crv” (curve) parameter identifies the curve type.
d (str) – RSA private exponent or ECC private key.
dp (str) – RSA Private Key Parameter.
dq (str) – RSA Private Key Parameter.
e (str) – RSA public exponent, in Base64.
k (str) – Symmetric key.
kid (str) – The “kid” (key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover. The structure of the “kid” value is unspecified. When “kid” values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct “kid” values. (One example in which different keys might use the same “kid” value is if they have different “kty” (key type) values but are considered to be equivalent alternatives by the application using them.) The “kid” value is a case-sensitive string.
kty (str) – The “kty” (key type) parameter identifies the cryptographic algorithm family used with the key, such as “RSA” or “EC”. “kty” values should either be registered in the IANA “JSON Web Key Types” registry established by [JWA] or be a value that contains a Collision- Resistant Name. The “kty” value is a case-sensitive string. Required.
n (str) – RSA modulus, in Base64.
p (str) – RSA secret prime.
q (str) – RSA secret prime, with p < q.
qi (str) – RSA Private Key Parameter.
use (str) – Use (“public key use”) identifies the intended use of the public key. The “use” parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly “sig” (signature) or “enc” (encryption).
x (str) – X coordinate for the Elliptic Curve point.
x5_c (list[str]) – The “x5c” (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates [RFC5280]. The certificate chain is represented as a JSON array of certificate value strings. Each string in the array is a base64-encoded (Section 4 of [RFC4648] – not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate.
y (str) – Y coordinate for the Elliptic Curve point.
- Keyword Arguments
alg (str) – The “alg” (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA “JSON Web Signature and Encryption Algorithms” registry established by [JWA] or be a value that contains a Collision- Resistant Name.
crv (str) – The “crv” (curve) parameter identifies the curve type.
d (str) – RSA private exponent or ECC private key.
dp (str) – RSA Private Key Parameter.
dq (str) – RSA Private Key Parameter.
e (str) – RSA public exponent, in Base64.
k (str) – Symmetric key.
kid (str) – The “kid” (key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover. The structure of the “kid” value is unspecified. When “kid” values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct “kid” values. (One example in which different keys might use the same “kid” value is if they have different “kty” (key type) values but are considered to be equivalent alternatives by the application using them.) The “kid” value is a case-sensitive string.
kty (str) – The “kty” (key type) parameter identifies the cryptographic algorithm family used with the key, such as “RSA” or “EC”. “kty” values should either be registered in the IANA “JSON Web Key Types” registry established by [JWA] or be a value that contains a Collision- Resistant Name. The “kty” value is a case-sensitive string. Required.
n (str) – RSA modulus, in Base64.
p (str) – RSA secret prime.
q (str) – RSA secret prime, with p < q.
qi (str) – RSA Private Key Parameter.
use (str) – Use (“public key use”) identifies the intended use of the public key. The “use” parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly “sig” (signature) or “enc” (encryption).
x (str) – X coordinate for the Elliptic Curve point.
x5_c (list[str]) – The “x5c” (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates [RFC5280]. The certificate chain is represented as a JSON array of certificate value strings. Each string in the array is a base64-encoded (Section 4 of [RFC4648] – not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate.
y (str) – Y coordinate for the Elliptic Curve point.
-
class
azure.mgmt.attestation.models.
JSONWebKeySet
(*, keys: Optional[List[_models.JSONWebKey]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation._serialization.Model
JSONWebKeySet.
- Variables
keys (list[JSONWebKey]) – The value of the “keys” parameter is an array of JWK values. By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Sets can choose to assign a meaning to the order for their purposes, if desired.
- Keyword Arguments
keys (list[JSONWebKey]) – The value of the “keys” parameter is an array of JWK values. By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Sets can choose to assign a meaning to the order for their purposes, if desired.
-
class
azure.mgmt.attestation.models.
OperationList
(*, value: Optional[List[_models.OperationsDefinition]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation._serialization.Model
List of supported operations.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
system_data (SystemData) – The system metadata relating to this resource.
value (list[OperationsDefinition]) – List of supported operations.
- Keyword Arguments
value (list[OperationsDefinition]) – List of supported operations.
-
class
azure.mgmt.attestation.models.
OperationsDefinition
(*, name: Optional[str] = None, display: Optional[_models.OperationsDisplayDefinition] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation._serialization.Model
Definition object with the name and properties of an operation.
- Variables
name (str) – Name of the operation.
display (OperationsDisplayDefinition) – Display object with properties of the operation.
- Keyword Arguments
name (str) – Name of the operation.
display (OperationsDisplayDefinition) – Display object with properties of the operation.
-
class
azure.mgmt.attestation.models.
OperationsDisplayDefinition
(*, provider: Optional[str] = None, resource: Optional[str] = None, operation: Optional[str] = None, description: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation._serialization.Model
Display object with properties of the operation.
- Variables
- Keyword Arguments
-
class
azure.mgmt.attestation.models.
PrivateEndpoint
(**kwargs)[source]¶ Bases:
azure.mgmt.attestation._serialization.Model
The Private Endpoint resource.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.attestation.models.
PrivateEndpointConnection
(*, private_endpoint: Optional[_models.PrivateEndpoint] = None, private_link_service_connection_state: Optional[_models.PrivateLinkServiceConnectionState] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation.models._models_py3.Resource
The Private Endpoint Connection resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
private_endpoint (PrivateEndpoint) – The resource of private end point.
private_link_service_connection_state (PrivateLinkServiceConnectionState) – A collection of information about the state of the connection between service consumer and provider.
provisioning_state (str or PrivateEndpointConnectionProvisioningState) – The provisioning state of the private endpoint connection resource. Known values are: “Succeeded”, “Creating”, “Deleting”, and “Failed”.
- Keyword Arguments
private_endpoint (PrivateEndpoint) – The resource of private end point.
private_link_service_connection_state (PrivateLinkServiceConnectionState) – A collection of information about the state of the connection between service consumer and provider.
-
class
azure.mgmt.attestation.models.
PrivateEndpointConnectionListResult
(*, value: Optional[List[_models.PrivateEndpointConnection]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation._serialization.Model
List of private endpoint connection associated with the specified storage account.
- Variables
value (list[PrivateEndpointConnection]) – Array of private endpoint connections.
- Keyword Arguments
value (list[PrivateEndpointConnection]) – Array of private endpoint connections.
-
class
azure.mgmt.attestation.models.
PrivateEndpointConnectionProvisioningState
(value)[source]¶ -
The current provisioning state.
-
CREATING
= 'Creating'¶
-
DELETING
= 'Deleting'¶
-
FAILED
= 'Failed'¶
-
SUCCEEDED
= 'Succeeded'¶
-
-
class
azure.mgmt.attestation.models.
PrivateEndpointServiceConnectionStatus
(value)[source]¶ -
The private endpoint connection status.
-
APPROVED
= 'Approved'¶
-
PENDING
= 'Pending'¶
-
REJECTED
= 'Rejected'¶
-
-
class
azure.mgmt.attestation.models.
PrivateLinkServiceConnectionState
(*, status: Optional[Union[str, _models.PrivateEndpointServiceConnectionStatus]] = None, description: Optional[str] = None, actions_required: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation._serialization.Model
A collection of information about the state of the connection between service consumer and provider.
- Variables
status (str or PrivateEndpointServiceConnectionStatus) – Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Known values are: “Pending”, “Approved”, and “Rejected”.
description (str) – The reason for approval/rejection of the connection.
actions_required (str) – A message indicating if changes on the service provider require any updates on the consumer.
- Keyword Arguments
status (str or PrivateEndpointServiceConnectionStatus) – Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Known values are: “Pending”, “Approved”, and “Rejected”.
description (str) – The reason for approval/rejection of the connection.
actions_required (str) – A message indicating if changes on the service provider require any updates on the consumer.
-
class
azure.mgmt.attestation.models.
Resource
(**kwargs)[source]¶ Bases:
azure.mgmt.attestation._serialization.Model
Common fields that are returned in the response for all Azure Resource Manager resources.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
-
class
azure.mgmt.attestation.models.
SystemData
(*, created_by: Optional[str] = None, created_by_type: Optional[Union[str, _models.CreatedByType]] = None, created_at: Optional[datetime.datetime] = None, last_modified_by: Optional[str] = None, last_modified_by_type: Optional[Union[str, _models.CreatedByType]] = None, last_modified_at: Optional[datetime.datetime] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation._serialization.Model
Metadata pertaining to creation and last modification of the resource.
- Variables
created_by (str) – The identity that created the resource.
created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
created_at (datetime) – The timestamp of resource creation (UTC).
last_modified_by (str) – The identity that last modified the resource.
last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
last_modified_at (datetime) – The timestamp of resource last modification (UTC).
- Keyword Arguments
created_by (str) – The identity that created the resource.
created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
created_at (datetime) – The timestamp of resource creation (UTC).
last_modified_by (str) – The identity that last modified the resource.
last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
last_modified_at (datetime) – The timestamp of resource last modification (UTC).
-
class
azure.mgmt.attestation.models.
TrackedResource
(*, location: str, tags: Optional[Dict[str, str]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.attestation.models._models_py3.Resource
The resource model definition for an Azure Resource Manager tracked top level resource which has ‘tags’ and a ‘location’.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
location (str) – The geo-location where the resource lives. Required.
- Keyword Arguments