Interface StorageSpacesOperations
public interface StorageSpacesOperations
Resource collection API of StorageSpacesOperations.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new StorageSpaces resource.void
deleteById
(String id) Deletes the storage objectcom.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the storage objectvoid
deleteByResourceGroup
(String resourceGroupName, String storageSpacesName) Deletes the storage objectcom.azure.core.http.rest.Response<Void>
deleteByResourceGroupWithResponse
(String resourceGroupName, String storageSpacesName, com.azure.core.util.Context context) Deletes the storage objectGets the storage space objectcom.azure.core.http.rest.Response<StorageSpaces>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets the storage space objectgetByResourceGroup
(String resourceGroupName, String storageSpacesName) Gets the storage space objectcom.azure.core.http.rest.Response<StorageSpaces>
getByResourceGroupWithResponse
(String resourceGroupName, String storageSpacesName, com.azure.core.util.Context context) Gets the storage space objectcom.azure.core.http.rest.PagedIterable<StorageSpaces>
list()
List the storage object by subscriptioncom.azure.core.http.rest.PagedIterable<StorageSpaces>
list
(com.azure.core.util.Context context) List the storage object by subscriptioncom.azure.core.http.rest.PagedIterable<StorageSpaces>
listByResourceGroup
(String resourceGroupName) List the storage object by resource groupcom.azure.core.http.rest.PagedIterable<StorageSpaces>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List the storage object by resource group
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<StorageSpaces> getByResourceGroupWithResponse(String resourceGroupName, String storageSpacesName, com.azure.core.util.Context context) Gets the storage space objectGets 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
Gets the storage space objectGets 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.
-
deleteByResourceGroupWithResponse
com.azure.core.http.rest.Response<Void> deleteByResourceGroupWithResponse(String resourceGroupName, String storageSpacesName, com.azure.core.util.Context context) Deletes the storage objectDeletes 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.
-
deleteByResourceGroup
Deletes the storage objectDeletes 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.
-
listByResourceGroup
List the storage object by resource groupList 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<StorageSpaces> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) List the storage object by resource groupList 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<StorageSpaces> list()List the storage object by subscriptionList 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
List the storage object by subscriptionList 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.
-
getById
Gets the storage space objectGets the Hybrid AKS storage space object.
- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<StorageSpaces> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets the storage space objectGets the Hybrid AKS storage space object.
- Parameters:
id
- the resource ID.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.
-
deleteById
Deletes the storage objectDeletes the Hybrid AKS storage object.
- 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) Deletes the storage objectDeletes the Hybrid AKS storage object.
- 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 StorageSpaces resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new StorageSpaces definition.
-