azure.mgmt.mixedreality.operations module

class azure.mgmt.mixedreality.operations.Operations(client, config, serializer, deserializer)[source]

Bases: object

Operations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – The API version to be used with the HTTP request. Constant value: “2020-05-01”.

list(custom_headers=None, raw=False, **operation_config)[source]

Exposing Available Operations.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of Operation

Return type

OperationPaged[Operation]

Raises

CloudError

models = <module 'azure.mgmt.mixedreality.models' from '/home/vsts/work/1/s/sdk/mixedreality/azure-mgmt-mixedreality/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/mixedreality/models/__init__.py'>
class azure.mgmt.mixedreality.operations.SpatialAnchorsAccountsOperations(client, config, serializer, deserializer)[source]

Bases: object

SpatialAnchorsAccountsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – The API version to be used with the HTTP request. Constant value: “2020-05-01”.

create(resource_group_name, account_name, location, tags=None, custom_headers=None, raw=False, **operation_config)[source]

Creating or Updating a Spatial Anchors Account.

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

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

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

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

SpatialAnchorsAccount or ClientRawResponse if raw=true

Return type

SpatialAnchorsAccount or ClientRawResponse

Raises

CloudError

delete(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)[source]

Delete a Spatial Anchors Account.

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

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

get(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)[source]

Retrieve a Spatial Anchors Account.

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

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

SpatialAnchorsAccount or ClientRawResponse if raw=true

Return type

SpatialAnchorsAccount or ClientRawResponse

Raises

CloudError

list_by_resource_group(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]

List Resources by Resource Group.

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of SpatialAnchorsAccount

Return type

SpatialAnchorsAccountPaged[SpatialAnchorsAccount]

Raises

CloudError

list_by_subscription(custom_headers=None, raw=False, **operation_config)[source]

List Spatial Anchors Accounts by Subscription.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of SpatialAnchorsAccount

Return type

SpatialAnchorsAccountPaged[SpatialAnchorsAccount]

Raises

CloudError

list_keys(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)[source]

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

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

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

AccountKeys or ClientRawResponse if raw=true

Return type

AccountKeys or ClientRawResponse

Raises

CloudError

regenerate_keys(resource_group_name, account_name, serial=1, custom_headers=None, raw=False, **operation_config)[source]

Regenerate specified Key of a Spatial Anchors Account.

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

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

  • serial (int) – serial of key to be regenerated

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

AccountKeys or ClientRawResponse if raw=true

Return type

AccountKeys or ClientRawResponse

Raises

CloudError

update(resource_group_name, account_name, location, tags=None, custom_headers=None, raw=False, **operation_config)[source]

Updating a Spatial Anchors Account.

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

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

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

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

SpatialAnchorsAccount or ClientRawResponse if raw=true

Return type

SpatialAnchorsAccount or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.mixedreality.models' from '/home/vsts/work/1/s/sdk/mixedreality/azure-mgmt-mixedreality/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/mixedreality/models/__init__.py'>
class azure.mgmt.mixedreality.operations.RemoteRenderingAccountsOperations(client, config, serializer, deserializer)[source]

Bases: object

RemoteRenderingAccountsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – The API version to be used with the HTTP request. Constant value: “2020-04-06-preview”.

create(resource_group_name, account_name, remote_rendering_account, custom_headers=None, raw=False, **operation_config)[source]

Creating or Updating a Remote Rendering Account.

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

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

  • remote_rendering_account (RemoteRenderingAccount) – Remote Rendering Account parameter.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

RemoteRenderingAccount or ClientRawResponse if raw=true

Return type

RemoteRenderingAccount or ClientRawResponse

Raises

CloudError

delete(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)[source]

Delete a Remote Rendering Account.

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

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

get(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)[source]

Retrieve a Remote Rendering Account.

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

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

RemoteRenderingAccount or ClientRawResponse if raw=true

Return type

RemoteRenderingAccount or ClientRawResponse

Raises

CloudError

list_by_resource_group(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]

List Resources by Resource Group.

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of RemoteRenderingAccount

Return type

RemoteRenderingAccountPaged[RemoteRenderingAccount]

Raises

CloudError

list_by_subscription(custom_headers=None, raw=False, **operation_config)[source]

List Remote Rendering Accounts by Subscription.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of RemoteRenderingAccount

Return type

RemoteRenderingAccountPaged[RemoteRenderingAccount]

Raises

CloudError

list_keys(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)[source]

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

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

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

AccountKeys or ClientRawResponse if raw=true

Return type

AccountKeys or ClientRawResponse

Raises

CloudError

regenerate_keys(resource_group_name, account_name, serial=1, custom_headers=None, raw=False, **operation_config)[source]

Regenerate specified Key of a Remote Rendering Account.

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

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

  • serial (int) – serial of key to be regenerated

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

AccountKeys or ClientRawResponse if raw=true

Return type

AccountKeys or ClientRawResponse

Raises

CloudError

update(resource_group_name, account_name, remote_rendering_account, custom_headers=None, raw=False, **operation_config)[source]

Updating a Remote Rendering Account.

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

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

  • remote_rendering_account (RemoteRenderingAccount) – Remote Rendering Account parameter.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

RemoteRenderingAccount or ClientRawResponse if raw=true

Return type

RemoteRenderingAccount or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.mixedreality.models' from '/home/vsts/work/1/s/sdk/mixedreality/azure-mgmt-mixedreality/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/mixedreality/models/__init__.py'>
class azure.mgmt.mixedreality.operations.MixedRealityClientOperationsMixin[source]

Bases: object

check_name_availability_local(location, name, type, custom_headers=None, raw=False, **operation_config)[source]

Check Name Availability for local uniqueness.

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

  • name (str) – Resource Name To Verify

  • type (str) – Fully qualified resource type which includes provider namespace

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

CheckNameAvailabilityResponse or ClientRawResponse if raw=true

Return type

CheckNameAvailabilityResponse or ClientRawResponse

Raises

CloudError