Interface SpatialAnchorsAccounts


public interface SpatialAnchorsAccounts
Resource collection API of SpatialAnchorsAccounts.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<SpatialAnchorsAccount> 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<SpatialAnchorsAccount> 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<SpatialAnchorsAccount> 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<SpatialAnchorsAccount> 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.
    • deleteByResourceGroupWithResponse

      com.azure.core.http.rest.Response<Void> deleteByResourceGroupWithResponse(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.
    • deleteByResourceGroup

      void deleteByResourceGroup(String resourceGroupName, String accountName)
      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<SpatialAnchorsAccount> 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

      SpatialAnchorsAccount getByResourceGroup(String resourceGroupName, String accountName)
      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.
    • listKeysWithResponse

      com.azure.core.http.rest.Response<AccountKeys> 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

      AccountKeys listKeys(String resourceGroupName, String accountName)
      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<AccountKeys> 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

      AccountKeys 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.
    • getById

      Retrieve a Spatial Anchors Account.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<SpatialAnchorsAccount> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Retrieve a Spatial Anchors Account.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Delete a Spatial Anchors Account.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Delete a Spatial Anchors Account.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new SpatialAnchorsAccount resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new SpatialAnchorsAccount definition.