IClientRootCertificateOperations.CreateAsync Method

Asynchronously creates a client root certificate.

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

'Usage
Dim instance As IClientRootCertificateOperations
Dim virtualNetworkName As String
Dim parameters As ClientRootCertificateCreateParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of GatewayOperationResponse)

returnValue = instance.CreateAsync(virtualNetworkName, parameters, cancellationToken)

Task<GatewayOperationResponse> CreateAsync (
	string virtualNetworkName,
	ClientRootCertificateCreateParameters parameters,
	CancellationToken cancellationToken
)
Task<GatewayOperationResponse> CreateAsync (
	String virtualNetworkName, 
	ClientRootCertificateCreateParameters parameters, 
	CancellationToken cancellationToken
)
function CreateAsync (
	virtualNetworkName : String, 
	parameters : ClientRootCertificateCreateParameters, 
	cancellationToken : CancellationToken
) : Task<GatewayOperationResponse>

Parameters

virtualNetworkName

The name of the Virtual Network.

parameters

The ClientRootCertificateCreateParameters object that contains the parameters that are used to upload a client root certificate.

cancellationToken

The cancellation token.

Return Value

An GatewayOperationResponse object that includes an HTTP status code and request ID.

For more information about creating a client root certificate, see Upload Client Root Certificate.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

Show: