IAccountOperations::RegenerateKeyAsync Method (String^, MediaServicesKeyType, CancellationToken)

 

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)

Namespace:   Microsoft.WindowsAzure.Management.MediaServices
Assembly:  Microsoft.WindowsAzure.Management.MediaServices (in Microsoft.WindowsAzure.Management.MediaServices.dll)

Task<AzureOperationResponse^>^ RegenerateKeyAsync(
	String^ accountName,
	MediaServicesKeyType keyType,
	CancellationToken cancellationToken
)

Parameters

accountName
Type: System::String^

The name of the Media Services Account.

keyType
Type: Microsoft.WindowsAzure.Management.MediaServices.Models::MediaServicesKeyType

The type of key to regenerate (primary or secondary)

cancellationToken
Type: System.Threading::CancellationToken

Cancellation token.

Return Value

Type: System.Threading.Tasks::Task<AzureOperationResponse^>^

A standard service response including an HTTP status code and request ID.

Return to top
Show: