gcp.cloudrunv2.getService
Explore with Pulumi AI
Get information about a Google Cloud Run v2 Service. For more information see the official documentation and API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const myService = gcp.cloudrunv2.getService({
name: "my-service",
location: "us-central1",
});
import pulumi
import pulumi_gcp as gcp
my_service = gcp.cloudrunv2.get_service(name="my-service",
location="us-central1")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudrunv2.LookupService(ctx, &cloudrunv2.LookupServiceArgs{
Name: "my-service",
Location: pulumi.StringRef("us-central1"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var myService = Gcp.CloudRunV2.GetService.Invoke(new()
{
Name = "my-service",
Location = "us-central1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.cloudrunv2.Cloudrunv2Functions;
import com.pulumi.gcp.cloudrunv2.inputs.GetServiceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var myService = Cloudrunv2Functions.getService(GetServiceArgs.builder()
.name("my-service")
.location("us-central1")
.build());
}
}
variables:
myService:
fn::invoke:
Function: gcp:cloudrunv2:getService
Arguments:
name: my-service
location: us-central1
Using getService
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>
def get_service(location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]
func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput
> Note: This function is named LookupService
in the Go SDK.
public static class GetService
{
public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: gcp:cloudrunv2/getService:getService
arguments:
# arguments dictionary
The following arguments are supported:
getService Result
The following output properties are available:
- Annotations Dictionary<string, string>
- List<Get
Service Binary Authorization> - Client string
- Client
Version string - Conditions
List<Get
Service Condition> - Create
Time string - Creator string
- Custom
Audiences List<string> - Default
Uri boolDisabled - Delete
Time string - Deletion
Protection bool - Description string
- Effective
Annotations Dictionary<string, string> - Effective
Labels Dictionary<string, string> - Etag string
- Expire
Time string - Generation string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ingress string
- Labels Dictionary<string, string>
- Last
Modifier string - Latest
Created stringRevision - Latest
Ready stringRevision - Launch
Stage string - Name string
- Observed
Generation string - Pulumi
Labels Dictionary<string, string> - Reconciling bool
- Scalings
List<Get
Service Scaling> - Templates
List<Get
Service Template> - Terminal
Conditions List<GetService Terminal Condition> - Traffic
Statuses List<GetService Traffic Status> - Traffics
List<Get
Service Traffic> - Uid string
- Update
Time string - Uri string
- Location string
- Project string
- Annotations map[string]string
- []Get
Service Binary Authorization - Client string
- Client
Version string - Conditions
[]Get
Service Condition - Create
Time string - Creator string
- Custom
Audiences []string - Default
Uri boolDisabled - Delete
Time string - Deletion
Protection bool - Description string
- Effective
Annotations map[string]string - Effective
Labels map[string]string - Etag string
- Expire
Time string - Generation string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ingress string
- Labels map[string]string
- Last
Modifier string - Latest
Created stringRevision - Latest
Ready stringRevision - Launch
Stage string - Name string
- Observed
Generation string - Pulumi
Labels map[string]string - Reconciling bool
- Scalings
[]Get
Service Scaling - Templates
[]Get
Service Template - Terminal
Conditions []GetService Terminal Condition - Traffic
Statuses []GetService Traffic Status - Traffics
[]Get
Service Traffic - Uid string
- Update
Time string - Uri string
- Location string
- Project string
- annotations Map<String,String>
- List<Get
Service Binary Authorization> - client String
- client
Version String - conditions
List<Get
Service Condition> - create
Time String - creator String
- custom
Audiences List<String> - default
Uri BooleanDisabled - delete
Time String - deletion
Protection Boolean - description String
- effective
Annotations Map<String,String> - effective
Labels Map<String,String> - etag String
- expire
Time String - generation String
- id String
- The provider-assigned unique ID for this managed resource.
- ingress String
- labels Map<String,String>
- last
Modifier String - latest
Created StringRevision - latest
Ready StringRevision - launch
Stage String - name String
- observed
Generation String - pulumi
Labels Map<String,String> - reconciling Boolean
- scalings
List<Get
Service Scaling> - templates
List<Get
Service Template> - terminal
Conditions List<GetService Terminal Condition> - traffic
Statuses List<GetService Traffic Status> - traffics
List<Get
Service Traffic> - uid String
- update
Time String - uri String
- location String
- project String
- annotations {[key: string]: string}
- Get
Service Binary Authorization[] - client string
- client
Version string - conditions
Get
Service Condition[] - create
Time string - creator string
- custom
Audiences string[] - default
Uri booleanDisabled - delete
Time string - deletion
Protection boolean - description string
- effective
Annotations {[key: string]: string} - effective
Labels {[key: string]: string} - etag string
- expire
Time string - generation string
- id string
- The provider-assigned unique ID for this managed resource.
- ingress string
- labels {[key: string]: string}
- last
Modifier string - latest
Created stringRevision - latest
Ready stringRevision - launch
Stage string - name string
- observed
Generation string - pulumi
Labels {[key: string]: string} - reconciling boolean
- scalings
Get
Service Scaling[] - templates
Get
Service Template[] - terminal
Conditions GetService Terminal Condition[] - traffic
Statuses GetService Traffic Status[] - traffics
Get
Service Traffic[] - uid string
- update
Time string - uri string
- location string
- project string
- annotations Mapping[str, str]
- Sequence[Get
Service Binary Authorization] - client str
- client_
version str - conditions
Sequence[Get
Service Condition] - create_
time str - creator str
- custom_
audiences Sequence[str] - default_
uri_ booldisabled - delete_
time str - deletion_
protection bool - description str
- effective_
annotations Mapping[str, str] - effective_
labels Mapping[str, str] - etag str
- expire_
time str - generation str
- id str
- The provider-assigned unique ID for this managed resource.
- ingress str
- labels Mapping[str, str]
- last_
modifier str - latest_
created_ strrevision - latest_
ready_ strrevision - launch_
stage str - name str
- observed_
generation str - pulumi_
labels Mapping[str, str] - reconciling bool
- scalings
Sequence[Get
Service Scaling] - templates
Sequence[Get
Service Template] - terminal_
conditions Sequence[GetService Terminal Condition] - traffic_
statuses Sequence[GetService Traffic Status] - traffics
Sequence[Get
Service Traffic] - uid str
- update_
time str - uri str
- location str
- project str
- annotations Map<String>
- List<Property Map>
- client String
- client
Version String - conditions List<Property Map>
- create
Time String - creator String
- custom
Audiences List<String> - default
Uri BooleanDisabled - delete
Time String - deletion
Protection Boolean - description String
- effective
Annotations Map<String> - effective
Labels Map<String> - etag String
- expire
Time String - generation String
- id String
- The provider-assigned unique ID for this managed resource.
- ingress String
- labels Map<String>
- last
Modifier String - latest
Created StringRevision - latest
Ready StringRevision - launch
Stage String - name String
- observed
Generation String - pulumi
Labels Map<String> - reconciling Boolean
- scalings List<Property Map>
- templates List<Property Map>
- terminal
Conditions List<Property Map> - traffic
Statuses List<Property Map> - traffics List<Property Map>
- uid String
- update
Time String - uri String
- location String
- project String
Supporting Types
GetServiceBinaryAuthorization
- Breakglass
Justification string - If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
- Policy string
- The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
- Use
Default bool - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
- Breakglass
Justification string - If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
- Policy string
- The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
- Use
Default bool - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
- breakglass
Justification String - If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
- policy String
- The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
- use
Default Boolean - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
- breakglass
Justification string - If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
- policy string
- The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
- use
Default boolean - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
- breakglass_
justification str - If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
- policy str
- The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
- use_
default bool - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
- breakglass
Justification String - If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
- policy String
- The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
- use
Default Boolean - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
GetServiceCondition
- Execution
Reason string - A reason for the execution condition.
- Last
Transition stringTime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Message string
- Human readable message indicating details about the current status.
- Reason string
- A common (service-level) reason for this condition.
- Revision
Reason string - A reason for the revision condition.
- Severity string
- How to interpret failures of this condition, one of Error, Warning, Info
- State string
- State of the condition.
- Type string
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- Execution
Reason string - A reason for the execution condition.
- Last
Transition stringTime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Message string
- Human readable message indicating details about the current status.
- Reason string
- A common (service-level) reason for this condition.
- Revision
Reason string - A reason for the revision condition.
- Severity string
- How to interpret failures of this condition, one of Error, Warning, Info
- State string
- State of the condition.
- Type string
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason String - A reason for the execution condition.
- last
Transition StringTime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- message String
- Human readable message indicating details about the current status.
- reason String
- A common (service-level) reason for this condition.
- revision
Reason String - A reason for the revision condition.
- severity String
- How to interpret failures of this condition, one of Error, Warning, Info
- state String
- State of the condition.
- type String
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason string - A reason for the execution condition.
- last
Transition stringTime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- message string
- Human readable message indicating details about the current status.
- reason string
- A common (service-level) reason for this condition.
- revision
Reason string - A reason for the revision condition.
- severity string
- How to interpret failures of this condition, one of Error, Warning, Info
- state string
- State of the condition.
- type string
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution_
reason str - A reason for the execution condition.
- last_
transition_ strtime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- message str
- Human readable message indicating details about the current status.
- reason str
- A common (service-level) reason for this condition.
- revision_
reason str - A reason for the revision condition.
- severity str
- How to interpret failures of this condition, one of Error, Warning, Info
- state str
- State of the condition.
- type str
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason String - A reason for the execution condition.
- last
Transition StringTime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- message String
- Human readable message indicating details about the current status.
- reason String
- A common (service-level) reason for this condition.
- revision
Reason String - A reason for the revision condition.
- severity String
- How to interpret failures of this condition, one of Error, Warning, Info
- state String
- State of the condition.
- type String
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
GetServiceScaling
- Min
Instance intCount - Minimum number of instances for the service, to be divided among all revisions receiving traffic.
- Min
Instance intCount - Minimum number of instances for the service, to be divided among all revisions receiving traffic.
- min
Instance IntegerCount - Minimum number of instances for the service, to be divided among all revisions receiving traffic.
- min
Instance numberCount - Minimum number of instances for the service, to be divided among all revisions receiving traffic.
- min_
instance_ intcount - Minimum number of instances for the service, to be divided among all revisions receiving traffic.
- min
Instance NumberCount - Minimum number of instances for the service, to be divided among all revisions receiving traffic.
GetServiceTemplate
- Annotations Dictionary<string, string>
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- Containers
List<Get
Service Template Container> - Holds the containers that define the unit of execution for this Service.
- Encryption
Key string - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- Execution
Environment string - The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- Labels Dictionary<string, string>
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
- Max
Instance intRequest Concurrency - Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- Revision string
- The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
- Scalings
List<Get
Service Template Scaling> - Scaling settings for this Revision.
- Service
Account 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.
- Service
Meshes List<GetService Template Service Mesh> - Enables Cloud Service Mesh for this Revision.
- Session
Affinity bool - Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
- Timeout string
Max allowed time for an instance to respond to a request.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
- Volumes
List<Get
Service Template Volume> - A list of Volumes to make available to containers.
- Vpc
Accesses List<GetService Template Vpc Access> - VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
- Annotations map[string]string
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- Containers
[]Get
Service Template Container - Holds the containers that define the unit of execution for this Service.
- Encryption
Key string - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- Execution
Environment string - The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- Labels map[string]string
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
- Max
Instance intRequest Concurrency - Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- Revision string
- The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
- Scalings
[]Get
Service Template Scaling - Scaling settings for this Revision.
- Service
Account 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.
- Service
Meshes []GetService Template Service Mesh - Enables Cloud Service Mesh for this Revision.
- Session
Affinity bool - Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
- Timeout string
Max allowed time for an instance to respond to a request.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
- Volumes
[]Get
Service Template Volume - A list of Volumes to make available to containers.
- Vpc
Accesses []GetService Template Vpc Access - VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
- annotations Map<String,String>
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- containers
List<Get
Service Template Container> - Holds the containers that define the unit of execution for this Service.
- encryption
Key String - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- execution
Environment String - The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- labels Map<String,String>
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
- max
Instance IntegerRequest Concurrency - Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- revision String
- The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
- scalings
List<Get
Service Template Scaling> - Scaling settings for this Revision.
- service
Account 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.
- service
Meshes List<GetService Template Service Mesh> - Enables Cloud Service Mesh for this Revision.
- session
Affinity Boolean - Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
- timeout String
Max allowed time for an instance to respond to a request.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
- volumes
List<Get
Service Template Volume> - A list of Volumes to make available to containers.
- vpc
Accesses List<GetService Template Vpc Access> - VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
- annotations {[key: string]: string}
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- containers
Get
Service Template Container[] - Holds the containers that define the unit of execution for this Service.
- encryption
Key string - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- execution
Environment string - The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- labels {[key: string]: string}
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
- max
Instance numberRequest Concurrency - Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- revision string
- The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
- scalings
Get
Service Template Scaling[] - Scaling settings for this Revision.
- service
Account 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.
- service
Meshes GetService Template Service Mesh[] - Enables Cloud Service Mesh for this Revision.
- session
Affinity boolean - Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
- timeout string
Max allowed time for an instance to respond to a request.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
- volumes
Get
Service Template Volume[] - A list of Volumes to make available to containers.
- vpc
Accesses GetService Template Vpc Access[] - VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
- annotations Mapping[str, str]
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- containers
Sequence[Get
Service Template Container] - Holds the containers that define the unit of execution for this Service.
- encryption_
key str - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- execution_
environment str - The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- labels Mapping[str, str]
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
- max_
instance_ intrequest_ concurrency - Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- revision str
- The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
- scalings
Sequence[Get
Service Template Scaling] - Scaling settings for this Revision.
- service_
account str - Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
- service_
meshes Sequence[GetService Template Service Mesh] - Enables Cloud Service Mesh for this Revision.
- session_
affinity bool - Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
- timeout str
Max allowed time for an instance to respond to a request.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
- volumes
Sequence[Get
Service Template Volume] - A list of Volumes to make available to containers.
- vpc_
accesses Sequence[GetService Template Vpc Access] - VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
- annotations Map<String>
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- containers List<Property Map>
- Holds the containers that define the unit of execution for this Service.
- encryption
Key String - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- execution
Environment String - The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- labels Map<String>
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
- max
Instance NumberRequest Concurrency - Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- revision String
- The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
- scalings List<Property Map>
- Scaling settings for this Revision.
- service
Account 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.
- service
Meshes List<Property Map> - Enables Cloud Service Mesh for this Revision.
- session
Affinity Boolean - Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
- timeout String
Max allowed time for an instance to respond to a request.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
- volumes List<Property Map>
- A list of Volumes to make available to containers.
- vpc
Accesses List<Property Map> - VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
GetServiceTemplateContainer
- Args List<string>
- Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
- Commands List<string>
- Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- Depends
Ons List<string> - Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
- Envs
List<Get
Service Template Container Env> - List of environment variables to set in the container.
- Image string
- URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
- Liveness
Probes List<GetService Template Container Liveness Probe> - Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Name string
- The name of the Cloud Run v2 Service.
- Ports
List<Get
Service Template Container Port> List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
- Resources
List<Get
Service Template Container Resource> - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- Startup
Probes List<GetService Template Container Startup Probe> - Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Volume
Mounts List<GetService Template Container Volume Mount> - Volume to mount into the container's filesystem.
- Working
Dir string - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- Args []string
- Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
- Commands []string
- Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- Depends
Ons []string - Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
- Envs
[]Get
Service Template Container Env - List of environment variables to set in the container.
- Image string
- URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
- Liveness
Probes []GetService Template Container Liveness Probe - Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Name string
- The name of the Cloud Run v2 Service.
- Ports
[]Get
Service Template Container Port List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
- Resources
[]Get
Service Template Container Resource - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- Startup
Probes []GetService Template Container Startup Probe - Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Volume
Mounts []GetService Template Container Volume Mount - Volume to mount into the container's filesystem.
- Working
Dir string - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args List<String>
- Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
- commands List<String>
- Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- depends
Ons List<String> - Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
- envs
List<Get
Service Template Container Env> - List of environment variables to set in the container.
- image String
- URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
- liveness
Probes List<GetService Template Container Liveness Probe> - Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- name String
- The name of the Cloud Run v2 Service.
- ports
List<Get
Service Template Container Port> List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
- resources
List<Get
Service Template Container Resource> - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- startup
Probes List<GetService Template Container Startup Probe> - Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- volume
Mounts List<GetService Template Container Volume Mount> - Volume to mount into the container's filesystem.
- working
Dir String - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args string[]
- Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
- commands string[]
- Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- depends
Ons string[] - Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
- envs
Get
Service Template Container Env[] - List of environment variables to set in the container.
- image string
- URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
- liveness
Probes GetService Template Container Liveness Probe[] - Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- name string
- The name of the Cloud Run v2 Service.
- ports
Get
Service Template Container Port[] List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
- resources
Get
Service Template Container Resource[] - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- startup
Probes GetService Template Container Startup Probe[] - Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- volume
Mounts GetService Template Container Volume Mount[] - Volume to mount into the container's filesystem.
- working
Dir string - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args Sequence[str]
- Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
- commands Sequence[str]
- Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- depends_
ons Sequence[str] - Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
- envs
Sequence[Get
Service Template Container Env] - List of environment variables to set in the container.
- image str
- URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
- liveness_
probes Sequence[GetService Template Container Liveness Probe] - Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- name str
- The name of the Cloud Run v2 Service.
- ports
Sequence[Get
Service Template Container Port] List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
- resources
Sequence[Get
Service Template Container Resource] - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- startup_
probes Sequence[GetService Template Container Startup Probe] - Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- volume_
mounts Sequence[GetService Template Container Volume Mount] - Volume to mount into the container's filesystem.
- working_
dir str - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args List<String>
- Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
- commands List<String>
- Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- depends
Ons List<String> - Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
- envs List<Property Map>
- List of environment variables to set in the container.
- image String
- URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
- liveness
Probes List<Property Map> - Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- name String
- The name of the Cloud Run v2 Service.
- ports List<Property Map>
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
- resources List<Property Map>
- Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- startup
Probes List<Property Map> - Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- volume
Mounts List<Property Map> - Volume to mount into the container's filesystem.
- working
Dir String - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
GetServiceTemplateContainerEnv
- Name string
- The name of the Cloud Run v2 Service.
- Value string
- Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
- Value
Sources List<GetService Template Container Env Value Source> - Source for the environment variable's value.
- Name string
- The name of the Cloud Run v2 Service.
- Value string
- Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
- Value
Sources []GetService Template Container Env Value Source - Source for the environment variable's value.
- name String
- The name of the Cloud Run v2 Service.
- value String
- Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
- value
Sources List<GetService Template Container Env Value Source> - Source for the environment variable's value.
- name string
- The name of the Cloud Run v2 Service.
- value string
- Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
- value
Sources GetService Template Container Env Value Source[] - Source for the environment variable's value.
- name str
- The name of the Cloud Run v2 Service.
- value str
- Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
- value_
sources Sequence[GetService Template Container Env Value Source] - Source for the environment variable's value.
- name String
- The name of the Cloud Run v2 Service.
- value String
- Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
- value
Sources List<Property Map> - Source for the environment variable's value.
GetServiceTemplateContainerEnvValueSource
- Secret
Key List<GetReves Service Template Container Env Value Source Secret Key Ref> - Selects a secret and a specific version from Cloud Secret Manager.
- Secret
Key []GetReves Service Template Container Env Value Source Secret Key Ref - Selects a secret and a specific version from Cloud Secret Manager.
- secret
Key List<GetReves Service Template Container Env Value Source Secret Key Ref> - Selects a secret and a specific version from Cloud Secret Manager.
- secret
Key GetReves Service Template Container Env Value Source Secret Key Ref[] - Selects a secret and a specific version from Cloud Secret Manager.
- secret_
key_ Sequence[Getreves Service Template Container Env Value Source Secret Key Ref] - Selects a secret and a specific version from Cloud Secret Manager.
- secret
Key List<Property Map>Reves - Selects a secret and a specific version from Cloud Secret Manager.
GetServiceTemplateContainerEnvValueSourceSecretKeyRef
- Secret string
- The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
- Version string
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- Secret string
- The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
- Version string
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- secret String
- The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
- version String
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- secret string
- The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
- version string
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- secret str
- The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
- version str
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- secret String
- The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
- version String
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
GetServiceTemplateContainerLivenessProbe
- Failure
Threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- Grpcs
List<Get
Service Template Container Liveness Probe Grpc> - GRPC specifies an action involving a GRPC port.
- Http
Gets List<GetService Template Container Liveness Probe Http Get> - HTTPGet specifies the http request to perform.
- Initial
Delay intSeconds - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Period
Seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- Tcp
Sockets List<GetService Template Container Liveness Probe Tcp Socket> - TCPSocketAction describes an action based on opening a socket
- Timeout
Seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Failure
Threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- Grpcs
[]Get
Service Template Container Liveness Probe Grpc - GRPC specifies an action involving a GRPC port.
- Http
Gets []GetService Template Container Liveness Probe Http Get - HTTPGet specifies the http request to perform.
- Initial
Delay intSeconds - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Period
Seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- Tcp
Sockets []GetService Template Container Liveness Probe Tcp Socket - TCPSocketAction describes an action based on opening a socket
- Timeout
Seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure
Threshold Integer - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
List<Get
Service Template Container Liveness Probe Grpc> - GRPC specifies an action involving a GRPC port.
- http
Gets List<GetService Template Container Liveness Probe Http Get> - HTTPGet specifies the http request to perform.
- initial
Delay IntegerSeconds - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period
Seconds Integer - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp
Sockets List<GetService Template Container Liveness Probe Tcp Socket> - TCPSocketAction describes an action based on opening a socket
- timeout
Seconds Integer - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure
Threshold number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
Get
Service Template Container Liveness Probe Grpc[] - GRPC specifies an action involving a GRPC port.
- http
Gets GetService Template Container Liveness Probe Http Get[] - HTTPGet specifies the http request to perform.
- initial
Delay numberSeconds - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period
Seconds number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp
Sockets GetService Template Container Liveness Probe Tcp Socket[] - TCPSocketAction describes an action based on opening a socket
- timeout
Seconds number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure_
threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
Sequence[Get
Service Template Container Liveness Probe Grpc] - GRPC specifies an action involving a GRPC port.
- http_
gets Sequence[GetService Template Container Liveness Probe Http Get] - HTTPGet specifies the http request to perform.
- initial_
delay_ intseconds - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period_
seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp_
sockets Sequence[GetService Template Container Liveness Probe Tcp Socket] - TCPSocketAction describes an action based on opening a socket
- timeout_
seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure
Threshold Number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs List<Property Map>
- GRPC specifies an action involving a GRPC port.
- http
Gets List<Property Map> - HTTPGet specifies the http request to perform.
- initial
Delay NumberSeconds - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period
Seconds Number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp
Sockets List<Property Map> - TCPSocketAction describes an action based on opening a socket
- timeout
Seconds Number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
GetServiceTemplateContainerLivenessProbeGrpc
- Port int
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Service string
- The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- Port int
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Service string
- The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port Integer
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service String
- The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port number
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service string
- The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port int
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service str
- The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port Number
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service String
- The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
GetServiceTemplateContainerLivenessProbeHttpGet
- Http
Headers List<GetService Template Container Liveness Probe Http Get Http Header> - Custom headers to set in the request. HTTP allows repeated headers.
- Path string
- Path to access on the HTTP server. Defaults to '/'.
- Port int
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Http
Headers []GetService Template Container Liveness Probe Http Get Http Header - Custom headers to set in the request. HTTP allows repeated headers.
- Path string
- Path to access on the HTTP server. Defaults to '/'.
- Port int
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers List<GetService Template Container Liveness Probe Http Get Http Header> - Custom headers to set in the request. HTTP allows repeated headers.
- path String
- Path to access on the HTTP server. Defaults to '/'.
- port Integer
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers GetService Template Container Liveness Probe Http Get Http Header[] - Custom headers to set in the request. HTTP allows repeated headers.
- path string
- Path to access on the HTTP server. Defaults to '/'.
- port number
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http_
headers Sequence[GetService Template Container Liveness Probe Http Get Http Header] - Custom headers to set in the request. HTTP allows repeated headers.
- path str
- Path to access on the HTTP server. Defaults to '/'.
- port int
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers List<Property Map> - Custom headers to set in the request. HTTP allows repeated headers.
- path String
- Path to access on the HTTP server. Defaults to '/'.
- port Number
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
GetServiceTemplateContainerLivenessProbeHttpGetHttpHeader
GetServiceTemplateContainerLivenessProbeTcpSocket
- Port int
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
- Port int
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
- port Integer
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
- port number
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
- port int
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
- port Number
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
GetServiceTemplateContainerPort
- Container
Port int - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- Name string
- The name of the Cloud Run v2 Service.
- Container
Port int - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- Name string
- The name of the Cloud Run v2 Service.
- container
Port Integer - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- name String
- The name of the Cloud Run v2 Service.
- container
Port number - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- name string
- The name of the Cloud Run v2 Service.
- container_
port int - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- name str
- The name of the Cloud Run v2 Service.
- container
Port Number - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- name String
- The name of the Cloud Run v2 Service.
GetServiceTemplateContainerResource
- Cpu
Idle bool - Determines whether CPU is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
- Limits Dictionary<string, string>
- Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- Startup
Cpu boolBoost - Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
- Cpu
Idle bool - Determines whether CPU is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
- Limits map[string]string
- Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- Startup
Cpu boolBoost - Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
- cpu
Idle Boolean - Determines whether CPU is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
- limits Map<String,String>
- Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- startup
Cpu BooleanBoost - Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
- cpu
Idle boolean - Determines whether CPU is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
- limits {[key: string]: string}
- Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- startup
Cpu booleanBoost - Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
- cpu_
idle bool - Determines whether CPU is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
- limits Mapping[str, str]
- Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- startup_
cpu_ boolboost - Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
- cpu
Idle Boolean - Determines whether CPU is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
- limits Map<String>
- Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- startup
Cpu BooleanBoost - Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
GetServiceTemplateContainerStartupProbe
- Failure
Threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- Grpcs
List<Get
Service Template Container Startup Probe Grpc> - GRPC specifies an action involving a GRPC port.
- Http
Gets List<GetService Template Container Startup Probe Http Get> - HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
- Initial
Delay intSeconds - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Period
Seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- Tcp
Sockets List<GetService Template Container Startup Probe Tcp Socket> - TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
- Timeout
Seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Failure
Threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- Grpcs
[]Get
Service Template Container Startup Probe Grpc - GRPC specifies an action involving a GRPC port.
- Http
Gets []GetService Template Container Startup Probe Http Get - HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
- Initial
Delay intSeconds - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Period
Seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- Tcp
Sockets []GetService Template Container Startup Probe Tcp Socket - TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
- Timeout
Seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure
Threshold Integer - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
List<Get
Service Template Container Startup Probe Grpc> - GRPC specifies an action involving a GRPC port.
- http
Gets List<GetService Template Container Startup Probe Http Get> - HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
- initial
Delay IntegerSeconds - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period
Seconds Integer - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp
Sockets List<GetService Template Container Startup Probe Tcp Socket> - TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
- timeout
Seconds Integer - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure
Threshold number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
Get
Service Template Container Startup Probe Grpc[] - GRPC specifies an action involving a GRPC port.
- http
Gets GetService Template Container Startup Probe Http Get[] - HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
- initial
Delay numberSeconds - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period
Seconds number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp
Sockets GetService Template Container Startup Probe Tcp Socket[] - TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
- timeout
Seconds number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure_
threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
Sequence[Get
Service Template Container Startup Probe Grpc] - GRPC specifies an action involving a GRPC port.
- http_
gets Sequence[GetService Template Container Startup Probe Http Get] - HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
- initial_
delay_ intseconds - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period_
seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp_
sockets Sequence[GetService Template Container Startup Probe Tcp Socket] - TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
- timeout_
seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure
Threshold Number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs List<Property Map>
- GRPC specifies an action involving a GRPC port.
- http
Gets List<Property Map> - HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
- initial
Delay NumberSeconds - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period
Seconds Number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp
Sockets List<Property Map> - TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
- timeout
Seconds Number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
GetServiceTemplateContainerStartupProbeGrpc
- Port int
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Service string
- The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- Port int
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Service string
- The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port Integer
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service String
- The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port number
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service string
- The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port int
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service str
- The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port Number
- Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service String
- The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
GetServiceTemplateContainerStartupProbeHttpGet
- Http
Headers List<GetService Template Container Startup Probe Http Get Http Header> - Custom headers to set in the request. HTTP allows repeated headers.
- Path string
- Path to access on the HTTP server. Defaults to '/'.
- Port int
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Http
Headers []GetService Template Container Startup Probe Http Get Http Header - Custom headers to set in the request. HTTP allows repeated headers.
- Path string
- Path to access on the HTTP server. Defaults to '/'.
- Port int
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers List<GetService Template Container Startup Probe Http Get Http Header> - Custom headers to set in the request. HTTP allows repeated headers.
- path String
- Path to access on the HTTP server. Defaults to '/'.
- port Integer
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers GetService Template Container Startup Probe Http Get Http Header[] - Custom headers to set in the request. HTTP allows repeated headers.
- path string
- Path to access on the HTTP server. Defaults to '/'.
- port number
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http_
headers Sequence[GetService Template Container Startup Probe Http Get Http Header] - Custom headers to set in the request. HTTP allows repeated headers.
- path str
- Path to access on the HTTP server. Defaults to '/'.
- port int
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers List<Property Map> - Custom headers to set in the request. HTTP allows repeated headers.
- path String
- Path to access on the HTTP server. Defaults to '/'.
- port Number
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
GetServiceTemplateContainerStartupProbeHttpGetHttpHeader
GetServiceTemplateContainerStartupProbeTcpSocket
- Port int
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Port int
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- port Integer
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- port number
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- port int
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- port Number
- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
GetServiceTemplateContainerVolumeMount
- Mount
Path string - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- Name string
- The name of the Cloud Run v2 Service.
- Mount
Path string - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- Name string
- The name of the Cloud Run v2 Service.
- mount
Path String - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- name String
- The name of the Cloud Run v2 Service.
- mount
Path string - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- name string
- The name of the Cloud Run v2 Service.
- mount_
path str - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- name str
- The name of the Cloud Run v2 Service.
- mount
Path String - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- name String
- The name of the Cloud Run v2 Service.
GetServiceTemplateScaling
- Max
Instance intCount - Maximum number of serving instances that this resource should have.
- Min
Instance intCount - Minimum number of serving instances that this resource should have.
- Max
Instance intCount - Maximum number of serving instances that this resource should have.
- Min
Instance intCount - Minimum number of serving instances that this resource should have.
- max
Instance IntegerCount - Maximum number of serving instances that this resource should have.
- min
Instance IntegerCount - Minimum number of serving instances that this resource should have.
- max
Instance numberCount - Maximum number of serving instances that this resource should have.
- min
Instance numberCount - Minimum number of serving instances that this resource should have.
- max_
instance_ intcount - Maximum number of serving instances that this resource should have.
- min_
instance_ intcount - Minimum number of serving instances that this resource should have.
- max
Instance NumberCount - Maximum number of serving instances that this resource should have.
- min
Instance NumberCount - Minimum number of serving instances that this resource should have.
GetServiceTemplateServiceMesh
- Mesh string
- The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
- Mesh string
- The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
- mesh String
- The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
- mesh string
- The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
- mesh str
- The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
- mesh String
- The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
GetServiceTemplateVolume
- Cloud
Sql List<GetInstances Service Template Volume Cloud Sql Instance> - For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
- Empty
Dirs List<GetService Template Volume Empty Dir> - Ephemeral storage used as a shared volume.
- Gcs
List<Get
Service Template Volume Gc> - Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
- Name string
- The name of the Cloud Run v2 Service.
- Nfs
List<Get
Service Template Volume Nf> - Represents an NFS mount.
- Secrets
List<Get
Service Template Volume Secret> - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- Cloud
Sql []GetInstances Service Template Volume Cloud Sql Instance - For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
- Empty
Dirs []GetService Template Volume Empty Dir - Ephemeral storage used as a shared volume.
- Gcs
[]Get
Service Template Volume Gc - Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
- Name string
- The name of the Cloud Run v2 Service.
- Nfs
[]Get
Service Template Volume Nf - Represents an NFS mount.
- Secrets
[]Get
Service Template Volume Secret - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- cloud
Sql List<GetInstances Service Template Volume Cloud Sql Instance> - For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
- empty
Dirs List<GetService Template Volume Empty Dir> - Ephemeral storage used as a shared volume.
- gcs
List<Get
Service Template Volume Gc> - Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
- name String
- The name of the Cloud Run v2 Service.
- nfs
List<Get
Service Template Volume Nf> - Represents an NFS mount.
- secrets
List<Get
Service Template Volume Secret> - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- cloud
Sql GetInstances Service Template Volume Cloud Sql Instance[] - For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
- empty
Dirs GetService Template Volume Empty Dir[] - Ephemeral storage used as a shared volume.
- gcs
Get
Service Template Volume Gc[] - Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
- name string
- The name of the Cloud Run v2 Service.
- nfs
Get
Service Template Volume Nf[] - Represents an NFS mount.
- secrets
Get
Service Template Volume Secret[] - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- cloud_
sql_ Sequence[Getinstances Service Template Volume Cloud Sql Instance] - For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
- empty_
dirs Sequence[GetService Template Volume Empty Dir] - Ephemeral storage used as a shared volume.
- gcs
Sequence[Get
Service Template Volume Gc] - Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
- name str
- The name of the Cloud Run v2 Service.
- nfs
Sequence[Get
Service Template Volume Nf] - Represents an NFS mount.
- secrets
Sequence[Get
Service Template Volume Secret] - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- cloud
Sql List<Property Map>Instances - For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
- empty
Dirs List<Property Map> - Ephemeral storage used as a shared volume.
- gcs List<Property Map>
- Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
- name String
- The name of the Cloud Run v2 Service.
- nfs List<Property Map>
- Represents an NFS mount.
- secrets List<Property Map>
- Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
GetServiceTemplateVolumeCloudSqlInstance
- Instances List<string>
- The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
- Instances []string
- The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
- instances List<String>
- The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
- instances string[]
- The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
- instances Sequence[str]
- The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
- instances List<String>
- The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
GetServiceTemplateVolumeEmptyDir
- Medium string
- The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- Size
Limit string - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- Medium string
- The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- Size
Limit string - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium String
- The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- size
Limit String - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium string
- The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- size
Limit string - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium str
- The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- size_
limit str - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium String
- The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- size
Limit String - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
GetServiceTemplateVolumeGc
GetServiceTemplateVolumeNf
GetServiceTemplateVolumeSecret
- Default
Mode int - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- Items
List<Get
Service Template Volume Secret Item> - If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
- Secret string
- The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
- Default
Mode int - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- Items
[]Get
Service Template Volume Secret Item - If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
- Secret string
- The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
- default
Mode Integer - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- items
List<Get
Service Template Volume Secret Item> - If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
- secret String
- The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
- default
Mode number - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- items
Get
Service Template Volume Secret Item[] - If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
- secret string
- The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
- default_
mode int - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- items
Sequence[Get
Service Template Volume Secret Item] - If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
- secret str
- The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
- default
Mode Number - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- items List<Property Map>
- If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
- secret String
- The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
GetServiceTemplateVolumeSecretItem
- Mode int
- Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- Path string
- The relative path of the secret in the container.
- Version string
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
- Mode int
- Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- Path string
- The relative path of the secret in the container.
- Version string
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
- mode Integer
- Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- path String
- The relative path of the secret in the container.
- version String
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
- mode number
- Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- path string
- The relative path of the secret in the container.
- version string
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
- mode int
- Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- path str
- The relative path of the secret in the container.
- version str
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
- mode Number
- Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- path String
- The relative path of the secret in the container.
- version String
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
GetServiceTemplateVpcAccess
- Connector string
- VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- Egress string
- Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- Network
Interfaces List<GetService Template Vpc Access Network Interface> - Direct VPC egress settings. Currently only single network interface is supported.
- Connector string
- VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- Egress string
- Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- Network
Interfaces []GetService Template Vpc Access Network Interface - Direct VPC egress settings. Currently only single network interface is supported.
- connector String
- VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- egress String
- Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- network
Interfaces List<GetService Template Vpc Access Network Interface> - Direct VPC egress settings. Currently only single network interface is supported.
- connector string
- VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- egress string
- Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- network
Interfaces GetService Template Vpc Access Network Interface[] - Direct VPC egress settings. Currently only single network interface is supported.
- connector str
- VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- egress str
- Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- network_
interfaces Sequence[GetService Template Vpc Access Network Interface] - Direct VPC egress settings. Currently only single network interface is supported.
- connector String
- VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- egress String
- Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- network
Interfaces List<Property Map> - Direct VPC egress settings. Currently only single network interface is supported.
GetServiceTemplateVpcAccessNetworkInterface
- Network string
- The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- Subnetwork string
- The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
- List<string>
- Network tags applied to this Cloud Run service.
- Network string
- The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- Subnetwork string
- The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
- []string
- Network tags applied to this Cloud Run service.
- network String
- The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- subnetwork String
- The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
- List<String>
- Network tags applied to this Cloud Run service.
- network string
- The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- subnetwork string
- The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
- string[]
- Network tags applied to this Cloud Run service.
- network str
- The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- subnetwork str
- The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
- Sequence[str]
- Network tags applied to this Cloud Run service.
- network String
- The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- subnetwork String
- The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
- List<String>
- Network tags applied to this Cloud Run service.
GetServiceTerminalCondition
- Execution
Reason string - A reason for the execution condition.
- Last
Transition stringTime - Last time the condition transitioned from one status to another.
- Message string
- Human readable message indicating details about the current status.
- Reason string
- A common (service-level) reason for this condition.
- Revision
Reason string - A reason for the revision condition.
- Severity string
- How to interpret failures of this condition, one of Error, Warning, Info
- State string
- State of the condition.
- Type string
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- Execution
Reason string - A reason for the execution condition.
- Last
Transition stringTime - Last time the condition transitioned from one status to another.
- Message string
- Human readable message indicating details about the current status.
- Reason string
- A common (service-level) reason for this condition.
- Revision
Reason string - A reason for the revision condition.
- Severity string
- How to interpret failures of this condition, one of Error, Warning, Info
- State string
- State of the condition.
- Type string
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason String - A reason for the execution condition.
- last
Transition StringTime - Last time the condition transitioned from one status to another.
- message String
- Human readable message indicating details about the current status.
- reason String
- A common (service-level) reason for this condition.
- revision
Reason String - A reason for the revision condition.
- severity String
- How to interpret failures of this condition, one of Error, Warning, Info
- state String
- State of the condition.
- type String
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason string - A reason for the execution condition.
- last
Transition stringTime - Last time the condition transitioned from one status to another.
- message string
- Human readable message indicating details about the current status.
- reason string
- A common (service-level) reason for this condition.
- revision
Reason string - A reason for the revision condition.
- severity string
- How to interpret failures of this condition, one of Error, Warning, Info
- state string
- State of the condition.
- type string
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution_
reason str - A reason for the execution condition.
- last_
transition_ strtime - Last time the condition transitioned from one status to another.
- message str
- Human readable message indicating details about the current status.
- reason str
- A common (service-level) reason for this condition.
- revision_
reason str - A reason for the revision condition.
- severity str
- How to interpret failures of this condition, one of Error, Warning, Info
- state str
- State of the condition.
- type str
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason String - A reason for the execution condition.
- last
Transition StringTime - Last time the condition transitioned from one status to another.
- message String
- Human readable message indicating details about the current status.
- reason String
- A common (service-level) reason for this condition.
- revision
Reason String - A reason for the revision condition.
- severity String
- How to interpret failures of this condition, one of Error, Warning, Info
- state String
- State of the condition.
- type String
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
GetServiceTraffic
- Percent int
- Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
- Revision string
- Revision to which to send this portion of traffic, if traffic allocation is by revision.
- Tag string
- Indicates a string to be part of the URI to exclusively reference this target.
- Type string
- The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
- Percent int
- Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
- Revision string
- Revision to which to send this portion of traffic, if traffic allocation is by revision.
- Tag string
- Indicates a string to be part of the URI to exclusively reference this target.
- Type string
- The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
- percent Integer
- Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
- revision String
- Revision to which to send this portion of traffic, if traffic allocation is by revision.
- tag String
- Indicates a string to be part of the URI to exclusively reference this target.
- type String
- The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
- percent number
- Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
- revision string
- Revision to which to send this portion of traffic, if traffic allocation is by revision.
- tag string
- Indicates a string to be part of the URI to exclusively reference this target.
- type string
- The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
- percent int
- Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
- revision str
- Revision to which to send this portion of traffic, if traffic allocation is by revision.
- tag str
- Indicates a string to be part of the URI to exclusively reference this target.
- type str
- The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
- percent Number
- Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
- revision String
- Revision to which to send this portion of traffic, if traffic allocation is by revision.
- tag String
- Indicates a string to be part of the URI to exclusively reference this target.
- type String
- The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
GetServiceTrafficStatus
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.