Skip to main content

dsc_configuration_contents

Creates, updates, deletes, gets or lists a dsc_configuration_contents resource.

Overview

Namedsc_configuration_contents
TypeResource
Idazure.automation.dsc_configuration_contents

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getexecresourceGroupName, automationAccountName, configurationName, subscriptionIdRetrieve the configuration script identified by configuration name.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
automationAccountNamestringThe name of the automation account.
configurationNamestringThe configuration name.
resourceGroupNamestringName of an Azure Resource group.
subscriptionIdstringGets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Lifecycle Methods

Retrieve the configuration script identified by configuration name.

EXEC azure.automation.dsc_configuration_contents.get 
@resourceGroupName='{{ resourceGroupName }}' --required,
@automationAccountName='{{ automationAccountName }}' --required,
@configurationName='{{ configurationName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
;