orchestration

package
v3.15.2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StackV1

type StackV1 struct {
	pulumi.CustomResourceState

	// A list of stack outputs.
	StackOutputs StackV1StackOutputArrayOutput `pulumi:"StackOutputs"`
	// List of stack capabilities for stack.
	Capabilities pulumi.StringArrayOutput `pulumi:"capabilities"`
	// The date and time when the resource was created. The date
	// and time stamp format is ISO 8601: CCYY-MM-DDThh:mm:ss±hh:mm
	// For example, 2015-08-27T09:49:58-05:00. The ±hh:mm value, if included,
	// is the time zone as an offset from UTC.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The description of the stack resource.
	Description pulumi.StringOutput `pulumi:"description"`
	// Enables or disables deletion of all stack
	// resources when a stack creation fails. Default is true, meaning all
	// resources are not deleted when stack creation fails.
	DisableRollback pulumi.BoolOutput `pulumi:"disableRollback"`
	// Environment key/value pairs to associate with
	// the stack which contains details for the environment of the stack.
	// Allowed keys: Bin, URL, Files. Changing this updates the existing stack
	// Environment Opts.
	EnvironmentOpts pulumi.MapOutput `pulumi:"environmentOpts"`
	// A unique name for the stack. It must start with an
	// alphabetic character. Changing this updates the stack's name.
	Name pulumi.StringOutput `pulumi:"name"`
	// List of notification topics for stack.
	NotificationTopics pulumi.StringArrayOutput `pulumi:"notificationTopics"`
	// User-defined key/value pairs as parameters to pass
	// to the template. Changing this updates the existing stack parameters.
	Parameters pulumi.MapOutput `pulumi:"parameters"`
	// The region in which to create the stack. If
	// omitted, the `region` argument of the provider is used. Changing this
	// creates a new stack.
	Region pulumi.StringOutput `pulumi:"region"`
	// The status of the stack.
	Status pulumi.StringOutput `pulumi:"status"`
	// The reason for the current status of the stack.
	StatusReason pulumi.StringOutput `pulumi:"statusReason"`
	// A list of tags to assosciate with the Stack
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// The description of the stack template.
	TemplateDescription pulumi.StringOutput `pulumi:"templateDescription"`
	// Template key/value pairs to associate with the
	// stack which contains either the template file or url.
	// Allowed keys: Bin, URL, Files. Changing this updates the existing stack
	// Template Opts.
	TemplateOpts pulumi.MapOutput `pulumi:"templateOpts"`
	// The timeout for stack action in minutes.
	Timeout pulumi.IntOutput `pulumi:"timeout"`
	// The date and time when the resource was updated. The date
	// and time stamp format is ISO 8601: CCYY-MM-DDThh:mm:ss±hh:mm
	// For example, 2015-08-27T09:49:58-05:00. The ±hh:mm value, if included,
	// is the time zone as an offset from UTC.
	UpdatedTime pulumi.StringOutput `pulumi:"updatedTime"`
}

Manages a V1 stack resource within OpenStack.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/orchestration"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := orchestration.NewStackV1(ctx, "stack1", &orchestration.StackV1Args{
			DisableRollback: pulumi.Bool(true),
			EnvironmentOpts: pulumi.Map{
				"Bin": pulumi.Any("\n\n"),
			},
			Parameters: pulumi.Map{
				"length": pulumi.Any(4),
			},
			TemplateOpts: pulumi.Map{
				"Bin": pulumi.Any(`heat_template_version: 2013-05-23

parameters:

length:
  type: number

resources:

test_res:
  type: OS::Heat::TestResource
random:
  type: OS::Heat::RandomString
  properties:
    length: {get_param: length}

`),

			},
			Timeout: pulumi.Int(30),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

stacks can be imported using the `id`, e.g.

```sh $ pulumi import openstack:orchestration/stackV1:StackV1 stack_1 ea257959-eeb1-4c10-8d33-26f0409a755d ```

func GetStackV1

func GetStackV1(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StackV1State, opts ...pulumi.ResourceOption) (*StackV1, error)

GetStackV1 gets an existing StackV1 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 NewStackV1

func NewStackV1(ctx *pulumi.Context,
	name string, args *StackV1Args, opts ...pulumi.ResourceOption) (*StackV1, error)

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

