Documentation ¶
Index ¶
- type Deployment
- type DeploymentArgs
- type DeploymentArray
- type DeploymentArrayInput
- type DeploymentArrayOutput
- func (DeploymentArrayOutput) ElementType() reflect.Type
- func (o DeploymentArrayOutput) Index(i pulumi.IntInput) DeploymentOutput
- func (o DeploymentArrayOutput) ToDeploymentArrayOutput() DeploymentArrayOutput
- func (o DeploymentArrayOutput) ToDeploymentArrayOutputWithContext(ctx context.Context) DeploymentArrayOutput
- type DeploymentInput
- type DeploymentLabel
- type DeploymentLabelArgs
- type DeploymentLabelArray
- type DeploymentLabelArrayInput
- type DeploymentLabelArrayOutput
- func (DeploymentLabelArrayOutput) ElementType() reflect.Type
- func (o DeploymentLabelArrayOutput) Index(i pulumi.IntInput) DeploymentLabelOutput
- func (o DeploymentLabelArrayOutput) ToDeploymentLabelArrayOutput() DeploymentLabelArrayOutput
- func (o DeploymentLabelArrayOutput) ToDeploymentLabelArrayOutputWithContext(ctx context.Context) DeploymentLabelArrayOutput
- type DeploymentLabelInput
- type DeploymentLabelOutput
- func (DeploymentLabelOutput) ElementType() reflect.Type
- func (o DeploymentLabelOutput) Key() pulumi.StringPtrOutput
- func (o DeploymentLabelOutput) ToDeploymentLabelOutput() DeploymentLabelOutput
- func (o DeploymentLabelOutput) ToDeploymentLabelOutputWithContext(ctx context.Context) DeploymentLabelOutput
- func (o DeploymentLabelOutput) Value() pulumi.StringPtrOutput
- type DeploymentMap
- type DeploymentMapInput
- type DeploymentMapOutput
- func (DeploymentMapOutput) ElementType() reflect.Type
- func (o DeploymentMapOutput) MapIndex(k pulumi.StringInput) DeploymentOutput
- func (o DeploymentMapOutput) ToDeploymentMapOutput() DeploymentMapOutput
- func (o DeploymentMapOutput) ToDeploymentMapOutputWithContext(ctx context.Context) DeploymentMapOutput
- type DeploymentOutput
- func (o DeploymentOutput) CreatePolicy() pulumi.StringPtrOutput
- func (o DeploymentOutput) DeletePolicy() pulumi.StringPtrOutput
- func (o DeploymentOutput) DeploymentId() pulumi.StringOutput
- func (o DeploymentOutput) Description() pulumi.StringPtrOutput
- func (DeploymentOutput) ElementType() reflect.Type
- func (o DeploymentOutput) Labels() DeploymentLabelArrayOutput
- func (o DeploymentOutput) Manifest() pulumi.StringOutput
- func (o DeploymentOutput) Name() pulumi.StringOutput
- func (o DeploymentOutput) Preview() pulumi.BoolPtrOutput
- func (o DeploymentOutput) Project() pulumi.StringOutput
- func (o DeploymentOutput) SelfLink() pulumi.StringOutput
- func (o DeploymentOutput) Target() DeploymentTargetOutput
- func (o DeploymentOutput) ToDeploymentOutput() DeploymentOutput
- func (o DeploymentOutput) ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput
- type DeploymentState
- type DeploymentTarget
- type DeploymentTargetArgs
- func (DeploymentTargetArgs) ElementType() reflect.Type
- func (i DeploymentTargetArgs) ToDeploymentTargetOutput() DeploymentTargetOutput
- func (i DeploymentTargetArgs) ToDeploymentTargetOutputWithContext(ctx context.Context) DeploymentTargetOutput
- func (i DeploymentTargetArgs) ToDeploymentTargetPtrOutput() DeploymentTargetPtrOutput
- func (i DeploymentTargetArgs) ToDeploymentTargetPtrOutputWithContext(ctx context.Context) DeploymentTargetPtrOutput
- type DeploymentTargetConfig
- type DeploymentTargetConfigArgs
- func (DeploymentTargetConfigArgs) ElementType() reflect.Type
- func (i DeploymentTargetConfigArgs) ToDeploymentTargetConfigOutput() DeploymentTargetConfigOutput
- func (i DeploymentTargetConfigArgs) ToDeploymentTargetConfigOutputWithContext(ctx context.Context) DeploymentTargetConfigOutput
- func (i DeploymentTargetConfigArgs) ToDeploymentTargetConfigPtrOutput() DeploymentTargetConfigPtrOutput
- func (i DeploymentTargetConfigArgs) ToDeploymentTargetConfigPtrOutputWithContext(ctx context.Context) DeploymentTargetConfigPtrOutput
- type DeploymentTargetConfigInput
- type DeploymentTargetConfigOutput
- func (o DeploymentTargetConfigOutput) Content() pulumi.StringOutput
- func (DeploymentTargetConfigOutput) ElementType() reflect.Type
- func (o DeploymentTargetConfigOutput) ToDeploymentTargetConfigOutput() DeploymentTargetConfigOutput
- func (o DeploymentTargetConfigOutput) ToDeploymentTargetConfigOutputWithContext(ctx context.Context) DeploymentTargetConfigOutput
- func (o DeploymentTargetConfigOutput) ToDeploymentTargetConfigPtrOutput() DeploymentTargetConfigPtrOutput
- func (o DeploymentTargetConfigOutput) ToDeploymentTargetConfigPtrOutputWithContext(ctx context.Context) DeploymentTargetConfigPtrOutput
- type DeploymentTargetConfigPtrInput
- type DeploymentTargetConfigPtrOutput
- func (o DeploymentTargetConfigPtrOutput) Content() pulumi.StringPtrOutput
- func (o DeploymentTargetConfigPtrOutput) Elem() DeploymentTargetConfigOutput
- func (DeploymentTargetConfigPtrOutput) ElementType() reflect.Type
- func (o DeploymentTargetConfigPtrOutput) ToDeploymentTargetConfigPtrOutput() DeploymentTargetConfigPtrOutput
- func (o DeploymentTargetConfigPtrOutput) ToDeploymentTargetConfigPtrOutputWithContext(ctx context.Context) DeploymentTargetConfigPtrOutput
- type DeploymentTargetImport
- type DeploymentTargetImportArgs
- type DeploymentTargetImportArray
- func (DeploymentTargetImportArray) ElementType() reflect.Type
- func (i DeploymentTargetImportArray) ToDeploymentTargetImportArrayOutput() DeploymentTargetImportArrayOutput
- func (i DeploymentTargetImportArray) ToDeploymentTargetImportArrayOutputWithContext(ctx context.Context) DeploymentTargetImportArrayOutput
- type DeploymentTargetImportArrayInput
- type DeploymentTargetImportArrayOutput
- func (DeploymentTargetImportArrayOutput) ElementType() reflect.Type
- func (o DeploymentTargetImportArrayOutput) Index(i pulumi.IntInput) DeploymentTargetImportOutput
- func (o DeploymentTargetImportArrayOutput) ToDeploymentTargetImportArrayOutput() DeploymentTargetImportArrayOutput
- func (o DeploymentTargetImportArrayOutput) ToDeploymentTargetImportArrayOutputWithContext(ctx context.Context) DeploymentTargetImportArrayOutput
- type DeploymentTargetImportInput
- type DeploymentTargetImportOutput
- func (o DeploymentTargetImportOutput) Content() pulumi.StringPtrOutput
- func (DeploymentTargetImportOutput) ElementType() reflect.Type
- func (o DeploymentTargetImportOutput) Name() pulumi.StringPtrOutput
- func (o DeploymentTargetImportOutput) ToDeploymentTargetImportOutput() DeploymentTargetImportOutput
- func (o DeploymentTargetImportOutput) ToDeploymentTargetImportOutputWithContext(ctx context.Context) DeploymentTargetImportOutput
- type DeploymentTargetInput
- type DeploymentTargetOutput
- func (o DeploymentTargetOutput) Config() DeploymentTargetConfigOutput
- func (DeploymentTargetOutput) ElementType() reflect.Type
- func (o DeploymentTargetOutput) Imports() DeploymentTargetImportArrayOutput
- func (o DeploymentTargetOutput) ToDeploymentTargetOutput() DeploymentTargetOutput
- func (o DeploymentTargetOutput) ToDeploymentTargetOutputWithContext(ctx context.Context) DeploymentTargetOutput
- func (o DeploymentTargetOutput) ToDeploymentTargetPtrOutput() DeploymentTargetPtrOutput
- func (o DeploymentTargetOutput) ToDeploymentTargetPtrOutputWithContext(ctx context.Context) DeploymentTargetPtrOutput
- type DeploymentTargetPtrInput
- type DeploymentTargetPtrOutput
- func (o DeploymentTargetPtrOutput) Config() DeploymentTargetConfigPtrOutput
- func (o DeploymentTargetPtrOutput) Elem() DeploymentTargetOutput
- func (DeploymentTargetPtrOutput) ElementType() reflect.Type
- func (o DeploymentTargetPtrOutput) Imports() DeploymentTargetImportArrayOutput
- func (o DeploymentTargetPtrOutput) ToDeploymentTargetPtrOutput() DeploymentTargetPtrOutput
- func (o DeploymentTargetPtrOutput) ToDeploymentTargetPtrOutputWithContext(ctx context.Context) DeploymentTargetPtrOutput
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"` 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/v8/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: pulumi.String(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 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 (o DeploymentArrayOutput) Index(i pulumi.IntInput) DeploymentOutput
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 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 (o DeploymentLabelArrayOutput) Index(i pulumi.IntInput) DeploymentLabelOutput
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 ¶
func (o DeploymentLabelOutput) Key() pulumi.StringPtrOutput
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 ¶
func (o DeploymentLabelOutput) Value() pulumi.StringPtrOutput
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 (o DeploymentMapOutput) MapIndex(k pulumi.StringInput) DeploymentOutput
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 ¶
func (o DeploymentOutput) Labels() DeploymentLabelArrayOutput
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 ¶
func (o DeploymentOutput) Name() pulumi.StringOutput
Unique name for the deployment
func (DeploymentOutput) Preview ¶
func (o DeploymentOutput) Preview() pulumi.BoolPtrOutput
func (DeploymentOutput) Project ¶
func (o DeploymentOutput) Project() pulumi.StringOutput
func (DeploymentOutput) SelfLink ¶
func (o DeploymentOutput) SelfLink() pulumi.StringOutput
Output only. Server defined URL for the resource.
func (DeploymentOutput) Target ¶
func (o DeploymentOutput) Target() DeploymentTargetOutput
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 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 ¶
func (o DeploymentTargetConfigOutput) Content() pulumi.StringOutput
The full YAML contents of your configuration file.
func (DeploymentTargetConfigOutput) ElementType ¶
func (DeploymentTargetConfigOutput) ElementType() reflect.Type
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
func DeploymentTargetConfigPtr ¶
func DeploymentTargetConfigPtr(v *DeploymentTargetConfigArgs) DeploymentTargetConfigPtrInput
type DeploymentTargetConfigPtrOutput ¶
type DeploymentTargetConfigPtrOutput struct{ *pulumi.OutputState }
func (DeploymentTargetConfigPtrOutput) Content ¶
func (o DeploymentTargetConfigPtrOutput) Content() pulumi.StringPtrOutput
The full YAML contents of your configuration file.
func (DeploymentTargetConfigPtrOutput) Elem ¶
func (o DeploymentTargetConfigPtrOutput) Elem() DeploymentTargetConfigOutput
func (DeploymentTargetConfigPtrOutput) ElementType ¶
func (DeploymentTargetConfigPtrOutput) ElementType() reflect.Type
func (DeploymentTargetConfigPtrOutput) ToDeploymentTargetConfigPtrOutput ¶
func (o DeploymentTargetConfigPtrOutput) ToDeploymentTargetConfigPtrOutput() DeploymentTargetConfigPtrOutput
func (DeploymentTargetConfigPtrOutput) ToDeploymentTargetConfigPtrOutputWithContext ¶
func (o DeploymentTargetConfigPtrOutput) ToDeploymentTargetConfigPtrOutputWithContext(ctx context.Context) DeploymentTargetConfigPtrOutput
type DeploymentTargetImport ¶
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DeploymentTargetImportArrayOutput) Index ¶
func (o DeploymentTargetImportArrayOutput) Index(i pulumi.IntInput) DeploymentTargetImportOutput
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 ¶
func (o DeploymentTargetImportOutput) Content() pulumi.StringPtrOutput
The full contents of the template that you want to import.
func (DeploymentTargetImportOutput) ElementType ¶
func (DeploymentTargetImportOutput) ElementType() reflect.Type
func (DeploymentTargetImportOutput) Name ¶
func (o DeploymentTargetImportOutput) Name() pulumi.StringPtrOutput
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 ¶
func (o DeploymentTargetOutput) Config() DeploymentTargetConfigOutput
The root configuration file to use for this deployment. Structure is documented below.
func (DeploymentTargetOutput) ElementType ¶
func (DeploymentTargetOutput) ElementType() reflect.Type
func (DeploymentTargetOutput) Imports ¶
func (o DeploymentTargetOutput) Imports() DeploymentTargetImportArrayOutput
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
func DeploymentTargetPtr ¶
func DeploymentTargetPtr(v *DeploymentTargetArgs) DeploymentTargetPtrInput
type DeploymentTargetPtrOutput ¶
type DeploymentTargetPtrOutput struct{ *pulumi.OutputState }
func (DeploymentTargetPtrOutput) Config ¶
func (o DeploymentTargetPtrOutput) Config() DeploymentTargetConfigPtrOutput
The root configuration file to use for this deployment. Structure is documented below.
func (DeploymentTargetPtrOutput) Elem ¶
func (o DeploymentTargetPtrOutput) Elem() DeploymentTargetOutput
func (DeploymentTargetPtrOutput) ElementType ¶
func (DeploymentTargetPtrOutput) ElementType() reflect.Type
func (DeploymentTargetPtrOutput) Imports ¶
func (o DeploymentTargetPtrOutput) Imports() DeploymentTargetImportArrayOutput
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