你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DscNodeOperations class

表示 DscNodeOperations 的类。

构造函数

DscNodeOperations(AutomationClientContext)

创建 DscNodeOperations。

方法

deleteMethod(string, string, string, RequestOptionsBase)

删除由节点 ID 标识的 dsc 节点。

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<DscNode>)
deleteMethod(string, string, string, ServiceCallback<DscNode>)
get(string, string, string, RequestOptionsBase)

检索由节点 ID 标识的 dsc 节点。

get(string, string, string, RequestOptionsBase, ServiceCallback<DscNode>)
get(string, string, string, ServiceCallback<DscNode>)
listByAutomationAccount(string, string, DscNodeListByAutomationAccountOptionalParams)

检索 dsc 节点的列表。

listByAutomationAccount(string, string, DscNodeListByAutomationAccountOptionalParams, ServiceCallback<DscNodeListResult>)
listByAutomationAccount(string, string, ServiceCallback<DscNodeListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

检索 dsc 节点的列表。

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<DscNodeListResult>)
listByAutomationAccountNext(string, ServiceCallback<DscNodeListResult>)
update(string, string, string, DscNodeUpdateParameters, RequestOptionsBase)

更新 dsc 节点。

update(string, string, string, DscNodeUpdateParameters, RequestOptionsBase, ServiceCallback<DscNode>)
update(string, string, string, DscNodeUpdateParameters, ServiceCallback<DscNode>)

构造函数详细信息

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<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

ServiceCallback<DscNode>

回调

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

ServiceCallback<DscNode>

回调

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<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

ServiceCallback<DscNode>

回调

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

ServiceCallback<DscNode>

回调

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

自动化帐户的名称。

listByAutomationAccount(string, string, ServiceCallback<DscNodeListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<DscNodeListResult>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

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

可选参数

listByAutomationAccountNext(string, ServiceCallback<DscNodeListResult>)

function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<DscNodeListResult>)

参数

nextPageLink

string

上一次成功调用 List作的 NextLink。

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

可选参数

返回

承诺<模型.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

ServiceCallback<DscNode>

回调

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

ServiceCallback<DscNode>

回调