KeyVaultClientExtensions.UpdateSasDefinitionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission.
public static System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.SasDefinitionBundle> UpdateSasDefinitionAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string vaultBaseUrl, string storageAccountName, string sasDefinitionName, string templateUri = default, string sasType = default, string validityPeriod = default, Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes sasDefinitionAttributes = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateSasDefinitionAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * string * string * string * string * string * Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.SasDefinitionBundle>
<Extension()>
Public Function UpdateSasDefinitionAsync (operations As IKeyVaultClient, vaultBaseUrl As String, storageAccountName As String, sasDefinitionName As String, Optional templateUri As String = Nothing, Optional sasType As String = Nothing, Optional validityPeriod As String = Nothing, Optional sasDefinitionAttributes As SasDefinitionAttributes = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SasDefinitionBundle)
Parameters
- operations
- IKeyVaultClient
The operations group for this extension method.
- vaultBaseUrl
- String
The vault name, for example https://myvault.vault.azure.net.
- storageAccountName
- String
The name of the storage account.
- sasDefinitionName
- String
The name of the SAS definition.
- templateUri
- String
The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.
- sasType
- String
The type of SAS token the SAS definition will create. Possible values include: 'account', 'service'
- validityPeriod
- String
The validity period of SAS tokens created according to the SAS definition.
- sasDefinitionAttributes
- SasDefinitionAttributes
The attributes of the SAS definition.
- tags
- IDictionary<String,String>
Application specific metadata in the form of key-value pairs.
- cancellationToken
- CancellationToken
The cancellation token.