Google Cloud (GCP) Classic

Pulumi Official
Package maintained by Pulumi
v6.30.0 published on Friday, Jul 1, 2022 by Pulumi

DeliveryPipeline

The Cloud Deploy DeliveryPipeline resource

Example Usage

Delivery_pipeline

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
    public MyStack()
    {
        var primary = new Gcp.CloudDeploy.DeliveryPipeline("primary", new Gcp.CloudDeploy.DeliveryPipelineArgs
        {
            Annotations = 
            {
                { "my_first_annotation", "example-annotation-1" },
                { "my_second_annotation", "example-annotation-2" },
            },
            Description = "basic description",
            Labels = 
            {
                { "my_first_label", "example-label-1" },
                { "my_second_label", "example-label-2" },
            },
            Location = "us-west1",
            Project = "my-project-name",
            SerialPipeline = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineArgs
            {
                Stages = 
                {
                    new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageArgs
                    {
                        Profiles = 
                        {
                            "example-profile-one",
                            "example-profile-two",
                        },
                        TargetId = "example-target-one",
                    },
                    new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageArgs
                    {
                        Profiles = {},
                        TargetId = "example-target-two",
                    },
                },
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/clouddeploy"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := clouddeploy.NewDeliveryPipeline(ctx, "primary", &clouddeploy.DeliveryPipelineArgs{
			Annotations: pulumi.StringMap{
				"my_first_annotation":  pulumi.String("example-annotation-1"),
				"my_second_annotation": pulumi.String("example-annotation-2"),
			},
			Description: pulumi.String("basic description"),
			Labels: pulumi.StringMap{
				"my_first_label":  pulumi.String("example-label-1"),
				"my_second_label": pulumi.String("example-label-2"),
			},
			Location: pulumi.String("us-west1"),
			Project:  pulumi.String("my-project-name"),
			SerialPipeline: &clouddeploy.DeliveryPipelineSerialPipelineArgs{
				Stages: clouddeploy.DeliveryPipelineSerialPipelineStageArray{
					&clouddeploy.DeliveryPipelineSerialPipelineStageArgs{
						Profiles: pulumi.StringArray{
							pulumi.String("example-profile-one"),
							pulumi.String("example-profile-two"),
						},
						TargetId: pulumi.String("example-target-one"),
					},
					&clouddeploy.DeliveryPipelineSerialPipelineStageArgs{
						Profiles: pulumi.StringArray{},
						TargetId: pulumi.String("example-target-two"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var primary = new DeliveryPipeline("primary", DeliveryPipelineArgs.builder()        
            .annotations(Map.ofEntries(
                Map.entry("my_first_annotation", "example-annotation-1"),
                Map.entry("my_second_annotation", "example-annotation-2")
            ))
            .description("basic description")
            .labels(Map.ofEntries(
                Map.entry("my_first_label", "example-label-1"),
                Map.entry("my_second_label", "example-label-2")
            ))
            .location("us-west1")
            .project("my-project-name")
            .serialPipeline(DeliveryPipelineSerialPipelineArgs.builder()
                .stages(                
                    DeliveryPipelineSerialPipelineStageArgs.builder()
                        .profiles(                        
                            "example-profile-one",
                            "example-profile-two")
                        .targetId("example-target-one")
                        .build(),
                    DeliveryPipelineSerialPipelineStageArgs.builder()
                        .profiles()
                        .targetId("example-target-two")
                        .build())
                .build())
            .build());

    }
}
import pulumi
import pulumi_gcp as gcp

primary = gcp.clouddeploy.DeliveryPipeline("primary",
    annotations={
        "my_first_annotation": "example-annotation-1",
        "my_second_annotation": "example-annotation-2",
    },
    description="basic description",
    labels={
        "my_first_label": "example-label-1",
        "my_second_label": "example-label-2",
    },
    location="us-west1",
    project="my-project-name",
    serial_pipeline=gcp.clouddeploy.DeliveryPipelineSerialPipelineArgs(
        stages=[
            gcp.clouddeploy.DeliveryPipelineSerialPipelineStageArgs(
                profiles=[
                    "example-profile-one",
                    "example-profile-two",
                ],
                target_id="example-target-one",
            ),
            gcp.clouddeploy.DeliveryPipelineSerialPipelineStageArgs(
                profiles=[],
                target_id="example-target-two",
            ),
        ],
    ))
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const primary = new gcp.clouddeploy.DeliveryPipeline("primary", {
    annotations: {
        my_first_annotation: "example-annotation-1",
        my_second_annotation: "example-annotation-2",
    },
    description: "basic description",
    labels: {
        my_first_label: "example-label-1",
        my_second_label: "example-label-2",
    },
    location: "us-west1",
    project: "my-project-name",
    serialPipeline: {
        stages: [
            {
                profiles: [
                    "example-profile-one",
                    "example-profile-two",
                ],
                targetId: "example-target-one",
            },
            {
                profiles: [],
                targetId: "example-target-two",
            },
        ],
    },
});
resources:
  primary:
    type: gcp:clouddeploy:DeliveryPipeline
    properties:
      annotations:
        my_first_annotation: example-annotation-1
        my_second_annotation: example-annotation-2
      description: basic description
      labels:
        my_first_label: example-label-1
        my_second_label: example-label-2
      location: us-west1
      project: my-project-name
      serialPipeline:
        stages:
          - profiles:
              - example-profile-one
              - example-profile-two
            targetId: example-target-one
          - profiles: []
            targetId: example-target-two

Create a DeliveryPipeline Resource

new DeliveryPipeline(name: string, args: DeliveryPipelineArgs, opts?: CustomResourceOptions);
@overload
def DeliveryPipeline(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     annotations: Optional[Mapping[str, str]] = None,
                     description: Optional[str] = None,
                     labels: Optional[Mapping[str, str]] = None,
                     location: Optional[str] = None,
                     name: Optional[str] = None,
                     project: Optional[str] = None,
                     serial_pipeline: Optional[DeliveryPipelineSerialPipelineArgs] = None,
                     suspended: Optional[bool] = None)
@overload
def DeliveryPipeline(resource_name: str,
                     args: DeliveryPipelineArgs,
                     opts: Optional[ResourceOptions] = None)
func NewDeliveryPipeline(ctx *Context, name string, args DeliveryPipelineArgs, opts ...ResourceOption) (*DeliveryPipeline, error)
public DeliveryPipeline(string name, DeliveryPipelineArgs args, CustomResourceOptions? opts = null)
public DeliveryPipeline(String name, DeliveryPipelineArgs args)
public DeliveryPipeline(String name, DeliveryPipelineArgs args, CustomResourceOptions options)
type: gcp:clouddeploy:DeliveryPipeline
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DeliveryPipelineArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DeliveryPipelineArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DeliveryPipelineArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DeliveryPipelineArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DeliveryPipelineArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DeliveryPipeline Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DeliveryPipeline resource accepts the following input properties:

Location string

The location for the resource

Annotations Dictionary<string, string>

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

Description string

Description of the DeliveryPipeline. Max length is 255 characters.

Labels Dictionary<string, string>

Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.

Name string

Name of the DeliveryPipeline. Format is [a-z][a-z0-9-]{0,62}.

Project string

The project for the resource

SerialPipeline DeliveryPipelineSerialPipelineArgs

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

Suspended bool

When suspended, no new releases or rollouts can be created, but in-progress ones will complete.

Location string

The location for the resource

Annotations map[string]string

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

Description string

Description of the DeliveryPipeline. Max length is 255 characters.

Labels map[string]string

Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.

Name string

Name of the DeliveryPipeline. Format is [a-z][a-z0-9-]{0,62}.

Project string

The project for the resource

SerialPipeline DeliveryPipelineSerialPipelineArgs

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

Suspended bool

When suspended, no new releases or rollouts can be created, but in-progress ones will complete.

location String

The location for the resource

annotations Map<String,String>

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

description String

Description of the DeliveryPipeline. Max length is 255 characters.

labels Map<String,String>

Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.

name String

Name of the DeliveryPipeline. Format is [a-z][a-z0-9-]{0,62}.

project String

The project for the resource

serialPipeline DeliveryPipelineSerialPipelineArgs

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

suspended Boolean

When suspended, no new releases or rollouts can be created, but in-progress ones will complete.

location string

The location for the resource

annotations {[key: string]: string}

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

description string

Description of the DeliveryPipeline. Max length is 255 characters.

labels {[key: string]: string}

Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.

name string

Name of the DeliveryPipeline. Format is [a-z][a-z0-9-]{0,62}.

project string

The project for the resource

serialPipeline DeliveryPipelineSerialPipelineArgs

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

suspended boolean

When suspended, no new releases or rollouts can be created, but in-progress ones will complete.

location str

The location for the resource

annotations Mapping[str, str]

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

description str

Description of the DeliveryPipeline. Max length is 255 characters.

labels Mapping[str, str]

Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.

name str

Name of the DeliveryPipeline. Format is [a-z][a-z0-9-]{0,62}.

project str

The project for the resource

serial_pipeline DeliveryPipelineSerialPipelineArgs

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

suspended bool

When suspended, no new releases or rollouts can be created, but in-progress ones will complete.

location String

The location for the resource

annotations Map<String>

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

description String

Description of the DeliveryPipeline. Max length is 255 characters.

labels Map<String>

Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.

name String

Name of the DeliveryPipeline. Format is [a-z][a-z0-9-]{0,62}.

project String

The project for the resource

serialPipeline Property Map

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

suspended Boolean

When suspended, no new releases or rollouts can be created, but in-progress ones will complete.

Outputs

All input properties are implicitly available as output properties. Additionally, the DeliveryPipeline resource produces the following output properties:

Conditions List<DeliveryPipelineCondition>

Output only. Information around the state of the Delivery Pipeline.

CreateTime string

Output only. Time at which the pipeline was created.

Etag string

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

Id string

The provider-assigned unique ID for this managed resource.

Uid string

Output only. Unique identifier of the DeliveryPipeline.

UpdateTime string

Output only. Most recent time at which the pipeline was updated.

Conditions []DeliveryPipelineCondition

Output only. Information around the state of the Delivery Pipeline.

CreateTime string

Output only. Time at which the pipeline was created.

Etag string

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

Id string

The provider-assigned unique ID for this managed resource.

Uid string

Output only. Unique identifier of the DeliveryPipeline.

UpdateTime string

Output only. Most recent time at which the pipeline was updated.

conditions List<DeliveryPipelineCondition>

Output only. Information around the state of the Delivery Pipeline.

createTime String

Output only. Time at which the pipeline was created.

etag String

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

id String

The provider-assigned unique ID for this managed resource.

uid String

Output only. Unique identifier of the DeliveryPipeline.

updateTime String

Output only. Most recent time at which the pipeline was updated.

conditions DeliveryPipelineCondition[]

Output only. Information around the state of the Delivery Pipeline.

createTime string

Output only. Time at which the pipeline was created.

etag string

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

id string

The provider-assigned unique ID for this managed resource.

uid string

Output only. Unique identifier of the DeliveryPipeline.

updateTime string

Output only. Most recent time at which the pipeline was updated.

conditions Sequence[DeliveryPipelineCondition]

Output only. Information around the state of the Delivery Pipeline.

create_time str

Output only. Time at which the pipeline was created.

etag str

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

id str

The provider-assigned unique ID for this managed resource.

uid str

Output only. Unique identifier of the DeliveryPipeline.

update_time str

Output only. Most recent time at which the pipeline was updated.

conditions List<Property Map>

Output only. Information around the state of the Delivery Pipeline.

createTime String

Output only. Time at which the pipeline was created.

etag String

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

id String

The provider-assigned unique ID for this managed resource.

uid String

Output only. Unique identifier of the DeliveryPipeline.

updateTime String

Output only. Most recent time at which the pipeline was updated.

Look up an Existing DeliveryPipeline Resource

Get an existing DeliveryPipeline resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DeliveryPipelineState, opts?: CustomResourceOptions): DeliveryPipeline
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        annotations: Optional[Mapping[str, str]] = None,
        conditions: Optional[Sequence[DeliveryPipelineConditionArgs]] = None,
        create_time: Optional[str] = None,
        description: Optional[str] = None,
        etag: Optional[str] = None,
        labels: Optional[Mapping[str, str]] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        project: Optional[str] = None,
        serial_pipeline: Optional[DeliveryPipelineSerialPipelineArgs] = None,
        suspended: Optional[bool] = None,
        uid: Optional[str] = None,
        update_time: Optional[str] = None) -> DeliveryPipeline
func GetDeliveryPipeline(ctx *Context, name string, id IDInput, state *DeliveryPipelineState, opts ...ResourceOption) (*DeliveryPipeline, error)
public static DeliveryPipeline Get(string name, Input<string> id, DeliveryPipelineState? state, CustomResourceOptions? opts = null)
public static DeliveryPipeline get(String name, Output<String> id, DeliveryPipelineState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Annotations Dictionary<string, string>

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

Conditions List<DeliveryPipelineConditionArgs>

Output only. Information around the state of the Delivery Pipeline.

CreateTime string

Output only. Time at which the pipeline was created.

Description string

Description of the DeliveryPipeline. Max length is 255 characters.

Etag string

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

Labels Dictionary<string, string>

Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.

Location string

The location for the resource

Name string

Name of the DeliveryPipeline. Format is [a-z][a-z0-9-]{0,62}.

Project string

The project for the resource

SerialPipeline DeliveryPipelineSerialPipelineArgs

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

Suspended bool

When suspended, no new releases or rollouts can be created, but in-progress ones will complete.

Uid string

Output only. Unique identifier of the DeliveryPipeline.

UpdateTime string

Output only. Most recent time at which the pipeline was updated.

Annotations map[string]string

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

Conditions []DeliveryPipelineConditionArgs

Output only. Information around the state of the Delivery Pipeline.

CreateTime string

Output only. Time at which the pipeline was created.

Description string

Description of the DeliveryPipeline. Max length is 255 characters.

Etag string

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

Labels map[string]string

Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.

Location string

The location for the resource

Name string

Name of the DeliveryPipeline. Format is [a-z][a-z0-9-]{0,62}.

Project string

The project for the resource

SerialPipeline DeliveryPipelineSerialPipelineArgs

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

Suspended bool

When suspended, no new releases or rollouts can be created, but in-progress ones will complete.

Uid string

Output only. Unique identifier of the DeliveryPipeline.

UpdateTime string

Output only. Most recent time at which the pipeline was updated.

annotations Map<String,String>

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

conditions List<DeliveryPipelineConditionArgs>

Output only. Information around the state of the Delivery Pipeline.

createTime String

Output only. Time at which the pipeline was created.

description String

Description of the DeliveryPipeline. Max length is 255 characters.

etag String

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

labels Map<String,String>

Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.

location String

The location for the resource

name String

Name of the DeliveryPipeline. Format is [a-z][a-z0-9-]{0,62}.

project String

The project for the resource

serialPipeline DeliveryPipelineSerialPipelineArgs

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

suspended Boolean

When suspended, no new releases or rollouts can be created, but in-progress ones will complete.

uid String

Output only. Unique identifier of the DeliveryPipeline.

updateTime String

Output only. Most recent time at which the pipeline was updated.

annotations {[key: string]: string}

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

conditions DeliveryPipelineConditionArgs[]

Output only. Information around the state of the Delivery Pipeline.

createTime string

Output only. Time at which the pipeline was created.

description string

Description of the DeliveryPipeline. Max length is 255 characters.

etag string

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

labels {[key: string]: string}

Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.

location string

The location for the resource

name string

Name of the DeliveryPipeline. Format is [a-z][a-z0-9-]{0,62}.

project string

The project for the resource

serialPipeline DeliveryPipelineSerialPipelineArgs

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

suspended boolean

When suspended, no new releases or rollouts can be created, but in-progress ones will complete.

uid string

Output only. Unique identifier of the DeliveryPipeline.

updateTime string

Output only. Most recent time at which the pipeline was updated.

annotations Mapping[str, str]

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

conditions Sequence[DeliveryPipelineConditionArgs]

Output only. Information around the state of the Delivery Pipeline.

create_time str

Output only. Time at which the pipeline was created.

description str

Description of the DeliveryPipeline. Max length is 255 characters.

etag str

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

labels Mapping[str, str]

Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.

location str

The location for the resource

name str

Name of the DeliveryPipeline. Format is [a-z][a-z0-9-]{0,62}.

project str

The project for the resource

serial_pipeline DeliveryPipelineSerialPipelineArgs

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

suspended bool

When suspended, no new releases or rollouts can be created, but in-progress ones will complete.

uid str

Output only. Unique identifier of the DeliveryPipeline.

update_time str

Output only. Most recent time at which the pipeline was updated.

annotations Map<String>

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

conditions List<Property Map>

Output only. Information around the state of the Delivery Pipeline.

createTime String

Output only. Time at which the pipeline was created.

description String

Description of the DeliveryPipeline. Max length is 255 characters.

etag String

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

labels Map<String>

Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.

location String

The location for the resource

name String

Name of the DeliveryPipeline. Format is [a-z][a-z0-9-]{0,62}.

project String

The project for the resource

serialPipeline Property Map

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

suspended Boolean

When suspended, no new releases or rollouts can be created, but in-progress ones will complete.

uid String

Output only. Unique identifier of the DeliveryPipeline.

updateTime String

Output only. Most recent time at which the pipeline was updated.

Supporting Types

DeliveryPipelineCondition

DeliveryPipelineConditionPipelineReadyCondition

Status bool
UpdateTime string
Status bool
UpdateTime string
status Boolean
updateTime String
status boolean
updateTime string
status Boolean
updateTime String

DeliveryPipelineConditionTargetsPresentCondition

MissingTargets List<string>
Status bool
UpdateTime string
MissingTargets []string
Status bool
UpdateTime string
missingTargets List<String>
status Boolean
updateTime String
missingTargets string[]
status boolean
updateTime string
missing_targets Sequence[str]
status bool
update_time str
missingTargets List<String>
status Boolean
updateTime String

DeliveryPipelineSerialPipeline

Stages List<DeliveryPipelineSerialPipelineStage>

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

Stages []DeliveryPipelineSerialPipelineStage

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

stages List<DeliveryPipelineSerialPipelineStage>

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

stages DeliveryPipelineSerialPipelineStage[]

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

stages Sequence[DeliveryPipelineSerialPipelineStage]

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

stages List<Property Map>

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

DeliveryPipelineSerialPipelineStage

Profiles List<string>

Skaffold profiles to use when rendering the manifest for this stage's Target.

TargetId string

The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be my-target (rather than projects/project/locations/location/targets/my-target). The location of the Target is inferred to be the same as the location of the DeliveryPipeline that contains this Stage.

Profiles []string

Skaffold profiles to use when rendering the manifest for this stage's Target.

TargetId string

The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be my-target (rather than projects/project/locations/location/targets/my-target). The location of the Target is inferred to be the same as the location of the DeliveryPipeline that contains this Stage.

profiles List<String>

Skaffold profiles to use when rendering the manifest for this stage's Target.

targetId String

The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be my-target (rather than projects/project/locations/location/targets/my-target). The location of the Target is inferred to be the same as the location of the DeliveryPipeline that contains this Stage.

profiles string[]

Skaffold profiles to use when rendering the manifest for this stage's Target.

targetId string

The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be my-target (rather than projects/project/locations/location/targets/my-target). The location of the Target is inferred to be the same as the location of the DeliveryPipeline that contains this Stage.

profiles Sequence[str]

Skaffold profiles to use when rendering the manifest for this stage's Target.

target_id str

The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be my-target (rather than projects/project/locations/location/targets/my-target). The location of the Target is inferred to be the same as the location of the DeliveryPipeline that contains this Stage.

profiles List<String>

Skaffold profiles to use when rendering the manifest for this stage's Target.

targetId String

The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be my-target (rather than projects/project/locations/location/targets/my-target). The location of the Target is inferred to be the same as the location of the DeliveryPipeline that contains this Stage.

Import

DeliveryPipeline can be imported using any of these accepted formats

 $ pulumi import gcp:clouddeploy/deliveryPipeline:DeliveryPipeline default projects/{{project}}/locations/{{location}}/deliveryPipelines/{{name}}
 $ pulumi import gcp:clouddeploy/deliveryPipeline:DeliveryPipeline default {{project}}/{{location}}/{{name}}
 $ pulumi import gcp:clouddeploy/deliveryPipeline:DeliveryPipeline default {{location}}/{{name}}

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes

This Pulumi package is based on the google-beta Terraform Provider.