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

gcp.cloudrun.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 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 run-service = gcp.cloudrun.getService({
        name: "my-service",
        location: "us-central1",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    run_service = gcp.cloudrun.get_service(name="my-service",
        location="us-central1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudrun"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudrun.LookupService(ctx, &cloudrun.LookupServiceArgs{
    			Name:     "my-service",
    			Location: "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 run_service = Gcp.CloudRun.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.cloudrun.CloudrunFunctions;
    import com.pulumi.gcp.cloudrun.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 run-service = CloudrunFunctions.getService(GetServiceArgs.builder()
                .name("my-service")
                .location("us-central1")
                .build());
    
        }
    }
    
    variables:
      run-service:
        fn::invoke:
          Function: gcp:cloudrun: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:cloudrun/getService:getService
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    The location of the cloud run instance. eg us-central1


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


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


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


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


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


    name String
    The name of the Cloud Run Service.
    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:

    Supporting Types

    GetServiceMetadata

    Annotations Dictionary<string, string>
    EffectiveAnnotations Dictionary<string, string>
    EffectiveLabels Dictionary<string, string>
    Generation int
    A sequence number representing a specific generation of the desired state.
    Labels Dictionary<string, string>

    Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

    Namespace string
    In Cloud Run the namespace must be equal to either the project ID or project number.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    ResourceVersion string
    An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
    SelfLink string
    SelfLink is a URL representing this object.
    Uid string
    UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
    Annotations map[string]string
    EffectiveAnnotations map[string]string
    EffectiveLabels map[string]string
    Generation int
    A sequence number representing a specific generation of the desired state.
    Labels map[string]string

    Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

    Namespace string
    In Cloud Run the namespace must be equal to either the project ID or project number.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    ResourceVersion string
    An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
    SelfLink string
    SelfLink is a URL representing this object.
    Uid string
    UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
    annotations Map<String,String>
    effectiveAnnotations Map<String,String>
    effectiveLabels Map<String,String>
    generation Integer
    A sequence number representing a specific generation of the desired state.
    labels Map<String,String>

    Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

    namespace String
    In Cloud Run the namespace must be equal to either the project ID or project number.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    resourceVersion String
    An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
    selfLink String
    SelfLink is a URL representing this object.
    uid String
    UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
    annotations {[key: string]: string}
    effectiveAnnotations {[key: string]: string}
    effectiveLabels {[key: string]: string}
    generation number
    A sequence number representing a specific generation of the desired state.
    labels {[key: string]: string}

    Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

    namespace string
    In Cloud Run the namespace must be equal to either the project ID or project number.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    resourceVersion string
    An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
    selfLink string
    SelfLink is a URL representing this object.
    uid string
    UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
    annotations Mapping[str, str]
    effective_annotations Mapping[str, str]
    effective_labels Mapping[str, str]
    generation int
    A sequence number representing a specific generation of the desired state.
    labels Mapping[str, str]

    Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

    namespace str
    In Cloud Run the namespace must be equal to either the project ID or project number.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    resource_version str
    An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
    self_link str
    SelfLink is a URL representing this object.
    uid str
    UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
    annotations Map<String>
    effectiveAnnotations Map<String>
    effectiveLabels Map<String>
    generation Number
    A sequence number representing a specific generation of the desired state.
    labels Map<String>

    Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

    namespace String
    In Cloud Run the namespace must be equal to either the project ID or project number.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    resourceVersion String
    An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
    selfLink String
    SelfLink is a URL representing this object.
    uid String
    UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.

    GetServiceStatus

    Conditions List<GetServiceStatusCondition>
    Array of observed Service Conditions, indicating the current ready state of the service.
    LatestCreatedRevisionName string
    From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.
    LatestReadyRevisionName string
    From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision stamped out from this Service's Configuration that has had its "Ready" condition become "True".
    ObservedGeneration int

    ObservedGeneration is the 'Generation' of the Route that was last processed by the controller.

    Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.

    Traffics List<GetServiceStatusTraffic>
    Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
    Url string
    From RouteStatus. URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
    Conditions []GetServiceStatusCondition
    Array of observed Service Conditions, indicating the current ready state of the service.
    LatestCreatedRevisionName string
    From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.
    LatestReadyRevisionName string
    From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision stamped out from this Service's Configuration that has had its "Ready" condition become "True".
    ObservedGeneration int

    ObservedGeneration is the 'Generation' of the Route that was last processed by the controller.

    Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.

    Traffics []GetServiceStatusTraffic
    Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
    Url string
    From RouteStatus. URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
    conditions List<GetServiceStatusCondition>
    Array of observed Service Conditions, indicating the current ready state of the service.
    latestCreatedRevisionName String
    From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.
    latestReadyRevisionName String
    From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision stamped out from this Service's Configuration that has had its "Ready" condition become "True".
    observedGeneration Integer

    ObservedGeneration is the 'Generation' of the Route that was last processed by the controller.

    Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.

    traffics List<GetServiceStatusTraffic>
    Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
    url String
    From RouteStatus. URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
    conditions GetServiceStatusCondition[]
    Array of observed Service Conditions, indicating the current ready state of the service.
    latestCreatedRevisionName string
    From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.
    latestReadyRevisionName string
    From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision stamped out from this Service's Configuration that has had its "Ready" condition become "True".
    observedGeneration number

    ObservedGeneration is the 'Generation' of the Route that was last processed by the controller.

    Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.

    traffics GetServiceStatusTraffic[]
    Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
    url string
    From RouteStatus. URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
    conditions Sequence[GetServiceStatusCondition]
    Array of observed Service Conditions, indicating the current ready state of the service.
    latest_created_revision_name str
    From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.
    latest_ready_revision_name str
    From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision stamped out from this Service's Configuration that has had its "Ready" condition become "True".
    observed_generation int

    ObservedGeneration is the 'Generation' of the Route that was last processed by the controller.

    Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.

    traffics Sequence[GetServiceStatusTraffic]
    Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
    url str
    From RouteStatus. URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
    conditions List<Property Map>
    Array of observed Service Conditions, indicating the current ready state of the service.
    latestCreatedRevisionName String
    From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.
    latestReadyRevisionName String
    From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision stamped out from this Service's Configuration that has had its "Ready" condition become "True".
    observedGeneration Number

    ObservedGeneration is the 'Generation' of the Route that was last processed by the controller.

    Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.

    traffics List<Property Map>
    Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
    url String
    From RouteStatus. URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app

    GetServiceStatusCondition

    Message string
    Human readable message indicating details about the current status.
    Reason string
    One-word CamelCase reason for the condition's current status.
    Status string
    Status of the condition, one of True, False, Unknown.
    Type string
    Type of domain mapping condition.
    Message string
    Human readable message indicating details about the current status.
    Reason string
    One-word CamelCase reason for the condition's current status.
    Status string
    Status of the condition, one of True, False, Unknown.
    Type string
    Type of domain mapping condition.
    message String
    Human readable message indicating details about the current status.
    reason String
    One-word CamelCase reason for the condition's current status.
    status String
    Status of the condition, one of True, False, Unknown.
    type String
    Type of domain mapping condition.
    message string
    Human readable message indicating details about the current status.
    reason string
    One-word CamelCase reason for the condition's current status.
    status string
    Status of the condition, one of True, False, Unknown.
    type string
    Type of domain mapping condition.
    message str
    Human readable message indicating details about the current status.
    reason str
    One-word CamelCase reason for the condition's current status.
    status str
    Status of the condition, one of True, False, Unknown.
    type str
    Type of domain mapping condition.
    message String
    Human readable message indicating details about the current status.
    reason String
    One-word CamelCase reason for the condition's current status.
    status String
    Status of the condition, one of True, False, Unknown.
    type String
    Type of domain mapping condition.

    GetServiceStatusTraffic

    LatestRevision bool
    LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
    Percent int
    Percent specifies percent of the traffic to this Revision or Configuration.
    RevisionName string
    RevisionName of a specific revision to which to send this portion of traffic.
    Tag string
    Tag is optionally used to expose a dedicated url for referencing this target exclusively.
    Url string
    URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
    LatestRevision bool
    LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
    Percent int
    Percent specifies percent of the traffic to this Revision or Configuration.
    RevisionName string
    RevisionName of a specific revision to which to send this portion of traffic.
    Tag string
    Tag is optionally used to expose a dedicated url for referencing this target exclusively.
    Url string
    URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
    latestRevision Boolean
    LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
    percent Integer
    Percent specifies percent of the traffic to this Revision or Configuration.
    revisionName String
    RevisionName of a specific revision to which to send this portion of traffic.
    tag String
    Tag is optionally used to expose a dedicated url for referencing this target exclusively.
    url String
    URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
    latestRevision boolean
    LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
    percent number
    Percent specifies percent of the traffic to this Revision or Configuration.
    revisionName string
    RevisionName of a specific revision to which to send this portion of traffic.
    tag string
    Tag is optionally used to expose a dedicated url for referencing this target exclusively.
    url string
    URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
    latest_revision bool
    LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
    percent int
    Percent specifies percent of the traffic to this Revision or Configuration.
    revision_name str
    RevisionName of a specific revision to which to send this portion of traffic.
    tag str
    Tag is optionally used to expose a dedicated url for referencing this target exclusively.
    url str
    URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
    latestRevision Boolean
    LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
    percent Number
    Percent specifies percent of the traffic to this Revision or Configuration.
    revisionName String
    RevisionName of a specific revision to which to send this portion of traffic.
    tag String
    Tag is optionally used to expose a dedicated url for referencing this target exclusively.
    url String
    URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)

    GetServiceTemplate

    Metadatas List<GetServiceTemplateMetadata>
    Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. To set minimum instances for this revision, use the "autoscaling.knative.dev/minScale" annotation key. To set maximum instances for this revision, use the "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL connections for the revision, use the "run.googleapis.com/cloudsql-instances" annotation key.
    Specs List<GetServiceTemplateSpec>
    RevisionSpec holds the desired state of the Revision (from the client).
    Metadatas []GetServiceTemplateMetadata
    Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. To set minimum instances for this revision, use the "autoscaling.knative.dev/minScale" annotation key. To set maximum instances for this revision, use the "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL connections for the revision, use the "run.googleapis.com/cloudsql-instances" annotation key.
    Specs []GetServiceTemplateSpec
    RevisionSpec holds the desired state of the Revision (from the client).
    metadatas List<GetServiceTemplateMetadata>
    Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. To set minimum instances for this revision, use the "autoscaling.knative.dev/minScale" annotation key. To set maximum instances for this revision, use the "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL connections for the revision, use the "run.googleapis.com/cloudsql-instances" annotation key.
    specs List<GetServiceTemplateSpec>
    RevisionSpec holds the desired state of the Revision (from the client).
    metadatas GetServiceTemplateMetadata[]
    Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. To set minimum instances for this revision, use the "autoscaling.knative.dev/minScale" annotation key. To set maximum instances for this revision, use the "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL connections for the revision, use the "run.googleapis.com/cloudsql-instances" annotation key.
    specs GetServiceTemplateSpec[]
    RevisionSpec holds the desired state of the Revision (from the client).
    metadatas Sequence[GetServiceTemplateMetadata]
    Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. To set minimum instances for this revision, use the "autoscaling.knative.dev/minScale" annotation key. To set maximum instances for this revision, use the "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL connections for the revision, use the "run.googleapis.com/cloudsql-instances" annotation key.
    specs Sequence[GetServiceTemplateSpec]
    RevisionSpec holds the desired state of the Revision (from the client).
    metadatas List<Property Map>
    Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. To set minimum instances for this revision, use the "autoscaling.knative.dev/minScale" annotation key. To set maximum instances for this revision, use the "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL connections for the revision, use the "run.googleapis.com/cloudsql-instances" annotation key.
    specs List<Property Map>
    RevisionSpec holds the desired state of the Revision (from the client).

    GetServiceTemplateMetadata

    Annotations Dictionary<string, string>
    Generation int
    A sequence number representing a specific generation of the desired state.
    Labels Dictionary<string, string>
    Map of string keys and values that can be used to organize and categorize (scope and select) objects.
    Name string
    The name of the Cloud Run Service.
    Namespace string
    In Cloud Run the namespace must be equal to either the project ID or project number. It will default to the resource's project.
    ResourceVersion string
    An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
    SelfLink string
    SelfLink is a URL representing this object.
    Uid string
    UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
    Annotations map[string]string
    Generation int
    A sequence number representing a specific generation of the desired state.
    Labels map[string]string
    Map of string keys and values that can be used to organize and categorize (scope and select) objects.
    Name string
    The name of the Cloud Run Service.
    Namespace string
    In Cloud Run the namespace must be equal to either the project ID or project number. It will default to the resource's project.
    ResourceVersion string
    An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
    SelfLink string
    SelfLink is a URL representing this object.
    Uid string
    UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
    annotations Map<String,String>
    generation Integer
    A sequence number representing a specific generation of the desired state.
    labels Map<String,String>
    Map of string keys and values that can be used to organize and categorize (scope and select) objects.
    name String
    The name of the Cloud Run Service.
    namespace String
    In Cloud Run the namespace must be equal to either the project ID or project number. It will default to the resource's project.
    resourceVersion String
    An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
    selfLink String
    SelfLink is a URL representing this object.
    uid String
    UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
    annotations {[key: string]: string}
    generation number
    A sequence number representing a specific generation of the desired state.
    labels {[key: string]: string}
    Map of string keys and values that can be used to organize and categorize (scope and select) objects.
    name string
    The name of the Cloud Run Service.
    namespace string
    In Cloud Run the namespace must be equal to either the project ID or project number. It will default to the resource's project.
    resourceVersion string
    An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
    selfLink string
    SelfLink is a URL representing this object.
    uid string
    UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
    annotations Mapping[str, str]
    generation int
    A sequence number representing a specific generation of the desired state.
    labels Mapping[str, str]
    Map of string keys and values that can be used to organize and categorize (scope and select) objects.
    name str
    The name of the Cloud Run Service.
    namespace str
    In Cloud Run the namespace must be equal to either the project ID or project number. It will default to the resource's project.
    resource_version str
    An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
    self_link str
    SelfLink is a URL representing this object.
    uid str
    UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
    annotations Map<String>
    generation Number
    A sequence number representing a specific generation of the desired state.
    labels Map<String>
    Map of string keys and values that can be used to organize and categorize (scope and select) objects.
    name String
    The name of the Cloud Run Service.
    namespace String
    In Cloud Run the namespace must be equal to either the project ID or project number. It will default to the resource's project.
    resourceVersion String
    An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
    selfLink String
    SelfLink is a URL representing this object.
    uid String
    UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.

    GetServiceTemplateSpec

    ContainerConcurrency int
    ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
    Containers List<GetServiceTemplateSpecContainer>
    Containers defines the unit of execution for this Revision.
    NodeSelector Dictionary<string, string>
    Node Selector describes the hardware requirements of the resources. Use the following node selector keys to configure features on a Revision:

    • 'run.googleapis.com/accelerator' sets the type of GPU required by the Revision to run.
    ServiceAccountName 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.
    ServingState string
    ServingState holds a value describing the state the resources are in for this Revision. It is expected that the system will manipulate this based on routability and load.
    TimeoutSeconds int
    TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
    Volumes List<GetServiceTemplateSpecVolume>
    Volume represents a named volume in a container.
    ContainerConcurrency int
    ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
    Containers []GetServiceTemplateSpecContainer
    Containers defines the unit of execution for this Revision.
    NodeSelector map[string]string
    Node Selector describes the hardware requirements of the resources. Use the following node selector keys to configure features on a Revision:

    • 'run.googleapis.com/accelerator' sets the type of GPU required by the Revision to run.
    ServiceAccountName 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.
    ServingState string
    ServingState holds a value describing the state the resources are in for this Revision. It is expected that the system will manipulate this based on routability and load.
    TimeoutSeconds int
    TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
    Volumes []GetServiceTemplateSpecVolume
    Volume represents a named volume in a container.
    containerConcurrency Integer
    ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
    containers List<GetServiceTemplateSpecContainer>
    Containers defines the unit of execution for this Revision.
    nodeSelector Map<String,String>
    Node Selector describes the hardware requirements of the resources. Use the following node selector keys to configure features on a Revision:

    • 'run.googleapis.com/accelerator' sets the type of GPU required by the Revision to run.
    serviceAccountName 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.
    servingState String
    ServingState holds a value describing the state the resources are in for this Revision. It is expected that the system will manipulate this based on routability and load.
    timeoutSeconds Integer
    TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
    volumes List<GetServiceTemplateSpecVolume>
    Volume represents a named volume in a container.
    containerConcurrency number
    ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
    containers GetServiceTemplateSpecContainer[]
    Containers defines the unit of execution for this Revision.
    nodeSelector {[key: string]: string}
    Node Selector describes the hardware requirements of the resources. Use the following node selector keys to configure features on a Revision:

    • 'run.googleapis.com/accelerator' sets the type of GPU required by the Revision to run.
    serviceAccountName 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.
    servingState string
    ServingState holds a value describing the state the resources are in for this Revision. It is expected that the system will manipulate this based on routability and load.
    timeoutSeconds number
    TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
    volumes GetServiceTemplateSpecVolume[]
    Volume represents a named volume in a container.
    container_concurrency int
    ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
    containers Sequence[GetServiceTemplateSpecContainer]
    Containers defines the unit of execution for this Revision.
    node_selector Mapping[str, str]
    Node Selector describes the hardware requirements of the resources. Use the following node selector keys to configure features on a Revision:

    • 'run.googleapis.com/accelerator' sets the type of GPU required by the Revision to run.
    service_account_name 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.
    serving_state str
    ServingState holds a value describing the state the resources are in for this Revision. It is expected that the system will manipulate this based on routability and load.
    timeout_seconds int
    TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
    volumes Sequence[GetServiceTemplateSpecVolume]
    Volume represents a named volume in a container.
    containerConcurrency Number
    ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
    containers List<Property Map>
    Containers defines the unit of execution for this Revision.
    nodeSelector Map<String>
    Node Selector describes the hardware requirements of the resources. Use the following node selector keys to configure features on a Revision:

    • 'run.googleapis.com/accelerator' sets the type of GPU required by the Revision to run.
    serviceAccountName 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.
    servingState String
    ServingState holds a value describing the state the resources are in for this Revision. It is expected that the system will manipulate this based on routability and load.
    timeoutSeconds Number
    TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
    volumes List<Property Map>
    Volume represents a named volume in a container.

    GetServiceTemplateSpecContainer

    Args List<string>
    Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
    Commands List<string>
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
    EnvFroms List<GetServiceTemplateSpecContainerEnvFrom>
    List of sources to populate environment variables in the container. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence.
    Envs List<GetServiceTemplateSpecContainerEnv>
    List of environment variables to set in the container.
    Image string
    Docker image name. This is most often a reference to a container located in the container registry, such as gcr.io/cloudrun/hello
    LivenessProbes List<GetServiceTemplateSpecContainerLivenessProbe>
    Periodic probe of container liveness. Container will be restarted if the probe fails.
    Name string
    The name of the Cloud Run Service.
    Ports List<GetServiceTemplateSpecContainerPort>
    List of open ports in the container.
    Resources List<GetServiceTemplateSpecContainerResource>
    Compute Resources required by this container. Used to set values such as max memory
    StartupProbes List<GetServiceTemplateSpecContainerStartupProbe>
    Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
    VolumeMounts List<GetServiceTemplateSpecContainerVolumeMount>
    Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
    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.
    Commands []string
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
    EnvFroms []GetServiceTemplateSpecContainerEnvFrom
    List of sources to populate environment variables in the container. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence.
    Envs []GetServiceTemplateSpecContainerEnv
    List of environment variables to set in the container.
    Image string
    Docker image name. This is most often a reference to a container located in the container registry, such as gcr.io/cloudrun/hello
    LivenessProbes []GetServiceTemplateSpecContainerLivenessProbe
    Periodic probe of container liveness. Container will be restarted if the probe fails.
    Name string
    The name of the Cloud Run Service.
    Ports []GetServiceTemplateSpecContainerPort
    List of open ports in the container.
    Resources []GetServiceTemplateSpecContainerResource
    Compute Resources required by this container. Used to set values such as max memory
    StartupProbes []GetServiceTemplateSpecContainerStartupProbe
    Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
    VolumeMounts []GetServiceTemplateSpecContainerVolumeMount
    Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
    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.
    commands List<String>
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
    envFroms List<GetServiceTemplateSpecContainerEnvFrom>
    List of sources to populate environment variables in the container. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence.
    envs List<GetServiceTemplateSpecContainerEnv>
    List of environment variables to set in the container.
    image String
    Docker image name. This is most often a reference to a container located in the container registry, such as gcr.io/cloudrun/hello
    livenessProbes List<GetServiceTemplateSpecContainerLivenessProbe>
    Periodic probe of container liveness. Container will be restarted if the probe fails.
    name String
    The name of the Cloud Run Service.
    ports List<GetServiceTemplateSpecContainerPort>
    List of open ports in the container.
    resources List<GetServiceTemplateSpecContainerResource>
    Compute Resources required by this container. Used to set values such as max memory
    startupProbes List<GetServiceTemplateSpecContainerStartupProbe>
    Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
    volumeMounts List<GetServiceTemplateSpecContainerVolumeMount>
    Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
    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.
    commands string[]
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
    envFroms GetServiceTemplateSpecContainerEnvFrom[]
    List of sources to populate environment variables in the container. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence.
    envs GetServiceTemplateSpecContainerEnv[]
    List of environment variables to set in the container.
    image string
    Docker image name. This is most often a reference to a container located in the container registry, such as gcr.io/cloudrun/hello
    livenessProbes GetServiceTemplateSpecContainerLivenessProbe[]
    Periodic probe of container liveness. Container will be restarted if the probe fails.
    name string
    The name of the Cloud Run Service.
    ports GetServiceTemplateSpecContainerPort[]
    List of open ports in the container.
    resources GetServiceTemplateSpecContainerResource[]
    Compute Resources required by this container. Used to set values such as max memory
    startupProbes GetServiceTemplateSpecContainerStartupProbe[]
    Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
    volumeMounts GetServiceTemplateSpecContainerVolumeMount[]
    Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
    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.
    commands Sequence[str]
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
    env_froms Sequence[GetServiceTemplateSpecContainerEnvFrom]
    List of sources to populate environment variables in the container. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence.
    envs Sequence[GetServiceTemplateSpecContainerEnv]
    List of environment variables to set in the container.
    image str
    Docker image name. This is most often a reference to a container located in the container registry, such as gcr.io/cloudrun/hello
    liveness_probes Sequence[GetServiceTemplateSpecContainerLivenessProbe]
    Periodic probe of container liveness. Container will be restarted if the probe fails.
    name str
    The name of the Cloud Run Service.
    ports Sequence[GetServiceTemplateSpecContainerPort]
    List of open ports in the container.
    resources Sequence[GetServiceTemplateSpecContainerResource]
    Compute Resources required by this container. Used to set values such as max memory
    startup_probes Sequence[GetServiceTemplateSpecContainerStartupProbe]
    Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
    volume_mounts Sequence[GetServiceTemplateSpecContainerVolumeMount]
    Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
    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.
    commands List<String>
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
    envFroms List<Property Map>
    List of sources to populate environment variables in the container. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence.
    envs List<Property Map>
    List of environment variables to set in the container.
    image String
    Docker image name. This is most often a reference to a container located in the container registry, such as gcr.io/cloudrun/hello
    livenessProbes List<Property Map>
    Periodic probe of container liveness. Container will be restarted if the probe fails.
    name String
    The name of the Cloud Run Service.
    ports List<Property Map>
    List of open ports in the container.
    resources List<Property Map>
    Compute Resources required by this container. Used to set values such as max memory
    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.
    volumeMounts List<Property Map>
    Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
    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.

    GetServiceTemplateSpecContainerEnv

    Name string
    The name of the Cloud Run Service.
    Value string
    Defaults to "".
    ValueFroms List<GetServiceTemplateSpecContainerEnvValueFrom>
    Source for the environment variable's value. Only supports secret_key_ref.
    Name string
    The name of the Cloud Run Service.
    Value string
    Defaults to "".
    ValueFroms []GetServiceTemplateSpecContainerEnvValueFrom
    Source for the environment variable's value. Only supports secret_key_ref.
    name String
    The name of the Cloud Run Service.
    value String
    Defaults to "".
    valueFroms List<GetServiceTemplateSpecContainerEnvValueFrom>
    Source for the environment variable's value. Only supports secret_key_ref.
    name string
    The name of the Cloud Run Service.
    value string
    Defaults to "".
    valueFroms GetServiceTemplateSpecContainerEnvValueFrom[]
    Source for the environment variable's value. Only supports secret_key_ref.
    name str
    The name of the Cloud Run Service.
    value str
    Defaults to "".
    value_froms Sequence[GetServiceTemplateSpecContainerEnvValueFrom]
    Source for the environment variable's value. Only supports secret_key_ref.
    name String
    The name of the Cloud Run Service.
    value String
    Defaults to "".
    valueFroms List<Property Map>
    Source for the environment variable's value. Only supports secret_key_ref.

    GetServiceTemplateSpecContainerEnvFrom

    ConfigMapReves List<GetServiceTemplateSpecContainerEnvFromConfigMapRef>
    The ConfigMap to select from.
    Prefix string
    An optional identifier to prepend to each key in the ConfigMap.
    SecretReves List<GetServiceTemplateSpecContainerEnvFromSecretRef>
    The Secret to select from.
    ConfigMapReves []GetServiceTemplateSpecContainerEnvFromConfigMapRef
    The ConfigMap to select from.
    Prefix string
    An optional identifier to prepend to each key in the ConfigMap.
    SecretReves []GetServiceTemplateSpecContainerEnvFromSecretRef
    The Secret to select from.
    configMapReves List<GetServiceTemplateSpecContainerEnvFromConfigMapRef>
    The ConfigMap to select from.
    prefix String
    An optional identifier to prepend to each key in the ConfigMap.
    secretReves List<GetServiceTemplateSpecContainerEnvFromSecretRef>
    The Secret to select from.
    configMapReves GetServiceTemplateSpecContainerEnvFromConfigMapRef[]
    The ConfigMap to select from.
    prefix string
    An optional identifier to prepend to each key in the ConfigMap.
    secretReves GetServiceTemplateSpecContainerEnvFromSecretRef[]
    The Secret to select from.
    config_map_reves Sequence[GetServiceTemplateSpecContainerEnvFromConfigMapRef]
    The ConfigMap to select from.
    prefix str
    An optional identifier to prepend to each key in the ConfigMap.
    secret_reves Sequence[GetServiceTemplateSpecContainerEnvFromSecretRef]
    The Secret to select from.
    configMapReves List<Property Map>
    The ConfigMap to select from.
    prefix String
    An optional identifier to prepend to each key in the ConfigMap.
    secretReves List<Property Map>
    The Secret to select from.

    GetServiceTemplateSpecContainerEnvFromConfigMapRef

    LocalObjectReferences List<GetServiceTemplateSpecContainerEnvFromConfigMapRefLocalObjectReference>
    The ConfigMap to select from.
    Optional bool
    Specify whether the ConfigMap must be defined
    LocalObjectReferences []GetServiceTemplateSpecContainerEnvFromConfigMapRefLocalObjectReference
    The ConfigMap to select from.
    Optional bool
    Specify whether the ConfigMap must be defined
    localObjectReferences List<GetServiceTemplateSpecContainerEnvFromConfigMapRefLocalObjectReference>
    The ConfigMap to select from.
    optional Boolean
    Specify whether the ConfigMap must be defined
    localObjectReferences GetServiceTemplateSpecContainerEnvFromConfigMapRefLocalObjectReference[]
    The ConfigMap to select from.
    optional boolean
    Specify whether the ConfigMap must be defined
    local_object_references Sequence[GetServiceTemplateSpecContainerEnvFromConfigMapRefLocalObjectReference]
    The ConfigMap to select from.
    optional bool
    Specify whether the ConfigMap must be defined
    localObjectReferences List<Property Map>
    The ConfigMap to select from.
    optional Boolean
    Specify whether the ConfigMap must be defined

    GetServiceTemplateSpecContainerEnvFromConfigMapRefLocalObjectReference

    Name string
    The name of the Cloud Run Service.
    Name string
    The name of the Cloud Run Service.
    name String
    The name of the Cloud Run Service.
    name string
    The name of the Cloud Run Service.
    name str
    The name of the Cloud Run Service.
    name String
    The name of the Cloud Run Service.

    GetServiceTemplateSpecContainerEnvFromSecretRef

    LocalObjectReferences List<GetServiceTemplateSpecContainerEnvFromSecretRefLocalObjectReference>
    The Secret to select from.
    Optional bool
    Specify whether the Secret must be defined
    LocalObjectReferences []GetServiceTemplateSpecContainerEnvFromSecretRefLocalObjectReference
    The Secret to select from.
    Optional bool
    Specify whether the Secret must be defined
    localObjectReferences List<GetServiceTemplateSpecContainerEnvFromSecretRefLocalObjectReference>
    The Secret to select from.
    optional Boolean
    Specify whether the Secret must be defined
    localObjectReferences GetServiceTemplateSpecContainerEnvFromSecretRefLocalObjectReference[]
    The Secret to select from.
    optional boolean
    Specify whether the Secret must be defined
    local_object_references Sequence[GetServiceTemplateSpecContainerEnvFromSecretRefLocalObjectReference]
    The Secret to select from.
    optional bool
    Specify whether the Secret must be defined
    localObjectReferences List<Property Map>
    The Secret to select from.
    optional Boolean
    Specify whether the Secret must be defined

    GetServiceTemplateSpecContainerEnvFromSecretRefLocalObjectReference

    Name string
    The name of the Cloud Run Service.
    Name string
    The name of the Cloud Run Service.
    name String
    The name of the Cloud Run Service.
    name string
    The name of the Cloud Run Service.
    name str
    The name of the Cloud Run Service.
    name String
    The name of the Cloud Run Service.

    GetServiceTemplateSpecContainerEnvValueFrom

    SecretKeyReves List<GetServiceTemplateSpecContainerEnvValueFromSecretKeyRef>
    Selects a key (version) of a secret in Secret Manager.
    SecretKeyReves []GetServiceTemplateSpecContainerEnvValueFromSecretKeyRef
    Selects a key (version) of a secret in Secret Manager.
    secretKeyReves List<GetServiceTemplateSpecContainerEnvValueFromSecretKeyRef>
    Selects a key (version) of a secret in Secret Manager.
    secretKeyReves GetServiceTemplateSpecContainerEnvValueFromSecretKeyRef[]
    Selects a key (version) of a secret in Secret Manager.
    secret_key_reves Sequence[GetServiceTemplateSpecContainerEnvValueFromSecretKeyRef]
    Selects a key (version) of a secret in Secret Manager.
    secretKeyReves List<Property Map>
    Selects a key (version) of a secret in Secret Manager.

    GetServiceTemplateSpecContainerEnvValueFromSecretKeyRef

    Key string
    A Cloud Secret Manager secret version. Must be 'latest' for the latest version or an integer for a specific version.
    Name string
    The name of the Cloud Run Service.
    Key string
    A Cloud Secret Manager secret version. Must be 'latest' for the latest version or an integer for a specific version.
    Name string
    The name of the Cloud Run Service.
    key String
    A Cloud Secret Manager secret version. Must be 'latest' for the latest version or an integer for a specific version.
    name String
    The name of the Cloud Run Service.
    key string
    A Cloud Secret Manager secret version. Must be 'latest' for the latest version or an integer for a specific version.
    name string
    The name of the Cloud Run Service.
    key str
    A Cloud Secret Manager secret version. Must be 'latest' for the latest version or an integer for a specific version.
    name str
    The name of the Cloud Run Service.
    key String
    A Cloud Secret Manager secret version. Must be 'latest' for the latest version or an integer for a specific version.
    name String
    The name of the Cloud Run Service.

    GetServiceTemplateSpecContainerLivenessProbe

    FailureThreshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    Grpcs List<GetServiceTemplateSpecContainerLivenessProbeGrpc>
    GRPC specifies an action involving a GRPC port.
    HttpGets List<GetServiceTemplateSpecContainerLivenessProbeHttpGet>
    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 is 3600.
    PeriodSeconds int
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
    TimeoutSeconds int
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
    FailureThreshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    Grpcs []GetServiceTemplateSpecContainerLivenessProbeGrpc
    GRPC specifies an action involving a GRPC port.
    HttpGets []GetServiceTemplateSpecContainerLivenessProbeHttpGet
    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 is 3600.
    PeriodSeconds int
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
    TimeoutSeconds int
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
    failureThreshold Integer
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    grpcs List<GetServiceTemplateSpecContainerLivenessProbeGrpc>
    GRPC specifies an action involving a GRPC port.
    httpGets List<GetServiceTemplateSpecContainerLivenessProbeHttpGet>
    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 is 3600.
    periodSeconds Integer
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
    timeoutSeconds Integer
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
    failureThreshold number
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    grpcs GetServiceTemplateSpecContainerLivenessProbeGrpc[]
    GRPC specifies an action involving a GRPC port.
    httpGets GetServiceTemplateSpecContainerLivenessProbeHttpGet[]
    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 is 3600.
    periodSeconds number
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
    timeoutSeconds number
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
    failure_threshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    grpcs Sequence[GetServiceTemplateSpecContainerLivenessProbeGrpc]
    GRPC specifies an action involving a GRPC port.
    http_gets Sequence[GetServiceTemplateSpecContainerLivenessProbeHttpGet]
    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 is 3600.
    period_seconds int
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
    timeout_seconds int
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
    failureThreshold Number
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    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 is 3600.
    periodSeconds Number
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
    timeoutSeconds Number
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.

    GetServiceTemplateSpecContainerLivenessProbeGrpc

    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.

    GetServiceTemplateSpecContainerLivenessProbeHttpGet

    HttpHeaders List<GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeader>
    Custom headers to set in the request. HTTP allows repeated headers.
    Path string
    Path to access on the HTTP server. If set, it should not be empty string.
    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 []GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeader
    Custom headers to set in the request. HTTP allows repeated headers.
    Path string
    Path to access on the HTTP server. If set, it should not be empty string.
    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<GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeader>
    Custom headers to set in the request. HTTP allows repeated headers.
    path String
    Path to access on the HTTP server. If set, it should not be empty string.
    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 GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeader[]
    Custom headers to set in the request. HTTP allows repeated headers.
    path string
    Path to access on the HTTP server. If set, it should not be empty string.
    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[GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeader]
    Custom headers to set in the request. HTTP allows repeated headers.
    path str
    Path to access on the HTTP server. If set, it should not be empty string.
    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. If set, it should not be empty string.
    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.

    GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeader

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

    GetServiceTemplateSpecContainerPort

    ContainerPort int
    Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
    Name string
    The name of the Cloud Run Service.
    Protocol string
    Protocol for port. Must be "TCP". Defaults to "TCP".
    ContainerPort int
    Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
    Name string
    The name of the Cloud Run Service.
    Protocol string
    Protocol for port. Must be "TCP". Defaults to "TCP".
    containerPort Integer
    Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
    name String
    The name of the Cloud Run Service.
    protocol String
    Protocol for port. Must be "TCP". Defaults to "TCP".
    containerPort number
    Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
    name string
    The name of the Cloud Run Service.
    protocol string
    Protocol for port. Must be "TCP". Defaults to "TCP".
    container_port int
    Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
    name str
    The name of the Cloud Run Service.
    protocol str
    Protocol for port. Must be "TCP". Defaults to "TCP".
    containerPort Number
    Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
    name String
    The name of the Cloud Run Service.
    protocol String
    Protocol for port. Must be "TCP". Defaults to "TCP".

    GetServiceTemplateSpecContainerResource

    Limits Dictionary<string, string>
    Limits describes the maximum amount of compute resources allowed. 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
    Requests Dictionary<string, string>
    Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. 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
    Limits map[string]string
    Limits describes the maximum amount of compute resources allowed. 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
    Requests map[string]string
    Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. 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
    limits Map<String,String>
    Limits describes the maximum amount of compute resources allowed. 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
    requests Map<String,String>
    Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. 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
    limits {[key: string]: string}
    Limits describes the maximum amount of compute resources allowed. 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
    requests {[key: string]: string}
    Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. 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
    limits Mapping[str, str]
    Limits describes the maximum amount of compute resources allowed. 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
    requests Mapping[str, str]
    Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. 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
    limits Map<String>
    Limits describes the maximum amount of compute resources allowed. 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
    requests Map<String>
    Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. 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

    GetServiceTemplateSpecContainerStartupProbe

    FailureThreshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    Grpcs List<GetServiceTemplateSpecContainerStartupProbeGrpc>
    GRPC specifies an action involving a GRPC port.
    HttpGets List<GetServiceTemplateSpecContainerStartupProbeHttpGet>
    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 is 240.
    PeriodSeconds int
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    TcpSockets List<GetServiceTemplateSpecContainerStartupProbeTcpSocket>
    TcpSocket specifies an action involving a TCP port.
    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.
    FailureThreshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    Grpcs []GetServiceTemplateSpecContainerStartupProbeGrpc
    GRPC specifies an action involving a GRPC port.
    HttpGets []GetServiceTemplateSpecContainerStartupProbeHttpGet
    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 is 240.
    PeriodSeconds int
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    TcpSockets []GetServiceTemplateSpecContainerStartupProbeTcpSocket
    TcpSocket specifies an action involving a TCP port.
    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.
    failureThreshold Integer
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    grpcs List<GetServiceTemplateSpecContainerStartupProbeGrpc>
    GRPC specifies an action involving a GRPC port.
    httpGets List<GetServiceTemplateSpecContainerStartupProbeHttpGet>
    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 is 240.
    periodSeconds Integer
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    tcpSockets List<GetServiceTemplateSpecContainerStartupProbeTcpSocket>
    TcpSocket specifies an action involving a TCP port.
    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.
    failureThreshold number
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
    grpcs GetServiceTemplateSpecContainerStartupProbeGrpc[]
    GRPC specifies an action involving a GRPC port.
    httpGets GetServiceTemplateSpecContainerStartupProbeHttpGet[]
    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 is 240.
    periodSeconds number
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    tcpSockets GetServiceTemplateSpecContainerStartupProbeTcpSocket[]
    TcpSocket specifies an action involving a TCP port.
    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.
    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[GetServiceTemplateSpecContainerStartupProbeGrpc]
    GRPC specifies an action involving a GRPC port.
    http_gets Sequence[GetServiceTemplateSpecContainerStartupProbeHttpGet]
    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 is 240.
    period_seconds int
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    tcp_sockets Sequence[GetServiceTemplateSpecContainerStartupProbeTcpSocket]
    TcpSocket specifies an action involving a TCP port.
    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.
    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 is 240.
    periodSeconds Number
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    tcpSockets List<Property Map>
    TcpSocket specifies an action involving a TCP port.
    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.

    GetServiceTemplateSpecContainerStartupProbeGrpc

    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.

    GetServiceTemplateSpecContainerStartupProbeHttpGet

    HttpHeaders List<GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeader>
    Custom headers to set in the request. HTTP allows repeated headers.
    Path string
    Path to access on the HTTP server. If set, it should not be empty string.
    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 []GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeader
    Custom headers to set in the request. HTTP allows repeated headers.
    Path string
    Path to access on the HTTP server. If set, it should not be empty string.
    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<GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeader>
    Custom headers to set in the request. HTTP allows repeated headers.
    path String
    Path to access on the HTTP server. If set, it should not be empty string.
    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 GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeader[]
    Custom headers to set in the request. HTTP allows repeated headers.
    path string
    Path to access on the HTTP server. If set, it should not be empty string.
    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[GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeader]
    Custom headers to set in the request. HTTP allows repeated headers.
    path str
    Path to access on the HTTP server. If set, it should not be empty string.
    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. If set, it should not be empty string.
    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.

    GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeader

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

    GetServiceTemplateSpecContainerStartupProbeTcpSocket

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

    GetServiceTemplateSpecContainerVolumeMount

    MountPath string
    Path within the container at which the volume should be mounted. Must not contain ':'.
    Name string
    The name of the Cloud Run Service.
    MountPath string
    Path within the container at which the volume should be mounted. Must not contain ':'.
    Name string
    The name of the Cloud Run Service.
    mountPath String
    Path within the container at which the volume should be mounted. Must not contain ':'.
    name String
    The name of the Cloud Run Service.
    mountPath string
    Path within the container at which the volume should be mounted. Must not contain ':'.
    name string
    The name of the Cloud Run Service.
    mount_path str
    Path within the container at which the volume should be mounted. Must not contain ':'.
    name str
    The name of the Cloud Run Service.
    mountPath String
    Path within the container at which the volume should be mounted. Must not contain ':'.
    name String
    The name of the Cloud Run Service.

    GetServiceTemplateSpecVolume

    Csis List<GetServiceTemplateSpecVolumeCsi>
    A filesystem specified by the Container Storage Interface (CSI).
    EmptyDirs List<GetServiceTemplateSpecVolumeEmptyDir>
    Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
    Name string
    The name of the Cloud Run Service.
    Nfs List<GetServiceTemplateSpecVolumeNf>
    A filesystem backed by a Network File System share. This filesystem requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
    Secrets List<GetServiceTemplateSpecVolumeSecret>
    The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name.
    Csis []GetServiceTemplateSpecVolumeCsi
    A filesystem specified by the Container Storage Interface (CSI).
    EmptyDirs []GetServiceTemplateSpecVolumeEmptyDir
    Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
    Name string
    The name of the Cloud Run Service.
    Nfs []GetServiceTemplateSpecVolumeNf
    A filesystem backed by a Network File System share. This filesystem requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
    Secrets []GetServiceTemplateSpecVolumeSecret
    The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name.
    csis List<GetServiceTemplateSpecVolumeCsi>
    A filesystem specified by the Container Storage Interface (CSI).
    emptyDirs List<GetServiceTemplateSpecVolumeEmptyDir>
    Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
    name String
    The name of the Cloud Run Service.
    nfs List<GetServiceTemplateSpecVolumeNf>
    A filesystem backed by a Network File System share. This filesystem requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
    secrets List<GetServiceTemplateSpecVolumeSecret>
    The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name.
    csis GetServiceTemplateSpecVolumeCsi[]
    A filesystem specified by the Container Storage Interface (CSI).
    emptyDirs GetServiceTemplateSpecVolumeEmptyDir[]
    Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
    name string
    The name of the Cloud Run Service.
    nfs GetServiceTemplateSpecVolumeNf[]
    A filesystem backed by a Network File System share. This filesystem requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
    secrets GetServiceTemplateSpecVolumeSecret[]
    The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name.
    csis Sequence[GetServiceTemplateSpecVolumeCsi]
    A filesystem specified by the Container Storage Interface (CSI).
    empty_dirs Sequence[GetServiceTemplateSpecVolumeEmptyDir]
    Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
    name str
    The name of the Cloud Run Service.
    nfs Sequence[GetServiceTemplateSpecVolumeNf]
    A filesystem backed by a Network File System share. This filesystem requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
    secrets Sequence[GetServiceTemplateSpecVolumeSecret]
    The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name.
    csis List<Property Map>
    A filesystem specified by the Container Storage Interface (CSI).
    emptyDirs List<Property Map>
    Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
    name String
    The name of the Cloud Run Service.
    nfs List<Property Map>
    A filesystem backed by a Network File System share. This filesystem requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
    secrets List<Property Map>
    The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name.

    GetServiceTemplateSpecVolumeCsi

    Driver string
    Unique name representing the type of file system to be created. Cloud Run supports the following values:

    • gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
    ReadOnly bool
    If true, all mounts created from this volume will be read-only.
    VolumeAttributes Dictionary<string, string>
    Driver-specific attributes. The following options are supported for available drivers:

    • gcsfuse.run.googleapis.com
      • bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket.
    Driver string
    Unique name representing the type of file system to be created. Cloud Run supports the following values:

    • gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
    ReadOnly bool
    If true, all mounts created from this volume will be read-only.
    VolumeAttributes map[string]string
    Driver-specific attributes. The following options are supported for available drivers:

    • gcsfuse.run.googleapis.com
      • bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket.
    driver String
    Unique name representing the type of file system to be created. Cloud Run supports the following values:

    • gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
    readOnly Boolean
    If true, all mounts created from this volume will be read-only.
    volumeAttributes Map<String,String>
    Driver-specific attributes. The following options are supported for available drivers:

    • gcsfuse.run.googleapis.com
      • bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket.
    driver string
    Unique name representing the type of file system to be created. Cloud Run supports the following values:

    • gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
    readOnly boolean
    If true, all mounts created from this volume will be read-only.
    volumeAttributes {[key: string]: string}
    Driver-specific attributes. The following options are supported for available drivers:

    • gcsfuse.run.googleapis.com
      • bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket.
    driver str
    Unique name representing the type of file system to be created. Cloud Run supports the following values:

    • gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
    read_only bool
    If true, all mounts created from this volume will be read-only.
    volume_attributes Mapping[str, str]
    Driver-specific attributes. The following options are supported for available drivers:

    • gcsfuse.run.googleapis.com
      • bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket.
    driver String
    Unique name representing the type of file system to be created. Cloud Run supports the following values:

    • gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
    readOnly Boolean
    If true, all mounts created from this volume will be read-only.
    volumeAttributes Map<String>
    Driver-specific attributes. The following options are supported for available drivers:

    • gcsfuse.run.googleapis.com
      • bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket.

    GetServiceTemplateSpecVolumeEmptyDir

    Medium string
    The medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or 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 medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or 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 medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or 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 medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or 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 medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or 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 medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or 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.

    GetServiceTemplateSpecVolumeNf

    Path string
    Path exported by the NFS server
    ReadOnly bool
    If true, mount the NFS volume as read only in all mounts. Defaults to false.
    Server string
    IP address or hostname of the NFS server
    Path string
    Path exported by the NFS server
    ReadOnly bool
    If true, mount the NFS volume as read only in all mounts. Defaults to false.
    Server string
    IP address or hostname of the NFS server
    path String
    Path exported by the NFS server
    readOnly Boolean
    If true, mount the NFS volume as read only in all mounts. Defaults to false.
    server String
    IP address or hostname of the NFS server
    path string
    Path exported by the NFS server
    readOnly boolean
    If true, mount the NFS volume as read only in all mounts. Defaults to false.
    server string
    IP address or hostname of the NFS server
    path str
    Path exported by the NFS server
    read_only bool
    If true, mount the NFS volume as read only in all mounts. Defaults to false.
    server str
    IP address or hostname of the NFS server
    path String
    Path exported by the NFS server
    readOnly Boolean
    If true, mount the NFS volume as read only in all mounts. Defaults to false.
    server String
    IP address or hostname of the NFS server

    GetServiceTemplateSpecVolumeSecret

    DefaultMode int
    Mode bits to use on created files by default. Must be a value between 0000 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
    Items List<GetServiceTemplateSpecVolumeSecretItem>
    If unspecified, the volume will expose a file whose name is the secret_name. 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 key and a path.
    SecretName string
    The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: {alias}:projects/{project-id|project-number}/secrets/{secret-name}. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation.
    DefaultMode int
    Mode bits to use on created files by default. Must be a value between 0000 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
    Items []GetServiceTemplateSpecVolumeSecretItem
    If unspecified, the volume will expose a file whose name is the secret_name. 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 key and a path.
    SecretName string
    The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: {alias}:projects/{project-id|project-number}/secrets/{secret-name}. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation.
    defaultMode Integer
    Mode bits to use on created files by default. Must be a value between 0000 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
    items List<GetServiceTemplateSpecVolumeSecretItem>
    If unspecified, the volume will expose a file whose name is the secret_name. 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 key and a path.
    secretName String
    The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: {alias}:projects/{project-id|project-number}/secrets/{secret-name}. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation.
    defaultMode number
    Mode bits to use on created files by default. Must be a value between 0000 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
    items GetServiceTemplateSpecVolumeSecretItem[]
    If unspecified, the volume will expose a file whose name is the secret_name. 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 key and a path.
    secretName string
    The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: {alias}:projects/{project-id|project-number}/secrets/{secret-name}. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation.
    default_mode int
    Mode bits to use on created files by default. Must be a value between 0000 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
    items Sequence[GetServiceTemplateSpecVolumeSecretItem]
    If unspecified, the volume will expose a file whose name is the secret_name. 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 key and a path.
    secret_name str
    The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: {alias}:projects/{project-id|project-number}/secrets/{secret-name}. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation.
    defaultMode Number
    Mode bits to use on created files by default. Must be a value between 0000 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
    items List<Property Map>
    If unspecified, the volume will expose a file whose name is the secret_name. 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 key and a path.
    secretName String
    The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: {alias}:projects/{project-id|project-number}/secrets/{secret-name}. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation.

    GetServiceTemplateSpecVolumeSecretItem

    Key string
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
    Mode int
    Mode bits to use on this file, must be a value between 0000 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
    Path string
    The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
    Key string
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
    Mode int
    Mode bits to use on this file, must be a value between 0000 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
    Path string
    The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
    key String
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
    mode Integer
    Mode bits to use on this file, must be a value between 0000 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
    path String
    The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
    key string
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
    mode number
    Mode bits to use on this file, must be a value between 0000 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
    path string
    The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
    key str
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
    mode int
    Mode bits to use on this file, must be a value between 0000 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
    path str
    The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
    key String
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
    mode Number
    Mode bits to use on this file, must be a value between 0000 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
    path String
    The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.

    GetServiceTraffic

    LatestRevision bool
    LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
    Percent int
    Percent specifies percent of the traffic to this Revision or Configuration.
    RevisionName string
    RevisionName of a specific revision to which to send this portion of traffic.
    Tag string
    Tag is optionally used to expose a dedicated url for referencing this target exclusively.
    Url string
    URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
    LatestRevision bool
    LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
    Percent int
    Percent specifies percent of the traffic to this Revision or Configuration.
    RevisionName string
    RevisionName of a specific revision to which to send this portion of traffic.
    Tag string
    Tag is optionally used to expose a dedicated url for referencing this target exclusively.
    Url string
    URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
    latestRevision Boolean
    LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
    percent Integer
    Percent specifies percent of the traffic to this Revision or Configuration.
    revisionName String
    RevisionName of a specific revision to which to send this portion of traffic.
    tag String
    Tag is optionally used to expose a dedicated url for referencing this target exclusively.
    url String
    URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
    latestRevision boolean
    LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
    percent number
    Percent specifies percent of the traffic to this Revision or Configuration.
    revisionName string
    RevisionName of a specific revision to which to send this portion of traffic.
    tag string
    Tag is optionally used to expose a dedicated url for referencing this target exclusively.
    url string
    URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
    latest_revision bool
    LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
    percent int
    Percent specifies percent of the traffic to this Revision or Configuration.
    revision_name str
    RevisionName of a specific revision to which to send this portion of traffic.
    tag str
    Tag is optionally used to expose a dedicated url for referencing this target exclusively.
    url str
    URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
    latestRevision Boolean
    LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
    percent Number
    Percent specifies percent of the traffic to this Revision or Configuration.
    revisionName String
    RevisionName of a specific revision to which to send this portion of traffic.
    tag String
    Tag is optionally used to expose a dedicated url for referencing this target exclusively.
    url String
    URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)

    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