Udostępnij za pośrednictwem


ClientRootCertificateOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> CreateAsync (this Microsoft.WindowsAzure.Management.Network.IClientRootCertificateOperations operations, string networkName, Microsoft.WindowsAzure.Management.Network.Models.ClientRootCertificateCreateParameters parameters);
static member CreateAsync : Microsoft.WindowsAzure.Management.Network.IClientRootCertificateOperations * string * Microsoft.WindowsAzure.Management.Network.Models.ClientRootCertificateCreateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse>
<Extension()>
Public Function CreateAsync (operations As IClientRootCertificateOperations, networkName As String, parameters As ClientRootCertificateCreateParameters) As Task(Of GatewayOperationResponse)

Parameters

operations
IClientRootCertificateOperations

Reference to the Microsoft.WindowsAzure.Management.Network.IClientRootCertificateOperations.

networkName
String

Required. The name of the virtual network for this gateway.

parameters
ClientRootCertificateCreateParameters

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

Returns

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

Applies to