talos.machine.ConfigurationApply
Explore with Pulumi AI
The machine configuration apply resource allows to apply machine configuration to a node
Create ConfigurationApply Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConfigurationApply(name: string, args: ConfigurationApplyArgs, opts?: CustomResourceOptions);
@overload
def ConfigurationApply(resource_name: str,
args: ConfigurationApplyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConfigurationApply(resource_name: str,
opts: Optional[ResourceOptions] = None,
client_configuration: Optional[ConfigurationApplyClientConfigurationArgs] = None,
machine_configuration_input: Optional[str] = None,
node: Optional[str] = None,
apply_mode: Optional[str] = None,
config_patches: Optional[Sequence[str]] = None,
endpoint: Optional[str] = None,
timeouts: Optional[TimeoutArgs] = None)
func NewConfigurationApply(ctx *Context, name string, args ConfigurationApplyArgs, opts ...ResourceOption) (*ConfigurationApply, error)
public ConfigurationApply(string name, ConfigurationApplyArgs args, CustomResourceOptions? opts = null)
public ConfigurationApply(String name, ConfigurationApplyArgs args)
public ConfigurationApply(String name, ConfigurationApplyArgs args, CustomResourceOptions options)
type: talos:machine:ConfigurationApply
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ConfigurationApplyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConfigurationApplyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConfigurationApplyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConfigurationApplyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConfigurationApplyArgs
- 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 configurationApplyResource = new Talos.Machine.ConfigurationApply("configurationApplyResource", new()
{
ClientConfiguration = new Talos.Machine.Inputs.ConfigurationApplyClientConfigurationArgs
{
CaCertificate = "string",
ClientCertificate = "string",
ClientKey = "string",
},
MachineConfigurationInput = "string",
Node = "string",
ApplyMode = "string",
ConfigPatches = new[]
{
"string",
},
Endpoint = "string",
Timeouts = new Talos.Machine.Inputs.TimeoutArgs
{
Create = "string",
Update = "string",
},
});
example, err := machine.NewConfigurationApply(ctx, "configurationApplyResource", &machine.ConfigurationApplyArgs{
ClientConfiguration: &machine.ConfigurationApplyClientConfigurationArgs{
CaCertificate: pulumi.String("string"),
ClientCertificate: pulumi.String("string"),
ClientKey: pulumi.String("string"),
},
MachineConfigurationInput: pulumi.String("string"),
Node: pulumi.String("string"),
ApplyMode: pulumi.String("string"),
ConfigPatches: pulumi.StringArray{
pulumi.String("string"),
},
Endpoint: pulumi.String("string"),
Timeouts: &machine.TimeoutArgs{
Create: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var configurationApplyResource = new ConfigurationApply("configurationApplyResource", ConfigurationApplyArgs.builder()
.clientConfiguration(ConfigurationApplyClientConfigurationArgs.builder()
.caCertificate("string")
.clientCertificate("string")
.clientKey("string")
.build())
.machineConfigurationInput("string")
.node("string")
.applyMode("string")
.configPatches("string")
.endpoint("string")
.timeouts(TimeoutArgs.builder()
.create("string")
.update("string")
.build())
.build());
configuration_apply_resource = talos.machine.ConfigurationApply("configurationApplyResource",
client_configuration=talos.machine.ConfigurationApplyClientConfigurationArgs(
ca_certificate="string",
client_certificate="string",
client_key="string",
),
machine_configuration_input="string",
node="string",
apply_mode="string",
config_patches=["string"],
endpoint="string",
timeouts=talos.machine.TimeoutArgs(
create="string",
update="string",
))
const configurationApplyResource = new talos.machine.ConfigurationApply("configurationApplyResource", {
clientConfiguration: {
caCertificate: "string",
clientCertificate: "string",
clientKey: "string",
},
machineConfigurationInput: "string",
node: "string",
applyMode: "string",
configPatches: ["string"],
endpoint: "string",
timeouts: {
create: "string",
update: "string",
},
});
type: talos:machine:ConfigurationApply
properties:
applyMode: string
clientConfiguration:
caCertificate: string
clientCertificate: string
clientKey: string
configPatches:
- string
endpoint: string
machineConfigurationInput: string
node: string
timeouts:
create: string
update: string
ConfigurationApply Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ConfigurationApply resource accepts the following input properties:
- Client
Configuration Pulumiverse.Talos. Machine. Inputs. Configuration Apply Client Configuration - The client configuration data
- Machine
Configuration stringInput - The machine configuration to apply
- Node string
- The name of the node to bootstrap
- Apply
Mode string - The mode of the apply operation
- Config
Patches List<string> - The list of config patches to apply
- Endpoint string
- The endpoint of the machine to bootstrap
- Timeouts
Pulumiverse.
Talos. Machine. Inputs. Timeout
- Client
Configuration ConfigurationApply Client Configuration Args - The client configuration data
- Machine
Configuration stringInput - The machine configuration to apply
- Node string
- The name of the node to bootstrap
- Apply
Mode string - The mode of the apply operation
- Config
Patches []string - The list of config patches to apply
- Endpoint string
- The endpoint of the machine to bootstrap
- Timeouts
Timeout
Args
- client
Configuration ConfigurationApply Client Configuration - The client configuration data
- machine
Configuration StringInput - The machine configuration to apply
- node String
- The name of the node to bootstrap
- apply
Mode String - The mode of the apply operation
- config
Patches List<String> - The list of config patches to apply
- endpoint String
- The endpoint of the machine to bootstrap
- timeouts Timeout
- client
Configuration ConfigurationApply Client Configuration - The client configuration data
- machine
Configuration stringInput - The machine configuration to apply
- node string
- The name of the node to bootstrap
- apply
Mode string - The mode of the apply operation
- config
Patches string[] - The list of config patches to apply
- endpoint string
- The endpoint of the machine to bootstrap
- timeouts Timeout
- client_
configuration ConfigurationApply Client Configuration Args - The client configuration data
- machine_
configuration_ strinput - The machine configuration to apply
- node str
- The name of the node to bootstrap
- apply_
mode str - The mode of the apply operation
- config_
patches Sequence[str] - The list of config patches to apply
- endpoint str
- The endpoint of the machine to bootstrap
- timeouts
Timeout
Args
- client
Configuration Property Map - The client configuration data
- machine
Configuration StringInput - The machine configuration to apply
- node String
- The name of the node to bootstrap
- apply
Mode String - The mode of the apply operation
- config
Patches List<String> - The list of config patches to apply
- endpoint String
- The endpoint of the machine to bootstrap
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the ConfigurationApply resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Machine
Configuration string - The generated machine configuration after applying patches
- Id string
- The provider-assigned unique ID for this managed resource.
- Machine
Configuration string - The generated machine configuration after applying patches
- id String
- The provider-assigned unique ID for this managed resource.
- machine
Configuration String - The generated machine configuration after applying patches
- id string
- The provider-assigned unique ID for this managed resource.
- machine
Configuration string - The generated machine configuration after applying patches
- id str
- The provider-assigned unique ID for this managed resource.
- machine_
configuration str - The generated machine configuration after applying patches
- id String
- The provider-assigned unique ID for this managed resource.
- machine
Configuration String - The generated machine configuration after applying patches
Look up Existing ConfigurationApply Resource
Get an existing ConfigurationApply 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?: ConfigurationApplyState, opts?: CustomResourceOptions): ConfigurationApply
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
apply_mode: Optional[str] = None,
client_configuration: Optional[ConfigurationApplyClientConfigurationArgs] = None,
config_patches: Optional[Sequence[str]] = None,
endpoint: Optional[str] = None,
machine_configuration: Optional[str] = None,
machine_configuration_input: Optional[str] = None,
node: Optional[str] = None,
timeouts: Optional[TimeoutArgs] = None) -> ConfigurationApply
func GetConfigurationApply(ctx *Context, name string, id IDInput, state *ConfigurationApplyState, opts ...ResourceOption) (*ConfigurationApply, error)
public static ConfigurationApply Get(string name, Input<string> id, ConfigurationApplyState? state, CustomResourceOptions? opts = null)
public static ConfigurationApply get(String name, Output<String> id, ConfigurationApplyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Apply
Mode string - The mode of the apply operation
- Client
Configuration Pulumiverse.Talos. Machine. Inputs. Configuration Apply Client Configuration - The client configuration data
- Config
Patches List<string> - The list of config patches to apply
- Endpoint string
- The endpoint of the machine to bootstrap
- Machine
Configuration string - The generated machine configuration after applying patches
- Machine
Configuration stringInput - The machine configuration to apply
- Node string
- The name of the node to bootstrap
- Timeouts
Pulumiverse.
Talos. Machine. Inputs. Timeout
- Apply
Mode string - The mode of the apply operation
- Client
Configuration ConfigurationApply Client Configuration Args - The client configuration data
- Config
Patches []string - The list of config patches to apply
- Endpoint string
- The endpoint of the machine to bootstrap
- Machine
Configuration string - The generated machine configuration after applying patches
- Machine
Configuration stringInput - The machine configuration to apply
- Node string
- The name of the node to bootstrap
- Timeouts
Timeout
Args
- apply
Mode String - The mode of the apply operation
- client
Configuration ConfigurationApply Client Configuration - The client configuration data
- config
Patches List<String> - The list of config patches to apply
- endpoint String
- The endpoint of the machine to bootstrap
- machine
Configuration String - The generated machine configuration after applying patches
- machine
Configuration StringInput - The machine configuration to apply
- node String
- The name of the node to bootstrap
- timeouts Timeout
- apply
Mode string - The mode of the apply operation
- client
Configuration ConfigurationApply Client Configuration - The client configuration data
- config
Patches string[] - The list of config patches to apply
- endpoint string
- The endpoint of the machine to bootstrap
- machine
Configuration string - The generated machine configuration after applying patches
- machine
Configuration stringInput - The machine configuration to apply
- node string
- The name of the node to bootstrap
- timeouts Timeout
- apply_
mode str - The mode of the apply operation
- client_
configuration ConfigurationApply Client Configuration Args - The client configuration data
- config_
patches Sequence[str] - The list of config patches to apply
- endpoint str
- The endpoint of the machine to bootstrap
- machine_
configuration str - The generated machine configuration after applying patches
- machine_
configuration_ strinput - The machine configuration to apply
- node str
- The name of the node to bootstrap
- timeouts
Timeout
Args
- apply
Mode String - The mode of the apply operation
- client
Configuration Property Map - The client configuration data
- config
Patches List<String> - The list of config patches to apply
- endpoint String
- The endpoint of the machine to bootstrap
- machine
Configuration String - The generated machine configuration after applying patches
- machine
Configuration StringInput - The machine configuration to apply
- node String
- The name of the node to bootstrap
- timeouts Property Map
Supporting Types
ConfigurationApplyClientConfiguration, ConfigurationApplyClientConfigurationArgs
- Ca
Certificate string - The client CA certificate
- Client
Certificate string - The client certificate
- Client
Key string - The client key
- Ca
Certificate string - The client CA certificate
- Client
Certificate string - The client certificate
- Client
Key string - The client key
- ca
Certificate String - The client CA certificate
- client
Certificate String - The client certificate
- client
Key String - The client key
- ca
Certificate string - The client CA certificate
- client
Certificate string - The client certificate
- client
Key string - The client key
- ca_
certificate str - The client CA certificate
- client_
certificate str - The client certificate
- client_
key str - The client key
- ca
Certificate String - The client CA certificate
- client
Certificate String - The client certificate
- client
Key String - The client key
Timeout, TimeoutArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Package Details
- Repository
- talos pulumiverse/pulumi-talos
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
talos
Terraform Provider.