Interface StorageSpacesOperationsClient


public interface StorageSpacesOperationsClient
An instance of this class provides access to all the operations defined in StorageSpacesOperationsClient.
  • Method Details

    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<StorageSpacesInner> getByResourceGroupWithResponse(String resourceGroupName, String storageSpacesName, com.azure.core.util.Context context)
      Gets the storage space object

      Gets the Hybrid AKS storage space object.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageSpacesName - Parameter for the name of the storage object.
      context - The context to associate with this operation.
      Returns:
      the Hybrid AKS storage space object 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

      StorageSpacesInner getByResourceGroup(String resourceGroupName, String storageSpacesName)
      Gets the storage space object

      Gets the Hybrid AKS storage space object.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageSpacesName - Parameter for the name of the storage object.
      Returns:
      the Hybrid AKS storage space object.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StorageSpacesInner>,StorageSpacesInner> beginCreateOrUpdate(String resourceGroupName, String storageSpacesName, StorageSpacesInner storageSpaces)
      Puts the storage object

      Puts the Hybrid AKS storage object.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageSpacesName - Parameter for the name of the storage object.
      storageSpaces - The storageSpaces resource definition.
      Returns:
      the SyncPoller for polling of the storageSpaces resource definition.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StorageSpacesInner>,StorageSpacesInner> beginCreateOrUpdate(String resourceGroupName, String storageSpacesName, StorageSpacesInner storageSpaces, com.azure.core.util.Context context)
      Puts the storage object

      Puts the Hybrid AKS storage object.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageSpacesName - Parameter for the name of the storage object.
      storageSpaces - The storageSpaces resource definition.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the storageSpaces resource definition.
      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.
    • createOrUpdate

      StorageSpacesInner createOrUpdate(String resourceGroupName, String storageSpacesName, StorageSpacesInner storageSpaces)
      Puts the storage object

      Puts the Hybrid AKS storage object.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageSpacesName - Parameter for the name of the storage object.
      storageSpaces - The storageSpaces resource definition.
      Returns:
      the storageSpaces resource definition.
      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.
    • createOrUpdate

      StorageSpacesInner createOrUpdate(String resourceGroupName, String storageSpacesName, StorageSpacesInner storageSpaces, com.azure.core.util.Context context)
      Puts the storage object

      Puts the Hybrid AKS storage object.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageSpacesName - Parameter for the name of the storage object.
      storageSpaces - The storageSpaces resource definition.
      context - The context to associate with this operation.
      Returns:
      the storageSpaces resource definition.
      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 storageSpacesName, com.azure.core.util.Context context)
      Deletes the storage object

      Deletes the Hybrid AKS storage object.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageSpacesName - Parameter for the name of the storage object.
      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

      void delete(String resourceGroupName, String storageSpacesName)
      Deletes the storage object

      Deletes the Hybrid AKS storage object.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageSpacesName - Parameter for the name of the storage object.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StorageSpacesInner>,StorageSpacesInner> beginUpdate(String resourceGroupName, String storageSpacesName, StorageSpacesPatch storageSpaces)
      Patches the storage object

      Patches the Hybrid AKS storage object.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageSpacesName - Parameter for the name of the storage object.
      storageSpaces - The storageSpaces resource patch definition.
      Returns:
      the SyncPoller for polling of the storageSpaces resource definition.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StorageSpacesInner>,StorageSpacesInner> beginUpdate(String resourceGroupName, String storageSpacesName, StorageSpacesPatch storageSpaces, com.azure.core.util.Context context)
      Patches the storage object

      Patches the Hybrid AKS storage object.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageSpacesName - Parameter for the name of the storage object.
      storageSpaces - The storageSpaces resource patch definition.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the storageSpaces resource definition.
      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

      StorageSpacesInner update(String resourceGroupName, String storageSpacesName, StorageSpacesPatch storageSpaces)
      Patches the storage object

      Patches the Hybrid AKS storage object.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageSpacesName - Parameter for the name of the storage object.
      storageSpaces - The storageSpaces resource patch definition.
      Returns:
      the storageSpaces resource definition.
      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

      StorageSpacesInner update(String resourceGroupName, String storageSpacesName, StorageSpacesPatch storageSpaces, com.azure.core.util.Context context)
      Patches the storage object

      Patches the Hybrid AKS storage object.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageSpacesName - Parameter for the name of the storage object.
      storageSpaces - The storageSpaces resource patch definition.
      context - The context to associate with this operation.
      Returns:
      the storageSpaces resource definition.
      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<StorageSpacesInner> listByResourceGroup(String resourceGroupName)
      List the storage object by resource group

      List the Hybrid AKS storage object by resource group.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      the 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<StorageSpacesInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      List the storage object by resource group

      List the Hybrid AKS storage object by resource group.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • list

      com.azure.core.http.rest.PagedIterable<StorageSpacesInner> list()
      List the storage object by subscription

      List the Hybrid AKS storage object by subscription.

      Returns:
      the 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<StorageSpacesInner> list(com.azure.core.util.Context context)
      List the storage object by subscription

      List the Hybrid AKS storage object by subscription.

      Parameters:
      context - The context to associate with this operation.
      Returns:
      the 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.