azure.mgmt.attestation.models module

class azure.mgmt.attestation.models.AttestationProvider(*, status, attest_uri: str = None, **kwargs)[source]

Bases: azure.mgmt.attestation.models._models_py3.Resource

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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

Parameters
  • status (str or AttestationServiceStatus) – Required. Status of attestation service. Possible values include: ‘Ready’, ‘NotReady’, ‘Error’

  • attest_uri (str) – Gets the uri of attestation service

class azure.mgmt.attestation.models.AttestationProviderListResult(*, value=None, **kwargs)[source]

Bases: msrest.serialization.Model

Attestation Providers List.

Parameters

value (list[AttestationProvider]) – Attestation Provider array.

class azure.mgmt.attestation.models.AttestationServiceCreationParams(*, attestation_policy: str = None, policy_signing_certificates=None, **kwargs)[source]

Bases: msrest.serialization.Model

Client supplied parameters passed to attestation service.

Parameters
  • attestation_policy (str) – Name of attestation policy.

  • 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.AzureEntityResource(**kwargs)[source]

Bases: azure.mgmt.attestation.models._models_py3.Resource

The resource model definition for a Azure Resource Manager resource with an etag.

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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

  • etag (str) – Resource Etag.

class azure.mgmt.attestation.models.JSONWebKey(*, alg: str, kid: str, kty: str, use: str, crv: str = None, d: str = None, dp: str = None, dq: str = None, e: str = None, k: str = None, n: str = None, p: str = None, q: str = None, qi: str = None, x: str = None, x5c=None, y: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

JSONWebKey.

All required parameters must be populated in order to send to Azure.

Parameters
  • alg (str) – Required. 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) – Required. 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) – Required. 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.

  • 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) – Required. 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

  • x5c (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=None, **kwargs)[source]

Bases: msrest.serialization.Model

JSONWebKeySet.

Parameters

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=None, **kwargs)[source]

Bases: msrest.serialization.Model

List of supported operations.

Parameters

value (list[OperationsDefinition]) – List of supported operations.

class azure.mgmt.attestation.models.OperationsDefinition(*, name: str = None, display=None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition object with the name and properties of an operation.

Parameters
class azure.mgmt.attestation.models.OperationsDisplayDefinition(*, provider: str = None, resource: str = None, operation: str = None, description: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Display object with properties of the operation.

Parameters
  • provider (str) – Resource provider of the operation.

  • resource (str) – Resource for the operation.

  • operation (str) – Short description of the operation.

  • description (str) – Description of the operation.

class azure.mgmt.attestation.models.ProxyResource(**kwargs)[source]

Bases: azure.mgmt.attestation.models._models_py3.Resource

The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.

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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

class azure.mgmt.attestation.models.Resource(**kwargs)[source]

Bases: msrest.serialization.Model

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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

class azure.mgmt.attestation.models.TrackedResource(*, location: str, tags=None, **kwargs)[source]

Bases: azure.mgmt.attestation.models._models_py3.Resource

The resource model definition for a ARM tracked top level resource.

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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

Parameters
  • tags (dict[str, str]) – Resource tags.

  • location (str) – Required. The geo-location where the resource lives

class azure.mgmt.attestation.models.AttestationServiceStatus[source]

Bases: str, enum.Enum

An enumeration.

error = 'Error'
not_ready = 'NotReady'
ready = 'Ready'