AccountOperationsExtensions.RegenerateKey Method (IAccountOperations, String, MediaServicesKeyType)
The Regenerate Media Services Account Key operation regenerates an account key for the given Media Services account in Windows Azure. (see https://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)
Syntax
public static AzureOperationResponse RegenerateKey(
this IAccountOperations operations,
string accountName,
MediaServicesKeyType keyType
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ RegenerateKey(
IAccountOperations^ operations,
String^ accountName,
MediaServicesKeyType keyType
)
static member RegenerateKey :
operations:IAccountOperations *
accountName:string *
keyType:MediaServicesKeyType -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function RegenerateKey (
operations As IAccountOperations,
accountName As String,
keyType As MediaServicesKeyType
) As AzureOperationResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.MediaServices.IAccountOperationsReference to the Microsoft.WindowsAzure.Management.MediaServices.IAccountOperations.
accountName
Type: System.StringRequired. The name of the Media Services Account.
keyType
Type: Microsoft.WindowsAzure.Management.MediaServices.Models.MediaServicesKeyTypeRequired. The type of key to regenerate (primary or secondary)
Return Value
Type: Microsoft.Azure.AzureOperationResponse
A standard service response including an HTTP status code and request ID.
See Also
AccountOperationsExtensions Class
Microsoft.WindowsAzure.Management.MediaServices Namespace
Return to top