ManagementCertificateOperationsExtensions.CreateAsync 方法 (IManagementCertificateOperations, ManagementCertificateCreateParameters)
以异步方式向订阅添加管理证书。
命名空间: Microsoft.WindowsAzure.Management
程序集: Microsoft.WindowsAzure.Management(Microsoft.WindowsAzure.Management.dll 中)
语法
public static Task<AzureOperationResponse> CreateAsync(
this IManagementCertificateOperations operations,
ManagementCertificateCreateParameters parameters
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ CreateAsync(
IManagementCertificateOperations^ operations,
ManagementCertificateCreateParameters^ parameters
)
static member CreateAsync :
operations:IManagementCertificateOperations *
parameters:ManagementCertificateCreateParameters -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function CreateAsync (
operations As IManagementCertificateOperations,
parameters As ManagementCertificateCreateParameters
) As Task(Of AzureOperationResponse)
参数
operations
Type: Microsoft.WindowsAzure.Management.IManagementCertificateOperationsIManagementCertificateOperations 指定的操作的对象。
parameters
Type: Microsoft.WindowsAzure.Management.Models.ManagementCertificateCreateParametersManagementCertificateCreateParameters 包含用于将证书添加的参数的对象。
返回值
Type: System.Threading.Tasks.Task<AzureOperationResponse>
OperationResponse 对象,包括 HTTP 状态代码和请求 id。
备注
有关向订阅添加管理证书的详细信息,请参阅以下资源:
请参阅
ManagementCertificateOperationsExtensions 类
Microsoft.WindowsAzure.Management 命名空间
返回页首