public interface ObjectReplicationPoliciesOperationsClient
| Modifier and Type | Method and Description |
|---|---|
ObjectReplicationPolicyInner |
createOrUpdate(String resourceGroupName,
String accountName,
String objectReplicationPolicyId,
ObjectReplicationPolicyInner properties)
Create or update the object replication policy of the storage account.
|
Mono<ObjectReplicationPolicyInner> |
createOrUpdateAsync(String resourceGroupName,
String accountName,
String objectReplicationPolicyId,
ObjectReplicationPolicyInner properties)
Create or update the object replication policy of the storage account.
|
com.azure.core.http.rest.Response<ObjectReplicationPolicyInner> |
createOrUpdateWithResponse(String resourceGroupName,
String accountName,
String objectReplicationPolicyId,
ObjectReplicationPolicyInner properties,
com.azure.core.util.Context context)
Create or update the object replication policy of the storage account.
|
Mono<com.azure.core.http.rest.Response<ObjectReplicationPolicyInner>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String accountName,
String objectReplicationPolicyId,
ObjectReplicationPolicyInner properties)
Create or update the object replication policy of the storage account.
|
void |
delete(String resourceGroupName,
String accountName,
String objectReplicationPolicyId)
Deletes the object replication policy associated with the specified storage account.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String accountName,
String objectReplicationPolicyId)
Deletes the object replication policy associated with the specified storage account.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String accountName,
String objectReplicationPolicyId,
com.azure.core.util.Context context)
Deletes the object replication policy associated with the specified storage account.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteWithResponseAsync(String resourceGroupName,
String accountName,
String objectReplicationPolicyId)
Deletes the object replication policy associated with the specified storage account.
|
ObjectReplicationPolicyInner |
get(String resourceGroupName,
String accountName,
String objectReplicationPolicyId)
Get the object replication policy of the storage account by policy ID.
|
Mono<ObjectReplicationPolicyInner> |
getAsync(String resourceGroupName,
String accountName,
String objectReplicationPolicyId)
Get the object replication policy of the storage account by policy ID.
|
com.azure.core.http.rest.Response<ObjectReplicationPolicyInner> |
getWithResponse(String resourceGroupName,
String accountName,
String objectReplicationPolicyId,
com.azure.core.util.Context context)
Get the object replication policy of the storage account by policy ID.
|
Mono<com.azure.core.http.rest.Response<ObjectReplicationPolicyInner>> |
getWithResponseAsync(String resourceGroupName,
String accountName,
String objectReplicationPolicyId)
Get the object replication policy of the storage account by policy ID.
|
com.azure.core.http.rest.PagedIterable<ObjectReplicationPolicyInner> |
list(String resourceGroupName,
String accountName)
List the object replication policies associated with the storage account.
|
com.azure.core.http.rest.PagedIterable<ObjectReplicationPolicyInner> |
list(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
List the object replication policies associated with the storage account.
|
com.azure.core.http.rest.PagedFlux<ObjectReplicationPolicyInner> |
listAsync(String resourceGroupName,
String accountName)
List the object replication policies associated with the storage account.
|
com.azure.core.http.rest.PagedFlux<ObjectReplicationPolicyInner> listAsync(String resourceGroupName, String accountName)
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.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.com.azure.core.http.rest.PagedIterable<ObjectReplicationPolicyInner> list(String resourceGroupName, String accountName)
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.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.com.azure.core.http.rest.PagedIterable<ObjectReplicationPolicyInner> list(String resourceGroupName, String accountName, com.azure.core.util.Context context)
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.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.Mono<com.azure.core.http.rest.Response<ObjectReplicationPolicyInner>> getWithResponseAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId)
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 - The ID of object replication policy or 'default' if the policy ID is unknown.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.Mono<ObjectReplicationPolicyInner> getAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId)
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 - The ID of object replication policy or 'default' if the policy ID is unknown.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.ObjectReplicationPolicyInner get(String resourceGroupName, String accountName, String objectReplicationPolicyId)
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 - The ID of object replication policy or 'default' if the policy ID is unknown.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.com.azure.core.http.rest.Response<ObjectReplicationPolicyInner> getWithResponse(String resourceGroupName, String accountName, String objectReplicationPolicyId, com.azure.core.util.Context context)
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 - The ID of object replication policy or 'default' if the policy ID is unknown.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<ObjectReplicationPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId, ObjectReplicationPolicyInner properties)
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 - The ID of object replication policy or 'default' if the policy ID is unknown.properties - The object replication policy set to a storage account. A unique policy ID will be created if
absent.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.Mono<ObjectReplicationPolicyInner> createOrUpdateAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId, ObjectReplicationPolicyInner properties)
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 - The ID of object replication policy or 'default' if the policy ID is unknown.properties - The object replication policy set to a storage account. A unique policy ID will be created if
absent.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.ObjectReplicationPolicyInner createOrUpdate(String resourceGroupName, String accountName, String objectReplicationPolicyId, ObjectReplicationPolicyInner properties)
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 - The ID of object replication policy or 'default' if the policy ID is unknown.properties - The object replication policy set to a storage account. A unique policy ID will be created if
absent.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.com.azure.core.http.rest.Response<ObjectReplicationPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, String objectReplicationPolicyId, ObjectReplicationPolicyInner properties, com.azure.core.util.Context context)
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 - The ID of object replication policy or 'default' if the policy ID is unknown.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.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.Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId)
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 - The ID of object replication policy or 'default' if the policy ID is unknown.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.Mono<Void> deleteAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId)
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 - The ID of object replication policy or 'default' if the policy ID is unknown.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.void delete(String resourceGroupName, String accountName, String objectReplicationPolicyId)
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 - The ID of object replication policy or 'default' if the policy ID is unknown.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String objectReplicationPolicyId, com.azure.core.util.Context context)
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 - The ID of object replication policy or 'default' if the policy ID is unknown.context - The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.