DscConfigurationOperations class

Class representing a DscConfigurationOperations.

Constructors

DscConfigurationOperations(AutomationClientContext)

Create a DscConfigurationOperations.

Methods

createOrUpdate(string, string, string, DscConfigurationCreateOrUpdateParameters, RequestOptionsBase)

Create the configuration identified by configuration name.

createOrUpdate(string, string, string, DscConfigurationCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<DscConfiguration>)
createOrUpdate(string, string, string, DscConfigurationCreateOrUpdateParameters, ServiceCallback<DscConfiguration>)
deleteMethod(string, string, string, RequestOptionsBase)

Delete the dsc configuration identified by configuration name.

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

Retrieve the configuration identified by configuration name.

get(string, string, string, RequestOptionsBase, ServiceCallback<DscConfiguration>)
get(string, string, string, ServiceCallback<DscConfiguration>)
getContent(string, string, string, RequestOptionsBase)

Retrieve the configuration script identified by configuration name.

getContent(string, string, string, RequestOptionsBase, ServiceCallback<void>)
getContent(string, string, string, ServiceCallback<void>)
listByAutomationAccount(string, string, DscConfigurationListByAutomationAccountOptionalParams)

Retrieve a list of configurations.

listByAutomationAccount(string, string, DscConfigurationListByAutomationAccountOptionalParams, ServiceCallback<DscConfigurationListResult>)
listByAutomationAccount(string, string, ServiceCallback<DscConfigurationListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of configurations.

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<DscConfigurationListResult>)
listByAutomationAccountNext(string, ServiceCallback<DscConfigurationListResult>)
update(string, string, string, DscConfigurationUpdateOptionalParams)

Create the configuration identified by configuration name.

update(string, string, string, DscConfigurationUpdateOptionalParams, ServiceCallback<DscConfiguration>)
update(string, string, string, ServiceCallback<DscConfiguration>)

Constructor Details

DscConfigurationOperations(AutomationClientContext)

Create a DscConfigurationOperations.

new DscConfigurationOperations(client: AutomationClientContext)

Parameters

client
AutomationClientContext

Reference to the service client.

Method Details

createOrUpdate(string, string, string, DscConfigurationCreateOrUpdateParameters, RequestOptionsBase)

Create the configuration identified by configuration name.

function createOrUpdate(resourceGroupName: string, automationAccountName: string, configurationName: string, parameters: DscConfigurationCreateOrUpdateParameters, options?: RequestOptionsBase): Promise<DscConfigurationCreateOrUpdateResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

configurationName

string

The create or update parameters for configuration.

parameters
DscConfigurationCreateOrUpdateParameters

The create or update parameters for configuration.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.DscConfigurationCreateOrUpdateResponse>

createOrUpdate(string, string, string, DscConfigurationCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<DscConfiguration>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, configurationName: string, parameters: DscConfigurationCreateOrUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<DscConfiguration>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

configurationName

string

The create or update parameters for configuration.

parameters
DscConfigurationCreateOrUpdateParameters

The create or update parameters for configuration.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<DscConfiguration>

The callback

createOrUpdate(string, string, string, DscConfigurationCreateOrUpdateParameters, ServiceCallback<DscConfiguration>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, configurationName: string, parameters: DscConfigurationCreateOrUpdateParameters, callback: ServiceCallback<DscConfiguration>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

configurationName

string

The create or update parameters for configuration.

parameters
DscConfigurationCreateOrUpdateParameters

The create or update parameters for configuration.

callback

ServiceCallback<DscConfiguration>

The callback

deleteMethod(string, string, string, RequestOptionsBase)

Delete the dsc configuration identified by configuration name.

function deleteMethod(resourceGroupName: string, automationAccountName: string, configurationName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

configurationName

string

The configuration name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

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

function deleteMethod(resourceGroupName: string, automationAccountName: string, configurationName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

configurationName

string

The configuration name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

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

function deleteMethod(resourceGroupName: string, automationAccountName: string, configurationName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

configurationName

string

The configuration name.

callback

ServiceCallback<void>

The callback

get(string, string, string, RequestOptionsBase)

Retrieve the configuration identified by configuration name.

function get(resourceGroupName: string, automationAccountName: string, configurationName: string, options?: RequestOptionsBase): Promise<DscConfigurationGetResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

configurationName

string

The configuration name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.DscConfigurationGetResponse>

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

function get(resourceGroupName: string, automationAccountName: string, configurationName: string, options: RequestOptionsBase, callback: ServiceCallback<DscConfiguration>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

configurationName

string

The configuration name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<DscConfiguration>

The callback

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

function get(resourceGroupName: string, automationAccountName: string, configurationName: string, callback: ServiceCallback<DscConfiguration>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

configurationName

string

The configuration name.

callback

ServiceCallback<DscConfiguration>

The callback

getContent(string, string, string, RequestOptionsBase)

Retrieve the configuration script identified by configuration name.

function getContent(resourceGroupName: string, automationAccountName: string, configurationName: string, options?: RequestOptionsBase): Promise<DscConfigurationGetContentResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

configurationName

string

The configuration name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.DscConfigurationGetContentResponse>

getContent(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function getContent(resourceGroupName: string, automationAccountName: string, configurationName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

configurationName

string

The configuration name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

getContent(string, string, string, ServiceCallback<void>)

function getContent(resourceGroupName: string, automationAccountName: string, configurationName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

configurationName

string

The configuration name.

callback

ServiceCallback<void>

The callback

listByAutomationAccount(string, string, DscConfigurationListByAutomationAccountOptionalParams)

Retrieve a list of configurations.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: DscConfigurationListByAutomationAccountOptionalParams): Promise<DscConfigurationListByAutomationAccountResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

Returns

Promise<Models.DscConfigurationListByAutomationAccountResponse>

listByAutomationAccount(string, string, DscConfigurationListByAutomationAccountOptionalParams, ServiceCallback<DscConfigurationListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: DscConfigurationListByAutomationAccountOptionalParams, callback: ServiceCallback<DscConfigurationListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

listByAutomationAccount(string, string, ServiceCallback<DscConfigurationListResult>)

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of configurations.

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.DscConfigurationListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<DscConfigurationListResult>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listByAutomationAccountNext(string, ServiceCallback<DscConfigurationListResult>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

update(string, string, string, DscConfigurationUpdateOptionalParams)

Create the configuration identified by configuration name.

function update(resourceGroupName: string, automationAccountName: string, configurationName: string, options?: DscConfigurationUpdateOptionalParams): Promise<DscConfigurationUpdateResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

configurationName

string

The create or update parameters for configuration.

options
DscConfigurationUpdateOptionalParams

The optional parameters

Returns

Promise<Models.DscConfigurationUpdateResponse>

update(string, string, string, DscConfigurationUpdateOptionalParams, ServiceCallback<DscConfiguration>)

function update(resourceGroupName: string, automationAccountName: string, configurationName: string, options: DscConfigurationUpdateOptionalParams, callback: ServiceCallback<DscConfiguration>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

configurationName

string

The create or update parameters for configuration.

options
DscConfigurationUpdateOptionalParams

The optional parameters

callback

ServiceCallback<DscConfiguration>

The callback

update(string, string, string, ServiceCallback<DscConfiguration>)

function update(resourceGroupName: string, automationAccountName: string, configurationName: string, callback: ServiceCallback<DscConfiguration>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

configurationName

string

The create or update parameters for configuration.

callback

ServiceCallback<DscConfiguration>

The callback