func (*StackV1) ElementType

func (*StackV1) ElementType() reflect.Type

func (*StackV1) ToStackV1Output

func (i *StackV1) ToStackV1Output() StackV1Output

func (*StackV1) ToStackV1OutputWithContext

func (i *StackV1) ToStackV1OutputWithContext(ctx context.Context) StackV1Output

type StackV1Args

type StackV1Args struct {
	// A list of stack outputs.
	StackOutputs StackV1StackOutputArrayInput
	// List of stack capabilities for stack.
	Capabilities pulumi.StringArrayInput
	// The date and time when the resource was created. The date
	// and time stamp format is ISO 8601: CCYY-MM-DDThh:mm:ss±hh:mm
	// For example, 2015-08-27T09:49:58-05:00. The ±hh:mm value, if included,
	// is the time zone as an offset from UTC.
	CreationTime pulumi.StringPtrInput
	// The description of the stack resource.
	Description pulumi.StringPtrInput
	// Enables or disables deletion of all stack
	// resources when a stack creation fails. Default is true, meaning all
	// resources are not deleted when stack creation fails.
	DisableRollback pulumi.BoolPtrInput
	// Environment key/value pairs to associate with
	// the stack which contains details for the environment of the stack.
	// Allowed keys: Bin, URL, Files. Changing this updates the existing stack
	// Environment Opts.
	EnvironmentOpts pulumi.MapInput
	// A unique name for the stack. It must start with an
	// alphabetic character. Changing this updates the stack's name.
	Name pulumi.StringPtrInput
	// List of notification topics for stack.
	NotificationTopics pulumi.StringArrayInput
	// User-defined key/value pairs as parameters to pass
	// to the template. Changing this updates the existing stack parameters.
	Parameters pulumi.MapInput
	// The region in which to create the stack. If
	// omitted, the `region` argument of the provider is used. Changing this
	// creates a new stack.
	Region pulumi.StringPtrInput
	// The status of the stack.
	Status pulumi.StringPtrInput
	// The reason for the current status of the stack.
	StatusReason pulumi.StringPtrInput
	// A list of tags to assosciate with the Stack
	Tags pulumi.StringArrayInput
	// The description of the stack template.
	TemplateDescription pulumi.StringPtrInput
	// Template key/value pairs to associate with the
	// stack which contains either the template file or url.
	// Allowed keys: Bin, URL, Files. Changing this updates the existing stack
	// Template Opts.
	TemplateOpts pulumi.MapInput
	// The timeout for stack action in minutes.
	Timeout pulumi.IntPtrInput
	// The date and time when the resource was updated. The date
	// and time stamp format is ISO 8601: CCYY-MM-DDThh:mm:ss±hh:mm
	// For example, 2015-08-27T09:49:58-05:00. The ±hh:mm value, if included,
	// is the time zone as an offset from UTC.
	UpdatedTime pulumi.StringPtrInput
}

The set of arguments for constructing a StackV1 resource.

func (StackV1Args) ElementType

func (StackV1Args) ElementType() reflect.Type

type StackV1Array

type StackV1Array []StackV1Input

func (StackV1Array) ElementType

func (StackV1Array) ElementType() reflect.Type

func (StackV1Array) ToStackV1ArrayOutput

func (i StackV1Array) ToStackV1ArrayOutput() StackV1ArrayOutput

func (StackV1Array) ToStackV1ArrayOutputWithContext

func (i StackV1Array) ToStackV1ArrayOutputWithContext(ctx context.Context) StackV1ArrayOutput

type StackV1ArrayInput

type StackV1ArrayInput interface {
	pulumi.Input

	ToStackV1ArrayOutput() StackV1ArrayOutput
	ToStackV1ArrayOutputWithContext(context.Context) StackV1ArrayOutput
}

StackV1ArrayInput is an input type that accepts StackV1Array and StackV1ArrayOutput values. You can construct a concrete instance of `StackV1ArrayInput` via:

StackV1Array{ StackV1Args{...} }

type StackV1ArrayOutput

type StackV1ArrayOutput struct{ *pulumi.OutputState }

func (StackV1ArrayOutput) ElementType

func (StackV1ArrayOutput) ElementType() reflect.Type

func (StackV1ArrayOutput) Index

func (StackV1ArrayOutput) ToStackV1ArrayOutput

