CredentialOperations interface
表示 CredentialOperations 的介面。
方法
方法詳細資料
createOrUpdate(string, string, string, CredentialCreateOrUpdateParameters, CredentialCreateOrUpdateOptionalParams)
建立認證。
function createOrUpdate(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: CredentialCreateOrUpdateParameters, options?: CredentialCreateOrUpdateOptionalParams): Promise<Credential_2>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- credentialName
-
string
提供給建立或更新認證作業的參數。
- parameters
- CredentialCreateOrUpdateParameters
提供給建立或更新認證作業的參數。
選項參數。
傳回
Promise<Credential>
delete(string, string, string, CredentialDeleteOptionalParams)
刪除認證。
function delete(resourceGroupName: string, automationAccountName: string, credentialName: string, options?: CredentialDeleteOptionalParams): Promise<void>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- credentialName
-
string
認證的名稱。
- options
- CredentialDeleteOptionalParams
選項參數。
傳回
Promise<void>
get(string, string, string, CredentialGetOptionalParams)
擷取認證名稱所識別的認證。
function get(resourceGroupName: string, automationAccountName: string, credentialName: string, options?: CredentialGetOptionalParams): Promise<Credential_2>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- credentialName
-
string
認證的名稱。
- options
- CredentialGetOptionalParams
選項參數。
傳回
Promise<Credential>
listByAutomationAccount(string, string, CredentialListByAutomationAccountOptionalParams)
擷取認證清單。
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: CredentialListByAutomationAccountOptionalParams): PagedAsyncIterableIterator<Credential_2, Credential_2[], PageSettings>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
選項參數。
傳回
update(string, string, string, CredentialUpdateParameters, CredentialUpdateOptionalParams)
更新認證。
function update(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: CredentialUpdateParameters, options?: CredentialUpdateOptionalParams): Promise<Credential_2>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- credentialName
-
string
提供給更新認證作業的參數。
- parameters
- CredentialUpdateParameters
提供給更新認證作業的參數。
- options
- CredentialUpdateOptionalParams
選項參數。
傳回
Promise<Credential>