azure.mgmt.mixedreality.operations module

class azure.mgmt.mixedreality.operations.MixedRealityClientOperationsMixin[source]

Bases: azure.mgmt.mixedreality._vendor.MixedRealityClientMixinABC

check_name_availability_local(location: str, check_name_availability: _models.CheckNameAvailabilityRequest, *, content_type: str = "'application/json'", **kwargs: Any)_models.CheckNameAvailabilityResponse[source]
check_name_availability_local(location: str, check_name_availability: IO, *, content_type: str = "'application/json'", **kwargs: Any)_models.CheckNameAvailabilityResponse

Check Name Availability for local uniqueness.

Parameters
  • location (str) – The location in which uniqueness will be verified. Required.

  • check_name_availability (CheckNameAvailabilityRequest or IO) – Check Name Availability Request. 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

CheckNameAvailabilityResponse or the result of cls(response)

Return type

CheckNameAvailabilityResponse

Raises

HttpResponseError

class azure.mgmt.mixedreality.operations.ObjectAnchorsAccountsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

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

create(resource_group_name: str, account_name: str, object_anchors_account: _models.ObjectAnchorsAccount, *, content_type: str = "'application/json'", **kwargs: Any)_models.ObjectAnchorsAccount[source]
create(resource_group_name: str, account_name: str, object_anchors_account: IO, *, content_type: str = "'application/json'", **kwargs: Any)_models.ObjectAnchorsAccount

Creating or Updating an object anchors Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. Required.

  • object_anchors_account (ObjectAnchorsAccount or IO) – Object Anchors Account parameter. 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

ObjectAnchorsAccount or the result of cls(response)

Return type

ObjectAnchorsAccount

Raises

HttpResponseError

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

Delete an Object Anchors Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. 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, account_name: str, **kwargs: Any)azure.mgmt.mixedreality.models._models_py3.ObjectAnchorsAccount[source]

Retrieve an Object Anchors Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. Required.

Keyword Arguments

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

Returns

ObjectAnchorsAccount or the result of cls(response)

Return type

ObjectAnchorsAccount

Raises

HttpResponseError

list_by_resource_group(resource_group_name: str, **kwargs: Any)Iterable[azure.mgmt.mixedreality.models._models_py3.ObjectAnchorsAccount][source]

List Resources by Resource Group.

Parameters

resource_group_name (str) – Name of an Azure resource group. Required.

Keyword Arguments

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

Returns

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

Return type

ItemPaged[ObjectAnchorsAccount]

Raises

HttpResponseError

list_by_subscription(**kwargs: Any)Iterable[azure.mgmt.mixedreality.models._models_py3.ObjectAnchorsAccount][source]

List Object Anchors Accounts by Subscription.

Keyword Arguments

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

Returns

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

Return type

ItemPaged[ObjectAnchorsAccount]

Raises

HttpResponseError

list_keys(resource_group_name: str, account_name: str, **kwargs: Any)azure.mgmt.mixedreality.models._models_py3.AccountKeys[source]

List Both of the 2 Keys of an object anchors Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. Required.

Keyword Arguments

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

Returns

AccountKeys or the result of cls(response)

Return type

AccountKeys

Raises

HttpResponseError

regenerate_keys(resource_group_name: str, account_name: str, regenerate: _models.AccountKeyRegenerateRequest, *, content_type: str = "'application/json'", **kwargs: Any)_models.AccountKeys[source]
regenerate_keys(resource_group_name: str, account_name: str, regenerate: IO, *, content_type: str = "'application/json'", **kwargs: Any)_models.AccountKeys

Regenerate specified Key of an object anchors Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. Required.

  • regenerate (AccountKeyRegenerateRequest or IO) – Required information for key regeneration. 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

AccountKeys or the result of cls(response)

Return type

AccountKeys

Raises

HttpResponseError

update(resource_group_name: str, account_name: str, object_anchors_account: _models.ObjectAnchorsAccount, *, content_type: str = "'application/json'", **kwargs: Any)_models.ObjectAnchorsAccount[source]
update(resource_group_name: str, account_name: str, object_anchors_account: IO, *, content_type: str = "'application/json'", **kwargs: Any)_models.ObjectAnchorsAccount

