1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. cloudrunv2
  5. getService
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

gcp.cloudrunv2.getService

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

    Get information about a Google Cloud Run v2 Service. For more information see the official documentation and API.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const myService = gcp.cloudrunv2.getService({
        name: "my-service",
        location: "us-central1",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    my_service = gcp.cloudrunv2.get_service(name="my-service",
        location="us-central1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudrunv2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudrunv2.LookupService(ctx, &cloudrunv2.LookupServiceArgs{
    			Name:     "my-service",
    			Location: pulumi.StringRef("us-central1"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var myService = Gcp.CloudRunV2.GetService.Invoke(new()
        {
            Name = "my-service",
            Location = "us-central1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.cloudrunv2.Cloudrunv2Functions;
    import com.pulumi.gcp.cloudrunv2.inputs.GetServiceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var myService = Cloudrunv2Functions.getService(GetServiceArgs.builder()
                .name("my-service")
                .location("us-central1")
                .build());
    
        }
    }
    
    variables:
      myService:
        fn::invoke:
          Function: gcp:cloudrunv2:getService
          Arguments:
            name: my-service
            location: us-central1
    

    Using getService

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
    function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>
    def get_service(location: Optional[str] = None,
                    name: Optional[str] = None,
                    project: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetServiceResult
    def get_service_output(location: Optional[pulumi.Input[str]] = None,
                    name: Optional[pulumi.Input[str]] = None,
                    project: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]
    func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
    func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput

    > Note: This function is named LookupService in the Go SDK.

    public static class GetService 
    {
        public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: gcp:cloudrunv2/getService:getService
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the Cloud Run v2 Service.
    Location string
    The location of the instance. eg us-central1


    Project string
    The project in which the resource belongs. If it is not provided, the provider project is used.
    Name string
    The name of the Cloud Run v2 Service.
    Location string
    The location of the instance. eg us-central1


    Project string
    The project in which the resource belongs. If it is not provided, the provider project is used.
    name String
    The name of the Cloud Run v2 Service.
    location String
    The location of the instance. eg us-central1


    project String
    The project in which the resource belongs. If it is not provided, the provider project is used.
    name string
    The name of the Cloud Run v2 Service.
    location string
    The location of the instance. eg us-central1


    project string
    The project in which the resource belongs. If it is not provided, the provider project is used.
    name str
    The name of the Cloud Run v2 Service.
    location str
    The location of the instance. eg us-central1


    project str
    The project in which the resource belongs. If it is not provided, the provider project is used.
    name String
    The name of the Cloud Run v2 Service.
    location String
    The location of the instance. eg us-central1


    project String
    The project in which the resource belongs. If it is not provided, the provider project is used.

    getService Result

    The following output properties are available:

    Annotations Dictionary<string, string>
    BinaryAuthorizations List<GetServiceBinaryAuthorization>
    Client string
    ClientVersion string
    Conditions List<GetServiceCondition>
    CreateTime string
    Creator string
    CustomAudiences List<string>
    DefaultUriDisabled bool
    DeleteTime string
    DeletionProtection bool
    Description string
    EffectiveAnnotations Dictionary<string, string>
    EffectiveLabels Dictionary<string, string>
    Etag string
    ExpireTime string
    Generation string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ingress string
    InvokerIamDisabled bool
    Labels Dictionary<string, string>
    LastModifier string
    LatestCreatedRevision string
    LatestReadyRevision string
    LaunchStage string
    Name string
    ObservedGeneration string
    PulumiLabels Dictionary<string, string>
    Reconciling bool
    Scalings List<GetServiceScaling>
    Templates List<GetServiceTemplate>
    TerminalConditions List<GetServiceTerminalCondition>
    TrafficStatuses List<GetServiceTrafficStatus>
    Traffics List<GetServiceTraffic>
    Uid string
    UpdateTime string
    Uri string
    Location string
    Project string
    Annotations map[string]string
    BinaryAuthorizations []GetServiceBinaryAuthorization
    Client string
    ClientVersion string
    Conditions []GetServiceCondition
    CreateTime string
    Creator string
    CustomAudiences []string
    DefaultUriDisabled bool
    DeleteTime string
    DeletionProtection bool
    Description string
    EffectiveAnnotations map[string]string
    EffectiveLabels map[string]string
    Etag string
    ExpireTime string
    Generation string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ingress string
    InvokerIamDisabled bool
    Labels map[string]string
    LastModifier string
    LatestCreatedRevision string
    LatestReadyRevision string
    LaunchStage string
    Name string
    ObservedGeneration string
    PulumiLabels map[string]string
    Reconciling bool
    Scalings []GetServiceScaling
    Templates []GetServiceTemplate
    TerminalConditions []GetServiceTerminalCondition
    TrafficStatuses []GetServiceTrafficStatus
    Traffics []GetServiceTraffic
    Uid string
    UpdateTime string
    Uri string
    Location string
    Project string
    annotations Map<String,String>
    binaryAuthorizations List<GetServiceBinaryAuthorization>
    client String
    clientVersion String
    conditions List<GetServiceCondition>
    createTime String
    creator String
    customAudiences List<String>
    defaultUriDisabled Boolean
    deleteTime String
    deletionProtection Boolean
    description String
    effectiveAnnotations Map<String,String>
    effectiveLabels Map<String,String>
    etag String
    expireTime String
    generation String
    id String
    The provider-assigned unique ID for this managed resource.
    ingress String
    invokerIamDisabled Boolean
    labels Map<String,String>
    lastModifier String
    latestCreatedRevision String
    latestReadyRevision String
    launchStage String
    name String
    observedGeneration String
    pulumiLabels Map<String,String>
    reconciling Boolean
    scalings List<GetServiceScaling>
    templates List<GetServiceTemplate>
    terminalConditions List<GetServiceTerminalCondition>
    trafficStatuses List<GetServiceTrafficStatus>
    traffics List<GetServiceTraffic>
    uid String
    updateTime String
    uri String
    location String
    project String
    annotations {[key: string]: string}
    binaryAuthorizations GetServiceBinaryAuthorization[]
    client string
    clientVersion string
    conditions GetServiceCondition[]
    createTime string
    creator string
    customAudiences string[]
    defaultUriDisabled boolean
    deleteTime string
    deletionProtection boolean
    description string
    effectiveAnnotations {[key: string]: string}
    effectiveLabels {[key: string]: string}
    etag string
    expireTime string
    generation string
    id string
    The provider-assigned unique ID for this managed resource.
    ingress string
    invokerIamDisabled boolean
    labels {[key: string]: string}
    lastModifier string
    latestCreatedRevision string
    latestReadyRevision string
    launchStage string
    name string
    observedGeneration string
    pulumiLabels {[key: string]: string}
    reconciling boolean
    scalings GetServiceScaling[]
    templates GetServiceTemplate[]
    terminalConditions GetServiceTerminalCondition[]
    trafficStatuses GetServiceTrafficStatus[]
    traffics GetServiceTraffic[]
    uid string
    updateTime string
    uri string
    location string
    project string
    annotations Mapping[str, str]
    binary_authorizations Sequence[GetServiceBinaryAuthorization]
    client str
    client_version str
    conditions Sequence[GetServiceCondition]
    create_time str
    creator str
    custom_audiences Sequence[str]
    default_uri_disabled bool
    delete_time str
    deletion_protection bool
    description str
    effective_annotations Mapping[str, str]
    effective_labels Mapping[str, str]
    etag str
    expire_time str
    generation str
    id str
    The provider-assigned unique ID for this managed resource.
    ingress str
    invoker_iam_disabled bool
    labels Mapping[str, str]
    last_modifier str
    latest_created_revision str
    latest_ready_revision str
    launch_stage str
    name str
    observed_generation str
    pulumi_labels Mapping[str, str]
    reconciling bool
    scalings Sequence[GetServiceScaling]
    templates Sequence[GetServiceTemplate]
    terminal_conditions Sequence[GetServiceTerminalCondition]
    traffic_statuses Sequence[GetServiceTrafficStatus]
    traffics Sequence[GetServiceTraffic]
    uid str
    update_time str
    uri str
    location str
    project str
    annotations Map<String>
    binaryAuthorizations List<Property Map>
    client String
    clientVersion String
    conditions List<Property Map>
    createTime String
    creator String
    customAudiences List<String>
    defaultUriDisabled Boolean
    deleteTime String
    deletionProtection Boolean
    description String
    effectiveAnnotations Map<String>
    effectiveLabels Map<String>
    etag String
    expireTime String
    generation String
    id String
    The provider-assigned unique ID for this managed resource.
    ingress String
    invokerIamDisabled Boolean
    labels Map<String>
    lastModifier String
    latestCreatedRevision String
    latestReadyRevision String
    launchStage String
    name String
    observedGeneration String
    pulumiLabels Map<String>
    reconciling Boolean
    scalings List<Property Map>
    templates List<Property Map>
    terminalConditions List<Property Map>
    trafficStatuses List<Property Map>
    traffics List<Property Map>
    uid String
    updateTime String
    uri String
    location String
    project String

    Supporting Types

    GetServiceBinaryAuthorization

    BreakglassJustification string
    If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
    Policy string
    The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
    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 useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
    Policy string
    The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
    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 useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
    policy String
    The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
    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 useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
    policy string
    The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
    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 useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
    policy str
    The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
    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 useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
    policy String
    The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
    useDefault Boolean
    If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.

    GetServiceCondition

    ExecutionReason string
    A reason for the execution condition.
    LastTransitionTime string

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    Message string
    Human readable message indicating details about the current status.
    Reason string
    A common (service-level) reason for this condition.
    RevisionReason string
    A reason for the revision condition.
    Severity string
    How to interpret failures of this condition, one of Error, Warning, Info
    State string
    State of the condition.
    Type 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 string
    A reason for the execution condition.
    LastTransitionTime string

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    Message string
    Human readable message indicating details about the current status.
    Reason string
    A common (service-level) reason for this condition.
    RevisionReason string
    A reason for the revision condition.
    Severity string
    How to interpret failures of this condition, one of Error, Warning, Info
    State string
    State of the condition.
    Type 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 String
    A reason for the execution condition.
    lastTransitionTime String

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    message String
    Human readable message indicating details about the current status.
    reason String
    A common (service-level) reason for this condition.
    revisionReason String
    A reason for the revision condition.
    severity String
    How to interpret failures of this condition, one of Error, Warning, Info
    state String
    State of the condition.
    type 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 string
    A reason for the execution condition.
    lastTransitionTime string

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    message string
    Human readable message indicating details about the current status.
    reason string
    A common (service-level) reason for this condition.
    revisionReason string
    A reason for the revision condition.
    severity string
    How to interpret failures of this condition, one of Error, Warning, Info
    state string
    State of the condition.
    type 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 str
    A reason for the execution condition.
    last_transition_time str

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    message str
    Human readable message indicating details about the current status.
    reason str
    A common (service-level) reason for this condition.
    revision_reason str
    A reason for the revision condition.
    severity str
    How to interpret failures of this condition, one of Error, Warning, Info
    state str
    State of the condition.
    type 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 String
    A reason for the execution condition.
    lastTransitionTime String

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    message String
    Human readable message indicating details about the current status.
    reason String
    A common (service-level) reason for this condition.
    revisionReason String
    A reason for the revision condition.
    severity String
    How to interpret failures of this condition, one of Error, Warning, Info
    state String
    State of the condition.
    type 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.

    GetServiceScaling

    MinInstanceCount int
    Minimum number of instances for the service, to be divided among all revisions receiving traffic.
    MinInstanceCount int
    Minimum number of instances for the service, to be divided among all revisions receiving traffic.
    minInstanceCount Integer
    Minimum number of instances for the service, to be divided among all revisions receiving traffic.
    minInstanceCount number
    Minimum number of instances for the service, to be divided among all revisions receiving traffic.
    min_instance_count int
    Minimum number of instances for the service, to be divided among all revisions receiving traffic.
    minInstanceCount Number
    Minimum number of instances for the service, to be divided among all revisions receiving traffic.

    GetServiceTemplate

    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<GetServiceTemplateContainer>
    Holds the containers that define the unit of execution for this Service.
    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 string
    The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
    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. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
    NodeSelectors List<GetServiceTemplateNodeSelector>
    Node Selector describes the hardware requirements of the resources.
    Revision string
    The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
    Scalings List<GetServiceTemplateScaling>
    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.
    ServiceMeshes List<GetServiceTemplateServiceMesh>
    Enables Cloud Service Mesh for this Revision.
    SessionAffinity bool
    Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
    Timeout string

    Max allowed time for an instance to respond to a request.

    A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

    Volumes List<GetServiceTemplateVolume>
    A list of Volumes to make available to containers.
    VpcAccesses List<GetServiceTemplateVpcAccess>
    VPC Access configuration to use for this Task. 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 []GetServiceTemplateContainer
    Holds the containers that define the unit of execution for this Service.
    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 string
    The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
    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. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
    NodeSelectors []GetServiceTemplateNodeSelector
    Node Selector describes the hardware requirements of the resources.
    Revision string
    The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
    Scalings []GetServiceTemplateScaling
    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.
    ServiceMeshes []GetServiceTemplateServiceMesh
    Enables Cloud Service Mesh for this Revision.
    SessionAffinity bool
    Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
    Timeout string

    Max allowed time for an instance to respond to a request.

    A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

    Volumes []GetServiceTemplateVolume
    A list of Volumes to make available to containers.
    VpcAccesses []GetServiceTemplateVpcAccess
    VPC Access configuration to use for this Task. 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<GetServiceTemplateContainer>
    Holds the containers that define the unit of execution for this Service.
    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 String
    The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
    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. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
    nodeSelectors List<GetServiceTemplateNodeSelector>
    Node Selector describes the hardware requirements of the resources.
    revision String
    The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
    scalings List<GetServiceTemplateScaling>
    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.
    serviceMeshes List<GetServiceTemplateServiceMesh>
    Enables Cloud Service Mesh for this Revision.
    sessionAffinity Boolean
    Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
    timeout String

    Max allowed time for an instance to respond to a request.

    A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

    volumes List<GetServiceTemplateVolume>
    A list of Volumes to make available to containers.
    vpcAccesses List<GetServiceTemplateVpcAccess>
    VPC Access configuration to use for this Task. 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 GetServiceTemplateContainer[]
    Holds the containers that define the unit of execution for this Service.
    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 string
    The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
    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. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
    nodeSelectors GetServiceTemplateNodeSelector[]
    Node Selector describes the hardware requirements of the resources.
    revision string
    The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
    scalings GetServiceTemplateScaling[]
    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.
    serviceMeshes GetServiceTemplateServiceMesh[]
    Enables Cloud Service Mesh for this Revision.
    sessionAffinity boolean
    Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
    timeout string

    Max allowed time for an instance to respond to a request.

    A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

    volumes GetServiceTemplateVolume[]
    A list of Volumes to make available to containers.
    vpcAccesses GetServiceTemplateVpcAccess[]
    VPC Access configuration to use for this Task. 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[GetServiceTemplateContainer]
    Holds the containers that define the unit of execution for this Service.
    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 str
    The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
    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. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
    node_selectors Sequence[GetServiceTemplateNodeSelector]
    Node Selector describes the hardware requirements of the resources.
    revision str
    The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
    scalings Sequence[GetServiceTemplateScaling]
    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.
    service_meshes Sequence[GetServiceTemplateServiceMesh]
    Enables Cloud Service Mesh for this Revision.
    session_affinity bool
    Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
    timeout str

    Max allowed time for an instance to respond to a request.

    A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

    volumes Sequence[GetServiceTemplateVolume]
    A list of Volumes to make available to containers.
    vpc_accesses Sequence[GetServiceTemplateVpcAccess]
    VPC Access configuration to use for this Task. 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 containers that define the unit of execution for this Service.
    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 String
    The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
    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. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
    nodeSelectors List<Property Map>
    Node Selector describes the hardware requirements of the resources.
    revision String
    The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
    scalings List<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.
    serviceMeshes List<Property Map>
    Enables Cloud Service Mesh for this Revision.
    sessionAffinity Boolean
    Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
    timeout String

    Max allowed time for an instance to respond to a request.

    A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

    volumes List<Property Map>
    A list of Volumes to make available to containers.
    vpcAccesses List<Property Map>
    VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.

    GetServiceTemplateContainer

    Args List<string>
    Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
    Commands List<string>
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. 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. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    DependsOns List<string>
    Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
    Envs List<GetServiceTemplateContainerEnv>
    List of environment variables to set in the container.
    Image string
    URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    LivenessProbes List<GetServiceTemplateContainerLivenessProbe>
    Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    Name string
    The name of the Cloud Run v2 Service.
    Ports List<GetServiceTemplateContainerPort>

    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 List<GetServiceTemplateContainerResource>
    Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
    StartupProbes List<GetServiceTemplateContainerStartupProbe>
    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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    VolumeMounts List<GetServiceTemplateContainerVolumeMount>
    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.
    Args []string
    Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
    Commands []string
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. 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. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    DependsOns []string
    Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
    Envs []GetServiceTemplateContainerEnv
    List of environment variables to set in the container.
    Image string
    URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    LivenessProbes []GetServiceTemplateContainerLivenessProbe
    Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    Name string
    The name of the Cloud Run v2 Service.
    Ports []GetServiceTemplateContainerPort

    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 []GetServiceTemplateContainerResource
    Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
    StartupProbes []GetServiceTemplateContainerStartupProbe
    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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    VolumeMounts []GetServiceTemplateContainerVolumeMount
    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.
    args List<String>
    Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
    commands List<String>
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. 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. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    dependsOns List<String>
    Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
    envs List<GetServiceTemplateContainerEnv>
    List of environment variables to set in the container.
    image String
    URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    livenessProbes List<GetServiceTemplateContainerLivenessProbe>
    Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    name String
    The name of the Cloud Run v2 Service.
    ports List<GetServiceTemplateContainerPort>

    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 List<GetServiceTemplateContainerResource>
    Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
    startupProbes List<GetServiceTemplateContainerStartupProbe>
    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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    volumeMounts List<GetServiceTemplateContainerVolumeMount>
    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.
    args string[]
    Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
    commands string[]
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. 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. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    dependsOns string[]
    Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
    envs GetServiceTemplateContainerEnv[]
    List of environment variables to set in the container.
    image string
    URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    livenessProbes GetServiceTemplateContainerLivenessProbe[]
    Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    name string
    The name of the Cloud Run v2 Service.
    ports GetServiceTemplateContainerPort[]

    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 GetServiceTemplateContainerResource[]
    Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
    startupProbes GetServiceTemplateContainerStartupProbe[]
    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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    volumeMounts GetServiceTemplateContainerVolumeMount[]
    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.
    args Sequence[str]
    Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
    commands Sequence[str]
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. 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. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    depends_ons Sequence[str]
    Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
    envs Sequence[GetServiceTemplateContainerEnv]
    List of environment variables to set in the container.
    image str
    URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    liveness_probes Sequence[GetServiceTemplateContainerLivenessProbe]
    Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    name str
    The name of the Cloud Run v2 Service.
    ports Sequence[GetServiceTemplateContainerPort]

    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 Sequence[GetServiceTemplateContainerResource]
    Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
    startup_probes Sequence[GetServiceTemplateContainerStartupProbe]
    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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    volume_mounts Sequence[GetServiceTemplateContainerVolumeMount]
    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.
    args List<String>
    Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
    commands List<String>
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. 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. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    dependsOns List<String>
    Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
    envs List<Property Map>
    List of environment variables to set in the container.
    image String
    URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    livenessProbes List<Property Map>
    Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    name String
    The name of the Cloud Run v2 Service.
    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 List<Property Map>
    Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
    startupProbes List<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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    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.

    GetServiceTemplateContainerEnv

    Name string
    The name of the Cloud Run v2 Service.
    Value string
    Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
    ValueSources List<GetServiceTemplateContainerEnvValueSource>
    Source for the environment variable's value.
    Name string
    The name of the Cloud Run v2 Service.
    Value string
    Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
    ValueSources []GetServiceTemplateContainerEnvValueSource
    Source for the environment variable's value.
    name String
    The name of the Cloud Run v2 Service.
    value String
    Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
    valueSources List<GetServiceTemplateContainerEnvValueSource>
    Source for the environment variable's value.
    name string
    The name of the Cloud Run v2 Service.
    value string
    Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
    valueSources GetServiceTemplateContainerEnvValueSource[]
    Source for the environment variable's value.
    name str
    The name of the Cloud Run v2 Service.
    value str
    Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
    value_sources Sequence[GetServiceTemplateContainerEnvValueSource]
    Source for the environment variable's value.
    name String
    The name of the Cloud Run v2 Service.
    value String
    Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
    valueSources List<Property Map>
    Source for the environment variable's value.

    GetServiceTemplateContainerEnvValueSource

    SecretKeyReves List<GetServiceTemplateContainerEnvValueSourceSecretKeyRef>
    Selects a secret and a specific version from Cloud Secret Manager.
    SecretKeyReves []GetServiceTemplateContainerEnvValueSourceSecretKeyRef
    Selects a secret and a specific version from Cloud Secret Manager.
    secretKeyReves List<GetServiceTemplateContainerEnvValueSourceSecretKeyRef>
    Selects a secret and a specific version from Cloud Secret Manager.
    secretKeyReves GetServiceTemplateContainerEnvValueSourceSecretKeyRef[]
    Selects a secret and a specific version from Cloud Secret Manager.
    secret_key_reves Sequence[GetServiceTemplateContainerEnvValueSourceSecretKeyRef]
    Selects a secret and a specific version from Cloud Secret Manager.
    secretKeyReves List<Property Map>
    Selects a secret and a specific version from Cloud Secret Manager.

    GetServiceTemplateContainerEnvValueSourceSecretKeyRef

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

    GetServiceTemplateContainerLivenessProbe

    FailureThreshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    Grpcs List<GetServiceTemplateContainerLivenessProbeGrpc>
    GRPC specifies an action involving a GRPC port.
    HttpGets List<GetServiceTemplateContainerLivenessProbeHttpGet>
    HTTPGet specifies the http request to perform.
    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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    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 timeoutSeconds
    TcpSockets List<GetServiceTemplateContainerLivenessProbeTcpSocket>
    TCPSocketAction describes an action based on opening a socket
    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 periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    FailureThreshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    Grpcs []GetServiceTemplateContainerLivenessProbeGrpc
    GRPC specifies an action involving a GRPC port.
    HttpGets []GetServiceTemplateContainerLivenessProbeHttpGet
    HTTPGet specifies the http request to perform.
    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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    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 timeoutSeconds
    TcpSockets []GetServiceTemplateContainerLivenessProbeTcpSocket
    TCPSocketAction describes an action based on opening a socket
    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 periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    failureThreshold Integer
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    grpcs List<GetServiceTemplateContainerLivenessProbeGrpc>
    GRPC specifies an action involving a GRPC port.
    httpGets List<GetServiceTemplateContainerLivenessProbeHttpGet>
    HTTPGet specifies the http request to perform.
    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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    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 timeoutSeconds
    tcpSockets List<GetServiceTemplateContainerLivenessProbeTcpSocket>
    TCPSocketAction describes an action based on opening a socket
    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 periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    failureThreshold number
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    grpcs GetServiceTemplateContainerLivenessProbeGrpc[]
    GRPC specifies an action involving a GRPC port.
    httpGets GetServiceTemplateContainerLivenessProbeHttpGet[]
    HTTPGet specifies the http request to perform.
    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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    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 timeoutSeconds
    tcpSockets GetServiceTemplateContainerLivenessProbeTcpSocket[]
    TCPSocketAction describes an action based on opening a socket
    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 periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    failure_threshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    grpcs Sequence[GetServiceTemplateContainerLivenessProbeGrpc]
    GRPC specifies an action involving a GRPC port.
    http_gets Sequence[GetServiceTemplateContainerLivenessProbeHttpGet]
    HTTPGet specifies the http request to perform.
    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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    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 timeoutSeconds
    tcp_sockets Sequence[GetServiceTemplateContainerLivenessProbeTcpSocket]
    TCPSocketAction describes an action based on opening a socket
    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 periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    failureThreshold Number
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    grpcs List<Property Map>
    GRPC specifies an action involving a GRPC port.
    httpGets List<Property Map>
    HTTPGet specifies the http request to perform.
    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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    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 timeoutSeconds
    tcpSockets List<Property Map>
    TCPSocketAction describes an action based on opening a socket
    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 periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

    GetServiceTemplateContainerLivenessProbeGrpc

    Port int
    Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    Service string
    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 to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    Service string
    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 to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    service String
    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 to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    service string
    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 to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    service str
    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 to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    service String
    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.

    GetServiceTemplateContainerLivenessProbeHttpGet

    HttpHeaders List<GetServiceTemplateContainerLivenessProbeHttpGetHttpHeader>
    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. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    HttpHeaders []GetServiceTemplateContainerLivenessProbeHttpGetHttpHeader
    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. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    httpHeaders List<GetServiceTemplateContainerLivenessProbeHttpGetHttpHeader>
    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. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    httpHeaders GetServiceTemplateContainerLivenessProbeHttpGetHttpHeader[]
    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. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    http_headers Sequence[GetServiceTemplateContainerLivenessProbeHttpGetHttpHeader]
    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. Number must be in the range 1 to 65535. If not specified, defaults to the same value as 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. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

    GetServiceTemplateContainerLivenessProbeHttpGetHttpHeader

    Name string
    The name of the Cloud Run v2 Service.
    Value string
    The header field value
    Name string
    The name of the Cloud Run v2 Service.
    Value string
    The header field value
    name String
    The name of the Cloud Run v2 Service.
    value String
    The header field value
    name string
    The name of the Cloud Run v2 Service.
    value string
    The header field value
    name str
    The name of the Cloud Run v2 Service.
    value str
    The header field value
    name String
    The name of the Cloud Run v2 Service.
    value String
    The header field value

    GetServiceTemplateContainerLivenessProbeTcpSocket

    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.

    GetServiceTemplateContainerPort

    ContainerPort int
    Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
    Name string
    The name of the Cloud Run v2 Service.
    ContainerPort int
    Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
    Name string
    The name of the Cloud Run v2 Service.
    containerPort Integer
    Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
    name String
    The name of the Cloud Run v2 Service.
    containerPort number
    Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
    name string
    The name of the Cloud Run v2 Service.
    container_port int
    Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
    name str
    The name of the Cloud Run v2 Service.
    containerPort Number
    Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
    name String
    The name of the Cloud Run v2 Service.

    GetServiceTemplateContainerResource

    CpuIdle bool
    Determines whether CPU is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
    Limits Dictionary<string, string>
    Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    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 is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
    Limits map[string]string
    Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    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 is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
    limits Map<String,String>
    Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    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 is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
    limits {[key: string]: string}
    Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    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 is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
    limits Mapping[str, str]
    Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    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 is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
    limits Map<String>
    Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    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.

    GetServiceTemplateContainerStartupProbe

    FailureThreshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    Grpcs List<GetServiceTemplateContainerStartupProbeGrpc>
    GRPC specifies an action involving a GRPC port.
    HttpGets List<GetServiceTemplateContainerStartupProbeHttpGet>
    HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket 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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    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 timeoutSeconds
    TcpSockets List<GetServiceTemplateContainerStartupProbeTcpSocket>
    TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket 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 periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    FailureThreshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    Grpcs []GetServiceTemplateContainerStartupProbeGrpc
    GRPC specifies an action involving a GRPC port.
    HttpGets []GetServiceTemplateContainerStartupProbeHttpGet
    HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket 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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    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 timeoutSeconds
    TcpSockets []GetServiceTemplateContainerStartupProbeTcpSocket
    TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket 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 periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    failureThreshold Integer
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    grpcs List<GetServiceTemplateContainerStartupProbeGrpc>
    GRPC specifies an action involving a GRPC port.
    httpGets List<GetServiceTemplateContainerStartupProbeHttpGet>
    HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket 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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    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 timeoutSeconds
    tcpSockets List<GetServiceTemplateContainerStartupProbeTcpSocket>
    TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket 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 periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    failureThreshold number
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    grpcs GetServiceTemplateContainerStartupProbeGrpc[]
    GRPC specifies an action involving a GRPC port.
    httpGets GetServiceTemplateContainerStartupProbeHttpGet[]
    HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket 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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    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 timeoutSeconds
    tcpSockets GetServiceTemplateContainerStartupProbeTcpSocket[]
    TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket 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 periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    failure_threshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    grpcs Sequence[GetServiceTemplateContainerStartupProbeGrpc]
    GRPC specifies an action involving a GRPC port.
    http_gets Sequence[GetServiceTemplateContainerStartupProbeHttpGet]
    HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket 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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    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 timeoutSeconds
    tcp_sockets Sequence[GetServiceTemplateContainerStartupProbeTcpSocket]
    TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket 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 periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    failureThreshold Number
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    grpcs List<Property Map>
    GRPC specifies an action involving a GRPC port.
    httpGets List<Property Map>
    HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket 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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
    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 timeoutSeconds
    tcpSockets List<Property Map>
    TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket 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 periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

    GetServiceTemplateContainerStartupProbeGrpc

    Port int
    Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    Service string
    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 to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    Service string
    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 to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    service String
    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 to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    service string
    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 to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    service str
    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 to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
    service String
    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.

    GetServiceTemplateContainerStartupProbeHttpGet

    HttpHeaders List<GetServiceTemplateContainerStartupProbeHttpGetHttpHeader>
    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 same value as container.ports[0].containerPort.
    HttpHeaders []GetServiceTemplateContainerStartupProbeHttpGetHttpHeader
    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 same value as container.ports[0].containerPort.
    httpHeaders List<GetServiceTemplateContainerStartupProbeHttpGetHttpHeader>
    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 same value as container.ports[0].containerPort.
    httpHeaders GetServiceTemplateContainerStartupProbeHttpGetHttpHeader[]
    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 same value as container.ports[0].containerPort.
    http_headers Sequence[GetServiceTemplateContainerStartupProbeHttpGetHttpHeader]
    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 same value as 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 same value as container.ports[0].containerPort.

    GetServiceTemplateContainerStartupProbeHttpGetHttpHeader

    Name string
    The name of the Cloud Run v2 Service.
    Value string
    The header field value
    Name string
    The name of the Cloud Run v2 Service.
    Value string
    The header field value
    name String
    The name of the Cloud Run v2 Service.
    value String
    The header field value
    name string
    The name of the Cloud Run v2 Service.
    value string
    The header field value
    name str
    The name of the Cloud Run v2 Service.
    value str
    The header field value
    name String
    The name of the Cloud Run v2 Service.
    value String
    The header field value

    GetServiceTemplateContainerStartupProbeTcpSocket

    Port int
    Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as 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 same value as 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 same value as 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 same value as 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 same value as 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 same value as container.ports[0].containerPort.

    GetServiceTemplateContainerVolumeMount

    MountPath 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 string
    The name of the Cloud Run v2 Service.
    MountPath 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 string
    The name of the Cloud Run v2 Service.
    mountPath 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 String
    The name of the Cloud Run v2 Service.
    mountPath 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 string
    The name of the Cloud Run v2 Service.
    mount_path 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 str
    The name of the Cloud Run v2 Service.
    mountPath 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 String
    The name of the Cloud Run v2 Service.

    GetServiceTemplateNodeSelector

    Accelerator string
    The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
    Accelerator string
    The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
    accelerator String
    The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
    accelerator string
    The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
    accelerator str
    The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
    accelerator String
    The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.

    GetServiceTemplateScaling

    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.

    GetServiceTemplateServiceMesh

    Mesh string
    The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
    Mesh string
    The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
    mesh String
    The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
    mesh string
    The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
    mesh str
    The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
    mesh String
    The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.

    GetServiceTemplateVolume

    CloudSqlInstances List<GetServiceTemplateVolumeCloudSqlInstance>
    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.
    EmptyDirs List<GetServiceTemplateVolumeEmptyDir>
    Ephemeral storage used as a shared volume.
    Gcs List<GetServiceTemplateVolumeGc>
    Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
    Name string
    The name of the Cloud Run v2 Service.
    Nfs List<GetServiceTemplateVolumeNf>
    Represents an NFS mount.
    Secrets List<GetServiceTemplateVolumeSecret>
    Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
    CloudSqlInstances []GetServiceTemplateVolumeCloudSqlInstance
    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.
    EmptyDirs []GetServiceTemplateVolumeEmptyDir
    Ephemeral storage used as a shared volume.
    Gcs []GetServiceTemplateVolumeGc
    Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
    Name string
    The name of the Cloud Run v2 Service.
    Nfs []GetServiceTemplateVolumeNf
    Represents an NFS mount.
    Secrets []GetServiceTemplateVolumeSecret
    Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
    cloudSqlInstances List<GetServiceTemplateVolumeCloudSqlInstance>
    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.
    emptyDirs List<GetServiceTemplateVolumeEmptyDir>
    Ephemeral storage used as a shared volume.
    gcs List<GetServiceTemplateVolumeGc>
    Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
    name String
    The name of the Cloud Run v2 Service.
    nfs List<GetServiceTemplateVolumeNf>
    Represents an NFS mount.
    secrets List<GetServiceTemplateVolumeSecret>
    Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
    cloudSqlInstances GetServiceTemplateVolumeCloudSqlInstance[]
    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.
    emptyDirs GetServiceTemplateVolumeEmptyDir[]
    Ephemeral storage used as a shared volume.
    gcs GetServiceTemplateVolumeGc[]
    Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
    name string
    The name of the Cloud Run v2 Service.
    nfs GetServiceTemplateVolumeNf[]
    Represents an NFS mount.
    secrets GetServiceTemplateVolumeSecret[]
    Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
    cloud_sql_instances Sequence[GetServiceTemplateVolumeCloudSqlInstance]
    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_dirs Sequence[GetServiceTemplateVolumeEmptyDir]
    Ephemeral storage used as a shared volume.
    gcs Sequence[GetServiceTemplateVolumeGc]
    Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
    name str
    The name of the Cloud Run v2 Service.
    nfs Sequence[GetServiceTemplateVolumeNf]
    Represents an NFS mount.
    secrets Sequence[GetServiceTemplateVolumeSecret]
    Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
    cloudSqlInstances List<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.
    emptyDirs List<Property Map>
    Ephemeral storage used as a shared volume.
    gcs List<Property Map>
    Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
    name String
    The name of the Cloud Run v2 Service.
    nfs List<Property Map>
    Represents an NFS mount.
    secrets List<Property Map>
    Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret

    GetServiceTemplateVolumeCloudSqlInstance

    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}

    GetServiceTemplateVolumeEmptyDir

    Medium string
    The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
    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 in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
    Medium string
    The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
    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 in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
    medium String
    The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
    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 in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
    medium string
    The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
    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 in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
    medium str
    The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
    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 in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
    medium String
    The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
    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 in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.

    GetServiceTemplateVolumeGc

    Bucket string
    GCS Bucket name
    MountOptions List<string>
    A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
    ReadOnly bool
    If true, mount the GCS bucket as read-only
    Bucket string
    GCS Bucket name
    MountOptions []string
    A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
    ReadOnly bool
    If true, mount the GCS bucket as read-only
    bucket String
    GCS Bucket name
    mountOptions List<String>
    A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
    readOnly Boolean
    If true, mount the GCS bucket as read-only
    bucket string
    GCS Bucket name
    mountOptions string[]
    A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
    readOnly boolean
    If true, mount the GCS bucket as read-only
    bucket str
    GCS Bucket name
    mount_options Sequence[str]
    A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
    read_only bool
    If true, mount the GCS bucket as read-only
    bucket String
    GCS Bucket name
    mountOptions List<String>
    A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
    readOnly Boolean
    If true, mount the GCS bucket as read-only

    GetServiceTemplateVolumeNf

    Path string
    Path that is exported by the NFS server.
    ReadOnly bool
    If true, mount the NFS volume as read only
    Server string
    Hostname or IP address of the NFS server
    Path string
    Path that is exported by the NFS server.
    ReadOnly bool
    If true, mount the NFS volume as read only
    Server string
    Hostname or IP address of the NFS server
    path String
    Path that is exported by the NFS server.
    readOnly Boolean
    If true, mount the NFS volume as read only
    server String
    Hostname or IP address of the NFS server
    path string
    Path that is exported by the NFS server.
    readOnly boolean
    If true, mount the NFS volume as read only
    server string
    Hostname or IP address of the NFS server
    path str
    Path that is exported by the NFS server.
    read_only bool
    If true, mount the NFS volume as read only
    server str
    Hostname or IP address of the NFS server
    path String
    Path that is exported by the NFS server.
    readOnly Boolean
    If true, mount the NFS volume as read only
    server String
    Hostname or IP address of the NFS server

    GetServiceTemplateVolumeSecret

    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.
    Items List<GetServiceTemplateVolumeSecretItem>
    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 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.
    Items []GetServiceTemplateVolumeSecretItem
    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 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.
    items List<GetServiceTemplateVolumeSecretItem>
    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 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.
    items GetServiceTemplateVolumeSecretItem[]
    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 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 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.
    items Sequence[GetServiceTemplateVolumeSecretItem]
    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 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 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.
    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.
    secret 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.

    GetServiceTemplateVolumeSecretItem

    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.
    Path string
    The relative path of the secret in the container.
    Version string
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
    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.
    Path string
    The relative path of the secret in the container.
    Version string
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
    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.
    path String
    The relative path of the secret in the container.
    version String
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
    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.
    path string
    The relative path of the secret in the container.
    version string
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
    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.
    path str
    The relative path of the secret in the container.
    version str
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
    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.
    path String
    The relative path of the secret in the container.
    version String
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version

    GetServiceTemplateVpcAccess

    Connector string
    VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
    Egress string
    Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
    NetworkInterfaces List<GetServiceTemplateVpcAccessNetworkInterface>
    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.
    Egress string
    Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
    NetworkInterfaces []GetServiceTemplateVpcAccessNetworkInterface
    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.
    egress String
    Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
    networkInterfaces List<GetServiceTemplateVpcAccessNetworkInterface>
    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.
    egress string
    Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
    networkInterfaces GetServiceTemplateVpcAccessNetworkInterface[]
    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.
    egress str
    Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
    network_interfaces Sequence[GetServiceTemplateVpcAccessNetworkInterface]
    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.
    egress String
    Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
    networkInterfaces List<Property Map>
    Direct VPC egress settings. Currently only single network interface is supported.

    GetServiceTemplateVpcAccessNetworkInterface

    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 service.
    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 service.
    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 service.
    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 service.
    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 service.
    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 service.

    GetServiceTerminalCondition

    ExecutionReason string
    A reason for the execution condition.
    LastTransitionTime string
    Last time the condition transitioned from one status to another.
    Message string
    Human readable message indicating details about the current status.
    Reason string
    A common (service-level) reason for this condition.
    RevisionReason string
    A reason for the revision condition.
    Severity string
    How to interpret failures of this condition, one of Error, Warning, Info
    State string
    State of the condition.
    Type 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 string
    A reason for the execution condition.
    LastTransitionTime string
    Last time the condition transitioned from one status to another.
    Message string
    Human readable message indicating details about the current status.
    Reason string
    A common (service-level) reason for this condition.
    RevisionReason string
    A reason for the revision condition.
    Severity string
    How to interpret failures of this condition, one of Error, Warning, Info
    State string
    State of the condition.
    Type 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 String
    A reason for the execution condition.
    lastTransitionTime String
    Last time the condition transitioned from one status to another.
    message String
    Human readable message indicating details about the current status.
    reason String
    A common (service-level) reason for this condition.
    revisionReason String
    A reason for the revision condition.
    severity String
    How to interpret failures of this condition, one of Error, Warning, Info
    state String
    State of the condition.
    type 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 string
    A reason for the execution condition.
    lastTransitionTime string
    Last time the condition transitioned from one status to another.
    message string
    Human readable message indicating details about the current status.
    reason string
    A common (service-level) reason for this condition.
    revisionReason string
    A reason for the revision condition.
    severity string
    How to interpret failures of this condition, one of Error, Warning, Info
    state string
    State of the condition.
    type 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 str
    A reason for the execution condition.
    last_transition_time str
    Last time the condition transitioned from one status to another.
    message str
    Human readable message indicating details about the current status.
    reason str
    A common (service-level) reason for this condition.
    revision_reason str
    A reason for the revision condition.
    severity str
    How to interpret failures of this condition, one of Error, Warning, Info
    state str
    State of the condition.
    type 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 String
    A reason for the execution condition.
    lastTransitionTime String
    Last time the condition transitioned from one status to another.
    message String
    Human readable message indicating details about the current status.
    reason String
    A common (service-level) reason for this condition.
    revisionReason String
    A reason for the revision condition.
    severity String
    How to interpret failures of this condition, one of Error, Warning, Info
    state String
    State of the condition.
    type 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.

    GetServiceTraffic

    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 string
    The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
    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 string
    The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
    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 String
    The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
    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 string
    The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
    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 str
    The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
    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 String
    The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]

    GetServiceTrafficStatus

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

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi