1. Packages
  2. Google Cloud Native
  3. API Docs
  4. run
  5. run/v2
  6. Service

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.run/v2.Service

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Creates a new Service in a given project and location.

Create Service Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Service(name: string, args: ServiceArgs, opts?: CustomResourceOptions);
@overload
def Service(resource_name: str,
            args: ServiceArgs,
            opts: Optional[ResourceOptions] = None)

@overload
def Service(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            service_id: Optional[str] = None,
            template: Optional[GoogleCloudRunV2RevisionTemplateArgs] = None,
            launch_stage: Optional[ServiceLaunchStage] = None,
            location: Optional[str] = None,
            custom_audiences: Optional[Sequence[str]] = None,
            description: Optional[str] = None,
            ingress: Optional[ServiceIngress] = None,
            labels: Optional[Mapping[str, str]] = None,
            annotations: Optional[Mapping[str, str]] = None,
            client_version: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            scaling: Optional[GoogleCloudRunV2ServiceScalingArgs] = None,
            client: Optional[str] = None,
            binary_authorization: Optional[GoogleCloudRunV2BinaryAuthorizationArgs] = None,
            traffic: Optional[Sequence[GoogleCloudRunV2TrafficTargetArgs]] = None)
func NewService(ctx *Context, name string, args ServiceArgs, opts ...ResourceOption) (*Service, error)
public Service(string name, ServiceArgs args, CustomResourceOptions? opts = null)
public Service(String name, ServiceArgs args)
public Service(String name, ServiceArgs args, CustomResourceOptions options)
type: google-native:run/v2:Service
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ServiceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ServiceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ServiceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ServiceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ServiceArgs
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 exampleserviceResourceResourceFromRunv2 = new GoogleNative.Run.V2.Service("exampleserviceResourceResourceFromRunv2", new()
{
    ServiceId = "string",
    Template = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2RevisionTemplateArgs
    {
        Annotations = 
        {
            { "string", "string" },
        },
        Containers = new[]
        {
            new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2ContainerArgs
            {
                Image = "string",
                Args = new[]
                {
                    "string",
                },
                Command = new[]
                {
                    "string",
                },
                DependsOn = new[]
                {
                    "string",
                },
                Env = new[]
                {
                    new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2EnvVarArgs
                    {
                        Name = "string",
                        Value = "string",
                        ValueSource = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2EnvVarSourceArgs
                        {
                            SecretKeyRef = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2SecretKeySelectorArgs
                            {
                                Secret = "string",
                                Version = "string",
                            },
                        },
                    },
                },
                LivenessProbe = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2ProbeArgs
                {
                    FailureThreshold = 0,
                    Grpc = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2GRPCActionArgs
                    {
                        Port = 0,
                        Service = "string",
                    },
                    HttpGet = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2HTTPGetActionArgs
                    {
                        HttpHeaders = new[]
                        {
                            new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2HTTPHeaderArgs
                            {
                                Name = "string",
                                Value = "string",
                            },
                        },
                        Path = "string",
                        Port = 0,
                    },
                    InitialDelaySeconds = 0,
                    PeriodSeconds = 0,
                    TcpSocket = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2TCPSocketActionArgs
                    {
                        Port = 0,
                    },
                    TimeoutSeconds = 0,
                },
                Name = "string",
                Ports = new[]
                {
                    new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2ContainerPortArgs
                    {
                        ContainerPort = 0,
                        Name = "string",
                    },
                },
                Resources = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2ResourceRequirementsArgs
                {
                    CpuIdle = false,
                    Limits = 
                    {
                        { "string", "string" },
                    },
                    StartupCpuBoost = false,
                },
                StartupProbe = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2ProbeArgs
                {
                    FailureThreshold = 0,
                    Grpc = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2GRPCActionArgs
                    {
                        Port = 0,
                        Service = "string",
                    },
                    HttpGet = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2HTTPGetActionArgs
                    {
                        HttpHeaders = new[]
                        {
                            new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2HTTPHeaderArgs
                            {
                                Name = "string",
                                Value = "string",
                            },
                        },
                        Path = "string",
                        Port = 0,
                    },
                    InitialDelaySeconds = 0,
                    PeriodSeconds = 0,
                    TcpSocket = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2TCPSocketActionArgs
                    {
                        Port = 0,
                    },
                    TimeoutSeconds = 0,
                },
                VolumeMounts = new[]
                {
                    new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2VolumeMountArgs
                    {
                        MountPath = "string",
                        Name = "string",
                    },
                },
                WorkingDir = "string",
            },
        },
        EncryptionKey = "string",
        ExecutionEnvironment = GoogleNative.Run.V2.GoogleCloudRunV2RevisionTemplateExecutionEnvironment.ExecutionEnvironmentUnspecified,
        Labels = 
        {
            { "string", "string" },
        },
        MaxInstanceRequestConcurrency = 0,
        Revision = "string",
        Scaling = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2RevisionScalingArgs
        {
            MaxInstanceCount = 0,
            MinInstanceCount = 0,
        },
        ServiceAccount = "string",
        SessionAffinity = false,
        Timeout = "string",
        Volumes = new[]
        {
            new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2VolumeArgs
            {
                Name = "string",
                CloudSqlInstance = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2CloudSqlInstanceArgs
                {
                    Instances = new[]
                    {
                        "string",
                    },
                },
                EmptyDir = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2EmptyDirVolumeSourceArgs
                {
                    Medium = GoogleNative.Run.V2.GoogleCloudRunV2EmptyDirVolumeSourceMedium.MediumUnspecified,
                    SizeLimit = "string",
                },
                Secret = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2SecretVolumeSourceArgs
                {
                    Secret = "string",
                    DefaultMode = 0,
                    Items = new[]
                    {
                        new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2VersionToPathArgs
                        {
                            Path = "string",
                            Mode = 0,
                            Version = "string",
                        },
                    },
                },
            },
        },
        VpcAccess = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2VpcAccessArgs
        {
            Connector = "string",
            Egress = GoogleNative.Run.V2.GoogleCloudRunV2VpcAccessEgress.VpcEgressUnspecified,
            NetworkInterfaces = new[]
            {
                new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2NetworkInterfaceArgs
                {
                    Network = "string",
                    Subnetwork = "string",
                    Tags = new[]
                    {
                        "string",
                    },
                },
            },
        },
    },
    LaunchStage = GoogleNative.Run.V2.ServiceLaunchStage.LaunchStageUnspecified,
    Location = "string",
    CustomAudiences = new[]
    {
        "string",
    },
    Description = "string",
    Ingress = GoogleNative.Run.V2.ServiceIngress.IngressTrafficUnspecified,
    Labels = 
    {
        { "string", "string" },
    },
    Annotations = 
    {
        { "string", "string" },
    },
    ClientVersion = "string",
    Name = "string",
    Project = "string",
    Scaling = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2ServiceScalingArgs
    {
        MinInstanceCount = 0,
    },
    Client = "string",
    BinaryAuthorization = new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2BinaryAuthorizationArgs
    {
        BreakglassJustification = "string",
        UseDefault = false,
    },
    Traffic = new[]
    {
        new GoogleNative.Run.V2.Inputs.GoogleCloudRunV2TrafficTargetArgs
        {
            Percent = 0,
            Revision = "string",
            Tag = "string",
            Type = GoogleNative.Run.V2.GoogleCloudRunV2TrafficTargetType.TrafficTargetAllocationTypeUnspecified,
        },
    },
});
Copy
example, err := runv2.NewService(ctx, "exampleserviceResourceResourceFromRunv2", &runv2.ServiceArgs{
	ServiceId: pulumi.String("string"),
	Template: &run.GoogleCloudRunV2RevisionTemplateArgs{
		Annotations: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		Containers: run.GoogleCloudRunV2ContainerArray{
			&run.GoogleCloudRunV2ContainerArgs{
				Image: pulumi.String("string"),
				Args: pulumi.StringArray{
					pulumi.String("string"),
				},
				Command: pulumi.StringArray{
					pulumi.String("string"),
				},
				DependsOn: pulumi.StringArray{
					pulumi.String("string"),
				},
				Env: run.GoogleCloudRunV2EnvVarArray{
					&run.GoogleCloudRunV2EnvVarArgs{
						Name:  pulumi.String("string"),
						Value: pulumi.String("string"),
						ValueSource: &run.GoogleCloudRunV2EnvVarSourceArgs{
							SecretKeyRef: &run.GoogleCloudRunV2SecretKeySelectorArgs{
								Secret:  pulumi.String("string"),
								Version: pulumi.String("string"),
							},
						},
					},
				},
				LivenessProbe: &run.GoogleCloudRunV2ProbeArgs{
					FailureThreshold: pulumi.Int(0),
					Grpc: &run.GoogleCloudRunV2GRPCActionArgs{
						Port:    pulumi.Int(0),
						Service: pulumi.String("string"),
					},
					HttpGet: &run.GoogleCloudRunV2HTTPGetActionArgs{
						HttpHeaders: run.GoogleCloudRunV2HTTPHeaderArray{
							&run.GoogleCloudRunV2HTTPHeaderArgs{
								Name:  pulumi.String("string"),
								Value: pulumi.String("string"),
							},
						},
						Path: pulumi.String("string"),
						Port: pulumi.Int(0),
					},
					InitialDelaySeconds: pulumi.Int(0),
					PeriodSeconds:       pulumi.Int(0),
					TcpSocket: &run.GoogleCloudRunV2TCPSocketActionArgs{
						Port: pulumi.Int(0),
					},
					TimeoutSeconds: pulumi.Int(0),
				},
				Name: pulumi.String("string"),
				Ports: run.GoogleCloudRunV2ContainerPortArray{
					&run.GoogleCloudRunV2ContainerPortArgs{
						ContainerPort: pulumi.Int(0),
						Name:          pulumi.String("string"),
					},
				},
				Resources: &run.GoogleCloudRunV2ResourceRequirementsArgs{
					CpuIdle: pulumi.Bool(false),
					Limits: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
					StartupCpuBoost: pulumi.Bool(false),
				},
				StartupProbe: &run.GoogleCloudRunV2ProbeArgs{
					FailureThreshold: pulumi.Int(0),
					Grpc: &run.GoogleCloudRunV2GRPCActionArgs{
						Port:    pulumi.Int(0),
						Service: pulumi.String("string"),
					},
					HttpGet: &run.GoogleCloudRunV2HTTPGetActionArgs{
						HttpHeaders: run.GoogleCloudRunV2HTTPHeaderArray{
							&run.GoogleCloudRunV2HTTPHeaderArgs{
								Name:  pulumi.String("string"),
								Value: pulumi.String("string"),
							},
						},
						Path: pulumi.String("string"),
						Port: pulumi.Int(0),
					},
					InitialDelaySeconds: pulumi.Int(0),
					PeriodSeconds:       pulumi.Int(0),
					TcpSocket: &run.GoogleCloudRunV2TCPSocketActionArgs{
						Port: pulumi.Int(0),
					},
					TimeoutSeconds: pulumi.Int(0),
				},
				VolumeMounts: run.GoogleCloudRunV2VolumeMountArray{
					&run.GoogleCloudRunV2VolumeMountArgs{
						MountPath: pulumi.String("string"),
						Name:      pulumi.String("string"),
					},
				},
				WorkingDir: pulumi.String("string"),
			},
		},
		EncryptionKey:        pulumi.String("string"),
		ExecutionEnvironment: runv2.GoogleCloudRunV2RevisionTemplateExecutionEnvironmentExecutionEnvironmentUnspecified,
		Labels: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		MaxInstanceRequestConcurrency: pulumi.Int(0),
		Revision:                      pulumi.String("string"),
		Scaling: &run.GoogleCloudRunV2RevisionScalingArgs{
			MaxInstanceCount: pulumi.Int(0),
			MinInstanceCount: pulumi.Int(0),
		},
		ServiceAccount:  pulumi.String("string"),
		SessionAffinity: pulumi.Bool(false),
		Timeout:         pulumi.String("string"),
		Volumes: run.GoogleCloudRunV2VolumeArray{
			&run.GoogleCloudRunV2VolumeArgs{
				Name: pulumi.String("string"),
				CloudSqlInstance: &run.GoogleCloudRunV2CloudSqlInstanceArgs{
					Instances: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
				EmptyDir: &run.GoogleCloudRunV2EmptyDirVolumeSourceArgs{
					Medium:    runv2.GoogleCloudRunV2EmptyDirVolumeSourceMediumMediumUnspecified,
					SizeLimit: pulumi.String("string"),
				},
				Secret: &run.GoogleCloudRunV2SecretVolumeSourceArgs{
					Secret:      pulumi.String("string"),
					DefaultMode: pulumi.Int(0),
					Items: run.GoogleCloudRunV2VersionToPathArray{
						&run.GoogleCloudRunV2VersionToPathArgs{
							Path:    pulumi.String("string"),
							Mode:    pulumi.Int(0),
							Version: pulumi.String("string"),
						},
					},
				},
			},
		},
		VpcAccess: &run.GoogleCloudRunV2VpcAccessArgs{
			Connector: pulumi.String("string"),
			Egress:    runv2.GoogleCloudRunV2VpcAccessEgressVpcEgressUnspecified,
			NetworkInterfaces: run.GoogleCloudRunV2NetworkInterfaceArray{
				&run.GoogleCloudRunV2NetworkInterfaceArgs{
					Network:    pulumi.String("string"),
					Subnetwork: pulumi.String("string"),
					Tags: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
			},
		},
	},
	LaunchStage: runv2.ServiceLaunchStageLaunchStageUnspecified,
	Location:    pulumi.String("string"),
	CustomAudiences: pulumi.StringArray{
		pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	Ingress:     runv2.ServiceIngressIngressTrafficUnspecified,
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Annotations: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	ClientVersion: pulumi.String("string"),
	Name:          pulumi.String("string"),
	Project:       pulumi.String("string"),
	Scaling: &run.GoogleCloudRunV2ServiceScalingArgs{
		MinInstanceCount: pulumi.Int(0),
	},
	Client: pulumi.String("string"),
	BinaryAuthorization: &run.GoogleCloudRunV2BinaryAuthorizationArgs{
		BreakglassJustification: pulumi.String("string"),
		UseDefault:              pulumi.Bool(false),
	},
	Traffic: run.GoogleCloudRunV2TrafficTargetArray{
		&run.GoogleCloudRunV2TrafficTargetArgs{
			Percent:  pulumi.Int(0),
			Revision: pulumi.String("string"),
			Tag:      pulumi.String("string"),
			Type:     runv2.GoogleCloudRunV2TrafficTargetTypeTrafficTargetAllocationTypeUnspecified,
		},
	},
})
Copy
var exampleserviceResourceResourceFromRunv2 = new Service("exampleserviceResourceResourceFromRunv2", ServiceArgs.builder()
    .serviceId("string")
    .template(GoogleCloudRunV2RevisionTemplateArgs.builder()
        .annotations(Map.of("string", "string"))
        .containers(GoogleCloudRunV2ContainerArgs.builder()
            .image("string")
            .args("string")
            .command("string")
            .dependsOn("string")
            .env(GoogleCloudRunV2EnvVarArgs.builder()
                .name("string")
                .value("string")
                .valueSource(GoogleCloudRunV2EnvVarSourceArgs.builder()
                    .secretKeyRef(GoogleCloudRunV2SecretKeySelectorArgs.builder()
                        .secret("string")
                        .version("string")
                        .build())
                    .build())
                .build())
            .livenessProbe(GoogleCloudRunV2ProbeArgs.builder()
                .failureThreshold(0)
                .grpc(GoogleCloudRunV2GRPCActionArgs.builder()
                    .port(0)
                    .service("string")
                    .build())
                .httpGet(GoogleCloudRunV2HTTPGetActionArgs.builder()
                    .httpHeaders(GoogleCloudRunV2HTTPHeaderArgs.builder()
                        .name("string")
                        .value("string")
                        .build())
                    .path("string")
                    .port(0)
                    .build())
                .initialDelaySeconds(0)
                .periodSeconds(0)
                .tcpSocket(GoogleCloudRunV2TCPSocketActionArgs.builder()
                    .port(0)
                    .build())
                .timeoutSeconds(0)
                .build())
            .name("string")
            .ports(GoogleCloudRunV2ContainerPortArgs.builder()
                .containerPort(0)
                .name("string")
                .build())
            .resources(GoogleCloudRunV2ResourceRequirementsArgs.builder()
                .cpuIdle(false)
                .limits(Map.of("string", "string"))
                .startupCpuBoost(false)
                .build())
            .startupProbe(GoogleCloudRunV2ProbeArgs.builder()
                .failureThreshold(0)
                .grpc(GoogleCloudRunV2GRPCActionArgs.builder()
                    .port(0)
                    .service("string")
                    .build())
                .httpGet(GoogleCloudRunV2HTTPGetActionArgs.builder()
                    .httpHeaders(GoogleCloudRunV2HTTPHeaderArgs.builder()
                        .name("string")
                        .value("string")
                        .build())
                    .path("string")
                    .port(0)
                    .build())
                .initialDelaySeconds(0)
                .periodSeconds(0)
                .tcpSocket(GoogleCloudRunV2TCPSocketActionArgs.builder()
                    .port(0)
                    .build())
                .timeoutSeconds(0)
                .build())
            .volumeMounts(GoogleCloudRunV2VolumeMountArgs.builder()
                .mountPath("string")
                .name("string")
                .build())
            .workingDir("string")
            .build())
        .encryptionKey("string")
        .executionEnvironment("EXECUTION_ENVIRONMENT_UNSPECIFIED")
        .labels(Map.of("string", "string"))
        .maxInstanceRequestConcurrency(0)
        .revision("string")
        .scaling(GoogleCloudRunV2RevisionScalingArgs.builder()
            .maxInstanceCount(0)
            .minInstanceCount(0)
            .build())
        .serviceAccount("string")
        .sessionAffinity(false)
        .timeout("string")
        .volumes(GoogleCloudRunV2VolumeArgs.builder()
            .name("string")
            .cloudSqlInstance(GoogleCloudRunV2CloudSqlInstanceArgs.builder()
                .instances("string")
                .build())
            .emptyDir(GoogleCloudRunV2EmptyDirVolumeSourceArgs.builder()
                .medium("MEDIUM_UNSPECIFIED")
                .sizeLimit("string")
                .build())
            .secret(GoogleCloudRunV2SecretVolumeSourceArgs.builder()
                .secret("string")
                .defaultMode(0)
                .items(GoogleCloudRunV2VersionToPathArgs.builder()
                    .path("string")
                    .mode(0)
                    .version("string")
                    .build())
                .build())
            .build())
        .vpcAccess(GoogleCloudRunV2VpcAccessArgs.builder()
            .connector("string")
            .egress("VPC_EGRESS_UNSPECIFIED")
            .networkInterfaces(GoogleCloudRunV2NetworkInterfaceArgs.builder()
                .network("string")
                .subnetwork("string")
                .tags("string")
                .build())
            .build())
        .build())
    .launchStage("LAUNCH_STAGE_UNSPECIFIED")
    .location("string")
    .customAudiences("string")
    .description("string")
    .ingress("INGRESS_TRAFFIC_UNSPECIFIED")
    .labels(Map.of("string", "string"))
    .annotations(Map.of("string", "string"))
    .clientVersion("string")
    .name("string")
    .project("string")
    .scaling(GoogleCloudRunV2ServiceScalingArgs.builder()
        .minInstanceCount(0)
        .build())
    .client("string")
    .binaryAuthorization(GoogleCloudRunV2BinaryAuthorizationArgs.builder()
        .breakglassJustification("string")
        .useDefault(false)
        .build())
    .traffic(GoogleCloudRunV2TrafficTargetArgs.builder()
        .percent(0)
        .revision("string")
        .tag("string")
        .type("TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED")
        .build())
    .build());
Copy
exampleservice_resource_resource_from_runv2 = google_native.run.v2.Service("exampleserviceResourceResourceFromRunv2",
    service_id="string",
    template={
        "annotations": {
            "string": "string",
        },
        "containers": [{
            "image": "string",
            "args": ["string"],
            "command": ["string"],
            "depends_on": ["string"],
            "env": [{
                "name": "string",
                "value": "string",
                "value_source": {
                    "secret_key_ref": {
                        "secret": "string",
                        "version": "string",
                    },
                },
            }],
            "liveness_probe": {
                "failure_threshold": 0,
                "grpc": {
                    "port": 0,
                    "service": "string",
                },
                "http_get": {
                    "http_headers": [{
                        "name": "string",
                        "value": "string",
                    }],
                    "path": "string",
                    "port": 0,
                },
                "initial_delay_seconds": 0,
                "period_seconds": 0,
                "tcp_socket": {
                    "port": 0,
                },
                "timeout_seconds": 0,
            },
            "name": "string",
            "ports": [{
                "container_port": 0,
                "name": "string",
            }],
            "resources": {
                "cpu_idle": False,
                "limits": {
                    "string": "string",
                },
                "startup_cpu_boost": False,
            },
            "startup_probe": {
                "failure_threshold": 0,
                "grpc": {
                    "port": 0,
                    "service": "string",
                },
                "http_get": {
                    "http_headers": [{
                        "name": "string",
                        "value": "string",
                    }],
                    "path": "string",
                    "port": 0,
                },
                "initial_delay_seconds": 0,
                "period_seconds": 0,
                "tcp_socket": {
                    "port": 0,
                },
                "timeout_seconds": 0,
            },
            "volume_mounts": [{
                "mount_path": "string",
                "name": "string",
            }],
            "working_dir": "string",
        }],
        "encryption_key": "string",
        "execution_environment": google_native.run.v2.GoogleCloudRunV2RevisionTemplateExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED,
        "labels": {
            "string": "string",
        },
        "max_instance_request_concurrency": 0,
        "revision": "string",
        "scaling": {
            "max_instance_count": 0,
            "min_instance_count": 0,
        },
        "service_account": "string",
        "session_affinity": False,
        "timeout": "string",
        "volumes": [{
            "name": "string",
            "cloud_sql_instance": {
                "instances": ["string"],
            },
            "empty_dir": {
                "medium": google_native.run.v2.GoogleCloudRunV2EmptyDirVolumeSourceMedium.MEDIUM_UNSPECIFIED,
                "size_limit": "string",
            },
            "secret": {
                "secret": "string",
                "default_mode": 0,
                "items": [{
                    "path": "string",
                    "mode": 0,
                    "version": "string",
                }],
            },
        }],
        "vpc_access": {
            "connector": "string",
            "egress": google_native.run.v2.GoogleCloudRunV2VpcAccessEgress.VPC_EGRESS_UNSPECIFIED,
            "network_interfaces": [{
                "network": "string",
                "subnetwork": "string",
                "tags": ["string"],
            }],
        },
    },
    launch_stage=google_native.run.v2.ServiceLaunchStage.LAUNCH_STAGE_UNSPECIFIED,
    location="string",
    custom_audiences=["string"],
    description="string",
    ingress=google_native.run.v2.ServiceIngress.INGRESS_TRAFFIC_UNSPECIFIED,
    labels={
        "string": "string",
    },
    annotations={
        "string": "string",
    },
    client_version="string",
    name="string",
    project="string",
    scaling={
        "min_instance_count": 0,
    },
    client="string",
    binary_authorization={
        "breakglass_justification": "string",
        "use_default": False,
    },
    traffic=[{
        "percent": 0,
        "revision": "string",
        "tag": "string",
        "type": google_native.run.v2.GoogleCloudRunV2TrafficTargetType.TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED,
    }])
Copy
const exampleserviceResourceResourceFromRunv2 = new google_native.run.v2.Service("exampleserviceResourceResourceFromRunv2", {
    serviceId: "string",
    template: {
        annotations: {
            string: "string",
        },
        containers: [{
            image: "string",
            args: ["string"],
            command: ["string"],
            dependsOn: ["string"],
            env: [{
                name: "string",
                value: "string",
                valueSource: {
                    secretKeyRef: {
                        secret: "string",
                        version: "string",
                    },
                },
            }],
            livenessProbe: {
                failureThreshold: 0,
                grpc: {
                    port: 0,
                    service: "string",
                },
                httpGet: {
                    httpHeaders: [{
                        name: "string",
                        value: "string",
                    }],
                    path: "string",
                    port: 0,
                },
                initialDelaySeconds: 0,
                periodSeconds: 0,
                tcpSocket: {
                    port: 0,
                },
                timeoutSeconds: 0,
            },
            name: "string",
            ports: [{
                containerPort: 0,
                name: "string",
            }],
            resources: {
                cpuIdle: false,
                limits: {
                    string: "string",
                },
                startupCpuBoost: false,
            },
            startupProbe: {
                failureThreshold: 0,
                grpc: {
                    port: 0,
                    service: "string",
                },
                httpGet: {
                    httpHeaders: [{
                        name: "string",
                        value: "string",
                    }],
                    path: "string",
                    port: 0,
                },
                initialDelaySeconds: 0,
                periodSeconds: 0,
                tcpSocket: {
                    port: 0,
                },
                timeoutSeconds: 0,
            },
            volumeMounts: [{
                mountPath: "string",
                name: "string",
            }],
            workingDir: "string",
        }],
        encryptionKey: "string",
        executionEnvironment: google_native.run.v2.GoogleCloudRunV2RevisionTemplateExecutionEnvironment.ExecutionEnvironmentUnspecified,
        labels: {
            string: "string",
        },
        maxInstanceRequestConcurrency: 0,
        revision: "string",
        scaling: {
            maxInstanceCount: 0,
            minInstanceCount: 0,
        },
        serviceAccount: "string",
        sessionAffinity: false,
        timeout: "string",
        volumes: [{
            name: "string",
            cloudSqlInstance: {
                instances: ["string"],
            },
            emptyDir: {
                medium: google_native.run.v2.GoogleCloudRunV2EmptyDirVolumeSourceMedium.MediumUnspecified,
                sizeLimit: "string",
            },
            secret: {
                secret: "string",
                defaultMode: 0,
                items: [{
                    path: "string",
                    mode: 0,
                    version: "string",
                }],
            },
        }],
        vpcAccess: {
            connector: "string",
            egress: google_native.run.v2.GoogleCloudRunV2VpcAccessEgress.VpcEgressUnspecified,
            networkInterfaces: [{
                network: "string",
                subnetwork: "string",
                tags: ["string"],
            }],
        },
    },
    launchStage: google_native.run.v2.ServiceLaunchStage.LaunchStageUnspecified,
    location: "string",
    customAudiences: ["string"],
    description: "string",
    ingress: google_native.run.v2.ServiceIngress.IngressTrafficUnspecified,
    labels: {
        string: "string",
    },
    annotations: {
        string: "string",
    },
    clientVersion: "string",
    name: "string",
    project: "string",
    scaling: {
        minInstanceCount: 0,
    },
    client: "string",
    binaryAuthorization: {
        breakglassJustification: "string",
        useDefault: false,
    },
    traffic: [{
        percent: 0,
        revision: "string",
        tag: "string",
        type: google_native.run.v2.GoogleCloudRunV2TrafficTargetType.TrafficTargetAllocationTypeUnspecified,
    }],
});
Copy
type: google-native:run/v2:Service
properties:
    annotations:
        string: string
    binaryAuthorization:
        breakglassJustification: string
        useDefault: false
    client: string
    clientVersion: string
    customAudiences:
        - string
    description: string
    ingress: INGRESS_TRAFFIC_UNSPECIFIED
    labels:
        string: string
    launchStage: LAUNCH_STAGE_UNSPECIFIED
    location: string
    name: string
    project: string
    scaling:
        minInstanceCount: 0
    serviceId: string
    template:
        annotations:
            string: string
        containers:
            - args:
                - string
              command:
                - string
              dependsOn:
                - string
              env:
                - name: string
                  value: string
                  valueSource:
                    secretKeyRef:
                        secret: string
                        version: string
              image: string
              livenessProbe:
                failureThreshold: 0
                grpc:
                    port: 0
                    service: string
                httpGet:
                    httpHeaders:
                        - name: string
                          value: string
                    path: string
                    port: 0
                initialDelaySeconds: 0
                periodSeconds: 0
                tcpSocket:
                    port: 0
                timeoutSeconds: 0
              name: string
              ports:
                - containerPort: 0
                  name: string
              resources:
                cpuIdle: false
                limits:
                    string: string
                startupCpuBoost: false
              startupProbe:
                failureThreshold: 0
                grpc:
                    port: 0
                    service: string
                httpGet:
                    httpHeaders:
                        - name: string
                          value: string
                    path: string
                    port: 0
                initialDelaySeconds: 0
                periodSeconds: 0
                tcpSocket:
                    port: 0
                timeoutSeconds: 0
              volumeMounts:
                - mountPath: string
                  name: string
              workingDir: string
        encryptionKey: string
        executionEnvironment: EXECUTION_ENVIRONMENT_UNSPECIFIED
        labels:
            string: string
        maxInstanceRequestConcurrency: 0
        revision: string
        scaling:
            maxInstanceCount: 0
            minInstanceCount: 0
        serviceAccount: string
        sessionAffinity: false
        timeout: string
        volumes:
            - cloudSqlInstance:
                instances:
                    - string
              emptyDir:
                medium: MEDIUM_UNSPECIFIED
                sizeLimit: string
              name: string
              secret:
                defaultMode: 0
                items:
                    - mode: 0
                      path: string
                      version: string
                secret: string
        vpcAccess:
            connector: string
            egress: VPC_EGRESS_UNSPECIFIED
            networkInterfaces:
                - network: string
                  subnetwork: string
                  tags:
                    - string
    traffic:
        - percent: 0
          revision: string
          tag: string
          type: TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED
Copy

Service Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Service resource accepts the following input properties:

ServiceId
This property is required.
Changes to this property will trigger replacement.
string
Required. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}.
Template This property is required. Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2RevisionTemplate
The template used to create revisions for this Service.
Annotations Dictionary<string, string>
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. This field follows Kubernetes annotations' namespacing, limits, and rules.
BinaryAuthorization Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2BinaryAuthorization
Settings for the Binary Authorization feature.
Client string
Arbitrary identifier for the API client.
ClientVersion string
Arbitrary version identifier for the API client.
CustomAudiences List<string>
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
Description string
User-provided description of the Service. This field currently has a 512-character limit.
Ingress Pulumi.GoogleNative.Run.V2.ServiceIngress
Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
Labels Dictionary<string, string>
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
LaunchStage Pulumi.GoogleNative.Run.V2.ServiceLaunchStage
The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
Location Changes to this property will trigger replacement. string
Name string
The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
Project Changes to this property will trigger replacement. string
Scaling Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2ServiceScaling
Optional. Specifies service-level scaling settings
Traffic List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2TrafficTarget>
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision.
ServiceId
This property is required.
Changes to this property will trigger replacement.
string
Required. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}.
Template This property is required. GoogleCloudRunV2RevisionTemplateArgs
The template used to create revisions for this Service.
Annotations map[string]string
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. This field follows Kubernetes annotations' namespacing, limits, and rules.
BinaryAuthorization GoogleCloudRunV2BinaryAuthorizationArgs
Settings for the Binary Authorization feature.
Client string
Arbitrary identifier for the API client.
ClientVersion string
Arbitrary version identifier for the API client.
CustomAudiences []string
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
Description string
User-provided description of the Service. This field currently has a 512-character limit.
Ingress ServiceIngress
Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
Labels map[string]string
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
LaunchStage ServiceLaunchStage
The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
Location Changes to this property will trigger replacement. string
Name string
The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
Project Changes to this property will trigger replacement. string
Scaling GoogleCloudRunV2ServiceScalingArgs
Optional. Specifies service-level scaling settings
Traffic []GoogleCloudRunV2TrafficTargetArgs
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision.
serviceId
This property is required.
Changes to this property will trigger replacement.
String
Required. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}.
template This property is required. GoogleCloudRunV2RevisionTemplate
The template used to create revisions for this Service.
annotations Map<String,String>
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. This field follows Kubernetes annotations' namespacing, limits, and rules.
binaryAuthorization GoogleCloudRunV2BinaryAuthorization
Settings for the Binary Authorization feature.
client String
Arbitrary identifier for the API client.
clientVersion String
Arbitrary version identifier for the API client.
customAudiences List<String>
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
description String
User-provided description of the Service. This field currently has a 512-character limit.
ingress ServiceIngress
Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
labels Map<String,String>
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
launchStage ServiceLaunchStage
The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
location Changes to this property will trigger replacement. String
name String
The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
project Changes to this property will trigger replacement. String
scaling GoogleCloudRunV2ServiceScaling
Optional. Specifies service-level scaling settings
traffic List<GoogleCloudRunV2TrafficTarget>
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision.
serviceId
This property is required.
Changes to this property will trigger replacement.
string
Required. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}.
template This property is required. GoogleCloudRunV2RevisionTemplate
The template used to create revisions for this Service.
annotations {[key: string]: string}
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. This field follows Kubernetes annotations' namespacing, limits, and rules.
binaryAuthorization GoogleCloudRunV2BinaryAuthorization
Settings for the Binary Authorization feature.
client string
Arbitrary identifier for the API client.
clientVersion string
Arbitrary version identifier for the API client.
customAudiences string[]
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
description string
User-provided description of the Service. This field currently has a 512-character limit.
ingress ServiceIngress
Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
labels {[key: string]: string}
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
launchStage ServiceLaunchStage
The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
location Changes to this property will trigger replacement. string
name string
The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
project Changes to this property will trigger replacement. string
scaling GoogleCloudRunV2ServiceScaling
Optional. Specifies service-level scaling settings
traffic GoogleCloudRunV2TrafficTarget[]
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision.
service_id
This property is required.
Changes to this property will trigger replacement.
str
Required. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}.
template This property is required. GoogleCloudRunV2RevisionTemplateArgs
The template used to create revisions for this Service.
annotations Mapping[str, str]
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. This field follows Kubernetes annotations' namespacing, limits, and rules.
binary_authorization GoogleCloudRunV2BinaryAuthorizationArgs
Settings for the Binary Authorization feature.
client str
Arbitrary identifier for the API client.
client_version str
Arbitrary version identifier for the API client.
custom_audiences Sequence[str]
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
description str
User-provided description of the Service. This field currently has a 512-character limit.
ingress ServiceIngress
Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
labels Mapping[str, str]
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
launch_stage ServiceLaunchStage
The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
location Changes to this property will trigger replacement. str
name str
The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
project Changes to this property will trigger replacement. str
scaling GoogleCloudRunV2ServiceScalingArgs
Optional. Specifies service-level scaling settings
traffic Sequence[GoogleCloudRunV2TrafficTargetArgs]
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision.
serviceId
This property is required.
Changes to this property will trigger replacement.
String
Required. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}.
template This property is required. Property Map
The template used to create revisions for this Service.
annotations Map<String>
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. This field follows Kubernetes annotations' namespacing, limits, and rules.
binaryAuthorization Property Map
Settings for the Binary Authorization feature.
client String
Arbitrary identifier for the API client.
clientVersion String
Arbitrary version identifier for the API client.
customAudiences List<String>
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
description String
User-provided description of the Service. This field currently has a 512-character limit.
ingress "INGRESS_TRAFFIC_UNSPECIFIED" | "INGRESS_TRAFFIC_ALL" | "INGRESS_TRAFFIC_INTERNAL_ONLY" | "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER"
Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
labels Map<String>
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
launchStage "LAUNCH_STAGE_UNSPECIFIED" | "UNIMPLEMENTED" | "PRELAUNCH" | "EARLY_ACCESS" | "ALPHA" | "BETA" | "GA" | "DEPRECATED"
The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
location Changes to this property will trigger replacement. String
name String
The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
project Changes to this property will trigger replacement. String
scaling Property Map
Optional. Specifies service-level scaling settings
traffic List<Property Map>
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision.

