Udostępnij za pośrednictwem


IClientRootCertificateOperations.CreateAsync Method

Definition

The Upload Client Root Certificate operation is used to upload a new client root certificate to Azure. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn205129.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> CreateAsync (string networkName, Microsoft.WindowsAzure.Management.Network.Models.ClientRootCertificateCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * Microsoft.WindowsAzure.Management.Network.Models.ClientRootCertificateCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse>
Public Function CreateAsync (networkName As String, parameters As ClientRootCertificateCreateParameters, cancellationToken As CancellationToken) As Task(Of GatewayOperationResponse)

Parameters

networkName
String

The name of the virtual network for this gateway.

parameters
ClientRootCertificateCreateParameters

Parameters supplied to the Upload Client Root Certificate Virtual Network Gateway operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to