func (o StackV1ArrayOutput) ToStackV1ArrayOutput() StackV1ArrayOutput

func (StackV1ArrayOutput) ToStackV1ArrayOutputWithContext

func (o StackV1ArrayOutput) ToStackV1ArrayOutputWithContext(ctx context.Context) StackV1ArrayOutput

type StackV1Input

type StackV1Input interface {
	pulumi.Input

	ToStackV1Output() StackV1Output
	ToStackV1OutputWithContext(ctx context.Context) StackV1Output
}

type StackV1Map

type StackV1Map map[string]StackV1Input

func (StackV1Map) ElementType

func (StackV1Map) ElementType() reflect.Type

func (StackV1Map) ToStackV1MapOutput

func (i StackV1Map) ToStackV1MapOutput() StackV1MapOutput

func (StackV1Map) ToStackV1MapOutputWithContext

func (i StackV1Map) ToStackV1MapOutputWithContext(ctx context.Context) StackV1MapOutput

type StackV1MapInput

type StackV1MapInput interface {
	pulumi.Input

	ToStackV1MapOutput() StackV1MapOutput
	ToStackV1MapOutputWithContext(context.Context) StackV1MapOutput
}

StackV1MapInput is an input type that accepts StackV1Map and StackV1MapOutput values. You can construct a concrete instance of `StackV1MapInput` via:

StackV1Map{ "key": StackV1Args{...} }

type StackV1MapOutput

type StackV1MapOutput struct{ *pulumi.OutputState }

func (StackV1MapOutput) ElementType

func (StackV1MapOutput) ElementType() reflect.Type

func (StackV1MapOutput) MapIndex

func (StackV1MapOutput) ToStackV1MapOutput

func (o StackV1MapOutput) ToStackV1MapOutput() StackV1MapOutput

func (StackV1MapOutput) ToStackV1MapOutputWithContext

func (o StackV1MapOutput) ToStackV1MapOutputWithContext(ctx context.Context) StackV1MapOutput

type StackV1Output

type StackV1Output struct{ *pulumi.OutputState }

func (StackV1Output) Capabilities added in v3.9.0

func (o StackV1Output) Capabilities() pulumi.StringArrayOutput

List of stack capabilities for stack.

func (StackV1Output) CreationTime added in v3.9.0

func (o StackV1Output) CreationTime() pulumi.StringOutput

The date and time when the resource was created. The date and time stamp format is ISO 8601: CCYY-MM-DDThh:mm:ss±hh:mm For example, 2015-08-27T09:49:58-05:00. The ±hh:mm value, if included, is the time zone as an offset from UTC.

func (StackV1Output) Description added in v3.9.0

func (o StackV1Output) Description() pulumi.StringOutput

The description of the stack resource.

func (StackV1Output) DisableRollback added in v3.9.0

func (o StackV1Output) DisableRollback() pulumi.BoolOutput

Enables or disables deletion of all stack resources when a stack creation fails. Default is true, meaning all resources are not deleted when stack creation fails.

func (StackV1Output) ElementType

func (StackV1Output) ElementType() reflect.Type

func (StackV1Output) EnvironmentOpts added in v3.9.0

func (o StackV1Output) EnvironmentOpts() pulumi.MapOutput

Environment key/value pairs to associate with the stack which contains details for the environment of the stack. Allowed keys: Bin, URL, Files. Changing this updates the existing stack Environment Opts.

func (StackV1Output) Name added in v3.9.0

A unique name for the stack. It must start with an alphabetic character. Changing this updates the stack's name.

func (StackV1Output) NotificationTopics added in v3.9.0

func (o StackV1Output) NotificationTopics() pulumi.StringArrayOutput

List of notification topics for stack.

func (StackV1Output) Parameters added in v3.9.0

func (o StackV1Output) Parameters() pulumi.MapOutput

User-defined key/value pairs as parameters to pass to the template. Changing this updates the existing stack parameters.

func (StackV1Output) Region added in v3.9.0

func (o StackV1Output) Region() pulumi.StringOutput

The region in which to create the stack. If omitted, the `region` argument of the provider is used. Changing this creates a new stack.

func (StackV1Output) StackOutputs added in v3.9.0

A list of stack outputs.

func (StackV1Output) Status added in v3.9.0