Outputs

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

Conditions List<Pulumi.GoogleNative.Run.V2.Outputs.GoogleCloudRunV2ConditionResponse>
The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
CreateTime string
The creation time.
Creator string
Email address of the authenticated creator.
DeleteTime string
The deletion time.
Etag string
A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
ExpireTime string
For a deleted resource, the time after which it will be permamently deleted.
Generation string
A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
Id string
The provider-assigned unique ID for this managed resource.
LastModifier string
Email address of the last authenticated modifier.
LatestCreatedRevision string
Name of the last created revision. See comments in reconciling for additional information on reconciliation process in Cloud Run.
LatestReadyRevision string
Name of the latest revision that is serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run.
ObservedGeneration string
The generation of this Service currently serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
Reconciling bool
Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, observed_generation, latest_ready_revison, traffic_statuses, and uri will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in terminal_condition.state. If reconciliation succeeded, the following fields will match: traffic and traffic_statuses, observed_generation and generation, latest_ready_revision and latest_created_revision. If reconciliation failed, traffic_statuses, observed_generation, and latest_ready_revision will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in terminal_condition and conditions.
SatisfiesPzs bool
Reserved for future use.
TerminalCondition Pulumi.GoogleNative.Run.V2.Outputs.GoogleCloudRunV2ConditionResponse
The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
TrafficStatuses List<Pulumi.GoogleNative.Run.V2.Outputs.GoogleCloudRunV2TrafficTargetStatusResponse>
Detailed status information for corresponding traffic targets. See comments in reconciling for additional information on reconciliation process in Cloud Run.
Uid string
Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
UpdateTime string
The last-modified time.
Uri string
The main URI in which this Service is serving traffic.
Conditions []GoogleCloudRunV2ConditionResponse
The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
CreateTime string
The creation time.
Creator string
Email address of the authenticated creator.
DeleteTime string
The deletion time.
Etag string
A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
ExpireTime string
For a deleted resource, the time after which it will be permamently deleted.
Generation string
A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
Id string
The provider-assigned unique ID for this managed resource.
LastModifier string
Email address of the last authenticated modifier.
LatestCreatedRevision string
Name of the last created revision. See comments in reconciling for additional information on reconciliation process in Cloud Run.
LatestReadyRevision string
Name of the latest revision that is serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run.
ObservedGeneration string
The generation of this Service currently serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
Reconciling bool
Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, observed_generation, latest_ready_revison, traffic_statuses, and uri will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in terminal_condition.state. If reconciliation succeeded, the following fields will match: traffic and traffic_statuses, observed_generation and generation, latest_ready_revision and latest_created_revision. If reconciliation failed, traffic_statuses, observed_generation, and latest_ready_revision will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in terminal_condition and conditions.
SatisfiesPzs bool
Reserved for future use.
TerminalCondition GoogleCloudRunV2ConditionResponse
The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
TrafficStatuses []GoogleCloudRunV2TrafficTargetStatusResponse
Detailed status information for corresponding traffic targets. See comments in reconciling for additional information on reconciliation process in Cloud Run.
Uid string
Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
UpdateTime string
The last-modified time.
Uri string
The main URI in which this Service is serving traffic.
conditions List<GoogleCloudRunV2ConditionResponse>
The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
createTime String
The creation time.
creator String
Email address of the authenticated creator.
deleteTime String
The deletion time.
etag String
A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
expireTime String
For a deleted resource, the time after which it will be permamently deleted.
generation String
A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
id String
The provider-assigned unique ID for this managed resource.
lastModifier String
Email address of the last authenticated modifier.
latestCreatedRevision String
Name of the last created revision. See comments in reconciling for additional information on reconciliation process in Cloud Run.
latestReadyRevision String
Name of the latest revision that is serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run.
observedGeneration String
The generation of this Service currently serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
reconciling Boolean
Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, observed_generation, latest_ready_revison, traffic_statuses, and uri will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in terminal_condition.state. If reconciliation succeeded, the following fields will match: traffic and traffic_statuses, observed_generation and generation, latest_ready_revision and latest_created_revision. If reconciliation failed, traffic_statuses, observed_generation, and latest_ready_revision will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in terminal_condition and conditions.
satisfiesPzs Boolean
Reserved for future use.
terminalCondition GoogleCloudRunV2ConditionResponse
The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
trafficStatuses List<GoogleCloudRunV2TrafficTargetStatusResponse>
Detailed status information for corresponding traffic targets. See comments in reconciling for additional information on reconciliation process in Cloud Run.
uid String
Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
updateTime String
The last-modified time.
uri String
The main URI in which this Service is serving traffic.
conditions GoogleCloudRunV2ConditionResponse[]
The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
createTime string
The creation time.
creator string
Email address of the authenticated creator.
deleteTime string
The deletion time.
etag string
A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
expireTime string
For a deleted resource, the time after which it will be permamently deleted.
generation string
A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
id string
The provider-assigned unique ID for this managed resource.
lastModifier string
Email address of the last authenticated modifier.
latestCreatedRevision string
Name of the last created revision. See comments in reconciling for additional information on reconciliation process in Cloud Run.
latestReadyRevision string
Name of the latest revision that is serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run.
observedGeneration string
The generation of this Service currently serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
reconciling boolean
Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, observed_generation, latest_ready_revison, traffic_statuses, and uri will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in terminal_condition.state. If reconciliation succeeded, the following fields will match: traffic and traffic_statuses, observed_generation and generation, latest_ready_revision and latest_created_revision. If reconciliation failed, traffic_statuses, observed_generation, and latest_ready_revision will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in terminal_condition and conditions.
satisfiesPzs boolean
Reserved for future use.
terminalCondition GoogleCloudRunV2ConditionResponse
The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
trafficStatuses GoogleCloudRunV2TrafficTargetStatusResponse[]
Detailed status information for corresponding traffic targets. See comments in reconciling for additional information on reconciliation process in Cloud Run.
uid string
Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
updateTime string
The last-modified time.
uri string
The main URI in which this Service is serving traffic.
conditions Sequence[GoogleCloudRunV2ConditionResponse]
The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
create_time str
The creation time.
creator str
Email address of the authenticated creator.
delete_time str
The deletion time.
etag str
A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
expire_time str
For a deleted resource, the time after which it will be permamently deleted.
generation str
A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
id str
The provider-assigned unique ID for this managed resource.
last_modifier str
Email address of the last authenticated modifier.
latest_created_revision str
Name of the last created revision. See comments in reconciling for additional information on reconciliation process in Cloud Run.
latest_ready_revision str
Name of the latest revision that is serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run.
observed_generation str
The generation of this Service currently serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
reconciling bool
Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, observed_generation, latest_ready_revison, traffic_statuses, and uri will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in terminal_condition.state. If reconciliation succeeded, the following fields will match: traffic and traffic_statuses, observed_generation and generation, latest_ready_revision and latest_created_revision. If reconciliation failed, traffic_statuses, observed_generation, and latest_ready_revision will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in terminal_condition and conditions.
satisfies_pzs bool
Reserved for future use.
terminal_condition GoogleCloudRunV2ConditionResponse
The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
traffic_statuses Sequence[GoogleCloudRunV2TrafficTargetStatusResponse]
Detailed status information for corresponding traffic targets. See comments in reconciling for additional information on reconciliation process in Cloud Run.
uid str
Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
update_time str
The last-modified time.
uri str
The main URI in which this Service is serving traffic.
conditions List<Property Map>
The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
createTime String
The creation time.
creator String
Email address of the authenticated creator.
deleteTime String
The deletion time.
etag String
A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
expireTime String
For a deleted resource, the time after which it will be permamently deleted.
generation String
A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
id String
The provider-assigned unique ID for this managed resource.
lastModifier String
Email address of the last authenticated modifier.
latestCreatedRevision String
Name of the last created revision. See comments in reconciling for additional information on reconciliation process in Cloud Run.
latestReadyRevision String
Name of the latest revision that is serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run.
observedGeneration String
The generation of this Service currently serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
reconciling Boolean
Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, observed_generation, latest_ready_revison, traffic_statuses, and uri will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in terminal_condition.state. If reconciliation succeeded, the following fields will match: traffic and traffic_statuses, observed_generation and generation, latest_ready_revision and latest_created_revision. If reconciliation failed, traffic_statuses, observed_generation, and latest_ready_revision will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in terminal_condition and conditions.
satisfiesPzs Boolean
Reserved for future use.
terminalCondition Property Map
The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
trafficStatuses List<Property Map>
Detailed status information for corresponding traffic targets. See comments in reconciling for additional information on reconciliation process in Cloud Run.
uid String
Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
updateTime String
The last-modified time.
uri String
The main URI in which this Service is serving traffic.

