DataSharesClient Interface

public interface DataSharesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<DataShareInner>,DataShareInner> beginCreate(String resourceGroupName, String accountName, String dataShareName, DataShareInner resource)

Create a Storage DataShare if it does not already exist; otherwise, error out.

abstract SyncPoller<PollResult<DataShareInner>,DataShareInner> beginCreate(String resourceGroupName, String accountName, String dataShareName, DataShareInner resource, Context context)

Create a Storage DataShare if it does not already exist; otherwise, error out.

abstract PollerFlux<PollResult<DataShareInner>,DataShareInner> beginCreateAsync(String resourceGroupName, String accountName, String dataShareName, DataShareInner resource)

Create a Storage DataShare if it does not already exist; otherwise, error out.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String dataShareName)

Delete a Storage DataShare.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String dataShareName, Context context)

Delete a Storage DataShare.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String accountName, String dataShareName)

Delete a Storage DataShare.

abstract SyncPoller<PollResult<DataShareInner>,DataShareInner> beginUpdate(String resourceGroupName, String accountName, String dataShareName, DataShareUpdate properties)

Update a Storage DataShare.

abstract SyncPoller<PollResult<DataShareInner>,DataShareInner> beginUpdate(String resourceGroupName, String accountName, String dataShareName, DataShareUpdate properties, Context context)

Update a Storage DataShare.

abstract PollerFlux<PollResult<DataShareInner>,DataShareInner> beginUpdateAsync(String resourceGroupName, String accountName, String dataShareName, DataShareUpdate properties)

Update a Storage DataShare.

abstract DataShareInner create(String resourceGroupName, String accountName, String dataShareName, DataShareInner resource)

Create a Storage DataShare if it does not already exist; otherwise, error out.

abstract DataShareInner create(String resourceGroupName, String accountName, String dataShareName, DataShareInner resource, Context context)

Create a Storage DataShare if it does not already exist; otherwise, error out.

abstract Mono<DataShareInner> createAsync(String resourceGroupName, String accountName, String dataShareName, DataShareInner resource)

Create a Storage DataShare if it does not already exist; otherwise, error out.

abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String accountName, String dataShareName, DataShareInner resource)

Create a Storage DataShare if it does not already exist; otherwise, error out.

abstract void delete(String resourceGroupName, String accountName, String dataShareName)

Delete a Storage DataShare.

abstract void delete(String resourceGroupName, String accountName, String dataShareName, Context context)

Delete a Storage DataShare.

abstract Mono<Void> deleteAsync(String resourceGroupName, String accountName, String dataShareName)

Delete a Storage DataShare.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String accountName, String dataShareName)

Delete a Storage DataShare.

abstract DataShareInner get(String resourceGroupName, String accountName, String dataShareName)

Get the specified Storage DataShare.

abstract Mono<DataShareInner> getAsync(String resourceGroupName, String accountName, String dataShareName)

Get the specified Storage DataShare.

abstract Response<DataShareInner> getWithResponse(String resourceGroupName, String accountName, String dataShareName, Context context)

Get the specified Storage DataShare.

abstract Mono<Response<DataShareInner>> getWithResponseAsync(String resourceGroupName, String accountName, String dataShareName)

Get the specified Storage DataShare.

abstract PagedIterable<DataShareInner> listByStorageAccount(String resourceGroupName, String accountName)

List all Storage DataShares in a Storage Account.

abstract PagedIterable<DataShareInner> listByStorageAccount(String resourceGroupName, String accountName, Context context)

List all Storage DataShares in a Storage Account.

abstract PagedFlux<DataShareInner> listByStorageAccountAsync(String resourceGroupName, String accountName)

List all Storage DataShares in a Storage Account.

abstract DataShareInner update(String resourceGroupName, String accountName, String dataShareName, DataShareUpdate properties)

Update a Storage DataShare.

abstract DataShareInner update(String resourceGroupName, String accountName, String dataShareName, DataShareUpdate properties, Context context)

Update a Storage DataShare.

abstract Mono<DataShareInner> updateAsync(String resourceGroupName, String accountName, String dataShareName, DataShareUpdate properties)

Update a Storage DataShare.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String accountName, String dataShareName, DataShareUpdate properties)

Update a Storage DataShare.

Method Details

beginCreate

public abstract SyncPoller<PollResult<DataShareInner>,DataShareInner> beginCreate(String resourceGroupName, String accountName, String dataShareName, DataShareInner resource)

Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
resource - Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.

Returns:

the SyncPoller<T,U> for polling of a DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.

beginCreate

public abstract SyncPoller<PollResult<DataShareInner>,DataShareInner> beginCreate(String resourceGroupName, String accountName, String dataShareName, DataShareInner resource, Context context)

Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
resource - Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.

beginCreateAsync

public abstract PollerFlux<PollResult<DataShareInner>,DataShareInner> beginCreateAsync(String resourceGroupName, String accountName, String dataShareName, DataShareInner resource)

Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
resource - Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.

