public interface ManagementPoliciesClient
| Modifier and Type | Method and Description |
|---|---|
ManagementPolicyInner |
createOrUpdate(String resourceGroupName,
String accountName,
ManagementPolicyName managementPolicyName)
Sets the managementpolicy to the specified storage account.
|
Mono<ManagementPolicyInner> |
createOrUpdateAsync(String resourceGroupName,
String accountName,
ManagementPolicyName managementPolicyName)
Sets the managementpolicy to the specified storage account.
|
Mono<ManagementPolicyInner> |
createOrUpdateAsync(String resourceGroupName,
String accountName,
ManagementPolicyName managementPolicyName,
ManagementPolicySchema policy)
Sets the managementpolicy to the specified storage account.
|
com.azure.core.http.rest.Response<ManagementPolicyInner> |
createOrUpdateWithResponse(String resourceGroupName,
String accountName,
ManagementPolicyName managementPolicyName,
ManagementPolicySchema policy,
com.azure.core.util.Context context)
Sets the managementpolicy to the specified storage account.
|
Mono<com.azure.core.http.rest.Response<ManagementPolicyInner>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String accountName,
ManagementPolicyName managementPolicyName,
ManagementPolicySchema policy)
Sets the managementpolicy to the specified storage account.
|
void |
delete(String resourceGroupName,
String accountName,
ManagementPolicyName managementPolicyName)
Deletes the managementpolicy associated with the specified storage account.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String accountName,
ManagementPolicyName managementPolicyName)
Deletes the managementpolicy associated with the specified storage account.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String accountName,
ManagementPolicyName managementPolicyName,
com.azure.core.util.Context context)
Deletes the managementpolicy associated with the specified storage account.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteWithResponseAsync(String resourceGroupName,
String accountName,
ManagementPolicyName managementPolicyName)
Deletes the managementpolicy associated with the specified storage account.
|
ManagementPolicyInner |
get(String resourceGroupName,
String accountName,
ManagementPolicyName managementPolicyName)
Gets the managementpolicy associated with the specified storage account.
|
Mono<ManagementPolicyInner> |
getAsync(String resourceGroupName,
String accountName,
ManagementPolicyName managementPolicyName)
Gets the managementpolicy associated with the specified storage account.
|
com.azure.core.http.rest.Response<ManagementPolicyInner> |
getWithResponse(String resourceGroupName,
String accountName,
ManagementPolicyName managementPolicyName,
com.azure.core.util.Context context)
Gets the managementpolicy associated with the specified storage account.
|
Mono<com.azure.core.http.rest.Response<ManagementPolicyInner>> |
getWithResponseAsync(String resourceGroupName,
String accountName,
ManagementPolicyName managementPolicyName)
Gets the managementpolicy associated with the specified storage account.
|
Mono<com.azure.core.http.rest.Response<ManagementPolicyInner>> getWithResponseAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName)
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.managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.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<ManagementPolicyInner> getAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName)
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.managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.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.ManagementPolicyInner get(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName)
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.managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.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<ManagementPolicyInner> getWithResponse(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName, 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.managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.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<ManagementPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName, ManagementPolicySchema policy)
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.managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.policy - The Storage Account ManagementPolicy, in JSON format. See more details in:
https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.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<ManagementPolicyInner> createOrUpdateAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName, ManagementPolicySchema policy)
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.managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.policy - The Storage Account ManagementPolicy, in JSON format. See more details in:
https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.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<ManagementPolicyInner> createOrUpdateAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName)
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.managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.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.ManagementPolicyInner createOrUpdate(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName)
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.managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.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<ManagementPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName, ManagementPolicySchema policy, 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.managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.policy - The Storage Account ManagementPolicy, in JSON format. See more details in:
https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.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, ManagementPolicyName managementPolicyName)
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.managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.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, ManagementPolicyName managementPolicyName)
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.managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.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, ManagementPolicyName managementPolicyName)
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.managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.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, ManagementPolicyName managementPolicyName, 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.managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.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.