Supporting Types

GoogleCloudRunV2BinaryAuthorization
, GoogleCloudRunV2BinaryAuthorizationArgs

BreakglassJustification string
If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
UseDefault bool
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
BreakglassJustification string
If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
UseDefault bool
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglassJustification String
If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
useDefault Boolean
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglassJustification string
If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
useDefault boolean
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglass_justification str
If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
use_default bool
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglassJustification String
If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
useDefault Boolean
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.

GoogleCloudRunV2BinaryAuthorizationResponse
, GoogleCloudRunV2BinaryAuthorizationResponseArgs

BreakglassJustification This property is required. string
If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
UseDefault This property is required. bool
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
BreakglassJustification This property is required. string
If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
UseDefault This property is required. bool
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglassJustification This property is required. String
If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
useDefault This property is required. Boolean
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglassJustification This property is required. string
If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
useDefault This property is required. boolean
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglass_justification This property is required. str
If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
use_default This property is required. bool
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglassJustification This property is required. String
If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
useDefault This property is required. Boolean
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.

GoogleCloudRunV2CloudSqlInstance
, GoogleCloudRunV2CloudSqlInstanceArgs

Instances List<string>
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
Instances []string
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
instances List<String>
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
instances string[]
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
instances Sequence[str]
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
instances List<String>
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}

GoogleCloudRunV2CloudSqlInstanceResponse
, GoogleCloudRunV2CloudSqlInstanceResponseArgs

Instances This property is required. List<string>
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
Instances This property is required. []string
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
instances This property is required. List<String>
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
instances This property is required. string[]
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
instances This property is required. Sequence[str]
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
instances This property is required. List<String>
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}

GoogleCloudRunV2ConditionResponse
, GoogleCloudRunV2ConditionResponseArgs