Updating an Object Anchors Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. Required.

  • object_anchors_account (ObjectAnchorsAccount or IO) – Object Anchors Account parameter. 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

ObjectAnchorsAccount or the result of cls(response)

Return type

ObjectAnchorsAccount

Raises

HttpResponseError

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

Bases: object

Warning

DO NOT instantiate this class directly.

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

list(**kwargs: Any)Iterable[azure.mgmt.mixedreality.models._models_py3.Operation][source]

Exposing Available Operations.

Keyword Arguments

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

Returns

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

Return type

ItemPaged[Operation]

Raises

HttpResponseError

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

Bases: object

Warning

DO NOT instantiate this class directly.

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

create(resource_group_name: str, account_name: str, remote_rendering_account: _models.RemoteRenderingAccount, *, content_type: str = "'application/json'", **kwargs: Any)_models.RemoteRenderingAccount[source]
create(resource_group_name: str, account_name: str, remote_rendering_account: IO, *, content_type: str = "'application/json'", **kwargs: Any)_models.RemoteRenderingAccount

Creating or Updating a Remote Rendering Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. Required.

  • remote_rendering_account (RemoteRenderingAccount or IO) – Remote Rendering Account parameter. 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

RemoteRenderingAccount or the result of cls(response)

Return type

RemoteRenderingAccount

Raises

HttpResponseError

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

Delete a Remote Rendering Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. 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, account_name: str, **kwargs: Any)azure.mgmt.mixedreality.models._models_py3.RemoteRenderingAccount[source]

Retrieve a Remote Rendering Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. Required.

Keyword Arguments

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

Returns

RemoteRenderingAccount or the result of cls(response)

Return type

RemoteRenderingAccount

Raises

HttpResponseError

list_by_resource_group(resource_group_name: str, **kwargs: Any)Iterable[azure.mgmt.mixedreality.models._models_py3.RemoteRenderingAccount][source]

List Resources by Resource Group.

Parameters

resource_group_name (str) – Name of an Azure resource group. Required.

Keyword Arguments

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

Returns

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

Return type

ItemPaged[RemoteRenderingAccount]

Raises

HttpResponseError

list_by_subscription(**kwargs: Any)Iterable[azure.mgmt.mixedreality.models._models_py3.RemoteRenderingAccount][source]

List Remote Rendering Accounts by Subscription.

Keyword Arguments

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

Returns

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

Return type

ItemPaged[RemoteRenderingAccount]

Raises

HttpResponseError

list_keys(resource_group_name: str, account_name: str, **kwargs: Any)azure.mgmt.mixedreality.models._models_py3.AccountKeys[source]

List Both of the 2 Keys of a Remote Rendering Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. Required.

Keyword Arguments

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

Returns

AccountKeys or the result of cls(response)

Return type

AccountKeys

Raises

HttpResponseError

regenerate_keys(resource_group_name: str, account_name: str, regenerate: _models.AccountKeyRegenerateRequest, *, content_type: str = "'application/json'", **kwargs: Any)_models.AccountKeys[source]
regenerate_keys(resource_group_name: str, account_name: str, regenerate: IO, *, content_type: str = "'application/json'", **kwargs: Any)_models.AccountKeys

Regenerate specified Key of a Remote Rendering Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. Required.

  • regenerate (AccountKeyRegenerateRequest or IO) – Required information for key regeneration. 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

AccountKeys or the result of cls(response)

Return type

AccountKeys

Raises

HttpResponseError

update(resource_group_name: str, account_name: str, remote_rendering_account: _models.RemoteRenderingAccount, *, content_type: str = "'application/json'", **kwargs: Any)_models.RemoteRenderingAccount[source]
update(resource_group_name: str, account_name: str, remote_rendering_account: IO, *, content_type: str = "'application/json'", **kwargs: Any)_models.RemoteRenderingAccount

Updating a Remote Rendering Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. Required.

  • remote_rendering_account (RemoteRenderingAccount or IO) – Remote Rendering Account parameter. 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

RemoteRenderingAccount or the result of cls(response)

Return type

RemoteRenderingAccount

Raises

HttpResponseError

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

Bases: object

Warning

DO NOT instantiate this class directly.

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

create(resource_group_name: str, account_name: str, spatial_anchors_account: _models.SpatialAnchorsAccount, *, content_type: str = "'application/json'", **kwargs: Any)_models.SpatialAnchorsAccount[source]
create(resource_group_name: str, account_name: str, spatial_anchors_account: IO, *, content_type: str = "'application/json'", **kwargs: Any)_models.SpatialAnchorsAccount

Creating or Updating a Spatial Anchors Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. Required.

  • spatial_anchors_account (SpatialAnchorsAccount or IO) – Spatial Anchors Account parameter. 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

SpatialAnchorsAccount or the result of cls(response)

Return type

SpatialAnchorsAccount

Raises

HttpResponseError

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

Delete a Spatial Anchors Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. 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, account_name: str, **kwargs: Any)azure.mgmt.mixedreality.models._models_py3.SpatialAnchorsAccount[source]

Retrieve a Spatial Anchors Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. Required.

Keyword Arguments

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

Returns

SpatialAnchorsAccount or the result of cls(response)

Return type

SpatialAnchorsAccount

Raises

HttpResponseError

list_by_resource_group(resource_group_name: str, **kwargs: Any)Iterable[azure.mgmt.mixedreality.models._models_py3.SpatialAnchorsAccount][source]

List Resources by Resource Group.

Parameters

resource_group_name (str) – Name of an Azure resource group. Required.

Keyword Arguments

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

Returns

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

Return type

ItemPaged[SpatialAnchorsAccount]

Raises

HttpResponseError

list_by_subscription(**kwargs: Any)Iterable[azure.mgmt.mixedreality.models._models_py3.SpatialAnchorsAccount][source]

List Spatial Anchors Accounts by Subscription.

Keyword Arguments

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

Returns

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

Return type

ItemPaged[SpatialAnchorsAccount]

Raises

HttpResponseError

list_keys(resource_group_name: str, account_name: str, **kwargs: Any)azure.mgmt.mixedreality.models._models_py3.AccountKeys[source]

List Both of the 2 Keys of a Spatial Anchors Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. Required.

Keyword Arguments

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

Returns

AccountKeys or the result of cls(response)

Return type

AccountKeys

Raises

HttpResponseError

regenerate_keys(resource_group_name: str, account_name: str, regenerate: _models.AccountKeyRegenerateRequest, *, content_type: str = "'application/json'", **kwargs: Any)_models.AccountKeys[source]
regenerate_keys(resource_group_name: str, account_name: str, regenerate: IO, *, content_type: str = "'application/json'", **kwargs: Any)_models.AccountKeys

Regenerate specified Key of a Spatial Anchors Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. Required.

  • regenerate (AccountKeyRegenerateRequest or IO) – Required information for key regeneration. 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

AccountKeys or the result of cls(response)

Return type

AccountKeys

Raises

HttpResponseError

update(resource_group_name: str, account_name: str, spatial_anchors_account: _models.SpatialAnchorsAccount, *, content_type: str = "'application/json'", **kwargs: Any)_models.SpatialAnchorsAccount[source]
update(resource_group_name: str, account_name: str, spatial_anchors_account: IO, *, content_type: str = "'application/json'", **kwargs: Any)_models.SpatialAnchorsAccount

Updating a Spatial Anchors Account.

Parameters
  • resource_group_name (str) – Name of an Azure resource group. Required.

  • account_name (str) – Name of an Mixed Reality Account. Required.

  • spatial_anchors_account (SpatialAnchorsAccount or IO) – Spatial Anchors Account parameter. 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

SpatialAnchorsAccount or the result of cls(response)

Return type

SpatialAnchorsAccount

Raises

HttpResponseError

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