DscNodeOperations class
Class representing a DscNodeOperations.
Constructors
Dsc |
Create a DscNodeOperations. |
Methods
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<DscNodeDeleteMethodResponse>
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
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
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<DscNodeGetResponse>
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
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
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.
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.
The optional parameters
- callback
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
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
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
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<DscNodeUpdateResponse>
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
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
The callback