cloudinit

package
v1.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

A Pulumi package for creating and managing cloudinit cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	pulumi.CustomResourceState

	// Specify whether or not to base64 encode the `rendered` output. Defaults to `true`, and cannot be disabled if gzip is `true`.
	Base64Encode pulumi.BoolOutput `pulumi:"base64Encode"`
	// Specify the Writer's default boundary separator. Defaults to `MIMEBOUNDARY`.
	Boundary pulumi.StringOutput `pulumi:"boundary"`
	// Specify whether or not to gzip the `rendered` output. Defaults to `true`.
	Gzip pulumi.BoolOutput `pulumi:"gzip"`
	// A nested block type which adds a file to the generated cloud-init configuration. Use multiple `part` blocks to specify multiple files, which will be included in order of declaration in the final MIME document.
	Parts ConfigPartArrayOutput `pulumi:"parts"`
	// The final rendered multi-part cloud-init config.
	Rendered pulumi.StringOutput `pulumi:"rendered"`
}

> **This resource is deprecated** Please use the Config

data source instead.

Renders a [multi-part MIME configuration](https://cloudinit.readthedocs.io/en/latest/explanation/format.html#mime-multi-part-archive) for use with [cloud-init](https://cloudinit.readthedocs.io/en/latest/).

Cloud-init is a commonly-used startup configuration utility for cloud compute instances. It accepts configuration via provider-specific user data mechanisms, such as `userData` for Amazon EC2 instances. Multi-part MIME is one of the data formats it accepts. For more information, see [User-Data Formats](https://cloudinit.readthedocs.io/en/latest/explanation/format.html) in the cloud-init manual.

This is not a generalized utility for producing multi-part MIME messages. It's feature set is specialized for cloud-init multi-part MIME messages.

## Example Usage

### Config

### hello-script.sh

### cloud-config.yaml

<!-- This schema was originally generated with tfplugindocs, then modified manually to ensure `part` block list is noted as Required -->

func GetConfig

func GetConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigState, opts ...pulumi.ResourceOption) (*Config, error)

GetConfig gets an existing Config resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConfig

func NewConfig(ctx *pulumi.Context,
	name string, args *ConfigArgs, opts ...pulumi.ResourceOption) (*Config, error)

NewConfig registers a new resource with the given unique name, arguments, and options.

func (*Config) ElementType

func (*Config) ElementType() reflect.Type

func (*Config) ToConfigOutput

func (i *Config) ToConfigOutput() ConfigOutput

func (*Config) ToConfigOutputWithContext

func (i *Config) ToConfigOutputWithContext(ctx context.Context) ConfigOutput

type ConfigArgs

type ConfigArgs struct {
	// Specify whether or not to base64 encode the `rendered` output. Defaults to `true`, and cannot be disabled if gzip is `true`.
	Base64Encode pulumi.BoolPtrInput
	// Specify the Writer's default boundary separator. Defaults to `MIMEBOUNDARY`.
	Boundary pulumi.StringPtrInput
	// Specify whether or not to gzip the `rendered` output. Defaults to `true`.
	Gzip pulumi.BoolPtrInput
	// A nested block type which adds a file to the generated cloud-init configuration. Use multiple `part` blocks to specify multiple files, which will be included in order of declaration in the final MIME document.
	Parts ConfigPartArrayInput
}

The set of arguments for constructing a Config resource.

func (ConfigArgs) ElementType

func (ConfigArgs) ElementType() reflect.Type

type ConfigArray added in v0.1.3

type ConfigArray []ConfigInput

func (ConfigArray) ElementType added in v0.1.3

func (ConfigArray) ElementType() reflect.Type

func (ConfigArray) ToConfigArrayOutput added in v0.1.3

func (i ConfigArray) ToConfigArrayOutput() ConfigArrayOutput

func (ConfigArray) ToConfigArrayOutputWithContext added in v0.1.3

func (i ConfigArray) ToConfigArrayOutputWithContext(ctx context.Context) ConfigArrayOutput

type ConfigArrayInput added in v0.1.3

type ConfigArrayInput interface {
	pulumi.Input

	ToConfigArrayOutput() ConfigArrayOutput
	ToConfigArrayOutputWithContext(context.Context) ConfigArrayOutput
}

ConfigArrayInput is an input type that accepts ConfigArray and ConfigArrayOutput values. You can construct a concrete instance of `ConfigArrayInput` via:

ConfigArray{ ConfigArgs{...} }

type ConfigArrayOutput added in v0.1.3

type ConfigArrayOutput struct{ *pulumi.OutputState }

func (ConfigArrayOutput) ElementType added in v0.1.3

func (ConfigArrayOutput) ElementType() reflect.Type

func (ConfigArrayOutput) Index added in v0.1.3

func (ConfigArrayOutput) ToConfigArrayOutput added in v0.1.3

func (o ConfigArrayOutput) ToConfigArrayOutput() ConfigArrayOutput

func (ConfigArrayOutput) ToConfigArrayOutputWithContext added in v0.1.3

func (o ConfigArrayOutput) ToConfigArrayOutputWithContext(ctx context.Context) ConfigArrayOutput

type ConfigInput

type ConfigInput interface {
	pulumi.Input

	ToConfigOutput() ConfigOutput
	ToConfigOutputWithContext(ctx context.Context) ConfigOutput
}

type ConfigMap added in v0.1.3

type ConfigMap map[string]ConfigInput

func (ConfigMap) ElementType added in v0.1.3

func (ConfigMap) ElementType() reflect.Type

func (ConfigMap) ToConfigMapOutput added in v0.1.3

func (i ConfigMap) ToConfigMapOutput() ConfigMapOutput

func (ConfigMap) ToConfigMapOutputWithContext added in v0.1.3

func (i ConfigMap) ToConfigMapOutputWithContext(ctx context.Context) ConfigMapOutput

type ConfigMapInput added in v0.1.3

type ConfigMapInput interface {
	pulumi.Input

	ToConfigMapOutput() ConfigMapOutput
	ToConfigMapOutputWithContext(context.Context) ConfigMapOutput
}

ConfigMapInput is an input type that accepts ConfigMap and ConfigMapOutput values. You can construct a concrete instance of `ConfigMapInput` via:

ConfigMap{ "key": ConfigArgs{...} }

type ConfigMapOutput added in v0.1.3

type ConfigMapOutput struct{ *pulumi.OutputState }

func (ConfigMapOutput) ElementType added in v0.1.3

func (ConfigMapOutput) ElementType() reflect.Type

func (ConfigMapOutput) MapIndex added in v0.1.3

func (ConfigMapOutput) ToConfigMapOutput added in v0.1.3

func (o ConfigMapOutput) ToConfigMapOutput() ConfigMapOutput

func (ConfigMapOutput) ToConfigMapOutputWithContext added in v0.1.3

func (o ConfigMapOutput) ToConfigMapOutputWithContext(ctx context.Context) ConfigMapOutput

type ConfigOutput

type ConfigOutput struct{ *pulumi.OutputState }

func (ConfigOutput) Base64Encode added in v1.3.1

func (o ConfigOutput) Base64Encode() pulumi.BoolOutput

Specify whether or not to base64 encode the `rendered` output. Defaults to `true`, and cannot be disabled if gzip is `true`.

func (ConfigOutput) Boundary added in v1.3.1

func (o ConfigOutput) Boundary() pulumi.StringOutput

Specify the Writer's default boundary separator. Defaults to `MIMEBOUNDARY`.

func (ConfigOutput) ElementType

func (ConfigOutput) ElementType() reflect.Type

func (ConfigOutput) Gzip added in v1.3.1

func (o ConfigOutput) Gzip() pulumi.BoolOutput

Specify whether or not to gzip the `rendered` output. Defaults to `true`.

func (ConfigOutput) Parts added in v1.3.1

A nested block type which adds a file to the generated cloud-init configuration. Use multiple `part` blocks to specify multiple files, which will be included in order of declaration in the final MIME document.

func (ConfigOutput) Rendered added in v1.3.1

func (o ConfigOutput) Rendered() pulumi.StringOutput

The final rendered multi-part cloud-init config.

func (ConfigOutput) ToConfigOutput

func (o ConfigOutput) ToConfigOutput() ConfigOutput

func (ConfigOutput) ToConfigOutputWithContext

func (o ConfigOutput) ToConfigOutputWithContext(ctx context.Context) ConfigOutput

type ConfigPart

type ConfigPart struct {
	// Body content for the part.
	Content string `pulumi:"content"`
	// A MIME-style content type to report in the header for the part. Defaults to `text/plain`
	ContentType *string `pulumi:"contentType"`
	// A filename to report in the header for the part.
	Filename *string `pulumi:"filename"`
	// A value for the `X-Merge-Type` header of the part, to control [cloud-init merging behavior](https://cloudinit.readthedocs.io/en/latest/reference/merging.html).
	MergeType *string `pulumi:"mergeType"`
}

type ConfigPartArgs

type ConfigPartArgs struct {
	// Body content for the part.
	Content pulumi.StringInput `pulumi:"content"`
	// A MIME-style content type to report in the header for the part. Defaults to `text/plain`
	ContentType pulumi.StringPtrInput `pulumi:"contentType"`
	// A filename to report in the header for the part.
	Filename pulumi.StringPtrInput `pulumi:"filename"`
	// A value for the `X-Merge-Type` header of the part, to control [cloud-init merging behavior](https://cloudinit.readthedocs.io/en/latest/reference/merging.html).
	MergeType pulumi.StringPtrInput `pulumi:"mergeType"`
}

func (ConfigPartArgs) ElementType

func (ConfigPartArgs) ElementType() reflect.Type

func (ConfigPartArgs) ToConfigPartOutput

func (i ConfigPartArgs) ToConfigPartOutput() ConfigPartOutput

func (ConfigPartArgs) ToConfigPartOutputWithContext

func (i ConfigPartArgs) ToConfigPartOutputWithContext(ctx context.Context) ConfigPartOutput

type ConfigPartArray

type ConfigPartArray []ConfigPartInput

func (ConfigPartArray) ElementType

func (ConfigPartArray) ElementType() reflect.Type

func (ConfigPartArray) ToConfigPartArrayOutput

func (i ConfigPartArray) ToConfigPartArrayOutput() ConfigPartArrayOutput

func (ConfigPartArray) ToConfigPartArrayOutputWithContext

func (i ConfigPartArray) ToConfigPartArrayOutputWithContext(ctx context.Context) ConfigPartArrayOutput

type ConfigPartArrayInput

type ConfigPartArrayInput interface {
	pulumi.Input

	ToConfigPartArrayOutput() ConfigPartArrayOutput
	ToConfigPartArrayOutputWithContext(context.Context) ConfigPartArrayOutput
}

ConfigPartArrayInput is an input type that accepts ConfigPartArray and ConfigPartArrayOutput values. You can construct a concrete instance of `ConfigPartArrayInput` via:

ConfigPartArray{ ConfigPartArgs{...} }

type ConfigPartArrayOutput

type ConfigPartArrayOutput struct{ *pulumi.OutputState }

func (ConfigPartArrayOutput) ElementType

func (ConfigPartArrayOutput) ElementType() reflect.Type

func (ConfigPartArrayOutput) Index

func (ConfigPartArrayOutput) ToConfigPartArrayOutput

func (o ConfigPartArrayOutput) ToConfigPartArrayOutput() ConfigPartArrayOutput

func (ConfigPartArrayOutput) ToConfigPartArrayOutputWithContext

func (o ConfigPartArrayOutput) ToConfigPartArrayOutputWithContext(ctx context.Context) ConfigPartArrayOutput

type ConfigPartInput

type ConfigPartInput interface {
	pulumi.Input

	ToConfigPartOutput() ConfigPartOutput
	ToConfigPartOutputWithContext(context.Context) ConfigPartOutput
}

ConfigPartInput is an input type that accepts ConfigPartArgs and ConfigPartOutput values. You can construct a concrete instance of `ConfigPartInput` via:

ConfigPartArgs{...}

type ConfigPartOutput

type ConfigPartOutput struct{ *pulumi.OutputState }

func (ConfigPartOutput) Content

func (o ConfigPartOutput) Content() pulumi.StringOutput

Body content for the part.

func (ConfigPartOutput) ContentType

func (o ConfigPartOutput) ContentType() pulumi.StringPtrOutput

A MIME-style content type to report in the header for the part. Defaults to `text/plain`

func (ConfigPartOutput) ElementType

func (ConfigPartOutput) ElementType() reflect.Type

func (ConfigPartOutput) Filename

A filename to report in the header for the part.

func (ConfigPartOutput) MergeType

func (o ConfigPartOutput) MergeType() pulumi.StringPtrOutput

A value for the `X-Merge-Type` header of the part, to control [cloud-init merging behavior](https://cloudinit.readthedocs.io/en/latest/reference/merging.html).

func (ConfigPartOutput) ToConfigPartOutput

func (o ConfigPartOutput) ToConfigPartOutput() ConfigPartOutput

func (ConfigPartOutput) ToConfigPartOutputWithContext

func (o ConfigPartOutput) ToConfigPartOutputWithContext(ctx context.Context) ConfigPartOutput

type ConfigState

type ConfigState struct {
	// Specify whether or not to base64 encode the `rendered` output. Defaults to `true`, and cannot be disabled if gzip is `true`.
	Base64Encode pulumi.BoolPtrInput
	// Specify the Writer's default boundary separator. Defaults to `MIMEBOUNDARY`.
	Boundary pulumi.StringPtrInput
	// Specify whether or not to gzip the `rendered` output. Defaults to `true`.
	Gzip pulumi.BoolPtrInput
	// A nested block type which adds a file to the generated cloud-init configuration. Use multiple `part` blocks to specify multiple files, which will be included in order of declaration in the final MIME document.
	Parts ConfigPartArrayInput
	// The final rendered multi-part cloud-init config.
	Rendered pulumi.StringPtrInput
}

func (ConfigState) ElementType

func (ConfigState) ElementType() reflect.Type

type GetConfigPart

type GetConfigPart struct {
	// Body content for the part.
	Content string `pulumi:"content"`
	// A MIME-style content type to report in the header for the part. Defaults to `text/plain`
	ContentType *string `pulumi:"contentType"`
	// A filename to report in the header for the part.
	Filename *string `pulumi:"filename"`
	// A value for the `X-Merge-Type` header of the part, to control [cloud-init merging behavior](https://cloudinit.readthedocs.io/en/latest/reference/merging.html).
	MergeType *string `pulumi:"mergeType"`
}

func (*GetConfigPart) Defaults added in v1.4.1

func (val *GetConfigPart) Defaults() *GetConfigPart

Defaults sets the appropriate defaults for GetConfigPart

type GetConfigPartArgs

type GetConfigPartArgs struct {
	// Body content for the part.
	Content pulumi.StringInput `pulumi:"content"`
	// A MIME-style content type to report in the header for the part. Defaults to `text/plain`
	ContentType pulumi.StringPtrInput `pulumi:"contentType"`
	// A filename to report in the header for the part.
	Filename pulumi.StringPtrInput `pulumi:"filename"`
	// A value for the `X-Merge-Type` header of the part, to control [cloud-init merging behavior](https://cloudinit.readthedocs.io/en/latest/reference/merging.html).
	MergeType pulumi.StringPtrInput `pulumi:"mergeType"`
}

func (*GetConfigPartArgs) Defaults added in v1.4.1

func (val *GetConfigPartArgs) Defaults() *GetConfigPartArgs

Defaults sets the appropriate defaults for GetConfigPartArgs

func (GetConfigPartArgs) ElementType

func (GetConfigPartArgs) ElementType() reflect.Type

func (GetConfigPartArgs) ToGetConfigPartOutput

func (i GetConfigPartArgs) ToGetConfigPartOutput() GetConfigPartOutput

func (GetConfigPartArgs) ToGetConfigPartOutputWithContext

func (i GetConfigPartArgs) ToGetConfigPartOutputWithContext(ctx context.Context) GetConfigPartOutput

type GetConfigPartArray

type GetConfigPartArray []GetConfigPartInput

func (GetConfigPartArray) ElementType

func (GetConfigPartArray) ElementType() reflect.Type

func (GetConfigPartArray) ToGetConfigPartArrayOutput

func (i GetConfigPartArray) ToGetConfigPartArrayOutput() GetConfigPartArrayOutput

func (GetConfigPartArray) ToGetConfigPartArrayOutputWithContext

func (i GetConfigPartArray) ToGetConfigPartArrayOutputWithContext(ctx context.Context) GetConfigPartArrayOutput

type GetConfigPartArrayInput

type GetConfigPartArrayInput interface {
	pulumi.Input

	ToGetConfigPartArrayOutput() GetConfigPartArrayOutput
	ToGetConfigPartArrayOutputWithContext(context.Context) GetConfigPartArrayOutput
}

GetConfigPartArrayInput is an input type that accepts GetConfigPartArray and GetConfigPartArrayOutput values. You can construct a concrete instance of `GetConfigPartArrayInput` via:

GetConfigPartArray{ GetConfigPartArgs{...} }

type GetConfigPartArrayOutput

type GetConfigPartArrayOutput struct{ *pulumi.OutputState }

func (GetConfigPartArrayOutput) ElementType

func (GetConfigPartArrayOutput) ElementType() reflect.Type

func (GetConfigPartArrayOutput) Index

func (GetConfigPartArrayOutput) ToGetConfigPartArrayOutput

func (o GetConfigPartArrayOutput) ToGetConfigPartArrayOutput() GetConfigPartArrayOutput

func (GetConfigPartArrayOutput) ToGetConfigPartArrayOutputWithContext

func (o GetConfigPartArrayOutput) ToGetConfigPartArrayOutputWithContext(ctx context.Context) GetConfigPartArrayOutput

type GetConfigPartInput

type GetConfigPartInput interface {
	pulumi.Input

	ToGetConfigPartOutput() GetConfigPartOutput
	ToGetConfigPartOutputWithContext(context.Context) GetConfigPartOutput
}

GetConfigPartInput is an input type that accepts GetConfigPartArgs and GetConfigPartOutput values. You can construct a concrete instance of `GetConfigPartInput` via:

GetConfigPartArgs{...}

type GetConfigPartOutput

type GetConfigPartOutput struct{ *pulumi.OutputState }

func (GetConfigPartOutput) Content

Body content for the part.

func (GetConfigPartOutput) ContentType

func (o GetConfigPartOutput) ContentType() pulumi.StringPtrOutput

A MIME-style content type to report in the header for the part. Defaults to `text/plain`

func (GetConfigPartOutput) ElementType

func (GetConfigPartOutput) ElementType() reflect.Type

func (GetConfigPartOutput) Filename

A filename to report in the header for the part.

func (GetConfigPartOutput) MergeType

A value for the `X-Merge-Type` header of the part, to control [cloud-init merging behavior](https://cloudinit.readthedocs.io/en/latest/reference/merging.html).

func (GetConfigPartOutput) ToGetConfigPartOutput

func (o GetConfigPartOutput) ToGetConfigPartOutput() GetConfigPartOutput

func (GetConfigPartOutput) ToGetConfigPartOutputWithContext

func (o GetConfigPartOutput) ToGetConfigPartOutputWithContext(ctx context.Context) GetConfigPartOutput

type LookupConfigArgs

type LookupConfigArgs struct {
	// Specify whether or not to base64 encode the `rendered` output. Defaults to `true`, and cannot be disabled if gzip is `true`.
	Base64Encode *bool `pulumi:"base64Encode"`
	// Specify the Writer's default boundary separator. Defaults to `MIMEBOUNDARY`.
	Boundary *string `pulumi:"boundary"`
	// Specify whether or not to gzip the `rendered` output. Defaults to `true`.
	Gzip *bool `pulumi:"gzip"`
	// A nested block type which adds a file to the generated cloud-init configuration. Use multiple `part` blocks to specify multiple files, which will be included in order of declaration in the final MIME document.
	Parts []GetConfigPart `pulumi:"parts"`
}

A collection of arguments for invoking getConfig.

type LookupConfigOutputArgs added in v1.2.0

type LookupConfigOutputArgs struct {
	// Specify whether or not to base64 encode the `rendered` output. Defaults to `true`, and cannot be disabled if gzip is `true`.
	Base64Encode pulumi.BoolPtrInput `pulumi:"base64Encode"`
	// Specify the Writer's default boundary separator. Defaults to `MIMEBOUNDARY`.
	Boundary pulumi.StringPtrInput `pulumi:"boundary"`
	// Specify whether or not to gzip the `rendered` output. Defaults to `true`.
	Gzip pulumi.BoolPtrInput `pulumi:"gzip"`
	// A nested block type which adds a file to the generated cloud-init configuration. Use multiple `part` blocks to specify multiple files, which will be included in order of declaration in the final MIME document.
	Parts GetConfigPartArrayInput `pulumi:"parts"`
}

A collection of arguments for invoking getConfig.

func (LookupConfigOutputArgs) ElementType added in v1.2.0

func (LookupConfigOutputArgs) ElementType() reflect.Type

type LookupConfigResult

type LookupConfigResult struct {
	// Specify whether or not to base64 encode the `rendered` output. Defaults to `true`, and cannot be disabled if gzip is `true`.
	Base64Encode bool `pulumi:"base64Encode"`
	// Specify the Writer's default boundary separator. Defaults to `MIMEBOUNDARY`.
	Boundary string `pulumi:"boundary"`
	// Specify whether or not to gzip the `rendered` output. Defaults to `true`.
	Gzip bool `pulumi:"gzip"`
	// [CRC-32](https://pkg.go.dev/hash/crc32) checksum of `rendered` cloud-init config.
	Id string `pulumi:"id"`
	// A nested block type which adds a file to the generated cloud-init configuration. Use multiple `part` blocks to specify multiple files, which will be included in order of declaration in the final MIME document.
	Parts []GetConfigPart `pulumi:"parts"`
	// The final rendered multi-part cloud-init config.
	Rendered string `pulumi:"rendered"`
}

A collection of values returned by getConfig.

func LookupConfig

func LookupConfig(ctx *pulumi.Context, args *LookupConfigArgs, opts ...pulumi.InvokeOption) (*LookupConfigResult, error)

Renders a [multi-part MIME configuration](https://cloudinit.readthedocs.io/en/latest/explanation/format.html#mime-multi-part-archive) for use with [cloud-init](https://cloudinit.readthedocs.io/en/latest/).

Cloud-init is a commonly-used startup configuration utility for cloud compute instances. It accepts configuration via provider-specific user data mechanisms, such as `userData` for Amazon EC2 instances. Multi-part MIME is one of the data formats it accepts. For more information, see [User-Data Formats](https://cloudinit.readthedocs.io/en/latest/explanation/format.html) in the cloud-init manual.

This is not a generalized utility for producing multi-part MIME messages. It's feature set is specialized for cloud-init multi-part MIME messages.

## Example Usage

### Config

### hello-script.sh

### cloud-config.yaml

<!-- This schema was originally generated with tfplugindocs, then modified manually to ensure `part` block list is noted as Required -->

type LookupConfigResultOutput added in v1.2.0

type LookupConfigResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConfig.

func LookupConfigOutput added in v1.2.0

func LookupConfigOutput(ctx *pulumi.Context, args LookupConfigOutputArgs, opts ...pulumi.InvokeOption) LookupConfigResultOutput

func (LookupConfigResultOutput) Base64Encode added in v1.2.0

func (o LookupConfigResultOutput) Base64Encode() pulumi.BoolOutput

Specify whether or not to base64 encode the `rendered` output. Defaults to `true`, and cannot be disabled if gzip is `true`.

func (LookupConfigResultOutput) Boundary added in v1.2.0

Specify the Writer's default boundary separator. Defaults to `MIMEBOUNDARY`.

func (LookupConfigResultOutput) ElementType added in v1.2.0

func (LookupConfigResultOutput) ElementType() reflect.Type

func (LookupConfigResultOutput) Gzip added in v1.2.0

Specify whether or not to gzip the `rendered` output. Defaults to `true`.

func (LookupConfigResultOutput) Id added in v1.2.0

[CRC-32](https://pkg.go.dev/hash/crc32) checksum of `rendered` cloud-init config.

func (LookupConfigResultOutput) Parts added in v1.2.0

A nested block type which adds a file to the generated cloud-init configuration. Use multiple `part` blocks to specify multiple files, which will be included in order of declaration in the final MIME document.

func (LookupConfigResultOutput) Rendered added in v1.2.0

The final rendered multi-part cloud-init config.

func (LookupConfigResultOutput) ToLookupConfigResultOutput added in v1.2.0

func (o LookupConfigResultOutput) ToLookupConfigResultOutput() LookupConfigResultOutput

func (LookupConfigResultOutput) ToLookupConfigResultOutputWithContext added in v1.2.0

func (o LookupConfigResultOutput) ToLookupConfigResultOutputWithContext(ctx context.Context) LookupConfigResultOutput

type Provider

type Provider struct {
	pulumi.ProviderResourceState
}

The provider type for the cloudinit package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL