ICertificateOperations.GetAsync 方法 (String, String, CancellationToken)

 

检索由证书名称标识的证书。 (请参阅 https://aka.ms/azureautomationsdk/certificateoperations 有关详细信息)

命名空间:   Microsoft.WindowsAzure.Management.Automation
程序集:  Microsoft.WindowsAzure.Management.Automation(Microsoft.WindowsAzure.Management.Automation.dll 中)

语法

Task<CertificateGetResponse> GetAsync(
    string automationAccount,
    string certificateName,
    CancellationToken cancellationToken
)
Task<CertificateGetResponse^>^ GetAsync(
    String^ automationAccount,
    String^ certificateName,
    CancellationToken cancellationToken
)
abstract GetAsync : 
        automationAccount:string *
        certificateName:string *
        cancellationToken:CancellationToken -> Task<CertificateGetResponse>
Function GetAsync (
    automationAccount As String,
    certificateName As String,
    cancellationToken As CancellationToken
) As Task(Of CertificateGetResponse)

参数

  • automationAccount
    Type: System.String

    自动管理帐户名称。

返回值

Type: System.Threading.Tasks.Task<CertificateGetResponse>

获取证书操作该响应模型。

请参阅

ICertificateOperations 接口
Microsoft.WindowsAzure.Management.Automation 命名空间

返回页首