SpatialAnchorsAccounts interface
Interface representing a SpatialAnchorsAccounts.
Methods
create(string, string, Spatial |
Creating or Updating a Spatial Anchors Account. |
delete(string, string, Spatial |
Delete a Spatial Anchors Account. |
get(string, string, Spatial |
Retrieve a Spatial Anchors Account. |
list |
List Resources by Resource Group |
list |
List Spatial Anchors Accounts by Subscription |
list |
List Both of the 2 Keys of a Spatial Anchors Account |
regenerate |
Regenerate specified Key of a Spatial Anchors Account |
update(string, string, Spatial |
Updating a Spatial Anchors Account |
Method Details
create(string, string, SpatialAnchorsAccount, SpatialAnchorsAccountsCreateOptionalParams)
Creating or Updating a Spatial Anchors Account.
function create(resourceGroupName: string, accountName: string, spatialAnchorsAccount: SpatialAnchorsAccount, options?: SpatialAnchorsAccountsCreateOptionalParams): Promise<SpatialAnchorsAccount>
Parameters
- resourceGroupName
-
string
Name of an Azure resource group.
- accountName
-
string
Name of an Mixed Reality Account.
- spatialAnchorsAccount
- SpatialAnchorsAccount
Spatial Anchors Account parameter.
The options parameters.
Returns
Promise<SpatialAnchorsAccount>
delete(string, string, SpatialAnchorsAccountsDeleteOptionalParams)
Delete a Spatial Anchors Account.
function delete(resourceGroupName: string, accountName: string, options?: SpatialAnchorsAccountsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of an Azure resource group.
- accountName
-
string
Name of an Mixed Reality Account.
The options parameters.
Returns
Promise<void>
get(string, string, SpatialAnchorsAccountsGetOptionalParams)
Retrieve a Spatial Anchors Account.
function get(resourceGroupName: string, accountName: string, options?: SpatialAnchorsAccountsGetOptionalParams): Promise<SpatialAnchorsAccount>
Parameters
- resourceGroupName
-
string
Name of an Azure resource group.
- accountName
-
string
Name of an Mixed Reality Account.
The options parameters.
Returns
Promise<SpatialAnchorsAccount>
listByResourceGroup(string, SpatialAnchorsAccountsListByResourceGroupOptionalParams)
List Resources by Resource Group
function listByResourceGroup(resourceGroupName: string, options?: SpatialAnchorsAccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SpatialAnchorsAccount, SpatialAnchorsAccount[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of an Azure resource group.
The options parameters.
Returns
listBySubscription(SpatialAnchorsAccountsListBySubscriptionOptionalParams)
List Spatial Anchors Accounts by Subscription
function listBySubscription(options?: SpatialAnchorsAccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SpatialAnchorsAccount, SpatialAnchorsAccount[], PageSettings>
Parameters
The options parameters.
Returns
listKeys(string, string, SpatialAnchorsAccountsListKeysOptionalParams)
List Both of the 2 Keys of a Spatial Anchors Account
function listKeys(resourceGroupName: string, accountName: string, options?: SpatialAnchorsAccountsListKeysOptionalParams): Promise<AccountKeys>
Parameters
- resourceGroupName
-
string
Name of an Azure resource group.
- accountName
-
string
Name of an Mixed Reality Account.
The options parameters.
Returns
Promise<AccountKeys>
regenerateKeys(string, string, AccountKeyRegenerateRequest, SpatialAnchorsAccountsRegenerateKeysOptionalParams)
Regenerate specified Key of a Spatial Anchors Account
function regenerateKeys(resourceGroupName: string, accountName: string, regenerate: AccountKeyRegenerateRequest, options?: SpatialAnchorsAccountsRegenerateKeysOptionalParams): Promise<AccountKeys>
Parameters
- resourceGroupName
-
string
Name of an Azure resource group.
- accountName
-
string
Name of an Mixed Reality Account.
- regenerate
- AccountKeyRegenerateRequest
Required information for key regeneration.
The options parameters.
Returns
Promise<AccountKeys>
update(string, string, SpatialAnchorsAccount, SpatialAnchorsAccountsUpdateOptionalParams)
Updating a Spatial Anchors Account
function update(resourceGroupName: string, accountName: string, spatialAnchorsAccount: SpatialAnchorsAccount, options?: SpatialAnchorsAccountsUpdateOptionalParams): Promise<SpatialAnchorsAccount>
Parameters
- resourceGroupName
-
string
Name of an Azure resource group.
- accountName
-
string
Name of an Mixed Reality Account.
- spatialAnchorsAccount
- SpatialAnchorsAccount
Spatial Anchors Account parameter.
The options parameters.
Returns
Promise<SpatialAnchorsAccount>