azure.mgmt.mixedreality.operations module¶
-
class
azure.mgmt.mixedreality.operations.Operations(client, config, serializer, deserializer)[source]¶ Bases:
objectOperations operations.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Constant value: “2019-02-28-preview”.
-
list(custom_headers=None, raw=False, **operation_config)[source]¶ Exposing Available Operations.
- Parameters
- Returns
An iterator like instance of Operation
- Return type
- Raises
-
models= <module 'azure.mgmt.mixedreality.models' from '/usr/lib/python3/dist-packages/azure/mgmt/mixedreality/models/__init__.py'>¶
-
class
azure.mgmt.mixedreality.operations.SpatialAnchorsAccountsOperations(client, config, serializer, deserializer)[source]¶ Bases:
objectSpatialAnchorsAccountsOperations operations.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Constant value: “2019-02-28-preview”.
-
create(resource_group_name, spatial_anchors_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.
spatial_anchors_account_name (str) – Name of an Mixed Reality Spatial Anchors Account.
location (str) – The geo-location where the resource lives
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
SpatialAnchorsAccount or ClientRawResponse if raw=true
- Return type
SpatialAnchorsAccount or ClientRawResponse
- Raises
-
delete(resource_group_name, spatial_anchors_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.
spatial_anchors_account_name (str) – Name of an Mixed Reality Spatial Anchors Account.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
None or ClientRawResponse if raw=true
- Return type
None or ClientRawResponse
- Raises
-
get(resource_group_name, spatial_anchors_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.
spatial_anchors_account_name (str) – Name of an Mixed Reality Spatial Anchors Account.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
SpatialAnchorsAccount or ClientRawResponse if raw=true
- Return type
SpatialAnchorsAccount or ClientRawResponse
- Raises
-
get_keys(resource_group_name, spatial_anchors_account_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get Both of the 2 Keys of a Spatial Anchors Account.
- Parameters
resource_group_name (str) – Name of an Azure resource group.
spatial_anchors_account_name (str) – Name of an Mixed Reality Spatial Anchors Account.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
SpatialAnchorsAccountKeys or ClientRawResponse if raw=true
- Return type
SpatialAnchorsAccountKeys or ClientRawResponse
- Raises
-
list_by_resource_group(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]¶ List Resources by Resource Group.
- Parameters
- Returns
An iterator like instance of SpatialAnchorsAccount
- Return type
- Raises
-
list_by_subscription(custom_headers=None, raw=False, **operation_config)[source]¶ List Spatial Anchors Accounts by Subscription.
- Parameters
- Returns
An iterator like instance of SpatialAnchorsAccount
- Return type
- Raises
-
regenerate_keys(resource_group_name, spatial_anchors_account_name, serial=1, custom_headers=None, raw=False, **operation_config)[source]¶ Regenerate 1 Key of a Spatial Anchors Account.
- Parameters
resource_group_name (str) – Name of an Azure resource group.
spatial_anchors_account_name (str) – Name of an Mixed Reality Spatial Anchors 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_config – Operation configuration overrides.
- Returns
SpatialAnchorsAccountKeys or ClientRawResponse if raw=true
- Return type
SpatialAnchorsAccountKeys or ClientRawResponse
- Raises
-
update(resource_group_name, spatial_anchors_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.
spatial_anchors_account_name (str) – Name of an Mixed Reality Spatial Anchors Account.
location (str) – The geo-location where the resource lives
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
SpatialAnchorsAccount or ClientRawResponse if raw=true
- Return type
SpatialAnchorsAccount or ClientRawResponse
- Raises
-
models= <module 'azure.mgmt.mixedreality.models' from '/usr/lib/python3/dist-packages/azure/mgmt/mixedreality/models/__init__.py'>¶