ExecutionReason This property is required. string
A reason for the execution condition.
LastTransitionTime This property is required. string
Last time the condition transitioned from one status to another.
Message This property is required. string
Human readable message indicating details about the current status.
Reason This property is required. string
A common (service-level) reason for this condition.
RevisionReason This property is required. string
A reason for the revision condition.
Severity This property is required. string
How to interpret failures of this condition, one of Error, Warning, Info
State This property is required. string
State of the condition.
Type This property is required. string
type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
ExecutionReason This property is required. string
A reason for the execution condition.
LastTransitionTime This property is required. string
Last time the condition transitioned from one status to another.
Message This property is required. string
Human readable message indicating details about the current status.
Reason This property is required. string
A common (service-level) reason for this condition.
RevisionReason This property is required. string
A reason for the revision condition.
Severity This property is required. string
How to interpret failures of this condition, one of Error, Warning, Info
State This property is required. string
State of the condition.
Type This property is required. string
type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
executionReason This property is required. String
A reason for the execution condition.
lastTransitionTime This property is required. String
Last time the condition transitioned from one status to another.
message This property is required. String
Human readable message indicating details about the current status.
reason This property is required. String
A common (service-level) reason for this condition.
revisionReason This property is required. String
A reason for the revision condition.
severity This property is required. String
How to interpret failures of this condition, one of Error, Warning, Info
state This property is required. String
State of the condition.
type This property is required. String
type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
executionReason This property is required. string
A reason for the execution condition.
lastTransitionTime This property is required. string
Last time the condition transitioned from one status to another.
message This property is required. string
Human readable message indicating details about the current status.
reason This property is required. string
A common (service-level) reason for this condition.
revisionReason This property is required. string
A reason for the revision condition.
severity This property is required. string
How to interpret failures of this condition, one of Error, Warning, Info
state This property is required. string
State of the condition.
type This property is required. string
type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
execution_reason This property is required. str
A reason for the execution condition.
last_transition_time This property is required. str
Last time the condition transitioned from one status to another.
message This property is required. str
Human readable message indicating details about the current status.
reason This property is required. str
A common (service-level) reason for this condition.
revision_reason This property is required. str
A reason for the revision condition.
severity This property is required. str
How to interpret failures of this condition, one of Error, Warning, Info
state This property is required. str
State of the condition.
type This property is required. str
type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
executionReason This property is required. String
A reason for the execution condition.
lastTransitionTime This property is required. String
Last time the condition transitioned from one status to another.
message This property is required. String
Human readable message indicating details about the current status.
reason This property is required. String
A common (service-level) reason for this condition.
revisionReason This property is required. String
A reason for the revision condition.
severity This property is required. String
How to interpret failures of this condition, one of Error, Warning, Info
state This property is required. String
State of the condition.
type This property is required. String
type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.

GoogleCloudRunV2Container
, GoogleCloudRunV2ContainerArgs

Image This property is required. string
Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
Args List<string>
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
Command List<string>
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
DependsOn List<string>
Names of the containers that must start before this container.
Env List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2EnvVar>
List of environment variables to set in the container.
LivenessProbe Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2Probe
Periodic probe of container liveness. Container will be restarted if the probe fails.
Name string
Name of the container specified as a DNS_LABEL (RFC 1123).
Ports List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2ContainerPort>
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
Resources Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2ResourceRequirements
Compute Resource requirements by this container.
StartupProbe Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2Probe
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
VolumeMounts List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2VolumeMount>
Volume to mount into the container's filesystem.
WorkingDir string
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
Image This property is required. string
Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
Args []string
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
Command []string
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
DependsOn []string
Names of the containers that must start before this container.
Env []GoogleCloudRunV2EnvVar
List of environment variables to set in the container.
LivenessProbe GoogleCloudRunV2Probe
Periodic probe of container liveness. Container will be restarted if the probe fails.
Name string
Name of the container specified as a DNS_LABEL (RFC 1123).
Ports []GoogleCloudRunV2ContainerPort
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
Resources GoogleCloudRunV2ResourceRequirements
Compute Resource requirements by this container.
StartupProbe GoogleCloudRunV2Probe
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
VolumeMounts []GoogleCloudRunV2VolumeMount
Volume to mount into the container's filesystem.
WorkingDir string
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
image This property is required. String
Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
args List<String>
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
command List<String>
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
dependsOn List<String>
Names of the containers that must start before this container.
env List<GoogleCloudRunV2EnvVar>
List of environment variables to set in the container.
livenessProbe GoogleCloudRunV2Probe
Periodic probe of container liveness. Container will be restarted if the probe fails.
name String
Name of the container specified as a DNS_LABEL (RFC 1123).
ports List<GoogleCloudRunV2ContainerPort>
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
resources GoogleCloudRunV2ResourceRequirements
Compute Resource requirements by this container.
startupProbe GoogleCloudRunV2Probe
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
volumeMounts List<GoogleCloudRunV2VolumeMount>
Volume to mount into the container's filesystem.
workingDir String
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
image This property is required. string
Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
args string[]
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
command string[]
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
dependsOn string[]
Names of the containers that must start before this container.
env GoogleCloudRunV2EnvVar[]
List of environment variables to set in the container.
livenessProbe GoogleCloudRunV2Probe
Periodic probe of container liveness. Container will be restarted if the probe fails.
name string
Name of the container specified as a DNS_LABEL (RFC 1123).
ports GoogleCloudRunV2ContainerPort[]
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
resources GoogleCloudRunV2ResourceRequirements
Compute Resource requirements by this container.
startupProbe GoogleCloudRunV2Probe
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
volumeMounts GoogleCloudRunV2VolumeMount[]
Volume to mount into the container's filesystem.
workingDir string
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
image This property is required. str
Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
args Sequence[str]
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
command Sequence[str]
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
depends_on Sequence[str]
Names of the containers that must start before this container.
env Sequence[GoogleCloudRunV2EnvVar]
List of environment variables to set in the container.
liveness_probe GoogleCloudRunV2Probe
Periodic probe of container liveness. Container will be restarted if the probe fails.
name str
Name of the container specified as a DNS_LABEL (RFC 1123).
ports Sequence[GoogleCloudRunV2ContainerPort]
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
resources GoogleCloudRunV2ResourceRequirements
Compute Resource requirements by this container.
startup_probe GoogleCloudRunV2Probe
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
volume_mounts Sequence[GoogleCloudRunV2VolumeMount]
Volume to mount into the container's filesystem.
working_dir str
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
image This property is required. String
Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
args List<String>
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
command List<String>
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
dependsOn List<String>
Names of the containers that must start before this container.
env List<Property Map>
List of environment variables to set in the container.
livenessProbe Property Map
Periodic probe of container liveness. Container will be restarted if the probe fails.
name String
Name of the container specified as a DNS_LABEL (RFC 1123).
ports List<Property Map>
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
resources Property Map
Compute Resource requirements by this container.
startupProbe Property Map
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
volumeMounts List<Property Map>
Volume to mount into the container's filesystem.
workingDir String
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.

GoogleCloudRunV2ContainerPort
, GoogleCloudRunV2ContainerPortArgs

ContainerPort int
Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.
Name string
If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
ContainerPort int
Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.
Name string
If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
containerPort Integer
Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.
name String
If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
containerPort number
Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.
name string
If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
container_port int
Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.
name str
If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
containerPort Number
Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.
name String
If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".

GoogleCloudRunV2ContainerPortResponse
, GoogleCloudRunV2ContainerPortResponseArgs

ContainerPort This property is required. int
Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.
Name This property is required. string
If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
ContainerPort This property is required. int
Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.
Name This property is required. string
If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
containerPort This property is required. Integer
Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.
name This property is required. String
If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
containerPort This property is required. number
Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.
name This property is required. string
If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
container_port This property is required. int
Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.
name This property is required. str
If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
containerPort This property is required. Number
Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.
name This property is required. String
If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".

GoogleCloudRunV2ContainerResponse
, GoogleCloudRunV2ContainerResponseArgs

Args This property is required. List<string>
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
Command This property is required. List<string>
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
DependsOn This property is required. List<string>
Names of the containers that must start before this container.
Env This property is required. List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2EnvVarResponse>
List of environment variables to set in the container.
Image This property is required. string
Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
LivenessProbe This property is required. Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2ProbeResponse
Periodic probe of container liveness. Container will be restarted if the probe fails.
Name This property is required. string
Name of the container specified as a DNS_LABEL (RFC 1123).
Ports This property is required. List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2ContainerPortResponse>
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
Resources This property is required. Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2ResourceRequirementsResponse
Compute Resource requirements by this container.
StartupProbe This property is required. Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2ProbeResponse
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
VolumeMounts This property is required. List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2VolumeMountResponse>
Volume to mount into the container's filesystem.
WorkingDir This property is required. string
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
Args This property is required. []string
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
Command This property is required. []string
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
DependsOn This property is required. []string
Names of the containers that must start before this container.
Env This property is required. []GoogleCloudRunV2EnvVarResponse
List of environment variables to set in the container.
Image This property is required. string
Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
LivenessProbe This property is required. GoogleCloudRunV2ProbeResponse
Periodic probe of container liveness. Container will be restarted if the probe fails.
Name This property is required. string
Name of the container specified as a DNS_LABEL (RFC 1123).
Ports This property is required. []GoogleCloudRunV2ContainerPortResponse
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
Resources This property is required. GoogleCloudRunV2ResourceRequirementsResponse
Compute Resource requirements by this container.
StartupProbe This property is required. GoogleCloudRunV2ProbeResponse
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
VolumeMounts This property is required. []GoogleCloudRunV2VolumeMountResponse
Volume to mount into the container's filesystem.
WorkingDir This property is required. string
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
args This property is required. List<String>
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
command This property is required. List<String>
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
dependsOn This property is required. List<String>
Names of the containers that must start before this container.
env This property is required. List<GoogleCloudRunV2EnvVarResponse>
List of environment variables to set in the container.
image This property is required. String
Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
livenessProbe This property is required. GoogleCloudRunV2ProbeResponse
Periodic probe of container liveness. Container will be restarted if the probe fails.
name This property is required. String
Name of the container specified as a DNS_LABEL (RFC 1123).
ports This property is required. List<GoogleCloudRunV2ContainerPortResponse>
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
resources This property is required. GoogleCloudRunV2ResourceRequirementsResponse
Compute Resource requirements by this container.
startupProbe This property is required. GoogleCloudRunV2ProbeResponse
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
volumeMounts This property is required. List<GoogleCloudRunV2VolumeMountResponse>
Volume to mount into the container's filesystem.
workingDir This property is required. String
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
args This property is required. string[]
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
command This property is required. string[]
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
dependsOn This property is required. string[]
Names of the containers that must start before this container.
env This property is required. GoogleCloudRunV2EnvVarResponse[]
List of environment variables to set in the container.
image This property is required. string
Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
livenessProbe This property is required. GoogleCloudRunV2ProbeResponse
Periodic probe of container liveness. Container will be restarted if the probe fails.
name This property is required. string
Name of the container specified as a DNS_LABEL (RFC 1123).
ports This property is required. GoogleCloudRunV2ContainerPortResponse[]
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
resources This property is required. GoogleCloudRunV2ResourceRequirementsResponse
Compute Resource requirements by this container.
startupProbe This property is required. GoogleCloudRunV2ProbeResponse
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
volumeMounts This property is required. GoogleCloudRunV2VolumeMountResponse[]
Volume to mount into the container's filesystem.
workingDir This property is required. string
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
args This property is required. Sequence[str]
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
command This property is required. Sequence[str]
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
depends_on This property is required. Sequence[str]
Names of the containers that must start before this container.
env This property is required. Sequence[GoogleCloudRunV2EnvVarResponse]
List of environment variables to set in the container.
image This property is required. str
Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
liveness_probe This property is required. GoogleCloudRunV2ProbeResponse
Periodic probe of container liveness. Container will be restarted if the probe fails.
name This property is required. str
Name of the container specified as a DNS_LABEL (RFC 1123).
ports This property is required. Sequence[GoogleCloudRunV2ContainerPortResponse]
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
resources This property is required. GoogleCloudRunV2ResourceRequirementsResponse
Compute Resource requirements by this container.
startup_probe This property is required. GoogleCloudRunV2ProbeResponse
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
volume_mounts This property is required. Sequence[GoogleCloudRunV2VolumeMountResponse]
Volume to mount into the container's filesystem.
working_dir This property is required. str
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
args This property is required. List<String>
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
command This property is required. List<String>
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
dependsOn This property is required. List<String>
Names of the containers that must start before this container.
env This property is required. List<Property Map>
List of environment variables to set in the container.
image This property is required. String
Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
livenessProbe This property is required. Property Map
Periodic probe of container liveness. Container will be restarted if the probe fails.
name This property is required. String
Name of the container specified as a DNS_LABEL (RFC 1123).
ports This property is required. List<Property Map>
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
resources This property is required. Property Map
Compute Resource requirements by this container.
startupProbe This property is required. Property Map
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
volumeMounts This property is required. List<Property Map>
Volume to mount into the container's filesystem.
workingDir This property is required. String
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.

GoogleCloudRunV2EmptyDirVolumeSource
, GoogleCloudRunV2EmptyDirVolumeSourceArgs

Medium Pulumi.GoogleNative.Run.V2.GoogleCloudRunV2EmptyDirVolumeSourceMedium
The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional
SizeLimit string
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
Medium GoogleCloudRunV2EmptyDirVolumeSourceMedium
The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional
SizeLimit string
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
medium GoogleCloudRunV2EmptyDirVolumeSourceMedium
The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional
sizeLimit String
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
medium GoogleCloudRunV2EmptyDirVolumeSourceMedium
The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional
sizeLimit string
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
medium GoogleCloudRunV2EmptyDirVolumeSourceMedium
The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional
size_limit str
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
medium "MEDIUM_UNSPECIFIED" | "MEMORY"
The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional
sizeLimit String
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir

GoogleCloudRunV2EmptyDirVolumeSourceMedium
, GoogleCloudRunV2EmptyDirVolumeSourceMediumArgs

MediumUnspecified
MEDIUM_UNSPECIFIEDWhen not specified, falls back to the default implementation which is currently in memory (this may change over time).
Memory
MEMORYExplicitly set the EmptyDir to be in memory. Uses tmpfs.
GoogleCloudRunV2EmptyDirVolumeSourceMediumMediumUnspecified
MEDIUM_UNSPECIFIEDWhen not specified, falls back to the default implementation which is currently in memory (this may change over time).
GoogleCloudRunV2EmptyDirVolumeSourceMediumMemory
MEMORYExplicitly set the EmptyDir to be in memory. Uses tmpfs.
MediumUnspecified
MEDIUM_UNSPECIFIEDWhen not specified, falls back to the default implementation which is currently in memory (this may change over time).
Memory
MEMORYExplicitly set the EmptyDir to be in memory. Uses tmpfs.
MediumUnspecified
MEDIUM_UNSPECIFIEDWhen not specified, falls back to the default implementation which is currently in memory (this may change over time).
Memory
MEMORYExplicitly set the EmptyDir to be in memory. Uses tmpfs.
MEDIUM_UNSPECIFIED
MEDIUM_UNSPECIFIEDWhen not specified, falls back to the default implementation which is currently in memory (this may change over time).
MEMORY
MEMORYExplicitly set the EmptyDir to be in memory. Uses tmpfs.
"MEDIUM_UNSPECIFIED"
MEDIUM_UNSPECIFIEDWhen not specified, falls back to the default implementation which is currently in memory (this may change over time).
"MEMORY"
MEMORYExplicitly set the EmptyDir to be in memory. Uses tmpfs.

GoogleCloudRunV2EmptyDirVolumeSourceResponse
, GoogleCloudRunV2EmptyDirVolumeSourceResponseArgs

Medium This property is required. string
The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional
SizeLimit This property is required. string
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
Medium This property is required. string
The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional
SizeLimit This property is required. string
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
medium This property is required. String
The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional
sizeLimit This property is required. String
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
medium This property is required. string
The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional
sizeLimit This property is required. string
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
medium This property is required. str
The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional
size_limit This property is required. str
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
medium This property is required. String
The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional
sizeLimit This property is required. String
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir

GoogleCloudRunV2EnvVar
, GoogleCloudRunV2EnvVarArgs

Name This property is required. string
Name of the environment variable. Must not exceed 32768 characters.
Value string
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes.
ValueSource Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2EnvVarSource
Source for the environment variable's value.
Name This property is required. string
Name of the environment variable. Must not exceed 32768 characters.
Value string
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes.
ValueSource GoogleCloudRunV2EnvVarSource
Source for the environment variable's value.
name This property is required. String
Name of the environment variable. Must not exceed 32768 characters.
value String
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes.
valueSource GoogleCloudRunV2EnvVarSource
Source for the environment variable's value.
name This property is required. string
Name of the environment variable. Must not exceed 32768 characters.
value string
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes.
valueSource GoogleCloudRunV2EnvVarSource
Source for the environment variable's value.
name This property is required. str
Name of the environment variable. Must not exceed 32768 characters.
value str
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes.
value_source GoogleCloudRunV2EnvVarSource
Source for the environment variable's value.
name This property is required. String
Name of the environment variable. Must not exceed 32768 characters.
value String
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes.
valueSource Property Map
Source for the environment variable's value.

