ObjectReplicationPoliciesOperationsClient Interface

public interface ObjectReplicationPoliciesOperationsClient

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

Method Summary

Modifier and Type Method and Description
abstract ObjectReplicationPolicyInner createOrUpdate(String resourceGroupName, String accountName, String objectReplicationPolicyId, ObjectReplicationPolicyInner properties)

Create or update the object replication policy of the storage account.

abstract Mono<ObjectReplicationPolicyInner> createOrUpdateAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId, ObjectReplicationPolicyInner properties)

Create or update the object replication policy of the storage account.

abstract Response<ObjectReplicationPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, String objectReplicationPolicyId, ObjectReplicationPolicyInner properties, Context context)

Create or update the object replication policy of the storage account.

abstract Mono<Response<ObjectReplicationPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId, ObjectReplicationPolicyInner properties)

Create or update the object replication policy of the storage account.

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

Deletes the object replication policy associated with the specified storage account.

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

Deletes the object replication policy associated with the specified storage account.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String objectReplicationPolicyId, Context context)

Deletes the object replication policy associated with the specified storage account.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId)

Deletes the object replication policy associated with the specified storage account.

abstract ObjectReplicationPolicyInner get(String resourceGroupName, String accountName, String objectReplicationPolicyId)

Get the object replication policy of the storage account by policy ID.

abstract Mono<ObjectReplicationPolicyInner> getAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId)

Get the object replication policy of the storage account by policy ID.

abstract Response<ObjectReplicationPolicyInner> getWithResponse(String resourceGroupName, String accountName, String objectReplicationPolicyId, Context context)

Get the object replication policy of the storage account by policy ID.

abstract Mono<Response<ObjectReplicationPolicyInner>> getWithResponseAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId)

Get the object replication policy of the storage account by policy ID.

abstract PagedIterable<ObjectReplicationPolicyInner> list(String resourceGroupName, String accountName)

List the object replication policies associated with the storage account.

abstract PagedIterable<ObjectReplicationPolicyInner> list(String resourceGroupName, String accountName, Context context)

List the object replication policies associated with the storage account.

abstract PagedFlux<ObjectReplicationPolicyInner> listAsync(String resourceGroupName, String accountName)

List the object replication policies associated with the storage account.

Method Details

createOrUpdate

public abstract ObjectReplicationPolicyInner createOrUpdate(String resourceGroupName, String accountName, String objectReplicationPolicyId, ObjectReplicationPolicyInner properties)

Create or update the object replication policy of the storage account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. 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.
objectReplicationPolicyId - For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.
properties - The object replication policy set to a storage account. A unique policy ID will be created if absent.

Returns:

the replication policy between two storage accounts.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId, ObjectReplicationPolicyInner properties)

Create or update the object replication policy of the storage account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. 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.
objectReplicationPolicyId - For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.
properties - The object replication policy set to a storage account. A unique policy ID will be created if absent.

Returns:

the replication policy between two storage accounts on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String accountName, String objectReplicationPolicyId, ObjectReplicationPolicyInner properties, Context context)

Create or update the object replication policy of the storage account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. 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.
objectReplicationPolicyId - For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.
properties - The object replication policy set to a storage account. A unique policy ID will be created if absent.
context - The context to associate with this operation.

Returns:

the replication policy between two storage accounts along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId, ObjectReplicationPolicyInner properties)

Create or update the object replication policy of the storage account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. 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.
objectReplicationPolicyId - For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.
properties - The object replication policy set to a storage account. A unique policy ID will be created if absent.

Returns:

the replication policy between two storage accounts along with Response<T> on successful completion of Mono.

delete

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

Deletes the object replication policy associated with the specified storage account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. 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.
objectReplicationPolicyId - For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId)

Deletes the object replication policy associated with the specified storage account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. 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.
objectReplicationPolicyId - For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String accountName, String objectReplicationPolicyId, Context context)

Deletes the object replication policy associated with the specified storage account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. 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.
objectReplicationPolicyId - For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId)

Deletes the object replication policy associated with the specified storage account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. 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.
objectReplicationPolicyId - For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract ObjectReplicationPolicyInner get(String resourceGroupName, String accountName, String objectReplicationPolicyId)

Get the object replication policy of the storage account by policy ID.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. 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.
objectReplicationPolicyId - For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.

Returns:

the object replication policy of the storage account by policy ID.

getAsync

public abstract Mono getAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId)

Get the object replication policy of the storage account by policy ID.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. 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.
objectReplicationPolicyId - For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.

Returns:

the object replication policy of the storage account by policy ID on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String accountName, String objectReplicationPolicyId, Context context)

Get the object replication policy of the storage account by policy ID.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. 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.
objectReplicationPolicyId - For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.
context - The context to associate with this operation.

Returns:

the object replication policy of the storage account by policy ID along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId)

Get the object replication policy of the storage account by policy ID.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. 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.
objectReplicationPolicyId - For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.

Returns:

the object replication policy of the storage account by policy ID along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String accountName)

List the object replication policies associated with the storage account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. 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:

list storage account object replication policies as paginated response with PagedIterable<T>.

list

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

List the object replication policies associated with the storage account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. 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:

list storage account object replication policies as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String accountName)

List the object replication policies associated with the storage account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. 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:

list storage account object replication policies as paginated response with PagedFlux<T>.

Applies to