Share via


ApplicationGatewayOperationsExtensions.GetCertificateAsync Method

The Get Application Gateway certificate operation retrieves the ssl certificate provisioned for the given gateway. (see https://msdn.microsoft.com/en-us/library/windowsazure/jj157196.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 IApplicationGatewayOperations
Dim gatewayName As String
Dim certificateName As String
Dim returnValue As Task(Of ApplicationGatewayGetCertificate)

returnValue = ApplicationGatewayOperationsExtensions.GetCertificateAsync(operations, gatewayName, certificateName)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetCertificateAsync ( _
    operations As IApplicationGatewayOperations, _
    gatewayName As String, _
    certificateName As String _
) As Task(Of ApplicationGatewayGetCertificate)
[ExtensionAttribute] 
public static Task<ApplicationGatewayGetCertificate> GetCertificateAsync (
    IApplicationGatewayOperations operations,
    string gatewayName,
    string certificateName
)
[ExtensionAttribute] 
public:
static Task<ApplicationGatewayGetCertificate^>^ GetCertificateAsync (
    IApplicationGatewayOperations^ operations, 
    String^ gatewayName, 
    String^ certificateName
)
/** @attribute ExtensionAttribute() */ 
public static Task<ApplicationGatewayGetCertificate> GetCertificateAsync (
    IApplicationGatewayOperations operations, 
    String gatewayName, 
    String certificateName
)
ExtensionAttribute 
public static function GetCertificateAsync (
    operations : IApplicationGatewayOperations, 
    gatewayName : String, 
    certificateName : String
) : Task<ApplicationGatewayGetCertificate>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Network.IApplicationGatewayOperations.
  • gatewayName
    Required. The name of the gateway.
  • certificateName
    Required. The name of the certificate.

Return Value

Response of GetApplicationGatewayCertificate request.

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

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