Sdílet prostřednictvím


CredentialOperationsExtensions.CreateOrUpdateAsync Metoda

Definice

Přetížení

CreateOrUpdateAsync(ICredentialOperations, String, String, CredentialCreateOrUpdateParameters)
CreateOrUpdateAsync(ICredentialOperations, String, String, String, CredentialCreateOrUpdateParameters, CancellationToken)

Vytvořte přihlašovací údaje. http://aka.ms/azureautomationsdk/credentialoperations

CreateOrUpdateAsync(ICredentialOperations, String, String, CredentialCreateOrUpdateParameters)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.CredentialCreateOrUpdateResponse> CreateOrUpdateAsync(this Microsoft.Azure.Management.Automation.ICredentialOperations operations, string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.CredentialCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.ICredentialOperations * string * string * Microsoft.Azure.Management.Automation.Models.CredentialCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.CredentialCreateOrUpdateResponse>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ICredentialOperations, resourceGroupName As String, automationAccount As String, parameters As CredentialCreateOrUpdateParameters) As Task(Of CredentialCreateOrUpdateResponse)

Parametry

resourceGroupName
String
automationAccount
String

Návraty

Platí pro

CreateOrUpdateAsync(ICredentialOperations, String, String, String, CredentialCreateOrUpdateParameters, CancellationToken)

Vytvořte přihlašovací údaje. http://aka.ms/azureautomationsdk/credentialoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Credential> CreateOrUpdateAsync(this Microsoft.Azure.Management.Automation.ICredentialOperations operations, string resourceGroupName, string automationAccountName, string credentialName, Microsoft.Azure.Management.Automation.Models.CredentialCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.ICredentialOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.CredentialCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Credential>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ICredentialOperations, resourceGroupName As String, automationAccountName As String, credentialName As String, parameters As CredentialCreateOrUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Credential)

Parametry

operations
ICredentialOperations

Skupina operací pro tuto metodu rozšíření.

resourceGroupName
String

Název skupiny prostředků Azure.

automationAccountName
String

Název účtu Automation.

credentialName
String

Parametry zadané pro operaci vytvoření nebo aktualizace přihlašovacích údajů.

parameters
CredentialCreateOrUpdateParameters

Parametry zadané pro operaci vytvoření nebo aktualizace přihlašovacích údajů.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Platí pro