IAccountOperations.RegenerateKeyAsync 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.
The Regenerate Media Services Account Key operation regenerates an account key for the given Media Services account in Windows Azure. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn167010.aspx for more information)
public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> RegenerateKeyAsync (string accountName, Microsoft.WindowsAzure.Management.MediaServices.Models.MediaServicesKeyType keyType, System.Threading.CancellationToken cancellationToken);
abstract member RegenerateKeyAsync : string * Microsoft.WindowsAzure.Management.MediaServices.Models.MediaServicesKeyType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function RegenerateKeyAsync (accountName As String, keyType As MediaServicesKeyType, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)
Parameters
- accountName
- String
The name of the Media Services Account.
- keyType
- MediaServicesKeyType
The type of key to regenerate (primary or secondary)
- cancellationToken
- CancellationToken
Cancellation token.
Returns
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET