Keys class
表示键的类。
构造函数
| Keys(Automation |
创建密钥。 |
方法
构造函数详细信息
Keys(AutomationClientContext)
方法详细信息
listByAutomationAccount(string, string, RequestOptionsBase)
检索帐户的自动化密钥。
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<KeysListByAutomationAccountResponse>
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- options
- RequestOptionsBase
可选参数
返回
Promise<KeysListByAutomationAccountResponse>
承诺<Models.KeysListByAutomationAccountResponse>
listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<KeyListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<KeyListResult>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- options
- RequestOptionsBase
可选参数
- callback
回调
listByAutomationAccount(string, string, ServiceCallback<KeyListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<KeyListResult>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- callback
回调