Interface StorageSpacesOperationsClient
public interface StorageSpacesOperationsClient
An instance of this class provides access to all the operations defined in StorageSpacesOperationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StorageSpacesInner>,
StorageSpacesInner> beginCreateOrUpdate
(String resourceGroupName, String storageSpacesName, StorageSpacesInner storageSpaces) Puts the storage objectcom.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 objectcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StorageSpacesInner>,
StorageSpacesInner> beginUpdate
(String resourceGroupName, String storageSpacesName, StorageSpacesPatch storageSpaces) Patches the storage objectcom.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 objectcreateOrUpdate
(String resourceGroupName, String storageSpacesName, StorageSpacesInner storageSpaces) Puts the storage objectcreateOrUpdate
(String resourceGroupName, String storageSpacesName, StorageSpacesInner storageSpaces, com.azure.core.util.Context context) Puts the storage objectvoid
Deletes the storage objectcom.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String storageSpacesName, com.azure.core.util.Context context) Deletes the storage objectgetByResourceGroup
(String resourceGroupName, String storageSpacesName) Gets the storage space objectcom.azure.core.http.rest.Response<StorageSpacesInner>
getByResourceGroupWithResponse
(String resourceGroupName, String storageSpacesName, com.azure.core.util.Context context) Gets the storage space objectcom.azure.core.http.rest.PagedIterable<StorageSpacesInner>
list()
List the storage object by subscriptioncom.azure.core.http.rest.PagedIterable<StorageSpacesInner>
list
(com.azure.core.util.Context context) List the storage object by subscriptioncom.azure.core.http.rest.PagedIterable<StorageSpacesInner>
listByResourceGroup
(String resourceGroupName) List the storage object by resource groupcom.azure.core.http.rest.PagedIterable<StorageSpacesInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List the storage object by resource groupupdate
(String resourceGroupName, String storageSpacesName, StorageSpacesPatch storageSpaces) Patches the storage objectupdate
(String resourceGroupName, String storageSpacesName, StorageSpacesPatch storageSpaces, com.azure.core.util.Context context) Patches the storage object
-
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 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.
-
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 objectPuts 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 objectPuts 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 objectPuts 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 objectPuts 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 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.
-
delete
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.
-
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 objectPatches 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 objectPatches 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 objectPatches 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 objectPatches 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 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<StorageSpacesInner> 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<StorageSpacesInner> 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
com.azure.core.http.rest.PagedIterable<StorageSpacesInner> list(com.azure.core.util.Context context) 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.
-