cloudinit logo
cloud-init v1.3.0, Nov 18 21

cloudinit.Config

Explore with Pulumi AI

Create Config Resource

new Config(name: string, args: ConfigArgs, opts?: CustomResourceOptions);
@overload
def Config(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           base64_encode: Optional[bool] = None,
           boundary: Optional[str] = None,
           gzip: Optional[bool] = None,
           parts: Optional[Sequence[ConfigPartArgs]] = None)
@overload
def Config(resource_name: str,
           args: ConfigArgs,
           opts: Optional[ResourceOptions] = None)
func NewConfig(ctx *Context, name string, args ConfigArgs, opts ...ResourceOption) (*Config, error)
public Config(string name, ConfigArgs args, CustomResourceOptions? opts = null)
public Config(String name, ConfigArgs args)
public Config(String name, ConfigArgs args, CustomResourceOptions options)
type: cloudinit:Config
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ConfigArgs
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 ConfigArgs
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 ConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ConfigArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Config 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 Config resource accepts the following input properties:

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Rendered string

rendered cloudinit configuration

Id string

The provider-assigned unique ID for this managed resource.

Rendered string

rendered cloudinit configuration

id String

The provider-assigned unique ID for this managed resource.

rendered String

rendered cloudinit configuration

id string

The provider-assigned unique ID for this managed resource.

rendered string

rendered cloudinit configuration

id str

The provider-assigned unique ID for this managed resource.

rendered str

rendered cloudinit configuration

id String

The provider-assigned unique ID for this managed resource.

rendered String

rendered cloudinit configuration

Look up Existing Config Resource

Get an existing Config 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?: ConfigState, opts?: CustomResourceOptions): Config
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        base64_encode: Optional[bool] = None,
        boundary: Optional[str] = None,
        gzip: Optional[bool] = None,
        parts: Optional[Sequence[ConfigPartArgs]] = None,
        rendered: Optional[str] = None) -> Config
func GetConfig(ctx *Context, name string, id IDInput, state *ConfigState, opts ...ResourceOption) (*Config, error)
public static Config Get(string name, Input<string> id, ConfigState? state, CustomResourceOptions? opts = null)
public static Config get(String name, Output<String> id, ConfigState 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.
The following state arguments are supported:
Base64Encode bool
Boundary string
Gzip bool
Parts List<Pulumi.CloudInit.Inputs.ConfigPartArgs>
Rendered string

rendered cloudinit configuration

Base64Encode bool
Boundary string
Gzip bool
Parts []ConfigPartArgs
Rendered string

rendered cloudinit configuration

base64Encode Boolean
boundary String
gzip Boolean
parts List<ConfigPartArgs>
rendered String

rendered cloudinit configuration

base64Encode boolean
boundary string
gzip boolean
parts ConfigPartArgs[]
rendered string

rendered cloudinit configuration

base64_encode bool
boundary str
gzip bool
parts Sequence[ConfigPartArgs]
rendered str

rendered cloudinit configuration

base64Encode Boolean
boundary String
gzip Boolean
parts List<Property Map>
rendered String

rendered cloudinit configuration

Supporting Types

ConfigPart

Content string
ContentType string
Filename string
MergeType string
Content string
ContentType string
Filename string
MergeType string
content String
contentType String
filename String
mergeType String
content string
contentType string
filename string
mergeType string
content String
contentType String
filename String
mergeType String

Package Details

Repository
cloud-init pulumi/pulumi-cloudinit
License
Apache-2.0
Notes

This Pulumi package is based on the cloudinit Terraform Provider.