Share via


ClientRootCertificateOperationsExtensions.CreateAsync Method

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

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

Usage

'Usage
Dim operations As IClientRootCertificateOperations
Dim networkName As String
Dim parameters As ClientRootCertificateCreateParameters
Dim returnValue As Task(Of GatewayOperationResponse)

returnValue = ClientRootCertificateOperationsExtensions.CreateAsync(operations, networkName, parameters)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function CreateAsync ( _
    operations As IClientRootCertificateOperations, _
    networkName As String, _
    parameters As ClientRootCertificateCreateParameters _
) As Task(Of GatewayOperationResponse)
[ExtensionAttribute] 
public static Task<GatewayOperationResponse> CreateAsync (
    IClientRootCertificateOperations operations,
    string networkName,
    ClientRootCertificateCreateParameters parameters
)
[ExtensionAttribute] 
public:
static Task<GatewayOperationResponse^>^ CreateAsync (
    IClientRootCertificateOperations^ operations, 
    String^ networkName, 
    ClientRootCertificateCreateParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static Task<GatewayOperationResponse> CreateAsync (
    IClientRootCertificateOperations operations, 
    String networkName, 
    ClientRootCertificateCreateParameters parameters
)
ExtensionAttribute 
public static function CreateAsync (
    operations : IClientRootCertificateOperations, 
    networkName : String, 
    parameters : ClientRootCertificateCreateParameters
) : Task<GatewayOperationResponse>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Network.IClientRootCertificateOperations.
  • networkName
    Required. The name of the virtual network for this gateway.
  • parameters
    Required. Parameters supplied to the Upload Client Root Certificate Virtual Network Gateway operation.

Return Value

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

Thread Safety

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

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

ClientRootCertificateOperationsExtensions Class
ClientRootCertificateOperationsExtensions Members
Microsoft.WindowsAzure.Management.Network Namespace