GoogleCloudRunV2EnvVarResponse
, GoogleCloudRunV2EnvVarResponseArgs

Name This property is required. string
Name of the environment variable. Must not exceed 32768 characters.
Value This property is required. string
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes.
ValueSource This property is required. Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2EnvVarSourceResponse
Source for the environment variable's value.
Name This property is required. string
Name of the environment variable. Must not exceed 32768 characters.
Value This property is required. string
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes.
ValueSource This property is required. GoogleCloudRunV2EnvVarSourceResponse
Source for the environment variable's value.
name This property is required. String
Name of the environment variable. Must not exceed 32768 characters.
value This property is required. String
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes.
valueSource This property is required. GoogleCloudRunV2EnvVarSourceResponse
Source for the environment variable's value.
name This property is required. string
Name of the environment variable. Must not exceed 32768 characters.
value This property is required. string
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes.
valueSource This property is required. GoogleCloudRunV2EnvVarSourceResponse
Source for the environment variable's value.
name This property is required. str
Name of the environment variable. Must not exceed 32768 characters.
value This property is required. str
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes.
value_source This property is required. GoogleCloudRunV2EnvVarSourceResponse
Source for the environment variable's value.
name This property is required. String
Name of the environment variable. Must not exceed 32768 characters.
value This property is required. String
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes.
valueSource This property is required. Property Map
Source for the environment variable's value.

GoogleCloudRunV2EnvVarSource
, GoogleCloudRunV2EnvVarSourceArgs

SecretKeyRef Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2SecretKeySelector
Selects a secret and a specific version from Cloud Secret Manager.
SecretKeyRef GoogleCloudRunV2SecretKeySelector
Selects a secret and a specific version from Cloud Secret Manager.
secretKeyRef GoogleCloudRunV2SecretKeySelector
Selects a secret and a specific version from Cloud Secret Manager.
secretKeyRef GoogleCloudRunV2SecretKeySelector
Selects a secret and a specific version from Cloud Secret Manager.
secret_key_ref GoogleCloudRunV2SecretKeySelector
Selects a secret and a specific version from Cloud Secret Manager.
secretKeyRef Property Map
Selects a secret and a specific version from Cloud Secret Manager.

GoogleCloudRunV2EnvVarSourceResponse
, GoogleCloudRunV2EnvVarSourceResponseArgs

SecretKeyRef This property is required. Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2SecretKeySelectorResponse
Selects a secret and a specific version from Cloud Secret Manager.
SecretKeyRef This property is required. GoogleCloudRunV2SecretKeySelectorResponse
Selects a secret and a specific version from Cloud Secret Manager.
secretKeyRef This property is required. GoogleCloudRunV2SecretKeySelectorResponse
Selects a secret and a specific version from Cloud Secret Manager.
secretKeyRef This property is required. GoogleCloudRunV2SecretKeySelectorResponse
Selects a secret and a specific version from Cloud Secret Manager.
secret_key_ref This property is required. GoogleCloudRunV2SecretKeySelectorResponse
Selects a secret and a specific version from Cloud Secret Manager.
secretKeyRef This property is required. Property Map
Selects a secret and a specific version from Cloud Secret Manager.

GoogleCloudRunV2GRPCAction
, GoogleCloudRunV2GRPCActionArgs

Port int
Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
Service string
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC.
Port int
Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
Service string
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC.
port Integer
Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
service String
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC.
port number
Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
service string
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC.
port int
Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
service str
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC.
port Number
Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
service String
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC.

GoogleCloudRunV2GRPCActionResponse
, GoogleCloudRunV2GRPCActionResponseArgs

Port This property is required. int
Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
Service This property is required. string
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC.
Port This property is required. int
Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
Service This property is required. string
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC.
port This property is required. Integer
Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
service This property is required. String
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC.
port This property is required. number
Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
service This property is required. string
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC.
port This property is required. int
Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
service This property is required. str
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC.
port This property is required. Number
Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
service This property is required. String
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC.

GoogleCloudRunV2HTTPGetAction
, GoogleCloudRunV2HTTPGetActionArgs

HttpHeaders List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2HTTPHeader>
Custom headers to set in the request. HTTP allows repeated headers.
Path string
Path to access on the HTTP server. Defaults to '/'.
Port int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
HttpHeaders []GoogleCloudRunV2HTTPHeader
Custom headers to set in the request. HTTP allows repeated headers.
Path string
Path to access on the HTTP server. Defaults to '/'.
Port int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
httpHeaders List<GoogleCloudRunV2HTTPHeader>
Custom headers to set in the request. HTTP allows repeated headers.
path String
Path to access on the HTTP server. Defaults to '/'.
port Integer
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
httpHeaders GoogleCloudRunV2HTTPHeader[]
Custom headers to set in the request. HTTP allows repeated headers.
path string
Path to access on the HTTP server. Defaults to '/'.
port number
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
http_headers Sequence[GoogleCloudRunV2HTTPHeader]
Custom headers to set in the request. HTTP allows repeated headers.
path str
Path to access on the HTTP server. Defaults to '/'.
port int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
httpHeaders List<Property Map>
Custom headers to set in the request. HTTP allows repeated headers.
path String
Path to access on the HTTP server. Defaults to '/'.
port Number
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.

GoogleCloudRunV2HTTPGetActionResponse
, GoogleCloudRunV2HTTPGetActionResponseArgs

HttpHeaders This property is required. List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2HTTPHeaderResponse>
Custom headers to set in the request. HTTP allows repeated headers.
Path This property is required. string
Path to access on the HTTP server. Defaults to '/'.
Port This property is required. int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
HttpHeaders This property is required. []GoogleCloudRunV2HTTPHeaderResponse
Custom headers to set in the request. HTTP allows repeated headers.
Path This property is required. string
Path to access on the HTTP server. Defaults to '/'.
Port This property is required. int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
httpHeaders This property is required. List<GoogleCloudRunV2HTTPHeaderResponse>
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. String
Path to access on the HTTP server. Defaults to '/'.
port This property is required. Integer
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
httpHeaders This property is required. GoogleCloudRunV2HTTPHeaderResponse[]
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. string
Path to access on the HTTP server. Defaults to '/'.
port This property is required. number
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
http_headers This property is required. Sequence[GoogleCloudRunV2HTTPHeaderResponse]
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. str
Path to access on the HTTP server. Defaults to '/'.
port This property is required. int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
httpHeaders This property is required. List<Property Map>
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. String
Path to access on the HTTP server. Defaults to '/'.
port This property is required. Number
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.

GoogleCloudRunV2HTTPHeader
, GoogleCloudRunV2HTTPHeaderArgs

Name This property is required. string
The header field name
Value string
The header field value
Name This property is required. string
The header field name
Value string
The header field value
name This property is required. String
The header field name
value String
The header field value
name This property is required. string
The header field name
value string
The header field value
name This property is required. str
The header field name
value str
The header field value
name This property is required. String
The header field name
value String
The header field value

GoogleCloudRunV2HTTPHeaderResponse
, GoogleCloudRunV2HTTPHeaderResponseArgs

Name This property is required. string
The header field name
Value This property is required. string
The header field value
Name This property is required. string
The header field name
Value This property is required. string
The header field value
name This property is required. String
The header field name
value This property is required. String
The header field value
name This property is required. string
The header field name
value This property is required. string
The header field value
name This property is required. str
The header field name
value This property is required. str
The header field value
name This property is required. String
The header field name
value This property is required. String
The header field value

GoogleCloudRunV2NetworkInterface
, GoogleCloudRunV2NetworkInterfaceArgs

Network string
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
Subnetwork string
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
Tags List<string>
Network tags applied to this Cloud Run resource.
Network string
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
Subnetwork string
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
Tags []string
Network tags applied to this Cloud Run resource.
network String
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
subnetwork String
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
tags List<String>
Network tags applied to this Cloud Run resource.
network string
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
subnetwork string
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
tags string[]
Network tags applied to this Cloud Run resource.
network str
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
subnetwork str
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
tags Sequence[str]
Network tags applied to this Cloud Run resource.
network String
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
subnetwork String
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
tags List<String>
Network tags applied to this Cloud Run resource.

GoogleCloudRunV2NetworkInterfaceResponse
, GoogleCloudRunV2NetworkInterfaceResponseArgs

Network This property is required. string
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
Subnetwork This property is required. string
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
Tags This property is required. List<string>
Network tags applied to this Cloud Run resource.
Network This property is required. string
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
Subnetwork This property is required. string
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
Tags This property is required. []string
Network tags applied to this Cloud Run resource.
network This property is required. String
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
subnetwork This property is required. String
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
tags This property is required. List<String>
Network tags applied to this Cloud Run resource.
network This property is required. string
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
subnetwork This property is required. string
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
tags This property is required. string[]
Network tags applied to this Cloud Run resource.
network This property is required. str
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
subnetwork This property is required. str
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
tags This property is required. Sequence[str]
Network tags applied to this Cloud Run resource.
network This property is required. String
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
subnetwork This property is required. String
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
tags This property is required. List<String>
Network tags applied to this Cloud Run resource.

GoogleCloudRunV2Probe
, GoogleCloudRunV2ProbeArgs

FailureThreshold int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
Grpc Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2GRPCAction
GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
HttpGet Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2HTTPGetAction
HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
InitialDelaySeconds int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
PeriodSeconds int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
TcpSocket Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2TCPSocketAction
TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
TimeoutSeconds int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
FailureThreshold int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
Grpc GoogleCloudRunV2GRPCAction
GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
HttpGet GoogleCloudRunV2HTTPGetAction
HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
InitialDelaySeconds int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
PeriodSeconds int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
TcpSocket GoogleCloudRunV2TCPSocketAction
TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
TimeoutSeconds int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
failureThreshold Integer
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpc GoogleCloudRunV2GRPCAction
GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
httpGet GoogleCloudRunV2HTTPGetAction
HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
initialDelaySeconds Integer
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
periodSeconds Integer
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
tcpSocket GoogleCloudRunV2TCPSocketAction
TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
timeoutSeconds Integer
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
failureThreshold number
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpc GoogleCloudRunV2GRPCAction
GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
httpGet GoogleCloudRunV2HTTPGetAction
HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
initialDelaySeconds number
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
periodSeconds number
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
tcpSocket GoogleCloudRunV2TCPSocketAction
TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
timeoutSeconds number
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
failure_threshold int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpc GoogleCloudRunV2GRPCAction
GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
http_get GoogleCloudRunV2HTTPGetAction
HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
initial_delay_seconds int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
period_seconds int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
tcp_socket GoogleCloudRunV2TCPSocketAction
TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
timeout_seconds int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
failureThreshold Number
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpc Property Map
GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
httpGet Property Map
HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
initialDelaySeconds Number
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
periodSeconds Number
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
tcpSocket Property Map
TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
timeoutSeconds Number
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.

GoogleCloudRunV2ProbeResponse
, GoogleCloudRunV2ProbeResponseArgs

FailureThreshold This property is required. int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
Grpc This property is required. Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2GRPCActionResponse
GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
HttpGet This property is required. Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2HTTPGetActionResponse
HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
InitialDelaySeconds This property is required. int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
PeriodSeconds This property is required. int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
TcpSocket This property is required. Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2TCPSocketActionResponse
TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
TimeoutSeconds This property is required. int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
FailureThreshold This property is required. int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
Grpc This property is required. GoogleCloudRunV2GRPCActionResponse
GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
HttpGet This property is required. GoogleCloudRunV2HTTPGetActionResponse
HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
InitialDelaySeconds This property is required. int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
PeriodSeconds This property is required. int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
TcpSocket This property is required. GoogleCloudRunV2TCPSocketActionResponse
TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
TimeoutSeconds This property is required. int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
failureThreshold This property is required. Integer
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpc This property is required. GoogleCloudRunV2GRPCActionResponse
GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
httpGet This property is required. GoogleCloudRunV2HTTPGetActionResponse
HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
initialDelaySeconds This property is required. Integer
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
periodSeconds This property is required. Integer
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
tcpSocket This property is required. GoogleCloudRunV2TCPSocketActionResponse
TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
timeoutSeconds This property is required. Integer
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
failureThreshold This property is required. number
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpc This property is required. GoogleCloudRunV2GRPCActionResponse
GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
httpGet This property is required. GoogleCloudRunV2HTTPGetActionResponse
HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
initialDelaySeconds This property is required. number
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
periodSeconds This property is required. number
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
tcpSocket This property is required. GoogleCloudRunV2TCPSocketActionResponse
TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
timeoutSeconds This property is required. number
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
failure_threshold This property is required. int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpc This property is required. GoogleCloudRunV2GRPCActionResponse
GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
http_get This property is required. GoogleCloudRunV2HTTPGetActionResponse
HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
initial_delay_seconds This property is required. int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
period_seconds This property is required. int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
tcp_socket This property is required. GoogleCloudRunV2TCPSocketActionResponse
TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
timeout_seconds This property is required. int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
failureThreshold This property is required. Number
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpc This property is required. Property Map
GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
httpGet This property is required. Property Map
HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
initialDelaySeconds This property is required. Number
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
periodSeconds This property is required. Number
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
tcpSocket This property is required. Property Map
TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
timeoutSeconds This property is required. Number
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.

GoogleCloudRunV2ResourceRequirements
, GoogleCloudRunV2ResourceRequirementsArgs

CpuIdle bool
Determines whether CPU should be throttled or not outside of requests.
Limits Dictionary<string, string>
Only ´memory´ and 'cpu' are supported. Notes: * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
StartupCpuBoost bool
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
CpuIdle bool
Determines whether CPU should be throttled or not outside of requests.
Limits map[string]string
Only ´memory´ and 'cpu' are supported. Notes: * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
StartupCpuBoost bool
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
cpuIdle Boolean
Determines whether CPU should be throttled or not outside of requests.
limits Map<String,String>
Only ´memory´ and 'cpu' are supported. Notes: * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
startupCpuBoost Boolean
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
cpuIdle boolean
Determines whether CPU should be throttled or not outside of requests.
limits {[key: string]: string}
Only ´memory´ and 'cpu' are supported. Notes: * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
startupCpuBoost boolean
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
cpu_idle bool
Determines whether CPU should be throttled or not outside of requests.
limits Mapping[str, str]
Only ´memory´ and 'cpu' are supported. Notes: * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
startup_cpu_boost bool
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
cpuIdle Boolean
Determines whether CPU should be throttled or not outside of requests.
limits Map<String>
Only ´memory´ and 'cpu' are supported. Notes: * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
startupCpuBoost Boolean
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.

GoogleCloudRunV2ResourceRequirementsResponse
, GoogleCloudRunV2ResourceRequirementsResponseArgs

CpuIdle This property is required. bool
Determines whether CPU should be throttled or not outside of requests.
Limits This property is required. Dictionary<string, string>
Only ´memory´ and 'cpu' are supported. Notes: * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
StartupCpuBoost This property is required. bool
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
CpuIdle This property is required. bool
Determines whether CPU should be throttled or not outside of requests.
Limits This property is required. map[string]string
Only ´memory´ and 'cpu' are supported. Notes: * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
StartupCpuBoost This property is required. bool
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
cpuIdle This property is required. Boolean
Determines whether CPU should be throttled or not outside of requests.
limits This property is required. Map<String,String>
Only ´memory´ and 'cpu' are supported. Notes: * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
startupCpuBoost This property is required. Boolean
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
cpuIdle This property is required. boolean
Determines whether CPU should be throttled or not outside of requests.
limits This property is required. {[key: string]: string}
Only ´memory´ and 'cpu' are supported. Notes: * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
startupCpuBoost This property is required. boolean
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
cpu_idle This property is required. bool
Determines whether CPU should be throttled or not outside of requests.
limits This property is required. Mapping[str, str]
Only ´memory´ and 'cpu' are supported. Notes: * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
startup_cpu_boost This property is required. bool
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
cpuIdle This property is required. Boolean
Determines whether CPU should be throttled or not outside of requests.
limits This property is required. Map<String>
Only ´memory´ and 'cpu' are supported. Notes: * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
startupCpuBoost This property is required. Boolean
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.

