Udostępnij za pośrednictwem


AccountOperationsExtensions.RegenerateKey Method

Definition

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 static Microsoft.Azure.AzureOperationResponse RegenerateKey (this Microsoft.WindowsAzure.Management.MediaServices.IAccountOperations operations, string accountName, Microsoft.WindowsAzure.Management.MediaServices.Models.MediaServicesKeyType keyType);
static member RegenerateKey : Microsoft.WindowsAzure.Management.MediaServices.IAccountOperations * string * Microsoft.WindowsAzure.Management.MediaServices.Models.MediaServicesKeyType -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function RegenerateKey (operations As IAccountOperations, accountName As String, keyType As MediaServicesKeyType) As AzureOperationResponse

Parameters

operations
IAccountOperations

Reference to the Microsoft.WindowsAzure.Management.MediaServices.IAccountOperations.

accountName
String

Required. The name of the Media Services Account.

keyType
MediaServicesKeyType

Required. The type of key to regenerate (primary or secondary)

Returns

Microsoft.Azure.AzureOperationResponse

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

Applies to