Storages interface

Interface representing a Storages.

Methods

beginCreateOrUpdate(string, string, string, StorageResource, StoragesCreateOrUpdateOptionalParams)

Create or update storage resource.

beginCreateOrUpdateAndWait(string, string, string, StorageResource, StoragesCreateOrUpdateOptionalParams)

Create or update storage resource.

beginDelete(string, string, string, StoragesDeleteOptionalParams)

Delete the storage resource.

beginDeleteAndWait(string, string, string, StoragesDeleteOptionalParams)

Delete the storage resource.

get(string, string, string, StoragesGetOptionalParams)

Get the storage resource.

list(string, string, StoragesListOptionalParams)

List all the storages of one Azure Spring Apps resource.

Method Details

beginCreateOrUpdate(string, string, string, StorageResource, StoragesCreateOrUpdateOptionalParams)

Create or update storage resource.

function beginCreateOrUpdate(resourceGroupName: string, serviceName: string, storageName: string, storageResource: StorageResource, options?: StoragesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<StorageResource>, StorageResource>>

Parameters

resourceGroupName

string

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

string

The name of the Service resource.

storageName

string

The name of the storage resource.

storageResource
StorageResource

Parameters for the create or update operation

options
StoragesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<StorageResource>, StorageResource>>

beginCreateOrUpdateAndWait(string, string, string, StorageResource, StoragesCreateOrUpdateOptionalParams)

Create or update storage resource.

function beginCreateOrUpdateAndWait(resourceGroupName: string, serviceName: string, storageName: string, storageResource: StorageResource, options?: StoragesCreateOrUpdateOptionalParams): Promise<StorageResource>

Parameters

resourceGroupName

string

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

string

The name of the Service resource.

storageName

string

The name of the storage resource.

storageResource
StorageResource

Parameters for the create or update operation

options
StoragesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<StorageResource>

beginDelete(string, string, string, StoragesDeleteOptionalParams)

Delete the storage resource.

function beginDelete(resourceGroupName: string, serviceName: string, storageName: string, options?: StoragesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

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

string

The name of the Service resource.

storageName

string

The name of the storage resource.

options
StoragesDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, StoragesDeleteOptionalParams)

Delete the storage resource.

function beginDeleteAndWait(resourceGroupName: string, serviceName: string, storageName: string, options?: StoragesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

string

The name of the Service resource.

storageName

string

The name of the storage resource.

options
StoragesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, StoragesGetOptionalParams)

Get the storage resource.

function get(resourceGroupName: string, serviceName: string, storageName: string, options?: StoragesGetOptionalParams): Promise<StorageResource>

Parameters

resourceGroupName

string

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

string

The name of the Service resource.

storageName

string

The name of the storage resource.

options
StoragesGetOptionalParams

The options parameters.

Returns

Promise<StorageResource>

list(string, string, StoragesListOptionalParams)

List all the storages of one Azure Spring Apps resource.

function list(resourceGroupName: string, serviceName: string, options?: StoragesListOptionalParams): PagedAsyncIterableIterator<StorageResource, StorageResource[], PageSettings>

Parameters

resourceGroupName

string

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

string

The name of the Service resource.

options
StoragesListOptionalParams

The options parameters.

Returns