Returns:

the PollerFlux<T,U> for polling of a DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String dataShareName)

Delete a Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.

Returns:

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

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String dataShareName, Context context)

Delete a Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
context - The context to associate with this operation.

Returns:

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

beginDeleteAsync

public abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String accountName, String dataShareName)

Delete a Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.

Returns:

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

beginUpdate

public abstract SyncPoller<PollResult<DataShareInner>,DataShareInner> beginUpdate(String resourceGroupName, String accountName, String dataShareName, DataShareUpdate properties)

Update a Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
properties - The updated properties of the Storage DataShare.

Returns:

the SyncPoller<T,U> for polling of a DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.

beginUpdate

public abstract SyncPoller<PollResult<DataShareInner>,DataShareInner> beginUpdate(String resourceGroupName, String accountName, String dataShareName, DataShareUpdate properties, Context context)

Update a Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
properties - The updated properties of the Storage DataShare.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.

beginUpdateAsync

public abstract PollerFlux<PollResult<DataShareInner>,DataShareInner> beginUpdateAsync(String resourceGroupName, String accountName, String dataShareName, DataShareUpdate properties)

Update a Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
properties - The updated properties of the Storage DataShare.

Returns:

the PollerFlux<T,U> for polling of a DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.

create

public abstract DataShareInner create(String resourceGroupName, String accountName, String dataShareName, DataShareInner resource)

Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
resource - Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.

Returns:

a DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.

create

public abstract DataShareInner create(String resourceGroupName, String accountName, String dataShareName, DataShareInner resource, Context context)

Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
resource - Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.
context - The context to associate with this operation.

Returns:

a DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.

createAsync

public abstract Mono<DataShareInner> createAsync(String resourceGroupName, String accountName, String dataShareName, DataShareInner resource)

Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
resource - Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.

Returns:

a DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account on successful completion of Mono.

createWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String accountName, String dataShareName, DataShareInner resource)

Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
resource - Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.

Returns:

a DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String accountName, String dataShareName)

Delete a Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.

delete

public abstract void delete(String resourceGroupName, String accountName, String dataShareName, Context context)

Delete a Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
context - The context to associate with this operation.

deleteAsync

public abstract Mono<Void> deleteAsync(String resourceGroupName, String accountName, String dataShareName)

Delete a Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String accountName, String dataShareName)

Delete a Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract DataShareInner get(String resourceGroupName, String accountName, String dataShareName)

Get the specified Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.

Returns:

the specified Storage DataShare.

getAsync

public abstract Mono<DataShareInner> getAsync(String resourceGroupName, String accountName, String dataShareName)

Get the specified Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.

Returns:

the specified Storage DataShare on successful completion of Mono.

getWithResponse

public abstract Response<DataShareInner> getWithResponse(String resourceGroupName, String accountName, String dataShareName, Context context)

Get the specified Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
context - The context to associate with this operation.

Returns:

the specified Storage DataShare along with Response<T>.

getWithResponseAsync

public abstract Mono<Response<DataShareInner>> getWithResponseAsync(String resourceGroupName, String accountName, String dataShareName)

Get the specified Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.

Returns:

the specified Storage DataShare along with Response<T> on successful completion of Mono.

listByStorageAccount

public abstract PagedIterable<DataShareInner> listByStorageAccount(String resourceGroupName, String accountName)

List all Storage DataShares in a Storage Account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

Returns:

the response of a DataShare list operation as paginated response with PagedIterable<T>.

listByStorageAccount

public abstract PagedIterable<DataShareInner> listByStorageAccount(String resourceGroupName, String accountName, Context context)

List all Storage DataShares in a Storage Account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
context - The context to associate with this operation.

Returns:

the response of a DataShare list operation as paginated response with PagedIterable<T>.

listByStorageAccountAsync

public abstract PagedFlux<DataShareInner> listByStorageAccountAsync(String resourceGroupName, String accountName)

List all Storage DataShares in a Storage Account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

Returns:

the response of a DataShare list operation as paginated response with PagedFlux<T>.

update

public abstract DataShareInner update(String resourceGroupName, String accountName, String dataShareName, DataShareUpdate properties)

Update a Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
properties - The updated properties of the Storage DataShare.

Returns:

a DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.

update

public abstract DataShareInner update(String resourceGroupName, String accountName, String dataShareName, DataShareUpdate properties, Context context)

Update a Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
properties - The updated properties of the Storage DataShare.
context - The context to associate with this operation.

Returns:

a DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.

updateAsync

public abstract Mono<DataShareInner> updateAsync(String resourceGroupName, String accountName, String dataShareName, DataShareUpdate properties)

Update a Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
properties - The updated properties of the Storage DataShare.

Returns:

a DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account on successful completion of Mono.

updateWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String accountName, String dataShareName, DataShareUpdate properties)

Update a Storage DataShare.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
dataShareName - The name of the Storage DataShare.
properties - The updated properties of the Storage DataShare.

Returns:

a DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account along with Response<T> on successful completion of Mono.

Applies to