ApplicationGatewayOperationsExtensions.BeginAddCertificateAsync 方法 (IApplicationGatewayOperations, String, String, ApplicationGatewayCertificate)
开始添加证书操作将 ssl 证书添加到应用程序网关 (请参阅 https://msdn.microsoft.com/en-us/library/windowsazure/jj154114.aspx 有关详细信息)
命名空间: Microsoft.WindowsAzure.Management.Network
程序集: Microsoft.WindowsAzure.Management.Network(Microsoft.WindowsAzure.Management.Network.dll 中)
语法
public static Task<GatewayOperationResponse> BeginAddCertificateAsync(
this IApplicationGatewayOperations operations,
string gatewayName,
string certificateName,
ApplicationGatewayCertificate certificate
)
public:
[ExtensionAttribute]
static Task<GatewayOperationResponse^>^ BeginAddCertificateAsync(
IApplicationGatewayOperations^ operations,
String^ gatewayName,
String^ certificateName,
ApplicationGatewayCertificate^ certificate
)
static member BeginAddCertificateAsync :
operations:IApplicationGatewayOperations *
gatewayName:string *
certificateName:string *
certificate:ApplicationGatewayCertificate -> Task<GatewayOperationResponse>
<ExtensionAttribute>
Public Shared Function BeginAddCertificateAsync (
operations As IApplicationGatewayOperations,
gatewayName As String,
certificateName As String,
certificate As ApplicationGatewayCertificate
) As Task(Of GatewayOperationResponse)
参数
operations
Type: Microsoft.WindowsAzure.Management.Network.IApplicationGatewayOperations对 Microsoft.WindowsAzure.Management.Network.IApplicationGatewayOperations 引用。
gatewayName
Type: System.String必需。 网关名称
certificateName
Type: System.String必需。 证书名称
certificate
Type: Microsoft.WindowsAzure.Management.Network.Models.ApplicationGatewayCertificate必需。 应用程序网关的 ssl 证书
返回值
Type: System.Threading.Tasks.Task<GatewayOperationResponse>
标准服务响应,包括 HTTP 状态代码和请求 ID。
请参阅
ApplicationGatewayOperationsExtensions 类
Microsoft.WindowsAzure.Management.Network 命名空间
返回页首