gcp.clouddeploy.DeliveryPipeline
Explore with Pulumi AI
The Cloud Deploy DeliveryPipeline
resource
Example Usage
Canary_delivery_pipeline
Creates a basic Cloud Deploy delivery pipeline
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const primary = new gcp.clouddeploy.DeliveryPipeline("primary", {
location: "us-west1",
name: "pipeline",
description: "basic description",
project: "my-project-name",
serialPipeline: {
stages: [
{
deployParameters: [{
values: {
deployParameterKey: "deployParameterValue",
},
matchTargetLabels: {},
}],
profiles: [
"example-profile-one",
"example-profile-two",
],
targetId: "example-target-one",
},
{
profiles: [],
targetId: "example-target-two",
},
],
},
annotations: {
my_first_annotation: "example-annotation-1",
my_second_annotation: "example-annotation-2",
},
labels: {
my_first_label: "example-label-1",
my_second_label: "example-label-2",
},
});
import pulumi
import pulumi_gcp as gcp
primary = gcp.clouddeploy.DeliveryPipeline("primary",
location="us-west1",
name="pipeline",
description="basic description",
project="my-project-name",
serial_pipeline={
"stages": [
{
"deploy_parameters": [{
"values": {
"deploy_parameter_key": "deployParameterValue",
},
"match_target_labels": {},
}],
"profiles": [
"example-profile-one",
"example-profile-two",
],
"target_id": "example-target-one",
},
{
"profiles": [],
"target_id": "example-target-two",
},
],
},
annotations={
"my_first_annotation": "example-annotation-1",
"my_second_annotation": "example-annotation-2",
},
labels={
"my_first_label": "example-label-1",
"my_second_label": "example-label-2",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/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{
Location: pulumi.String("us-west1"),
Name: pulumi.String("pipeline"),
Description: pulumi.String("basic description"),
Project: pulumi.String("my-project-name"),
SerialPipeline: &clouddeploy.DeliveryPipelineSerialPipelineArgs{
Stages: clouddeploy.DeliveryPipelineSerialPipelineStageArray{
&clouddeploy.DeliveryPipelineSerialPipelineStageArgs{
DeployParameters: clouddeploy.DeliveryPipelineSerialPipelineStageDeployParameterArray{
&clouddeploy.DeliveryPipelineSerialPipelineStageDeployParameterArgs{
Values: pulumi.StringMap{
"deployParameterKey": pulumi.String("deployParameterValue"),
},
MatchTargetLabels: nil,
},
},
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"),
},
},
},
Annotations: pulumi.StringMap{
"my_first_annotation": pulumi.String("example-annotation-1"),
"my_second_annotation": pulumi.String("example-annotation-2"),
},
Labels: pulumi.StringMap{
"my_first_label": pulumi.String("example-label-1"),
"my_second_label": pulumi.String("example-label-2"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var primary = new Gcp.CloudDeploy.DeliveryPipeline("primary", new()
{
Location = "us-west1",
Name = "pipeline",
Description = "basic description",
Project = "my-project-name",
SerialPipeline = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineArgs
{
Stages = new[]
{
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageArgs
{
DeployParameters = new[]
{
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageDeployParameterArgs
{
Values =
{
{ "deployParameterKey", "deployParameterValue" },
},
MatchTargetLabels = null,
},
},
Profiles = new[]
{
"example-profile-one",
"example-profile-two",
},
TargetId = "example-target-one",
},
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageArgs
{
Profiles = new() { },
TargetId = "example-target-two",
},
},
},
Annotations =
{
{ "my_first_annotation", "example-annotation-1" },
{ "my_second_annotation", "example-annotation-2" },
},
Labels =
{
{ "my_first_label", "example-label-1" },
{ "my_second_label", "example-label-2" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.clouddeploy.DeliveryPipeline;
import com.pulumi.gcp.clouddeploy.DeliveryPipelineArgs;
import com.pulumi.gcp.clouddeploy.inputs.DeliveryPipelineSerialPipelineArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
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()
.location("us-west1")
.name("pipeline")
.description("basic description")
.project("my-project-name")
.serialPipeline(DeliveryPipelineSerialPipelineArgs.builder()
.stages(
DeliveryPipelineSerialPipelineStageArgs.builder()
.deployParameters(DeliveryPipelineSerialPipelineStageDeployParameterArgs.builder()
.values(Map.of("deployParameterKey", "deployParameterValue"))
.matchTargetLabels()
.build())
.profiles(
"example-profile-one",
"example-profile-two")
.targetId("example-target-one")
.build(),
DeliveryPipelineSerialPipelineStageArgs.builder()
.profiles()
.targetId("example-target-two")
.build())
.build())
.annotations(Map.ofEntries(
Map.entry("my_first_annotation", "example-annotation-1"),
Map.entry("my_second_annotation", "example-annotation-2")
))
.labels(Map.ofEntries(
Map.entry("my_first_label", "example-label-1"),
Map.entry("my_second_label", "example-label-2")
))
.build());
}
}
resources:
primary:
type: gcp:clouddeploy:DeliveryPipeline
properties:
location: us-west1
name: pipeline
description: basic description
project: my-project-name
serialPipeline:
stages:
- deployParameters:
- values:
deployParameterKey: deployParameterValue
matchTargetLabels: {}
profiles:
- example-profile-one
- example-profile-two
targetId: example-target-one
- profiles: []
targetId: example-target-two
annotations:
my_first_annotation: example-annotation-1
my_second_annotation: example-annotation-2
labels:
my_first_label: example-label-1
my_second_label: example-label-2
Canary_service_networking_delivery_pipeline
Creates a basic Cloud Deploy delivery pipeline
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const primary = new gcp.clouddeploy.DeliveryPipeline("primary", {
location: "us-west1",
name: "pipeline",
description: "basic description",
project: "my-project-name",
serialPipeline: {
stages: [
{
deployParameters: [{
values: {
deployParameterKey: "deployParameterValue",
},
matchTargetLabels: {},
}],
profiles: [
"example-profile-one",
"example-profile-two",
],
targetId: "example-target-one",
},
{
profiles: [],
targetId: "example-target-two",
},
],
},
annotations: {
my_first_annotation: "example-annotation-1",
my_second_annotation: "example-annotation-2",
},
labels: {
my_first_label: "example-label-1",
my_second_label: "example-label-2",
},
});
import pulumi
import pulumi_gcp as gcp
primary = gcp.clouddeploy.DeliveryPipeline("primary",
location="us-west1",
name="pipeline",
description="basic description",
project="my-project-name",
serial_pipeline={
"stages": [
{
"deploy_parameters": [{
"values": {
"deploy_parameter_key": "deployParameterValue",
},
"match_target_labels": {},
}],
"profiles": [
"example-profile-one",
"example-profile-two",
],
"target_id": "example-target-one",
},
{
"profiles": [],
"target_id": "example-target-two",
},
],
},
annotations={
"my_first_annotation": "example-annotation-1",
"my_second_annotation": "example-annotation-2",
},
labels={
"my_first_label": "example-label-1",
"my_second_label": "example-label-2",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/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{
Location: pulumi.String("us-west1"),
Name: pulumi.String("pipeline"),
Description: pulumi.String("basic description"),
Project: pulumi.String("my-project-name"),
SerialPipeline: &clouddeploy.DeliveryPipelineSerialPipelineArgs{
Stages: clouddeploy.DeliveryPipelineSerialPipelineStageArray{
&clouddeploy.DeliveryPipelineSerialPipelineStageArgs{
DeployParameters: clouddeploy.DeliveryPipelineSerialPipelineStageDeployParameterArray{
&clouddeploy.DeliveryPipelineSerialPipelineStageDeployParameterArgs{
Values: pulumi.StringMap{
"deployParameterKey": pulumi.String("deployParameterValue"),
},
MatchTargetLabels: nil,
},
},
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"),
},
},
},
Annotations: pulumi.StringMap{
"my_first_annotation": pulumi.String("example-annotation-1"),
"my_second_annotation": pulumi.String("example-annotation-2"),
},
Labels: pulumi.StringMap{
"my_first_label": pulumi.String("example-label-1"),
"my_second_label": pulumi.String("example-label-2"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var primary = new Gcp.CloudDeploy.DeliveryPipeline("primary", new()
{
Location = "us-west1",
Name = "pipeline",
Description = "basic description",
Project = "my-project-name",
SerialPipeline = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineArgs
{
Stages = new[]
{
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageArgs
{
DeployParameters = new[]
{
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageDeployParameterArgs
{
Values =
{
{ "deployParameterKey", "deployParameterValue" },
},
MatchTargetLabels = null,
},
},
Profiles = new[]
{
"example-profile-one",
"example-profile-two",
},
TargetId = "example-target-one",
},
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageArgs
{
Profiles = new() { },
TargetId = "example-target-two",
},
},
},
Annotations =
{
{ "my_first_annotation", "example-annotation-1" },
{ "my_second_annotation", "example-annotation-2" },
},
Labels =
{
{ "my_first_label", "example-label-1" },
{ "my_second_label", "example-label-2" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.clouddeploy.DeliveryPipeline;
import com.pulumi.gcp.clouddeploy.DeliveryPipelineArgs;
import com.pulumi.gcp.clouddeploy.inputs.DeliveryPipelineSerialPipelineArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
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()
.location("us-west1")
.name("pipeline")
.description("basic description")
.project("my-project-name")
.serialPipeline(DeliveryPipelineSerialPipelineArgs.builder()
.stages(
DeliveryPipelineSerialPipelineStageArgs.builder()
.deployParameters(DeliveryPipelineSerialPipelineStageDeployParameterArgs.builder()
.values(Map.of("deployParameterKey", "deployParameterValue"))
.matchTargetLabels()
.build())
.profiles(
"example-profile-one",
"example-profile-two")
.targetId("example-target-one")
.build(),
DeliveryPipelineSerialPipelineStageArgs.builder()
.profiles()
.targetId("example-target-two")
.build())
.build())
.annotations(Map.ofEntries(
Map.entry("my_first_annotation", "example-annotation-1"),
Map.entry("my_second_annotation", "example-annotation-2")
))
.labels(Map.ofEntries(
Map.entry("my_first_label", "example-label-1"),
Map.entry("my_second_label", "example-label-2")
))
.build());
}
}
resources:
primary:
type: gcp:clouddeploy:DeliveryPipeline
properties:
location: us-west1
name: pipeline
description: basic description
project: my-project-name
serialPipeline:
stages:
- deployParameters:
- values:
deployParameterKey: deployParameterValue
matchTargetLabels: {}
profiles:
- example-profile-one
- example-profile-two
targetId: example-target-one
- profiles: []
targetId: example-target-two
annotations:
my_first_annotation: example-annotation-1
my_second_annotation: example-annotation-2
labels:
my_first_label: example-label-1
my_second_label: example-label-2
Canaryrun_delivery_pipeline
Creates a basic Cloud Deploy delivery pipeline
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const primary = new gcp.clouddeploy.DeliveryPipeline("primary", {
location: "us-west1",
name: "pipeline",
description: "basic description",
project: "my-project-name",
serialPipeline: {
stages: [
{
deployParameters: [{
values: {
deployParameterKey: "deployParameterValue",
},
matchTargetLabels: {},
}],
profiles: [
"example-profile-one",
"example-profile-two",
],
targetId: "example-target-one",
},
{
profiles: [],
targetId: "example-target-two",
},
],
},
annotations: {
my_first_annotation: "example-annotation-1",
my_second_annotation: "example-annotation-2",
},
labels: {
my_first_label: "example-label-1",
my_second_label: "example-label-2",
},
});
import pulumi
import pulumi_gcp as gcp
primary = gcp.clouddeploy.DeliveryPipeline("primary",
location="us-west1",
name="pipeline",
description="basic description",
project="my-project-name",
serial_pipeline={
"stages": [
{
"deploy_parameters": [{
"values": {
"deploy_parameter_key": "deployParameterValue",
},
"match_target_labels": {},
}],
"profiles": [
"example-profile-one",
"example-profile-two",
],
"target_id": "example-target-one",
},
{
"profiles": [],
"target_id": "example-target-two",
},
],
},
annotations={
"my_first_annotation": "example-annotation-1",
"my_second_annotation": "example-annotation-2",
},
labels={
"my_first_label": "example-label-1",
"my_second_label": "example-label-2",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/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{
Location: pulumi.String("us-west1"),
Name: pulumi.String("pipeline"),
Description: pulumi.String("basic description"),
Project: pulumi.String("my-project-name"),
SerialPipeline: &clouddeploy.DeliveryPipelineSerialPipelineArgs{
Stages: clouddeploy.DeliveryPipelineSerialPipelineStageArray{
&clouddeploy.DeliveryPipelineSerialPipelineStageArgs{
DeployParameters: clouddeploy.DeliveryPipelineSerialPipelineStageDeployParameterArray{
&clouddeploy.DeliveryPipelineSerialPipelineStageDeployParameterArgs{
Values: pulumi.StringMap{
"deployParameterKey": pulumi.String("deployParameterValue"),
},
MatchTargetLabels: nil,
},
},
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"),
},
},
},
Annotations: pulumi.StringMap{
"my_first_annotation": pulumi.String("example-annotation-1"),
"my_second_annotation": pulumi.String("example-annotation-2"),
},
Labels: pulumi.StringMap{
"my_first_label": pulumi.String("example-label-1"),
"my_second_label": pulumi.String("example-label-2"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var primary = new Gcp.CloudDeploy.DeliveryPipeline("primary", new()
{
Location = "us-west1",
Name = "pipeline",
Description = "basic description",
Project = "my-project-name",
SerialPipeline = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineArgs
{
Stages = new[]
{
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageArgs
{
DeployParameters = new[]
{
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageDeployParameterArgs
{
Values =
{
{ "deployParameterKey", "deployParameterValue" },
},
MatchTargetLabels = null,
},
},
Profiles = new[]
{
"example-profile-one",
"example-profile-two",
},
TargetId = "example-target-one",
},
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageArgs
{
Profiles = new() { },
TargetId = "example-target-two",
},
},
},
Annotations =
{
{ "my_first_annotation", "example-annotation-1" },
{ "my_second_annotation", "example-annotation-2" },
},
Labels =
{
{ "my_first_label", "example-label-1" },
{ "my_second_label", "example-label-2" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.clouddeploy.DeliveryPipeline;
import com.pulumi.gcp.clouddeploy.DeliveryPipelineArgs;
import com.pulumi.gcp.clouddeploy.inputs.DeliveryPipelineSerialPipelineArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
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()
.location("us-west1")
.name("pipeline")
.description("basic description")
.project("my-project-name")
.serialPipeline(DeliveryPipelineSerialPipelineArgs.builder()
.stages(
DeliveryPipelineSerialPipelineStageArgs.builder()
.deployParameters(DeliveryPipelineSerialPipelineStageDeployParameterArgs.builder()
.values(Map.of("deployParameterKey", "deployParameterValue"))
.matchTargetLabels()
.build())
.profiles(
"example-profile-one",
"example-profile-two")
.targetId("example-target-one")
.build(),
DeliveryPipelineSerialPipelineStageArgs.builder()
.profiles()
.targetId("example-target-two")
.build())
.build())
.annotations(Map.ofEntries(
Map.entry("my_first_annotation", "example-annotation-1"),
Map.entry("my_second_annotation", "example-annotation-2")
))
.labels(Map.ofEntries(
Map.entry("my_first_label", "example-label-1"),
Map.entry("my_second_label", "example-label-2")
))
.build());
}
}
resources:
primary:
type: gcp:clouddeploy:DeliveryPipeline
properties:
location: us-west1
name: pipeline
description: basic description
project: my-project-name
serialPipeline:
stages:
- deployParameters:
- values:
deployParameterKey: deployParameterValue
matchTargetLabels: {}
profiles:
- example-profile-one
- example-profile-two
targetId: example-target-one
- profiles: []
targetId: example-target-two
annotations:
my_first_annotation: example-annotation-1
my_second_annotation: example-annotation-2
labels:
my_first_label: example-label-1
my_second_label: example-label-2
Delivery_pipeline
Creates a basic Cloud Deploy delivery pipeline
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const primary = new gcp.clouddeploy.DeliveryPipeline("primary", {
location: "us-west1",
name: "pipeline",
description: "basic description",
project: "my-project-name",
serialPipeline: {
stages: [
{
deployParameters: [{
values: {
deployParameterKey: "deployParameterValue",
},
matchTargetLabels: {},
}],
profiles: [
"example-profile-one",
"example-profile-two",
],
targetId: "example-target-one",
},
{
profiles: [],
targetId: "example-target-two",
},
],
},
annotations: {
my_first_annotation: "example-annotation-1",
my_second_annotation: "example-annotation-2",
},
labels: {
my_first_label: "example-label-1",
my_second_label: "example-label-2",
},
});
import pulumi
import pulumi_gcp as gcp
primary = gcp.clouddeploy.DeliveryPipeline("primary",
location="us-west1",
name="pipeline",
description="basic description",
project="my-project-name",
serial_pipeline={
"stages": [
{
"deploy_parameters": [{
"values": {
"deploy_parameter_key": "deployParameterValue",
},
"match_target_labels": {},
}],
"profiles": [
"example-profile-one",
"example-profile-two",
],
"target_id": "example-target-one",
},
{
"profiles": [],
"target_id": "example-target-two",
},
],
},
annotations={
"my_first_annotation": "example-annotation-1",
"my_second_annotation": "example-annotation-2",
},
labels={
"my_first_label": "example-label-1",
"my_second_label": "example-label-2",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/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{
Location: pulumi.String("us-west1"),
Name: pulumi.String("pipeline"),
Description: pulumi.String("basic description"),
Project: pulumi.String("my-project-name"),
SerialPipeline: &clouddeploy.DeliveryPipelineSerialPipelineArgs{
Stages: clouddeploy.DeliveryPipelineSerialPipelineStageArray{
&clouddeploy.DeliveryPipelineSerialPipelineStageArgs{
DeployParameters: clouddeploy.DeliveryPipelineSerialPipelineStageDeployParameterArray{
&clouddeploy.DeliveryPipelineSerialPipelineStageDeployParameterArgs{
Values: pulumi.StringMap{
"deployParameterKey": pulumi.String("deployParameterValue"),
},
MatchTargetLabels: nil,
},
},
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"),
},
},
},
Annotations: pulumi.StringMap{
"my_first_annotation": pulumi.String("example-annotation-1"),
"my_second_annotation": pulumi.String("example-annotation-2"),
},
Labels: pulumi.StringMap{
"my_first_label": pulumi.String("example-label-1"),
"my_second_label": pulumi.String("example-label-2"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var primary = new Gcp.CloudDeploy.DeliveryPipeline("primary", new()
{
Location = "us-west1",
Name = "pipeline",
Description = "basic description",
Project = "my-project-name",
SerialPipeline = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineArgs
{
Stages = new[]
{
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageArgs
{
DeployParameters = new[]
{
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageDeployParameterArgs
{
Values =
{
{ "deployParameterKey", "deployParameterValue" },
},
MatchTargetLabels = null,
},
},
Profiles = new[]
{
"example-profile-one",
"example-profile-two",
},
TargetId = "example-target-one",
},
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageArgs
{
Profiles = new() { },
TargetId = "example-target-two",
},
},
},
Annotations =
{
{ "my_first_annotation", "example-annotation-1" },
{ "my_second_annotation", "example-annotation-2" },
},
Labels =
{
{ "my_first_label", "example-label-1" },
{ "my_second_label", "example-label-2" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.clouddeploy.DeliveryPipeline;
import com.pulumi.gcp.clouddeploy.DeliveryPipelineArgs;
import com.pulumi.gcp.clouddeploy.inputs.DeliveryPipelineSerialPipelineArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
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()
.location("us-west1")
.name("pipeline")
.description("basic description")
.project("my-project-name")
.serialPipeline(DeliveryPipelineSerialPipelineArgs.builder()
.stages(
DeliveryPipelineSerialPipelineStageArgs.builder()
.deployParameters(DeliveryPipelineSerialPipelineStageDeployParameterArgs.builder()
.values(Map.of("deployParameterKey", "deployParameterValue"))
.matchTargetLabels()
.build())
.profiles(
"example-profile-one",
"example-profile-two")
.targetId("example-target-one")
.build(),
DeliveryPipelineSerialPipelineStageArgs.builder()
.profiles()
.targetId("example-target-two")
.build())
.build())
.annotations(Map.ofEntries(
Map.entry("my_first_annotation", "example-annotation-1"),
Map.entry("my_second_annotation", "example-annotation-2")
))
.labels(Map.ofEntries(
Map.entry("my_first_label", "example-label-1"),
Map.entry("my_second_label", "example-label-2")
))
.build());
}
}
resources:
primary:
type: gcp:clouddeploy:DeliveryPipeline
properties:
location: us-west1
name: pipeline
description: basic description
project: my-project-name
serialPipeline:
stages:
- deployParameters:
- values:
deployParameterKey: deployParameterValue
matchTargetLabels: {}
profiles:
- example-profile-one
- example-profile-two
targetId: example-target-one
- profiles: []
targetId: example-target-two
annotations:
my_first_annotation: example-annotation-1
my_second_annotation: example-annotation-2
labels:
my_first_label: example-label-1
my_second_label: example-label-2
Verify_delivery_pipeline
tests creating and updating a delivery pipeline with deployment verification strategy
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const primary = new gcp.clouddeploy.DeliveryPipeline("primary", {
location: "us-west1",
name: "pipeline",
description: "basic description",
project: "my-project-name",
serialPipeline: {
stages: [
{
deployParameters: [{
values: {
deployParameterKey: "deployParameterValue",
},
matchTargetLabels: {},
}],
profiles: [
"example-profile-one",
"example-profile-two",
],
targetId: "example-target-one",
},
{
profiles: [],
targetId: "example-target-two",
},
],
},
annotations: {
my_first_annotation: "example-annotation-1",
my_second_annotation: "example-annotation-2",
},
labels: {
my_first_label: "example-label-1",
my_second_label: "example-label-2",
},
});
import pulumi
import pulumi_gcp as gcp
primary = gcp.clouddeploy.DeliveryPipeline("primary",
location="us-west1",
name="pipeline",
description="basic description",
project="my-project-name",
serial_pipeline={
"stages": [
{
"deploy_parameters": [{
"values": {
"deploy_parameter_key": "deployParameterValue",
},
"match_target_labels": {},
}],
"profiles": [
"example-profile-one",
"example-profile-two",
],
"target_id": "example-target-one",
},
{
"profiles": [],
"target_id": "example-target-two",
},
],
},
annotations={
"my_first_annotation": "example-annotation-1",
"my_second_annotation": "example-annotation-2",
},
labels={
"my_first_label": "example-label-1",
"my_second_label": "example-label-2",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/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{
Location: pulumi.String("us-west1"),
Name: pulumi.String("pipeline"),
Description: pulumi.String("basic description"),
Project: pulumi.String("my-project-name"),
SerialPipeline: &clouddeploy.DeliveryPipelineSerialPipelineArgs{
Stages: clouddeploy.DeliveryPipelineSerialPipelineStageArray{
&clouddeploy.DeliveryPipelineSerialPipelineStageArgs{
DeployParameters: clouddeploy.DeliveryPipelineSerialPipelineStageDeployParameterArray{
&clouddeploy.DeliveryPipelineSerialPipelineStageDeployParameterArgs{
Values: pulumi.StringMap{
"deployParameterKey": pulumi.String("deployParameterValue"),
},
MatchTargetLabels: nil,
},
},
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"),
},
},
},
Annotations: pulumi.StringMap{
"my_first_annotation": pulumi.String("example-annotation-1"),
"my_second_annotation": pulumi.String("example-annotation-2"),
},
Labels: pulumi.StringMap{
"my_first_label": pulumi.String("example-label-1"),
"my_second_label": pulumi.String("example-label-2"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var primary = new Gcp.CloudDeploy.DeliveryPipeline("primary", new()
{
Location = "us-west1",
Name = "pipeline",
Description = "basic description",
Project = "my-project-name",
SerialPipeline = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineArgs
{
Stages = new[]
{
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageArgs
{
DeployParameters = new[]
{
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageDeployParameterArgs
{
Values =
{
{ "deployParameterKey", "deployParameterValue" },
},
MatchTargetLabels = null,
},
},
Profiles = new[]
{
"example-profile-one",
"example-profile-two",
},
TargetId = "example-target-one",
},
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageArgs
{
Profiles = new() { },
TargetId = "example-target-two",
},
},
},
Annotations =
{
{ "my_first_annotation", "example-annotation-1" },
{ "my_second_annotation", "example-annotation-2" },
},
Labels =
{
{ "my_first_label", "example-label-1" },
{ "my_second_label", "example-label-2" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.clouddeploy.DeliveryPipeline;
import com.pulumi.gcp.clouddeploy.DeliveryPipelineArgs;
import com.pulumi.gcp.clouddeploy.inputs.DeliveryPipelineSerialPipelineArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
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()
.location("us-west1")
.name("pipeline")
.description("basic description")
.project("my-project-name")
.serialPipeline(DeliveryPipelineSerialPipelineArgs.builder()
.stages(
DeliveryPipelineSerialPipelineStageArgs.builder()
.deployParameters(DeliveryPipelineSerialPipelineStageDeployParameterArgs.builder()
.values(Map.of("deployParameterKey", "deployParameterValue"))
.matchTargetLabels()
.build())
.profiles(
"example-profile-one",
"example-profile-two")
.targetId("example-target-one")
.build(),
DeliveryPipelineSerialPipelineStageArgs.builder()
.profiles()
.targetId("example-target-two")
.build())
.build())
.annotations(Map.ofEntries(
Map.entry("my_first_annotation", "example-annotation-1"),
Map.entry("my_second_annotation", "example-annotation-2")
))
.labels(Map.ofEntries(
Map.entry("my_first_label", "example-label-1"),
Map.entry("my_second_label", "example-label-2")
))
.build());
}
}
resources:
primary:
type: gcp:clouddeploy:DeliveryPipeline
properties:
location: us-west1
name: pipeline
description: basic description
project: my-project-name
serialPipeline:
stages:
- deployParameters:
- values:
deployParameterKey: deployParameterValue
matchTargetLabels: {}
profiles:
- example-profile-one
- example-profile-two
targetId: example-target-one
- profiles: []
targetId: example-target-two
annotations:
my_first_annotation: example-annotation-1
my_second_annotation: example-annotation-2
labels:
my_first_label: example-label-1
my_second_label: example-label-2
Create DeliveryPipeline Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DeliveryPipeline(name: string, args: DeliveryPipelineArgs, opts?: CustomResourceOptions);
@overload
def DeliveryPipeline(resource_name: str,
args: DeliveryPipelineArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DeliveryPipeline(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[str] = None,
annotations: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
project: Optional[str] = None,
serial_pipeline: Optional[DeliveryPipelineSerialPipelineArgs] = None,
suspended: Optional[bool] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var deliveryPipelineResource = new Gcp.CloudDeploy.DeliveryPipeline("deliveryPipelineResource", new()
{
Location = "string",
Annotations =
{
{ "string", "string" },
},
Description = "string",
Labels =
{
{ "string", "string" },
},
Name = "string",
Project = "string",
SerialPipeline = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineArgs
{
Stages = new[]
{
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageArgs
{
DeployParameters = new[]
{
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageDeployParameterArgs
{
Values =
{
{ "string", "string" },
},
MatchTargetLabels =
{
{ "string", "string" },
},
},
},
Profiles = new[]
{
"string",
},
Strategy = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyArgs
{
Canary = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyCanaryArgs
{
CanaryDeployment = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyCanaryCanaryDeploymentArgs
{
Percentages = new[]
{
0,
},
Postdeploy = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyCanaryCanaryDeploymentPostdeployArgs
{
Actions = new[]
{
"string",
},
},
Predeploy = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyCanaryCanaryDeploymentPredeployArgs
{
Actions = new[]
{
"string",
},
},
Verify = false,
},
CustomCanaryDeployment = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentArgs
{
PhaseConfigs = new[]
{
new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigArgs
{
Percentage = 0,
PhaseId = "string",
Postdeploy = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigPostdeployArgs
{
Actions = new[]
{
"string",
},
},
Predeploy = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigPredeployArgs
{
Actions = new[]
{
"string",
},
},
Profiles = new[]
{
"string",
},
Verify = false,
},
},
},
RuntimeConfig = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigArgs
{
CloudRun = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigCloudRunArgs
{
AutomaticTrafficControl = false,
CanaryRevisionTags = new[]
{
"string",
},
PriorRevisionTags = new[]
{
"string",
},
StableRevisionTags = new[]
{
"string",
},
},
Kubernetes = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigKubernetesArgs
{
GatewayServiceMesh = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshArgs
{
Deployment = "string",
HttpRoute = "string",
Service = "string",
PodSelectorLabel = "string",
RouteUpdateWaitTime = "string",
StableCutbackDuration = "string",
},
ServiceNetworking = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigKubernetesServiceNetworkingArgs
{
Deployment = "string",
Service = "string",
DisablePodOverprovisioning = false,
PodSelectorLabel = "string",
},
},
},
},
Standard = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyStandardArgs
{
Postdeploy = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyStandardPostdeployArgs
{
Actions = new[]
{
"string",
},
},
Predeploy = new Gcp.CloudDeploy.Inputs.DeliveryPipelineSerialPipelineStageStrategyStandardPredeployArgs
{
Actions = new[]
{
"string",
},
},
Verify = false,
},
},
TargetId = "string",
},
},
},
Suspended = false,
});
example, err := clouddeploy.NewDeliveryPipeline(ctx, "deliveryPipelineResource", &clouddeploy.DeliveryPipelineArgs{
Location: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Project: pulumi.String("string"),
SerialPipeline: &clouddeploy.DeliveryPipelineSerialPipelineArgs{
Stages: clouddeploy.DeliveryPipelineSerialPipelineStageArray{
&clouddeploy.DeliveryPipelineSerialPipelineStageArgs{
DeployParameters: clouddeploy.DeliveryPipelineSerialPipelineStageDeployParameterArray{
&clouddeploy.DeliveryPipelineSerialPipelineStageDeployParameterArgs{
Values: pulumi.StringMap{
"string": pulumi.String("string"),
},
MatchTargetLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Profiles: pulumi.StringArray{
pulumi.String("string"),
},
Strategy: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyArgs{
Canary: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyCanaryArgs{
CanaryDeployment: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyCanaryCanaryDeploymentArgs{
Percentages: pulumi.IntArray{
pulumi.Int(0),
},
Postdeploy: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyCanaryCanaryDeploymentPostdeployArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
},
Predeploy: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyCanaryCanaryDeploymentPredeployArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
},
Verify: pulumi.Bool(false),
},
CustomCanaryDeployment: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentArgs{
PhaseConfigs: clouddeploy.DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigArray{
&clouddeploy.DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigArgs{
Percentage: pulumi.Int(0),
PhaseId: pulumi.String("string"),
Postdeploy: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigPostdeployArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
},
Predeploy: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigPredeployArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
},
Profiles: pulumi.StringArray{
pulumi.String("string"),
},
Verify: pulumi.Bool(false),
},
},
},
RuntimeConfig: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigArgs{
CloudRun: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigCloudRunArgs{
AutomaticTrafficControl: pulumi.Bool(false),
CanaryRevisionTags: pulumi.StringArray{
pulumi.String("string"),
},
PriorRevisionTags: pulumi.StringArray{
pulumi.String("string"),
},
StableRevisionTags: pulumi.StringArray{
pulumi.String("string"),
},
},
Kubernetes: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigKubernetesArgs{
GatewayServiceMesh: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshArgs{
Deployment: pulumi.String("string"),
HttpRoute: pulumi.String("string"),
Service: pulumi.String("string"),
PodSelectorLabel: pulumi.String("string"),
RouteUpdateWaitTime: pulumi.String("string"),
StableCutbackDuration: pulumi.String("string"),
},
ServiceNetworking: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigKubernetesServiceNetworkingArgs{
Deployment: pulumi.String("string"),
Service: pulumi.String("string"),
DisablePodOverprovisioning: pulumi.Bool(false),
PodSelectorLabel: pulumi.String("string"),
},
},
},
},
Standard: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyStandardArgs{
Postdeploy: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyStandardPostdeployArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
},
Predeploy: &clouddeploy.DeliveryPipelineSerialPipelineStageStrategyStandardPredeployArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
},
Verify: pulumi.Bool(false),
},
},
TargetId: pulumi.String("string"),
},
},
},
Suspended: pulumi.Bool(false),
})
var deliveryPipelineResource = new DeliveryPipeline("deliveryPipelineResource", DeliveryPipelineArgs.builder()
.location("string")
.annotations(Map.of("string", "string"))
.description("string")
.labels(Map.of("string", "string"))
.name("string")
.project("string")
.serialPipeline(DeliveryPipelineSerialPipelineArgs.builder()
.stages(DeliveryPipelineSerialPipelineStageArgs.builder()
.deployParameters(DeliveryPipelineSerialPipelineStageDeployParameterArgs.builder()
.values(Map.of("string", "string"))
.matchTargetLabels(Map.of("string", "string"))
.build())
.profiles("string")
.strategy(DeliveryPipelineSerialPipelineStageStrategyArgs.builder()
.canary(DeliveryPipelineSerialPipelineStageStrategyCanaryArgs.builder()
.canaryDeployment(DeliveryPipelineSerialPipelineStageStrategyCanaryCanaryDeploymentArgs.builder()
.percentages(0)
.postdeploy(DeliveryPipelineSerialPipelineStageStrategyCanaryCanaryDeploymentPostdeployArgs.builder()
.actions("string")
.build())
.predeploy(DeliveryPipelineSerialPipelineStageStrategyCanaryCanaryDeploymentPredeployArgs.builder()
.actions("string")
.build())
.verify(false)
.build())
.customCanaryDeployment(DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentArgs.builder()
.phaseConfigs(DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigArgs.builder()
.percentage(0)
.phaseId("string")
.postdeploy(DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigPostdeployArgs.builder()
.actions("string")
.build())
.predeploy(DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigPredeployArgs.builder()
.actions("string")
.build())
.profiles("string")
.verify(false)
.build())
.build())
.runtimeConfig(DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigArgs.builder()
.cloudRun(DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigCloudRunArgs.builder()
.automaticTrafficControl(false)
.canaryRevisionTags("string")
.priorRevisionTags("string")
.stableRevisionTags("string")
.build())
.kubernetes(DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigKubernetesArgs.builder()
.gatewayServiceMesh(DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshArgs.builder()
.deployment("string")
.httpRoute("string")
.service("string")
.podSelectorLabel("string")
.routeUpdateWaitTime("string")
.stableCutbackDuration("string")
.build())
.serviceNetworking(DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigKubernetesServiceNetworkingArgs.builder()
.deployment("string")
.service("string")
.disablePodOverprovisioning(false)
.podSelectorLabel("string")
.build())
.build())
.build())
.build())
.standard(DeliveryPipelineSerialPipelineStageStrategyStandardArgs.builder()
.postdeploy(DeliveryPipelineSerialPipelineStageStrategyStandardPostdeployArgs.builder()
.actions("string")
.build())
.predeploy(DeliveryPipelineSerialPipelineStageStrategyStandardPredeployArgs.builder()
.actions("string")
.build())
.verify(false)
.build())
.build())
.targetId("string")
.build())
.build())
.suspended(false)
.build());
delivery_pipeline_resource = gcp.clouddeploy.DeliveryPipeline("deliveryPipelineResource",
location="string",
annotations={
"string": "string",
},
description="string",
labels={
"string": "string",
},
name="string",
project="string",
serial_pipeline={
"stages": [{
"deployParameters": [{
"values": {
"string": "string",
},
"matchTargetLabels": {
"string": "string",
},
}],
"profiles": ["string"],
"strategy": {
"canary": {
"canaryDeployment": {
"percentages": [0],
"postdeploy": {
"actions": ["string"],
},
"predeploy": {
"actions": ["string"],
},
"verify": False,
},
"customCanaryDeployment": {
"phaseConfigs": [{
"percentage": 0,
"phaseId": "string",
"postdeploy": {
"actions": ["string"],
},
"predeploy": {
"actions": ["string"],
},
"profiles": ["string"],
"verify": False,
}],
},
"runtimeConfig": {
"cloudRun": {
"automaticTrafficControl": False,
"canaryRevisionTags": ["string"],
"priorRevisionTags": ["string"],
"stableRevisionTags": ["string"],
},
"kubernetes": {
"gatewayServiceMesh": {
"deployment": "string",
"httpRoute": "string",
"service": "string",
"podSelectorLabel": "string",
"routeUpdateWaitTime": "string",
"stableCutbackDuration": "string",
},
"serviceNetworking": {
"deployment": "string",
"service": "string",
"disablePodOverprovisioning": False,
"podSelectorLabel": "string",
},
},
},
},
"standard": {
"postdeploy": {
"actions": ["string"],
},
"predeploy": {
"actions": ["string"],
},
"verify": False,
},
},
"targetId": "string",
}],
},
suspended=False)
const deliveryPipelineResource = new gcp.clouddeploy.DeliveryPipeline("deliveryPipelineResource", {
location: "string",
annotations: {
string: "string",
},
description: "string",
labels: {
string: "string",
},
name: "string",
project: "string",
serialPipeline: {
stages: [{
deployParameters: [{
values: {
string: "string",
},
matchTargetLabels: {
string: "string",
},
}],
profiles: ["string"],
strategy: {
canary: {
canaryDeployment: {
percentages: [0],
postdeploy: {
actions: ["string"],
},
predeploy: {
actions: ["string"],
},
verify: false,
},
customCanaryDeployment: {
phaseConfigs: [{
percentage: 0,
phaseId: "string",
postdeploy: {
actions: ["string"],
},
predeploy: {
actions: ["string"],
},
profiles: ["string"],
verify: false,
}],
},
runtimeConfig: {
cloudRun: {
automaticTrafficControl: false,
canaryRevisionTags: ["string"],
priorRevisionTags: ["string"],
stableRevisionTags: ["string"],
},
kubernetes: {
gatewayServiceMesh: {
deployment: "string",
httpRoute: "string",
service: "string",
podSelectorLabel: "string",
routeUpdateWaitTime: "string",
stableCutbackDuration: "string",
},
serviceNetworking: {
deployment: "string",
service: "string",
disablePodOverprovisioning: false,
podSelectorLabel: "string",
},
},
},
},
standard: {
postdeploy: {
actions: ["string"],
},
predeploy: {
actions: ["string"],
},
verify: false,
},
},
targetId: "string",
}],
},
suspended: false,
});
type: gcp:clouddeploy:DeliveryPipeline
properties:
annotations:
string: string
description: string
labels:
string: string
location: string
name: string
project: string
serialPipeline:
stages:
- deployParameters:
- matchTargetLabels:
string: string
values:
string: string
profiles:
- string
strategy:
canary:
canaryDeployment:
percentages:
- 0
postdeploy:
actions:
- string
predeploy:
actions:
- string
verify: false
customCanaryDeployment:
phaseConfigs:
- percentage: 0
phaseId: string
postdeploy:
actions:
- string
predeploy:
actions:
- string
profiles:
- string
verify: false
runtimeConfig:
cloudRun:
automaticTrafficControl: false
canaryRevisionTags:
- string
priorRevisionTags:
- string
stableRevisionTags:
- string
kubernetes:
gatewayServiceMesh:
deployment: string
httpRoute: string
podSelectorLabel: string
routeUpdateWaitTime: string
service: string
stableCutbackDuration: string
serviceNetworking:
deployment: string
disablePodOverprovisioning: false
podSelectorLabel: string
service: string
standard:
postdeploy:
actions:
- string
predeploy:
actions:
- string
verify: false
targetId: string
suspended: false
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. Note: This field is
non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource. - 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. Note: This field is non-authoritative, and will only manage the
labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource. - Name string
- Name of the
DeliveryPipeline
. Format isa-z?
. - Project string
- The project for the resource
- Serial
Pipeline DeliveryPipeline Serial Pipeline - 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. Note: This field is
non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource. - 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. Note: This field is non-authoritative, and will only manage the
labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource. - Name string
- Name of the
DeliveryPipeline
. Format isa-z?
. - Project string
- The project for the resource
- Serial
Pipeline DeliveryPipeline Serial Pipeline Args - 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. Note: This field is
non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource. - 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. Note: This field is non-authoritative, and will only manage the
labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource. - name String
- Name of the
DeliveryPipeline
. Format isa-z?
. - project String
- The project for the resource
- serial
Pipeline DeliveryPipeline Serial Pipeline - 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. Note: This field is
non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource. - 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. Note: This field is non-authoritative, and will only manage the
labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource. - name string
- Name of the
DeliveryPipeline
. Format isa-z?
. - project string
- The project for the resource
- serial
Pipeline DeliveryPipeline Serial Pipeline - 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. Note: This field is
non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource. - 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. Note: This field is non-authoritative, and will only manage the
labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource. - name str
- Name of the
DeliveryPipeline
. Format isa-z?
. - project str
- The project for the resource
- serial_
pipeline DeliveryPipeline Serial Pipeline Args - 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. Note: This field is
non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource. - 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. Note: This field is non-authoritative, and will only manage the
labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource. - name String
- Name of the
DeliveryPipeline
. Format isa-z?
. - project String
- The project for the resource
- serial
Pipeline 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<Delivery
Pipeline Condition> - Output only. Information around the state of the Delivery Pipeline.
- Create
Time string - Output only. Time at which the pipeline was created.
- Effective
Annotations Dictionary<string, string> - Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- 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.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Uid string
- Output only. Unique identifier of the
DeliveryPipeline
. - Update
Time string - Output only. Most recent time at which the pipeline was updated.
- Conditions
[]Delivery
Pipeline Condition - Output only. Information around the state of the Delivery Pipeline.
- Create
Time string - Output only. Time at which the pipeline was created.
- Effective
Annotations map[string]string - Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- 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.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Uid string
- Output only. Unique identifier of the
DeliveryPipeline
. - Update
Time string - Output only. Most recent time at which the pipeline was updated.
- conditions
List<Delivery
Pipeline Condition> - Output only. Information around the state of the Delivery Pipeline.
- create
Time String - Output only. Time at which the pipeline was created.
- effective
Annotations Map<String,String> - effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- 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.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- uid String
- Output only. Unique identifier of the
DeliveryPipeline
. - update
Time String - Output only. Most recent time at which the pipeline was updated.
- conditions
Delivery
Pipeline Condition[] - Output only. Information around the state of the Delivery Pipeline.
- create
Time string - Output only. Time at which the pipeline was created.
- effective
Annotations {[key: string]: string} - effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- 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.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- uid string
- Output only. Unique identifier of the
DeliveryPipeline
. - update
Time string - Output only. Most recent time at which the pipeline was updated.
- conditions
Sequence[Delivery
Pipeline Condition] - Output only. Information around the state of the Delivery Pipeline.
- create_
time str - Output only. Time at which the pipeline was created.
- effective_
annotations Mapping[str, str] - effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- 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.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- 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.
- create
Time String - Output only. Time at which the pipeline was created.
- effective
Annotations Map<String> - effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- 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.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- uid String
- Output only. Unique identifier of the
DeliveryPipeline
. - update
Time String - Output only. Most recent time at which the pipeline was updated.
Look up 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,
effective_annotations: Optional[Mapping[str, str]] = None,
effective_labels: Optional[Mapping[str, str]] = None,
etag: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
pulumi_labels: Optional[Mapping[str, 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.
- 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. Note: This field is
non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource. - Conditions
List<Delivery
Pipeline Condition> - Output only. Information around the state of the Delivery Pipeline.
- Create
Time string - Output only. Time at which the pipeline was created.
- Description string
- Description of the
DeliveryPipeline
. Max length is 255 characters. - Effective
Annotations Dictionary<string, string> - Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- 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. Note: This field is non-authoritative, and will only manage the
labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource. - Location string
- The location for the resource
- Name string
- Name of the
DeliveryPipeline
. Format isa-z?
. - Project string
- The project for the resource
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Serial
Pipeline DeliveryPipeline Serial Pipeline - 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
. - Update
Time 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. Note: This field is
non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource. - Conditions
[]Delivery
Pipeline Condition Args - Output only. Information around the state of the Delivery Pipeline.
- Create
Time string - Output only. Time at which the pipeline was created.
- Description string
- Description of the
DeliveryPipeline
. Max length is 255 characters. - Effective
Annotations map[string]string - Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- 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. Note: This field is non-authoritative, and will only manage the
labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource. - Location string
- The location for the resource
- Name string
- Name of the
DeliveryPipeline
. Format isa-z?
. - Project string
- The project for the resource
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Serial
Pipeline DeliveryPipeline Serial Pipeline Args - 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
. - Update
Time 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. Note: This field is
non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource. - conditions
List<Delivery
Pipeline Condition> - Output only. Information around the state of the Delivery Pipeline.
- create
Time String - Output only. Time at which the pipeline was created.
- description String
- Description of the
DeliveryPipeline
. Max length is 255 characters. - effective
Annotations Map<String,String> - effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- 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. Note: This field is non-authoritative, and will only manage the
labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource. - location String
- The location for the resource
- name String
- Name of the
DeliveryPipeline
. Format isa-z?
. - project String
- The project for the resource
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- serial
Pipeline DeliveryPipeline Serial Pipeline - 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
. - update
Time 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. Note: This field is
non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource. - conditions
Delivery
Pipeline Condition[] - Output only. Information around the state of the Delivery Pipeline.
- create
Time string - Output only. Time at which the pipeline was created.
- description string
- Description of the
DeliveryPipeline
. Max length is 255 characters. - effective
Annotations {[key: string]: string} - effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- 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. Note: This field is non-authoritative, and will only manage the
labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource. - location string
- The location for the resource
- name string
- Name of the
DeliveryPipeline
. Format isa-z?
. - project string
- The project for the resource
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- serial
Pipeline DeliveryPipeline Serial Pipeline - 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
. - update
Time 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. Note: This field is
non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource. - conditions
Sequence[Delivery
Pipeline Condition Args] - 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. - effective_
annotations Mapping[str, str] - effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- 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. Note: This field is non-authoritative, and will only manage the
labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource. - location str
- The location for the resource
- name str
- Name of the
DeliveryPipeline
. Format isa-z?
. - project str
- The project for the resource
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- serial_
pipeline DeliveryPipeline Serial Pipeline Args - 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. Note: This field is
non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource. - conditions List<Property Map>
- Output only. Information around the state of the Delivery Pipeline.
- create
Time String - Output only. Time at which the pipeline was created.
- description String
- Description of the
DeliveryPipeline
. Max length is 255 characters. - effective
Annotations Map<String> - effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- 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. Note: This field is non-authoritative, and will only manage the
labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource. - location String
- The location for the resource
- name String
- Name of the
DeliveryPipeline
. Format isa-z?
. - project String
- The project for the resource
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- serial
Pipeline 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
. - update
Time String - Output only. Most recent time at which the pipeline was updated.
Supporting Types
DeliveryPipelineCondition, DeliveryPipelineConditionArgs
- Pipeline
Ready List<DeliveryConditions Pipeline Condition Pipeline Ready Condition> - Details around the Pipeline's overall status.
- Targets
Present List<DeliveryConditions Pipeline Condition Targets Present Condition> - Details around targets enumerated in the pipeline.
- Targets
Type List<DeliveryConditions Pipeline Condition Targets Type Condition> - Details on the whether the targets enumerated in the pipeline are of the same type.
- Pipeline
Ready []DeliveryConditions Pipeline Condition Pipeline Ready Condition - Details around the Pipeline's overall status.
- Targets
Present []DeliveryConditions Pipeline Condition Targets Present Condition - Details around targets enumerated in the pipeline.
- Targets
Type []DeliveryConditions Pipeline Condition Targets Type Condition - Details on the whether the targets enumerated in the pipeline are of the same type.
- pipeline
Ready List<DeliveryConditions Pipeline Condition Pipeline Ready Condition> - Details around the Pipeline's overall status.
- targets
Present List<DeliveryConditions Pipeline Condition Targets Present Condition> - Details around targets enumerated in the pipeline.
- targets
Type List<DeliveryConditions Pipeline Condition Targets Type Condition> - Details on the whether the targets enumerated in the pipeline are of the same type.
- pipeline
Ready DeliveryConditions Pipeline Condition Pipeline Ready Condition[] - Details around the Pipeline's overall status.
- targets
Present DeliveryConditions Pipeline Condition Targets Present Condition[] - Details around targets enumerated in the pipeline.
- targets
Type DeliveryConditions Pipeline Condition Targets Type Condition[] - Details on the whether the targets enumerated in the pipeline are of the same type.
- pipeline_
ready_ Sequence[Deliveryconditions Pipeline Condition Pipeline Ready Condition] - Details around the Pipeline's overall status.
- targets_
present_ Sequence[Deliveryconditions Pipeline Condition Targets Present Condition] - Details around targets enumerated in the pipeline.
- targets_
type_ Sequence[Deliveryconditions Pipeline Condition Targets Type Condition] - Details on the whether the targets enumerated in the pipeline are of the same type.
- pipeline
Ready List<Property Map>Conditions - Details around the Pipeline's overall status.
- targets
Present List<Property Map>Conditions - Details around targets enumerated in the pipeline.
- targets
Type List<Property Map>Conditions - Details on the whether the targets enumerated in the pipeline are of the same type.
DeliveryPipelineConditionPipelineReadyCondition, DeliveryPipelineConditionPipelineReadyConditionArgs
- Status bool
- True if the Pipeline is in a valid state. Otherwise at least one condition in
PipelineCondition
is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Pipeline. - Update
Time string - Output only. Most recent time at which the pipeline was updated.
- Status bool
- True if the Pipeline is in a valid state. Otherwise at least one condition in
PipelineCondition
is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Pipeline. - Update
Time string - Output only. Most recent time at which the pipeline was updated.
- status Boolean
- True if the Pipeline is in a valid state. Otherwise at least one condition in
PipelineCondition
is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Pipeline. - update
Time String - Output only. Most recent time at which the pipeline was updated.
- status boolean
- True if the Pipeline is in a valid state. Otherwise at least one condition in
PipelineCondition
is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Pipeline. - update
Time string - Output only. Most recent time at which the pipeline was updated.
- status bool
- True if the Pipeline is in a valid state. Otherwise at least one condition in
PipelineCondition
is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Pipeline. - update_
time str - Output only. Most recent time at which the pipeline was updated.
- status Boolean
- True if the Pipeline is in a valid state. Otherwise at least one condition in
PipelineCondition
is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Pipeline. - update
Time String - Output only. Most recent time at which the pipeline was updated.
DeliveryPipelineConditionTargetsPresentCondition, DeliveryPipelineConditionTargetsPresentConditionArgs
- Missing
Targets List<string> - The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.
- Status bool
- True if there aren't any missing Targets.
- Update
Time string - Output only. Most recent time at which the pipeline was updated.
- Missing
Targets []string - The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.
- Status bool
- True if there aren't any missing Targets.
- Update
Time string - Output only. Most recent time at which the pipeline was updated.
- missing
Targets List<String> - The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.
- status Boolean
- True if there aren't any missing Targets.
- update
Time String - Output only. Most recent time at which the pipeline was updated.
- missing
Targets string[] - The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.
- status boolean
- True if there aren't any missing Targets.
- update
Time string - Output only. Most recent time at which the pipeline was updated.
- missing_
targets Sequence[str] - The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.
- status bool
- True if there aren't any missing Targets.
- update_
time str - Output only. Most recent time at which the pipeline was updated.
- missing
Targets List<String> - The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.
- status Boolean
- True if there aren't any missing Targets.
- update
Time String - Output only. Most recent time at which the pipeline was updated.
DeliveryPipelineConditionTargetsTypeCondition, DeliveryPipelineConditionTargetsTypeConditionArgs
- Error
Details string - Human readable error message.
- Status bool
- True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters.
- Error
Details string - Human readable error message.
- Status bool
- True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters.
- error
Details String - Human readable error message.
- status Boolean
- True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters.
- error
Details string - Human readable error message.
- status boolean
- True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters.
- error_
details str - Human readable error message.
- status bool
- True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters.
- error
Details String - Human readable error message.
- status Boolean
- True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters.
DeliveryPipelineSerialPipeline, DeliveryPipelineSerialPipelineArgs
- Stages
List<Delivery
Pipeline Serial Pipeline Stage> - Each stage specifies configuration for a
Target
. The ordering of this list defines the promotion flow.
- Stages
[]Delivery
Pipeline Serial Pipeline Stage - Each stage specifies configuration for a
Target
. The ordering of this list defines the promotion flow.
- stages
List<Delivery
Pipeline Serial Pipeline Stage> - Each stage specifies configuration for a
Target
. The ordering of this list defines the promotion flow.
- stages
Delivery
Pipeline Serial Pipeline Stage[] - Each stage specifies configuration for a
Target
. The ordering of this list defines the promotion flow.
- stages
Sequence[Delivery
Pipeline Serial Pipeline Stage] - 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, DeliveryPipelineSerialPipelineStageArgs
- Deploy
Parameters List<DeliveryPipeline Serial Pipeline Stage Deploy Parameter> - Optional. The deploy parameters to use for the target in this stage.
- Profiles List<string>
- Skaffold profiles to use when rendering the manifest for this stage's
Target
. - Strategy
Delivery
Pipeline Serial Pipeline Stage Strategy - Optional. The strategy to use for a
Rollout
to this stage. - Target
Id 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 thanprojects/project/locations/location/targets/my-target
). The location of theTarget
is inferred to be the same as the location of theDeliveryPipeline
that contains thisStage
.
- Deploy
Parameters []DeliveryPipeline Serial Pipeline Stage Deploy Parameter - Optional. The deploy parameters to use for the target in this stage.
- Profiles []string
- Skaffold profiles to use when rendering the manifest for this stage's
Target
. - Strategy
Delivery
Pipeline Serial Pipeline Stage Strategy - Optional. The strategy to use for a
Rollout
to this stage. - Target
Id 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 thanprojects/project/locations/location/targets/my-target
). The location of theTarget
is inferred to be the same as the location of theDeliveryPipeline
that contains thisStage
.
- deploy
Parameters List<DeliveryPipeline Serial Pipeline Stage Deploy Parameter> - Optional. The deploy parameters to use for the target in this stage.
- profiles List<String>
- Skaffold profiles to use when rendering the manifest for this stage's
Target
. - strategy
Delivery
Pipeline Serial Pipeline Stage Strategy - Optional. The strategy to use for a
Rollout
to this stage. - target
Id 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 thanprojects/project/locations/location/targets/my-target
). The location of theTarget
is inferred to be the same as the location of theDeliveryPipeline
that contains thisStage
.
- deploy
Parameters DeliveryPipeline Serial Pipeline Stage Deploy Parameter[] - Optional. The deploy parameters to use for the target in this stage.
- profiles string[]
- Skaffold profiles to use when rendering the manifest for this stage's
Target
. - strategy
Delivery
Pipeline Serial Pipeline Stage Strategy - Optional. The strategy to use for a
Rollout
to this stage. - target
Id 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 thanprojects/project/locations/location/targets/my-target
). The location of theTarget
is inferred to be the same as the location of theDeliveryPipeline
that contains thisStage
.
- deploy_
parameters Sequence[DeliveryPipeline Serial Pipeline Stage Deploy Parameter] - Optional. The deploy parameters to use for the target in this stage.
- profiles Sequence[str]
- Skaffold profiles to use when rendering the manifest for this stage's
Target
. - strategy
Delivery
Pipeline Serial Pipeline Stage Strategy - Optional. The strategy to use for a
Rollout
to this stage. - 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 thanprojects/project/locations/location/targets/my-target
). The location of theTarget
is inferred to be the same as the location of theDeliveryPipeline
that contains thisStage
.
- deploy
Parameters List<Property Map> - Optional. The deploy parameters to use for the target in this stage.
- profiles List<String>
- Skaffold profiles to use when rendering the manifest for this stage's
Target
. - strategy Property Map
- Optional. The strategy to use for a
Rollout
to this stage. - target
Id 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 thanprojects/project/locations/location/targets/my-target
). The location of theTarget
is inferred to be the same as the location of theDeliveryPipeline
that contains thisStage
.
DeliveryPipelineSerialPipelineStageDeployParameter, DeliveryPipelineSerialPipelineStageDeployParameterArgs
- Values Dictionary<string, string>
- Required. Values are deploy parameters in key-value pairs.
- Match
Target Dictionary<string, string>Labels - Optional. Deploy parameters are applied to targets with match labels. If unspecified, deploy parameters are applied to all targets (including child targets of a multi-target).
- Values map[string]string
- Required. Values are deploy parameters in key-value pairs.
- Match
Target map[string]stringLabels - Optional. Deploy parameters are applied to targets with match labels. If unspecified, deploy parameters are applied to all targets (including child targets of a multi-target).
- values Map<String,String>
- Required. Values are deploy parameters in key-value pairs.
- match
Target Map<String,String>Labels - Optional. Deploy parameters are applied to targets with match labels. If unspecified, deploy parameters are applied to all targets (including child targets of a multi-target).
- values {[key: string]: string}
- Required. Values are deploy parameters in key-value pairs.
- match
Target {[key: string]: string}Labels - Optional. Deploy parameters are applied to targets with match labels. If unspecified, deploy parameters are applied to all targets (including child targets of a multi-target).
- values Mapping[str, str]
- Required. Values are deploy parameters in key-value pairs.
- match_
target_ Mapping[str, str]labels - Optional. Deploy parameters are applied to targets with match labels. If unspecified, deploy parameters are applied to all targets (including child targets of a multi-target).
- values Map<String>
- Required. Values are deploy parameters in key-value pairs.
- match
Target Map<String>Labels - Optional. Deploy parameters are applied to targets with match labels. If unspecified, deploy parameters are applied to all targets (including child targets of a multi-target).
DeliveryPipelineSerialPipelineStageStrategy, DeliveryPipelineSerialPipelineStageStrategyArgs
- Canary
Delivery
Pipeline Serial Pipeline Stage Strategy Canary - Canary deployment strategy provides progressive percentage based deployments to a Target.
- Standard
Delivery
Pipeline Serial Pipeline Stage Strategy Standard - Standard deployment strategy executes a single deploy and allows verifying the deployment.
- Canary
Delivery
Pipeline Serial Pipeline Stage Strategy Canary - Canary deployment strategy provides progressive percentage based deployments to a Target.
- Standard
Delivery
Pipeline Serial Pipeline Stage Strategy Standard - Standard deployment strategy executes a single deploy and allows verifying the deployment.
- canary
Delivery
Pipeline Serial Pipeline Stage Strategy Canary - Canary deployment strategy provides progressive percentage based deployments to a Target.
- standard
Delivery
Pipeline Serial Pipeline Stage Strategy Standard - Standard deployment strategy executes a single deploy and allows verifying the deployment.
- canary
Delivery
Pipeline Serial Pipeline Stage Strategy Canary - Canary deployment strategy provides progressive percentage based deployments to a Target.
- standard
Delivery
Pipeline Serial Pipeline Stage Strategy Standard - Standard deployment strategy executes a single deploy and allows verifying the deployment.
- canary
Delivery
Pipeline Serial Pipeline Stage Strategy Canary - Canary deployment strategy provides progressive percentage based deployments to a Target.
- standard
Delivery
Pipeline Serial Pipeline Stage Strategy Standard - Standard deployment strategy executes a single deploy and allows verifying the deployment.
- canary Property Map
- Canary deployment strategy provides progressive percentage based deployments to a Target.
- standard Property Map
- Standard deployment strategy executes a single deploy and allows verifying the deployment.
DeliveryPipelineSerialPipelineStageStrategyCanary, DeliveryPipelineSerialPipelineStageStrategyCanaryArgs
- Canary
Deployment DeliveryPipeline Serial Pipeline Stage Strategy Canary Canary Deployment - Configures the progressive based deployment for a Target.
- Custom
Canary DeliveryDeployment Pipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment - Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments.
- Runtime
Config DeliveryPipeline Serial Pipeline Stage Strategy Canary Runtime Config - Optional. Runtime specific configurations for the deployment strategy. The runtime configuration is used to determine how Cloud Deploy will split traffic to enable a progressive deployment.
- Canary
Deployment DeliveryPipeline Serial Pipeline Stage Strategy Canary Canary Deployment - Configures the progressive based deployment for a Target.
- Custom
Canary DeliveryDeployment Pipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment - Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments.
- Runtime
Config DeliveryPipeline Serial Pipeline Stage Strategy Canary Runtime Config - Optional. Runtime specific configurations for the deployment strategy. The runtime configuration is used to determine how Cloud Deploy will split traffic to enable a progressive deployment.
- canary
Deployment DeliveryPipeline Serial Pipeline Stage Strategy Canary Canary Deployment - Configures the progressive based deployment for a Target.
- custom
Canary DeliveryDeployment Pipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment - Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments.
- runtime
Config DeliveryPipeline Serial Pipeline Stage Strategy Canary Runtime Config - Optional. Runtime specific configurations for the deployment strategy. The runtime configuration is used to determine how Cloud Deploy will split traffic to enable a progressive deployment.
- canary
Deployment DeliveryPipeline Serial Pipeline Stage Strategy Canary Canary Deployment - Configures the progressive based deployment for a Target.
- custom
Canary DeliveryDeployment Pipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment - Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments.
- runtime
Config DeliveryPipeline Serial Pipeline Stage Strategy Canary Runtime Config - Optional. Runtime specific configurations for the deployment strategy. The runtime configuration is used to determine how Cloud Deploy will split traffic to enable a progressive deployment.
- canary_
deployment DeliveryPipeline Serial Pipeline Stage Strategy Canary Canary Deployment - Configures the progressive based deployment for a Target.
- custom_
canary_ Deliverydeployment Pipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment - Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments.
- runtime_
config DeliveryPipeline Serial Pipeline Stage Strategy Canary Runtime Config - Optional. Runtime specific configurations for the deployment strategy. The runtime configuration is used to determine how Cloud Deploy will split traffic to enable a progressive deployment.
- canary
Deployment Property Map - Configures the progressive based deployment for a Target.
- custom
Canary Property MapDeployment - Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments.
- runtime
Config Property Map - Optional. Runtime specific configurations for the deployment strategy. The runtime configuration is used to determine how Cloud Deploy will split traffic to enable a progressive deployment.
DeliveryPipelineSerialPipelineStageStrategyCanaryCanaryDeployment, DeliveryPipelineSerialPipelineStageStrategyCanaryCanaryDeploymentArgs
- Percentages List<int>
- Required. The percentage based deployments that will occur as a part of a
Rollout
. List is expected in ascending order and each integer n is 0 <= n < 100. - Postdeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Canary Deployment Postdeploy - Optional. Configuration for the postdeploy job of the last phase. If this is not configured, postdeploy job will not be present.
- Predeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Canary Deployment Predeploy - Optional. Configuration for the predeploy job of the first phase. If this is not configured, predeploy job will not be present.
- Verify bool
- Whether to run verify tests after each percentage deployment.
- Percentages []int
- Required. The percentage based deployments that will occur as a part of a
Rollout
. List is expected in ascending order and each integer n is 0 <= n < 100. - Postdeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Canary Deployment Postdeploy - Optional. Configuration for the postdeploy job of the last phase. If this is not configured, postdeploy job will not be present.
- Predeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Canary Deployment Predeploy - Optional. Configuration for the predeploy job of the first phase. If this is not configured, predeploy job will not be present.
- Verify bool
- Whether to run verify tests after each percentage deployment.
- percentages List<Integer>
- Required. The percentage based deployments that will occur as a part of a
Rollout
. List is expected in ascending order and each integer n is 0 <= n < 100. - postdeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Canary Deployment Postdeploy - Optional. Configuration for the postdeploy job of the last phase. If this is not configured, postdeploy job will not be present.
- predeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Canary Deployment Predeploy - Optional. Configuration for the predeploy job of the first phase. If this is not configured, predeploy job will not be present.
- verify Boolean
- Whether to run verify tests after each percentage deployment.
- percentages number[]
- Required. The percentage based deployments that will occur as a part of a
Rollout
. List is expected in ascending order and each integer n is 0 <= n < 100. - postdeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Canary Deployment Postdeploy - Optional. Configuration for the postdeploy job of the last phase. If this is not configured, postdeploy job will not be present.
- predeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Canary Deployment Predeploy - Optional. Configuration for the predeploy job of the first phase. If this is not configured, predeploy job will not be present.
- verify boolean
- Whether to run verify tests after each percentage deployment.
- percentages Sequence[int]
- Required. The percentage based deployments that will occur as a part of a
Rollout
. List is expected in ascending order and each integer n is 0 <= n < 100. - postdeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Canary Deployment Postdeploy - Optional. Configuration for the postdeploy job of the last phase. If this is not configured, postdeploy job will not be present.
- predeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Canary Deployment Predeploy - Optional. Configuration for the predeploy job of the first phase. If this is not configured, predeploy job will not be present.
- verify bool
- Whether to run verify tests after each percentage deployment.
- percentages List<Number>
- Required. The percentage based deployments that will occur as a part of a
Rollout
. List is expected in ascending order and each integer n is 0 <= n < 100. - postdeploy Property Map
- Optional. Configuration for the postdeploy job of the last phase. If this is not configured, postdeploy job will not be present.
- predeploy Property Map
- Optional. Configuration for the predeploy job of the first phase. If this is not configured, predeploy job will not be present.
- verify Boolean
- Whether to run verify tests after each percentage deployment.
DeliveryPipelineSerialPipelineStageStrategyCanaryCanaryDeploymentPostdeploy, DeliveryPipelineSerialPipelineStageStrategyCanaryCanaryDeploymentPostdeployArgs
- Actions List<string>
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
- Actions []string
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
- actions List<String>
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
- actions string[]
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
- actions Sequence[str]
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
- actions List<String>
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
DeliveryPipelineSerialPipelineStageStrategyCanaryCanaryDeploymentPredeploy, DeliveryPipelineSerialPipelineStageStrategyCanaryCanaryDeploymentPredeployArgs
- Actions List<string>
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
- Actions []string
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
- actions List<String>
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
- actions string[]
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
- actions Sequence[str]
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
- actions List<String>
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeployment, DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentArgs
- Phase
Configs List<DeliveryPipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment Phase Config> - Required. Configuration for each phase in the canary deployment in the order executed.
- Phase
Configs []DeliveryPipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment Phase Config - Required. Configuration for each phase in the canary deployment in the order executed.
- phase
Configs List<DeliveryPipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment Phase Config> - Required. Configuration for each phase in the canary deployment in the order executed.
- phase
Configs DeliveryPipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment Phase Config[] - Required. Configuration for each phase in the canary deployment in the order executed.
- phase_
configs Sequence[DeliveryPipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment Phase Config] - Required. Configuration for each phase in the canary deployment in the order executed.
- phase
Configs List<Property Map> - Required. Configuration for each phase in the canary deployment in the order executed.
DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfig, DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigArgs
- Percentage int
- Required. Percentage deployment for the phase.
- Phase
Id string - Required. The ID to assign to the
Rollout
phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^a-z?$
. - Postdeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment Phase Config Postdeploy - Optional. Configuration for the postdeploy job of this phase. If this is not configured, postdeploy job will not be present for this phase.
- Predeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment Phase Config Predeploy - Optional. Configuration for the predeploy job of this phase. If this is not configured, predeploy job will not be present for this phase.
- Profiles List<string>
- Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the
DeliveryPipeline
stage. - Verify bool
- Whether to run verify tests after the deployment.
- Percentage int
- Required. Percentage deployment for the phase.
- Phase
Id string - Required. The ID to assign to the
Rollout
phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^a-z?$
. - Postdeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment Phase Config Postdeploy - Optional. Configuration for the postdeploy job of this phase. If this is not configured, postdeploy job will not be present for this phase.
- Predeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment Phase Config Predeploy - Optional. Configuration for the predeploy job of this phase. If this is not configured, predeploy job will not be present for this phase.
- Profiles []string
- Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the
DeliveryPipeline
stage. - Verify bool
- Whether to run verify tests after the deployment.
- percentage Integer
- Required. Percentage deployment for the phase.
- phase
Id String - Required. The ID to assign to the
Rollout
phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^a-z?$
. - postdeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment Phase Config Postdeploy - Optional. Configuration for the postdeploy job of this phase. If this is not configured, postdeploy job will not be present for this phase.
- predeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment Phase Config Predeploy - Optional. Configuration for the predeploy job of this phase. If this is not configured, predeploy job will not be present for this phase.
- profiles List<String>
- Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the
DeliveryPipeline
stage. - verify Boolean
- Whether to run verify tests after the deployment.
- percentage number
- Required. Percentage deployment for the phase.
- phase
Id string - Required. The ID to assign to the
Rollout
phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^a-z?$
. - postdeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment Phase Config Postdeploy - Optional. Configuration for the postdeploy job of this phase. If this is not configured, postdeploy job will not be present for this phase.
- predeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment Phase Config Predeploy - Optional. Configuration for the predeploy job of this phase. If this is not configured, predeploy job will not be present for this phase.
- profiles string[]
- Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the
DeliveryPipeline
stage. - verify boolean
- Whether to run verify tests after the deployment.
- percentage int
- Required. Percentage deployment for the phase.
- phase_
id str - Required. The ID to assign to the
Rollout
phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^a-z?$
. - postdeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment Phase Config Postdeploy - Optional. Configuration for the postdeploy job of this phase. If this is not configured, postdeploy job will not be present for this phase.
- predeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Custom Canary Deployment Phase Config Predeploy - Optional. Configuration for the predeploy job of this phase. If this is not configured, predeploy job will not be present for this phase.
- profiles Sequence[str]
- Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the
DeliveryPipeline
stage. - verify bool
- Whether to run verify tests after the deployment.
- percentage Number
- Required. Percentage deployment for the phase.
- phase
Id String - Required. The ID to assign to the
Rollout
phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^a-z?$
. - postdeploy Property Map
- Optional. Configuration for the postdeploy job of this phase. If this is not configured, postdeploy job will not be present for this phase.
- predeploy Property Map
- Optional. Configuration for the predeploy job of this phase. If this is not configured, predeploy job will not be present for this phase.
- profiles List<String>
- Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the
DeliveryPipeline
stage. - verify Boolean
- Whether to run verify tests after the deployment.
DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigPostdeploy, DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigPostdeployArgs
- Actions List<string>
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
- Actions []string
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
- actions List<String>
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
- actions string[]
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
- actions Sequence[str]
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
- actions List<String>
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigPredeploy, DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigPredeployArgs
- Actions List<string>
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
- Actions []string
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
- actions List<String>
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
- actions string[]
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
- actions Sequence[str]
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
- actions List<String>
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfig, DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigArgs
- Cloud
Run DeliveryPipeline Serial Pipeline Stage Strategy Canary Runtime Config Cloud Run - Cloud Run runtime configuration.
- Kubernetes
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Runtime Config Kubernetes - Kubernetes runtime configuration.
- Cloud
Run DeliveryPipeline Serial Pipeline Stage Strategy Canary Runtime Config Cloud Run - Cloud Run runtime configuration.
- Kubernetes
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Runtime Config Kubernetes - Kubernetes runtime configuration.
- cloud
Run DeliveryPipeline Serial Pipeline Stage Strategy Canary Runtime Config Cloud Run - Cloud Run runtime configuration.
- kubernetes
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Runtime Config Kubernetes - Kubernetes runtime configuration.
- cloud
Run DeliveryPipeline Serial Pipeline Stage Strategy Canary Runtime Config Cloud Run - Cloud Run runtime configuration.
- kubernetes
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Runtime Config Kubernetes - Kubernetes runtime configuration.
- cloud_
run DeliveryPipeline Serial Pipeline Stage Strategy Canary Runtime Config Cloud Run - Cloud Run runtime configuration.
- kubernetes
Delivery
Pipeline Serial Pipeline Stage Strategy Canary Runtime Config Kubernetes - Kubernetes runtime configuration.
- cloud
Run Property Map - Cloud Run runtime configuration.
- kubernetes Property Map
- Kubernetes runtime configuration.
DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigCloudRun, DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigCloudRunArgs
- Automatic
Traffic boolControl - Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments.
- List<string>
- Optional. A list of tags that are added to the canary revision while the canary phase is in progress.
- List<string>
- Optional. A list of tags that are added to the prior revision while the canary phase is in progress.
- List<string>
- Optional. A list of tags that are added to the final stable revision when the stable phase is applied.
- Automatic
Traffic boolControl - Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments.
- []string
- Optional. A list of tags that are added to the canary revision while the canary phase is in progress.
- []string
- Optional. A list of tags that are added to the prior revision while the canary phase is in progress.
- []string
- Optional. A list of tags that are added to the final stable revision when the stable phase is applied.
- automatic
Traffic BooleanControl - Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments.
- List<String>
- Optional. A list of tags that are added to the canary revision while the canary phase is in progress.
- List<String>
- Optional. A list of tags that are added to the prior revision while the canary phase is in progress.
- List<String>
- Optional. A list of tags that are added to the final stable revision when the stable phase is applied.
- automatic
Traffic booleanControl - Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments.
- string[]
- Optional. A list of tags that are added to the canary revision while the canary phase is in progress.
- string[]
- Optional. A list of tags that are added to the prior revision while the canary phase is in progress.
- string[]
- Optional. A list of tags that are added to the final stable revision when the stable phase is applied.
- automatic_
traffic_ boolcontrol - Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments.
- Sequence[str]
- Optional. A list of tags that are added to the canary revision while the canary phase is in progress.
- Sequence[str]
- Optional. A list of tags that are added to the prior revision while the canary phase is in progress.
- Sequence[str]
- Optional. A list of tags that are added to the final stable revision when the stable phase is applied.
- automatic
Traffic BooleanControl - Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments.
- List<String>
- Optional. A list of tags that are added to the canary revision while the canary phase is in progress.
- List<String>
- Optional. A list of tags that are added to the prior revision while the canary phase is in progress.
- List<String>
- Optional. A list of tags that are added to the final stable revision when the stable phase is applied.
DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigKubernetes, DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigKubernetesArgs
- Gateway
Service DeliveryMesh Pipeline Serial Pipeline Stage Strategy Canary Runtime Config Kubernetes Gateway Service Mesh - Kubernetes Gateway API service mesh configuration.
- Service
Networking DeliveryPipeline Serial Pipeline Stage Strategy Canary Runtime Config Kubernetes Service Networking - Kubernetes Service networking configuration.
- Gateway
Service DeliveryMesh Pipeline Serial Pipeline Stage Strategy Canary Runtime Config Kubernetes Gateway Service Mesh - Kubernetes Gateway API service mesh configuration.
- Service
Networking DeliveryPipeline Serial Pipeline Stage Strategy Canary Runtime Config Kubernetes Service Networking - Kubernetes Service networking configuration.
- gateway
Service DeliveryMesh Pipeline Serial Pipeline Stage Strategy Canary Runtime Config Kubernetes Gateway Service Mesh - Kubernetes Gateway API service mesh configuration.
- service
Networking DeliveryPipeline Serial Pipeline Stage Strategy Canary Runtime Config Kubernetes Service Networking - Kubernetes Service networking configuration.
- gateway
Service DeliveryMesh Pipeline Serial Pipeline Stage Strategy Canary Runtime Config Kubernetes Gateway Service Mesh - Kubernetes Gateway API service mesh configuration.
- service
Networking DeliveryPipeline Serial Pipeline Stage Strategy Canary Runtime Config Kubernetes Service Networking - Kubernetes Service networking configuration.
- gateway_
service_ Deliverymesh Pipeline Serial Pipeline Stage Strategy Canary Runtime Config Kubernetes Gateway Service Mesh - Kubernetes Gateway API service mesh configuration.
- service_
networking DeliveryPipeline Serial Pipeline Stage Strategy Canary Runtime Config Kubernetes Service Networking - Kubernetes Service networking configuration.
- gateway
Service Property MapMesh - Kubernetes Gateway API service mesh configuration.
- service
Networking Property Map - Kubernetes Service networking configuration.
DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigKubernetesGatewayServiceMesh, DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshArgs
- Deployment string
- Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.
- Http
Route string - Required. Name of the Gateway API HTTPRoute.
- Service string
- Required. Name of the Kubernetes Service.
- Pod
Selector stringLabel - Optional. The label to use when selecting Pods for the Deployment and Service resources. This label must already be present in both resources.
- Route
Update stringWait Time - Optional. The time to wait for route updates to propagate. The maximum configurable time is 3 hours, in seconds format. If unspecified, there is no wait time.
- Stable
Cutback stringDuration - Optional. The amount of time to migrate traffic back from the canary Service to the original Service during the stable phase deployment. If specified, must be between 15s and 3600s. If unspecified, there is no cutback time.
- Deployment string
- Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.
- Http
Route string - Required. Name of the Gateway API HTTPRoute.
- Service string
- Required. Name of the Kubernetes Service.
- Pod
Selector stringLabel - Optional. The label to use when selecting Pods for the Deployment and Service resources. This label must already be present in both resources.
- Route
Update stringWait Time - Optional. The time to wait for route updates to propagate. The maximum configurable time is 3 hours, in seconds format. If unspecified, there is no wait time.
- Stable
Cutback stringDuration - Optional. The amount of time to migrate traffic back from the canary Service to the original Service during the stable phase deployment. If specified, must be between 15s and 3600s. If unspecified, there is no cutback time.
- deployment String
- Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.
- http
Route String - Required. Name of the Gateway API HTTPRoute.
- service String
- Required. Name of the Kubernetes Service.
- pod
Selector StringLabel - Optional. The label to use when selecting Pods for the Deployment and Service resources. This label must already be present in both resources.
- route
Update StringWait Time - Optional. The time to wait for route updates to propagate. The maximum configurable time is 3 hours, in seconds format. If unspecified, there is no wait time.
- stable
Cutback StringDuration - Optional. The amount of time to migrate traffic back from the canary Service to the original Service during the stable phase deployment. If specified, must be between 15s and 3600s. If unspecified, there is no cutback time.
- deployment string
- Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.
- http
Route string - Required. Name of the Gateway API HTTPRoute.
- service string
- Required. Name of the Kubernetes Service.
- pod
Selector stringLabel - Optional. The label to use when selecting Pods for the Deployment and Service resources. This label must already be present in both resources.
- route
Update stringWait Time - Optional. The time to wait for route updates to propagate. The maximum configurable time is 3 hours, in seconds format. If unspecified, there is no wait time.
- stable
Cutback stringDuration - Optional. The amount of time to migrate traffic back from the canary Service to the original Service during the stable phase deployment. If specified, must be between 15s and 3600s. If unspecified, there is no cutback time.
- deployment str
- Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.
- http_
route str - Required. Name of the Gateway API HTTPRoute.
- service str
- Required. Name of the Kubernetes Service.
- pod_
selector_ strlabel - Optional. The label to use when selecting Pods for the Deployment and Service resources. This label must already be present in both resources.
- route_
update_ strwait_ time - Optional. The time to wait for route updates to propagate. The maximum configurable time is 3 hours, in seconds format. If unspecified, there is no wait time.
- stable_
cutback_ strduration - Optional. The amount of time to migrate traffic back from the canary Service to the original Service during the stable phase deployment. If specified, must be between 15s and 3600s. If unspecified, there is no cutback time.
- deployment String
- Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.
- http
Route String - Required. Name of the Gateway API HTTPRoute.
- service String
- Required. Name of the Kubernetes Service.
- pod
Selector StringLabel - Optional. The label to use when selecting Pods for the Deployment and Service resources. This label must already be present in both resources.
- route
Update StringWait Time - Optional. The time to wait for route updates to propagate. The maximum configurable time is 3 hours, in seconds format. If unspecified, there is no wait time.
- stable
Cutback StringDuration - Optional. The amount of time to migrate traffic back from the canary Service to the original Service during the stable phase deployment. If specified, must be between 15s and 3600s. If unspecified, there is no cutback time.
DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigKubernetesServiceNetworking, DeliveryPipelineSerialPipelineStageStrategyCanaryRuntimeConfigKubernetesServiceNetworkingArgs
- Deployment string
- Required. Name of the Kubernetes Deployment whose traffic is managed by the specified Service.
- Service string
- Required. Name of the Kubernetes Service.
- Disable
Pod boolOverprovisioning - Optional. Whether to disable Pod overprovisioning. If Pod overprovisioning is disabled then Cloud Deploy will limit the number of total Pods used for the deployment strategy to the number of Pods the Deployment has on the cluster.
- Pod
Selector stringLabel - Optional. The label to use when selecting Pods for the Deployment resource. This label must already be present in the Deployment.
- Deployment string
- Required. Name of the Kubernetes Deployment whose traffic is managed by the specified Service.
- Service string
- Required. Name of the Kubernetes Service.
- Disable
Pod boolOverprovisioning - Optional. Whether to disable Pod overprovisioning. If Pod overprovisioning is disabled then Cloud Deploy will limit the number of total Pods used for the deployment strategy to the number of Pods the Deployment has on the cluster.
- Pod
Selector stringLabel - Optional. The label to use when selecting Pods for the Deployment resource. This label must already be present in the Deployment.
- deployment String
- Required. Name of the Kubernetes Deployment whose traffic is managed by the specified Service.
- service String
- Required. Name of the Kubernetes Service.
- disable
Pod BooleanOverprovisioning - Optional. Whether to disable Pod overprovisioning. If Pod overprovisioning is disabled then Cloud Deploy will limit the number of total Pods used for the deployment strategy to the number of Pods the Deployment has on the cluster.
- pod
Selector StringLabel - Optional. The label to use when selecting Pods for the Deployment resource. This label must already be present in the Deployment.
- deployment string
- Required. Name of the Kubernetes Deployment whose traffic is managed by the specified Service.
- service string
- Required. Name of the Kubernetes Service.
- disable
Pod booleanOverprovisioning - Optional. Whether to disable Pod overprovisioning. If Pod overprovisioning is disabled then Cloud Deploy will limit the number of total Pods used for the deployment strategy to the number of Pods the Deployment has on the cluster.
- pod
Selector stringLabel - Optional. The label to use when selecting Pods for the Deployment resource. This label must already be present in the Deployment.
- deployment str
- Required. Name of the Kubernetes Deployment whose traffic is managed by the specified Service.
- service str
- Required. Name of the Kubernetes Service.
- disable_
pod_ booloverprovisioning - Optional. Whether to disable Pod overprovisioning. If Pod overprovisioning is disabled then Cloud Deploy will limit the number of total Pods used for the deployment strategy to the number of Pods the Deployment has on the cluster.
- pod_
selector_ strlabel - Optional. The label to use when selecting Pods for the Deployment resource. This label must already be present in the Deployment.
- deployment String
- Required. Name of the Kubernetes Deployment whose traffic is managed by the specified Service.
- service String
- Required. Name of the Kubernetes Service.
- disable
Pod BooleanOverprovisioning - Optional. Whether to disable Pod overprovisioning. If Pod overprovisioning is disabled then Cloud Deploy will limit the number of total Pods used for the deployment strategy to the number of Pods the Deployment has on the cluster.
- pod
Selector StringLabel - Optional. The label to use when selecting Pods for the Deployment resource. This label must already be present in the Deployment.
DeliveryPipelineSerialPipelineStageStrategyStandard, DeliveryPipelineSerialPipelineStageStrategyStandardArgs
- Postdeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Standard Postdeploy - Optional. Configuration for the postdeploy job. If this is not configured, postdeploy job will not be present.
- Predeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Standard Predeploy - Optional. Configuration for the predeploy job. If this is not configured, predeploy job will not be present.
- Verify bool
- Whether to verify a deployment.
- Postdeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Standard Postdeploy - Optional. Configuration for the postdeploy job. If this is not configured, postdeploy job will not be present.
- Predeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Standard Predeploy - Optional. Configuration for the predeploy job. If this is not configured, predeploy job will not be present.
- Verify bool
- Whether to verify a deployment.
- postdeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Standard Postdeploy - Optional. Configuration for the postdeploy job. If this is not configured, postdeploy job will not be present.
- predeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Standard Predeploy - Optional. Configuration for the predeploy job. If this is not configured, predeploy job will not be present.
- verify Boolean
- Whether to verify a deployment.
- postdeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Standard Postdeploy - Optional. Configuration for the postdeploy job. If this is not configured, postdeploy job will not be present.
- predeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Standard Predeploy - Optional. Configuration for the predeploy job. If this is not configured, predeploy job will not be present.
- verify boolean
- Whether to verify a deployment.
- postdeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Standard Postdeploy - Optional. Configuration for the postdeploy job. If this is not configured, postdeploy job will not be present.
- predeploy
Delivery
Pipeline Serial Pipeline Stage Strategy Standard Predeploy - Optional. Configuration for the predeploy job. If this is not configured, predeploy job will not be present.
- verify bool
- Whether to verify a deployment.
- postdeploy Property Map
- Optional. Configuration for the postdeploy job. If this is not configured, postdeploy job will not be present.
- predeploy Property Map
- Optional. Configuration for the predeploy job. If this is not configured, predeploy job will not be present.
- verify Boolean
- Whether to verify a deployment.
DeliveryPipelineSerialPipelineStageStrategyStandardPostdeploy, DeliveryPipelineSerialPipelineStageStrategyStandardPostdeployArgs
- Actions List<string>
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
- Actions []string
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
- actions List<String>
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
- actions string[]
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
- actions Sequence[str]
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
- actions List<String>
- Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.
DeliveryPipelineSerialPipelineStageStrategyStandardPredeploy, DeliveryPipelineSerialPipelineStageStrategyStandardPredeployArgs
- Actions List<string>
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
- Actions []string
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
- actions List<String>
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
- actions string[]
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
- actions Sequence[str]
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
- actions List<String>
- Optional. A sequence of skaffold custom actions to invoke during execution of the predeploy job.
Import
DeliveryPipeline can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/deliveryPipelines/{{name}}
{{project}}/{{location}}/{{name}}
{{location}}/{{name}}
When using the pulumi import
command, DeliveryPipeline can be imported using one of the formats above. For example:
$ 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}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.