GoogleCloudRunV2RevisionScaling
, GoogleCloudRunV2RevisionScalingArgs

MaxInstanceCount int
Maximum number of serving instances that this resource should have.
MinInstanceCount int
Minimum number of serving instances that this resource should have.
MaxInstanceCount int
Maximum number of serving instances that this resource should have.
MinInstanceCount int
Minimum number of serving instances that this resource should have.
maxInstanceCount Integer
Maximum number of serving instances that this resource should have.
minInstanceCount Integer
Minimum number of serving instances that this resource should have.
maxInstanceCount number
Maximum number of serving instances that this resource should have.
minInstanceCount number
Minimum number of serving instances that this resource should have.
max_instance_count int
Maximum number of serving instances that this resource should have.
min_instance_count int
Minimum number of serving instances that this resource should have.
maxInstanceCount Number
Maximum number of serving instances that this resource should have.
minInstanceCount Number
Minimum number of serving instances that this resource should have.

GoogleCloudRunV2RevisionScalingResponse
, GoogleCloudRunV2RevisionScalingResponseArgs

MaxInstanceCount This property is required. int
Maximum number of serving instances that this resource should have.
MinInstanceCount This property is required. int
Minimum number of serving instances that this resource should have.
MaxInstanceCount This property is required. int
Maximum number of serving instances that this resource should have.
MinInstanceCount This property is required. int
Minimum number of serving instances that this resource should have.
maxInstanceCount This property is required. Integer
Maximum number of serving instances that this resource should have.
minInstanceCount This property is required. Integer
Minimum number of serving instances that this resource should have.
maxInstanceCount This property is required. number
Maximum number of serving instances that this resource should have.
minInstanceCount This property is required. number
Minimum number of serving instances that this resource should have.
max_instance_count This property is required. int
Maximum number of serving instances that this resource should have.
min_instance_count This property is required. int
Minimum number of serving instances that this resource should have.
maxInstanceCount This property is required. Number
Maximum number of serving instances that this resource should have.
minInstanceCount This property is required. Number
Minimum number of serving instances that this resource should have.

GoogleCloudRunV2RevisionTemplate
, GoogleCloudRunV2RevisionTemplateArgs

Annotations Dictionary<string, string>
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.
Containers List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2Container>
Holds the single container that defines the unit of execution for this Revision.
EncryptionKey string
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
ExecutionEnvironment Pulumi.GoogleNative.Run.V2.GoogleCloudRunV2RevisionTemplateExecutionEnvironment
The sandbox environment to host this Revision.
Labels Dictionary<string, string>
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
MaxInstanceRequestConcurrency int
Sets the maximum number of requests that each serving instance can receive.
Revision string
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
Scaling Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2RevisionScaling
Scaling settings for this Revision.
ServiceAccount string
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
SessionAffinity bool
Enable session affinity.
Timeout string
Max allowed time for an instance to respond to a request.
Volumes List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2Volume>
A list of Volumes to make available to containers.
VpcAccess Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2VpcAccess
VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
Annotations map[string]string
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.
Containers []GoogleCloudRunV2Container
Holds the single container that defines the unit of execution for this Revision.
EncryptionKey string
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
ExecutionEnvironment GoogleCloudRunV2RevisionTemplateExecutionEnvironment
The sandbox environment to host this Revision.
Labels map[string]string
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
MaxInstanceRequestConcurrency int
Sets the maximum number of requests that each serving instance can receive.
Revision string
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
Scaling GoogleCloudRunV2RevisionScaling
Scaling settings for this Revision.
ServiceAccount string
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
SessionAffinity bool
Enable session affinity.
Timeout string
Max allowed time for an instance to respond to a request.
Volumes []GoogleCloudRunV2Volume
A list of Volumes to make available to containers.
VpcAccess GoogleCloudRunV2VpcAccess
VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
annotations Map<String,String>
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.
containers List<GoogleCloudRunV2Container>
Holds the single container that defines the unit of execution for this Revision.
encryptionKey String
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
executionEnvironment GoogleCloudRunV2RevisionTemplateExecutionEnvironment
The sandbox environment to host this Revision.
labels Map<String,String>
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
maxInstanceRequestConcurrency Integer
Sets the maximum number of requests that each serving instance can receive.
revision String
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
scaling GoogleCloudRunV2RevisionScaling
Scaling settings for this Revision.
serviceAccount String
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
sessionAffinity Boolean
Enable session affinity.
timeout String
Max allowed time for an instance to respond to a request.
volumes List<GoogleCloudRunV2Volume>
A list of Volumes to make available to containers.
vpcAccess GoogleCloudRunV2VpcAccess
VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
annotations {[key: string]: string}
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.
containers GoogleCloudRunV2Container[]
Holds the single container that defines the unit of execution for this Revision.
encryptionKey string
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
executionEnvironment GoogleCloudRunV2RevisionTemplateExecutionEnvironment
The sandbox environment to host this Revision.
labels {[key: string]: string}
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
maxInstanceRequestConcurrency number
Sets the maximum number of requests that each serving instance can receive.
revision string
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
scaling GoogleCloudRunV2RevisionScaling
Scaling settings for this Revision.
serviceAccount string
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
sessionAffinity boolean
Enable session affinity.
timeout string
Max allowed time for an instance to respond to a request.
volumes GoogleCloudRunV2Volume[]
A list of Volumes to make available to containers.
vpcAccess GoogleCloudRunV2VpcAccess
VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
annotations Mapping[str, str]
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.
containers Sequence[GoogleCloudRunV2Container]
Holds the single container that defines the unit of execution for this Revision.
encryption_key str
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
execution_environment GoogleCloudRunV2RevisionTemplateExecutionEnvironment
The sandbox environment to host this Revision.
labels Mapping[str, str]
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
max_instance_request_concurrency int
Sets the maximum number of requests that each serving instance can receive.
revision str
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
scaling GoogleCloudRunV2RevisionScaling
Scaling settings for this Revision.
service_account str
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
session_affinity bool
Enable session affinity.
timeout str
Max allowed time for an instance to respond to a request.
volumes Sequence[GoogleCloudRunV2Volume]
A list of Volumes to make available to containers.
vpc_access GoogleCloudRunV2VpcAccess
VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
annotations Map<String>
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.
containers List<Property Map>
Holds the single container that defines the unit of execution for this Revision.
encryptionKey String
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
executionEnvironment "EXECUTION_ENVIRONMENT_UNSPECIFIED" | "EXECUTION_ENVIRONMENT_GEN1" | "EXECUTION_ENVIRONMENT_GEN2"
The sandbox environment to host this Revision.
labels Map<String>
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
maxInstanceRequestConcurrency Number
Sets the maximum number of requests that each serving instance can receive.
revision String
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
scaling Property Map
Scaling settings for this Revision.
serviceAccount String
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
sessionAffinity Boolean
Enable session affinity.
timeout String
Max allowed time for an instance to respond to a request.
volumes List<Property Map>
A list of Volumes to make available to containers.
vpcAccess Property Map
VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.

GoogleCloudRunV2RevisionTemplateExecutionEnvironment
, GoogleCloudRunV2RevisionTemplateExecutionEnvironmentArgs

ExecutionEnvironmentUnspecified
EXECUTION_ENVIRONMENT_UNSPECIFIEDUnspecified
ExecutionEnvironmentGen1
EXECUTION_ENVIRONMENT_GEN1Uses the First Generation environment.
ExecutionEnvironmentGen2
EXECUTION_ENVIRONMENT_GEN2Uses Second Generation environment.
GoogleCloudRunV2RevisionTemplateExecutionEnvironmentExecutionEnvironmentUnspecified
EXECUTION_ENVIRONMENT_UNSPECIFIEDUnspecified
GoogleCloudRunV2RevisionTemplateExecutionEnvironmentExecutionEnvironmentGen1
EXECUTION_ENVIRONMENT_GEN1Uses the First Generation environment.
GoogleCloudRunV2RevisionTemplateExecutionEnvironmentExecutionEnvironmentGen2
EXECUTION_ENVIRONMENT_GEN2Uses Second Generation environment.
ExecutionEnvironmentUnspecified
EXECUTION_ENVIRONMENT_UNSPECIFIEDUnspecified
ExecutionEnvironmentGen1
EXECUTION_ENVIRONMENT_GEN1Uses the First Generation environment.
ExecutionEnvironmentGen2
EXECUTION_ENVIRONMENT_GEN2Uses Second Generation environment.
ExecutionEnvironmentUnspecified
EXECUTION_ENVIRONMENT_UNSPECIFIEDUnspecified
ExecutionEnvironmentGen1
EXECUTION_ENVIRONMENT_GEN1Uses the First Generation environment.
ExecutionEnvironmentGen2
EXECUTION_ENVIRONMENT_GEN2Uses Second Generation environment.
EXECUTION_ENVIRONMENT_UNSPECIFIED
EXECUTION_ENVIRONMENT_UNSPECIFIEDUnspecified
EXECUTION_ENVIRONMENT_GEN1
EXECUTION_ENVIRONMENT_GEN1Uses the First Generation environment.
EXECUTION_ENVIRONMENT_GEN2
EXECUTION_ENVIRONMENT_GEN2Uses Second Generation environment.
"EXECUTION_ENVIRONMENT_UNSPECIFIED"
EXECUTION_ENVIRONMENT_UNSPECIFIEDUnspecified
"EXECUTION_ENVIRONMENT_GEN1"
EXECUTION_ENVIRONMENT_GEN1Uses the First Generation environment.
"EXECUTION_ENVIRONMENT_GEN2"
EXECUTION_ENVIRONMENT_GEN2Uses Second Generation environment.

GoogleCloudRunV2RevisionTemplateResponse
, GoogleCloudRunV2RevisionTemplateResponseArgs

Annotations This property is required. Dictionary<string, string>
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.
Containers This property is required. List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2ContainerResponse>
Holds the single container that defines the unit of execution for this Revision.
EncryptionKey This property is required. string
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
ExecutionEnvironment This property is required. string
The sandbox environment to host this Revision.
Labels This property is required. Dictionary<string, string>
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
MaxInstanceRequestConcurrency This property is required. int
Sets the maximum number of requests that each serving instance can receive.
Revision This property is required. string
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
Scaling This property is required. Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2RevisionScalingResponse
Scaling settings for this Revision.
ServiceAccount This property is required. string
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
SessionAffinity This property is required. bool
Enable session affinity.
Timeout This property is required. string
Max allowed time for an instance to respond to a request.
Volumes This property is required. List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2VolumeResponse>
A list of Volumes to make available to containers.
VpcAccess This property is required. Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2VpcAccessResponse
VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
Annotations This property is required. map[string]string
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.
Containers This property is required. []GoogleCloudRunV2ContainerResponse
Holds the single container that defines the unit of execution for this Revision.
EncryptionKey This property is required. string
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
ExecutionEnvironment This property is required. string
The sandbox environment to host this Revision.
Labels This property is required. map[string]string
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
MaxInstanceRequestConcurrency This property is required. int
Sets the maximum number of requests that each serving instance can receive.
Revision This property is required. string
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
Scaling This property is required. GoogleCloudRunV2RevisionScalingResponse
Scaling settings for this Revision.
ServiceAccount This property is required. string
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
SessionAffinity This property is required. bool
Enable session affinity.
Timeout This property is required. string
Max allowed time for an instance to respond to a request.
Volumes This property is required. []GoogleCloudRunV2VolumeResponse
A list of Volumes to make available to containers.
VpcAccess This property is required. GoogleCloudRunV2VpcAccessResponse
VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
annotations This property is required. Map<String,String>
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.
containers This property is required. List<GoogleCloudRunV2ContainerResponse>
Holds the single container that defines the unit of execution for this Revision.
encryptionKey This property is required. String
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
executionEnvironment This property is required. String
The sandbox environment to host this Revision.
labels This property is required. Map<String,String>
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
maxInstanceRequestConcurrency This property is required. Integer
Sets the maximum number of requests that each serving instance can receive.
revision This property is required. String
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
scaling This property is required. GoogleCloudRunV2RevisionScalingResponse
Scaling settings for this Revision.
serviceAccount This property is required. String
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
sessionAffinity This property is required. Boolean
Enable session affinity.
timeout This property is required. String
Max allowed time for an instance to respond to a request.
volumes This property is required. List<GoogleCloudRunV2VolumeResponse>
A list of Volumes to make available to containers.
vpcAccess This property is required. GoogleCloudRunV2VpcAccessResponse
VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
annotations This property is required. {[key: string]: string}
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.
containers This property is required. GoogleCloudRunV2ContainerResponse[]
Holds the single container that defines the unit of execution for this Revision.
encryptionKey This property is required. string
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
executionEnvironment This property is required. string
The sandbox environment to host this Revision.
labels This property is required. {[key: string]: string}
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
maxInstanceRequestConcurrency This property is required. number
Sets the maximum number of requests that each serving instance can receive.
revision This property is required. string
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
scaling This property is required. GoogleCloudRunV2RevisionScalingResponse
Scaling settings for this Revision.
serviceAccount This property is required. string
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
sessionAffinity This property is required. boolean
Enable session affinity.
timeout This property is required. string
Max allowed time for an instance to respond to a request.
volumes This property is required. GoogleCloudRunV2VolumeResponse[]
A list of Volumes to make available to containers.
vpcAccess This property is required. GoogleCloudRunV2VpcAccessResponse
VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
annotations This property is required. Mapping[str, str]
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.
containers This property is required. Sequence[GoogleCloudRunV2ContainerResponse]
Holds the single container that defines the unit of execution for this Revision.
encryption_key This property is required. str
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
execution_environment This property is required. str
The sandbox environment to host this Revision.
labels This property is required. Mapping[str, str]
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
max_instance_request_concurrency This property is required. int
Sets the maximum number of requests that each serving instance can receive.
revision This property is required. str
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
scaling This property is required. GoogleCloudRunV2RevisionScalingResponse
Scaling settings for this Revision.
service_account This property is required. str
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
session_affinity This property is required. bool
Enable session affinity.
timeout This property is required. str
Max allowed time for an instance to respond to a request.
volumes This property is required. Sequence[GoogleCloudRunV2VolumeResponse]
A list of Volumes to make available to containers.
vpc_access This property is required. GoogleCloudRunV2VpcAccessResponse
VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
annotations This property is required. Map<String>
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.
containers This property is required. List<Property Map>
Holds the single container that defines the unit of execution for this Revision.
encryptionKey This property is required. String
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
executionEnvironment This property is required. String
The sandbox environment to host this Revision.
labels This property is required. Map<String>
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
maxInstanceRequestConcurrency This property is required. Number
Sets the maximum number of requests that each serving instance can receive.
revision This property is required. String
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
scaling This property is required. Property Map
Scaling settings for this Revision.
serviceAccount This property is required. String
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
sessionAffinity This property is required. Boolean
Enable session affinity.
timeout This property is required. String
Max allowed time for an instance to respond to a request.
volumes This property is required. List<Property Map>
A list of Volumes to make available to containers.
vpcAccess This property is required. Property Map
VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.

GoogleCloudRunV2SecretKeySelector
, GoogleCloudRunV2SecretKeySelectorArgs

Secret This property is required. string
The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
Version string
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.
Secret This property is required. string
The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
Version string
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.
secret This property is required. String
The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
version String
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.
secret This property is required. string
The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
version string
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.
secret This property is required. str
The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
version str
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.
secret This property is required. String
The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
version String
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.

GoogleCloudRunV2SecretKeySelectorResponse
, GoogleCloudRunV2SecretKeySelectorResponseArgs

