cloud-init v1.3.0, Nov 18 21
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:
- Parts
[]Config
Part Args - Base64Encode bool
- Boundary string
- Gzip bool
- parts
List<Config
Part Args> - base64Encode Boolean
- boundary String
- gzip Boolean
- parts
Config
Part Args[] - base64Encode boolean
- boundary string
- gzip boolean
- parts
Sequence[Config
Part Args] - base64_
encode bool - boundary str
- gzip bool
- parts List<Property Map>
- base64Encode Boolean
- boundary String
- gzip Boolean
Outputs
All input properties are implicitly available as output properties. Additionally, the Config resource produces the following output properties:
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.
- Base64Encode bool
- Boundary string
- Gzip bool
- Parts
List<Pulumi.
Cloud Init. Inputs. Config Part Args> - Rendered string
rendered cloudinit configuration
- Base64Encode bool
- Boundary string
- Gzip bool
- Parts
[]Config
Part Args - Rendered string
rendered cloudinit configuration
- base64Encode Boolean
- boundary String
- gzip Boolean
- parts
List<Config
Part Args> - rendered String
rendered cloudinit configuration
- base64Encode boolean
- boundary string
- gzip boolean
- parts
Config
Part Args[] - rendered string
rendered cloudinit configuration
- base64_
encode bool - boundary str
- gzip bool
- parts
Sequence[Config
Part Args] - 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
- Content
Type string - Filename string
- Merge
Type string
- Content string
- Content
Type string - Filename string
- Merge
Type string
- content String
- content
Type String - filename String
- merge
Type String
- content string
- content
Type string - filename string
- merge
Type string
- content str
- content_
type str - filename str
- merge_
type str
- content String
- content
Type String - filename String
- merge
Type String
Package Details
- Repository
- cloud-init pulumi/pulumi-cloudinit
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
cloudinit
Terraform Provider.