CredentialOperationsExtensions.DeleteAsync 方法 (ICredentialOperations, String, String)

 

删除凭据。 (请参阅 https://aka.ms/azureautomationsdk/credentialoperations 有关详细信息)

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

语法

public static Task<AzureOperationResponse> DeleteAsync(
    this ICredentialOperations operations,
    string automationAccount,
    string credentialName
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ DeleteAsync(
    ICredentialOperations^ operations,
    String^ automationAccount,
    String^ credentialName
)
static member DeleteAsync : 
        operations:ICredentialOperations *
        automationAccount:string *
        credentialName:string -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function DeleteAsync (
    operations As ICredentialOperations,
    automationAccount As String,
    credentialName As String
) As Task(Of AzureOperationResponse)

参数

  • automationAccount
    Type: System.String

    必需。 自动管理帐户名称。

  • credentialName
    Type: System.String

    必需。 凭据的名称。

返回值

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

标准服务响应,包括 HTTP 状态代码和请求 ID。

请参阅

CredentialOperationsExtensions 类
Microsoft.WindowsAzure.Management.Automation 命名空间

返回页首