DscConfigurationOperations class
Class representing a DscConfigurationOperations.
Constructors
Dsc |
Create a DscConfigurationOperations. |
Methods
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
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
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<DscConfigurationGetResponse>
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
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
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<DscConfigurationGetContentResponse>
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.
The optional parameters
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.
The optional parameters
- callback
The callback
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.
- callback
The callback
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
- callback
The callback
listByAutomationAccountNext(string, ServiceCallback<DscConfigurationListResult>)
function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<DscConfigurationListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- callback
The callback
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.
The optional parameters
Returns
Promise<DscConfigurationUpdateResponse>
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.
The optional parameters
- callback
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
The callback