共用方式為


CredentialOperationsExtensions.CreateOrUpdate 方法

定義

多載

CreateOrUpdate(ICredentialOperations, String, String, CredentialCreateOrUpdateParameters)
CreateOrUpdate(ICredentialOperations, String, String, String, CredentialCreateOrUpdateParameters)

建立認證。 http://aka.ms/azureautomationsdk/credentialoperations

CreateOrUpdate(ICredentialOperations, String, String, CredentialCreateOrUpdateParameters)

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

參數

resourceGroupName
String
automationAccount
String

傳回

適用於

CreateOrUpdate(ICredentialOperations, String, String, String, CredentialCreateOrUpdateParameters)

public static Microsoft.Azure.Management.Automation.Models.Credential CreateOrUpdate (this Microsoft.Azure.Management.Automation.ICredentialOperations operations, string resourceGroupName, string automationAccountName, string credentialName, Microsoft.Azure.Management.Automation.Models.CredentialCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Automation.ICredentialOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.CredentialCreateOrUpdateParameters -> Microsoft.Azure.Management.Automation.Models.Credential
<Extension()>
Public Function CreateOrUpdate (operations As ICredentialOperations, resourceGroupName As String, automationAccountName As String, credentialName As String, parameters As CredentialCreateOrUpdateParameters) As Credential

參數

operations
ICredentialOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

credentialName
String

提供給建立或更新認證作業的參數。

parameters
CredentialCreateOrUpdateParameters

提供給建立或更新認證作業的參數。

傳回

適用於