ManagementPoliciesClient Interface

public interface ManagementPoliciesClient

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

Method Summary

Modifier and Type Method and Description
abstract ManagementPolicyInner createOrUpdate(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName, ManagementPolicyInner properties)

Sets the managementpolicy to the specified storage account.

abstract Mono<ManagementPolicyInner> createOrUpdateAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName, ManagementPolicyInner properties)

Sets the managementpolicy to the specified storage account.

abstract Response<ManagementPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName, ManagementPolicyInner properties, Context context)

Sets the managementpolicy to the specified storage account.

abstract Mono<Response<ManagementPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName, ManagementPolicyInner properties)

Sets the managementpolicy to the specified storage account.

abstract void delete(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName)

Deletes the managementpolicy associated with the specified storage account.

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

Deletes the managementpolicy associated with the specified storage account.

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

Deletes the managementpolicy associated with the specified storage account.

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

Deletes the managementpolicy associated with the specified storage account.

abstract ManagementPolicyInner get(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName)

Gets the managementpolicy associated with the specified storage account.

abstract Mono<ManagementPolicyInner> getAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName)

Gets the managementpolicy associated with the specified storage account.

abstract Response<ManagementPolicyInner> getWithResponse(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName, Context context)

Gets the managementpolicy associated with the specified storage account.

abstract Mono<Response<ManagementPolicyInner>> getWithResponseAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName)

Gets the managementpolicy associated with the specified storage account.

Method Details

createOrUpdate

public abstract ManagementPolicyInner createOrUpdate(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName, ManagementPolicyInner properties)

Sets the managementpolicy to 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.
managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.
properties - The ManagementPolicy set to a storage account.

Returns:

the Get Storage Account ManagementPolicies operation response.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName, ManagementPolicyInner properties)

Sets the managementpolicy to 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.
managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.
properties - The ManagementPolicy set to a storage account.

Returns:

the Get Storage Account ManagementPolicies operation response on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName, ManagementPolicyInner properties, Context context)

Sets the managementpolicy to 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.
managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.
properties - The ManagementPolicy set to a storage account.
context - The context to associate with this operation.

Returns:

the Get Storage Account ManagementPolicies operation response along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName, ManagementPolicyInner properties)

Sets the managementpolicy to 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.
managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.
properties - The ManagementPolicy set to a storage account.

Returns:

the Get Storage Account ManagementPolicies operation response along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName)

Deletes the managementpolicy 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.
managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName)

Deletes the managementpolicy 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.
managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

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

Deletes the managementpolicy 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.
managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName)

Deletes the managementpolicy 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.
managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract ManagementPolicyInner get(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName)

Gets the managementpolicy 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.
managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.

Returns:

the managementpolicy associated with the specified storage account.

getAsync

public abstract Mono getAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName)

Gets the managementpolicy 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.
managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.

Returns:

the managementpolicy associated with the specified storage account on successful completion of Mono.

getWithResponse

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

Gets the managementpolicy 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.
managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.
context - The context to associate with this operation.

Returns:

the managementpolicy associated with the specified storage account along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName)

Gets the managementpolicy 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.
managementPolicyName - The name of the Storage Account Management Policy. It should always be 'default'.

Returns:

the managementpolicy associated with the specified storage account along with Response<T> on successful completion of Mono.

Applies to