pulumi

package
v3.150.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: Apache-2.0 Imports: 45 Imported by: 8,102

Documentation

Index

Constants

View Source
const (
	// EnvOrganization is the envvar used to read the current Pulumi organization name.
	EnvOrganization = "PULUMI_ORGANIZATION"
	// EnvProject is the envvar used to read the current Pulumi project name.
	EnvProject = "PULUMI_PROJECT"
	// EnvStack is the envvar used to read the current Pulumi stack name.
	EnvStack = "PULUMI_STACK"
	// EnvConfig is the envvar used to read the current Pulumi configuration variables.
	EnvConfig = "PULUMI_CONFIG"
	// EnvConfigSecretKeys is the envvar used to read the current Pulumi configuration keys that are secrets.
	//nolint:gosec
	EnvConfigSecretKeys = "PULUMI_CONFIG_SECRET_KEYS"
	// EnvParallel is the envvar used to read the current Pulumi degree of parallelism.
	EnvParallel = "PULUMI_PARALLEL"
	// EnvDryRun is the envvar used to read the current Pulumi dry-run setting.
	EnvDryRun = "PULUMI_DRY_RUN"
	// EnvMonitor is the envvar used to read the current Pulumi monitor RPC address.
	EnvMonitor = "PULUMI_MONITOR"
	// EnvEngine is the envvar used to read the current Pulumi engine RPC address.
	EnvEngine = "PULUMI_ENGINE"
)

Variables

View Source
var ErrPlugins = errors.New("pulumi: plugins requested")

Functions

func BoolRef added in v3.24.0

func BoolRef(v bool) *bool

BoolRef returns a pointer to its argument, used in cases where a parameter requires an optional bool.

func DeferredOutput added in v3.145.0

func DeferredOutput[T any](ctx context.Context) (pulumix.Output[T], func(Output))

DeferredOutput creates an Output whose value can be later resolved from another Output instance.

func Float64Ref added in v3.24.0

func Float64Ref(v float64) *float64

Float64Ref returns a pointer to its argument, used in cases where a parameter requires an optional float64.

func IntRef added in v3.24.0

func IntRef(v int) *int

IntRef returns a pointer to its argument, used in cases where a parameter requires an optional int.

func IsSecret

func IsSecret(o Output) bool

IsSecret returns a bool representing the secretness of the Output

IsSecret may return an inaccurate results if the Output is unknowable (during a preview) or contains an error.

func RegisterInputType added in v3.13.0

func RegisterInputType(interfaceType reflect.Type, input Input)

RegisterInputType registers an Input type with the Pulumi runtime. This allows the input type to be instantiated for a given input interface.

func RegisterOutputType

func RegisterOutputType(output Output)

RegisterOutputType registers an Output type with the Pulumi runtime. If a value of this type's concrete type is returned by an Apply, the Apply will return the specific Output type.

func RegisterPackage

func RegisterPackage(info PackageInfo)

func RegisterResourceModule

func RegisterResourceModule(pkg, mod string, module ResourceModule)

RegisterResourceModule register a resource module with the Pulumi runtime.

func RegisterResourcePackage

func RegisterResourcePackage(pkg string, resourcePackage ResourcePackage)

RegisterResourcePackage register a resource package with the Pulumi runtime.

func Run

func Run(body RunFunc, opts ...RunOption)

Run executes the body of a Pulumi program, granting it access to a deployment context that it may use to register resources and orchestrate deployment activities. This connects back to the Pulumi engine using gRPC. If the program fails, the process will be terminated and the function will not return.

func RunErr

func RunErr(body RunFunc, opts ...RunOption) error

RunErr executes the body of a Pulumi program, granting it access to a deployment context that it may use to register resources and orchestrate deployment activities. This connects back to the Pulumi engine using gRPC.

func RunWithContext

func RunWithContext(ctx *Context, body RunFunc) error

RunWithContext runs the body of a Pulumi program using the given Context for information about the target stack, configuration, and engine connection.

func StringRef added in v3.24.0

func StringRef(v string) *string

StringRef returns a pointer to its argument, used in cases where a parameter requires an optional string.

Types

type Alias

type Alias struct {
	// Optional URN that uniquely identifies a resource. If specified, it takes preference and
	// other members of the struct are ignored.
	URN URNInput
	// The previous name of the resource.  If not provided, the current name of the resource is used.
	Name StringInput
	// The previous type of the resource.  If not provided, the current type of the resource is used.
	Type StringInput
	// The previous parent of the resource. If not provided, the current parent of the resource is used by default.
	// This option is mutually exclusive to `ParentURN` and `NoParent`.
	// Use `Alias { NoParent: pulumi.Bool(true) }` to avoid defaulting to the current parent.
	Parent Resource
	// The previous parent of the resource in URN format, mutually exclusive to `Parent` and `ParentURN`.
	// To specify no original parent, use `Alias { NoParent: pulumi.Bool(true) }`.
	ParentURN URNInput
	// When true, indicates that the resource previously had no parent.
	// This option is mutually exclusive to `Parent` and `ParentURN`.
	NoParent BoolInput
	// The name of the previous stack of the resource.  If not provided, defaults to `context.GetStack()
	Stack StringInput
	// The previous project of the resource. If not provided, defaults to `context.GetProject()`.
	Project StringInput
}

Alias is a partial description of prior named used for a resource. It can be processed in the context of a resource creation to determine what the full aliased URN would be.

type AnyOutput

type AnyOutput struct{ *OutputState }

func Any

func Any(v interface{}) AnyOutput

func AnyWithContext

func AnyWithContext(ctx context.Context, v interface{}) AnyOutput

func JSONUnmarshal added in v3.51.1

func JSONUnmarshal(data StringInput) AnyOutput

JSONUnmarshal uses "encoding/json".Unmarshal to deserialize the given Input JSON string into a value.

func JSONUnmarshalWithContext added in v3.51.1

func JSONUnmarshalWithContext(ctx context.Context, data StringInput) AnyOutput

JSONUnmarshalWithContext uses "encoding/json".Unmarshal to deserialize the given Input JSON string into a value.

func (AnyOutput) AsArchiveArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsArchiveArrayArrayOutput() ArchiveArrayArrayOutput

AsArchiveArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]Archive or a compatible type and returns a `ArchiveArrayArrayOutput` with that value. AsArchiveArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArchiveArrayMapOutput added in v3.36.0

func (a AnyOutput) AsArchiveArrayMapOutput() ArchiveArrayMapOutput

AsArchiveArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]Archive or a compatible type and returns a `ArchiveArrayMapOutput` with that value. AsArchiveArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArchiveArrayOutput added in v3.36.0

func (a AnyOutput) AsArchiveArrayOutput() ArchiveArrayOutput

AsArchiveArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []Archive or a compatible type and returns a `ArchiveArrayOutput` with that value. AsArchiveArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArchiveMapArrayOutput added in v3.36.0

func (a AnyOutput) AsArchiveMapArrayOutput() ArchiveMapArrayOutput

AsArchiveMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]Archive or a compatible type and returns a `ArchiveMapArrayOutput` with that value. AsArchiveMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArchiveMapMapOutput added in v3.36.0

func (a AnyOutput) AsArchiveMapMapOutput() ArchiveMapMapOutput

AsArchiveMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]Archive or a compatible type and returns a `ArchiveMapMapOutput` with that value. AsArchiveMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArchiveMapOutput added in v3.36.0

func (a AnyOutput) AsArchiveMapOutput() ArchiveMapOutput

AsArchiveMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]Archive or a compatible type and returns a `ArchiveMapOutput` with that value. AsArchiveMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArchiveOutput added in v3.36.0

func (a AnyOutput) AsArchiveOutput() ArchiveOutput

AsArchiveOutput asserts that the type of the AnyOutput's underlying interface{} value is Archive and returns a `ArchiveOutput` with that value. AsArchiveOutput panics if the value was not the expected type.

func (AnyOutput) AsArrayArrayMapOutput added in v3.36.0

func (a AnyOutput) AsArrayArrayMapOutput() ArrayArrayMapOutput

AsArrayArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][][]interface{} or a compatible type and returns a `ArrayArrayMapOutput` with that value. AsArrayArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsArrayArrayOutput() ArrayArrayOutput

AsArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]interface{} or a compatible type and returns a `ArrayArrayOutput` with that value. AsArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArrayMapOutput added in v3.36.0

func (a AnyOutput) AsArrayMapOutput() ArrayMapOutput

AsArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]interface{} or a compatible type and returns a `ArrayMapOutput` with that value. AsArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArrayOutput added in v3.36.0

func (a AnyOutput) AsArrayOutput() ArrayOutput

AsArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []interface{} or a compatible type and returns a `ArrayOutput` with that value. AsArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsAssetArrayArrayOutput() AssetArrayArrayOutput

AsAssetArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]Asset or a compatible type and returns a `AssetArrayArrayOutput` with that value. AsAssetArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetArrayMapOutput added in v3.36.0

func (a AnyOutput) AsAssetArrayMapOutput() AssetArrayMapOutput

AsAssetArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]Asset or a compatible type and returns a `AssetArrayMapOutput` with that value. AsAssetArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetArrayOutput added in v3.36.0

func (a AnyOutput) AsAssetArrayOutput() AssetArrayOutput

AsAssetArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []Asset or a compatible type and returns a `AssetArrayOutput` with that value. AsAssetArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetMapArrayOutput added in v3.36.0

func (a AnyOutput) AsAssetMapArrayOutput() AssetMapArrayOutput

AsAssetMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]Asset or a compatible type and returns a `AssetMapArrayOutput` with that value. AsAssetMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetMapMapOutput added in v3.36.0

func (a AnyOutput) AsAssetMapMapOutput() AssetMapMapOutput

AsAssetMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]Asset or a compatible type and returns a `AssetMapMapOutput` with that value. AsAssetMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetMapOutput added in v3.36.0

