1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. cloudrun
  5. getService
Google Cloud v8.26.0 published on Thursday, Apr 10, 2025 by Pulumi

gcp.cloudrun.getService

Explore with Pulumi AI

Google Cloud v8.26.0 published on Thursday, Apr 10, 2025 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",
});
Copy
import pulumi
import pulumi_gcp as gcp

run_service = gcp.cloudrun.get_service(name="my-service",
    location="us-central1")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  run-service:
    fn::invoke:
      function: gcp:cloudrun:getService
      arguments:
        name: my-service
        location: us-central1
Copy

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>
Copy
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]
Copy
func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: gcp:cloudrun/getService:getService
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Location This property is required. string
The location of the cloud run instance. eg us-central1


Name This property is required. 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 This property is required. string
The location of the cloud run instance. eg us-central1


Name This property is required. 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 This property is required. String
The location of the cloud run instance. eg us-central1


name This property is required. 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 This property is required. string
The location of the cloud run instance. eg us-central1


name This property is required. 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 This property is required. str
The location of the cloud run instance. eg us-central1


name This property is required. 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 This property is required. String
The location of the cloud run instance. eg us-central1


name This property is required. 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 This property is required. Dictionary<string, string>
EffectiveAnnotations This property is required. Dictionary<string, string>
EffectiveLabels This property is required. Dictionary<string, string>
Generation This property is required. int
A sequence number representing a specific generation of the desired state.
Labels This property is required. 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 This property is required. string
In Cloud Run the namespace must be equal to either the project ID or project number.
PulumiLabels This property is required. Dictionary<string, string>
The combination of labels configured directly on the resource and default labels configured on the provider.
ResourceVersion This property is required. 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 This property is required. string
SelfLink is a URL representing this object.
Uid This property is required. 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 This property is required. map[string]string
EffectiveAnnotations This property is required. map[string]string
EffectiveLabels This property is required. map[string]string
Generation This property is required. int
A sequence number representing a specific generation of the desired state.
Labels This property is required. 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 This property is required. string
In Cloud Run the namespace must be equal to either the project ID or project number.
PulumiLabels This property is required. map[string]string
The combination of labels configured directly on the resource and default labels configured on the provider.
ResourceVersion This property is required. 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 This property is required. string
SelfLink is a URL representing this object.
Uid This property is required. 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 This property is required. Map<String,String>
effectiveAnnotations This property is required. Map<String,String>
effectiveLabels This property is required. Map<String,String>
generation This property is required. Integer
A sequence number representing a specific generation of the desired state.
labels This property is required. 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 This property is required. String
In Cloud Run the namespace must be equal to either the project ID or project number.
pulumiLabels This property is required. Map<String,String>
The combination of labels configured directly on the resource and default labels configured on the provider.
resourceVersion This property is required. 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 This property is required. String
SelfLink is a URL representing this object.
uid This property is required. 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 This property is required. {[key: string]: string}
effectiveAnnotations This property is required. {[key: string]: string}
effectiveLabels This property is required. {[key: string]: string}
generation This property is required. number
A sequence number representing a specific generation of the desired state.
labels This property is required. {[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 This property is required. string
In Cloud Run the namespace must be equal to either the project ID or project number.
pulumiLabels This property is required. {[key: string]: string}
The combination of labels configured directly on the resource and default labels configured on the provider.
resourceVersion This property is required. 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 This property is required. string
SelfLink is a URL representing this object.
uid This property is required. 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 This property is required. Mapping[str, str]
effective_annotations This property is required. Mapping[str, str]
effective_labels This property is required. Mapping[str, str]
generation This property is required. int
A sequence number representing a specific generation of the desired state.
labels This property is required. 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 This property is required. str
In Cloud Run the namespace must be equal to either the project ID or project number.
pulumi_labels This property is required. Mapping[str, str]
The combination of labels configured directly on the resource and default labels configured on the provider.
resource_version This property is required. 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 This property is required. str
SelfLink is a URL representing this object.
uid This property is required. 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 This property is required. Map<String>
effectiveAnnotations This property is required. Map<String>
effectiveLabels This property is required. Map<String>
generation This property is required. Number
A sequence number representing a specific generation of the desired state.
labels This property is required. 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 This property is required. String
In Cloud Run the namespace must be equal to either the project ID or project number.
pulumiLabels This property is required. Map<String>
The combination of labels configured directly on the resource and default labels configured on the provider.
resourceVersion This property is required. 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 This property is required. String
SelfLink is a URL representing this object.
uid This property is required. 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 This property is required. List<GetServiceStatusCondition>
Array of observed Service Conditions, indicating the current ready state of the service.
LatestCreatedRevisionName This property is required. 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 This property is required. 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 This property is required. 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 This property is required. List<GetServiceStatusTraffic>
Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
Url This property is required. 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 This property is required. []GetServiceStatusCondition
Array of observed Service Conditions, indicating the current ready state of the service.
LatestCreatedRevisionName This property is required. 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 This property is required. 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 This property is required. 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 This property is required. []GetServiceStatusTraffic
Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
Url This property is required. 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 This property is required. List<GetServiceStatusCondition>
Array of observed Service Conditions, indicating the current ready state of the service.
latestCreatedRevisionName This property is required. 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 This property is required. 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 This property is required. 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 This property is required. List<GetServiceStatusTraffic>
Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
url This property is required. 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 This property is required. GetServiceStatusCondition[]
Array of observed Service Conditions, indicating the current ready state of the service.
latestCreatedRevisionName This property is required. 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 This property is required. 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 This property is required. 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 This property is required. GetServiceStatusTraffic[]
Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
url This property is required. 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 This property is required. Sequence[GetServiceStatusCondition]
Array of observed Service Conditions, indicating the current ready state of the service.
latest_created_revision_name This property is required. 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 This property is required. 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 This property is required. 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 This property is required. Sequence[GetServiceStatusTraffic]
Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
url This property is required. 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 This property is required. List<Property Map>
Array of observed Service Conditions, indicating the current ready state of the service.
latestCreatedRevisionName This property is required. 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 This property is required. 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 This property is required. 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 This property is required. List<Property Map>
Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
url This property is required. 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 This property is required. string
Human readable message indicating details about the current status.
Reason This property is required. string
One-word CamelCase reason for the condition's current status.
Status This property is required. string
Status of the condition, one of True, False, Unknown.
Type This property is required. string
Type of domain mapping condition.
Message This property is required. string
Human readable message indicating details about the current status.
Reason This property is required. string
One-word CamelCase reason for the condition's current status.
Status This property is required. string
Status of the condition, one of True, False, Unknown.
Type This property is required. string
Type of domain mapping condition.
message This property is required. String
Human readable message indicating details about the current status.
reason This property is required. String
One-word CamelCase reason for the condition's current status.
status This property is required. String
Status of the condition, one of True, False, Unknown.
type This property is required. String
Type of domain mapping condition.
message This property is required. string
Human readable message indicating details about the current status.
reason This property is required. string
One-word CamelCase reason for the condition's current status.
status This property is required. string
Status of the condition, one of True, False, Unknown.
type This property is required. string
Type of domain mapping condition.
message This property is required. str
Human readable message indicating details about the current status.
reason This property is required. str
One-word CamelCase reason for the condition's current status.
status This property is required. str
Status of the condition, one of True, False, Unknown.
type This property is required. str
Type of domain mapping condition.
message This property is required. String
Human readable message indicating details about the current status.
reason This property is required. String
One-word CamelCase reason for the condition's current status.
status This property is required. String
Status of the condition, one of True, False, Unknown.
type This property is required. String
Type of domain mapping condition.

GetServiceStatusTraffic

LatestRevision This property is required. 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 This property is required. int
Percent specifies percent of the traffic to this Revision or Configuration.
RevisionName This property is required. string
RevisionName of a specific revision to which to send this portion of traffic.
Tag This property is required. string
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
Url This property is required. 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 This property is required. 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 This property is required. int
Percent specifies percent of the traffic to this Revision or Configuration.
RevisionName This property is required. string
RevisionName of a specific revision to which to send this portion of traffic.
Tag This property is required. string
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
Url This property is required. 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 This property is required. 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 This property is required. Integer
Percent specifies percent of the traffic to this Revision or Configuration.
revisionName This property is required. String
RevisionName of a specific revision to which to send this portion of traffic.
tag This property is required. String
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
url This property is required. 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 This property is required. 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 This property is required. number
Percent specifies percent of the traffic to this Revision or Configuration.
revisionName This property is required. string
RevisionName of a specific revision to which to send this portion of traffic.
tag This property is required. string
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
url This property is required. 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 This property is required. 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 This property is required. int
Percent specifies percent of the traffic to this Revision or Configuration.
revision_name This property is required. str
RevisionName of a specific revision to which to send this portion of traffic.
tag This property is required. str
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
url This property is required. 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 This property is required. 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 This property is required. Number
Percent specifies percent of the traffic to this Revision or Configuration.
revisionName This property is required. String
RevisionName of a specific revision to which to send this portion of traffic.
tag This property is required. String
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
url This property is required. 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 This property is required. 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 This property is required. List<GetServiceTemplateSpec>
RevisionSpec holds the desired state of the Revision (from the client).
Metadatas This property is required. []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 This property is required. []GetServiceTemplateSpec
RevisionSpec holds the desired state of the Revision (from the client).
metadatas This property is required. 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 This property is required. List<GetServiceTemplateSpec>
RevisionSpec holds the desired state of the Revision (from the client).
metadatas This property is required. 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 This property is required. GetServiceTemplateSpec[]
RevisionSpec holds the desired state of the Revision (from the client).
metadatas This property is required. 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 This property is required. Sequence[GetServiceTemplateSpec]
RevisionSpec holds the desired state of the Revision (from the client).
metadatas This property is required. 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 This property is required. List<Property Map>
RevisionSpec holds the desired state of the Revision (from the client).

GetServiceTemplateMetadata

Annotations This property is required. Dictionary<string, string>
Generation This property is required. int
A sequence number representing a specific generation of the desired state.
Labels This property is required. Dictionary<string, string>
Map of string keys and values that can be used to organize and categorize (scope and select) objects.
Name This property is required. string
The name of the Cloud Run Service.
Namespace This property is required. 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 This property is required. 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 This property is required. string
SelfLink is a URL representing this object.
Uid This property is required. 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 This property is required. map[string]string
Generation This property is required. int
A sequence number representing a specific generation of the desired state.
Labels This property is required. map[string]string
Map of string keys and values that can be used to organize and categorize (scope and select) objects.
Name This property is required. string
The name of the Cloud Run Service.
Namespace This property is required. 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 This property is required. 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 This property is required. string
SelfLink is a URL representing this object.
Uid This property is required. 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 This property is required. Map<String,String>
generation This property is required. Integer
A sequence number representing a specific generation of the desired state.
labels This property is required. Map<String,String>
Map of string keys and values that can be used to organize and categorize (scope and select) objects.
name This property is required. String
The name of the Cloud Run Service.
namespace This property is required. 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 This property is required. 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 This property is required. String
SelfLink is a URL representing this object.
uid This property is required. 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 This property is required. {[key: string]: string}
generation This property is required. number
A sequence number representing a specific generation of the desired state.
labels This property is required. {[key: string]: string}
Map of string keys and values that can be used to organize and categorize (scope and select) objects.
name This property is required. string
The name of the Cloud Run Service.
namespace This property is required. 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 This property is required. 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 This property is required. string
SelfLink is a URL representing this object.
uid This property is required. 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 This property is required. Mapping[str, str]
generation This property is required. int
A sequence number representing a specific generation of the desired state.
labels This property is required. Mapping[str, str]
Map of string keys and values that can be used to organize and categorize (scope and select) objects.
name This property is required. str
The name of the Cloud Run Service.
namespace This property is required. 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 This property is required. 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 This property is required. str
SelfLink is a URL representing this object.
uid This property is required. 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 This property is required. Map<String>
generation This property is required. Number
A sequence number representing a specific generation of the desired state.
labels This property is required. Map<String>
Map of string keys and values that can be used to organize and categorize (scope and select) objects.
name This property is required. String
The name of the Cloud Run Service.
namespace This property is required. 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 This property is required. 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 This property is required. String
SelfLink is a URL representing this object.
uid This property is required. 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 This property is required. 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 This property is required. List<GetServiceTemplateSpecContainer>
Containers defines the unit of execution for this Revision.
NodeSelector This property is required. 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 This property is required. string
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
ServingState This property is required. 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 This property is required. int
TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
Volumes This property is required. List<GetServiceTemplateSpecVolume>
Volume represents a named volume in a container.
ContainerConcurrency This property is required. 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 This property is required. []GetServiceTemplateSpecContainer
Containers defines the unit of execution for this Revision.
NodeSelector This property is required. 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 This property is required. string
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
ServingState This property is required. 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 This property is required. int
TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
Volumes This property is required. []GetServiceTemplateSpecVolume
Volume represents a named volume in a container.
containerConcurrency This property is required. 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 This property is required. List<GetServiceTemplateSpecContainer>
Containers defines the unit of execution for this Revision.
nodeSelector This property is required. 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 This property is required. String
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
servingState This property is required. 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 This property is required. Integer
TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
volumes This property is required. List<GetServiceTemplateSpecVolume>
Volume represents a named volume in a container.
containerConcurrency This property is required. 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 This property is required. GetServiceTemplateSpecContainer[]
Containers defines the unit of execution for this Revision.
nodeSelector This property is required. {[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 This property is required. string
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
servingState This property is required. 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 This property is required. number
TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
volumes This property is required. GetServiceTemplateSpecVolume[]
Volume represents a named volume in a container.
container_concurrency This property is required. 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 This property is required. Sequence[GetServiceTemplateSpecContainer]
Containers defines the unit of execution for this Revision.
node_selector This property is required. 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 This property is required. str
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
serving_state This property is required. 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 This property is required. int
TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
volumes This property is required. Sequence[GetServiceTemplateSpecVolume]
Volume represents a named volume in a container.
containerConcurrency This property is required. 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 This property is required. List<Property Map>
Containers defines the unit of execution for this Revision.
nodeSelector This property is required. 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 This property is required. String
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
servingState This property is required. 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 This property is required. Number
TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
volumes This property is required. List<Property Map>
Volume represents a named volume in a container.

GetServiceTemplateSpecContainer

Args This property is required. List<string>
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
Commands This property is required. List<string>
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
EnvFroms This property is required. 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 This property is required. List<GetServiceTemplateSpecContainerEnv>
List of environment variables to set in the container.
Image This property is required. 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 This property is required. List<GetServiceTemplateSpecContainerLivenessProbe>
Periodic probe of container liveness. Container will be restarted if the probe fails.
Name This property is required. string
The name of the Cloud Run Service.
Ports This property is required. List<GetServiceTemplateSpecContainerPort>
List of open ports in the container.
Resources This property is required. List<GetServiceTemplateSpecContainerResource>
Compute Resources required by this container. Used to set values such as max memory
StartupProbes This property is required. 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 This property is required. List<GetServiceTemplateSpecContainerVolumeMount>
Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
WorkingDir This property is required. string
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
Args This property is required. []string
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
Commands This property is required. []string
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
EnvFroms This property is required. []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 This property is required. []GetServiceTemplateSpecContainerEnv
List of environment variables to set in the container.
Image This property is required. 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 This property is required. []GetServiceTemplateSpecContainerLivenessProbe
Periodic probe of container liveness. Container will be restarted if the probe fails.
Name This property is required. string
The name of the Cloud Run Service.
Ports This property is required. []GetServiceTemplateSpecContainerPort
List of open ports in the container.
Resources This property is required. []GetServiceTemplateSpecContainerResource
Compute Resources required by this container. Used to set values such as max memory
StartupProbes This property is required. []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 This property is required. []GetServiceTemplateSpecContainerVolumeMount
Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
WorkingDir This property is required. string
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
args This property is required. List<String>
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
commands This property is required. List<String>
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
envFroms This property is required. 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 This property is required. List<GetServiceTemplateSpecContainerEnv>
List of environment variables to set in the container.
image This property is required. 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 This property is required. List<GetServiceTemplateSpecContainerLivenessProbe>
Periodic probe of container liveness. Container will be restarted if the probe fails.
name This property is required. String
The name of the Cloud Run Service.
ports This property is required. List<GetServiceTemplateSpecContainerPort>
List of open ports in the container.
resources This property is required. List<GetServiceTemplateSpecContainerResource>
Compute Resources required by this container. Used to set values such as max memory
startupProbes This property is required. 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 This property is required. List<GetServiceTemplateSpecContainerVolumeMount>
Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
workingDir This property is required. String
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
args This property is required. string[]
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
commands This property is required. string[]
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
envFroms This property is required. 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 This property is required. GetServiceTemplateSpecContainerEnv[]
List of environment variables to set in the container.
image This property is required. 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 This property is required. GetServiceTemplateSpecContainerLivenessProbe[]
Periodic probe of container liveness. Container will be restarted if the probe fails.
name This property is required. string
The name of the Cloud Run Service.
ports This property is required. GetServiceTemplateSpecContainerPort[]
List of open ports in the container.
resources This property is required. GetServiceTemplateSpecContainerResource[]
Compute Resources required by this container. Used to set values such as max memory
startupProbes This property is required. 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 This property is required. GetServiceTemplateSpecContainerVolumeMount[]
Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
workingDir This property is required. string
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
args This property is required. Sequence[str]
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
commands This property is required. Sequence[str]
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
env_froms This property is required. 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 This property is required. Sequence[GetServiceTemplateSpecContainerEnv]
List of environment variables to set in the container.
image This property is required. 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 This property is required. Sequence[GetServiceTemplateSpecContainerLivenessProbe]
Periodic probe of container liveness. Container will be restarted if the probe fails.
name This property is required. str
The name of the Cloud Run Service.
ports This property is required. Sequence[GetServiceTemplateSpecContainerPort]
List of open ports in the container.
resources This property is required. Sequence[GetServiceTemplateSpecContainerResource]
Compute Resources required by this container. Used to set values such as max memory
startup_probes This property is required. 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 This property is required. Sequence[GetServiceTemplateSpecContainerVolumeMount]
Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
working_dir This property is required. str
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
args This property is required. List<String>
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
commands This property is required. List<String>
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
envFroms This property is required. 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 This property is required. List<Property Map>
List of environment variables to set in the container.
image This property is required. 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 This property is required. List<Property Map>
Periodic probe of container liveness. Container will be restarted if the probe fails.
name This property is required. String
The name of the Cloud Run Service.
ports This property is required. List<Property Map>
List of open ports in the container.
resources This property is required. List<Property Map>
Compute Resources required by this container. Used to set values such as max memory
startupProbes This property is required. 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 This property is required. List<Property Map>
Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
workingDir This property is required. String
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.

GetServiceTemplateSpecContainerEnv

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

GetServiceTemplateSpecContainerEnvFrom

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

GetServiceTemplateSpecContainerEnvFromConfigMapRef

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

GetServiceTemplateSpecContainerEnvFromConfigMapRefLocalObjectReference

Name This property is required. string
The name of the Cloud Run Service.
Name This property is required. string
The name of the Cloud Run Service.
name This property is required. String
The name of the Cloud Run Service.
name This property is required. string
The name of the Cloud Run Service.
name This property is required. str
The name of the Cloud Run Service.
name This property is required. String
The name of the Cloud Run Service.

GetServiceTemplateSpecContainerEnvFromSecretRef

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

GetServiceTemplateSpecContainerEnvFromSecretRefLocalObjectReference

Name This property is required. string
The name of the Cloud Run Service.
Name This property is required. string
The name of the Cloud Run Service.
name This property is required. String
The name of the Cloud Run Service.
name This property is required. string
The name of the Cloud Run Service.
name This property is required. str
The name of the Cloud Run Service.
name This property is required. String
The name of the Cloud Run Service.

GetServiceTemplateSpecContainerEnvValueFrom

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

GetServiceTemplateSpecContainerEnvValueFromSecretKeyRef

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

GetServiceTemplateSpecContainerLivenessProbe

FailureThreshold This property is required. int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
Grpcs This property is required. List<GetServiceTemplateSpecContainerLivenessProbeGrpc>
GRPC specifies an action involving a GRPC port.
HttpGets This property is required. List<GetServiceTemplateSpecContainerLivenessProbeHttpGet>
HttpGet specifies the http request to perform.
InitialDelaySeconds This property is required. int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.
PeriodSeconds This property is required. int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
TimeoutSeconds This property is required. int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
FailureThreshold This property is required. int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
Grpcs This property is required. []GetServiceTemplateSpecContainerLivenessProbeGrpc
GRPC specifies an action involving a GRPC port.
HttpGets This property is required. []GetServiceTemplateSpecContainerLivenessProbeHttpGet
HttpGet specifies the http request to perform.
InitialDelaySeconds This property is required. int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.
PeriodSeconds This property is required. int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
TimeoutSeconds This property is required. int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
failureThreshold This property is required. Integer
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. List<GetServiceTemplateSpecContainerLivenessProbeGrpc>
GRPC specifies an action involving a GRPC port.
httpGets This property is required. List<GetServiceTemplateSpecContainerLivenessProbeHttpGet>
HttpGet specifies the http request to perform.
initialDelaySeconds This property is required. Integer
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.
periodSeconds This property is required. Integer
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
timeoutSeconds This property is required. Integer
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
failureThreshold This property is required. number
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. GetServiceTemplateSpecContainerLivenessProbeGrpc[]
GRPC specifies an action involving a GRPC port.
httpGets This property is required. GetServiceTemplateSpecContainerLivenessProbeHttpGet[]
HttpGet specifies the http request to perform.
initialDelaySeconds This property is required. number
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.
periodSeconds This property is required. number
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
timeoutSeconds This property is required. number
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
failure_threshold This property is required. int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. Sequence[GetServiceTemplateSpecContainerLivenessProbeGrpc]
GRPC specifies an action involving a GRPC port.
http_gets This property is required. Sequence[GetServiceTemplateSpecContainerLivenessProbeHttpGet]
HttpGet specifies the http request to perform.
initial_delay_seconds This property is required. int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.
period_seconds This property is required. int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
timeout_seconds This property is required. int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
failureThreshold This property is required. Number
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. List<Property Map>
GRPC specifies an action involving a GRPC port.
httpGets This property is required. List<Property Map>
HttpGet specifies the http request to perform.
initialDelaySeconds This property is required. Number
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.
periodSeconds This property is required. Number
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
timeoutSeconds This property is required. Number
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.

GetServiceTemplateSpecContainerLivenessProbeGrpc

Port This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. List<GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeader>
Custom headers to set in the request. HTTP allows repeated headers.
Path This property is required. string
Path to access on the HTTP server. If set, it should not be empty string.
Port This property is required. 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 This property is required. []GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeader
Custom headers to set in the request. HTTP allows repeated headers.
Path This property is required. string
Path to access on the HTTP server. If set, it should not be empty string.
Port This property is required. 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 This property is required. List<GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeader>
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. String
Path to access on the HTTP server. If set, it should not be empty string.
port This property is required. 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 This property is required. GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeader[]
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. string
Path to access on the HTTP server. If set, it should not be empty string.
port This property is required. 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 This property is required. Sequence[GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeader]
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. str
Path to access on the HTTP server. If set, it should not be empty string.
port This property is required. 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 This property is required. List<Property Map>
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. String
Path to access on the HTTP server. If set, it should not be empty string.
port This property is required. 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 This property is required. string
The name of the Cloud Run Service.
Value This property is required. string
The header field value.
Name This property is required. string
The name of the Cloud Run Service.
Value This property is required. string
The header field value.
name This property is required. String
The name of the Cloud Run Service.
value This property is required. String
The header field value.
name This property is required. string
The name of the Cloud Run Service.
value This property is required. string
The header field value.
name This property is required. str
The name of the Cloud Run Service.
value This property is required. str
The header field value.
name This property is required. String
The name of the Cloud Run Service.
value This property is required. String
The header field value.

GetServiceTemplateSpecContainerPort

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

GetServiceTemplateSpecContainerResource

Limits This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. {[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 This property is required. {[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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
Grpcs This property is required. List<GetServiceTemplateSpecContainerStartupProbeGrpc>
GRPC specifies an action involving a GRPC port.
HttpGets This property is required. List<GetServiceTemplateSpecContainerStartupProbeHttpGet>
HttpGet specifies the http request to perform.
InitialDelaySeconds This property is required. int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
PeriodSeconds This property is required. int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
TcpSockets This property is required. List<GetServiceTemplateSpecContainerStartupProbeTcpSocket>
TcpSocket specifies an action involving a TCP port.
TimeoutSeconds This property is required. int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds.
FailureThreshold This property is required. int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
Grpcs This property is required. []GetServiceTemplateSpecContainerStartupProbeGrpc
GRPC specifies an action involving a GRPC port.
HttpGets This property is required. []GetServiceTemplateSpecContainerStartupProbeHttpGet
HttpGet specifies the http request to perform.
InitialDelaySeconds This property is required. int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
PeriodSeconds This property is required. int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
TcpSockets This property is required. []GetServiceTemplateSpecContainerStartupProbeTcpSocket
TcpSocket specifies an action involving a TCP port.
TimeoutSeconds This property is required. int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds.
failureThreshold This property is required. Integer
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. List<GetServiceTemplateSpecContainerStartupProbeGrpc>
GRPC specifies an action involving a GRPC port.
httpGets This property is required. List<GetServiceTemplateSpecContainerStartupProbeHttpGet>
HttpGet specifies the http request to perform.
initialDelaySeconds This property is required. Integer
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
periodSeconds This property is required. Integer
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
tcpSockets This property is required. List<GetServiceTemplateSpecContainerStartupProbeTcpSocket>
TcpSocket specifies an action involving a TCP port.
timeoutSeconds This property is required. Integer
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds.
failureThreshold This property is required. number
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. GetServiceTemplateSpecContainerStartupProbeGrpc[]
GRPC specifies an action involving a GRPC port.
httpGets This property is required. GetServiceTemplateSpecContainerStartupProbeHttpGet[]
HttpGet specifies the http request to perform.
initialDelaySeconds This property is required. number
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
periodSeconds This property is required. number
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
tcpSockets This property is required. GetServiceTemplateSpecContainerStartupProbeTcpSocket[]
TcpSocket specifies an action involving a TCP port.
timeoutSeconds This property is required. number
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds.
failure_threshold This property is required. int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. Sequence[GetServiceTemplateSpecContainerStartupProbeGrpc]
GRPC specifies an action involving a GRPC port.
http_gets This property is required. Sequence[GetServiceTemplateSpecContainerStartupProbeHttpGet]
HttpGet specifies the http request to perform.
initial_delay_seconds This property is required. int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
period_seconds This property is required. int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
tcp_sockets This property is required. Sequence[GetServiceTemplateSpecContainerStartupProbeTcpSocket]
TcpSocket specifies an action involving a TCP port.
timeout_seconds This property is required. int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds.
failureThreshold This property is required. Number
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. List<Property Map>
GRPC specifies an action involving a GRPC port.
httpGets This property is required. List<Property Map>
HttpGet specifies the http request to perform.
initialDelaySeconds This property is required. Number
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
periodSeconds This property is required. Number
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
tcpSockets This property is required. List<Property Map>
TcpSocket specifies an action involving a TCP port.
timeoutSeconds This property is required. Number
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds.

GetServiceTemplateSpecContainerStartupProbeGrpc

Port This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. List<GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeader>
Custom headers to set in the request. HTTP allows repeated headers.
Path This property is required. string
Path to access on the HTTP server. If set, it should not be empty string.
Port This property is required. 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 This property is required. []GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeader
Custom headers to set in the request. HTTP allows repeated headers.
Path This property is required. string
Path to access on the HTTP server. If set, it should not be empty string.
Port This property is required. 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 This property is required. List<GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeader>
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. String
Path to access on the HTTP server. If set, it should not be empty string.
port This property is required. 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 This property is required. GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeader[]
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. string
Path to access on the HTTP server. If set, it should not be empty string.
port This property is required. 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 This property is required. Sequence[GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeader]
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. str
Path to access on the HTTP server. If set, it should not be empty string.
port This property is required. 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 This property is required. List<Property Map>
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. String
Path to access on the HTTP server. If set, it should not be empty string.
port This property is required. 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 This property is required. string
The name of the Cloud Run Service.
Value This property is required. string
The header field value.
Name This property is required. string
The name of the Cloud Run Service.
Value This property is required. string
The header field value.
name This property is required. String
The name of the Cloud Run Service.
value This property is required. String
The header field value.
name This property is required. string
The name of the Cloud Run Service.
value This property is required. string
The header field value.
name This property is required. str
The name of the Cloud Run Service.
value This property is required. str
The header field value.
name This property is required. String
The name of the Cloud Run Service.
value This property is required. String
The header field value.

GetServiceTemplateSpecContainerStartupProbeTcpSocket

Port This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
Path within the container at which the volume should be mounted. Must not contain ':'.
Name This property is required. string
The name of the Cloud Run Service.
MountPath This property is required. string
Path within the container at which the volume should be mounted. Must not contain ':'.
Name This property is required. string
The name of the Cloud Run Service.
mountPath This property is required. String
Path within the container at which the volume should be mounted. Must not contain ':'.
name This property is required. String
The name of the Cloud Run Service.
mountPath This property is required. string
Path within the container at which the volume should be mounted. Must not contain ':'.
name This property is required. string
The name of the Cloud Run Service.
mount_path This property is required. str
Path within the container at which the volume should be mounted. Must not contain ':'.
name This property is required. str
The name of the Cloud Run Service.
mountPath This property is required. String
Path within the container at which the volume should be mounted. Must not contain ':'.
name This property is required. String
The name of the Cloud Run Service.

GetServiceTemplateSpecVolume

Csis This property is required. List<GetServiceTemplateSpecVolumeCsi>
A filesystem specified by the Container Storage Interface (CSI).
EmptyDirs This property is required. 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 This property is required. string
The name of the Cloud Run Service.
Nfs This property is required. 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 This property is required. 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 This property is required. []GetServiceTemplateSpecVolumeCsi
A filesystem specified by the Container Storage Interface (CSI).
EmptyDirs This property is required. []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 This property is required. string
The name of the Cloud Run Service.
Nfs This property is required. []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 This property is required. []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 This property is required. List<GetServiceTemplateSpecVolumeCsi>
A filesystem specified by the Container Storage Interface (CSI).
emptyDirs This property is required. 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 This property is required. String
The name of the Cloud Run Service.
nfs This property is required. 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 This property is required. 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 This property is required. GetServiceTemplateSpecVolumeCsi[]
A filesystem specified by the Container Storage Interface (CSI).
emptyDirs This property is required. 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 This property is required. string
The name of the Cloud Run Service.
nfs This property is required. 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 This property is required. 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 This property is required. Sequence[GetServiceTemplateSpecVolumeCsi]
A filesystem specified by the Container Storage Interface (CSI).
empty_dirs This property is required. 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 This property is required. str
The name of the Cloud Run Service.
nfs This property is required. 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 This property is required. 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 This property is required. List<Property Map>
A filesystem specified by the Container Storage Interface (CSI).
emptyDirs This property is required. 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 This property is required. String
The name of the Cloud Run Service.
nfs This property is required. 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 This property is required. 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 This property is required. 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 This property is required. bool
If true, all mounts created from this volume will be read-only.
VolumeAttributes This property is required. 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 This property is required. 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 This property is required. bool
If true, all mounts created from this volume will be read-only.
VolumeAttributes This property is required. 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 This property is required. 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 This property is required. Boolean
If true, all mounts created from this volume will be read-only.
volumeAttributes This property is required. 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 This property is required. 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 This property is required. boolean
If true, all mounts created from this volume will be read-only.
volumeAttributes This property is required. {[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 This property is required. 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 This property is required. bool
If true, all mounts created from this volume will be read-only.
volume_attributes This property is required. 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 This property is required. 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 This property is required. Boolean
If true, all mounts created from this volume will be read-only.
volumeAttributes This property is required. 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 This property is required. 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 This property is required. string
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers 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 This property is required. 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 This property is required. string
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers 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 This property is required. 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 This property is required. String
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers 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 This property is required. 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 This property is required. string
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers 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 This property is required. 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 This property is required. str
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers 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 This property is required. 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 This property is required. String
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers 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 This property is required. string
Path exported by the NFS server
ReadOnly This property is required. bool
If true, mount the NFS volume as read only in all mounts. Defaults to false.
Server This property is required. string
IP address or hostname of the NFS server
Path This property is required. string
Path exported by the NFS server
ReadOnly This property is required. bool
If true, mount the NFS volume as read only in all mounts. Defaults to false.
Server This property is required. string
IP address or hostname of the NFS server
path This property is required. String
Path exported by the NFS server
readOnly This property is required. Boolean
If true, mount the NFS volume as read only in all mounts. Defaults to false.
server This property is required. String
IP address or hostname of the NFS server
path This property is required. string
Path exported by the NFS server
readOnly This property is required. boolean
If true, mount the NFS volume as read only in all mounts. Defaults to false.
server This property is required. string
IP address or hostname of the NFS server
path This property is required. str
Path exported by the NFS server
read_only This property is required. bool
If true, mount the NFS volume as read only in all mounts. Defaults to false.
server This property is required. str
IP address or hostname of the NFS server
path This property is required. String
Path exported by the NFS server
readOnly This property is required. Boolean
If true, mount the NFS volume as read only in all mounts. Defaults to false.
server This property is required. String
IP address or hostname of the NFS server

GetServiceTemplateSpecVolumeSecret

DefaultMode This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. []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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
Mode This property is required. 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 This property is required. 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 This property is required. string
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
Mode This property is required. 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 This property is required. 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 This property is required. String
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
mode This property is required. 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 This property is required. 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 This property is required. string
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
mode This property is required. 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 This property is required. 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 This property is required. str
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
mode This property is required. 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 This property is required. 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 This property is required. String
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
mode This property is required. 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 This property is required. 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 This property is required. 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 This property is required. int
Percent specifies percent of the traffic to this Revision or Configuration.
RevisionName This property is required. string
RevisionName of a specific revision to which to send this portion of traffic.
Tag This property is required. string
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
Url This property is required. 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 This property is required. 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 This property is required. int
Percent specifies percent of the traffic to this Revision or Configuration.
RevisionName This property is required. string
RevisionName of a specific revision to which to send this portion of traffic.
Tag This property is required. string
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
Url This property is required. 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 This property is required. 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 This property is required. Integer
Percent specifies percent of the traffic to this Revision or Configuration.
revisionName This property is required. String
RevisionName of a specific revision to which to send this portion of traffic.
tag This property is required. String
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
url This property is required. 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 This property is required. 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 This property is required. number
Percent specifies percent of the traffic to this Revision or Configuration.
revisionName This property is required. string
RevisionName of a specific revision to which to send this portion of traffic.
tag This property is required. string
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
url This property is required. 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 This property is required. 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 This property is required. int
Percent specifies percent of the traffic to this Revision or Configuration.
revision_name This property is required. str
RevisionName of a specific revision to which to send this portion of traffic.
tag This property is required. str
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
url This property is required. 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 This property is required. 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 This property is required. Number
Percent specifies percent of the traffic to this Revision or Configuration.
revisionName This property is required. String
RevisionName of a specific revision to which to send this portion of traffic.
tag This property is required. String
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
url This property is required. 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.
Google Cloud v8.26.0 published on Thursday, Apr 10, 2025 by Pulumi