Secret This property is required. string
The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
Version This property is required. string
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.
Secret This property is required. string
The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
Version This property is required. string
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.
secret This property is required. String
The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
version This property is required. String
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.
secret This property is required. string
The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
version This property is required. string
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.
secret This property is required. str
The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
version This property is required. str
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.
secret This property is required. String
The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
version This property is required. String
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.

GoogleCloudRunV2SecretVolumeSource
, GoogleCloudRunV2SecretVolumeSourceArgs

Secret This property is required. string
The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
DefaultMode int
Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set.
Items List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2VersionToPath>
If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
Secret This property is required. string
The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
DefaultMode int
Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set.
Items []GoogleCloudRunV2VersionToPath
If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
secret This property is required. String
The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
defaultMode Integer
Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set.
items List<GoogleCloudRunV2VersionToPath>
If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
secret This property is required. string
The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
defaultMode number
Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set.
items GoogleCloudRunV2VersionToPath[]
If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
secret This property is required. str
The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
default_mode int
Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set.
items Sequence[GoogleCloudRunV2VersionToPath]
If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
secret This property is required. String
The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
defaultMode Number
Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set.
items List<Property Map>
If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.

GoogleCloudRunV2SecretVolumeSourceResponse
, GoogleCloudRunV2SecretVolumeSourceResponseArgs

DefaultMode This property is required. int
Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set.
Items This property is required. List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2VersionToPathResponse>
If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
Secret This property is required. string
The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
DefaultMode This property is required. int
Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set.
Items This property is required. []GoogleCloudRunV2VersionToPathResponse
If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
Secret This property is required. string
The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
defaultMode This property is required. Integer
Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set.
items This property is required. List<GoogleCloudRunV2VersionToPathResponse>
If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
secret This property is required. String
The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
defaultMode This property is required. number
Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set.
items This property is required. GoogleCloudRunV2VersionToPathResponse[]
If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
secret This property is required. string
The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
default_mode This property is required. int
Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set.
items This property is required. Sequence[GoogleCloudRunV2VersionToPathResponse]
If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
secret This property is required. str
The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
defaultMode This property is required. Number
Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set.
items This property is required. List<Property Map>
If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
secret This property is required. String
The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.

GoogleCloudRunV2ServiceScaling
, GoogleCloudRunV2ServiceScalingArgs

MinInstanceCount int
total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (ALPHA)
MinInstanceCount int
total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (ALPHA)
minInstanceCount Integer
total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (ALPHA)
minInstanceCount number
total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (ALPHA)
min_instance_count int
total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (ALPHA)
minInstanceCount Number
total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (ALPHA)

GoogleCloudRunV2ServiceScalingResponse
, GoogleCloudRunV2ServiceScalingResponseArgs

MinInstanceCount This property is required. int
total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (ALPHA)
MinInstanceCount This property is required. int
total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (ALPHA)
minInstanceCount This property is required. Integer
total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (ALPHA)
minInstanceCount This property is required. number
total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (ALPHA)
min_instance_count This property is required. int
total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (ALPHA)
minInstanceCount This property is required. Number
total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (ALPHA)

GoogleCloudRunV2TCPSocketAction
, GoogleCloudRunV2TCPSocketActionArgs

Port int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
Port int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
port Integer
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
port number
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
port int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
port Number
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.

GoogleCloudRunV2TCPSocketActionResponse
, GoogleCloudRunV2TCPSocketActionResponseArgs

Port This property is required. int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
Port This property is required. int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
port This property is required. Integer
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
port This property is required. number
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
port This property is required. int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
port This property is required. Number
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.

GoogleCloudRunV2TrafficTarget
, GoogleCloudRunV2TrafficTargetArgs

Percent int
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
Revision string
Revision to which to send this portion of traffic, if traffic allocation is by revision.
Tag string
Indicates a string to be part of the URI to exclusively reference this target.
Type Pulumi.GoogleNative.Run.V2.GoogleCloudRunV2TrafficTargetType
The allocation type for this traffic target.
Percent int
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
Revision string
Revision to which to send this portion of traffic, if traffic allocation is by revision.
Tag string
Indicates a string to be part of the URI to exclusively reference this target.
Type GoogleCloudRunV2TrafficTargetType
The allocation type for this traffic target.
percent Integer
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
revision String
Revision to which to send this portion of traffic, if traffic allocation is by revision.
tag String
Indicates a string to be part of the URI to exclusively reference this target.
type GoogleCloudRunV2TrafficTargetType
The allocation type for this traffic target.
percent number
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
revision string
Revision to which to send this portion of traffic, if traffic allocation is by revision.
tag string
Indicates a string to be part of the URI to exclusively reference this target.
type GoogleCloudRunV2TrafficTargetType
The allocation type for this traffic target.
percent int
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
revision str
Revision to which to send this portion of traffic, if traffic allocation is by revision.
tag str
Indicates a string to be part of the URI to exclusively reference this target.
type GoogleCloudRunV2TrafficTargetType
The allocation type for this traffic target.
percent Number
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
revision String
Revision to which to send this portion of traffic, if traffic allocation is by revision.
tag String
Indicates a string to be part of the URI to exclusively reference this target.
type "TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED" | "TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST" | "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"
The allocation type for this traffic target.

GoogleCloudRunV2TrafficTargetResponse
, GoogleCloudRunV2TrafficTargetResponseArgs

Percent This property is required. int
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
Revision This property is required. string
Revision to which to send this portion of traffic, if traffic allocation is by revision.
Tag This property is required. string
Indicates a string to be part of the URI to exclusively reference this target.
Type This property is required. string
The allocation type for this traffic target.
Percent This property is required. int
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
Revision This property is required. string
Revision to which to send this portion of traffic, if traffic allocation is by revision.
Tag This property is required. string
Indicates a string to be part of the URI to exclusively reference this target.
Type This property is required. string
The allocation type for this traffic target.
percent This property is required. Integer
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
revision This property is required. String
Revision to which to send this portion of traffic, if traffic allocation is by revision.
tag This property is required. String
Indicates a string to be part of the URI to exclusively reference this target.
type This property is required. String
The allocation type for this traffic target.
percent This property is required. number
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
revision This property is required. string
Revision to which to send this portion of traffic, if traffic allocation is by revision.
tag This property is required. string
Indicates a string to be part of the URI to exclusively reference this target.
type This property is required. string
The allocation type for this traffic target.
percent This property is required. int
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
revision This property is required. str
Revision to which to send this portion of traffic, if traffic allocation is by revision.
tag This property is required. str
Indicates a string to be part of the URI to exclusively reference this target.
type This property is required. str
The allocation type for this traffic target.
percent This property is required. Number
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
revision This property is required. String
Revision to which to send this portion of traffic, if traffic allocation is by revision.
tag This property is required. String
Indicates a string to be part of the URI to exclusively reference this target.
type This property is required. String
The allocation type for this traffic target.

GoogleCloudRunV2TrafficTargetStatusResponse
, GoogleCloudRunV2TrafficTargetStatusResponseArgs

Percent This property is required. int
Specifies percent of the traffic to this Revision.
Revision This property is required. string
Revision to which this traffic is sent.
Tag This property is required. string
Indicates the string used in the URI to exclusively reference this target.
Type This property is required. string
The allocation type for this traffic target.
Uri This property is required. string
Displays the target URI.
Percent This property is required. int
Specifies percent of the traffic to this Revision.
Revision This property is required. string
Revision to which this traffic is sent.
Tag This property is required. string
Indicates the string used in the URI to exclusively reference this target.
Type This property is required. string
The allocation type for this traffic target.
Uri This property is required. string
Displays the target URI.
percent This property is required. Integer
Specifies percent of the traffic to this Revision.
revision This property is required. String
Revision to which this traffic is sent.
tag This property is required. String
Indicates the string used in the URI to exclusively reference this target.
type This property is required. String
The allocation type for this traffic target.
uri This property is required. String
Displays the target URI.
percent This property is required. number
Specifies percent of the traffic to this Revision.
revision This property is required. string
Revision to which this traffic is sent.
tag This property is required. string
Indicates the string used in the URI to exclusively reference this target.
type This property is required. string
The allocation type for this traffic target.
uri This property is required. string
Displays the target URI.
percent This property is required. int
Specifies percent of the traffic to this Revision.
revision This property is required. str
Revision to which this traffic is sent.
tag This property is required. str
Indicates the string used in the URI to exclusively reference this target.
type This property is required. str
The allocation type for this traffic target.
uri This property is required. str
Displays the target URI.
percent This property is required. Number
Specifies percent of the traffic to this Revision.
revision This property is required. String
Revision to which this traffic is sent.
tag This property is required. String
Indicates the string used in the URI to exclusively reference this target.
type This property is required. String
The allocation type for this traffic target.
uri This property is required. String
Displays the target URI.

GoogleCloudRunV2TrafficTargetType
, GoogleCloudRunV2TrafficTargetTypeArgs

TrafficTargetAllocationTypeUnspecified
TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIEDUnspecified instance allocation type.
TrafficTargetAllocationTypeLatest
TRAFFIC_TARGET_ALLOCATION_TYPE_LATESTAllocates instances to the Service's latest ready Revision.
TrafficTargetAllocationTypeRevision
TRAFFIC_TARGET_ALLOCATION_TYPE_REVISIONAllocates instances to a Revision by name.
GoogleCloudRunV2TrafficTargetTypeTrafficTargetAllocationTypeUnspecified
TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIEDUnspecified instance allocation type.
GoogleCloudRunV2TrafficTargetTypeTrafficTargetAllocationTypeLatest
TRAFFIC_TARGET_ALLOCATION_TYPE_LATESTAllocates instances to the Service's latest ready Revision.
GoogleCloudRunV2TrafficTargetTypeTrafficTargetAllocationTypeRevision
TRAFFIC_TARGET_ALLOCATION_TYPE_REVISIONAllocates instances to a Revision by name.
TrafficTargetAllocationTypeUnspecified
TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIEDUnspecified instance allocation type.
TrafficTargetAllocationTypeLatest
TRAFFIC_TARGET_ALLOCATION_TYPE_LATESTAllocates instances to the Service's latest ready Revision.
TrafficTargetAllocationTypeRevision
TRAFFIC_TARGET_ALLOCATION_TYPE_REVISIONAllocates instances to a Revision by name.
TrafficTargetAllocationTypeUnspecified
TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIEDUnspecified instance allocation type.
TrafficTargetAllocationTypeLatest
TRAFFIC_TARGET_ALLOCATION_TYPE_LATESTAllocates instances to the Service's latest ready Revision.
TrafficTargetAllocationTypeRevision
TRAFFIC_TARGET_ALLOCATION_TYPE_REVISIONAllocates instances to a Revision by name.
TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED
TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIEDUnspecified instance allocation type.
TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST
TRAFFIC_TARGET_ALLOCATION_TYPE_LATESTAllocates instances to the Service's latest ready Revision.
TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION
TRAFFIC_TARGET_ALLOCATION_TYPE_REVISIONAllocates instances to a Revision by name.
"TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED"
TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIEDUnspecified instance allocation type.
"TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST"
TRAFFIC_TARGET_ALLOCATION_TYPE_LATESTAllocates instances to the Service's latest ready Revision.
"TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"
TRAFFIC_TARGET_ALLOCATION_TYPE_REVISIONAllocates instances to a Revision by name.

GoogleCloudRunV2VersionToPath
, GoogleCloudRunV2VersionToPathArgs

Path This property is required. string
The relative path of the secret in the container.
Mode int
Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
Version string
The Cloud Secret Manager secret version. Can be 'latest' for the latest value, or an integer or a secret alias for a specific version.
Path This property is required. string
The relative path of the secret in the container.
Mode int
Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
Version string
The Cloud Secret Manager secret version. Can be 'latest' for the latest value, or an integer or a secret alias for a specific version.
path This property is required. String
The relative path of the secret in the container.
mode Integer
Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
version String
The Cloud Secret Manager secret version. Can be 'latest' for the latest value, or an integer or a secret alias for a specific version.
path This property is required. string
The relative path of the secret in the container.
mode number
Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
version string
The Cloud Secret Manager secret version. Can be 'latest' for the latest value, or an integer or a secret alias for a specific version.
path This property is required. str
The relative path of the secret in the container.
mode int
Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
version str
The Cloud Secret Manager secret version. Can be 'latest' for the latest value, or an integer or a secret alias for a specific version.
path This property is required. String
The relative path of the secret in the container.
mode Number
Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
version String
The Cloud Secret Manager secret version. Can be 'latest' for the latest value, or an integer or a secret alias for a specific version.

GoogleCloudRunV2VersionToPathResponse
, GoogleCloudRunV2VersionToPathResponseArgs

Mode This property is required. int
Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
Path This property is required. string
The relative path of the secret in the container.
Version This property is required. string
The Cloud Secret Manager secret version. Can be 'latest' for the latest value, or an integer or a secret alias for a specific version.
Mode This property is required. int
Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
Path This property is required. string
The relative path of the secret in the container.
Version This property is required. string
The Cloud Secret Manager secret version. Can be 'latest' for the latest value, or an integer or a secret alias for a specific version.
mode This property is required. Integer
Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
path This property is required. String
The relative path of the secret in the container.
version This property is required. String
The Cloud Secret Manager secret version. Can be 'latest' for the latest value, or an integer or a secret alias for a specific version.
mode This property is required. number
Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
path This property is required. string
The relative path of the secret in the container.
version This property is required. string
The Cloud Secret Manager secret version. Can be 'latest' for the latest value, or an integer or a secret alias for a specific version.
mode This property is required. int
Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
path This property is required. str
The relative path of the secret in the container.
version This property is required. str
The Cloud Secret Manager secret version. Can be 'latest' for the latest value, or an integer or a secret alias for a specific version.
mode This property is required. Number
Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
path This property is required. String
The relative path of the secret in the container.
version This property is required. String
The Cloud Secret Manager secret version. Can be 'latest' for the latest value, or an integer or a secret alias for a specific version.

GoogleCloudRunV2Volume
, GoogleCloudRunV2VolumeArgs

Name This property is required. string
Volume's name.
CloudSqlInstance Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2CloudSqlInstance
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
EmptyDir Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2EmptyDirVolumeSource
Ephemeral storage used as a shared volume.
Secret Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2SecretVolumeSource
Secret represents a secret that should populate this volume.
Name This property is required. string
Volume's name.
CloudSqlInstance GoogleCloudRunV2CloudSqlInstance
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
EmptyDir GoogleCloudRunV2EmptyDirVolumeSource
Ephemeral storage used as a shared volume.
Secret GoogleCloudRunV2SecretVolumeSource
Secret represents a secret that should populate this volume.
name This property is required. String
Volume's name.
cloudSqlInstance GoogleCloudRunV2CloudSqlInstance
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
emptyDir GoogleCloudRunV2EmptyDirVolumeSource
Ephemeral storage used as a shared volume.
secret GoogleCloudRunV2SecretVolumeSource
Secret represents a secret that should populate this volume.
name This property is required. string
Volume's name.
cloudSqlInstance GoogleCloudRunV2CloudSqlInstance
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
emptyDir GoogleCloudRunV2EmptyDirVolumeSource
Ephemeral storage used as a shared volume.
secret GoogleCloudRunV2SecretVolumeSource
Secret represents a secret that should populate this volume.
name This property is required. str
Volume's name.
cloud_sql_instance GoogleCloudRunV2CloudSqlInstance
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
empty_dir GoogleCloudRunV2EmptyDirVolumeSource
Ephemeral storage used as a shared volume.
secret GoogleCloudRunV2SecretVolumeSource
Secret represents a secret that should populate this volume.
name This property is required. String
Volume's name.
cloudSqlInstance Property Map
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
emptyDir Property Map
Ephemeral storage used as a shared volume.
secret Property Map
Secret represents a secret that should populate this volume.

GoogleCloudRunV2VolumeMount
, GoogleCloudRunV2VolumeMountArgs