func (a AnyOutput) AsAssetMapOutput() AssetMapOutput

AsAssetMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]Asset or a compatible type and returns a `AssetMapOutput` with that value. AsAssetMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetOrArchiveArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsAssetOrArchiveArrayArrayOutput() AssetOrArchiveArrayArrayOutput

AsAssetOrArchiveArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]AssetOrArchive or a compatible type and returns a `AssetOrArchiveArrayArrayOutput` with that value. AsAssetOrArchiveArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetOrArchiveArrayMapOutput added in v3.36.0

func (a AnyOutput) AsAssetOrArchiveArrayMapOutput() AssetOrArchiveArrayMapOutput

AsAssetOrArchiveArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]AssetOrArchive or a compatible type and returns a `AssetOrArchiveArrayMapOutput` with that value. AsAssetOrArchiveArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetOrArchiveArrayOutput added in v3.36.0

func (a AnyOutput) AsAssetOrArchiveArrayOutput() AssetOrArchiveArrayOutput

AsAssetOrArchiveArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []AssetOrArchive or a compatible type and returns a `AssetOrArchiveArrayOutput` with that value. AsAssetOrArchiveArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetOrArchiveMapArrayOutput added in v3.36.0

func (a AnyOutput) AsAssetOrArchiveMapArrayOutput() AssetOrArchiveMapArrayOutput

AsAssetOrArchiveMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]AssetOrArchive or a compatible type and returns a `AssetOrArchiveMapArrayOutput` with that value. AsAssetOrArchiveMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetOrArchiveMapMapOutput added in v3.36.0

func (a AnyOutput) AsAssetOrArchiveMapMapOutput() AssetOrArchiveMapMapOutput

AsAssetOrArchiveMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]AssetOrArchive or a compatible type and returns a `AssetOrArchiveMapMapOutput` with that value. AsAssetOrArchiveMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetOrArchiveMapOutput added in v3.36.0

func (a AnyOutput) AsAssetOrArchiveMapOutput() AssetOrArchiveMapOutput

AsAssetOrArchiveMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]AssetOrArchive or a compatible type and returns a `AssetOrArchiveMapOutput` with that value. AsAssetOrArchiveMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetOrArchiveOutput added in v3.36.0

func (a AnyOutput) AsAssetOrArchiveOutput() AssetOrArchiveOutput

AsAssetOrArchiveOutput asserts that the type of the AnyOutput's underlying interface{} value is AssetOrArchive and returns a `AssetOrArchiveOutput` with that value. AsAssetOrArchiveOutput panics if the value was not the expected type.

func (AnyOutput) AsAssetOutput added in v3.36.0

func (a AnyOutput) AsAssetOutput() AssetOutput

AsAssetOutput asserts that the type of the AnyOutput's underlying interface{} value is Asset and returns a `AssetOutput` with that value. AsAssetOutput panics if the value was not the expected type.

func (AnyOutput) AsBoolArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsBoolArrayArrayOutput() BoolArrayArrayOutput

AsBoolArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]bool or a compatible type and returns a `BoolArrayArrayOutput` with that value. AsBoolArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsBoolArrayMapOutput added in v3.36.0

func (a AnyOutput) AsBoolArrayMapOutput() BoolArrayMapOutput

AsBoolArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]bool or a compatible type and returns a `BoolArrayMapOutput` with that value. AsBoolArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsBoolArrayOutput added in v3.36.0

func (a AnyOutput) AsBoolArrayOutput() BoolArrayOutput

AsBoolArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []bool or a compatible type and returns a `BoolArrayOutput` with that value. AsBoolArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsBoolMapArrayOutput added in v3.36.0

func (a AnyOutput) AsBoolMapArrayOutput() BoolMapArrayOutput

AsBoolMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]bool or a compatible type and returns a `BoolMapArrayOutput` with that value. AsBoolMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsBoolMapMapOutput added in v3.36.0

func (a AnyOutput) AsBoolMapMapOutput() BoolMapMapOutput

AsBoolMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]bool or a compatible type and returns a `BoolMapMapOutput` with that value. AsBoolMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsBoolMapOutput added in v3.36.0

func (a AnyOutput) AsBoolMapOutput() BoolMapOutput

AsBoolMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]bool or a compatible type and returns a `BoolMapOutput` with that value. AsBoolMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsBoolOutput added in v3.36.0

func (a AnyOutput) AsBoolOutput() BoolOutput

AsBoolOutput asserts that the type of the AnyOutput's underlying interface{} value is bool and returns a `BoolOutput` with that value. AsBoolOutput panics if the value was not the expected type.

func (AnyOutput) AsBoolPtrOutput added in v3.36.0

func (a AnyOutput) AsBoolPtrOutput() BoolPtrOutput

AsBoolPtrOutput asserts that the type of the AnyOutput's underlying interface{} value is *bool or a compatible type and returns a `BoolPtrOutput` with that value. AsBoolPtrOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsFloat64ArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsFloat64ArrayArrayOutput() Float64ArrayArrayOutput

AsFloat64ArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]float64 or a compatible type and returns a `Float64ArrayArrayOutput` with that value. AsFloat64ArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsFloat64ArrayMapOutput added in v3.36.0

func (a AnyOutput) AsFloat64ArrayMapOutput() Float64ArrayMapOutput

AsFloat64ArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]float64 or a compatible type and returns a `Float64ArrayMapOutput` with that value. AsFloat64ArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsFloat64ArrayOutput added in v3.36.0

func (a AnyOutput) AsFloat64ArrayOutput() Float64ArrayOutput

AsFloat64ArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []float64 or a compatible type and returns a `Float64ArrayOutput` with that value. AsFloat64ArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsFloat64MapArrayOutput added in v3.36.0

func (a AnyOutput) AsFloat64MapArrayOutput() Float64MapArrayOutput

AsFloat64MapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]float64 or a compatible type and returns a `Float64MapArrayOutput` with that value. AsFloat64MapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsFloat64MapMapOutput added in v3.36.0

func (a AnyOutput) AsFloat64MapMapOutput() Float64MapMapOutput

AsFloat64MapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]float64 or a compatible type and returns a `Float64MapMapOutput` with that value. AsFloat64MapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsFloat64MapOutput added in v3.36.0

func (a AnyOutput) AsFloat64MapOutput() Float64MapOutput

AsFloat64MapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]float64 or a compatible type and returns a `Float64MapOutput` with that value. AsFloat64MapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsFloat64Output added in v3.36.0

func (a AnyOutput) AsFloat64Output() Float64Output

AsFloat64Output asserts that the type of the AnyOutput's underlying interface{} value is float64 and returns a `Float64Output` with that value. AsFloat64Output panics if the value was not the expected type.

func (AnyOutput) AsFloat64PtrOutput added in v3.36.0

func (a AnyOutput) AsFloat64PtrOutput() Float64PtrOutput

AsFloat64PtrOutput asserts that the type of the AnyOutput's underlying interface{} value is *float64 or a compatible type and returns a `Float64PtrOutput` with that value. AsFloat64PtrOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIDArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsIDArrayArrayOutput() IDArrayArrayOutput

AsIDArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]ID or a compatible type and returns a `IDArrayArrayOutput` with that value. AsIDArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIDArrayMapOutput added in v3.36.0

func (a AnyOutput) AsIDArrayMapOutput() IDArrayMapOutput

AsIDArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]ID or a compatible type and returns a `IDArrayMapOutput` with that value. AsIDArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIDArrayOutput added in v3.36.0

func (a AnyOutput) AsIDArrayOutput() IDArrayOutput

AsIDArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []ID or a compatible type and returns a `IDArrayOutput` with that value. AsIDArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIDMapArrayOutput added in v3.36.0

func (a AnyOutput) AsIDMapArrayOutput() IDMapArrayOutput

AsIDMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]ID or a compatible type and returns a `IDMapArrayOutput` with that value. AsIDMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIDMapMapOutput added in v3.36.0

func (a AnyOutput) AsIDMapMapOutput() IDMapMapOutput

AsIDMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]ID or a compatible type and returns a `IDMapMapOutput` with that value. AsIDMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIDMapOutput added in v3.36.0

func (a AnyOutput) AsIDMapOutput() IDMapOutput

AsIDMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]ID or a compatible type and returns a `IDMapOutput` with that value. AsIDMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIDOutput added in v3.36.0

func (a AnyOutput) AsIDOutput() IDOutput

AsIDOutput asserts that the type of the AnyOutput's underlying interface{} value is ID and returns a `IDOutput` with that value. AsIDOutput panics if the value was not the expected type.

func (AnyOutput) AsIDPtrOutput added in v3.36.0

func (a AnyOutput) AsIDPtrOutput() IDPtrOutput

AsIDPtrOutput asserts that the type of the AnyOutput's underlying interface{} value is *ID or a compatible type and returns a `IDPtrOutput` with that value. AsIDPtrOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIntArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsIntArrayArrayOutput() IntArrayArrayOutput

AsIntArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]int or a compatible type and returns a `IntArrayArrayOutput` with that value. AsIntArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIntArrayMapOutput added in v3.36.0

func (a AnyOutput) AsIntArrayMapOutput() IntArrayMapOutput

AsIntArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]int or a compatible type and returns a `IntArrayMapOutput` with that value. AsIntArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIntArrayOutput added in v3.36.0

func (a AnyOutput) AsIntArrayOutput() IntArrayOutput

AsIntArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []int or a compatible type and returns a `IntArrayOutput` with that value. AsIntArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIntMapArrayOutput added in v3.36.0

func (a AnyOutput) AsIntMapArrayOutput() IntMapArrayOutput

AsIntMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]int or a compatible type and returns a `IntMapArrayOutput` with that value. AsIntMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIntMapMapOutput added in v3.36.0

func (a AnyOutput) AsIntMapMapOutput() IntMapMapOutput

AsIntMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]int or a compatible type and returns a `IntMapMapOutput` with that value. AsIntMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIntMapOutput added in v3.36.0

func (a AnyOutput) AsIntMapOutput() IntMapOutput

AsIntMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]int or a compatible type and returns a `IntMapOutput` with that value. AsIntMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIntOutput added in v3.36.0

func (a AnyOutput) AsIntOutput() IntOutput

AsIntOutput asserts that the type of the AnyOutput's underlying interface{} value is int and returns a `IntOutput` with that value. AsIntOutput panics if the value was not the expected type.

func (AnyOutput) AsIntPtrOutput added in v3.36.0

func (a AnyOutput) AsIntPtrOutput() IntPtrOutput

AsIntPtrOutput asserts that the type of the AnyOutput's underlying interface{} value is *int or a compatible type and returns a `IntPtrOutput` with that value. AsIntPtrOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsMapArrayOutput added in v3.36.0

func (a AnyOutput) AsMapArrayOutput() MapArrayOutput

AsMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]interface{} or a compatible type and returns a `MapArrayOutput` with that value. AsMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsMapMapOutput added in v3.36.0

func (a AnyOutput) AsMapMapOutput() MapMapOutput

AsMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]interface{} or a compatible type and returns a `MapMapOutput` with that value. AsMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsMapOutput added in v3.36.0

func (a AnyOutput) AsMapOutput() MapOutput

AsMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]interface{} or a compatible type and returns a `MapOutput` with that value. AsMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsStringArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsStringArrayArrayOutput() StringArrayArrayOutput

AsStringArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]string or a compatible type and returns a `StringArrayArrayOutput` with that value. AsStringArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsStringArrayMapOutput added in v3.36.0

func (a AnyOutput) AsStringArrayMapOutput() StringArrayMapOutput

AsStringArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]string or a compatible type and returns a `StringArrayMapOutput` with that value. AsStringArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsStringArrayOutput added in v3.36.0

func (a AnyOutput) AsStringArrayOutput() StringArrayOutput

AsStringArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []string or a compatible type and returns a `StringArrayOutput` with that value. AsStringArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsStringMapArrayOutput added in v3.36.0

func (a AnyOutput) AsStringMapArrayOutput() StringMapArrayOutput

AsStringMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]string or a compatible type and returns a `StringMapArrayOutput` with that value. AsStringMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsStringMapMapMapOutput added in v3.135.0

func (a AnyOutput) AsStringMapMapMapOutput() StringMapMapMapOutput

AsStringMapMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]map[string]string or a compatible type and returns a `StringMapMapMapOutput` with that value. AsStringMapMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsStringMapMapOutput added in v3.36.0

func (a AnyOutput) AsStringMapMapOutput() StringMapMapOutput

AsStringMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]string or a compatible type and returns a `StringMapMapOutput` with that value. AsStringMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsStringMapOutput added in v3.36.0

func (a AnyOutput) AsStringMapOutput() StringMapOutput

AsStringMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]string or a compatible type and returns a `StringMapOutput` with that value. AsStringMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsStringOutput added in v3.36.0

func (a AnyOutput) AsStringOutput() StringOutput

AsStringOutput asserts that the type of the AnyOutput's underlying interface{} value is string and returns a `StringOutput` with that value. AsStringOutput panics if the value was not the expected type.

func (AnyOutput) AsStringPtrOutput added in v3.36.0

func (a AnyOutput) AsStringPtrOutput() StringPtrOutput

AsStringPtrOutput asserts that the type of the AnyOutput's underlying interface{} value is *string or a compatible type and returns a `StringPtrOutput` with that value. AsStringPtrOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsURNArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsURNArrayArrayOutput() URNArrayArrayOutput

AsURNArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]URN or a compatible type and returns a `URNArrayArrayOutput` with that value. AsURNArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsURNArrayMapOutput added in v3.36.0

func (a AnyOutput) AsURNArrayMapOutput() URNArrayMapOutput

AsURNArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]URN or a compatible type and returns a `URNArrayMapOutput` with that value. AsURNArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsURNArrayOutput added in v3.36.0

func (a AnyOutput) AsURNArrayOutput() URNArrayOutput

AsURNArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []URN or a compatible type and returns a `URNArrayOutput` with that value. AsURNArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsURNMapArrayOutput added in v3.36.0

func (a AnyOutput) AsURNMapArrayOutput() URNMapArrayOutput

AsURNMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]URN or a compatible type and returns a `URNMapArrayOutput` with that value. AsURNMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsURNMapMapOutput added in v3.36.0

func (a AnyOutput) AsURNMapMapOutput() URNMapMapOutput

AsURNMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]URN or a compatible type and returns a `URNMapMapOutput` with that value. AsURNMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsURNMapOutput added in v3.36.0

func (a AnyOutput) AsURNMapOutput() URNMapOutput

AsURNMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]URN or a compatible type and returns a `URNMapOutput` with that value. AsURNMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsURNOutput added in v3.36.0

func (a AnyOutput) AsURNOutput() URNOutput

AsURNOutput asserts that the type of the AnyOutput's underlying interface{} value is URN and returns a `URNOutput` with that value. AsURNOutput panics if the value was not the expected type.

func (AnyOutput) AsURNPtrOutput added in v3.36.0

func (a AnyOutput) AsURNPtrOutput() URNPtrOutput

AsURNPtrOutput asserts that the type of the AnyOutput's underlying interface{} value is *URN or a compatible type and returns a `URNPtrOutput` with that value. AsURNPtrOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) ElementType

func (AnyOutput) ElementType() reflect.Type

func (AnyOutput) MarshalJSON added in v3.50.0

func (AnyOutput) MarshalJSON() ([]byte, error)

func (AnyOutput) ToOutput added in v3.80.0

func (o AnyOutput) ToOutput(context.Context) pulumix.Output[any]

type Archive

type Archive interface {
	AssetOrArchive
	ArchiveInput

	ToAssetOrArchiveOutput() AssetOrArchiveOutput
	ToAssetOrArchiveOutputWithContext(ctx context.Context) AssetOrArchiveOutput

	// Assets returns a map of named assets or archives, for collections.
	Assets() map[string]interface{}
	// Path returns the filesystem path, for file-based archives.
	Path() string
	// URI returns a URI, for remote network-based archives.
	URI() string
	// contains filtered or unexported methods
}

Archive represents a collection of Assets.

func NewAssetArchive

func NewAssetArchive(assets map[string]interface{}) Archive

NewAssetArchive creates a new archive from an in-memory collection of named assets or other archives.

func NewFileArchive

func NewFileArchive(path string) Archive

NewFileArchive creates an archive backed by a file and specified by that file's path.

func NewRemoteArchive

func NewRemoteArchive(uri string) Archive

NewRemoteArchive creates an archive backed by a remote file and specified by that file's URL.

type ArchiveArray

type ArchiveArray []ArchiveInput

ArchiveArray is an input type for []ArchiveInput values.

func ToArchiveArray

func ToArchiveArray(in []Archive) ArchiveArray

func (ArchiveArray) ElementType

func (ArchiveArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]Archive).

func (ArchiveArray) ToArchiveArrayOutput

func (in ArchiveArray) ToArchiveArrayOutput() ArchiveArrayOutput

func (ArchiveArray) ToArchiveArrayOutputWithContext

func (in ArchiveArray) ToArchiveArrayOutputWithContext(ctx context.Context) ArchiveArrayOutput

func (ArchiveArray) ToOutput added in v3.80.0

func (in ArchiveArray) ToOutput(ctx context.Context) pulumix.Output[[]Archive]

type ArchiveArrayArray

type ArchiveArrayArray []ArchiveArrayInput

ArchiveArrayArray is an input type for []ArchiveArrayInput values.

func ToArchiveArrayArray

func ToArchiveArrayArray(in [][]Archive) ArchiveArrayArray

func (ArchiveArrayArray) ElementType

