Class DscConfiguration
Manages a Automation DSC Configuration.
Inherited Members
Namespace: Pulumi.Azure.Automation
Assembly: Pulumi.Azure.dll
Syntax
public class DscConfiguration : CustomResource
Constructors
View SourceDscConfiguration(String, DscConfigurationArgs, CustomResourceOptions)
Create a DscConfiguration resource with the given unique name, arguments, and options.
Declaration
public DscConfiguration(string name, DscConfigurationArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| DscConfigurationArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAutomationAccountName
The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created.
Declaration
public Output<string> AutomationAccountName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ContentEmbedded
The PowerShell DSC Configuration script.
Declaration
public Output<string> ContentEmbedded { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
Description to go with DSC Configuration.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Location
Must be the same location as the Automation Account.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LogVerbose
Verbose log option.
Declaration
public Output<bool?> LogVerbose { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Name
Specifies the name of the DSC Configuration. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
State
Declaration
public Output<string> State { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Methods
View SourceGet(String, Input<String>, DscConfigurationState, CustomResourceOptions)
Get an existing DscConfiguration resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static DscConfiguration Get(string name, Input<string> id, DscConfigurationState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| DscConfigurationState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| DscConfiguration |