EncryptionScopesOperations.GetAsync(String, String, String, CancellationToken) Method

Definition

Returns the properties for the specified encryption scope.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.Models.EncryptionScope>> GetAsync (string resourceGroupName, string accountName, string encryptionScopeName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.Models.EncryptionScope>>
override this.GetAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.Models.EncryptionScope>>
Public Overridable Function GetAsync (resourceGroupName As String, accountName As String, encryptionScopeName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EncryptionScope))

Parameters

resourceGroupName
System.String

The name of the resource group within the user's subscription. The name is case insensitive.

accountName
System.String

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
System.String

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.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response<EncryptionScope>>

Applies to