DscConfiguration
Manages a Automation DSC Configuration.
Create a DscConfiguration Resource
new DscConfiguration(name: string, args: DscConfigurationArgs, opts?: CustomResourceOptions);def DscConfiguration(resource_name, opts=None, automation_account_name=None, content_embedded=None, description=None, location=None, log_verbose=None, name=None, resource_group_name=None, tags=None, __props__=None);func NewDscConfiguration(ctx *Context, name string, args DscConfigurationArgs, opts ...ResourceOption) (*DscConfiguration, error)public DscConfiguration(string name, DscConfigurationArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args DscConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DscConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DscConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
DscConfiguration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The DscConfiguration resource accepts the following input properties:
- Automation
Account stringName The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created.
- Content
Embedded string The PowerShell DSC Configuration script.
- Resource
Group stringName The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created.
- Description string
Description to go with DSC Configuration.
- Location string
Must be the same location as the Automation Account.
- Log
Verbose bool Verbose log option.
- Name string
Specifies the name of the DSC Configuration. Changing this forces a new resource to be created.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Automation
Account stringName The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created.
- Content
Embedded string The PowerShell DSC Configuration script.
- Resource
Group stringName The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created.
- Description string
Description to go with DSC Configuration.
- Location string
Must be the same location as the Automation Account.
- Log
Verbose bool Verbose log option.
- Name string
Specifies the name of the DSC Configuration. Changing this forces a new resource to be created.
- map[string]string
A mapping of tags to assign to the resource.
- automation
Account stringName The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created.
- content
Embedded string The PowerShell DSC Configuration script.
- resource
Group stringName The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created.
- description string
Description to go with DSC Configuration.
- location string
Must be the same location as the Automation Account.
- log
Verbose boolean Verbose log option.
- name string
Specifies the name of the DSC Configuration. Changing this forces a new resource to be created.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- automation_
account_ strname The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created.
- content_
embedded str The PowerShell DSC Configuration script.
- resource_
group_ strname The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created.
- description str
Description to go with DSC Configuration.
- location str
Must be the same location as the Automation Account.
- log_
verbose bool Verbose log option.
- name str
Specifies the name of the DSC Configuration. Changing this forces a new resource to be created.
- Dict[str, str]
A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the DscConfiguration resource produces the following output properties:
Look up an Existing DscConfiguration Resource
Get an existing DscConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DscConfigurationState, opts?: CustomResourceOptions): DscConfigurationstatic get(resource_name, id, opts=None, automation_account_name=None, content_embedded=None, description=None, location=None, log_verbose=None, name=None, resource_group_name=None, state=None, tags=None, __props__=None);func GetDscConfiguration(ctx *Context, name string, id IDInput, state *DscConfigurationState, opts ...ResourceOption) (*DscConfiguration, error)public static DscConfiguration Get(string name, Input<string> id, DscConfigurationState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Automation
Account stringName The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created.
- Content
Embedded string The PowerShell DSC Configuration script.
- Description string
Description to go with DSC Configuration.
- Location string
Must be the same location as the Automation Account.
- Log
Verbose bool Verbose log option.
- Name string
Specifies the name of the DSC Configuration. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created.
- State string
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Automation
Account stringName The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created.
- Content
Embedded string The PowerShell DSC Configuration script.
- Description string
Description to go with DSC Configuration.
- Location string
Must be the same location as the Automation Account.
- Log
Verbose bool Verbose log option.
- Name string
Specifies the name of the DSC Configuration. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created.
- State string
- map[string]string
A mapping of tags to assign to the resource.
- automation
Account stringName The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created.
- content
Embedded string The PowerShell DSC Configuration script.
- description string
Description to go with DSC Configuration.
- location string
Must be the same location as the Automation Account.
- log
Verbose boolean Verbose log option.
- name string
Specifies the name of the DSC Configuration. Changing this forces a new resource to be created.
- resource
Group stringName The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created.
- state string
- {[key: string]: string}
A mapping of tags to assign to the resource.
- automation_
account_ strname The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created.
- content_
embedded str The PowerShell DSC Configuration script.
- description str
Description to go with DSC Configuration.
- location str
Must be the same location as the Automation Account.
- log_
verbose bool Verbose log option.
- name str
Specifies the name of the DSC Configuration. Changing this forces a new resource to be created.
- resource_
group_ strname The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created.
- state str
- Dict[str, str]
A mapping of tags to assign to the resource.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.