Partilhar via


EncryptionScopesClient Interface

public interface EncryptionScopesClient

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

Method Summary

Modifier and Type Method and Description
abstract EncryptionScopeInner get(String resourceGroupName, String accountName, String encryptionScopeName)

Returns the properties for the specified encryption scope.

abstract Mono<EncryptionScopeInner> getAsync(String resourceGroupName, String accountName, String encryptionScopeName)

Returns the properties for the specified encryption scope.

abstract Response<EncryptionScopeInner> getWithResponse(String resourceGroupName, String accountName, String encryptionScopeName, Context context)

Returns the properties for the specified encryption scope.

abstract Mono<Response<EncryptionScopeInner>> getWithResponseAsync(String resourceGroupName, String accountName, String encryptionScopeName)

Returns the properties for the specified encryption scope.

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

Lists all the encryption scopes available under the specified storage account.

abstract PagedIterable<EncryptionScopeInner> list(String resourceGroupName, String accountName, Integer maxpagesize, String filter, ListEncryptionScopesInclude include, Context context)

Lists all the encryption scopes available under the specified storage account.

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

Lists all the encryption scopes available under the specified storage account.

abstract PagedFlux<EncryptionScopeInner> listAsync(String resourceGroupName, String accountName, Integer maxpagesize, String filter, ListEncryptionScopesInclude include)

Lists all the encryption scopes available under the specified storage account.

abstract EncryptionScopeInner patch(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope)

Update encryption scope properties as specified in the request body.

abstract Mono<EncryptionScopeInner> patchAsync(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope)

Update encryption scope properties as specified in the request body.

abstract Response<EncryptionScopeInner> patchWithResponse(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope, Context context)

Update encryption scope properties as specified in the request body.

abstract Mono<Response<EncryptionScopeInner>> patchWithResponseAsync(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope)

Update encryption scope properties as specified in the request body.

abstract EncryptionScopeInner put(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope)

Synchronously creates or updates an encryption scope under the specified storage account.

abstract Mono<EncryptionScopeInner> putAsync(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope)

Synchronously creates or updates an encryption scope under the specified storage account.

abstract Response<EncryptionScopeInner> putWithResponse(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope, Context context)

Synchronously creates or updates an encryption scope under the specified storage account.

abstract Mono<Response<EncryptionScopeInner>> putWithResponseAsync(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope)

Synchronously creates or updates an encryption scope under the specified storage account.

Method Details

get

public abstract EncryptionScopeInner get(String resourceGroupName, String accountName, String encryptionScopeName)

Returns the properties for the specified encryption scope.

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.
encryptionScopeName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

the Encryption Scope resource.

getAsync

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

Returns the properties for the specified encryption scope.

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.
encryptionScopeName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

the Encryption Scope resource on successful completion of Mono.

getWithResponse

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

Returns the properties for the specified encryption scope.

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.
encryptionScopeName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
context - The context to associate with this operation.

Returns:

the Encryption Scope resource along with Response<T>.

getWithResponseAsync

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

Returns the properties for the specified encryption scope.

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.
encryptionScopeName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

the Encryption Scope resource along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String accountName)

Lists all the encryption scopes available under 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.

Returns:

list of encryption scopes requested, and if paging is required, a URL to the next page of encryption scopes as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String accountName, Integer maxpagesize, String filter, ListEncryptionScopesInclude include, Context context)

Lists all the encryption scopes available under 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.
maxpagesize - Optional, specifies the maximum number of encryption scopes that will be included in the list response.
filter - Optional. When specified, only encryption scope names starting with the filter will be listed.
include - Optional, when specified, will list encryption scopes with the specific state. Defaults to All.
context - The context to associate with this operation.

Returns:

list of encryption scopes requested, and if paging is required, a URL to the next page of encryption scopes as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String accountName)

Lists all the encryption scopes available under 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.

Returns:

list of encryption scopes requested, and if paging is required, a URL to the next page of encryption scopes as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String accountName, Integer maxpagesize, String filter, ListEncryptionScopesInclude include)

Lists all the encryption scopes available under 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.
maxpagesize - Optional, specifies the maximum number of encryption scopes that will be included in the list response.
filter - Optional. When specified, only encryption scope names starting with the filter will be listed.
include - Optional, when specified, will list encryption scopes with the specific state. Defaults to All.

Returns:

list of encryption scopes requested, and if paging is required, a URL to the next page of encryption scopes as paginated response with PagedFlux<T>.

patch

public abstract EncryptionScopeInner patch(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope)

Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.

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.
encryptionScopeName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
encryptionScope - Encryption scope properties to be used for the update.

Returns:

the Encryption Scope resource.

patchAsync

public abstract Mono patchAsync(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope)

Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.

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.
encryptionScopeName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
encryptionScope - Encryption scope properties to be used for the update.

Returns:

the Encryption Scope resource on successful completion of Mono.

patchWithResponse

public abstract Response patchWithResponse(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope, Context context)

Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.

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.
encryptionScopeName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
encryptionScope - Encryption scope properties to be used for the update.
context - The context to associate with this operation.

Returns:

the Encryption Scope resource along with Response<T>.

patchWithResponseAsync

public abstract Mono> patchWithResponseAsync(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope)

Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.

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.
encryptionScopeName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
encryptionScope - Encryption scope properties to be used for the update.

Returns:

the Encryption Scope resource along with Response<T> on successful completion of Mono.

put

public abstract EncryptionScopeInner put(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope)

Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.

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.
encryptionScopeName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
encryptionScope - Encryption scope properties to be used for the create or update.

Returns:

the Encryption Scope resource.

putAsync

public abstract Mono putAsync(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope)

Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.

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.
encryptionScopeName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
encryptionScope - Encryption scope properties to be used for the create or update.

Returns:

the Encryption Scope resource on successful completion of Mono.

putWithResponse

public abstract Response putWithResponse(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope, Context context)

Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.

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.
encryptionScopeName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
encryptionScope - Encryption scope properties to be used for the create or update.
context - The context to associate with this operation.

Returns:

the Encryption Scope resource along with Response<T>.

putWithResponseAsync

public abstract Mono> putWithResponseAsync(String resourceGroupName, String accountName, String encryptionScopeName, EncryptionScopeInner encryptionScope)

Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.

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.
encryptionScopeName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
encryptionScope - Encryption scope properties to be used for the create or update.

Returns:

the Encryption Scope resource along with Response<T> on successful completion of Mono.

Applies to