DscNodeOperations class
表示 DscNodeOperations 的类。
构造函数
| Dsc |
创建 DscNodeOperations。 |
方法
构造函数详细信息
DscNodeOperations(AutomationClientContext)
创建 DscNodeOperations。
new DscNodeOperations(client: AutomationClientContext)
参数
- client
- AutomationClientContext
对服务客户端的引用。
方法详细信息
deleteMethod(string, string, string, RequestOptionsBase)
删除由节点 ID 标识的 dsc 节点。
function deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, options?: RequestOptionsBase): Promise<DscNodeDeleteMethodResponse>
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- nodeId
-
string
节点 ID。
- options
- RequestOptionsBase
可选参数
返回
Promise<DscNodeDeleteMethodResponse>
Promise<Models.DscNodeDeleteMethod响应>
deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<DscNode>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, options: RequestOptionsBase, callback: ServiceCallback<DscNode>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- nodeId
-
string
节点 ID。
- options
- RequestOptionsBase
可选参数
- callback
回调
deleteMethod(string, string, string, ServiceCallback<DscNode>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, callback: ServiceCallback<DscNode>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- nodeId
-
string
节点 ID。
- callback
回调
get(string, string, string, RequestOptionsBase)
检索由节点 ID 标识的 dsc 节点。
function get(resourceGroupName: string, automationAccountName: string, nodeId: string, options?: RequestOptionsBase): Promise<DscNodeGetResponse>
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- nodeId
-
string
节点 ID。
- options
- RequestOptionsBase
可选参数
返回
Promise<DscNodeGetResponse>
Promise<Models.DscNodeGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<DscNode>)
function get(resourceGroupName: string, automationAccountName: string, nodeId: string, options: RequestOptionsBase, callback: ServiceCallback<DscNode>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- nodeId
-
string
节点 ID。
- options
- RequestOptionsBase
可选参数
- callback
回调
get(string, string, string, ServiceCallback<DscNode>)
function get(resourceGroupName: string, automationAccountName: string, nodeId: string, callback: ServiceCallback<DscNode>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- nodeId
-
string
节点 ID。
- callback
回调
listByAutomationAccount(string, string, DscNodeListByAutomationAccountOptionalParams)
检索 dsc 节点的列表。
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: DscNodeListByAutomationAccountOptionalParams): Promise<DscNodeListByAutomationAccountResponse>
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
可选参数
返回
承诺<模型.DscNodeListByAutomationAccountResponse>
listByAutomationAccount(string, string, DscNodeListByAutomationAccountOptionalParams, ServiceCallback<DscNodeListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: DscNodeListByAutomationAccountOptionalParams, callback: ServiceCallback<DscNodeListResult>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
可选参数
- callback
回调
listByAutomationAccount(string, string, ServiceCallback<DscNodeListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<DscNodeListResult>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- callback
回调
listByAutomationAccountNext(string, RequestOptionsBase)
检索 dsc 节点的列表。
function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<DscNodeListByAutomationAccountNextResponse>
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- options
- RequestOptionsBase
可选参数
返回
Promise<Models.DscNodeListByAutomationAccountNextResponse>
listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<DscNodeListResult>)
function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<DscNodeListResult>)
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- options
- RequestOptionsBase
可选参数
- callback
回调
listByAutomationAccountNext(string, ServiceCallback<DscNodeListResult>)
function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<DscNodeListResult>)
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- callback
回调
update(string, string, string, DscNodeUpdateParameters, RequestOptionsBase)
更新 dsc 节点。
function update(resourceGroupName: string, automationAccountName: string, nodeId: string, dscNodeUpdateParameters: DscNodeUpdateParameters, options?: RequestOptionsBase): Promise<DscNodeUpdateResponse>
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- nodeId
-
string
提供给 update dsc 节点的参数。
- dscNodeUpdateParameters
- DscNodeUpdateParameters
提供给 update dsc 节点的参数。
- options
- RequestOptionsBase
可选参数
返回
Promise<DscNodeUpdateResponse>
承诺<模型.DscNodeUpdateResponse>
update(string, string, string, DscNodeUpdateParameters, RequestOptionsBase, ServiceCallback<DscNode>)
function update(resourceGroupName: string, automationAccountName: string, nodeId: string, dscNodeUpdateParameters: DscNodeUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<DscNode>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- nodeId
-
string
提供给 update dsc 节点的参数。
- dscNodeUpdateParameters
- DscNodeUpdateParameters
提供给 update dsc 节点的参数。
- options
- RequestOptionsBase
可选参数
- callback
回调
update(string, string, string, DscNodeUpdateParameters, ServiceCallback<DscNode>)
function update(resourceGroupName: string, automationAccountName: string, nodeId: string, dscNodeUpdateParameters: DscNodeUpdateParameters, callback: ServiceCallback<DscNode>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- nodeId
-
string
提供给 update dsc 节点的参数。
- dscNodeUpdateParameters
- DscNodeUpdateParameters
提供给 update dsc 节点的参数。
- callback
回调