StoragesClient Interface

public interface StoragesClient

An instance of this class provides access to all the operations defined in StoragesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<StorageResourceInner>,StorageResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource)

Create or update storage resource.

abstract SyncPoller<PollResult<StorageResourceInner>,StorageResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource, Context context)

Create or update storage resource.

abstract PollerFlux<PollResult<StorageResourceInner>,StorageResourceInner> beginCreateOrUpdateAsync(String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource)

Create or update storage resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String serviceName, String storageName)

Delete the storage resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String serviceName, String storageName, Context context)

Delete the storage resource.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String serviceName, String storageName)

Delete the storage resource.

abstract StorageResourceInner createOrUpdate(String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource)

Create or update storage resource.

abstract StorageResourceInner createOrUpdate(String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource, Context context)

Create or update storage resource.

abstract Mono<StorageResourceInner> createOrUpdateAsync(String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource)

Create or update storage resource.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource)

Create or update storage resource.

abstract void delete(String resourceGroupName, String serviceName, String storageName)

Delete the storage resource.

abstract void delete(String resourceGroupName, String serviceName, String storageName, Context context)

Delete the storage resource.

abstract Mono<Void> deleteAsync(String resourceGroupName, String serviceName, String storageName)

Delete the storage resource.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serviceName, String storageName)

Delete the storage resource.

abstract StorageResourceInner get(String resourceGroupName, String serviceName, String storageName)

Get the storage resource.

abstract Mono<StorageResourceInner> getAsync(String resourceGroupName, String serviceName, String storageName)

Get the storage resource.

abstract Response<StorageResourceInner> getWithResponse(String resourceGroupName, String serviceName, String storageName, Context context)

Get the storage resource.

abstract Mono<Response<StorageResourceInner>> getWithResponseAsync(String resourceGroupName, String serviceName, String storageName)

Get the storage resource.

abstract PagedIterable<StorageResourceInner> list(String resourceGroupName, String serviceName)

List all the storages of one Azure Spring Apps resource.

abstract PagedIterable<StorageResourceInner> list(String resourceGroupName, String serviceName, Context context)

List all the storages of one Azure Spring Apps resource.

abstract PagedFlux<StorageResourceInner> listAsync(String resourceGroupName, String serviceName)

List all the storages of one Azure Spring Apps resource.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,StorageResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource)

Create or update storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.
storageResource - Parameters for the create or update operation.

Returns:

the SyncPoller<T,U> for polling of storage resource payload.

beginCreateOrUpdate

public abstract SyncPoller,StorageResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource, Context context)

Create or update storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.
storageResource - Parameters for the create or update operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of storage resource payload.

beginCreateOrUpdateAsync

public abstract PollerFlux,StorageResourceInner> beginCreateOrUpdateAsync(String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource)

Create or update storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.
storageResource - Parameters for the create or update operation.

Returns:

the PollerFlux<T,U> for polling of storage resource payload.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String serviceName, String storageName)

Delete the storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String serviceName, String storageName, Context context)

Delete the storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String serviceName, String storageName)

Delete the storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract StorageResourceInner createOrUpdate(String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource)

Create or update storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.
storageResource - Parameters for the create or update operation.

Returns:

storage resource payload.

createOrUpdate

public abstract StorageResourceInner createOrUpdate(String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource, Context context)

Create or update storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.
storageResource - Parameters for the create or update operation.
context - The context to associate with this operation.

Returns:

storage resource payload.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource)

Create or update storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.
storageResource - Parameters for the create or update operation.

Returns:

storage resource payload on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource)

Create or update storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.
storageResource - Parameters for the create or update operation.

Returns:

storage resource payload along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String serviceName, String storageName)

Delete the storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.

delete

public abstract void delete(String resourceGroupName, String serviceName, String storageName, Context context)

Delete the storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String serviceName, String storageName)

Delete the storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String serviceName, String storageName)

Delete the storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract StorageResourceInner get(String resourceGroupName, String serviceName, String storageName)

Get the storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.

Returns:

the storage resource.

getAsync

public abstract Mono getAsync(String resourceGroupName, String serviceName, String storageName)

Get the storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.

Returns:

the storage resource on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String serviceName, String storageName, Context context)

Get the storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.
context - The context to associate with this operation.

Returns:

the storage resource along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String serviceName, String storageName)

Get the storage resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
storageName - The name of the storage resource.

Returns:

the storage resource along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String serviceName)

List all the storages of one Azure Spring Apps resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.

Returns:

collection compose of storage resources list and a possible link for next page as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String serviceName, Context context)

List all the storages of one Azure Spring Apps resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.
context - The context to associate with this operation.

Returns:

collection compose of storage resources list and a possible link for next page as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String serviceName)

List all the storages of one Azure Spring Apps resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceName - The name of the Service resource.

Returns:

collection compose of storage resources list and a possible link for next page as paginated response with PagedFlux<T>.

Applies to