func (o StackV1Output) Status() pulumi.StringOutput

The status of the stack.

func (StackV1Output) StatusReason added in v3.9.0

func (o StackV1Output) StatusReason() pulumi.StringOutput

The reason for the current status of the stack.

func (StackV1Output) Tags added in v3.9.0

A list of tags to assosciate with the Stack

func (StackV1Output) TemplateDescription added in v3.9.0

func (o StackV1Output) TemplateDescription() pulumi.StringOutput

The description of the stack template.

func (StackV1Output) TemplateOpts added in v3.9.0

func (o StackV1Output) TemplateOpts() pulumi.MapOutput

Template key/value pairs to associate with the stack which contains either the template file or url. Allowed keys: Bin, URL, Files. Changing this updates the existing stack Template Opts.

func (StackV1Output) Timeout added in v3.9.0

func (o StackV1Output) Timeout() pulumi.IntOutput

The timeout for stack action in minutes.

func (StackV1Output) ToStackV1Output

func (o StackV1Output) ToStackV1Output() StackV1Output

func (StackV1Output) ToStackV1OutputWithContext

func (o StackV1Output) ToStackV1OutputWithContext(ctx context.Context) StackV1Output

func (StackV1Output) UpdatedTime added in v3.9.0

func (o StackV1Output) UpdatedTime() pulumi.StringOutput

The date and time when the resource was updated. The date and time stamp format is ISO 8601: CCYY-MM-DDThh:mm:ss±hh:mm For example, 2015-08-27T09:49:58-05:00. The ±hh:mm value, if included, is the time zone as an offset from UTC.

type StackV1StackOutput

type StackV1StackOutput struct {
	// The description of the stack resource.
	Description *string `pulumi:"description"`
	OutputKey   string  `pulumi:"outputKey"`
	OutputValue string  `pulumi:"outputValue"`
}

type StackV1StackOutputArgs

type StackV1StackOutputArgs struct {
	// The description of the stack resource.
	Description pulumi.StringPtrInput `pulumi:"description"`
	OutputKey   pulumi.StringInput    `pulumi:"outputKey"`
	OutputValue pulumi.StringInput    `pulumi:"outputValue"`
}

func (StackV1StackOutputArgs) ElementType

func (StackV1StackOutputArgs) ElementType() reflect.Type

func (StackV1StackOutputArgs) ToStackV1StackOutputOutput

func (i StackV1StackOutputArgs) ToStackV1StackOutputOutput() StackV1StackOutputOutput

func (StackV1StackOutputArgs) ToStackV1StackOutputOutputWithContext

func (i StackV1StackOutputArgs) ToStackV1StackOutputOutputWithContext(ctx context.Context) StackV1StackOutputOutput

type StackV1StackOutputArray

type StackV1StackOutputArray []StackV1StackOutputInput

func (StackV1StackOutputArray) ElementType

func (StackV1StackOutputArray) ElementType() reflect.Type

func (StackV1StackOutputArray) ToStackV1StackOutputArrayOutput

func (i StackV1StackOutputArray) ToStackV1StackOutputArrayOutput() StackV1StackOutputArrayOutput

func (StackV1StackOutputArray) ToStackV1StackOutputArrayOutputWithContext

func (i StackV1StackOutputArray) ToStackV1StackOutputArrayOutputWithContext(ctx context.Context) StackV1StackOutputArrayOutput

type StackV1StackOutputArrayInput

type StackV1StackOutputArrayInput interface {
	pulumi.Input

	ToStackV1StackOutputArrayOutput() StackV1StackOutputArrayOutput
	ToStackV1StackOutputArrayOutputWithContext(context.Context) StackV1StackOutputArrayOutput
}

StackV1StackOutputArrayInput is an input type that accepts StackV1StackOutputArray and StackV1StackOutputArrayOutput values. You can construct a concrete instance of `StackV1StackOutputArrayInput` via:

StackV1StackOutputArray{ StackV1StackOutputArgs{...} }

type StackV1StackOutputArrayOutput

type StackV1StackOutputArrayOutput struct{ *pulumi.OutputState }

func (StackV1StackOutputArrayOutput) ElementType

func (StackV1StackOutputArrayOutput) Index

func (StackV1StackOutputArrayOutput) ToStackV1StackOutputArrayOutput

