DscNodeOperations class

Class representing a DscNodeOperations.

Constructors

DscNodeOperations(AutomationClientContext)

Create a DscNodeOperations.

Methods

deleteMethod(string, string, string, RequestOptionsBase)

Delete the dsc node identified by node id.

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

Retrieve the dsc node identified by node id.

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

Retrieve a list of dsc nodes.

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

Retrieve a list of dsc nodes.

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

Update the dsc node.

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

Constructor Details

DscNodeOperations(AutomationClientContext)

Create a DscNodeOperations.

new DscNodeOperations(client: AutomationClientContext)

Parameters

client
AutomationClientContext

Reference to the service client.

Method Details

deleteMethod(string, string, string, RequestOptionsBase)

Delete the dsc node identified by node id.

function deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, options?: RequestOptionsBase): Promise<DscNodeDeleteMethodResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

nodeId

string

The node id.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.DscNodeDeleteMethodResponse>

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

function deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, options: RequestOptionsBase, callback: ServiceCallback<DscNode>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

nodeId

string

The node id.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<DscNode>

The callback

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

function deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, callback: ServiceCallback<DscNode>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

nodeId

string

The node id.

callback

ServiceCallback<DscNode>

The callback

get(string, string, string, RequestOptionsBase)

Retrieve the dsc node identified by node id.

function get(resourceGroupName: string, automationAccountName: string, nodeId: string, options?: RequestOptionsBase): Promise<DscNodeGetResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

nodeId

string

The node id.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.DscNodeGetResponse>

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

function get(resourceGroupName: string, automationAccountName: string, nodeId: string, options: RequestOptionsBase, callback: ServiceCallback<DscNode>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

nodeId

string

The node id.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<DscNode>

The callback

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

function get(resourceGroupName: string, automationAccountName: string, nodeId: string, callback: ServiceCallback<DscNode>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

nodeId

string

The node id.

callback

ServiceCallback<DscNode>

The callback

listByAutomationAccount(string, string, DscNodeListByAutomationAccountOptionalParams)

Retrieve a list of dsc nodes.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: DscNodeListByAutomationAccountOptionalParams): Promise<DscNodeListByAutomationAccountResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
DscNodeListByAutomationAccountOptionalParams

The optional parameters

Returns

Promise<Models.DscNodeListByAutomationAccountResponse>

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

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
DscNodeListByAutomationAccountOptionalParams

The optional parameters

callback

ServiceCallback<DscNodeListResult>

The callback

listByAutomationAccount(string, string, ServiceCallback<DscNodeListResult>)

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

callback

ServiceCallback<DscNodeListResult>

The callback

listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of dsc nodes.

function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<DscNodeListByAutomationAccountNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.DscNodeListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<DscNodeListResult>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<DscNodeListResult>

The callback

listByAutomationAccountNext(string, ServiceCallback<DscNodeListResult>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<DscNodeListResult>

The callback

update(string, string, string, DscNodeUpdateParameters, RequestOptionsBase)

Update the dsc node.

function update(resourceGroupName: string, automationAccountName: string, nodeId: string, dscNodeUpdateParameters: DscNodeUpdateParameters, options?: RequestOptionsBase): Promise<DscNodeUpdateResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

nodeId

string

Parameters supplied to the update dsc node.

dscNodeUpdateParameters
DscNodeUpdateParameters

Parameters supplied to the update dsc node.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.DscNodeUpdateResponse>

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

function update(resourceGroupName: string, automationAccountName: string, nodeId: string, dscNodeUpdateParameters: DscNodeUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<DscNode>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

nodeId

string

Parameters supplied to the update dsc node.

dscNodeUpdateParameters
DscNodeUpdateParameters

Parameters supplied to the update dsc node.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<DscNode>

The callback

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

function update(resourceGroupName: string, automationAccountName: string, nodeId: string, dscNodeUpdateParameters: DscNodeUpdateParameters, callback: ServiceCallback<DscNode>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

nodeId

string

Parameters supplied to the update dsc node.

dscNodeUpdateParameters
DscNodeUpdateParameters

Parameters supplied to the update dsc node.

callback

ServiceCallback<DscNode>

The callback