deploymentmanager

package
v6.65.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployment

type Deployment struct {
	pulumi.CustomResourceState

	// Set the policy to use for creating new resources. Only used on
	// create and update. Valid values are `CREATE_OR_ACQUIRE` (default) or
	// `ACQUIRE`. If set to `ACQUIRE` and resources do not already exist,
	// the deployment will fail. Note that updating this field does not
	// actually affect the deployment, just how it is updated.
	// Default value is `CREATE_OR_ACQUIRE`.
	// Possible values are: `ACQUIRE`, `CREATE_OR_ACQUIRE`.
	CreatePolicy pulumi.StringPtrOutput `pulumi:"createPolicy"`
	// Set the policy to use for deleting new resources on update/delete.
	// Valid values are `DELETE` (default) or `ABANDON`. If `DELETE`,
	// resource is deleted after removal from Deployment Manager. If
	// `ABANDON`, the resource is only removed from Deployment Manager
	// and is not actually deleted. Note that updating this field does not
	// actually change the deployment, just how it is updated.
	// Default value is `DELETE`.
	// Possible values are: `ABANDON`, `DELETE`.
	DeletePolicy pulumi.StringPtrOutput `pulumi:"deletePolicy"`
	// Unique identifier for deployment. Output only.
	DeploymentId pulumi.StringOutput `pulumi:"deploymentId"`
	// Optional user-provided description of deployment.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Key-value pairs to apply to this labels.
	// Structure is documented below.
	Labels DeploymentLabelArrayOutput `pulumi:"labels"`
	// Output only. URL of the manifest representing the last manifest that
	// was successfully deployed.
	Manifest pulumi.StringOutput `pulumi:"manifest"`
	// Unique name for the deployment
	Name pulumi.StringOutput `pulumi:"name"`
	// If set to true, a deployment is created with "shell" resources
	// that are not actually instantiated. This allows you to preview a
	// deployment. It can be updated to false to actually deploy
	// with real resources.
	// ~>**NOTE:** Deployment Manager does not allow update
	// of a deployment in preview (unless updating to preview=false). Thus,
	// the provider will force-recreate deployments if either preview is updated
	// to true or if other fields are updated while preview is true.
	Preview pulumi.BoolPtrOutput `pulumi:"preview"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// Output only. Server defined URL for the resource.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// Parameters that define your deployment, including the deployment
	// configuration and relevant templates.
	// Structure is documented below.
	Target DeploymentTargetOutput `pulumi:"target"`
}

A collection of resources that are deployed and managed together using a configuration file

> **Warning:** This resource is intended only to manage a Deployment resource, and attempts to manage the Deployment's resources in the provider as well will likely result in errors or unexpected behavior as the two tools fight over ownership. We strongly discourage doing so unless you are an experienced user of both tools.

In addition, due to limitations of the API, the provider will treat deployments in preview as recreate-only for any update operation other than actually deploying an in-preview deployment (i.e. `preview=true` to `preview=false`).

## Example Usage ### Deployment Manager Deployment Basic

```go package main

import (

"os"

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/deploymentmanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := os.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := deploymentmanager.NewDeployment(ctx, "deployment", &deploymentmanager.DeploymentArgs{
			Target: &deploymentmanager.DeploymentTargetArgs{
				Config: &deploymentmanager.DeploymentTargetConfigArgs{
					Content: readFileOrPanic("path/to/config.yml"),
				},
			},
			Labels: deploymentmanager.DeploymentLabelArray{
				&deploymentmanager.DeploymentLabelArgs{
					Key:   pulumi.String("foo"),
					Value: pulumi.String("bar"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Deployment can be imported using any of these accepted formats

```sh

$ pulumi import gcp:deploymentmanager/deployment:Deployment default projects/{{project}}/deployments/{{name}}

```

```sh

$ pulumi import gcp:deploymentmanager/deployment:Deployment default {{project}}/{{name}}

```

```sh

$ pulumi import gcp:deploymentmanager/deployment:Deployment default {{name}}

```

func GetDeployment

func GetDeployment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeploymentState, opts ...pulumi.ResourceOption) (*Deployment, error)

GetDeployment gets an existing Deployment 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 NewDeployment

func NewDeployment(ctx *pulumi.Context,
	name string, args *DeploymentArgs, opts ...pulumi.ResourceOption) (*Deployment, error)

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

func (*Deployment) ElementType

func (*Deployment) ElementType() reflect.Type

func (*Deployment) ToDeploymentOutput

func (i *Deployment) ToDeploymentOutput() DeploymentOutput

func (*Deployment) ToDeploymentOutputWithContext

func (i *Deployment) ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput

func (*Deployment) ToOutput added in v6.65.1

func (i *Deployment) ToOutput(ctx context.Context) pulumix.Output[*Deployment]

type DeploymentArgs

type DeploymentArgs struct {
	// Set the policy to use for creating new resources. Only used on
	// create and update. Valid values are `CREATE_OR_ACQUIRE` (default) or
	// `ACQUIRE`. If set to `ACQUIRE` and resources do not already exist,
	// the deployment will fail. Note that updating this field does not
	// actually affect the deployment, just how it is updated.
	// Default value is `CREATE_OR_ACQUIRE`.
	// Possible values are: `ACQUIRE`, `CREATE_OR_ACQUIRE`.
	CreatePolicy pulumi.StringPtrInput
	// Set the policy to use for deleting new resources on update/delete.
	// Valid values are `DELETE` (default) or `ABANDON`. If `DELETE`,
	// resource is deleted after removal from Deployment Manager. If
	// `ABANDON`, the resource is only removed from Deployment Manager
	// and is not actually deleted. Note that updating this field does not
	// actually change the deployment, just how it is updated.
	// Default value is `DELETE`.
	// Possible values are: `ABANDON`, `DELETE`.
	DeletePolicy pulumi.StringPtrInput
	// Optional user-provided description of deployment.
	Description pulumi.StringPtrInput
	// Key-value pairs to apply to this labels.
	// Structure is documented below.
	Labels DeploymentLabelArrayInput
	// Unique name for the deployment
	Name pulumi.StringPtrInput
	// If set to true, a deployment is created with "shell" resources
	// that are not actually instantiated. This allows you to preview a
	// deployment. It can be updated to false to actually deploy
	// with real resources.
	// ~>**NOTE:** Deployment Manager does not allow update
	// of a deployment in preview (unless updating to preview=false). Thus,
	// the provider will force-recreate deployments if either preview is updated
	// to true or if other fields are updated while preview is true.
	Preview pulumi.BoolPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Parameters that define your deployment, including the deployment
	// configuration and relevant templates.
	// Structure is documented below.
	Target DeploymentTargetInput
}

The set of arguments for constructing a Deployment resource.

func (DeploymentArgs) ElementType

func (DeploymentArgs) ElementType() reflect.Type

type DeploymentArray

type DeploymentArray []DeploymentInput

func (DeploymentArray) ElementType

func (DeploymentArray) ElementType() reflect.Type

func (DeploymentArray) ToDeploymentArrayOutput

func (i DeploymentArray) ToDeploymentArrayOutput() DeploymentArrayOutput

func (DeploymentArray) ToDeploymentArrayOutputWithContext

func (i DeploymentArray) ToDeploymentArrayOutputWithContext(ctx context.Context) DeploymentArrayOutput

func (DeploymentArray) ToOutput added in v6.65.1

type DeploymentArrayInput

type DeploymentArrayInput interface {
	pulumi.Input

	ToDeploymentArrayOutput() DeploymentArrayOutput
	ToDeploymentArrayOutputWithContext(context.Context) DeploymentArrayOutput
}

DeploymentArrayInput is an input type that accepts DeploymentArray and DeploymentArrayOutput values. You can construct a concrete instance of `DeploymentArrayInput` via:

DeploymentArray{ DeploymentArgs{...} }

type DeploymentArrayOutput

type DeploymentArrayOutput struct{ *pulumi.OutputState }

func (DeploymentArrayOutput) ElementType

func (DeploymentArrayOutput) ElementType() reflect.Type

func (DeploymentArrayOutput) Index

func (DeploymentArrayOutput) ToDeploymentArrayOutput

func (o DeploymentArrayOutput) ToDeploymentArrayOutput() DeploymentArrayOutput

func (DeploymentArrayOutput) ToDeploymentArrayOutputWithContext

func (o DeploymentArrayOutput) ToDeploymentArrayOutputWithContext(ctx context.Context) DeploymentArrayOutput

func (DeploymentArrayOutput) ToOutput added in v6.65.1

type DeploymentInput

type DeploymentInput interface {
	pulumi.Input

	ToDeploymentOutput() DeploymentOutput
	ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput
}

type DeploymentLabel

type DeploymentLabel struct {
	// Key for label.
	Key *string `pulumi:"key"`
	// Value of label.
	Value *string `pulumi:"value"`
}

type DeploymentLabelArgs

type DeploymentLabelArgs struct {
	// Key for label.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// Value of label.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (DeploymentLabelArgs) ElementType

func (DeploymentLabelArgs) ElementType() reflect.Type

func (DeploymentLabelArgs) ToDeploymentLabelOutput

func (i DeploymentLabelArgs) ToDeploymentLabelOutput() DeploymentLabelOutput

func (DeploymentLabelArgs) ToDeploymentLabelOutputWithContext

func (i DeploymentLabelArgs) ToDeploymentLabelOutputWithContext(ctx context.Context) DeploymentLabelOutput

func (DeploymentLabelArgs) ToOutput added in v6.65.1

type DeploymentLabelArray

type DeploymentLabelArray []DeploymentLabelInput

func (DeploymentLabelArray) ElementType

func (DeploymentLabelArray) ElementType() reflect.Type

func (DeploymentLabelArray) ToDeploymentLabelArrayOutput

func (i DeploymentLabelArray) ToDeploymentLabelArrayOutput() DeploymentLabelArrayOutput

func (DeploymentLabelArray) ToDeploymentLabelArrayOutputWithContext

func (i DeploymentLabelArray) ToDeploymentLabelArrayOutputWithContext(ctx context.Context) DeploymentLabelArrayOutput

func (DeploymentLabelArray) ToOutput added in v6.65.1

type DeploymentLabelArrayInput

type DeploymentLabelArrayInput interface {
	pulumi.Input

	ToDeploymentLabelArrayOutput() DeploymentLabelArrayOutput
	ToDeploymentLabelArrayOutputWithContext(context.Context) DeploymentLabelArrayOutput
}

DeploymentLabelArrayInput is an input type that accepts DeploymentLabelArray and DeploymentLabelArrayOutput values. You can construct a concrete instance of `DeploymentLabelArrayInput` via:

DeploymentLabelArray{ DeploymentLabelArgs{...} }

type DeploymentLabelArrayOutput

type DeploymentLabelArrayOutput struct{ *pulumi.OutputState }

func (DeploymentLabelArrayOutput) ElementType

func (DeploymentLabelArrayOutput) ElementType() reflect.Type

func (DeploymentLabelArrayOutput) Index

func (DeploymentLabelArrayOutput) ToDeploymentLabelArrayOutput

func (o DeploymentLabelArrayOutput) ToDeploymentLabelArrayOutput() DeploymentLabelArrayOutput

func (DeploymentLabelArrayOutput) ToDeploymentLabelArrayOutputWithContext

func (o DeploymentLabelArrayOutput) ToDeploymentLabelArrayOutputWithContext(ctx context.Context) DeploymentLabelArrayOutput

func (DeploymentLabelArrayOutput) ToOutput added in v6.65.1

type DeploymentLabelInput

type DeploymentLabelInput interface {
	pulumi.Input

	ToDeploymentLabelOutput() DeploymentLabelOutput
	ToDeploymentLabelOutputWithContext(context.Context) DeploymentLabelOutput
}

DeploymentLabelInput is an input type that accepts DeploymentLabelArgs and DeploymentLabelOutput values. You can construct a concrete instance of `DeploymentLabelInput` via:

DeploymentLabelArgs{...}

type DeploymentLabelOutput

type DeploymentLabelOutput struct{ *pulumi.OutputState }

func (DeploymentLabelOutput) ElementType

func (DeploymentLabelOutput) ElementType() reflect.Type

func (DeploymentLabelOutput) Key

Key for label.

func (DeploymentLabelOutput) ToDeploymentLabelOutput

func (o DeploymentLabelOutput) ToDeploymentLabelOutput() DeploymentLabelOutput

func (DeploymentLabelOutput) ToDeploymentLabelOutputWithContext

func (o DeploymentLabelOutput) ToDeploymentLabelOutputWithContext(ctx context.Context) DeploymentLabelOutput

func (DeploymentLabelOutput) ToOutput added in v6.65.1

func (DeploymentLabelOutput) Value

Value of label.

type DeploymentMap

type DeploymentMap map[string]DeploymentInput

func (DeploymentMap) ElementType

func (DeploymentMap) ElementType() reflect.Type

func (DeploymentMap) ToDeploymentMapOutput

func (i DeploymentMap) ToDeploymentMapOutput() DeploymentMapOutput

func (DeploymentMap) ToDeploymentMapOutputWithContext

func (i DeploymentMap) ToDeploymentMapOutputWithContext(ctx context.Context) DeploymentMapOutput

func (DeploymentMap) ToOutput added in v6.65.1

type DeploymentMapInput

type DeploymentMapInput interface {
	pulumi.Input

	ToDeploymentMapOutput() DeploymentMapOutput
	ToDeploymentMapOutputWithContext(context.Context) DeploymentMapOutput
}

DeploymentMapInput is an input type that accepts DeploymentMap and DeploymentMapOutput values. You can construct a concrete instance of `DeploymentMapInput` via:

DeploymentMap{ "key": DeploymentArgs{...} }

type DeploymentMapOutput

type DeploymentMapOutput struct{ *pulumi.OutputState }

func (DeploymentMapOutput) ElementType

func (DeploymentMapOutput) ElementType() reflect.Type

func (DeploymentMapOutput) MapIndex

func (DeploymentMapOutput) ToDeploymentMapOutput

func (o DeploymentMapOutput) ToDeploymentMapOutput() DeploymentMapOutput

func (DeploymentMapOutput) ToDeploymentMapOutputWithContext

func (o DeploymentMapOutput) ToDeploymentMapOutputWithContext(ctx context.Context) DeploymentMapOutput

func (DeploymentMapOutput) ToOutput added in v6.65.1

type DeploymentOutput

type DeploymentOutput struct{ *pulumi.OutputState }

func (DeploymentOutput) CreatePolicy added in v6.23.0

func (o DeploymentOutput) CreatePolicy() pulumi.StringPtrOutput

Set the policy to use for creating new resources. Only used on create and update. Valid values are `CREATE_OR_ACQUIRE` (default) or `ACQUIRE`. If set to `ACQUIRE` and resources do not already exist, the deployment will fail. Note that updating this field does not actually affect the deployment, just how it is updated. Default value is `CREATE_OR_ACQUIRE`. Possible values are: `ACQUIRE`, `CREATE_OR_ACQUIRE`.

func (DeploymentOutput) DeletePolicy added in v6.23.0

func (o DeploymentOutput) DeletePolicy() pulumi.StringPtrOutput

Set the policy to use for deleting new resources on update/delete. Valid values are `DELETE` (default) or `ABANDON`. If `DELETE`, resource is deleted after removal from Deployment Manager. If `ABANDON`, the resource is only removed from Deployment Manager and is not actually deleted. Note that updating this field does not actually change the deployment, just how it is updated. Default value is `DELETE`. Possible values are: `ABANDON`, `DELETE`.

func (DeploymentOutput) DeploymentId added in v6.23.0

func (o DeploymentOutput) DeploymentId() pulumi.StringOutput

Unique identifier for deployment. Output only.

func (DeploymentOutput) Description added in v6.23.0

func (o DeploymentOutput) Description() pulumi.StringPtrOutput

Optional user-provided description of deployment.

func (DeploymentOutput) ElementType

func (DeploymentOutput) ElementType() reflect.Type

func (DeploymentOutput) Labels added in v6.23.0

Key-value pairs to apply to this labels. Structure is documented below.

func (DeploymentOutput) Manifest added in v6.23.0

func (o DeploymentOutput) Manifest() pulumi.StringOutput

Output only. URL of the manifest representing the last manifest that was successfully deployed.

func (DeploymentOutput) Name added in v6.23.0

Unique name for the deployment

func (DeploymentOutput) Preview added in v6.23.0

If set to true, a deployment is created with "shell" resources that are not actually instantiated. This allows you to preview a deployment. It can be updated to false to actually deploy with real resources. ~>**NOTE:** Deployment Manager does not allow update of a deployment in preview (unless updating to preview=false). Thus, the provider will force-recreate deployments if either preview is updated to true or if other fields are updated while preview is true.

func (DeploymentOutput) Project added in v6.23.0

func (o DeploymentOutput) Project() pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (o DeploymentOutput) SelfLink() pulumi.StringOutput

Output only. Server defined URL for the resource.

func (DeploymentOutput) Target added in v6.23.0

Parameters that define your deployment, including the deployment configuration and relevant templates. Structure is documented below.

func (DeploymentOutput) ToDeploymentOutput

func (o DeploymentOutput) ToDeploymentOutput() DeploymentOutput

func (DeploymentOutput) ToDeploymentOutputWithContext

func (o DeploymentOutput) ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput

func (DeploymentOutput) ToOutput added in v6.65.1

type DeploymentState

type DeploymentState struct {
	// Set the policy to use for creating new resources. Only used on
	// create and update. Valid values are `CREATE_OR_ACQUIRE` (default) or
	// `ACQUIRE`. If set to `ACQUIRE` and resources do not already exist,
	// the deployment will fail. Note that updating this field does not
	// actually affect the deployment, just how it is updated.
	// Default value is `CREATE_OR_ACQUIRE`.
	// Possible values are: `ACQUIRE`, `CREATE_OR_ACQUIRE`.
	CreatePolicy pulumi.StringPtrInput
	// Set the policy to use for deleting new resources on update/delete.
	// Valid values are `DELETE` (default) or `ABANDON`. If `DELETE`,
	// resource is deleted after removal from Deployment Manager. If
	// `ABANDON`, the resource is only removed from Deployment Manager
	// and is not actually deleted. Note that updating this field does not
	// actually change the deployment, just how it is updated.
	// Default value is `DELETE`.
	// Possible values are: `ABANDON`, `DELETE`.
	DeletePolicy pulumi.StringPtrInput
	// Unique identifier for deployment. Output only.
	DeploymentId pulumi.StringPtrInput
	// Optional user-provided description of deployment.
	Description pulumi.StringPtrInput
	// Key-value pairs to apply to this labels.
	// Structure is documented below.
	Labels DeploymentLabelArrayInput
	// Output only. URL of the manifest representing the last manifest that
	// was successfully deployed.
	Manifest pulumi.StringPtrInput
	// Unique name for the deployment
	Name pulumi.StringPtrInput
	// If set to true, a deployment is created with "shell" resources
	// that are not actually instantiated. This allows you to preview a
	// deployment. It can be updated to false to actually deploy
	// with real resources.
	// ~>**NOTE:** Deployment Manager does not allow update
	// of a deployment in preview (unless updating to preview=false). Thus,
	// the provider will force-recreate deployments if either preview is updated
	// to true or if other fields are updated while preview is true.
	Preview pulumi.BoolPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Output only. Server defined URL for the resource.
	SelfLink pulumi.StringPtrInput
	// Parameters that define your deployment, including the deployment
	// configuration and relevant templates.
	// Structure is documented below.
	Target DeploymentTargetPtrInput
}

func (DeploymentState) ElementType

func (DeploymentState) ElementType() reflect.Type

type DeploymentTarget

type DeploymentTarget struct {
	// The root configuration file to use for this deployment.
	// Structure is documented below.
	Config DeploymentTargetConfig `pulumi:"config"`
	// Specifies import files for this configuration. This can be
	// used to import templates or other files. For example, you might
	// import a text file in order to use the file in a template.
	// Structure is documented below.
	Imports []DeploymentTargetImport `pulumi:"imports"`
}

type DeploymentTargetArgs

type DeploymentTargetArgs struct {
	// The root configuration file to use for this deployment.
	// Structure is documented below.
	Config DeploymentTargetConfigInput `pulumi:"config"`
	// Specifies import files for this configuration. This can be
	// used to import templates or other files. For example, you might
	// import a text file in order to use the file in a template.
	// Structure is documented below.
	Imports DeploymentTargetImportArrayInput `pulumi:"imports"`
}

func (DeploymentTargetArgs) ElementType

func (DeploymentTargetArgs) ElementType() reflect.Type

func (DeploymentTargetArgs) ToDeploymentTargetOutput

func (i DeploymentTargetArgs) ToDeploymentTargetOutput() DeploymentTargetOutput

func (DeploymentTargetArgs) ToDeploymentTargetOutputWithContext

func (i DeploymentTargetArgs) ToDeploymentTargetOutputWithContext(ctx context.Context) DeploymentTargetOutput

func (DeploymentTargetArgs) ToDeploymentTargetPtrOutput

func (i DeploymentTargetArgs) ToDeploymentTargetPtrOutput() DeploymentTargetPtrOutput

func (DeploymentTargetArgs) ToDeploymentTargetPtrOutputWithContext

func (i DeploymentTargetArgs) ToDeploymentTargetPtrOutputWithContext(ctx context.Context) DeploymentTargetPtrOutput

func (DeploymentTargetArgs) ToOutput added in v6.65.1

type DeploymentTargetConfig

type DeploymentTargetConfig struct {
	// The full YAML contents of your configuration file.
	Content string `pulumi:"content"`
}

type DeploymentTargetConfigArgs

type DeploymentTargetConfigArgs struct {
	// The full YAML contents of your configuration file.
	Content pulumi.StringInput `pulumi:"content"`
}

func (DeploymentTargetConfigArgs) ElementType

func (DeploymentTargetConfigArgs) ElementType() reflect.Type

func (DeploymentTargetConfigArgs) ToDeploymentTargetConfigOutput

func (i DeploymentTargetConfigArgs) ToDeploymentTargetConfigOutput() DeploymentTargetConfigOutput

func (DeploymentTargetConfigArgs) ToDeploymentTargetConfigOutputWithContext

func (i DeploymentTargetConfigArgs) ToDeploymentTargetConfigOutputWithContext(ctx context.Context) DeploymentTargetConfigOutput

func (DeploymentTargetConfigArgs) ToDeploymentTargetConfigPtrOutput

func (i DeploymentTargetConfigArgs) ToDeploymentTargetConfigPtrOutput() DeploymentTargetConfigPtrOutput

func (DeploymentTargetConfigArgs) ToDeploymentTargetConfigPtrOutputWithContext

func (i DeploymentTargetConfigArgs) ToDeploymentTargetConfigPtrOutputWithContext(ctx context.Context) DeploymentTargetConfigPtrOutput

func (DeploymentTargetConfigArgs) ToOutput added in v6.65.1

type DeploymentTargetConfigInput

type DeploymentTargetConfigInput interface {
	pulumi.Input

	ToDeploymentTargetConfigOutput() DeploymentTargetConfigOutput
	ToDeploymentTargetConfigOutputWithContext(context.Context) DeploymentTargetConfigOutput
}

DeploymentTargetConfigInput is an input type that accepts DeploymentTargetConfigArgs and DeploymentTargetConfigOutput values. You can construct a concrete instance of `DeploymentTargetConfigInput` via:

DeploymentTargetConfigArgs{...}

type DeploymentTargetConfigOutput

type DeploymentTargetConfigOutput struct{ *pulumi.OutputState }

func (DeploymentTargetConfigOutput) Content

The full YAML contents of your configuration file.

func (DeploymentTargetConfigOutput) ElementType

func (DeploymentTargetConfigOutput) ToDeploymentTargetConfigOutput

func (o DeploymentTargetConfigOutput) ToDeploymentTargetConfigOutput() DeploymentTargetConfigOutput

func (DeploymentTargetConfigOutput) ToDeploymentTargetConfigOutputWithContext

func (o DeploymentTargetConfigOutput) ToDeploymentTargetConfigOutputWithContext(ctx context.Context) DeploymentTargetConfigOutput

func (DeploymentTargetConfigOutput) ToDeploymentTargetConfigPtrOutput

func (o DeploymentTargetConfigOutput) ToDeploymentTargetConfigPtrOutput() DeploymentTargetConfigPtrOutput

func (DeploymentTargetConfigOutput) ToDeploymentTargetConfigPtrOutputWithContext

func (o DeploymentTargetConfigOutput) ToDeploymentTargetConfigPtrOutputWithContext(ctx context.Context) DeploymentTargetConfigPtrOutput

func (DeploymentTargetConfigOutput) ToOutput added in v6.65.1

type DeploymentTargetConfigPtrInput

type DeploymentTargetConfigPtrInput interface {
	pulumi.Input

	ToDeploymentTargetConfigPtrOutput() DeploymentTargetConfigPtrOutput
	ToDeploymentTargetConfigPtrOutputWithContext(context.Context) DeploymentTargetConfigPtrOutput
}

DeploymentTargetConfigPtrInput is an input type that accepts DeploymentTargetConfigArgs, DeploymentTargetConfigPtr and DeploymentTargetConfigPtrOutput values. You can construct a concrete instance of `DeploymentTargetConfigPtrInput` via:

        DeploymentTargetConfigArgs{...}

or:

        nil

type DeploymentTargetConfigPtrOutput

type DeploymentTargetConfigPtrOutput struct{ *pulumi.OutputState }

func (DeploymentTargetConfigPtrOutput) Content

The full YAML contents of your configuration file.

func (DeploymentTargetConfigPtrOutput) Elem

func (DeploymentTargetConfigPtrOutput) ElementType

func (DeploymentTargetConfigPtrOutput) ToDeploymentTargetConfigPtrOutput

func (o DeploymentTargetConfigPtrOutput) ToDeploymentTargetConfigPtrOutput() DeploymentTargetConfigPtrOutput

func (DeploymentTargetConfigPtrOutput) ToDeploymentTargetConfigPtrOutputWithContext

func (o DeploymentTargetConfigPtrOutput) ToDeploymentTargetConfigPtrOutputWithContext(ctx context.Context) DeploymentTargetConfigPtrOutput

func (DeploymentTargetConfigPtrOutput) ToOutput added in v6.65.1

type DeploymentTargetImport

type DeploymentTargetImport struct {
	// The full contents of the template that you want to import.
	Content *string `pulumi:"content"`
	// The name of the template to import, as declared in the YAML
	// configuration.
	//
	// ***
	Name *string `pulumi:"name"`
}

type DeploymentTargetImportArgs

type DeploymentTargetImportArgs struct {
	// The full contents of the template that you want to import.
	Content pulumi.StringPtrInput `pulumi:"content"`
	// The name of the template to import, as declared in the YAML
	// configuration.
	//
	// ***
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (DeploymentTargetImportArgs) ElementType

func (DeploymentTargetImportArgs) ElementType() reflect.Type

func (DeploymentTargetImportArgs) ToDeploymentTargetImportOutput

func (i DeploymentTargetImportArgs) ToDeploymentTargetImportOutput() DeploymentTargetImportOutput

func (DeploymentTargetImportArgs) ToDeploymentTargetImportOutputWithContext

func (i DeploymentTargetImportArgs) ToDeploymentTargetImportOutputWithContext(ctx context.Context) DeploymentTargetImportOutput

func (DeploymentTargetImportArgs) ToOutput added in v6.65.1

type DeploymentTargetImportArray

type DeploymentTargetImportArray []DeploymentTargetImportInput

func (DeploymentTargetImportArray) ElementType

func (DeploymentTargetImportArray) ToDeploymentTargetImportArrayOutput

func (i DeploymentTargetImportArray) ToDeploymentTargetImportArrayOutput() DeploymentTargetImportArrayOutput

func (DeploymentTargetImportArray) ToDeploymentTargetImportArrayOutputWithContext

func (i DeploymentTargetImportArray) ToDeploymentTargetImportArrayOutputWithContext(ctx context.Context) DeploymentTargetImportArrayOutput

func (DeploymentTargetImportArray) ToOutput added in v6.65.1

type DeploymentTargetImportArrayInput

type DeploymentTargetImportArrayInput interface {
	pulumi.Input

	ToDeploymentTargetImportArrayOutput() DeploymentTargetImportArrayOutput
	ToDeploymentTargetImportArrayOutputWithContext(context.Context) DeploymentTargetImportArrayOutput
}

DeploymentTargetImportArrayInput is an input type that accepts DeploymentTargetImportArray and DeploymentTargetImportArrayOutput values. You can construct a concrete instance of `DeploymentTargetImportArrayInput` via:

DeploymentTargetImportArray{ DeploymentTargetImportArgs{...} }

type DeploymentTargetImportArrayOutput

type DeploymentTargetImportArrayOutput struct{ *pulumi.OutputState }

func (DeploymentTargetImportArrayOutput) ElementType

func (DeploymentTargetImportArrayOutput) Index

func (DeploymentTargetImportArrayOutput) ToDeploymentTargetImportArrayOutput

func (o DeploymentTargetImportArrayOutput) ToDeploymentTargetImportArrayOutput() DeploymentTargetImportArrayOutput

func (DeploymentTargetImportArrayOutput) ToDeploymentTargetImportArrayOutputWithContext

func (o DeploymentTargetImportArrayOutput) ToDeploymentTargetImportArrayOutputWithContext(ctx context.Context) DeploymentTargetImportArrayOutput

func (DeploymentTargetImportArrayOutput) ToOutput added in v6.65.1

type DeploymentTargetImportInput

type DeploymentTargetImportInput interface {
	pulumi.Input

	ToDeploymentTargetImportOutput() DeploymentTargetImportOutput
	ToDeploymentTargetImportOutputWithContext(context.Context) DeploymentTargetImportOutput
}

DeploymentTargetImportInput is an input type that accepts DeploymentTargetImportArgs and DeploymentTargetImportOutput values. You can construct a concrete instance of `DeploymentTargetImportInput` via:

DeploymentTargetImportArgs{...}

type DeploymentTargetImportOutput

type DeploymentTargetImportOutput struct{ *pulumi.OutputState }

func (DeploymentTargetImportOutput) Content

The full contents of the template that you want to import.

func (DeploymentTargetImportOutput) ElementType

func (DeploymentTargetImportOutput) Name

The name of the template to import, as declared in the YAML configuration.

***

func (DeploymentTargetImportOutput) ToDeploymentTargetImportOutput

func (o DeploymentTargetImportOutput) ToDeploymentTargetImportOutput() DeploymentTargetImportOutput

func (DeploymentTargetImportOutput) ToDeploymentTargetImportOutputWithContext

func (o DeploymentTargetImportOutput) ToDeploymentTargetImportOutputWithContext(ctx context.Context) DeploymentTargetImportOutput

func (DeploymentTargetImportOutput) ToOutput added in v6.65.1

type DeploymentTargetInput

type DeploymentTargetInput interface {
	pulumi.Input

	ToDeploymentTargetOutput() DeploymentTargetOutput
	ToDeploymentTargetOutputWithContext(context.Context) DeploymentTargetOutput
}

DeploymentTargetInput is an input type that accepts DeploymentTargetArgs and DeploymentTargetOutput values. You can construct a concrete instance of `DeploymentTargetInput` via:

DeploymentTargetArgs{...}

type DeploymentTargetOutput

type DeploymentTargetOutput struct{ *pulumi.OutputState }

func (DeploymentTargetOutput) Config

The root configuration file to use for this deployment. Structure is documented below.

func (DeploymentTargetOutput) ElementType

func (DeploymentTargetOutput) ElementType() reflect.Type

func (DeploymentTargetOutput) Imports

Specifies import files for this configuration. This can be used to import templates or other files. For example, you might import a text file in order to use the file in a template. Structure is documented below.

func (DeploymentTargetOutput) ToDeploymentTargetOutput

func (o DeploymentTargetOutput) ToDeploymentTargetOutput() DeploymentTargetOutput

func (DeploymentTargetOutput) ToDeploymentTargetOutputWithContext

func (o DeploymentTargetOutput) ToDeploymentTargetOutputWithContext(ctx context.Context) DeploymentTargetOutput

func (DeploymentTargetOutput) ToDeploymentTargetPtrOutput

func (o DeploymentTargetOutput) ToDeploymentTargetPtrOutput() DeploymentTargetPtrOutput

func (DeploymentTargetOutput) ToDeploymentTargetPtrOutputWithContext

func (o DeploymentTargetOutput) ToDeploymentTargetPtrOutputWithContext(ctx context.Context) DeploymentTargetPtrOutput

func (DeploymentTargetOutput) ToOutput added in v6.65.1

type DeploymentTargetPtrInput

type DeploymentTargetPtrInput interface {
	pulumi.Input

	ToDeploymentTargetPtrOutput() DeploymentTargetPtrOutput
	ToDeploymentTargetPtrOutputWithContext(context.Context) DeploymentTargetPtrOutput
}

DeploymentTargetPtrInput is an input type that accepts DeploymentTargetArgs, DeploymentTargetPtr and DeploymentTargetPtrOutput values. You can construct a concrete instance of `DeploymentTargetPtrInput` via:

        DeploymentTargetArgs{...}

or:

        nil

type DeploymentTargetPtrOutput

type DeploymentTargetPtrOutput struct{ *pulumi.OutputState }

func (DeploymentTargetPtrOutput) Config

The root configuration file to use for this deployment. Structure is documented below.

func (DeploymentTargetPtrOutput) Elem

func (DeploymentTargetPtrOutput) ElementType

func (DeploymentTargetPtrOutput) ElementType() reflect.Type

func (DeploymentTargetPtrOutput) Imports

Specifies import files for this configuration. This can be used to import templates or other files. For example, you might import a text file in order to use the file in a template. Structure is documented below.

func (DeploymentTargetPtrOutput) ToDeploymentTargetPtrOutput

func (o DeploymentTargetPtrOutput) ToDeploymentTargetPtrOutput() DeploymentTargetPtrOutput

func (DeploymentTargetPtrOutput) ToDeploymentTargetPtrOutputWithContext

func (o DeploymentTargetPtrOutput) ToDeploymentTargetPtrOutputWithContext(ctx context.Context) DeploymentTargetPtrOutput

func (DeploymentTargetPtrOutput) ToOutput added in v6.65.1

Jump to

Keyboard shortcuts

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