deploymentmanager

package
v7.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 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 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: "CREATE_OR_ACQUIRE"
	// Possible values: ["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: "DELETE" Possible values: ["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.
	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, Terraform 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"`
	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 (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "path/to/config.yml",
		}, nil)
		if err != nil {
			return err
		}
		_, err = deploymentmanager.NewDeployment(ctx, "deployment", &deploymentmanager.DeploymentArgs{
			Name: pulumi.String("my-deployment"),
			Target: &deploymentmanager.DeploymentTargetArgs{
				Config: &deploymentmanager.DeploymentTargetConfigArgs{
					Content: invokeFile.Result,
				},
			},
			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:

* `projects/{{project}}/deployments/{{name}}`

* `{{project}}/{{name}}`

* `{{name}}`

When using the `pulumi import` command, Deployment can be imported using one of the formats above. For example:

```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

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: "CREATE_OR_ACQUIRE"
	// Possible values: ["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: "DELETE" Possible values: ["ABANDON", "DELETE"]
	DeletePolicy pulumi.StringPtrInput
	// Optional user-provided description of deployment.
	Description pulumi.StringPtrInput
	// Key-value pairs to apply to this labels.
	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, Terraform will force-recreate
	// deployments if either preview is updated to true or if other fields are updated while preview is true.
	Preview pulumi.BoolPtrInput
	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

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

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

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

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

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) 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

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

type DeploymentOutput

type DeploymentOutput struct{ *pulumi.OutputState }

func (DeploymentOutput) CreatePolicy

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: "CREATE_OR_ACQUIRE" Possible values: ["ACQUIRE", "CREATE_OR_ACQUIRE"]

func (DeploymentOutput) DeletePolicy

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: "DELETE" Possible values: ["ABANDON", "DELETE"]

func (DeploymentOutput) DeploymentId

func (o DeploymentOutput) DeploymentId() pulumi.StringOutput

Unique identifier for deployment. Output only.

func (DeploymentOutput) Description

func (o DeploymentOutput) Description() pulumi.StringPtrOutput

Optional user-provided description of deployment.

func (DeploymentOutput) ElementType

func (DeploymentOutput) ElementType() reflect.Type

func (DeploymentOutput) Labels

Key-value pairs to apply to this labels.

func (DeploymentOutput) Manifest

func (o DeploymentOutput) Manifest() pulumi.StringOutput

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

func (DeploymentOutput) Name

Unique name for the deployment

func (DeploymentOutput) Preview

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, Terraform will force-recreate deployments if either preview is updated to true or if other fields are updated while preview is true.

func (DeploymentOutput) Project

func (o DeploymentOutput) Project() pulumi.StringOutput
func (o DeploymentOutput) SelfLink() pulumi.StringOutput

Output only. Server defined URL for the resource.

func (DeploymentOutput) Target

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

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: "CREATE_OR_ACQUIRE"
	// Possible values: ["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: "DELETE" Possible values: ["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.
	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, Terraform will force-recreate
	// deployments if either preview is updated to true or if other fields are updated while preview is true.
	Preview pulumi.BoolPtrInput
	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

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

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

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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