func (ArchiveArrayArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([][]Archive).

func (ArchiveArrayArray) ToArchiveArrayArrayOutput

func (in ArchiveArrayArray) ToArchiveArrayArrayOutput() ArchiveArrayArrayOutput

func (ArchiveArrayArray) ToArchiveArrayArrayOutputWithContext

func (in ArchiveArrayArray) ToArchiveArrayArrayOutputWithContext(ctx context.Context) ArchiveArrayArrayOutput

func (ArchiveArrayArray) ToOutput added in v3.80.0

func (in ArchiveArrayArray) ToOutput(ctx context.Context) pulumix.Output[[][]Archive]

type ArchiveArrayArrayInput

type ArchiveArrayArrayInput interface {
	Input

	ToArchiveArrayArrayOutput() ArchiveArrayArrayOutput
	ToArchiveArrayArrayOutputWithContext(ctx context.Context) ArchiveArrayArrayOutput
}

ArchiveArrayArrayInput is an input type that accepts ArchiveArrayArray and ArchiveArrayArrayOutput values.

type ArchiveArrayArrayOutput

type ArchiveArrayArrayOutput struct{ *OutputState }

ArchiveArrayArrayOutput is an Output that returns [][]Archive values.

func ToArchiveArrayArrayOutput

func ToArchiveArrayArrayOutput(in []ArchiveArrayOutput) ArchiveArrayArrayOutput

func (ArchiveArrayArrayOutput) ElementType

func (ArchiveArrayArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([][]Archive).

func (ArchiveArrayArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (ArchiveArrayArrayOutput) MarshalJSON added in v3.50.0

func (ArchiveArrayArrayOutput) MarshalJSON() ([]byte, error)

func (ArchiveArrayArrayOutput) ToArchiveArrayArrayOutput

func (o ArchiveArrayArrayOutput) ToArchiveArrayArrayOutput() ArchiveArrayArrayOutput

func (ArchiveArrayArrayOutput) ToArchiveArrayArrayOutputWithContext

func (o ArchiveArrayArrayOutput) ToArchiveArrayArrayOutputWithContext(ctx context.Context) ArchiveArrayArrayOutput

func (ArchiveArrayArrayOutput) ToOutput added in v3.80.0

type ArchiveArrayInput

type ArchiveArrayInput interface {
	Input

	ToArchiveArrayOutput() ArchiveArrayOutput
	ToArchiveArrayOutputWithContext(ctx context.Context) ArchiveArrayOutput
}

ArchiveArrayInput is an input type that accepts ArchiveArray and ArchiveArrayOutput values.

type ArchiveArrayMap

type ArchiveArrayMap map[string]ArchiveArrayInput

ArchiveArrayMap is an input type for map[string]ArchiveArrayInput values.

func ToArchiveArrayMap

func ToArchiveArrayMap(in map[string][]Archive) ArchiveArrayMap

func (ArchiveArrayMap) ElementType

func (ArchiveArrayMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string][]Archive).

func (ArchiveArrayMap) ToArchiveArrayMapOutput

func (in ArchiveArrayMap) ToArchiveArrayMapOutput() ArchiveArrayMapOutput

func (ArchiveArrayMap) ToArchiveArrayMapOutputWithContext

func (in ArchiveArrayMap) ToArchiveArrayMapOutputWithContext(ctx context.Context) ArchiveArrayMapOutput

func (ArchiveArrayMap) ToOutput added in v3.80.0

func (in ArchiveArrayMap) ToOutput(ctx context.Context) pulumix.Output[map[string][]Archive]

type ArchiveArrayMapInput

type ArchiveArrayMapInput interface {
	Input

	ToArchiveArrayMapOutput() ArchiveArrayMapOutput
	ToArchiveArrayMapOutputWithContext(ctx context.Context) ArchiveArrayMapOutput
}

ArchiveArrayMapInput is an input type that accepts ArchiveArrayMap and ArchiveArrayMapOutput values.

type ArchiveArrayMapOutput

type ArchiveArrayMapOutput struct{ *OutputState }

ArchiveArrayMapOutput is an Output that returns map[string][]Archive values.

func ToArchiveArrayMapOutput

func ToArchiveArrayMapOutput(in map[string]ArchiveArrayOutput) ArchiveArrayMapOutput

func (ArchiveArrayMapOutput) ElementType

func (ArchiveArrayMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string][]Archive).

func (ArchiveArrayMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (ArchiveArrayMapOutput) MarshalJSON added in v3.50.0

func (ArchiveArrayMapOutput) MarshalJSON() ([]byte, error)

func (ArchiveArrayMapOutput) ToArchiveArrayMapOutput

func (o ArchiveArrayMapOutput) ToArchiveArrayMapOutput() ArchiveArrayMapOutput

func (ArchiveArrayMapOutput) ToArchiveArrayMapOutputWithContext

func (o ArchiveArrayMapOutput) ToArchiveArrayMapOutputWithContext(ctx context.Context) ArchiveArrayMapOutput

func (ArchiveArrayMapOutput) ToOutput added in v3.80.0

type ArchiveArrayOutput

type ArchiveArrayOutput struct{ *OutputState }

ArchiveArrayOutput is an Output that returns []Archive values.

func ToArchiveArrayOutput

func ToArchiveArrayOutput(in []ArchiveOutput) ArchiveArrayOutput

func (ArchiveArrayOutput) ElementType

func (ArchiveArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]Archive).

func (ArchiveArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (ArchiveArrayOutput) MarshalJSON added in v3.50.0

func (ArchiveArrayOutput) MarshalJSON() ([]byte, error)

func (ArchiveArrayOutput) ToArchiveArrayOutput

func (o ArchiveArrayOutput) ToArchiveArrayOutput() ArchiveArrayOutput

func (ArchiveArrayOutput) ToArchiveArrayOutputWithContext

func (o ArchiveArrayOutput) ToArchiveArrayOutputWithContext(ctx context.Context) ArchiveArrayOutput

func (ArchiveArrayOutput) ToOutput added in v3.80.0

type ArchiveInput

type ArchiveInput interface {
	Input

	ToArchiveOutput() ArchiveOutput
	ToArchiveOutputWithContext(ctx context.Context) ArchiveOutput
}

ArchiveInput is an input type that accepts Archive and ArchiveOutput values.

type ArchiveMap

type ArchiveMap map[string]ArchiveInput

ArchiveMap is an input type for map[string]ArchiveInput values.

func ToArchiveMap

func ToArchiveMap(in map[string]Archive) ArchiveMap

func (ArchiveMap) ElementType

func (ArchiveMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string]Archive).

func (ArchiveMap) ToArchiveMapOutput

func (in ArchiveMap) ToArchiveMapOutput() ArchiveMapOutput

func (ArchiveMap) ToArchiveMapOutputWithContext

func (in ArchiveMap) ToArchiveMapOutputWithContext(ctx context.Context) ArchiveMapOutput

func (ArchiveMap) ToOutput added in v3.80.0

func (in ArchiveMap) ToOutput(ctx context.Context) pulumix.Output[map[string]Archive]

type ArchiveMapArray

type ArchiveMapArray []ArchiveMapInput

ArchiveMapArray is an input type for []ArchiveMapInput values.

func ToArchiveMapArray

func ToArchiveMapArray(in []map[string]Archive) ArchiveMapArray

func (ArchiveMapArray) ElementType

func (ArchiveMapArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]map[string]Archive).

func (ArchiveMapArray) ToArchiveMapArrayOutput

func (in ArchiveMapArray) ToArchiveMapArrayOutput() ArchiveMapArrayOutput

func (ArchiveMapArray) ToArchiveMapArrayOutputWithContext

func (in ArchiveMapArray) ToArchiveMapArrayOutputWithContext(ctx context.Context) ArchiveMapArrayOutput

func (ArchiveMapArray) ToOutput added in v3.80.0

func (in ArchiveMapArray) ToOutput(ctx context.Context) pulumix.Output[[]map[string]Archive]

type ArchiveMapArrayInput

type ArchiveMapArrayInput interface {
	Input

	ToArchiveMapArrayOutput() ArchiveMapArrayOutput
	ToArchiveMapArrayOutputWithContext(ctx context.Context) ArchiveMapArrayOutput
}

ArchiveMapArrayInput is an input type that accepts ArchiveMapArray and ArchiveMapArrayOutput values.

type ArchiveMapArrayOutput

type ArchiveMapArrayOutput struct{ *OutputState }

ArchiveMapArrayOutput is an Output that returns []map[string]Archive values.

func ToArchiveMapArrayOutput

func ToArchiveMapArrayOutput(in []ArchiveMapOutput) ArchiveMapArrayOutput

func (ArchiveMapArrayOutput) ElementType

func (ArchiveMapArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]map[string]Archive).

func (ArchiveMapArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (ArchiveMapArrayOutput) MarshalJSON added in v3.50.0

func (ArchiveMapArrayOutput) MarshalJSON() ([]byte, error)

func (ArchiveMapArrayOutput) ToArchiveMapArrayOutput

func (o ArchiveMapArrayOutput) ToArchiveMapArrayOutput() ArchiveMapArrayOutput

func (ArchiveMapArrayOutput) ToArchiveMapArrayOutputWithContext

func (o ArchiveMapArrayOutput) ToArchiveMapArrayOutputWithContext(ctx context.Context) ArchiveMapArrayOutput

func (ArchiveMapArrayOutput) ToOutput added in v3.80.0

type ArchiveMapInput

type ArchiveMapInput interface {
	Input

	ToArchiveMapOutput() ArchiveMapOutput
	ToArchiveMapOutputWithContext(ctx context.Context) ArchiveMapOutput
}

ArchiveMapInput is an input type that accepts ArchiveMap and ArchiveMapOutput values.

type ArchiveMapMap

type ArchiveMapMap map[string]ArchiveMapInput

ArchiveMapMap is an input type for map[string]ArchiveMapInput values.

func ToArchiveMapMap

func ToArchiveMapMap(in map[string]map[string]Archive) ArchiveMapMap

func (ArchiveMapMap) ElementType

func (ArchiveMapMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string]map[string]Archive).

func (ArchiveMapMap) ToArchiveMapMapOutput

func (in ArchiveMapMap) ToArchiveMapMapOutput() ArchiveMapMapOutput

func (ArchiveMapMap) ToArchiveMapMapOutputWithContext

func (in ArchiveMapMap) ToArchiveMapMapOutputWithContext(ctx context.Context) ArchiveMapMapOutput

func (ArchiveMapMap) ToOutput added in v3.80.0

func (in ArchiveMapMap) ToOutput(ctx context.Context) pulumix.Output[map[string]map[string]Archive]

type ArchiveMapMapInput

type ArchiveMapMapInput interface {
	Input

	ToArchiveMapMapOutput() ArchiveMapMapOutput
	ToArchiveMapMapOutputWithContext(ctx context.Context) ArchiveMapMapOutput
}

ArchiveMapMapInput is an input type that accepts ArchiveMapMap and ArchiveMapMapOutput values.

type ArchiveMapMapOutput

type ArchiveMapMapOutput struct{ *OutputState }

ArchiveMapMapOutput is an Output that returns map[string]map[string]Archive values.

func ToArchiveMapMapOutput

func ToArchiveMapMapOutput(in map[string]ArchiveMapOutput) ArchiveMapMapOutput

func (ArchiveMapMapOutput) ElementType

func (ArchiveMapMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string]map[string]Archive).

func (ArchiveMapMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (ArchiveMapMapOutput) MarshalJSON added in v3.50.0

func (ArchiveMapMapOutput) MarshalJSON() ([]byte, error)

func (ArchiveMapMapOutput) ToArchiveMapMapOutput

func (o ArchiveMapMapOutput) ToArchiveMapMapOutput() ArchiveMapMapOutput

func (ArchiveMapMapOutput) ToArchiveMapMapOutputWithContext

func (o ArchiveMapMapOutput) ToArchiveMapMapOutputWithContext(ctx context.Context) ArchiveMapMapOutput

func (ArchiveMapMapOutput) ToOutput added in v3.80.0

type ArchiveMapOutput

type ArchiveMapOutput struct{ *OutputState }

ArchiveMapOutput is an Output that returns map[string]Archive values.

func ToArchiveMapOutput

func ToArchiveMapOutput(in map[string]ArchiveOutput) ArchiveMapOutput

func (ArchiveMapOutput) ElementType

func (ArchiveMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string]Archive).

