azure.mgmt.mixedreality.models module

exception azure.mgmt.mixedreality.models.ErrorResponseException(deserialize, response, *args)[source]

Bases: msrest.exceptions.HttpOperationError

Server responsed with exception of type: ‘ErrorResponse’.

Parameters:
  • deserialize – A deserializer
  • response – Server response to be deserialized.
class azure.mgmt.mixedreality.models.CheckNameAvailabilityRequest(*, name: str, type: str, **kwargs)[source]

Bases: msrest.serialization.Model

Check Name Availability Request.

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

Parameters:
  • name (str) – Required. Resource Name To Verify
  • type (str) – Required. Fully qualified resource type which includes provider namespace
class azure.mgmt.mixedreality.models.CheckNameAvailabilityResponse(*, name_available, reason=None, message: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Check Name Availability Response.

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

Parameters:
  • name_available (str or NameAvailability) – Required. if name Available. Possible values include: ‘true’, ‘false’
  • reason (str or NameUnavailableReason) – Resource Name To Verify. Possible values include: ‘Invalid’, ‘AlreadyExists’
  • message (str) – detail message
class azure.mgmt.mixedreality.models.ErrorResponse(*, message: str, code: str, target: str = None, details: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response on Error.

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

Parameters:
  • message (str) – Required. Describes the error in detail and provides debugging information
  • code (str) – Required. String that can be used to programmatically identify the error.
  • target (str) – The target of the particular error
  • details (str) – An array of JSON objects that MUST contain name/value pairs for code and message, and MAY contain a name/value pair for target, as described above.The contents of this section are service-defined but must adhere to the aforementioned schema.
class azure.mgmt.mixedreality.models.OperationDisplay(*, provider: str, resource: str, operation: str, description: str, **kwargs)[source]

Bases: msrest.serialization.Model

The object that represents the operation.

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

Parameters:
  • provider (str) – Required. Service provider: Microsoft.ResourceProvider
  • resource (str) – Required. Resource on which the operation is performed: Profile, endpoint, etc.
  • operation (str) – Required. Operation type: Read, write, delete, etc.
  • description (str) – Required. Description of operation
class azure.mgmt.mixedreality.models.Operation(*, name: str = None, display=None, **kwargs)[source]

Bases: msrest.serialization.Model

REST API operation.

Parameters:
  • name (str) – Operation name: {provider}/{resource}/{operation}
  • display (OperationDisplay) – The object that represents the operation.
class azure.mgmt.mixedreality.models.SpatialAnchorsAccount(*, location: str, tags=None, **kwargs)[source]

Bases: azure.mgmt.mixedreality.models.tracked_resource_py3.TrackedResource

SpatialAnchorsAccount Response.

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.
  • account_id (str) – unique id of certain Spatial Anchors Account data contract.
  • account_domain (str) – Correspond domain name of certain Spatial Anchors Account
Parameters:
  • tags (dict[str, str]) – Resource tags.
  • location (str) – Required. The geo-location where the resource lives
class azure.mgmt.mixedreality.models.SpatialAnchorsAccountKeys(**kwargs)[source]

Bases: msrest.serialization.Model

Spatial Anchors Account Keys.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
class azure.mgmt.mixedreality.models.SpatialAnchorsAccountKeyRegenerateRequest(*, serial: int = 1, **kwargs)[source]

Bases: msrest.serialization.Model

Spatial Anchors Account Regenerate Key.

Parameters:serial (int) – serial of key to be regenerated. Default value: 1 .
class azure.mgmt.mixedreality.models.ProxyResource(**kwargs)[source]

Bases: azure.mgmt.mixedreality.models.resource_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.mixedreality.models.AzureEntityResource(**kwargs)[source]

Bases: azure.mgmt.mixedreality.models.resource_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.mixedreality.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.mixedreality.models.TrackedResource(*, location: str, tags=None, **kwargs)[source]

Bases: azure.mgmt.mixedreality.models.resource_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.mixedreality.models.OperationPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Operation object

class azure.mgmt.mixedreality.models.SpatialAnchorsAccountPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of SpatialAnchorsAccount object

class azure.mgmt.mixedreality.models.NameAvailability[source]

Bases: str, enum.Enum

An enumeration.

false = 'false'
true = 'true'
class azure.mgmt.mixedreality.models.NameUnavailableReason[source]

Bases: str, enum.Enum

An enumeration.

already_exists = 'AlreadyExists'
invalid = 'Invalid'