Interface SpatialAnchorsAccountsClient
public interface SpatialAnchorsAccountsClient
An instance of this class provides access to all the operations defined in SpatialAnchorsAccountsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String resourceGroupName, String accountName, SpatialAnchorsAccountInner spatialAnchorsAccount) Creating or Updating a Spatial Anchors Account.com.azure.core.http.rest.Response<SpatialAnchorsAccountInner>
createWithResponse
(String resourceGroupName, String accountName, SpatialAnchorsAccountInner spatialAnchorsAccount, com.azure.core.util.Context context) Creating or Updating a Spatial Anchors Account.void
Delete a Spatial Anchors Account.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Delete a Spatial Anchors Account.getByResourceGroup
(String resourceGroupName, String accountName) Retrieve a Spatial Anchors Account.com.azure.core.http.rest.Response<SpatialAnchorsAccountInner>
getByResourceGroupWithResponse
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Retrieve a Spatial Anchors Account.com.azure.core.http.rest.PagedIterable<SpatialAnchorsAccountInner>
list()
List Spatial Anchors Accounts by Subscription.com.azure.core.http.rest.PagedIterable<SpatialAnchorsAccountInner>
list
(com.azure.core.util.Context context) List Spatial Anchors Accounts by Subscription.com.azure.core.http.rest.PagedIterable<SpatialAnchorsAccountInner>
listByResourceGroup
(String resourceGroupName) List Resources by Resource Group.com.azure.core.http.rest.PagedIterable<SpatialAnchorsAccountInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List Resources by Resource Group.List Both of the 2 Keys of a Spatial Anchors Account.com.azure.core.http.rest.Response<AccountKeysInner>
listKeysWithResponse
(String resourceGroupName, String accountName, com.azure.core.util.Context context) List Both of the 2 Keys of a Spatial Anchors Account.regenerateKeys
(String resourceGroupName, String accountName, AccountKeyRegenerateRequest regenerate) Regenerate specified Key of a Spatial Anchors Account.com.azure.core.http.rest.Response<AccountKeysInner>
regenerateKeysWithResponse
(String resourceGroupName, String accountName, AccountKeyRegenerateRequest regenerate, com.azure.core.util.Context context) Regenerate specified Key of a Spatial Anchors Account.update
(String resourceGroupName, String accountName, SpatialAnchorsAccountInner spatialAnchorsAccount) Updating a Spatial Anchors Account.com.azure.core.http.rest.Response<SpatialAnchorsAccountInner>
updateWithResponse
(String resourceGroupName, String accountName, SpatialAnchorsAccountInner spatialAnchorsAccount, com.azure.core.util.Context context) Updating a Spatial Anchors Account.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<SpatialAnchorsAccountInner> list()List Spatial Anchors Accounts by Subscription.- Returns:
- result of the request to get resource collection as paginated response with
PagedIterable
. - Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<SpatialAnchorsAccountInner> list(com.azure.core.util.Context context) List Spatial Anchors Accounts by Subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- result of the request to get resource collection as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<SpatialAnchorsAccountInner> listByResourceGroup(String resourceGroupName) List Resources by Resource Group.- Parameters:
resourceGroupName
- Name of an Azure resource group.- Returns:
- result of the request to get resource collection as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<SpatialAnchorsAccountInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) List Resources by Resource Group.- Parameters:
resourceGroupName
- Name of an Azure resource group.context
- The context to associate with this operation.- Returns:
- result of the request to get resource collection as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context) Delete a Spatial Anchors Account.- Parameters:
resourceGroupName
- Name of an Azure resource group.accountName
- Name of an Mixed Reality Account.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete a Spatial Anchors Account.- Parameters:
resourceGroupName
- Name of an Azure resource group.accountName
- Name of an Mixed Reality Account.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<SpatialAnchorsAccountInner> getByResourceGroupWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context) Retrieve a Spatial Anchors Account.- Parameters:
resourceGroupName
- Name of an Azure resource group.accountName
- Name of an Mixed Reality Account.context
- The context to associate with this operation.- Returns:
- spatialAnchorsAccount Response along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Retrieve a Spatial Anchors Account.- Parameters:
resourceGroupName
- Name of an Azure resource group.accountName
- Name of an Mixed Reality Account.- Returns:
- spatialAnchorsAccount Response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponse
com.azure.core.http.rest.Response<SpatialAnchorsAccountInner> updateWithResponse(String resourceGroupName, String accountName, SpatialAnchorsAccountInner spatialAnchorsAccount, com.azure.core.util.Context context) Updating a Spatial Anchors Account.- Parameters:
resourceGroupName
- Name of an Azure resource group.accountName
- Name of an Mixed Reality Account.spatialAnchorsAccount
- Spatial Anchors Account parameter.context
- The context to associate with this operation.- Returns:
- spatialAnchorsAccount Response along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
SpatialAnchorsAccountInner update(String resourceGroupName, String accountName, SpatialAnchorsAccountInner spatialAnchorsAccount) Updating a Spatial Anchors Account.- Parameters:
resourceGroupName
- Name of an Azure resource group.accountName
- Name of an Mixed Reality Account.spatialAnchorsAccount
- Spatial Anchors Account parameter.- Returns:
- spatialAnchorsAccount Response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createWithResponse
com.azure.core.http.rest.Response<SpatialAnchorsAccountInner> createWithResponse(String resourceGroupName, String accountName, SpatialAnchorsAccountInner spatialAnchorsAccount, com.azure.core.util.Context context) Creating or Updating a Spatial Anchors Account.- Parameters:
resourceGroupName
- Name of an Azure resource group.accountName
- Name of an Mixed Reality Account.spatialAnchorsAccount
- Spatial Anchors Account parameter.context
- The context to associate with this operation.- Returns:
- spatialAnchorsAccount Response along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
create
SpatialAnchorsAccountInner create(String resourceGroupName, String accountName, SpatialAnchorsAccountInner spatialAnchorsAccount) Creating or Updating a Spatial Anchors Account.- Parameters:
resourceGroupName
- Name of an Azure resource group.accountName
- Name of an Mixed Reality Account.spatialAnchorsAccount
- Spatial Anchors Account parameter.- Returns:
- spatialAnchorsAccount Response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listKeysWithResponse
com.azure.core.http.rest.Response<AccountKeysInner> listKeysWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context) List Both of the 2 Keys of a Spatial Anchors Account.- Parameters:
resourceGroupName
- Name of an Azure resource group.accountName
- Name of an Mixed Reality Account.context
- The context to associate with this operation.- Returns:
- developer Keys of account along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listKeys
List Both of the 2 Keys of a Spatial Anchors Account.- Parameters:
resourceGroupName
- Name of an Azure resource group.accountName
- Name of an Mixed Reality Account.- Returns:
- developer Keys of account.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
regenerateKeysWithResponse
com.azure.core.http.rest.Response<AccountKeysInner> regenerateKeysWithResponse(String resourceGroupName, String accountName, AccountKeyRegenerateRequest regenerate, com.azure.core.util.Context context) Regenerate specified Key of a Spatial Anchors Account.- Parameters:
resourceGroupName
- Name of an Azure resource group.accountName
- Name of an Mixed Reality Account.regenerate
- Required information for key regeneration.context
- The context to associate with this operation.- Returns:
- developer Keys of account along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
regenerateKeys
AccountKeysInner regenerateKeys(String resourceGroupName, String accountName, AccountKeyRegenerateRequest regenerate) Regenerate specified Key of a Spatial Anchors Account.- Parameters:
resourceGroupName
- Name of an Azure resource group.accountName
- Name of an Mixed Reality Account.regenerate
- Required information for key regeneration.- Returns:
- developer Keys of account.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-