azure-native-v2.automation.DscNodeConfiguration
Explore with Pulumi AI
Definition of the dsc node configuration. Azure REST API version: 2022-08-08. Prior API version in Azure Native 1.x: 2019-06-01.
Other available API versions: 2023-05-15-preview, 2023-11-01, 2024-10-23.
Create DscNodeConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DscNodeConfiguration(name: string, args: DscNodeConfigurationArgs, opts?: CustomResourceOptions);
@overload
def DscNodeConfiguration(resource_name: str,
args: DscNodeConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DscNodeConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
automation_account_name: Optional[str] = None,
configuration: Optional[DscConfigurationAssociationPropertyArgs] = None,
resource_group_name: Optional[str] = None,
source: Optional[ContentSourceArgs] = None,
increment_node_configuration_build: Optional[bool] = None,
name: Optional[str] = None,
node_configuration_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewDscNodeConfiguration(ctx *Context, name string, args DscNodeConfigurationArgs, opts ...ResourceOption) (*DscNodeConfiguration, error)
public DscNodeConfiguration(string name, DscNodeConfigurationArgs args, CustomResourceOptions? opts = null)
public DscNodeConfiguration(String name, DscNodeConfigurationArgs args)
public DscNodeConfiguration(String name, DscNodeConfigurationArgs args, CustomResourceOptions options)
type: azure-native:automation:DscNodeConfiguration
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. DscNodeConfigurationArgs - 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. DscNodeConfigurationArgs - 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. DscNodeConfigurationArgs - 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. DscNodeConfigurationArgs - 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. DscNodeConfigurationArgs - 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 dscNodeConfigurationResource = new AzureNative.Automation.DscNodeConfiguration("dscNodeConfigurationResource", new()
{
AutomationAccountName = "string",
Configuration =
{
{ "name", "string" },
},
ResourceGroupName = "string",
Source =
{
{ "hash",
{
{ "algorithm", "string" },
{ "value", "string" },
} },
{ "type", "string" },
{ "value", "string" },
{ "version", "string" },
},
IncrementNodeConfigurationBuild = false,
Name = "string",
NodeConfigurationName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := automation.NewDscNodeConfiguration(ctx, "dscNodeConfigurationResource", &automation.DscNodeConfigurationArgs{
AutomationAccountName: "string",
Configuration: map[string]interface{}{
"name": "string",
},
ResourceGroupName: "string",
Source: map[string]interface{}{
"hash": map[string]interface{}{
"algorithm": "string",
"value": "string",
},
"type": "string",
"value": "string",
"version": "string",
},
IncrementNodeConfigurationBuild: false,
Name: "string",
NodeConfigurationName: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var dscNodeConfigurationResource = new DscNodeConfiguration("dscNodeConfigurationResource", DscNodeConfigurationArgs.builder()
.automationAccountName("string")
.configuration(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.source(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.incrementNodeConfigurationBuild(false)
.name("string")
.nodeConfigurationName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
dsc_node_configuration_resource = azure_native.automation.DscNodeConfiguration("dscNodeConfigurationResource",
automation_account_name=string,
configuration={
name: string,
},
resource_group_name=string,
source={
hash: {
algorithm: string,
value: string,
},
type: string,
value: string,
version: string,
},
increment_node_configuration_build=False,
name=string,
node_configuration_name=string,
tags={
string: string,
})
const dscNodeConfigurationResource = new azure_native.automation.DscNodeConfiguration("dscNodeConfigurationResource", {
automationAccountName: "string",
configuration: {
name: "string",
},
resourceGroupName: "string",
source: {
hash: {
algorithm: "string",
value: "string",
},
type: "string",
value: "string",
version: "string",
},
incrementNodeConfigurationBuild: false,
name: "string",
nodeConfigurationName: "string",
tags: {
string: "string",
},
});
type: azure-native:automation:DscNodeConfiguration
properties:
automationAccountName: string
configuration:
name: string
incrementNodeConfigurationBuild: false
name: string
nodeConfigurationName: string
resourceGroupName: string
source:
hash:
algorithm: string
value: string
type: string
value: string
version: string
tags:
string: string
DscNodeConfiguration 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 DscNodeConfiguration resource accepts the following input properties:
- Automation
Account Name This property is required. Changes to this property will trigger replacement.
- The name of the automation account.
- Configuration
This property is required. Pulumi.Azure Native. Automation. Inputs. Dsc Configuration Association Property - Gets or sets the configuration of the node.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of an Azure Resource group.
- Source
This property is required. Pulumi.Azure Native. Automation. Inputs. Content Source - Gets or sets the source.
- Increment
Node boolConfiguration Build - If a new build version of NodeConfiguration is required.
- Name string
- Name of the node configuration.
- Node
Configuration Name Changes to this property will trigger replacement.
- The Dsc node configuration name.
- Dictionary<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.
- The name of the automation account.
- Configuration
This property is required. DscConfiguration Association Property Args - Gets or sets the configuration of the node.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of an Azure Resource group.
- Source
This property is required. ContentSource Args - Gets or sets the source.
- Increment
Node boolConfiguration Build - If a new build version of NodeConfiguration is required.
- Name string
- Name of the node configuration.
- Node
Configuration Name Changes to this property will trigger replacement.
- The Dsc node configuration name.
- map[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.
- The name of the automation account.
- configuration
This property is required. DscConfiguration Association Property - Gets or sets the configuration of the node.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of an Azure Resource group.
- source
This property is required. ContentSource - Gets or sets the source.
- increment
Node BooleanConfiguration Build - If a new build version of NodeConfiguration is required.
- name String
- Name of the node configuration.
- node
Configuration Name Changes to this property will trigger replacement.
- The Dsc node configuration name.
- Map<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.
- The name of the automation account.
- configuration
This property is required. DscConfiguration Association Property - Gets or sets the configuration of the node.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of an Azure Resource group.
- source
This property is required. ContentSource - Gets or sets the source.
- increment
Node booleanConfiguration Build - If a new build version of NodeConfiguration is required.
- name string
- Name of the node configuration.
- node
Configuration Name Changes to this property will trigger replacement.
- The Dsc node configuration name.
- {[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.
- The name of the automation account.
- configuration
This property is required. DscConfiguration Association Property Args - Gets or sets the configuration of the node.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of an Azure Resource group.
- source
This property is required. ContentSource Args - Gets or sets the source.
- increment_
node_ boolconfiguration_ build - If a new build version of NodeConfiguration is required.
- name str
- Name of the node configuration.
- node_
configuration_ name Changes to this property will trigger replacement.
- The Dsc node configuration name.
- Mapping[str, str]
- Gets or sets the tags attached to the resource.
- automation
Account Name This property is required. Changes to this property will trigger replacement.
- The name of the automation account.
- configuration
This property is required. Property Map - Gets or sets the configuration of the node.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of an Azure Resource group.
- source
This property is required. Property Map - Gets or sets the source.
- increment
Node BooleanConfiguration Build - If a new build version of NodeConfiguration is required.
- name String
- Name of the node configuration.
- node
Configuration Name Changes to this property will trigger replacement.
- The Dsc node configuration name.
- Map<String>
- Gets or sets the tags attached to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the DscNodeConfiguration resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Type string
- The type of the resource.
- Creation
Time string - Gets or sets creation time.
- Last
Modified stringTime - Gets or sets the last modified time.
- Node
Count double - Number of nodes with this node configuration assigned
- Id string
- The provider-assigned unique ID for this managed resource.
- Type string
- The type of the resource.
- Creation
Time string - Gets or sets creation time.
- Last
Modified stringTime - Gets or sets the last modified time.
- Node
Count float64 - Number of nodes with this node configuration assigned
- id String
- The provider-assigned unique ID for this managed resource.
- type String
- The type of the resource.
- creation
Time String - Gets or sets creation time.
- last
Modified StringTime - Gets or sets the last modified time.
- node
Count Double - Number of nodes with this node configuration assigned
- id string
- The provider-assigned unique ID for this managed resource.
- type string
- The type of the resource.
- creation
Time string - Gets or sets creation time.
- last
Modified stringTime - Gets or sets the last modified time.
- node
Count number - Number of nodes with this node configuration assigned
- id str
- The provider-assigned unique ID for this managed resource.
- type str
- The type of the resource.
- creation_
time str - Gets or sets creation time.
- last_
modified_ strtime - Gets or sets the last modified time.
- node_
count float - Number of nodes with this node configuration assigned
- id String
- The provider-assigned unique ID for this managed resource.
- type String
- The type of the resource.
- creation
Time String - Gets or sets creation time.
- last
Modified StringTime - Gets or sets the last modified time.
- node
Count Number - Number of nodes with this node configuration assigned
Supporting Types
ContentHash, ContentHashArgs
ContentSource, ContentSourceArgs
- Hash
Pulumi.
Azure Native. Automation. Inputs. Content Hash - Gets or sets the hash.
- Type
string | Pulumi.
Azure Native. Automation. Content Source Type - 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
Content
Hash - Gets or sets the hash.
- Type
string | Content
Source Type - 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
Content
Hash - Gets or sets the hash.
- type
String | Content
Source Type - 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
Content
Hash - Gets or sets the hash.
- type
string | Content
Source Type - 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
Content
Hash - Gets or sets the hash.
- type
str | Content
Source Type - 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 | "embedded
Content" | "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.
ContentSourceType, ContentSourceTypeArgs
- Embedded
Content - embeddedContent
- Uri
- uri
- Content
Source Type Embedded Content - embeddedContent
- Content
Source Type Uri - uri
- Embedded
Content - embeddedContent
- Uri
- uri
- Embedded
Content - embeddedContent
- Uri
- uri
- EMBEDDED_CONTENT
- embeddedContent
- URI
- uri
- "embedded
Content" - embeddedContent
- "uri"
- uri
DscConfigurationAssociationProperty, DscConfigurationAssociationPropertyArgs
- Name string
- Gets or sets the name of the Dsc configuration.
- Name string
- Gets or sets the name of the Dsc configuration.
- name String
- Gets or sets the name of the Dsc configuration.
- name string
- Gets or sets the name of the Dsc configuration.
- name str
- Gets or sets the name of the Dsc configuration.
- name String
- Gets or sets the name of the Dsc configuration.
DscConfigurationAssociationPropertyResponse, DscConfigurationAssociationPropertyResponseArgs
- Name string
- Gets or sets the name of the Dsc configuration.
- Name string
- Gets or sets the name of the Dsc configuration.
- name String
- Gets or sets the name of the Dsc configuration.
- name string
- Gets or sets the name of the Dsc configuration.
- name str
- Gets or sets the name of the Dsc configuration.
- name String
- Gets or sets the name of the Dsc configuration.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:automation:DscNodeConfiguration configName.nodeConfigName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodeConfigurations/{nodeConfigurationName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0