MountPath This property is required. string
Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
Name This property is required. string
This must match the Name of a Volume.
MountPath This property is required. string
Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
Name This property is required. string
This must match the Name of a Volume.
mountPath This property is required. String
Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
name This property is required. String
This must match the Name of a Volume.
mountPath This property is required. string
Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
name This property is required. string
This must match the Name of a Volume.
mount_path This property is required. str
Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
name This property is required. str
This must match the Name of a Volume.
mountPath This property is required. String
Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
name This property is required. String
This must match the Name of a Volume.

GoogleCloudRunV2VolumeMountResponse
, GoogleCloudRunV2VolumeMountResponseArgs

MountPath This property is required. string
Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
Name This property is required. string
This must match the Name of a Volume.
MountPath This property is required. string
Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
Name This property is required. string
This must match the Name of a Volume.
mountPath This property is required. String
Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
name This property is required. String
This must match the Name of a Volume.
mountPath This property is required. string
Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
name This property is required. string
This must match the Name of a Volume.
mount_path This property is required. str
Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
name This property is required. str
This must match the Name of a Volume.
mountPath This property is required. String
Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
name This property is required. String
This must match the Name of a Volume.

GoogleCloudRunV2VolumeResponse
, GoogleCloudRunV2VolumeResponseArgs

CloudSqlInstance This property is required. Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2CloudSqlInstanceResponse
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
EmptyDir This property is required. Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2EmptyDirVolumeSourceResponse
Ephemeral storage used as a shared volume.
Name This property is required. string
Volume's name.
Secret This property is required. Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2SecretVolumeSourceResponse
Secret represents a secret that should populate this volume.
CloudSqlInstance This property is required. GoogleCloudRunV2CloudSqlInstanceResponse
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
EmptyDir This property is required. GoogleCloudRunV2EmptyDirVolumeSourceResponse
Ephemeral storage used as a shared volume.
Name This property is required. string
Volume's name.
Secret This property is required. GoogleCloudRunV2SecretVolumeSourceResponse
Secret represents a secret that should populate this volume.
cloudSqlInstance This property is required. GoogleCloudRunV2CloudSqlInstanceResponse
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
emptyDir This property is required. GoogleCloudRunV2EmptyDirVolumeSourceResponse
Ephemeral storage used as a shared volume.
name This property is required. String
Volume's name.
secret This property is required. GoogleCloudRunV2SecretVolumeSourceResponse
Secret represents a secret that should populate this volume.
cloudSqlInstance This property is required. GoogleCloudRunV2CloudSqlInstanceResponse
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
emptyDir This property is required. GoogleCloudRunV2EmptyDirVolumeSourceResponse
Ephemeral storage used as a shared volume.
name This property is required. string
Volume's name.
secret This property is required. GoogleCloudRunV2SecretVolumeSourceResponse
Secret represents a secret that should populate this volume.
cloud_sql_instance This property is required. GoogleCloudRunV2CloudSqlInstanceResponse
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
empty_dir This property is required. GoogleCloudRunV2EmptyDirVolumeSourceResponse
Ephemeral storage used as a shared volume.
name This property is required. str
Volume's name.
secret This property is required. GoogleCloudRunV2SecretVolumeSourceResponse
Secret represents a secret that should populate this volume.
cloudSqlInstance This property is required. Property Map
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
emptyDir This property is required. Property Map
Ephemeral storage used as a shared volume.
name This property is required. String
Volume's name.
secret This property is required. Property Map
Secret represents a secret that should populate this volume.

GoogleCloudRunV2VpcAccess
, GoogleCloudRunV2VpcAccessArgs

Connector string
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
Egress Pulumi.GoogleNative.Run.V2.GoogleCloudRunV2VpcAccessEgress
Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
NetworkInterfaces List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2NetworkInterface>
Direct VPC egress settings. Currently only single network interface is supported.
Connector string
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
Egress GoogleCloudRunV2VpcAccessEgress
Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
NetworkInterfaces []GoogleCloudRunV2NetworkInterface
Direct VPC egress settings. Currently only single network interface is supported.
connector String
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
egress GoogleCloudRunV2VpcAccessEgress
Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
networkInterfaces List<GoogleCloudRunV2NetworkInterface>
Direct VPC egress settings. Currently only single network interface is supported.
connector string
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
egress GoogleCloudRunV2VpcAccessEgress
Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
networkInterfaces GoogleCloudRunV2NetworkInterface[]
Direct VPC egress settings. Currently only single network interface is supported.
connector str
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
egress GoogleCloudRunV2VpcAccessEgress
Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
network_interfaces Sequence[GoogleCloudRunV2NetworkInterface]
Direct VPC egress settings. Currently only single network interface is supported.
connector String
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
egress "VPC_EGRESS_UNSPECIFIED" | "ALL_TRAFFIC" | "PRIVATE_RANGES_ONLY"
Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
networkInterfaces List<Property Map>
Direct VPC egress settings. Currently only single network interface is supported.

GoogleCloudRunV2VpcAccessEgress
, GoogleCloudRunV2VpcAccessEgressArgs

VpcEgressUnspecified
VPC_EGRESS_UNSPECIFIEDUnspecified
AllTraffic
ALL_TRAFFICAll outbound traffic is routed through the VPC connector.
PrivateRangesOnly
PRIVATE_RANGES_ONLYOnly private IP ranges are routed through the VPC connector.
GoogleCloudRunV2VpcAccessEgressVpcEgressUnspecified
VPC_EGRESS_UNSPECIFIEDUnspecified
GoogleCloudRunV2VpcAccessEgressAllTraffic
ALL_TRAFFICAll outbound traffic is routed through the VPC connector.
GoogleCloudRunV2VpcAccessEgressPrivateRangesOnly
PRIVATE_RANGES_ONLYOnly private IP ranges are routed through the VPC connector.
VpcEgressUnspecified
VPC_EGRESS_UNSPECIFIEDUnspecified
AllTraffic
ALL_TRAFFICAll outbound traffic is routed through the VPC connector.
PrivateRangesOnly
PRIVATE_RANGES_ONLYOnly private IP ranges are routed through the VPC connector.
VpcEgressUnspecified
VPC_EGRESS_UNSPECIFIEDUnspecified
AllTraffic
ALL_TRAFFICAll outbound traffic is routed through the VPC connector.
PrivateRangesOnly
PRIVATE_RANGES_ONLYOnly private IP ranges are routed through the VPC connector.
VPC_EGRESS_UNSPECIFIED
VPC_EGRESS_UNSPECIFIEDUnspecified
ALL_TRAFFIC
ALL_TRAFFICAll outbound traffic is routed through the VPC connector.
PRIVATE_RANGES_ONLY
PRIVATE_RANGES_ONLYOnly private IP ranges are routed through the VPC connector.
"VPC_EGRESS_UNSPECIFIED"
VPC_EGRESS_UNSPECIFIEDUnspecified
"ALL_TRAFFIC"
ALL_TRAFFICAll outbound traffic is routed through the VPC connector.
"PRIVATE_RANGES_ONLY"
PRIVATE_RANGES_ONLYOnly private IP ranges are routed through the VPC connector.

GoogleCloudRunV2VpcAccessResponse
, GoogleCloudRunV2VpcAccessResponseArgs

Connector This property is required. string
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
Egress This property is required. string
Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
NetworkInterfaces This property is required. List<Pulumi.GoogleNative.Run.V2.Inputs.GoogleCloudRunV2NetworkInterfaceResponse>
Direct VPC egress settings. Currently only single network interface is supported.
Connector This property is required. string
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
Egress This property is required. string
Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
NetworkInterfaces This property is required. []GoogleCloudRunV2NetworkInterfaceResponse
Direct VPC egress settings. Currently only single network interface is supported.
connector This property is required. String
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
egress This property is required. String
Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
networkInterfaces This property is required. List<GoogleCloudRunV2NetworkInterfaceResponse>
Direct VPC egress settings. Currently only single network interface is supported.
connector This property is required. string
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
egress This property is required. string
Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
networkInterfaces This property is required. GoogleCloudRunV2NetworkInterfaceResponse[]
Direct VPC egress settings. Currently only single network interface is supported.
connector This property is required. str
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
egress This property is required. str
Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
network_interfaces This property is required. Sequence[GoogleCloudRunV2NetworkInterfaceResponse]
Direct VPC egress settings. Currently only single network interface is supported.
connector This property is required. String
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
egress This property is required. String
Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
networkInterfaces This property is required. List<Property Map>
Direct VPC egress settings. Currently only single network interface is supported.

ServiceIngress
, ServiceIngressArgs

IngressTrafficUnspecified
INGRESS_TRAFFIC_UNSPECIFIEDUnspecified
IngressTrafficAll
INGRESS_TRAFFIC_ALLAll inbound traffic is allowed.
IngressTrafficInternalOnly
INGRESS_TRAFFIC_INTERNAL_ONLYOnly internal traffic is allowed.
IngressTrafficInternalLoadBalancer
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCERBoth internal and Google Cloud Load Balancer traffic is allowed.
ServiceIngressIngressTrafficUnspecified
INGRESS_TRAFFIC_UNSPECIFIEDUnspecified
ServiceIngressIngressTrafficAll
INGRESS_TRAFFIC_ALLAll inbound traffic is allowed.
ServiceIngressIngressTrafficInternalOnly
INGRESS_TRAFFIC_INTERNAL_ONLYOnly internal traffic is allowed.
ServiceIngressIngressTrafficInternalLoadBalancer
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCERBoth internal and Google Cloud Load Balancer traffic is allowed.
IngressTrafficUnspecified
INGRESS_TRAFFIC_UNSPECIFIEDUnspecified
IngressTrafficAll
INGRESS_TRAFFIC_ALLAll inbound traffic is allowed.
IngressTrafficInternalOnly
INGRESS_TRAFFIC_INTERNAL_ONLYOnly internal traffic is allowed.
IngressTrafficInternalLoadBalancer
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCERBoth internal and Google Cloud Load Balancer traffic is allowed.
IngressTrafficUnspecified
INGRESS_TRAFFIC_UNSPECIFIEDUnspecified
IngressTrafficAll
INGRESS_TRAFFIC_ALLAll inbound traffic is allowed.
IngressTrafficInternalOnly
INGRESS_TRAFFIC_INTERNAL_ONLYOnly internal traffic is allowed.
IngressTrafficInternalLoadBalancer
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCERBoth internal and Google Cloud Load Balancer traffic is allowed.
INGRESS_TRAFFIC_UNSPECIFIED
INGRESS_TRAFFIC_UNSPECIFIEDUnspecified
INGRESS_TRAFFIC_ALL
INGRESS_TRAFFIC_ALLAll inbound traffic is allowed.
INGRESS_TRAFFIC_INTERNAL_ONLY
INGRESS_TRAFFIC_INTERNAL_ONLYOnly internal traffic is allowed.
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCERBoth internal and Google Cloud Load Balancer traffic is allowed.
"INGRESS_TRAFFIC_UNSPECIFIED"
INGRESS_TRAFFIC_UNSPECIFIEDUnspecified
"INGRESS_TRAFFIC_ALL"
INGRESS_TRAFFIC_ALLAll inbound traffic is allowed.
"INGRESS_TRAFFIC_INTERNAL_ONLY"
INGRESS_TRAFFIC_INTERNAL_ONLYOnly internal traffic is allowed.
"INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER"
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCERBoth internal and Google Cloud Load Balancer traffic is allowed.

ServiceLaunchStage
, ServiceLaunchStageArgs

LaunchStageUnspecified
LAUNCH_STAGE_UNSPECIFIEDDo not use this default value.
Unimplemented
UNIMPLEMENTEDThe feature is not yet implemented. Users can not use it.
Prelaunch
PRELAUNCHPrelaunch features are hidden from users and are only visible internally.
EarlyAccess
EARLY_ACCESSEarly Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.
Alpha
ALPHAAlpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.
Beta
BETABeta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.
Ga
GAGA features are open to all developers and are considered stable and fully qualified for production use.
Deprecated
DEPRECATEDDeprecated features are scheduled to be shut down and removed. For more information, see the "Deprecation Policy" section of our Terms of Service and the Google Cloud Platform Subject to the Deprecation Policy documentation.
ServiceLaunchStageLaunchStageUnspecified
LAUNCH_STAGE_UNSPECIFIEDDo not use this default value.
ServiceLaunchStageUnimplemented
UNIMPLEMENTEDThe feature is not yet implemented. Users can not use it.
ServiceLaunchStagePrelaunch
PRELAUNCHPrelaunch features are hidden from users and are only visible internally.
ServiceLaunchStageEarlyAccess
EARLY_ACCESSEarly Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.
ServiceLaunchStageAlpha
ALPHAAlpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.
ServiceLaunchStageBeta
BETABeta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.
ServiceLaunchStageGa
GAGA features are open to all developers and are considered stable and fully qualified for production use.
ServiceLaunchStageDeprecated
DEPRECATEDDeprecated features are scheduled to be shut down and removed. For more information, see the "Deprecation Policy" section of our Terms of Service and the Google Cloud Platform Subject to the Deprecation Policy documentation.
LaunchStageUnspecified
LAUNCH_STAGE_UNSPECIFIEDDo not use this default value.
Unimplemented
UNIMPLEMENTEDThe feature is not yet implemented. Users can not use it.
Prelaunch
PRELAUNCHPrelaunch features are hidden from users and are only visible internally.
EarlyAccess
EARLY_ACCESSEarly Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.
Alpha
ALPHAAlpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.
Beta
BETABeta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.
Ga
GAGA features are open to all developers and are considered stable and fully qualified for production use.
Deprecated
DEPRECATEDDeprecated features are scheduled to be shut down and removed. For more information, see the "Deprecation Policy" section of our Terms of Service and the Google Cloud Platform Subject to the Deprecation Policy documentation.
LaunchStageUnspecified
LAUNCH_STAGE_UNSPECIFIEDDo not use this default value.
Unimplemented
UNIMPLEMENTEDThe feature is not yet implemented. Users can not use it.
Prelaunch
PRELAUNCHPrelaunch features are hidden from users and are only visible internally.
EarlyAccess
EARLY_ACCESSEarly Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.
Alpha
ALPHAAlpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.
Beta
BETABeta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.
Ga
GAGA features are open to all developers and are considered stable and fully qualified for production use.
Deprecated
DEPRECATEDDeprecated features are scheduled to be shut down and removed. For more information, see the "Deprecation Policy" section of our Terms of Service and the Google Cloud Platform Subject to the Deprecation Policy documentation.
LAUNCH_STAGE_UNSPECIFIED
LAUNCH_STAGE_UNSPECIFIEDDo not use this default value.
UNIMPLEMENTED
UNIMPLEMENTEDThe feature is not yet implemented. Users can not use it.
PRELAUNCH
PRELAUNCHPrelaunch features are hidden from users and are only visible internally.
EARLY_ACCESS
EARLY_ACCESSEarly Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.
ALPHA
ALPHAAlpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.
BETA
BETABeta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.
GA
GAGA features are open to all developers and are considered stable and fully qualified for production use.
DEPRECATED
DEPRECATEDDeprecated features are scheduled to be shut down and removed. For more information, see the "Deprecation Policy" section of our Terms of Service and the Google Cloud Platform Subject to the Deprecation Policy documentation.
"LAUNCH_STAGE_UNSPECIFIED"
LAUNCH_STAGE_UNSPECIFIEDDo not use this default value.
"UNIMPLEMENTED"
UNIMPLEMENTEDThe feature is not yet implemented. Users can not use it.
"PRELAUNCH"
PRELAUNCHPrelaunch features are hidden from users and are only visible internally.
"EARLY_ACCESS"
EARLY_ACCESSEarly Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.
"ALPHA"
ALPHAAlpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.
"BETA"
BETABeta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.
"GA"
GAGA features are open to all developers and are considered stable and fully qualified for production use.
"DEPRECATED"
DEPRECATEDDeprecated features are scheduled to be shut down and removed. For more information, see the "Deprecation Policy" section of our Terms of Service and the Google Cloud Platform Subject to the Deprecation Policy documentation.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi