azure.mgmt.attestation.operations module

class azure.mgmt.attestation.operations.AttestationProvidersOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AttestationManagementClient’s attestation_providers attribute.

create(resource_group_name: str, provider_name: str, creation_params: _models.AttestationServiceCreationParams, *, content_type: str = "'application/json'", **kwargs: Any)_models.AttestationProvider[source]
create(resource_group_name: str, provider_name: str, creation_params: IO, *, content_type: str = "'application/json'", **kwargs: Any)_models.AttestationProvider

Creates a new Attestation Provider.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • provider_name (str) – Name of the attestation provider. Required.

  • creation_params (AttestationServiceCreationParams or IO) – Client supplied parameters. Is either a model type or a IO type. Required.

Keyword Arguments
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • cls (callable) – A custom type or function that will be passed the direct response

Returns

AttestationProvider or the result of cls(response)

Return type

AttestationProvider

Raises

HttpResponseError

delete(resource_group_name: str, provider_name: str, **kwargs: Any)None[source]

Delete Attestation Service.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • provider_name (str) – Name of the attestation service. Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

None or the result of cls(response)

Return type

None

Raises

HttpResponseError

get(resource_group_name: str, provider_name: str, **kwargs: Any)azure.mgmt.attestation.models._models_py3.AttestationProvider[source]

Get the status of Attestation Provider.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • provider_name (str) – Name of the attestation provider. Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

AttestationProvider or the result of cls(response)

Return type

AttestationProvider

Raises

HttpResponseError

get_default_by_location(location: str, **kwargs: Any)azure.mgmt.attestation.models._models_py3.AttestationProvider[source]

Get the default provider by location.

Parameters

location (str) – The location of the default provider. Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

AttestationProvider or the result of cls(response)

Return type

AttestationProvider

Raises

HttpResponseError

list(**kwargs: Any)azure.mgmt.attestation.models._models_py3.AttestationProviderListResult[source]

Returns a list of attestation providers in a subscription.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

AttestationProviderListResult or the result of cls(response)

Return type

AttestationProviderListResult

Raises

HttpResponseError

list_by_resource_group(resource_group_name: str, **kwargs: Any)azure.mgmt.attestation.models._models_py3.AttestationProviderListResult[source]

Returns attestation providers list in a resource group.

Parameters

resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

AttestationProviderListResult or the result of cls(response)

Return type

AttestationProviderListResult

Raises

HttpResponseError

list_default(**kwargs: Any)azure.mgmt.attestation.models._models_py3.AttestationProviderListResult[source]

Get the default provider.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

AttestationProviderListResult or the result of cls(response)

Return type

AttestationProviderListResult

Raises

HttpResponseError

update(resource_group_name: str, provider_name: str, update_params: _models.AttestationServicePatchParams, *, content_type: str = "'application/json'", **kwargs: Any)_models.AttestationProvider[source]
update(resource_group_name: str, provider_name: str, update_params: IO, *, content_type: str = "'application/json'", **kwargs: Any)_models.AttestationProvider

Updates the Attestation Provider.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • provider_name (str) – Name of the attestation provider. Required.

  • update_params (AttestationServicePatchParams or IO) – Client supplied parameters. Is either a model type or a IO type. Required.

Keyword Arguments
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • cls (callable) – A custom type or function that will be passed the direct response

Returns

AttestationProvider or the result of cls(response)

Return type

AttestationProvider

Raises

HttpResponseError

models = <module 'azure.mgmt.attestation.models' from '/mnt/vss/_work/1/s/sdk/attestation/azure-mgmt-attestation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/attestation/models/__init__.py'>
class azure.mgmt.attestation.operations.Operations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AttestationManagementClient’s operations attribute.

list(**kwargs: Any)azure.mgmt.attestation.models._models_py3.OperationList[source]

Lists all of the available Azure attestation operations.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

OperationList or the result of cls(response)

Return type

OperationList

Raises

HttpResponseError

models = <module 'azure.mgmt.attestation.models' from '/mnt/vss/_work/1/s/sdk/attestation/azure-mgmt-attestation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/attestation/models/__init__.py'>
class azure.mgmt.attestation.operations.PrivateEndpointConnectionsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AttestationManagementClient’s private_endpoint_connections attribute.

create(resource_group_name: str, provider_name: str, private_endpoint_connection_name: str, properties: _models.PrivateEndpointConnection, *, content_type: str = "'application/json'", **kwargs: Any)_models.PrivateEndpointConnection[source]
create(resource_group_name: str, provider_name: str, private_endpoint_connection_name: str, properties: IO, *, content_type: str = "'application/json'", **kwargs: Any)_models.PrivateEndpointConnection

Update the state of specified private endpoint connection associated with the attestation provider.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • provider_name (str) – The name of the attestation provider. Required.

  • private_endpoint_connection_name (str) – The name of the private endpoint connection associated with the Azure resource. Required.

  • properties (PrivateEndpointConnection or IO) – The private endpoint connection properties. Is either a model type or a IO type. Required.

Keyword Arguments
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • cls (callable) – A custom type or function that will be passed the direct response

Returns

PrivateEndpointConnection or the result of cls(response)

Return type

PrivateEndpointConnection

Raises

HttpResponseError

delete(resource_group_name: str, provider_name: str, private_endpoint_connection_name: str, **kwargs: Any)None[source]

Deletes the specified private endpoint connection associated with the attestation provider.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • provider_name (str) – The name of the attestation provider. Required.

  • private_endpoint_connection_name (str) – The name of the private endpoint connection associated with the Azure resource. Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

None or the result of cls(response)

Return type

None

Raises

HttpResponseError

get(resource_group_name: str, provider_name: str, private_endpoint_connection_name: str, **kwargs: Any)azure.mgmt.attestation.models._models_py3.PrivateEndpointConnection[source]

Gets the specified private endpoint connection associated with the attestation provider.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • provider_name (str) – The name of the attestation provider. Required.

  • private_endpoint_connection_name (str) – The name of the private endpoint connection associated with the Azure resource. Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

PrivateEndpointConnection or the result of cls(response)

Return type

PrivateEndpointConnection

Raises

HttpResponseError

list(resource_group_name: str, provider_name: str, **kwargs: Any)Iterable[azure.mgmt.attestation.models._models_py3.PrivateEndpointConnection][source]

List all the private endpoint connections associated with the attestation provider.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • provider_name (str) – The name of the attestation provider. Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

An iterator like instance of either PrivateEndpointConnection or the result of cls(response)

Return type

ItemPaged[PrivateEndpointConnection]

Raises

HttpResponseError

models = <module 'azure.mgmt.attestation.models' from '/mnt/vss/_work/1/s/sdk/attestation/azure-mgmt-attestation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/attestation/models/__init__.py'>