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)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
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> - Build
Configs List<GetService Build Config> - 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
- Invoker
Iam boolDisabled - 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
- Urls List<string>
- Location string
- Project string
- Annotations map[string]string
- []Get
Service Binary Authorization - Build
Configs []GetService Build Config - 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
- Invoker
Iam boolDisabled - 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
- Urls []string
- Location string
- Project string
- annotations Map<String,String>
- List<Get
Service Binary Authorization> - build
Configs List<GetService Build Config> - 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
- invoker
Iam BooleanDisabled - 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
- urls List<String>
- location String
- project String
- annotations {[key: string]: string}
- Get
Service Binary Authorization[] - build
Configs GetService Build Config[] - 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
- invoker
Iam booleanDisabled - 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
- urls string[]
- location string
- project string
- annotations Mapping[str, str]
- Sequence[Get
Service Binary Authorization] - build_
configs Sequence[GetService Build Config] - 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
- invoker_
iam_ booldisabled - 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
- urls Sequence[str]
- location str
- project str
- annotations Map<String>
- List<Property Map>
- build
Configs 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
- invoker
Iam BooleanDisabled - 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
- urls List<String>
- location String
- project String
Supporting Types
GetServiceBinaryAuthorization
- Breakglass
Justification This property is required. 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
This property is required. string - The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
- Use
Default This property is required. bool - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
- Breakglass
Justification This property is required. 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
This property is required. string - The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
- Use
Default This property is required. bool - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
- breakglass
Justification This property is required. 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
This property is required. String - The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
- use
Default This property is required. Boolean - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
- breakglass
Justification This property is required. 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
This property is required. string - The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
- use
Default This property is required. boolean - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
- breakglass_
justification This property is required. str - If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
- policy
This property is required. str - The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
- use_
default This property is required. bool - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
- breakglass
Justification This property is required. 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
This property is required. String - The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
- use
Default This property is required. Boolean - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
GetServiceBuildConfig
- Base
Image This property is required. string - The base image used to build the function.
- Enable
Automatic Updates This property is required. bool - Sets whether the function will receive automatic base image updates.
- Environment
Variables This property is required. Dictionary<string, string> - User-provided build-time environment variables for the function.
- Function
Target This property is required. string - The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".
- Image
Uri This property is required. string - Artifact Registry URI to store the built image.
- Name
This property is required. string - The name of the Cloud Run v2 Service.
- Service
Account This property is required. string - Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'.
- Source
Location This property is required. string - The Cloud Storage bucket URI where the function source code is located.
- Worker
Pool This property is required. string - Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is 'projects/{project}/locations/{region}/workerPools/{workerPool}' where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.
- Base
Image This property is required. string - The base image used to build the function.
- Enable
Automatic Updates This property is required. bool - Sets whether the function will receive automatic base image updates.
- Environment
Variables This property is required. map[string]string - User-provided build-time environment variables for the function.
- Function
Target This property is required. string - The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".
- Image
Uri This property is required. string - Artifact Registry URI to store the built image.
- Name
This property is required. string - The name of the Cloud Run v2 Service.
- Service
Account This property is required. string - Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'.
- Source
Location This property is required. string - The Cloud Storage bucket URI where the function source code is located.
- Worker
Pool This property is required. string - Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is 'projects/{project}/locations/{region}/workerPools/{workerPool}' where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.
- base
Image This property is required. String - The base image used to build the function.
- enable
Automatic Updates This property is required. Boolean - Sets whether the function will receive automatic base image updates.
- environment
Variables This property is required. Map<String,String> - User-provided build-time environment variables for the function.
- function
Target This property is required. String - The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".
- image
Uri This property is required. String - Artifact Registry URI to store the built image.
- name
This property is required. String - The name of the Cloud Run v2 Service.
- service
Account This property is required. String - Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'.
- source
Location This property is required. String - The Cloud Storage bucket URI where the function source code is located.
- worker
Pool This property is required. String - Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is 'projects/{project}/locations/{region}/workerPools/{workerPool}' where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.
- base
Image This property is required. string - The base image used to build the function.
- enable
Automatic Updates This property is required. boolean - Sets whether the function will receive automatic base image updates.
- environment
Variables This property is required. {[key: string]: string} - User-provided build-time environment variables for the function.
- function
Target This property is required. string - The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".
- image
Uri This property is required. string - Artifact Registry URI to store the built image.
- name
This property is required. string - The name of the Cloud Run v2 Service.
- service
Account This property is required. string - Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'.
- source
Location This property is required. string - The Cloud Storage bucket URI where the function source code is located.
- worker
Pool This property is required. string - Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is 'projects/{project}/locations/{region}/workerPools/{workerPool}' where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.
- base_
image This property is required. str - The base image used to build the function.
- enable_
automatic_ updates This property is required. bool - Sets whether the function will receive automatic base image updates.
- environment_
variables This property is required. Mapping[str, str] - User-provided build-time environment variables for the function.
- function_
target This property is required. str - The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".
- image_
uri This property is required. str - Artifact Registry URI to store the built image.
- name
This property is required. str - The name of the Cloud Run v2 Service.
- service_
account This property is required. str - Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'.
- source_
location This property is required. str - The Cloud Storage bucket URI where the function source code is located.
- worker_
pool This property is required. str - Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is 'projects/{project}/locations/{region}/workerPools/{workerPool}' where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.
- base
Image This property is required. String - The base image used to build the function.
- enable
Automatic Updates This property is required. Boolean - Sets whether the function will receive automatic base image updates.
- environment
Variables This property is required. Map<String> - User-provided build-time environment variables for the function.
- function
Target This property is required. String - The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".
- image
Uri This property is required. String - Artifact Registry URI to store the built image.
- name
This property is required. String - The name of the Cloud Run v2 Service.
- service
Account This property is required. String - Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'.
- source
Location This property is required. String - The Cloud Storage bucket URI where the function source code is located.
- worker
Pool This property is required. String - Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is 'projects/{project}/locations/{region}/workerPools/{workerPool}' where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.
GetServiceCondition
- Execution
Reason This property is required. string - A reason for the execution condition.
- Last
Transition Time This property is required. string Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Message
This property is required. string - Human readable message indicating details about the current status.
- Reason
This property is required. string - A common (service-level) reason for this condition.
- Revision
Reason This property is required. string - A reason for the revision condition.
- Severity
This property is required. string - How to interpret failures of this condition, one of Error, Warning, Info
- State
This property is required. string - State of the condition.
- Type
This property is required. string - type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- Execution
Reason This property is required. string - A reason for the execution condition.
- Last
Transition Time This property is required. string Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Message
This property is required. string - Human readable message indicating details about the current status.
- Reason
This property is required. string - A common (service-level) reason for this condition.
- Revision
Reason This property is required. string - A reason for the revision condition.
- Severity
This property is required. string - How to interpret failures of this condition, one of Error, Warning, Info
- State
This property is required. string - State of the condition.
- Type
This property is required. string - type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason This property is required. String - A reason for the execution condition.
- last
Transition Time This property is required. String Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- message
This property is required. String - Human readable message indicating details about the current status.
- reason
This property is required. String - A common (service-level) reason for this condition.
- revision
Reason This property is required. String - A reason for the revision condition.
- severity
This property is required. String - How to interpret failures of this condition, one of Error, Warning, Info
- state
This property is required. String - State of the condition.
- type
This property is required. String - type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason This property is required. string - A reason for the execution condition.
- last
Transition Time This property is required. string Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- message
This property is required. string - Human readable message indicating details about the current status.
- reason
This property is required. string - A common (service-level) reason for this condition.
- revision
Reason This property is required. string - A reason for the revision condition.
- severity
This property is required. string - How to interpret failures of this condition, one of Error, Warning, Info
- state
This property is required. string - State of the condition.
- type
This property is required. string - type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution_
reason This property is required. str - A reason for the execution condition.
- last_
transition_ time This property is required. str Last time the condition transitioned from one status to another.
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
This property is required. str - Human readable message indicating details about the current status.
- reason
This property is required. str - A common (service-level) reason for this condition.
- revision_
reason This property is required. str - A reason for the revision condition.
- severity
This property is required. str - How to interpret failures of this condition, one of Error, Warning, Info
- state
This property is required. str - State of the condition.
- type
This property is required. str - type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason This property is required. String - A reason for the execution condition.
- last
Transition Time This property is required. String Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- message
This property is required. String - Human readable message indicating details about the current status.
- reason
This property is required. String - A common (service-level) reason for this condition.
- revision
Reason This property is required. String - A reason for the revision condition.
- severity
This property is required. String - How to interpret failures of this condition, one of Error, Warning, Info
- state
This property is required. String - State of the condition.
- type
This property is required. String - type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
GetServiceScaling
- Min
Instance Count This property is required. int - Minimum number of instances for the service, to be divided among all revisions receiving traffic.
- Min
Instance Count This property is required. int - Minimum number of instances for the service, to be divided among all revisions receiving traffic.
- min
Instance Count This property is required. Integer - Minimum number of instances for the service, to be divided among all revisions receiving traffic.
- min
Instance Count This property is required. number - Minimum number of instances for the service, to be divided among all revisions receiving traffic.
- min_
instance_ count This property is required. int - Minimum number of instances for the service, to be divided among all revisions receiving traffic.
- min
Instance Count This property is required. Number - Minimum number of instances for the service, to be divided among all revisions receiving traffic.
GetServiceTemplate
- Annotations
This property is required. Dictionary<string, string> Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- Containers
This property is required. List<GetService Template Container> - Holds the containers that define the unit of execution for this Service.
- Encryption
Key This property is required. string - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- Execution
Environment This property is required. string - The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- Labels
This property is required. Dictionary<string, string> Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
- Max
Instance Request Concurrency This property is required. int - Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- Node
Selectors This property is required. List<GetService Template Node Selector> - Node Selector describes the hardware requirements of the resources.
- Revision
This property is required. string - The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
- Scalings
This property is required. List<GetService Template Scaling> - Scaling settings for this Revision.
- Service
Account This property is required. string - Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
- Service
Meshes This property is required. List<GetService Template Service Mesh> - Enables Cloud Service Mesh for this Revision.
- Session
Affinity This property is required. bool - Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
- Timeout
This property is required. 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
This property is required. List<GetService Template Volume> - A list of Volumes to make available to containers.
- Vpc
Accesses This property is required. 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
This property is required. map[string]string Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- Containers
This property is required. []GetService Template Container - Holds the containers that define the unit of execution for this Service.
- Encryption
Key This property is required. string - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- Execution
Environment This property is required. string - The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- Labels
This property is required. map[string]string Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
- Max
Instance Request Concurrency This property is required. int - Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- Node
Selectors This property is required. []GetService Template Node Selector - Node Selector describes the hardware requirements of the resources.
- Revision
This property is required. string - The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
- Scalings
This property is required. []GetService Template Scaling - Scaling settings for this Revision.
- Service
Account This property is required. string - Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
- Service
Meshes This property is required. []GetService Template Service Mesh - Enables Cloud Service Mesh for this Revision.
- Session
Affinity This property is required. bool - Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
- Timeout
This property is required. 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
This property is required. []GetService Template Volume - A list of Volumes to make available to containers.
- Vpc
Accesses This property is required. []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
This property is required. Map<String,String> Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- containers
This property is required. List<GetService Template Container> - Holds the containers that define the unit of execution for this Service.
- encryption
Key This property is required. String - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- execution
Environment This property is required. String - The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- labels
This property is required. Map<String,String> Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
- max
Instance Request Concurrency This property is required. Integer - Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- node
Selectors This property is required. List<GetService Template Node Selector> - Node Selector describes the hardware requirements of the resources.
- revision
This property is required. String - The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
- scalings
This property is required. List<GetService Template Scaling> - Scaling settings for this Revision.
- service
Account This property is required. String - Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
- service
Meshes This property is required. List<GetService Template Service Mesh> - Enables Cloud Service Mesh for this Revision.
- session
Affinity This property is required. Boolean - Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
- timeout
This property is required. 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
This property is required. List<GetService Template Volume> - A list of Volumes to make available to containers.
- vpc
Accesses This property is required. 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
This property is required. {[key: string]: string} Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- containers
This property is required. GetService Template Container[] - Holds the containers that define the unit of execution for this Service.
- encryption
Key This property is required. string - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- execution
Environment This property is required. string - The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- labels
This property is required. {[key: string]: string} Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
- max
Instance Request Concurrency This property is required. number - Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- node
Selectors This property is required. GetService Template Node Selector[] - Node Selector describes the hardware requirements of the resources.
- revision
This property is required. string - The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
- scalings
This property is required. GetService Template Scaling[] - Scaling settings for this Revision.
- service
Account This property is required. string - Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
- service
Meshes This property is required. GetService Template Service Mesh[] - Enables Cloud Service Mesh for this Revision.
- session
Affinity This property is required. boolean - Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
- timeout
This property is required. 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
This property is required. GetService Template Volume[] - A list of Volumes to make available to containers.
- vpc
Accesses This property is required. 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
This property is required. Mapping[str, str] Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- containers
This property is required. Sequence[GetService Template Container] - Holds the containers that define the unit of execution for this Service.
- encryption_
key This property is required. str - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- execution_
environment This property is required. str - The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- labels
This property is required. Mapping[str, str] Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
- max_
instance_ request_ concurrency This property is required. int - Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- node_
selectors This property is required. Sequence[GetService Template Node Selector] - Node Selector describes the hardware requirements of the resources.
- revision
This property is required. str - The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
- scalings
This property is required. Sequence[GetService Template Scaling] - Scaling settings for this Revision.
- service_
account This property is required. str - Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
- service_
meshes This property is required. Sequence[GetService Template Service Mesh] - Enables Cloud Service Mesh for this Revision.
- session_
affinity This property is required. bool - Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
- timeout
This property is required. 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
This property is required. Sequence[GetService Template Volume] - A list of Volumes to make available to containers.
- vpc_
accesses This property is required. 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
This property is required. Map<String> Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- containers
This property is required. List<Property Map> - Holds the containers that define the unit of execution for this Service.
- encryption
Key This property is required. String - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- execution
Environment This property is required. String - The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- labels
This property is required. Map<String> Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
- max
Instance Request Concurrency This property is required. Number - Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- node
Selectors This property is required. List<Property Map> - Node Selector describes the hardware requirements of the resources.
- revision
This property is required. String - The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
- scalings
This property is required. List<Property Map> - Scaling settings for this Revision.
- service
Account This property is required. String - Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
- service
Meshes This property is required. List<Property Map> - Enables Cloud Service Mesh for this Revision.
- session
Affinity This property is required. Boolean - Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
- timeout
This property is required. 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
This property is required. List<Property Map> - A list of Volumes to make available to containers.
- vpc
Accesses This property is required. 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
This property is required. 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.
- Base
Image Uri This property is required. string - Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
- Build
Infos This property is required. List<GetService Template Container Build Info> - The build info of the container image.
- Commands
This property is required. List<string> - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. 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 This property is required. 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
This property is required. List<GetService Template Container Env> - List of environment variables to set in the container.
- Image
This property is required. 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 This property is required. 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
This property is required. string - The name of the Cloud Run v2 Service.
- Ports
This property is required. List<GetService 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
This property is required. List<GetService Template Container Resource> - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- Startup
Probes This property is required. 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 This property is required. List<GetService Template Container Volume Mount> - Volume to mount into the container's filesystem.
- Working
Dir This property is required. string - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- Args
This property is required. []string - Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
- Base
Image Uri This property is required. string - Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
- Build
Infos This property is required. []GetService Template Container Build Info - The build info of the container image.
- Commands
This property is required. []string - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. 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 This property is required. []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
This property is required. []GetService Template Container Env - List of environment variables to set in the container.
- Image
This property is required. 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 This property is required. []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
This property is required. string - The name of the Cloud Run v2 Service.
- Ports
This property is required. []GetService 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
This property is required. []GetService Template Container Resource - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- Startup
Probes This property is required. []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 This property is required. []GetService Template Container Volume Mount - Volume to mount into the container's filesystem.
- Working
Dir This property is required. string - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args
This property is required. List<String> - Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
- base
Image Uri This property is required. String - Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
- build
Infos This property is required. List<GetService Template Container Build Info> - The build info of the container image.
- commands
This property is required. List<String> - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. 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 This property is required. 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
This property is required. List<GetService Template Container Env> - List of environment variables to set in the container.
- image
This property is required. 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 This property is required. 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
This property is required. String - The name of the Cloud Run v2 Service.
- ports
This property is required. List<GetService 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
This property is required. List<GetService Template Container Resource> - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- startup
Probes This property is required. 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 This property is required. List<GetService Template Container Volume Mount> - Volume to mount into the container's filesystem.
- working
Dir This property is required. String - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args
This property is required. string[] - Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
- base
Image Uri This property is required. string - Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
- build
Infos This property is required. GetService Template Container Build Info[] - The build info of the container image.
- commands
This property is required. string[] - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. 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 This property is required. 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
This property is required. GetService Template Container Env[] - List of environment variables to set in the container.
- image
This property is required. 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 This property is required. 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
This property is required. string - The name of the Cloud Run v2 Service.
- ports
This property is required. GetService 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
This property is required. GetService Template Container Resource[] - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- startup
Probes This property is required. 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 This property is required. GetService Template Container Volume Mount[] - Volume to mount into the container's filesystem.
- working
Dir This property is required. string - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args
This property is required. Sequence[str] - Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
- base_
image_ uri This property is required. str - Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
- build_
infos This property is required. Sequence[GetService Template Container Build Info] - The build info of the container image.
- commands
This property is required. Sequence[str] - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. 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 This property is required. 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
This property is required. Sequence[GetService Template Container Env] - List of environment variables to set in the container.
- image
This property is required. 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 This property is required. 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
This property is required. str - The name of the Cloud Run v2 Service.
- ports
This property is required. Sequence[GetService 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
This property is required. Sequence[GetService Template Container Resource] - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- startup_
probes This property is required. 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 This property is required. Sequence[GetService Template Container Volume Mount] - Volume to mount into the container's filesystem.
- working_
dir This property is required. str - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args
This property is required. List<String> - Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
- base
Image Uri This property is required. String - Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
- build
Infos This property is required. List<Property Map> - The build info of the container image.
- commands
This property is required. List<String> - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. 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 This property is required. 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
This property is required. List<Property Map> - List of environment variables to set in the container.
- image
This property is required. 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 This property is required. 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
This property is required. String - The name of the Cloud Run v2 Service.
- ports
This property is required. List<Property Map> List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
- resources
This property is required. List<Property Map> - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- startup
Probes This property is required. List<Property Map> - Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- volume
Mounts This property is required. List<Property Map> - Volume to mount into the container's filesystem.
- working
Dir This property is required. String - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
GetServiceTemplateContainerBuildInfo
- Function
Target This property is required. string - Entry point of the function when the image is a Cloud Run function.
- Source
Location This property is required. string - Source code location of the image.
- Function
Target This property is required. string - Entry point of the function when the image is a Cloud Run function.
- Source
Location This property is required. string - Source code location of the image.
- function
Target This property is required. String - Entry point of the function when the image is a Cloud Run function.
- source
Location This property is required. String - Source code location of the image.
- function
Target This property is required. string - Entry point of the function when the image is a Cloud Run function.
- source
Location This property is required. string - Source code location of the image.
- function_
target This property is required. str - Entry point of the function when the image is a Cloud Run function.
- source_
location This property is required. str - Source code location of the image.
- function
Target This property is required. String - Entry point of the function when the image is a Cloud Run function.
- source
Location This property is required. String - Source code location of the image.
GetServiceTemplateContainerEnv
- Name
This property is required. string - The name of the Cloud Run v2 Service.
- Value
This property is required. 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 This property is required. List<GetService Template Container Env Value Source> - Source for the environment variable's value.
- Name
This property is required. string - The name of the Cloud Run v2 Service.
- Value
This property is required. 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 This property is required. []GetService Template Container Env Value Source - Source for the environment variable's value.
- name
This property is required. String - The name of the Cloud Run v2 Service.
- value
This property is required. 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 This property is required. List<GetService Template Container Env Value Source> - Source for the environment variable's value.
- name
This property is required. string - The name of the Cloud Run v2 Service.
- value
This property is required. 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 This property is required. GetService Template Container Env Value Source[] - Source for the environment variable's value.
- name
This property is required. str - The name of the Cloud Run v2 Service.
- value
This property is required. 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 This property is required. Sequence[GetService Template Container Env Value Source] - Source for the environment variable's value.
- name
This property is required. String - The name of the Cloud Run v2 Service.
- value
This property is required. 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 This property is required. List<Property Map> - Source for the environment variable's value.
GetServiceTemplateContainerEnvValueSource
- Secret
Key Reves This property is required. List<GetService Template Container Env Value Source Secret Key Ref> - Selects a secret and a specific version from Cloud Secret Manager.
- Secret
Key Reves This property is required. []GetService Template Container Env Value Source Secret Key Ref - Selects a secret and a specific version from Cloud Secret Manager.
- secret
Key Reves This property is required. List<GetService Template Container Env Value Source Secret Key Ref> - Selects a secret and a specific version from Cloud Secret Manager.
- secret
Key Reves This property is required. GetService Template Container Env Value Source Secret Key Ref[] - Selects a secret and a specific version from Cloud Secret Manager.
- secret_
key_ reves This property is required. Sequence[GetService Template Container Env Value Source Secret Key Ref] - Selects a secret and a specific version from Cloud Secret Manager.
- secret
Key Reves This property is required. List<Property Map> - Selects a secret and a specific version from Cloud Secret Manager.
GetServiceTemplateContainerEnvValueSourceSecretKeyRef
- Secret
This property is required. 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
This property is required. string - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- Secret
This property is required. 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
This property is required. string - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- secret
This property is required. 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
This property is required. String - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- secret
This property is required. 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
This property is required. string - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- secret
This property is required. 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
This property is required. str - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- secret
This property is required. 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
This property is required. String - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
GetServiceTemplateContainerLivenessProbe
- Failure
Threshold This property is required. int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- Grpcs
This property is required. List<GetService Template Container Liveness Probe Grpc> - GRPC specifies an action involving a GRPC port.
- Http
Gets This property is required. List<GetService Template Container Liveness Probe Http Get> - HTTPGet specifies the http request to perform.
- Initial
Delay Seconds This property is required. int - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value 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 This property is required. int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- Tcp
Sockets This property is required. List<GetService Template Container Liveness Probe Tcp Socket> - TCPSocketAction describes an action based on opening a socket
- Timeout
Seconds This property is required. int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Failure
Threshold This property is required. int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- Grpcs
This property is required. []GetService Template Container Liveness Probe Grpc - GRPC specifies an action involving a GRPC port.
- Http
Gets This property is required. []GetService Template Container Liveness Probe Http Get - HTTPGet specifies the http request to perform.
- Initial
Delay Seconds This property is required. int - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value 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 This property is required. int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- Tcp
Sockets This property is required. []GetService Template Container Liveness Probe Tcp Socket - TCPSocketAction describes an action based on opening a socket
- Timeout
Seconds This property is required. int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure
Threshold This property is required. Integer - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. List<GetService Template Container Liveness Probe Grpc> - GRPC specifies an action involving a GRPC port.
- http
Gets This property is required. List<GetService Template Container Liveness Probe Http Get> - HTTPGet specifies the http request to perform.
- initial
Delay Seconds This property is required. Integer - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period
Seconds This property is required. Integer - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp
Sockets This property is required. List<GetService Template Container Liveness Probe Tcp Socket> - TCPSocketAction describes an action based on opening a socket
- timeout
Seconds This property is required. Integer - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure
Threshold This property is required. number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. GetService Template Container Liveness Probe Grpc[] - GRPC specifies an action involving a GRPC port.
- http
Gets This property is required. GetService Template Container Liveness Probe Http Get[] - HTTPGet specifies the http request to perform.
- initial
Delay Seconds This property is required. number - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period
Seconds This property is required. number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp
Sockets This property is required. GetService Template Container Liveness Probe Tcp Socket[] - TCPSocketAction describes an action based on opening a socket
- timeout
Seconds This property is required. number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure_
threshold This property is required. int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. Sequence[GetService Template Container Liveness Probe Grpc] - GRPC specifies an action involving a GRPC port.
- http_
gets This property is required. Sequence[GetService Template Container Liveness Probe Http Get] - HTTPGet specifies the http request to perform.
- initial_
delay_ seconds This property is required. int - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value 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 This property is required. int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp_
sockets This property is required. Sequence[GetService Template Container Liveness Probe Tcp Socket] - TCPSocketAction describes an action based on opening a socket
- timeout_
seconds This property is required. int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure
Threshold This property is required. Number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. List<Property Map> - GRPC specifies an action involving a GRPC port.
- http
Gets This property is required. List<Property Map> - HTTPGet specifies the http request to perform.
- initial
Delay Seconds This property is required. Number - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period
Seconds This property is required. Number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp
Sockets This property is required. List<Property Map> - TCPSocketAction describes an action based on opening a socket
- timeout
Seconds This property is required. Number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
GetServiceTemplateContainerLivenessProbeGrpc
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Service
This property is required. string - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Service
This property is required. string - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. Integer - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. String - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. number - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. string - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. str - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. Number - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. String - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
GetServiceTemplateContainerLivenessProbeHttpGet
- Http
Headers This property is required. List<GetService Template Container Liveness Probe Http Get Http Header> - Custom headers to set in the request. HTTP allows repeated headers.
- Path
This property is required. string - Path to access on the HTTP server. Defaults to '/'.
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Http
Headers This property is required. []GetService Template Container Liveness Probe Http Get Http Header - Custom headers to set in the request. HTTP allows repeated headers.
- Path
This property is required. string - Path to access on the HTTP server. Defaults to '/'.
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers This property is required. List<GetService Template Container Liveness Probe Http Get Http Header> - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. String - Path to access on the HTTP server. Defaults to '/'.
- port
This property is required. Integer - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers This property is required. GetService Template Container Liveness Probe Http Get Http Header[] - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. string - Path to access on the HTTP server. Defaults to '/'.
- port
This property is required. number - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http_
headers This property is required. Sequence[GetService Template Container Liveness Probe Http Get Http Header] - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. str - Path to access on the HTTP server. Defaults to '/'.
- port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers This property is required. List<Property Map> - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. String - Path to access on the HTTP server. Defaults to '/'.
- port
This property is required. Number - Port number to access on the container. 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
This property is required. int - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
- Port
This property is required. int - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
- port
This property is required. Integer - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
- port
This property is required. number - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
- port
This property is required. int - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
- port
This property is required. Number - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
GetServiceTemplateContainerPort
- Container
Port This property is required. int - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- Name
This property is required. string - The name of the Cloud Run v2 Service.
- Container
Port This property is required. int - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- Name
This property is required. string - The name of the Cloud Run v2 Service.
- container
Port This property is required. Integer - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- name
This property is required. String - The name of the Cloud Run v2 Service.
- container
Port This property is required. number - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- name
This property is required. string - The name of the Cloud Run v2 Service.
- container_
port This property is required. int - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- name
This property is required. str - The name of the Cloud Run v2 Service.
- container
Port This property is required. Number - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- name
This property is required. String - The name of the Cloud Run v2 Service.
GetServiceTemplateContainerResource
- Cpu
Idle This property is required. 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
This property is required. Dictionary<string, string> - Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- Startup
Cpu Boost This property is required. bool - Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
- Cpu
Idle This property is required. 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
This property is required. map[string]string - Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- Startup
Cpu Boost This property is required. bool - Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
- cpu
Idle This property is required. 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
This property is required. Map<String,String> - Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- startup
Cpu Boost This property is required. Boolean - Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
- cpu
Idle This property is required. 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
This property is required. {[key: string]: string} - Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- startup
Cpu Boost This property is required. boolean - Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
- cpu_
idle This property is required. bool - Determines whether CPU 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
This property is required. Mapping[str, str] - Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- startup_
cpu_ boost This property is required. bool - Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
- cpu
Idle This property is required. 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
This property is required. Map<String> - Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- startup
Cpu Boost This property is required. Boolean - Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
GetServiceTemplateContainerStartupProbe
- Failure
Threshold This property is required. int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- Grpcs
This property is required. List<GetService Template Container Startup Probe Grpc> - GRPC specifies an action involving a GRPC port.
- Http
Gets This property is required. 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 Seconds This property is required. int - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Period
Seconds This property is required. int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- Tcp
Sockets This property is required. 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 This property is required. int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Failure
Threshold This property is required. int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- Grpcs
This property is required. []GetService Template Container Startup Probe Grpc - GRPC specifies an action involving a GRPC port.
- Http
Gets This property is required. []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 Seconds This property is required. int - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Period
Seconds This property is required. int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- Tcp
Sockets This property is required. []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 This property is required. int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure
Threshold This property is required. Integer - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. List<GetService Template Container Startup Probe Grpc> - GRPC specifies an action involving a GRPC port.
- http
Gets This property is required. 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 Seconds This property is required. Integer - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period
Seconds This property is required. Integer - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp
Sockets This property is required. 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 This property is required. Integer - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure
Threshold This property is required. number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. GetService Template Container Startup Probe Grpc[] - GRPC specifies an action involving a GRPC port.
- http
Gets This property is required. 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 Seconds This property is required. number - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period
Seconds This property is required. number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp
Sockets This property is required. 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 This property is required. number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure_
threshold This property is required. int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. Sequence[GetService Template Container Startup Probe Grpc] - GRPC specifies an action involving a GRPC port.
- http_
gets This property is required. 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_ seconds This property is required. int - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period_
seconds This property is required. int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp_
sockets This property is required. 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 This property is required. int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- failure
Threshold This property is required. Number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. List<Property Map> - GRPC specifies an action involving a GRPC port.
- http
Gets This property is required. List<Property Map> - HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
- initial
Delay Seconds This property is required. Number - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period
Seconds This property is required. Number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
- tcp
Sockets This property is required. List<Property Map> - TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
- timeout
Seconds This property is required. Number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
GetServiceTemplateContainerStartupProbeGrpc
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Service
This property is required. string - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Service
This property is required. string - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. Integer - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. String - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. number - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. string - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. str - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. Number - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. String - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
GetServiceTemplateContainerStartupProbeHttpGet
- Http
Headers This property is required. List<GetService Template Container Startup Probe Http Get Http Header> - Custom headers to set in the request. HTTP allows repeated headers.
- Path
This property is required. string - Path to access on the HTTP server. Defaults to '/'.
- Port
This property is required. int - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Http
Headers This property is required. []GetService Template Container Startup Probe Http Get Http Header - Custom headers to set in the request. HTTP allows repeated headers.
- Path
This property is required. string - Path to access on the HTTP server. Defaults to '/'.
- Port
This property is required. int - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers This property is required. List<GetService Template Container Startup Probe Http Get Http Header> - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. String - Path to access on the HTTP server. Defaults to '/'.
- port
This property is required. Integer - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers This property is required. GetService Template Container Startup Probe Http Get Http Header[] - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. string - Path to access on the HTTP server. Defaults to '/'.
- port
This property is required. number - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http_
headers This property is required. Sequence[GetService Template Container Startup Probe Http Get Http Header] - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. str - Path to access on the HTTP server. Defaults to '/'.
- port
This property is required. int - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers This property is required. List<Property Map> - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. String - Path to access on the HTTP server. Defaults to '/'.
- port
This property is required. Number - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
GetServiceTemplateContainerStartupProbeHttpGetHttpHeader
GetServiceTemplateContainerStartupProbeTcpSocket
- Port
This property is required. int - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Port
This property is required. int - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- port
This property is required. Integer - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- port
This property is required. number - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- port
This property is required. int - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- port
This property is required. Number - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
GetServiceTemplateContainerVolumeMount
- Mount
Path This property is required. string - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- Name
This property is required. string - The name of the Cloud Run v2 Service.
- Mount
Path This property is required. string - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- Name
This property is required. string - The name of the Cloud Run v2 Service.
- mount
Path This property is required. String - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- name
This property is required. String - The name of the Cloud Run v2 Service.
- mount
Path This property is required. string - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- name
This property is required. string - The name of the Cloud Run v2 Service.
- mount_
path This property is required. str - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- name
This property is required. str - The name of the Cloud Run v2 Service.
- mount
Path This property is required. String - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- name
This property is required. String - The name of the Cloud Run v2 Service.
GetServiceTemplateNodeSelector
- Accelerator
This property is required. string - The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
- Accelerator
This property is required. string - The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
- accelerator
This property is required. String - The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
- accelerator
This property is required. string - The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
- accelerator
This property is required. str - The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
- accelerator
This property is required. String - The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
GetServiceTemplateScaling
- Max
Instance Count This property is required. int - Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate a default value based on the project's available container instances quota in the region and specified instance size.
- Min
Instance Count This property is required. int - Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.
- Max
Instance Count This property is required. int - Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate a default value based on the project's available container instances quota in the region and specified instance size.
- Min
Instance Count This property is required. int - Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.
- max
Instance Count This property is required. Integer - Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate a default value based on the project's available container instances quota in the region and specified instance size.
- min
Instance Count This property is required. Integer - Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.
- max
Instance Count This property is required. number - Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate a default value based on the project's available container instances quota in the region and specified instance size.
- min
Instance Count This property is required. number - Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.
- max_
instance_ count This property is required. int - Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate a default value based on the project's available container instances quota in the region and specified instance size.
- min_
instance_ count This property is required. int - Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.
- max
Instance Count This property is required. Number - Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate a default value based on the project's available container instances quota in the region and specified instance size.
- min
Instance Count This property is required. Number - Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.
GetServiceTemplateServiceMesh
- Mesh
This property is required. 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
This property is required. 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
This property is required. 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
This property is required. 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
This property is required. 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
This property is required. 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 Instances This property is required. List<GetService 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 This property is required. List<GetService Template Volume Empty Dir> - Ephemeral storage used as a shared volume.
- Gcs
This property is required. List<GetService Template Volume Gc> - Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
- Name
This property is required. string - The name of the Cloud Run v2 Service.
- Nfs
This property is required. List<GetService Template Volume Nf> - Represents an NFS mount.
- Secrets
This property is required. List<GetService Template Volume Secret> - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- Cloud
Sql Instances This property is required. []GetService 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 This property is required. []GetService Template Volume Empty Dir - Ephemeral storage used as a shared volume.
- Gcs
This property is required. []GetService Template Volume Gc - Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
- Name
This property is required. string - The name of the Cloud Run v2 Service.
- Nfs
This property is required. []GetService Template Volume Nf - Represents an NFS mount.
- Secrets
This property is required. []GetService Template Volume Secret - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- cloud
Sql Instances This property is required. List<GetService 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 This property is required. List<GetService Template Volume Empty Dir> - Ephemeral storage used as a shared volume.
- gcs
This property is required. List<GetService Template Volume Gc> - Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
- name
This property is required. String - The name of the Cloud Run v2 Service.
- nfs
This property is required. List<GetService Template Volume Nf> - Represents an NFS mount.
- secrets
This property is required. List<GetService Template Volume Secret> - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- cloud
Sql Instances This property is required. GetService 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 This property is required. GetService Template Volume Empty Dir[] - Ephemeral storage used as a shared volume.
- gcs
This property is required. GetService Template Volume Gc[] - Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
- name
This property is required. string - The name of the Cloud Run v2 Service.
- nfs
This property is required. GetService Template Volume Nf[] - Represents an NFS mount.
- secrets
This property is required. GetService Template Volume Secret[] - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- cloud_
sql_ instances This property is required. Sequence[GetService 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 This property is required. Sequence[GetService Template Volume Empty Dir] - Ephemeral storage used as a shared volume.
- gcs
This property is required. Sequence[GetService Template Volume Gc] - Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
- name
This property is required. str - The name of the Cloud Run v2 Service.
- nfs
This property is required. Sequence[GetService Template Volume Nf] - Represents an NFS mount.
- secrets
This property is required. Sequence[GetService Template Volume Secret] - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- cloud
Sql Instances This property is required. List<Property Map> - For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
- empty
Dirs This property is required. List<Property Map> - Ephemeral storage used as a shared volume.
- gcs
This property is required. List<Property Map> - Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
- name
This property is required. String - The name of the Cloud Run v2 Service.
- nfs
This property is required. List<Property Map> - Represents an NFS mount.
- secrets
This property is required. List<Property Map> - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
GetServiceTemplateVolumeCloudSqlInstance
- Instances
This property is required. List<string> - The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
- Instances
This property is required. []string - The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
- instances
This property is required. List<String> - The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
- instances
This property is required. string[] - The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
- instances
This property is required. Sequence[str] - The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
- instances
This property is required. List<String> - The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
GetServiceTemplateVolumeEmptyDir
- Medium
This property is required. string - The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- Size
Limit This property is required. string - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- Medium
This property is required. string - The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- Size
Limit This property is required. string - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium
This property is required. String - The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- size
Limit This property is required. String - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium
This property is required. string - The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- size
Limit This property is required. string - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium
This property is required. str - The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- size_
limit This property is required. str - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium
This property is required. String - The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- size
Limit This property is required. String - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
GetServiceTemplateVolumeGc
- Bucket
This property is required. string - GCS Bucket name
- Mount
Options This property is required. List<string> - A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
- Read
Only This property is required. bool - If true, mount the GCS bucket as read-only
- Bucket
This property is required. string - GCS Bucket name
- Mount
Options This property is required. []string - A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
- Read
Only This property is required. bool - If true, mount the GCS bucket as read-only
- bucket
This property is required. String - GCS Bucket name
- mount
Options This property is required. List<String> - A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
- read
Only This property is required. Boolean - If true, mount the GCS bucket as read-only
- bucket
This property is required. string - GCS Bucket name
- mount
Options This property is required. string[] - A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
- read
Only This property is required. boolean - If true, mount the GCS bucket as read-only
- bucket
This property is required. str - GCS Bucket name
- mount_
options This property is required. Sequence[str] - A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
- read_
only This property is required. bool - If true, mount the GCS bucket as read-only
- bucket
This property is required. String - GCS Bucket name
- mount
Options This property is required. List<String> - A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
- read
Only This property is required. Boolean - If true, mount the GCS bucket as read-only
GetServiceTemplateVolumeNf
GetServiceTemplateVolumeSecret
- Default
Mode This property is required. int - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- Items
This property is required. List<GetService 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
This property is required. string - The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
- Default
Mode This property is required. int - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- Items
This property is required. []GetService 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
This property is required. string - The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
- default
Mode This property is required. 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
This property is required. List<GetService 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
This property is required. String - The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
- default
Mode This property is required. 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
This property is required. GetService 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
This property is required. string - The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
- default_
mode This property is required. int - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- items
This property is required. Sequence[GetService 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
This property is required. str - The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
- default
Mode This property is required. Number - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- items
This property is required. List<Property Map> - If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
- secret
This property is required. String - The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
GetServiceTemplateVolumeSecretItem
- Mode
This property is required. int - Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- Path
This property is required. string - The relative path of the secret in the container.
- Version
This property is required. string - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
- Mode
This property is required. int - Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- Path
This property is required. string - The relative path of the secret in the container.
- Version
This property is required. string - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
- mode
This property is required. Integer - Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- path
This property is required. String - The relative path of the secret in the container.
- version
This property is required. String - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
- mode
This property is required. number - Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- path
This property is required. string - The relative path of the secret in the container.
- version
This property is required. string - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
- mode
This property is required. int - Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- path
This property is required. str - The relative path of the secret in the container.
- version
This property is required. str - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
- mode
This property is required. Number - Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- path
This property is required. String - The relative path of the secret in the container.
- version
This property is required. String - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
GetServiceTemplateVpcAccess
- Connector
This property is required. string - VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- Egress
This property is required. string - Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- Network
Interfaces This property is required. List<GetService Template Vpc Access Network Interface> - Direct VPC egress settings. Currently only single network interface is supported.
- Connector
This property is required. string - VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- Egress
This property is required. string - Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- Network
Interfaces This property is required. []GetService Template Vpc Access Network Interface - Direct VPC egress settings. Currently only single network interface is supported.
- connector
This property is required. String - VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- egress
This property is required. String - Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- network
Interfaces This property is required. List<GetService Template Vpc Access Network Interface> - Direct VPC egress settings. Currently only single network interface is supported.
- connector
This property is required. string - VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- egress
This property is required. string - Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- network
Interfaces This property is required. GetService Template Vpc Access Network Interface[] - Direct VPC egress settings. Currently only single network interface is supported.
- connector
This property is required. str - VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- egress
This property is required. str - Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- network_
interfaces This property is required. Sequence[GetService Template Vpc Access Network Interface] - Direct VPC egress settings. Currently only single network interface is supported.
- connector
This property is required. String - VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- egress
This property is required. String - Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- network
Interfaces This property is required. List<Property Map> - Direct VPC egress settings. Currently only single network interface is supported.
GetServiceTemplateVpcAccessNetworkInterface
- Network
This property is required. string - The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- Subnetwork
This property is required. string - The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
This property is required. List<string>- Network tags applied to this Cloud Run service.
- Network
This property is required. string - The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- Subnetwork
This property is required. string - The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
This property is required. []string- Network tags applied to this Cloud Run service.
- network
This property is required. String - The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- subnetwork
This property is required. String - The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
This property is required. List<String>- Network tags applied to this Cloud Run service.
- network
This property is required. string - The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- subnetwork
This property is required. string - The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
This property is required. string[]- Network tags applied to this Cloud Run service.
- network
This property is required. str - The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- subnetwork
This property is required. str - The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
This property is required. Sequence[str]- Network tags applied to this Cloud Run service.
- network
This property is required. String - The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- subnetwork
This property is required. String - The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
This property is required. List<String>- Network tags applied to this Cloud Run service.
GetServiceTerminalCondition
- Execution
Reason This property is required. string - A reason for the execution condition.
- Last
Transition Time This property is required. string - Last time the condition transitioned from one status to another.
- Message
This property is required. string - Human readable message indicating details about the current status.
- Reason
This property is required. string - A common (service-level) reason for this condition.
- Revision
Reason This property is required. string - A reason for the revision condition.
- Severity
This property is required. string - How to interpret failures of this condition, one of Error, Warning, Info
- State
This property is required. string - State of the condition.
- Type
This property is required. string - type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- Execution
Reason This property is required. string - A reason for the execution condition.
- Last
Transition Time This property is required. string - Last time the condition transitioned from one status to another.
- Message
This property is required. string - Human readable message indicating details about the current status.
- Reason
This property is required. string - A common (service-level) reason for this condition.
- Revision
Reason This property is required. string - A reason for the revision condition.
- Severity
This property is required. string - How to interpret failures of this condition, one of Error, Warning, Info
- State
This property is required. string - State of the condition.
- Type
This property is required. string - type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason This property is required. String - A reason for the execution condition.
- last
Transition Time This property is required. String - Last time the condition transitioned from one status to another.
- message
This property is required. String - Human readable message indicating details about the current status.
- reason
This property is required. String - A common (service-level) reason for this condition.
- revision
Reason This property is required. String - A reason for the revision condition.
- severity
This property is required. String - How to interpret failures of this condition, one of Error, Warning, Info
- state
This property is required. String - State of the condition.
- type
This property is required. String - type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason This property is required. string - A reason for the execution condition.
- last
Transition Time This property is required. string - Last time the condition transitioned from one status to another.
- message
This property is required. string - Human readable message indicating details about the current status.
- reason
This property is required. string - A common (service-level) reason for this condition.
- revision
Reason This property is required. string - A reason for the revision condition.
- severity
This property is required. string - How to interpret failures of this condition, one of Error, Warning, Info
- state
This property is required. string - State of the condition.
- type
This property is required. string - type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution_
reason This property is required. str - A reason for the execution condition.
- last_
transition_ time This property is required. str - Last time the condition transitioned from one status to another.
- message
This property is required. str - Human readable message indicating details about the current status.
- reason
This property is required. str - A common (service-level) reason for this condition.
- revision_
reason This property is required. str - A reason for the revision condition.
- severity
This property is required. str - How to interpret failures of this condition, one of Error, Warning, Info
- state
This property is required. str - State of the condition.
- type
This property is required. str - type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason This property is required. String - A reason for the execution condition.
- last
Transition Time This property is required. String - Last time the condition transitioned from one status to another.
- message
This property is required. String - Human readable message indicating details about the current status.
- reason
This property is required. String - A common (service-level) reason for this condition.
- revision
Reason This property is required. String - A reason for the revision condition.
- severity
This property is required. String - How to interpret failures of this condition, one of Error, Warning, Info
- state
This property is required. String - State of the condition.
- type
This property is required. String - type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
GetServiceTraffic
- Percent
This property is required. int - Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
- Revision
This property is required. string - Revision to which to send this portion of traffic, if traffic allocation is by revision.
- Tag
This property is required. string - Indicates a string to be part of the URI to exclusively reference this target.
- Type
This property is required. string - The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
- Percent
This property is required. int - Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
- Revision
This property is required. string - Revision to which to send this portion of traffic, if traffic allocation is by revision.
- Tag
This property is required. string - Indicates a string to be part of the URI to exclusively reference this target.
- Type
This property is required. string - The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
- percent
This property is required. Integer - Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
- revision
This property is required. String - Revision to which to send this portion of traffic, if traffic allocation is by revision.
- tag
This property is required. String - Indicates a string to be part of the URI to exclusively reference this target.
- type
This property is required. String - The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
- percent
This property is required. number - Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
- revision
This property is required. string - Revision to which to send this portion of traffic, if traffic allocation is by revision.
- tag
This property is required. string - Indicates a string to be part of the URI to exclusively reference this target.
- type
This property is required. string - The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
- percent
This property is required. int - Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
- revision
This property is required. str - Revision to which to send this portion of traffic, if traffic allocation is by revision.
- tag
This property is required. str - Indicates a string to be part of the URI to exclusively reference this target.
- type
This property is required. str - The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
- percent
This property is required. Number - Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
- revision
This property is required. String - Revision to which to send this portion of traffic, if traffic allocation is by revision.
- tag
This property is required. String - Indicates a string to be part of the URI to exclusively reference this target.
- type
This property is required. String - The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
GetServiceTrafficStatus
- Percent
This property is required. int - Specifies percent of the traffic to this Revision.
- Revision
This property is required. string - Revision to which this traffic is sent.
- Tag
This property is required. string - Indicates the string used in the URI to exclusively reference this target.
- Type
This property is required. string - The allocation type for this traffic target.
- Uri
This property is required. string - Displays the target URI.
- Percent
This property is required. int - Specifies percent of the traffic to this Revision.
- Revision
This property is required. string - Revision to which this traffic is sent.
- Tag
This property is required. string - Indicates the string used in the URI to exclusively reference this target.
- Type
This property is required. string - The allocation type for this traffic target.
- Uri
This property is required. string - Displays the target URI.
- percent
This property is required. Integer - Specifies percent of the traffic to this Revision.
- revision
This property is required. String - Revision to which this traffic is sent.
- tag
This property is required. String - Indicates the string used in the URI to exclusively reference this target.
- type
This property is required. String - The allocation type for this traffic target.
- uri
This property is required. String - Displays the target URI.
- percent
This property is required. number - Specifies percent of the traffic to this Revision.
- revision
This property is required. string - Revision to which this traffic is sent.
- tag
This property is required. string - Indicates the string used in the URI to exclusively reference this target.
- type
This property is required. string - The allocation type for this traffic target.
- uri
This property is required. string - Displays the target URI.
- percent
This property is required. int - Specifies percent of the traffic to this Revision.
- revision
This property is required. str - Revision to which this traffic is sent.
- tag
This property is required. str - Indicates the string used in the URI to exclusively reference this target.
- type
This property is required. str - The allocation type for this traffic target.
- uri
This property is required. str - Displays the target URI.
- percent
This property is required. Number - Specifies percent of the traffic to this Revision.
- revision
This property is required. String - Revision to which this traffic is sent.
- tag
This property is required. String - Indicates the string used in the URI to exclusively reference this target.
- type
This property is required. String - The allocation type for this traffic target.
- uri
This property is required. String - Displays the target URI.
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.