1. Packages
  2. Azure Native
  3. API Docs
  4. automation
  5. DscConfiguration
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.automation.DscConfiguration

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Definition of the configuration type.

Uses Azure REST API version 2023-11-01. In version 2.x of the Azure Native provider, it used API version 2022-08-08.

Other available API versions: 2015-10-31, 2019-06-01, 2022-08-08, 2023-05-15-preview, 2024-10-23. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native automation [ApiVersion]. See the version guide for details.

Example Usage

Create or Update Configuration

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var dscConfiguration = new AzureNative.Automation.DscConfiguration("dscConfiguration", new()
    {
        AutomationAccountName = "myAutomationAccount18",
        ConfigurationName = "SetupServer",
        Description = "sample configuration",
        Location = "East US 2",
        Name = "SetupServer",
        ResourceGroupName = "rg",
        Source = new AzureNative.Automation.Inputs.ContentSourceArgs
        {
            Hash = new AzureNative.Automation.Inputs.ContentHashArgs
            {
                Algorithm = "sha256",
                Value = "A9E5DB56BA21513F61E0B3868816FDC6D4DF5131F5617D7FF0D769674BD5072F",
            },
            Type = AzureNative.Automation.ContentSourceType.EmbeddedContent,
            Value = @"Configuration SetupServer {
    Node localhost {
                               WindowsFeature IIS {
                               Name = ""Web-Server"";
            Ensure = ""Present""
        }
    }
}",
        },
    });

});
Copy
package main