func (ArchiveMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (ArchiveMapOutput) MarshalJSON added in v3.50.0

func (ArchiveMapOutput) MarshalJSON() ([]byte, error)

func (ArchiveMapOutput) ToArchiveMapOutput

func (o ArchiveMapOutput) ToArchiveMapOutput() ArchiveMapOutput

func (ArchiveMapOutput) ToArchiveMapOutputWithContext

func (o ArchiveMapOutput) ToArchiveMapOutputWithContext(ctx context.Context) ArchiveMapOutput

func (ArchiveMapOutput) ToOutput added in v3.80.0

type ArchiveOutput

type ArchiveOutput struct{ *OutputState }

ArchiveOutput is an Output that returns Archive values.

func (ArchiveOutput) ElementType

func (ArchiveOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (Archive).

func (ArchiveOutput) MarshalJSON added in v3.50.0

func (ArchiveOutput) MarshalJSON() ([]byte, error)

func (ArchiveOutput) ToArchiveOutput

func (o ArchiveOutput) ToArchiveOutput() ArchiveOutput

func (ArchiveOutput) ToArchiveOutputWithContext

func (o ArchiveOutput) ToArchiveOutputWithContext(ctx context.Context) ArchiveOutput

func (ArchiveOutput) ToAssetOrArchiveOutput

func (o ArchiveOutput) ToAssetOrArchiveOutput() AssetOrArchiveOutput

func (ArchiveOutput) ToAssetOrArchiveOutputWithContext

func (o ArchiveOutput) ToAssetOrArchiveOutputWithContext(ctx context.Context) AssetOrArchiveOutput

func (ArchiveOutput) ToOutput added in v3.80.0

type Array

type Array []Input

Array is an input type for []Input values.

func ToArray

func ToArray(in []interface{}) Array

func (Array) ElementType

func (Array) ElementType() reflect.Type

ElementType returns the element type of this Input ([]interface{}).

func (Array) ToArrayOutput

func (in Array) ToArrayOutput() ArrayOutput

func (Array) ToArrayOutputWithContext

func (in Array) ToArrayOutputWithContext(ctx context.Context) ArrayOutput

func (Array) ToOutput added in v3.80.0

func (in Array) ToOutput(ctx context.Context) pulumix.Output[[]interface{}]

type ArrayArray

type ArrayArray []ArrayInput

ArrayArray is an input type for []ArrayInput values.

func ToArrayArray

func ToArrayArray(in [][]interface{}) ArrayArray

func (ArrayArray) ElementType

func (ArrayArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([][]interface{}).

func (ArrayArray) ToArrayArrayOutput

func (in ArrayArray) ToArrayArrayOutput() ArrayArrayOutput

func (ArrayArray) ToArrayArrayOutputWithContext

func (in ArrayArray) ToArrayArrayOutputWithContext(ctx context.Context) ArrayArrayOutput

func (ArrayArray) ToOutput added in v3.80.0

func (in ArrayArray) ToOutput(ctx context.Context) pulumix.Output[[][]interface{}]

type ArrayArrayInput

type ArrayArrayInput interface {
	Input

	ToArrayArrayOutput() ArrayArrayOutput
	ToArrayArrayOutputWithContext(ctx context.Context) ArrayArrayOutput
}

ArrayArrayInput is an input type that accepts ArrayArray and ArrayArrayOutput values.

type ArrayArrayMap

type ArrayArrayMap map[string]ArrayArrayInput

ArrayArrayMap is an input type for map[string]ArrayArrayInput values.

func ToArrayArrayMap

func ToArrayArrayMap(in map[string][][]interface{}) ArrayArrayMap

func (ArrayArrayMap) ElementType

func (ArrayArrayMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string][][]interface{}).

func (ArrayArrayMap) ToArrayArrayMapOutput

func (in ArrayArrayMap) ToArrayArrayMapOutput() ArrayArrayMapOutput

func (ArrayArrayMap) ToArrayArrayMapOutputWithContext

func (in ArrayArrayMap) ToArrayArrayMapOutputWithContext(ctx context.Context) ArrayArrayMapOutput

func (ArrayArrayMap) ToOutput added in v3.80.0

func (in ArrayArrayMap) ToOutput(ctx context.Context) pulumix.Output[map[string][][]interface{}]

type ArrayArrayMapInput

type ArrayArrayMapInput interface {
	Input

	ToArrayArrayMapOutput() ArrayArrayMapOutput
	ToArrayArrayMapOutputWithContext(ctx context.Context) ArrayArrayMapOutput
}

ArrayArrayMapInput is an input type that accepts ArrayArrayMap and ArrayArrayMapOutput values.

type ArrayArrayMapOutput

type ArrayArrayMapOutput struct{ *OutputState }

ArrayArrayMapOutput is an Output that returns map[string][][]interface{} values.

func ToArrayArrayMapOutput

func ToArrayArrayMapOutput(in map[string]ArrayArrayOutput) ArrayArrayMapOutput

func (ArrayArrayMapOutput) ElementType

func (ArrayArrayMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string][][]interface{}).

func (ArrayArrayMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (ArrayArrayMapOutput) MarshalJSON added in v3.50.0

func (ArrayArrayMapOutput) MarshalJSON() ([]byte, error)

func (ArrayArrayMapOutput) ToArrayArrayMapOutput

func (o ArrayArrayMapOutput) ToArrayArrayMapOutput() ArrayArrayMapOutput

func (ArrayArrayMapOutput) ToArrayArrayMapOutputWithContext

func (o ArrayArrayMapOutput) ToArrayArrayMapOutputWithContext(ctx context.Context) ArrayArrayMapOutput

func (ArrayArrayMapOutput) ToOutput added in v3.80.0

func (o ArrayArrayMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string][][]interface{}]

type ArrayArrayOutput

type ArrayArrayOutput struct{ *OutputState }

ArrayArrayOutput is an Output that returns [][]interface{} values.

func ToArrayArrayOutput

func ToArrayArrayOutput(in []ArrayOutput) ArrayArrayOutput

func (ArrayArrayOutput) ElementType

func (ArrayArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([][]interface{}).

func (ArrayArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (ArrayArrayOutput) MarshalJSON added in v3.50.0

func (ArrayArrayOutput) MarshalJSON() ([]byte, error)

func (ArrayArrayOutput) ToArrayArrayOutput

func (o ArrayArrayOutput) ToArrayArrayOutput() ArrayArrayOutput

func (ArrayArrayOutput) ToArrayArrayOutputWithContext

func (o ArrayArrayOutput) ToArrayArrayOutputWithContext(ctx context.Context) ArrayArrayOutput

func (ArrayArrayOutput) ToOutput added in v3.80.0

func (o ArrayArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[][]interface{}]

type ArrayInput

type ArrayInput interface {
	Input

	ToArrayOutput() ArrayOutput
	ToArrayOutputWithContext(ctx context.Context) ArrayOutput
}

ArrayInput is an input type that accepts Array and ArrayOutput values.

type ArrayMap

type ArrayMap map[string]ArrayInput

ArrayMap is an input type for map[string]ArrayInput values.

func ToArrayMap

func ToArrayMap(in map[string][]interface{}) ArrayMap

func (ArrayMap) ElementType

func (ArrayMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string][]interface{}).

func (ArrayMap) ToArrayMapOutput

func (in ArrayMap) ToArrayMapOutput() ArrayMapOutput

func (ArrayMap) ToArrayMapOutputWithContext

func (in ArrayMap) ToArrayMapOutputWithContext(ctx context.Context) ArrayMapOutput

func (ArrayMap) ToOutput added in v3.80.0

func (in ArrayMap) ToOutput(ctx context.Context) pulumix.Output[map[string][]interface{}]

type ArrayMapInput

type ArrayMapInput interface {
	Input

	ToArrayMapOutput() ArrayMapOutput
	ToArrayMapOutputWithContext(ctx context.Context) ArrayMapOutput
}

ArrayMapInput is an input type that accepts ArrayMap and ArrayMapOutput values.

type ArrayMapOutput

type ArrayMapOutput struct{ *OutputState }

ArrayMapOutput is an Output that returns map[string][]interface{} values.

func ToArrayMapOutput

func ToArrayMapOutput(in map[string]ArrayOutput) ArrayMapOutput

func (ArrayMapOutput) ElementType

func (ArrayMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string][]interface{}).

func (ArrayMapOutput) MapIndex

func (o ArrayMapOutput) MapIndex(k StringInput) ArrayOutput

MapIndex looks up the key k in the map.

func (ArrayMapOutput) MarshalJSON added in v3.50.0

func (ArrayMapOutput) MarshalJSON() ([]byte, error)

func (ArrayMapOutput) ToArrayMapOutput

func (o ArrayMapOutput) ToArrayMapOutput() ArrayMapOutput

func (ArrayMapOutput) ToArrayMapOutputWithContext

func (o ArrayMapOutput) ToArrayMapOutputWithContext(ctx context.Context) ArrayMapOutput

func (ArrayMapOutput) ToOutput added in v3.80.0

func (o ArrayMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string][]interface{}]

type ArrayOutput

type ArrayOutput struct{ *OutputState }

ArrayOutput is an Output that returns []interface{} values.

func All

func All(inputs ...interface{}) ArrayOutput

All returns an ArrayOutput that will resolve when all of the provided inputs will resolve. Each element of the array will contain the resolved value of the corresponding output. The output will be rejected if any of the inputs is rejected.

For example:

connectionString := pulumi.All(sqlServer.Name, database.Name).ApplyT(
	func (args []interface{}) pulumi.Output {
		return Connection{
			Server: args[0].(string),
			Database: args[1].(string),
		}
	}
)

func AllWithContext

func AllWithContext(ctx context.Context, inputs ...interface{}) ArrayOutput

AllWithContext returns an ArrayOutput that will resolve when all of the provided inputs will resolve. Each element of the array will contain the resolved value of the corresponding output. The output will be rejected if any of the inputs is rejected.

For example:

connectionString := pulumi.AllWithContext(ctx.Context(), sqlServer.Name, database.Name).ApplyT(
	func (args []interface{}) pulumi.Output {
		return Connection{
			Server: args[0].(string),
			Database: args[1].(string),
		}
	}
)

func ToArrayOutput

func ToArrayOutput(in []Output) ArrayOutput

func (ArrayOutput) ElementType

func (ArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]interface{}).

func (ArrayOutput) Index

func (o ArrayOutput) Index(i IntInput) Output

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (ArrayOutput) MarshalJSON added in v3.50.0

func (ArrayOutput) MarshalJSON() ([]byte, error)

func (ArrayOutput) ToArrayOutput

func (o ArrayOutput) ToArrayOutput() ArrayOutput

func (ArrayOutput) ToArrayOutputWithContext

func (o ArrayOutput) ToArrayOutputWithContext(ctx context.Context) ArrayOutput

func (ArrayOutput) ToOutput added in v3.80.0

func (o ArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]interface{}]

type Asset

type Asset interface {
	AssetOrArchive
	AssetInput

	ToAssetOrArchiveOutput() AssetOrArchiveOutput
	ToAssetOrArchiveOutputWithContext(ctx context.Context) AssetOrArchiveOutput

	// Path returns the filesystem path, for file-based assets.
	Path() string
	// Text returns an in-memory blob of text, for string-based assets.
	Text() string
	// URI returns a URI, for remote network-based assets.
	URI() string
	// contains filtered or unexported methods
}

Asset represents a file that is managed in conjunction with Pulumi resources. An Asset may be backed by a number of sources, including local filesystem paths, in-memory blobs of text, or remote files referenced by a URL.

func NewFileAsset

func NewFileAsset(path string) Asset

NewFileAsset creates an asset backed by a file and specified by that file's path.

func NewRemoteAsset

func NewRemoteAsset(uri string) Asset

NewRemoteAsset creates an asset backed by a remote file and specified by that file's URL.

func NewStringAsset

func NewStringAsset(text string) Asset

NewStringAsset creates an asset backed by a piece of in-memory text.

type AssetArray

type AssetArray []AssetInput

AssetArray is an input type for []AssetInput values.

func ToAssetArray

func ToAssetArray(in []Asset) AssetArray

func (AssetArray) ElementType

func (AssetArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]Asset).

func (AssetArray) ToAssetArrayOutput

func (in AssetArray) ToAssetArrayOutput() AssetArrayOutput

func (AssetArray) ToAssetArrayOutputWithContext

func (in AssetArray) ToAssetArrayOutputWithContext(ctx context.Context) AssetArrayOutput

func (AssetArray) ToOutput added in v3.80.0

func (in AssetArray) ToOutput(ctx context.Context) pulumix.Output[[]Asset]

type AssetArrayArray

type AssetArrayArray []AssetArrayInput

AssetArrayArray is an input type for []AssetArrayInput values.

func ToAssetArrayArray

func ToAssetArrayArray(in [][]Asset) AssetArrayArray

func (AssetArrayArray) ElementType

func (AssetArrayArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([][]Asset).

func (AssetArrayArray) ToAssetArrayArrayOutput

func (in AssetArrayArray) ToAssetArrayArrayOutput() AssetArrayArrayOutput

func (AssetArrayArray) ToAssetArrayArrayOutputWithContext

func (in AssetArrayArray) ToAssetArrayArrayOutputWithContext(ctx context.Context) AssetArrayArrayOutput

func (AssetArrayArray) ToOutput added in v3.80.0

func (in AssetArrayArray) ToOutput(ctx context.Context) pulumix.Output[[][]Asset]

type AssetArrayArrayInput

type AssetArrayArrayInput interface {
	Input

	ToAssetArrayArrayOutput() AssetArrayArrayOutput
	ToAssetArrayArrayOutputWithContext(ctx context.Context) AssetArrayArrayOutput
}

AssetArrayArrayInput is an input type that accepts AssetArrayArray and AssetArrayArrayOutput values.

type AssetArrayArrayOutput

type AssetArrayArrayOutput struct{ *OutputState }

AssetArrayArrayOutput is an Output that returns [][]Asset values.

func ToAssetArrayArrayOutput

func ToAssetArrayArrayOutput(in []AssetArrayOutput) AssetArrayArrayOutput

func (AssetArrayArrayOutput) ElementType

func (AssetArrayArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([][]Asset).

func (AssetArrayArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (AssetArrayArrayOutput) MarshalJSON added in v3.50.0

func (AssetArrayArrayOutput) MarshalJSON() ([]byte, error)

func (AssetArrayArrayOutput) ToAssetArrayArrayOutput

func (o AssetArrayArrayOutput) ToAssetArrayArrayOutput() AssetArrayArrayOutput

func (AssetArrayArrayOutput) ToAssetArrayArrayOutputWithContext

func (o AssetArrayArrayOutput) ToAssetArrayArrayOutputWithContext(ctx context.Context) AssetArrayArrayOutput

func (AssetArrayArrayOutput) ToOutput added in v3.80.0

type AssetArrayInput

type AssetArrayInput interface {
	Input

	ToAssetArrayOutput() AssetArrayOutput
	ToAssetArrayOutputWithContext(ctx context.Context) AssetArrayOutput
}

AssetArrayInput is an input type that accepts AssetArray and AssetArrayOutput values.

type AssetArrayMap

type AssetArrayMap map[string]AssetArrayInput

AssetArrayMap is an input type for map[string]AssetArrayInput values.

func ToAssetArrayMap

func ToAssetArrayMap(in map[string][]Asset) AssetArrayMap

func (AssetArrayMap) ElementType

func (AssetArrayMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string][]Asset).

func (AssetArrayMap) ToAssetArrayMapOutput

func (in AssetArrayMap) ToAssetArrayMapOutput() AssetArrayMapOutput

func (AssetArrayMap) ToAssetArrayMapOutputWithContext

func (in AssetArrayMap) ToAssetArrayMapOutputWithContext(ctx context.Context) AssetArrayMapOutput

func (AssetArrayMap) ToOutput added in v3.80.0

func (in AssetArrayMap) ToOutput(ctx context.Context) pulumix.Output[map[string][]Asset]

type AssetArrayMapInput

type AssetArrayMapInput interface {
	Input

	ToAssetArrayMapOutput() AssetArrayMapOutput
	ToAssetArrayMapOutputWithContext(ctx context.Context) AssetArrayMapOutput
}

AssetArrayMapInput is an input type that accepts AssetArrayMap and AssetArrayMapOutput values.

type AssetArrayMapOutput

type AssetArrayMapOutput struct{ *OutputState }

AssetArrayMapOutput is an Output that returns map[string][]Asset values.

func ToAssetArrayMapOutput

func ToAssetArrayMapOutput(in map[string]AssetArrayOutput) AssetArrayMapOutput

func (AssetArrayMapOutput) ElementType

func (AssetArrayMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string][]Asset).

func (AssetArrayMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (AssetArrayMapOutput) MarshalJSON added in v3.50.0

func (AssetArrayMapOutput) MarshalJSON() ([]byte, error)

func (AssetArrayMapOutput) ToAssetArrayMapOutput

func (o AssetArrayMapOutput) ToAssetArrayMapOutput() AssetArrayMapOutput

func (AssetArrayMapOutput) ToAssetArrayMapOutputWithContext

func (o AssetArrayMapOutput) ToAssetArrayMapOutputWithContext(ctx context.Context) AssetArrayMapOutput

func (AssetArrayMapOutput) ToOutput added in v3.80.0

func (o AssetArrayMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string][]Asset]

type AssetArrayOutput

type AssetArrayOutput struct{ *OutputState }

AssetArrayOutput is an Output that returns []Asset values.

func ToAssetArrayOutput

func ToAssetArrayOutput(in []AssetOutput) AssetArrayOutput

func (AssetArrayOutput) ElementType

func (AssetArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]Asset).

func (AssetArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (AssetArrayOutput) MarshalJSON added in v3.50.0

func (AssetArrayOutput) MarshalJSON() ([]byte, error)

func (AssetArrayOutput) ToAssetArrayOutput

func (o AssetArrayOutput) ToAssetArrayOutput() AssetArrayOutput

func (AssetArrayOutput) ToAssetArrayOutputWithContext

func (o AssetArrayOutput) ToAssetArrayOutputWithContext(ctx context.Context) AssetArrayOutput

func (AssetArrayOutput) ToOutput added in v3.80.0

func (o AssetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Asset]

type AssetInput

type AssetInput interface {
	Input

	ToAssetOutput() AssetOutput
	ToAssetOutputWithContext(ctx context.Context) AssetOutput
}

AssetInput is an input type that accepts Asset and AssetOutput values.

type AssetMap

type AssetMap map[string]AssetInput

AssetMap is an input type for map[string]AssetInput values.

func ToAssetMap

func ToAssetMap(in map[string]Asset) AssetMap

func (AssetMap) ElementType

func (AssetMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string]Asset).

func (AssetMap) ToAssetMapOutput

func (in AssetMap) ToAssetMapOutput() AssetMapOutput

func (AssetMap) ToAssetMapOutputWithContext

func (in AssetMap) ToAssetMapOutputWithContext(ctx context.Context) AssetMapOutput

func (AssetMap) ToOutput added in v3.80.0

func (in AssetMap) ToOutput(ctx context.Context) pulumix.Output[map[string]Asset]

type AssetMapArray

type AssetMapArray []AssetMapInput

AssetMapArray is an input type for []AssetMapInput values.

func ToAssetMapArray

func ToAssetMapArray(in []map[string]Asset) AssetMapArray

func (AssetMapArray) ElementType

func (AssetMapArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]map[string]Asset).

func (AssetMapArray) ToAssetMapArrayOutput

func (in AssetMapArray) ToAssetMapArrayOutput() AssetMapArrayOutput

func (AssetMapArray) ToAssetMapArrayOutputWithContext

func (in AssetMapArray) ToAssetMapArrayOutputWithContext(ctx context.Context) AssetMapArrayOutput

func (AssetMapArray) ToOutput added in v3.80.0

func (in AssetMapArray) ToOutput(ctx context.Context) pulumix.Output[[]map[string]Asset]

type AssetMapArrayInput

type AssetMapArrayInput interface {
	Input

	ToAssetMapArrayOutput() AssetMapArrayOutput
	ToAssetMapArrayOutputWithContext(ctx context.Context) AssetMapArrayOutput
}

AssetMapArrayInput is an input type that accepts AssetMapArray and AssetMapArrayOutput values.

type AssetMapArrayOutput

type AssetMapArrayOutput struct{ *OutputState }

AssetMapArrayOutput is an Output that returns []map[string]Asset values.

func ToAssetMapArrayOutput

func ToAssetMapArrayOutput(in []AssetMapOutput) AssetMapArrayOutput

func (AssetMapArrayOutput) ElementType

func (AssetMapArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]map[string]Asset).

func (AssetMapArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (AssetMapArrayOutput) MarshalJSON added in v3.50.0

func (AssetMapArrayOutput) MarshalJSON() ([]byte, error)

func (AssetMapArrayOutput) ToAssetMapArrayOutput

func (o AssetMapArrayOutput) ToAssetMapArrayOutput() AssetMapArrayOutput

func (AssetMapArrayOutput) ToAssetMapArrayOutputWithContext

func (o AssetMapArrayOutput) ToAssetMapArrayOutputWithContext(ctx context.Context) AssetMapArrayOutput

func (AssetMapArrayOutput) ToOutput added in v3.80.0

func (o AssetMapArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]map[string]Asset]

type AssetMapInput

type AssetMapInput interface {
	Input

	ToAssetMapOutput() AssetMapOutput
	ToAssetMapOutputWithContext(ctx context.Context) AssetMapOutput
}

AssetMapInput is an input type that accepts AssetMap and AssetMapOutput values.

type AssetMapMap

type AssetMapMap map[string]AssetMapInput

AssetMapMap is an input type for map[string]AssetMapInput values.

func ToAssetMapMap

func ToAssetMapMap(in map[string]map[string]Asset) AssetMapMap

func (AssetMapMap) ElementType

func (AssetMapMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string]map[string]Asset).

func (AssetMapMap) ToAssetMapMapOutput

func (in AssetMapMap) ToAssetMapMapOutput() AssetMapMapOutput

func (AssetMapMap) ToAssetMapMapOutputWithContext

func (in AssetMapMap) ToAssetMapMapOutputWithContext(ctx context.Context) AssetMapMapOutput

func (AssetMapMap) ToOutput added in v3.80.0

func (in AssetMapMap) ToOutput(ctx context.Context) pulumix.Output[map[string]map[string]Asset]

type AssetMapMapInput

type AssetMapMapInput interface {
	Input

	ToAssetMapMapOutput() AssetMapMapOutput
	ToAssetMapMapOutputWithContext(ctx context.Context) AssetMapMapOutput
}

AssetMapMapInput is an input type that accepts AssetMapMap and AssetMapMapOutput values.

type AssetMapMapOutput

type AssetMapMapOutput struct{ *OutputState }

AssetMapMapOutput is an Output that returns map[string]map[string]Asset values.

func ToAssetMapMapOutput

func ToAssetMapMapOutput(in map[string]AssetMapOutput) AssetMapMapOutput

func (AssetMapMapOutput) ElementType

func (AssetMapMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string]map[string]Asset).

func (AssetMapMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (AssetMapMapOutput) MarshalJSON added in v3.50.0

func (AssetMapMapOutput) MarshalJSON() ([]byte, error)

func (AssetMapMapOutput) ToAssetMapMapOutput

func (o AssetMapMapOutput) ToAssetMapMapOutput() AssetMapMapOutput

func (AssetMapMapOutput) ToAssetMapMapOutputWithContext

func (o AssetMapMapOutput) ToAssetMapMapOutputWithContext(ctx context.Context) AssetMapMapOutput

func (AssetMapMapOutput) ToOutput added in v3.80.0

func (o AssetMapMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]map[string]Asset]

type AssetMapOutput

type AssetMapOutput struct{ *OutputState }

AssetMapOutput is an Output that returns map[string]Asset values.

func ToAssetMapOutput

func ToAssetMapOutput(in map[string]AssetOutput) AssetMapOutput

func (AssetMapOutput) ElementType

func (AssetMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string]Asset).

func (AssetMapOutput) MapIndex

func (o AssetMapOutput) MapIndex(k StringInput) AssetOutput

MapIndex looks up the key k in the map.

func (AssetMapOutput) MarshalJSON added in v3.50.0

func (AssetMapOutput) MarshalJSON() ([]byte, error)

func (AssetMapOutput) ToAssetMapOutput

func (o AssetMapOutput) ToAssetMapOutput() AssetMapOutput

func (AssetMapOutput) ToAssetMapOutputWithContext

func (o AssetMapOutput) ToAssetMapOutputWithContext(ctx context.Context) AssetMapOutput

func (AssetMapOutput) ToOutput added in v3.80.0

func (o AssetMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]Asset]

type AssetOrArchive

type AssetOrArchive interface {
	// contains filtered or unexported methods
}

AssetOrArchive represents either an Asset or an Archive.

type AssetOrArchiveArray

type AssetOrArchiveArray []AssetOrArchiveInput

AssetOrArchiveArray is an input type for []AssetOrArchiveInput values.

func (AssetOrArchiveArray) ElementType

func (AssetOrArchiveArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]AssetOrArchive).

func (AssetOrArchiveArray) ToAssetOrArchiveArrayOutput

func (in AssetOrArchiveArray) ToAssetOrArchiveArrayOutput() AssetOrArchiveArrayOutput

func (AssetOrArchiveArray) ToAssetOrArchiveArrayOutputWithContext

func (in AssetOrArchiveArray) ToAssetOrArchiveArrayOutputWithContext(ctx context.Context) AssetOrArchiveArrayOutput

func (AssetOrArchiveArray) ToOutput added in v3.80.0

type AssetOrArchiveArrayArray

type AssetOrArchiveArrayArray []AssetOrArchiveArrayInput

AssetOrArchiveArrayArray is an input type for []AssetOrArchiveArrayInput values.

func (AssetOrArchiveArrayArray) ElementType

func (AssetOrArchiveArrayArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([][]AssetOrArchive).

func (AssetOrArchiveArrayArray) ToAssetOrArchiveArrayArrayOutput

func (in AssetOrArchiveArrayArray) ToAssetOrArchiveArrayArrayOutput() AssetOrArchiveArrayArrayOutput

func (AssetOrArchiveArrayArray) ToAssetOrArchiveArrayArrayOutputWithContext

func (in AssetOrArchiveArrayArray) ToAssetOrArchiveArrayArrayOutputWithContext(ctx context.Context) AssetOrArchiveArrayArrayOutput

func (AssetOrArchiveArrayArray) ToOutput added in v3.80.0

type AssetOrArchiveArrayArrayInput

type AssetOrArchiveArrayArrayInput interface {
	Input

	ToAssetOrArchiveArrayArrayOutput() AssetOrArchiveArrayArrayOutput
	ToAssetOrArchiveArrayArrayOutputWithContext(ctx context.Context) AssetOrArchiveArrayArrayOutput
}

AssetOrArchiveArrayArrayInput is an input type that accepts AssetOrArchiveArrayArray and AssetOrArchiveArrayArrayOutput values.

type AssetOrArchiveArrayArrayOutput

type AssetOrArchiveArrayArrayOutput struct{ *OutputState }

AssetOrArchiveArrayArrayOutput is an Output that returns [][]AssetOrArchive values.

func (AssetOrArchiveArrayArrayOutput) ElementType

ElementType returns the element type of this Output ([][]AssetOrArchive).

func (AssetOrArchiveArrayArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (AssetOrArchiveArrayArrayOutput) MarshalJSON added in v3.50.0

func (AssetOrArchiveArrayArrayOutput) MarshalJSON() ([]byte, error)

func (AssetOrArchiveArrayArrayOutput) ToAssetOrArchiveArrayArrayOutput

func (o AssetOrArchiveArrayArrayOutput) ToAssetOrArchiveArrayArrayOutput() AssetOrArchiveArrayArrayOutput

func (AssetOrArchiveArrayArrayOutput) ToAssetOrArchiveArrayArrayOutputWithContext

func (o AssetOrArchiveArrayArrayOutput) ToAssetOrArchiveArrayArrayOutputWithContext(ctx context.Context) AssetOrArchiveArrayArrayOutput

func (AssetOrArchiveArrayArrayOutput) ToOutput added in v3.80.0

type AssetOrArchiveArrayInput

type AssetOrArchiveArrayInput interface {
	Input

	ToAssetOrArchiveArrayOutput() AssetOrArchiveArrayOutput
	ToAssetOrArchiveArrayOutputWithContext(ctx context.Context) AssetOrArchiveArrayOutput
}

AssetOrArchiveArrayInput is an input type that accepts AssetOrArchiveArray and AssetOrArchiveArrayOutput values.

type AssetOrArchiveArrayMap

type AssetOrArchiveArrayMap map[string]AssetOrArchiveArrayInput

AssetOrArchiveArrayMap is an input type for map[string]AssetOrArchiveArrayInput values.

func (AssetOrArchiveArrayMap) ElementType

func (AssetOrArchiveArrayMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string][]AssetOrArchive).

func (AssetOrArchiveArrayMap) ToAssetOrArchiveArrayMapOutput

func (in AssetOrArchiveArrayMap) ToAssetOrArchiveArrayMapOutput() AssetOrArchiveArrayMapOutput

func (AssetOrArchiveArrayMap) ToAssetOrArchiveArrayMapOutputWithContext

func (in AssetOrArchiveArrayMap) ToAssetOrArchiveArrayMapOutputWithContext(ctx context.Context) AssetOrArchiveArrayMapOutput

func (AssetOrArchiveArrayMap) ToOutput added in v3.80.0

type AssetOrArchiveArrayMapInput

type AssetOrArchiveArrayMapInput interface {
	Input

	ToAssetOrArchiveArrayMapOutput() AssetOrArchiveArrayMapOutput
	ToAssetOrArchiveArrayMapOutputWithContext(ctx context.Context) AssetOrArchiveArrayMapOutput
}

AssetOrArchiveArrayMapInput is an input type that accepts AssetOrArchiveArrayMap and AssetOrArchiveArrayMapOutput values.

type AssetOrArchiveArrayMapOutput

type AssetOrArchiveArrayMapOutput struct{ *OutputState }

AssetOrArchiveArrayMapOutput is an Output that returns map[string][]AssetOrArchive values.

func (AssetOrArchiveArrayMapOutput) ElementType

ElementType returns the element type of this Output (map[string][]AssetOrArchive).

func (AssetOrArchiveArrayMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (AssetOrArchiveArrayMapOutput) MarshalJSON added in v3.50.0

func (AssetOrArchiveArrayMapOutput) MarshalJSON() ([]byte, error)

func (AssetOrArchiveArrayMapOutput) ToAssetOrArchiveArrayMapOutput

func (o AssetOrArchiveArrayMapOutput) ToAssetOrArchiveArrayMapOutput() AssetOrArchiveArrayMapOutput

func (AssetOrArchiveArrayMapOutput) ToAssetOrArchiveArrayMapOutputWithContext

func (o AssetOrArchiveArrayMapOutput) ToAssetOrArchiveArrayMapOutputWithContext(ctx context.Context) AssetOrArchiveArrayMapOutput

func (AssetOrArchiveArrayMapOutput) ToOutput added in v3.80.0

type AssetOrArchiveArrayOutput

type AssetOrArchiveArrayOutput struct{ *OutputState }

AssetOrArchiveArrayOutput is an Output that returns []AssetOrArchive values.

func (AssetOrArchiveArrayOutput) ElementType

func (AssetOrArchiveArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]AssetOrArchive).

func (AssetOrArchiveArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (AssetOrArchiveArrayOutput) MarshalJSON added in v3.50.0

func (AssetOrArchiveArrayOutput) MarshalJSON() ([]byte, error)

func (AssetOrArchiveArrayOutput) ToAssetOrArchiveArrayOutput

func (o AssetOrArchiveArrayOutput) ToAssetOrArchiveArrayOutput() AssetOrArchiveArrayOutput

func (AssetOrArchiveArrayOutput) ToAssetOrArchiveArrayOutputWithContext

func (o AssetOrArchiveArrayOutput) ToAssetOrArchiveArrayOutputWithContext(ctx context.Context) AssetOrArchiveArrayOutput

func (AssetOrArchiveArrayOutput) ToOutput added in v3.80.0

type AssetOrArchiveInput

type AssetOrArchiveInput interface {
	Input

	ToAssetOrArchiveOutput() AssetOrArchiveOutput
	ToAssetOrArchiveOutputWithContext(ctx context.Context) AssetOrArchiveOutput
}

AssetOrArchiveInput is an input type that accepts AssetOrArchive and AssetOrArchiveOutput values.

type AssetOrArchiveMap

type AssetOrArchiveMap map[string]AssetOrArchiveInput

AssetOrArchiveMap is an input type for map[string]AssetOrArchiveInput values.

func (AssetOrArchiveMap) ElementType

func (AssetOrArchiveMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string]AssetOrArchive).

func (AssetOrArchiveMap) ToAssetOrArchiveMapOutput

func (in AssetOrArchiveMap) ToAssetOrArchiveMapOutput() AssetOrArchiveMapOutput

func (AssetOrArchiveMap) ToAssetOrArchiveMapOutputWithContext

func (in AssetOrArchiveMap) ToAssetOrArchiveMapOutputWithContext(ctx context.Context) AssetOrArchiveMapOutput

func (AssetOrArchiveMap) ToOutput added in v3.80.0

type AssetOrArchiveMapArray

type AssetOrArchiveMapArray []AssetOrArchiveMapInput

AssetOrArchiveMapArray is an input type for []AssetOrArchiveMapInput values.

func (AssetOrArchiveMapArray) ElementType

func (AssetOrArchiveMapArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]map[string]AssetOrArchive).

func (AssetOrArchiveMapArray) ToAssetOrArchiveMapArrayOutput

func (in AssetOrArchiveMapArray) ToAssetOrArchiveMapArrayOutput() AssetOrArchiveMapArrayOutput

func (AssetOrArchiveMapArray) ToAssetOrArchiveMapArrayOutputWithContext

func (in AssetOrArchiveMapArray) ToAssetOrArchiveMapArrayOutputWithContext(ctx context.Context) AssetOrArchiveMapArrayOutput

func (AssetOrArchiveMapArray) ToOutput added in v3.80.0

type AssetOrArchiveMapArrayInput

type AssetOrArchiveMapArrayInput interface {
	Input

	ToAssetOrArchiveMapArrayOutput() AssetOrArchiveMapArrayOutput
	ToAssetOrArchiveMapArrayOutputWithContext(ctx context.Context) AssetOrArchiveMapArrayOutput
}

AssetOrArchiveMapArrayInput is an input type that accepts AssetOrArchiveMapArray and AssetOrArchiveMapArrayOutput values.

type AssetOrArchiveMapArrayOutput

type AssetOrArchiveMapArrayOutput struct{ *OutputState }

AssetOrArchiveMapArrayOutput is an Output that returns []map[string]AssetOrArchive values.

func (AssetOrArchiveMapArrayOutput) ElementType

ElementType returns the element type of this Output ([]map[string]AssetOrArchive).

func (AssetOrArchiveMapArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (AssetOrArchiveMapArrayOutput) MarshalJSON added in v3.50.0

func (AssetOrArchiveMapArrayOutput) MarshalJSON() ([]byte, error)

func (AssetOrArchiveMapArrayOutput) ToAssetOrArchiveMapArrayOutput

func (o AssetOrArchiveMapArrayOutput) ToAssetOrArchiveMapArrayOutput() AssetOrArchiveMapArrayOutput

func (AssetOrArchiveMapArrayOutput) ToAssetOrArchiveMapArrayOutputWithContext

func (o AssetOrArchiveMapArrayOutput) ToAssetOrArchiveMapArrayOutputWithContext(ctx context.Context) AssetOrArchiveMapArrayOutput

func (AssetOrArchiveMapArrayOutput) ToOutput added in v3.80.0

type AssetOrArchiveMapInput

type AssetOrArchiveMapInput interface {
	Input

	ToAssetOrArchiveMapOutput() AssetOrArchiveMapOutput
	ToAssetOrArchiveMapOutputWithContext(ctx context.Context) AssetOrArchiveMapOutput
}

AssetOrArchiveMapInput is an input type that accepts AssetOrArchiveMap and AssetOrArchiveMapOutput values.

type AssetOrArchiveMapMap

type AssetOrArchiveMapMap map[string]AssetOrArchiveMapInput

AssetOrArchiveMapMap is an input type for map[string]AssetOrArchiveMapInput values.

func (AssetOrArchiveMapMap) ElementType

func (AssetOrArchiveMapMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string]map[string]AssetOrArchive).

func (AssetOrArchiveMapMap) ToAssetOrArchiveMapMapOutput

func (in AssetOrArchiveMapMap) ToAssetOrArchiveMapMapOutput() AssetOrArchiveMapMapOutput

func (AssetOrArchiveMapMap) ToAssetOrArchiveMapMapOutputWithContext

func (in AssetOrArchiveMapMap) ToAssetOrArchiveMapMapOutputWithContext(ctx context.Context) AssetOrArchiveMapMapOutput

func (AssetOrArchiveMapMap) ToOutput added in v3.80.0

type AssetOrArchiveMapMapInput

type AssetOrArchiveMapMapInput interface {
	Input

	ToAssetOrArchiveMapMapOutput() AssetOrArchiveMapMapOutput
	ToAssetOrArchiveMapMapOutputWithContext(ctx context.Context) AssetOrArchiveMapMapOutput
}

AssetOrArchiveMapMapInput is an input type that accepts AssetOrArchiveMapMap and AssetOrArchiveMapMapOutput values.

type AssetOrArchiveMapMapOutput

type AssetOrArchiveMapMapOutput struct{ *OutputState }

AssetOrArchiveMapMapOutput is an Output that returns map[string]map[string]AssetOrArchive values.

func (AssetOrArchiveMapMapOutput) ElementType

func (AssetOrArchiveMapMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string]map[string]AssetOrArchive).

func (AssetOrArchiveMapMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (AssetOrArchiveMapMapOutput) MarshalJSON added in v3.50.0

func (AssetOrArchiveMapMapOutput) MarshalJSON() ([]byte, error)

func (AssetOrArchiveMapMapOutput) ToAssetOrArchiveMapMapOutput

func (o AssetOrArchiveMapMapOutput) ToAssetOrArchiveMapMapOutput() AssetOrArchiveMapMapOutput

func (AssetOrArchiveMapMapOutput) ToAssetOrArchiveMapMapOutputWithContext

func (o AssetOrArchiveMapMapOutput) ToAssetOrArchiveMapMapOutputWithContext(ctx context.Context) AssetOrArchiveMapMapOutput

func (AssetOrArchiveMapMapOutput) ToOutput added in v3.80.0

type