func (o StackV1StackOutputArrayOutput) ToStackV1StackOutputArrayOutput() StackV1StackOutputArrayOutput

func (StackV1StackOutputArrayOutput) ToStackV1StackOutputArrayOutputWithContext

func (o StackV1StackOutputArrayOutput) ToStackV1StackOutputArrayOutputWithContext(ctx context.Context) StackV1StackOutputArrayOutput

type StackV1StackOutputInput

type StackV1StackOutputInput interface {
	pulumi.Input

	ToStackV1StackOutputOutput() StackV1StackOutputOutput
	ToStackV1StackOutputOutputWithContext(context.Context) StackV1StackOutputOutput
}

StackV1StackOutputInput is an input type that accepts StackV1StackOutputArgs and StackV1StackOutputOutput values. You can construct a concrete instance of `StackV1StackOutputInput` via:

StackV1StackOutputArgs{...}

type StackV1StackOutputOutput

type StackV1StackOutputOutput struct{ *pulumi.OutputState }

func (StackV1StackOutputOutput) Description

The description of the stack resource.

func (StackV1StackOutputOutput) ElementType

func (StackV1StackOutputOutput) ElementType() reflect.Type

func (StackV1StackOutputOutput) OutputKey

func (StackV1StackOutputOutput) OutputValue

func (StackV1StackOutputOutput) ToStackV1StackOutputOutput

func (o StackV1StackOutputOutput) ToStackV1StackOutputOutput() StackV1StackOutputOutput

func (StackV1StackOutputOutput) ToStackV1StackOutputOutputWithContext

func (o StackV1StackOutputOutput) ToStackV1StackOutputOutputWithContext(ctx context.Context) StackV1StackOutputOutput

type StackV1State

type StackV1State struct {
	// A list of stack outputs.
	StackOutputs StackV1StackOutputArrayInput
	// List of stack capabilities for stack.
	Capabilities pulumi.StringArrayInput
	// The date and time when the resource was created. The date
	// and time stamp format is ISO 8601: CCYY-MM-DDThh:mm:ss±hh:mm
	// For example, 2015-08-27T09:49:58-05:00. The ±hh:mm value, if included,
	// is the time zone as an offset from UTC.
	CreationTime pulumi.StringPtrInput
	// The description of the stack resource.
	Description pulumi.StringPtrInput
	// Enables or disables deletion of all stack
	// resources when a stack creation fails. Default is true, meaning all
	// resources are not deleted when stack creation fails.
	DisableRollback pulumi.BoolPtrInput
	// Environment key/value pairs to associate with
	// the stack which contains details for the environment of the stack.
	// Allowed keys: Bin, URL, Files. Changing this updates the existing stack
	// Environment Opts.
	EnvironmentOpts pulumi.MapInput
	// A unique name for the stack. It must start with an
	// alphabetic character. Changing this updates the stack's name.
	Name pulumi.StringPtrInput
	// List of notification topics for stack.
	NotificationTopics pulumi.StringArrayInput
	// User-defined key/value pairs as parameters to pass
	// to the template. Changing this updates the existing stack parameters.
	Parameters pulumi.MapInput
	// The region in which to create the stack. If
	// omitted, the `region` argument of the provider is used. Changing this
	// creates a new stack.
	Region pulumi.StringPtrInput
	// The status of the stack.
	Status pulumi.StringPtrInput
	// The reason for the current status of the stack.
	StatusReason pulumi.StringPtrInput
	// A list of tags to assosciate with the Stack
	Tags pulumi.StringArrayInput
	// The description of the stack template.
	TemplateDescription pulumi.StringPtrInput
	// Template key/value pairs to associate with the
	// stack which contains either the template file or url.
	// Allowed keys: Bin, URL, Files. Changing this updates the existing stack
	// Template Opts.
	TemplateOpts pulumi.MapInput
	// The timeout for stack action in minutes.
	Timeout pulumi.IntPtrInput
	// The date and time when the resource was updated. The date
	// and time stamp format is ISO 8601: CCYY-MM-DDThh:mm:ss±hh:mm
	// For example, 2015-08-27T09:49:58-05:00. The ±hh:mm value, if included,
	// is the time zone as an offset from UTC.
	UpdatedTime pulumi.StringPtrInput
}

func (StackV1State) ElementType

func (StackV1State) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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