import (
	automation "github.com/pulumi/pulumi-azure-native-sdk/automation/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := automation.NewDscConfiguration(ctx, "dscConfiguration", &automation.DscConfigurationArgs{
			AutomationAccountName: pulumi.String("myAutomationAccount18"),
			ConfigurationName:     pulumi.String("SetupServer"),
			Description:           pulumi.String("sample configuration"),
			Location:              pulumi.String("East US 2"),
			Name:                  pulumi.String("SetupServer"),
			ResourceGroupName:     pulumi.String("rg"),
			Source: &automation.ContentSourceArgs{
				Hash: &automation.ContentHashArgs{
					Algorithm: pulumi.String("sha256"),
					Value:     pulumi.String("A9E5DB56BA21513F61E0B3868816FDC6D4DF5131F5617D7FF0D769674BD5072F"),
				},
				Type: pulumi.String(automation.ContentSourceTypeEmbeddedContent),
				Value: pulumi.String(`Configuration SetupServer {
    Node localhost {
                               WindowsFeature IIS {
                               Name = "Web-Server";
            Ensure = "Present"
        }
    }
}`),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.automation.DscConfiguration;
import com.pulumi.azurenative.automation.DscConfigurationArgs;
import com.pulumi.azurenative.automation.inputs.ContentSourceArgs;
import com.pulumi.azurenative.automation.inputs.ContentHashArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var dscConfiguration = new DscConfiguration("dscConfiguration", DscConfigurationArgs.builder()
            .automationAccountName("myAutomationAccount18")
            .configurationName("SetupServer")
            .description("sample configuration")
            .location("East US 2")
            .name("SetupServer")
            .resourceGroupName("rg")
            .source(ContentSourceArgs.builder()
                .hash(ContentHashArgs.builder()
                    .algorithm("sha256")
                    .value("A9E5DB56BA21513F61E0B3868816FDC6D4DF5131F5617D7FF0D769674BD5072F")
                    .build())
                .type("embeddedContent")
                .value("""
Configuration SetupServer {
    Node localhost {
                               WindowsFeature IIS {
                               Name = "Web-Server";
            Ensure = "Present"
        }
    }
}                """)
                .build())
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const dscConfiguration = new azure_native.automation.DscConfiguration("dscConfiguration", {
    automationAccountName: "myAutomationAccount18",
    configurationName: "SetupServer",
    description: "sample configuration",
    location: "East US 2",
    name: "SetupServer",
    resourceGroupName: "rg",
    source: {
        hash: {
            algorithm: "sha256",
            value: "A9E5DB56BA21513F61E0B3868816FDC6D4DF5131F5617D7FF0D769674BD5072F",
        },
        type: azure_native.automation.ContentSourceType.EmbeddedContent,
        value: `Configuration SetupServer {\x0d
    Node localhost {\x0d
                               WindowsFeature IIS {\x0d
                               Name = "Web-Server";\x0d
            Ensure = "Present"\x0d
        }\x0d
    }\x0d
}`,
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

dsc_configuration = azure_native.automation.DscConfiguration("dscConfiguration",
    automation_account_name="myAutomationAccount18",
    configuration_name="SetupServer",
    description="sample configuration",
    location="East US 2",
    name="SetupServer",
    resource_group_name="rg",
    source={
        "hash": {
            "algorithm": "sha256",
            "value": "A9E5DB56BA21513F61E0B3868816FDC6D4DF5131F5617D7FF0D769674BD5072F",
        },
        "type": azure_native.automation.ContentSourceType.EMBEDDED_CONTENT,
        "value": """Configuration SetupServer {\x0d
    Node localhost {\x0d
                               WindowsFeature IIS {\x0d
                               Name = "Web-Server";\x0d
            Ensure = "Present"\x0d
        }\x0d
    }\x0d
}""",
    })
Copy
resources:
  dscConfiguration:
    type: azure-native:automation:DscConfiguration
    properties:
      automationAccountName: myAutomationAccount18
      configurationName: SetupServer
      description: sample configuration
      location: East US 2
      name: SetupServer
      resourceGroupName: rg
      source:
        hash:
          algorithm: sha256
          value: A9E5DB56BA21513F61E0B3868816FDC6D4DF5131F5617D7FF0D769674BD5072F
        type: embeddedContent
        value: "Configuration SetupServer {\r\n    Node localhost {\r\n                               WindowsFeature IIS {\r\n                               Name = \"Web-Server\";\r\n            Ensure = \"Present\"\r\n        }\r\n    }\r\n}"
Copy

Create DscConfiguration Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DscConfiguration(name: string, args: DscConfigurationArgs, opts?: CustomResourceOptions);
@overload
def DscConfiguration(resource_name: str,
                     args: DscConfigurationArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def DscConfiguration(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     automation_account_name: Optional[str] = None,
                     resource_group_name: Optional[str] = None,
                     source: Optional[ContentSourceArgs] = None,
                     configuration_name: Optional[str] = None,
                     description: Optional[str] = None,
                     location: Optional[str] = None,
                     log_progress: Optional[bool] = None,
                     log_verbose: Optional[bool] = None,
                     name: Optional[str] = None,
                     parameters: Optional[Mapping[str, DscConfigurationParameterArgs]] = None,
                     tags: Optional[Mapping[str, str]] = None)
func NewDscConfiguration(ctx *Context, name string, args DscConfigurationArgs, opts ...ResourceOption) (*DscConfiguration, error)
public DscConfiguration(string name, DscConfigurationArgs args, CustomResourceOptions? opts = null)
public DscConfiguration(String name, DscConfigurationArgs args)
public DscConfiguration(String name, DscConfigurationArgs args, CustomResourceOptions options)
type: azure-native:automation:DscConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DscConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DscConfigurationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DscConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DscConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DscConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var dscConfigurationResource = new AzureNative.Automation.DscConfiguration("dscConfigurationResource", new()
{
    AutomationAccountName = "string",
    ResourceGroupName = "string",
    Source = new AzureNative.Automation.Inputs.ContentSourceArgs
    {
        Hash = new AzureNative.Automation.Inputs.ContentHashArgs
        {
            Algorithm = "string",
            Value = "string",
        },
        Type = "string",
        Value = "string",
        Version = "string",
    },
    ConfigurationName = "string",
    Description = "string",
    Location = "string",
    LogProgress = false,
    LogVerbose = false,
    Name = "string",
    Parameters = 
    {
        { "string", new AzureNative.Automation.Inputs.DscConfigurationParameterArgs
        {
            DefaultValue = "string",
            IsMandatory = false,
            Position = 0,
            Type = "string",
        } },
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := automation.NewDscConfiguration(ctx, "dscConfigurationResource", &automation.DscConfigurationArgs{
	AutomationAccountName: pulumi.String("string"),
	ResourceGroupName:     pulumi.String("string"),
	Source: &automation.ContentSourceArgs{
		Hash: &automation.ContentHashArgs{
			Algorithm: pulumi.String("string"),
			Value:     pulumi.String("string"),
		},
		Type:    pulumi.String("string"),
		Value:   pulumi.String("string"),
		Version: pulumi.String("string"),
	},
	ConfigurationName: pulumi.String("string"),
	Description:       pulumi.String("string"),
	Location:          pulumi.String("string"),
	LogProgress:       pulumi.Bool(false),
	LogVerbose:        pulumi.Bool(false),
	Name:              pulumi.String("string"),
	Parameters: automation.DscConfigurationParameterMap{
		"string": &automation.DscConfigurationParameterArgs{
			DefaultValue: pulumi.String("string"),
			IsMandatory:  pulumi.Bool(false),
			Position:     pulumi.Int(0),
			Type:         pulumi.String("string"),
		},
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var dscConfigurationResource = new DscConfiguration("dscConfigurationResource", DscConfigurationArgs.builder()
    .automationAccountName("string")
    .resourceGroupName("string")
    .source(ContentSourceArgs.builder()
        .hash(ContentHashArgs.builder()
            .algorithm("string")
            .value("string")
            .build())
        .type("string")
        .value("string")
        .version("string")
        .build())
    .configurationName("string")
    .description("string")
    .location("string")
    .logProgress(false)
    .logVerbose(false)
    .name("string")
    .parameters(Map.of("string", Map.ofEntries(
        Map.entry("defaultValue", "string"),
        Map.entry("isMandatory", false),
        Map.entry("position", 0),
        Map.entry("type", "string")
    )))
    .tags(Map.of("string", "string"))
    .build());
Copy
dsc_configuration_resource = azure_native.automation.DscConfiguration("dscConfigurationResource",
    automation_account_name="string",
    resource_group_name="string",
    source={
        "hash": {
            "algorithm": "string",
            "value": "string",
        },
        "type": "string",
        "value": "string",
        "version": "string",
    },
    configuration_name="string",
    description="string",
    location="string",
    log_progress=False,
    log_verbose=False,
    name="string",
    parameters={
        "string": {
            "default_value": "string",
            "is_mandatory": False,
            "position": 0,
            "type": "string",
        },
    },
    tags={
        "string": "string",
    })
Copy
const dscConfigurationResource = new azure_native.automation.DscConfiguration("dscConfigurationResource", {
    automationAccountName: "string",
    resourceGroupName: "string",
    source: {
        hash: {
            algorithm: "string",
            value: "string",
        },
        type: "string",
        value: "string",
        version: "string",
    },
    configurationName: "string",
    description: "string",
    location: "string",
    logProgress: false,
    logVerbose: false,
    name: "string",
    parameters: {
        string: {
            defaultValue: "string",
            isMandatory: false,
            position: 0,
            type: "string",
        },
    },
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:automation:DscConfiguration
properties:
    automationAccountName: string
    configurationName: string
    description: string
    location: string
    logProgress: false
    logVerbose: false
    name: string
    parameters:
        string:
            defaultValue: string
            isMandatory: false
            position: 0
            type: string
    resourceGroupName: string
    source:
        hash:
            algorithm: string
            value: string
        type: string
        value: string
        version: string
    tags:
        string: string
Copy

DscConfiguration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DscConfiguration resource accepts the following input properties:

AutomationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the automation account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure Resource group.
Source This property is required. Pulumi.AzureNative.Automation.Inputs.ContentSource
Gets or sets the source.
ConfigurationName Changes to this property will trigger replacement. string
The create or update parameters for configuration.
Description string
Gets or sets the description of the configuration.
Location string
Gets or sets the location of the resource.
LogProgress bool
Gets or sets progress log option.
LogVerbose bool
Gets or sets verbose log option.
Name string
Gets or sets name of the resource.
Parameters Dictionary<string, Pulumi.AzureNative.Automation.Inputs.DscConfigurationParameterArgs>
Gets or sets the configuration parameters.
Tags Dictionary<string, string>
Gets or sets the tags attached to the resource.
AutomationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the automation account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure Resource group.
Source This property is required. ContentSourceArgs
Gets or sets the source.
ConfigurationName Changes to this property will trigger replacement. string
The create or update parameters for configuration.
Description string
Gets or sets the description of the configuration.
Location string
Gets or sets the location of the resource.
LogProgress bool
Gets or sets progress log option.
LogVerbose bool
Gets or sets verbose log option.
Name string
Gets or sets name of the resource.
Parameters map[string]DscConfigurationParameterArgs
Gets or sets the configuration parameters.
Tags map[string]string
Gets or sets the tags attached to the resource.
automationAccountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the automation account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of an Azure Resource group.
source This property is required. ContentSource
Gets or sets the source.
configurationName Changes to this property will trigger replacement. String
The create or update parameters for configuration.
description String
Gets or sets the description of the configuration.
location String
Gets or sets the location of the resource.
logProgress Boolean
Gets or sets progress log option.
logVerbose Boolean
Gets or sets verbose log option.
name String
Gets or sets name of the resource.
parameters Map<String,DscConfigurationParameterArgs>
Gets or sets the configuration parameters.
tags Map<String,String>
Gets or sets the tags attached to the resource.
automationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the automation account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure Resource group.
source This property is required. ContentSource
Gets or sets the source.
configurationName Changes to this property will trigger replacement. string
The create or update parameters for configuration.
description string
Gets or sets the description of the configuration.
location string
Gets or sets the location of the resource.
logProgress boolean
Gets or sets progress log option.
logVerbose boolean
Gets or sets verbose log option.
name string
Gets or sets name of the resource.
parameters {[key: string]: DscConfigurationParameterArgs}
Gets or sets the configuration parameters.
tags {[key: string]: string}
Gets or sets the tags attached to the resource.
automation_account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the automation account.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of an Azure Resource group.
source This property is required. ContentSourceArgs
Gets or sets the source.
configuration_name Changes to this property will trigger replacement. str
The create or update parameters for configuration.
description str
Gets or sets the description of the configuration.
location str
Gets or sets the location of the resource.
log_progress bool
Gets or sets progress log option.
log_verbose bool
Gets or sets verbose log option.
name str
Gets or sets name of the resource.
parameters Mapping[str, DscConfigurationParameterArgs]
Gets or sets the configuration parameters.
tags Mapping[str, str]
Gets or sets the tags attached to the resource.
automationAccountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the automation account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of an Azure Resource group.
source This property is required. Property Map
Gets or sets the source.
configurationName Changes to this property will trigger replacement. String
The create or update parameters for configuration.
description String
Gets or sets the description of the configuration.
location String
Gets or sets the location of the resource.
logProgress Boolean
Gets or sets progress log option.
logVerbose Boolean
Gets or sets verbose log option.
name String
Gets or sets name of the resource.
parameters Map<Property Map>
Gets or sets the configuration parameters.
tags Map<String>
Gets or sets the tags attached to the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the DscConfiguration resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Type string
The type of the resource.
CreationTime string
Gets or sets the creation time.
Etag string
Gets or sets the etag of the resource.
JobCount int
Gets or sets the job count of the configuration.
LastModifiedTime string
Gets or sets the last modified time.
NodeConfigurationCount int
Gets the number of compiled node configurations.
ProvisioningState string
Gets or sets the provisioning state of the configuration.
State string
Gets or sets the state of the configuration.
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Type string
The type of the resource.
CreationTime string
Gets or sets the creation time.
Etag string
Gets or sets the etag of the resource.
JobCount int
Gets or sets the job count of the configuration.
LastModifiedTime string
Gets or sets the last modified time.
NodeConfigurationCount int
Gets the number of compiled node configurations.
ProvisioningState string
Gets or sets the provisioning state of the configuration.
State string
Gets or sets the state of the configuration.
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
type String
The type of the resource.
creationTime String
Gets or sets the creation time.
etag String
Gets or sets the etag of the resource.
jobCount Integer
Gets or sets the job count of the configuration.
lastModifiedTime String
Gets or sets the last modified time.
nodeConfigurationCount Integer
Gets the number of compiled node configurations.
provisioningState String
Gets or sets the provisioning state of the configuration.
state String
Gets or sets the state of the configuration.
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
type string
The type of the resource.
creationTime string
Gets or sets the creation time.
etag string
Gets or sets the etag of the resource.
jobCount number
Gets or sets the job count of the configuration.
lastModifiedTime string
Gets or sets the last modified time.
nodeConfigurationCount number
Gets the number of compiled node configurations.
provisioningState string
Gets or sets the provisioning state of the configuration.
state string
Gets or sets the state of the configuration.
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
type str
The type of the resource.
creation_time str
Gets or sets the creation time.
etag str
Gets or sets the etag of the resource.
job_count int
Gets or sets the job count of the configuration.
last_modified_time str
Gets or sets the last modified time.
node_configuration_count int
Gets the number of compiled node configurations.
provisioning_state str
Gets or sets the provisioning state of the configuration.
state str
Gets or sets the state of the configuration.
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
type String
The type of the resource.
creationTime String
Gets or sets the creation time.
etag String
Gets or sets the etag of the resource.
jobCount Number
Gets or sets the job count of the configuration.
lastModifiedTime String
Gets or sets the last modified time.
nodeConfigurationCount Number
Gets the number of compiled node configurations.
provisioningState String
Gets or sets the provisioning state of the configuration.
state String
Gets or sets the state of the configuration.

Supporting Types

ContentHash
, ContentHashArgs

Algorithm This property is required. string
Gets or sets the content hash algorithm used to hash the content.
Value This property is required. string
Gets or sets expected hash value of the content.
Algorithm This property is required. string
Gets or sets the content hash algorithm used to hash the content.
Value This property is required. string
Gets or sets expected hash value of the content.
algorithm This property is required. String
Gets or sets the content hash algorithm used to hash the content.
value This property is required. String
Gets or sets expected hash value of the content.
algorithm This property is required. string
Gets or sets the content hash algorithm used to hash the content.
value This property is required. string
Gets or sets expected hash value of the content.
algorithm This property is required. str
Gets or sets the content hash algorithm used to hash the content.
value This property is required. str
Gets or sets expected hash value of the content.
algorithm This property is required. String
Gets or sets the content hash algorithm used to hash the content.
value This property is required. String
Gets or sets expected hash value of the content.

ContentHashResponse
, ContentHashResponseArgs

Algorithm This property is required. string
Gets or sets the content hash algorithm used to hash the content.
Value This property is required. string
Gets or sets expected hash value of the content.
Algorithm This property is required. string
Gets or sets the content hash algorithm used to hash the content.
Value This property is required. string
Gets or sets expected hash value of the content.
algorithm This property is required. String
Gets or sets the content hash algorithm used to hash the content.
value This property is required. String
Gets or sets expected hash value of the content.
algorithm This property is required. string
Gets or sets the content hash algorithm used to hash the content.
value This property is required. string
Gets or sets expected hash value of the content.
algorithm This property is required. str
Gets or sets the content hash algorithm used to hash the content.
value This property is required. str
Gets or sets expected hash value of the content.
algorithm This property is required. String
Gets or sets the content hash algorithm used to hash the content.
value This property is required. String
Gets or sets expected hash value of the content.

ContentSource
, ContentSourceArgs

Hash Pulumi.AzureNative.Automation.Inputs.ContentHash
Gets or sets the hash.
Type string | Pulumi.AzureNative.Automation.ContentSourceType
Gets or sets the content source type.
Value string
Gets or sets the value of the content. This is based on the content source type.
Version string
Gets or sets the version of the content.
Hash ContentHash
Gets or sets the hash.
Type string | ContentSourceType
Gets or sets the content source type.
Value string
Gets or sets the value of the content. This is based on the content source type.
Version string
Gets or sets the version of the content.
hash ContentHash
Gets or sets the hash.
type String | ContentSourceType
Gets or sets the content source type.
value String
Gets or sets the value of the content. This is based on the content source type.
version String
Gets or sets the version of the content.
hash ContentHash
Gets or sets the hash.
type string | ContentSourceType
Gets or sets the content source type.
value string
Gets or sets the value of the content. This is based on the content source type.
version string
Gets or sets the version of the content.
hash ContentHash
Gets or sets the hash.
type str | ContentSourceType
Gets or sets the content source type.
value str
Gets or sets the value of the content. This is based on the content source type.
version str
Gets or sets the version of the content.
hash Property Map
Gets or sets the hash.
type String | "embeddedContent" | "uri"
Gets or sets the content source type.
value String
Gets or sets the value of the content. This is based on the content source type.
version String
Gets or sets the version of the content.

ContentSourceResponse
, ContentSourceResponseArgs

Hash Pulumi.AzureNative.Automation.Inputs.ContentHashResponse
Gets or sets the hash.
Type string
Gets or sets the content source type.
Value string
Gets or sets the value of the content. This is based on the content source type.
Version string
Gets or sets the version of the content.
Hash ContentHashResponse
Gets or sets the hash.
Type string
Gets or sets the content source type.
Value string
Gets or sets the value of the content. This is based on the content source type.
Version string
Gets or sets the version of the content.
hash ContentHashResponse
Gets or sets the hash.
type String
Gets or sets the content source type.
value String
Gets or sets the value of the content. This is based on the content source type.
version String
Gets or sets the version of the content.
hash ContentHashResponse
Gets or sets the hash.
type string
Gets or sets the content source type.
value string
Gets or sets the value of the content. This is based on the content source type.
version string
Gets or sets the version of the content.
hash ContentHashResponse
Gets or sets the hash.
type str
Gets or sets the content source type.
value str
Gets or sets the value of the content. This is based on the content source type.
version str
Gets or sets the version of the content.
hash Property Map
Gets or sets the hash.
type String
Gets or sets the content source type.
value String
Gets or sets the value of the content. This is based on the content source type.
version String
Gets or sets the version of the content.

ContentSourceType
, ContentSourceTypeArgs

EmbeddedContent
embeddedContent
Uri
uri
ContentSourceTypeEmbeddedContent
embeddedContent
ContentSourceTypeUri
uri
EmbeddedContent
embeddedContent
Uri
uri
EmbeddedContent
embeddedContent
Uri
uri
EMBEDDED_CONTENT
embeddedContent
URI
uri
"embeddedContent"
embeddedContent
"uri"
uri

DscConfigurationParameter
, DscConfigurationParameterArgs

DefaultValue string
Gets or sets the default value of parameter.
IsMandatory bool
Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
Position int
Get or sets the position of the parameter.
Type string
Gets or sets the type of the parameter.
DefaultValue string
Gets or sets the default value of parameter.
IsMandatory bool
Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
Position int
Get or sets the position of the parameter.
Type string
Gets or sets the type of the parameter.
defaultValue String
Gets or sets the default value of parameter.
isMandatory Boolean
Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
position Integer
Get or sets the position of the parameter.
type String
Gets or sets the type of the parameter.
defaultValue string
Gets or sets the default value of parameter.
isMandatory boolean
Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
position number
Get or sets the position of the parameter.
type string
Gets or sets the type of the parameter.
default_value str
Gets or sets the default value of parameter.
is_mandatory bool
Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
position int
Get or sets the position of the parameter.
type str
Gets or sets the type of the parameter.
defaultValue String
Gets or sets the default value of parameter.
isMandatory Boolean
Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
position Number
Get or sets the position of the parameter.
type String
Gets or sets the type of the parameter.

DscConfigurationParameterResponse
, DscConfigurationParameterResponseArgs

DefaultValue string
Gets or sets the default value of parameter.
IsMandatory bool
Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
Position int
Get or sets the position of the parameter.
Type string
Gets or sets the type of the parameter.
DefaultValue string
Gets or sets the default value of parameter.
IsMandatory bool
Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
Position int
Get or sets the position of the parameter.
Type string
Gets or sets the type of the parameter.
defaultValue String
Gets or sets the default value of parameter.
isMandatory Boolean
Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
position Integer
Get or sets the position of the parameter.
type String
Gets or sets the type of the parameter.
defaultValue string
Gets or sets the default value of parameter.
isMandatory boolean
Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
position number
Get or sets the position of the parameter.
type string
Gets or sets the type of the parameter.
default_value str
Gets or sets the default value of parameter.
is_mandatory bool
Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
position int
Get or sets the position of the parameter.
type str
Gets or sets the type of the parameter.
defaultValue String
Gets or sets the default value of parameter.
isMandatory Boolean
Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
position Number
Get or sets the position of the parameter.
type String
Gets or sets the type of the parameter.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:automation:DscConfiguration SetupServer /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations/{configurationName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi