/// <summary>
 /// Lists all the encryption scopes available under the specified storage
 /// account.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group within the user's subscription. The name is
 /// case insensitive.
 /// </param>
 /// <param name='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.
 /// </param>
 public static IPage <EncryptionScope> List(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName)
 {
     return(operations.ListAsync(resourceGroupName, accountName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Lists all the encryption scopes available under the specified storage
 /// account.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 public static IPage <EncryptionScope> ListNext(this IEncryptionScopesOperations operations, string nextPageLink)
 {
     return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Update encryption scope properties as specified in the request body. Update
 /// fails if the specified encryption scope does not already exist.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group within the user's subscription. The name is
 /// case insensitive.
 /// </param>
 /// <param name='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.
 /// </param>
 /// <param name='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.
 /// </param>
 /// <param name='encryptionScope'>
 /// Encryption scope properties to be used for the update.
 /// </param>
 public static EncryptionScope Patch(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope)
 {
     return(operations.PatchAsync(resourceGroupName, accountName, encryptionScopeName, encryptionScope).GetAwaiter().GetResult());
 }