gcp.cloudrunv2.getJob
Explore with Pulumi AI
Get information about a Google Cloud Run v2 Job. For more information see the official documentation and API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const myJob = gcp.cloudrunv2.getJob({
name: "my-job",
location: "us-central1",
});
import pulumi
import pulumi_gcp as gcp
my_job = gcp.cloudrunv2.get_job(name="my-job",
location="us-central1")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudrunv2.LookupJob(ctx, &cloudrunv2.LookupJobArgs{
Name: "my-job",
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 myJob = Gcp.CloudRunV2.GetJob.Invoke(new()
{
Name = "my-job",
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.GetJobArgs;
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 myJob = Cloudrunv2Functions.getJob(GetJobArgs.builder()
.name("my-job")
.location("us-central1")
.build());
}
}
variables:
myJob:
fn::invoke:
Function: gcp:cloudrunv2:getJob
Arguments:
name: my-job
location: us-central1
Using getJob
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 getJob(args: GetJobArgs, opts?: InvokeOptions): Promise<GetJobResult>
function getJobOutput(args: GetJobOutputArgs, opts?: InvokeOptions): Output<GetJobResult>
def get_job(location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetJobResult
def get_job_output(location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetJobResult]
func LookupJob(ctx *Context, args *LookupJobArgs, opts ...InvokeOption) (*LookupJobResult, error)
func LookupJobOutput(ctx *Context, args *LookupJobOutputArgs, opts ...InvokeOption) LookupJobResultOutput
> Note: This function is named LookupJob
in the Go SDK.
public static class GetJob
{
public static Task<GetJobResult> InvokeAsync(GetJobArgs args, InvokeOptions? opts = null)
public static Output<GetJobResult> Invoke(GetJobInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetJobResult> getJob(GetJobArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: gcp:cloudrunv2/getJob:getJob
arguments:
# arguments dictionary
The following arguments are supported:
getJob Result
The following output properties are available:
- Annotations Dictionary<string, string>
- List<Get
Job Binary Authorization> - Client string
- Client
Version string - Conditions
List<Get
Job Condition> - Create
Time string - Creator string
- Delete
Time string - Effective
Annotations Dictionary<string, string> - Effective
Labels Dictionary<string, string> - Etag string
- Execution
Count int - Expire
Time string - Generation string
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, string>
- Last
Modifier string - Latest
Created List<GetExecutions Job Latest Created Execution> - Launch
Stage string - Name string
- Observed
Generation string - Pulumi
Labels Dictionary<string, string> - Reconciling bool
- Run
Execution stringToken - Start
Execution stringToken - Templates
List<Get
Job Template> - Terminal
Conditions List<GetJob Terminal Condition> - Uid string
- Update
Time string - Location string
- Project string
- Annotations map[string]string
- []Get
Job Binary Authorization - Client string
- Client
Version string - Conditions
[]Get
Job Condition - Create
Time string - Creator string
- Delete
Time string - Effective
Annotations map[string]string - Effective
Labels map[string]string - Etag string
- Execution
Count int - Expire
Time string - Generation string
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]string
- Last
Modifier string - Latest
Created []GetExecutions Job Latest Created Execution - Launch
Stage string - Name string
- Observed
Generation string - Pulumi
Labels map[string]string - Reconciling bool
- Run
Execution stringToken - Start
Execution stringToken - Templates
[]Get
Job Template - Terminal
Conditions []GetJob Terminal Condition - Uid string
- Update
Time string - Location string
- Project string
- annotations Map<String,String>
- List<Get
Job Binary Authorization> - client String
- client
Version String - conditions
List<Get
Job Condition> - create
Time String - creator String
- delete
Time String - effective
Annotations Map<String,String> - effective
Labels Map<String,String> - etag String
- execution
Count Integer - expire
Time String - generation String
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,String>
- last
Modifier String - latest
Created List<GetExecutions Job Latest Created Execution> - launch
Stage String - name String
- observed
Generation String - pulumi
Labels Map<String,String> - reconciling Boolean
- run
Execution StringToken - start
Execution StringToken - templates
List<Get
Job Template> - terminal
Conditions List<GetJob Terminal Condition> - uid String
- update
Time String - location String
- project String
- annotations {[key: string]: string}
- Get
Job Binary Authorization[] - client string
- client
Version string - conditions
Get
Job Condition[] - create
Time string - creator string
- delete
Time string - effective
Annotations {[key: string]: string} - effective
Labels {[key: string]: string} - etag string
- execution
Count number - expire
Time string - generation string
- id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: string}
- last
Modifier string - latest
Created GetExecutions Job Latest Created Execution[] - launch
Stage string - name string
- observed
Generation string - pulumi
Labels {[key: string]: string} - reconciling boolean
- run
Execution stringToken - start
Execution stringToken - templates
Get
Job Template[] - terminal
Conditions GetJob Terminal Condition[] - uid string
- update
Time string - location string
- project string
- annotations Mapping[str, str]
- Sequence[Get
Job Binary Authorization] - client str
- client_
version str - conditions
Sequence[Get
Job Condition] - create_
time str - creator str
- delete_
time str - effective_
annotations Mapping[str, str] - effective_
labels Mapping[str, str] - etag str
- execution_
count int - expire_
time str - generation str
- id str
- The provider-assigned unique ID for this managed resource.
- labels Mapping[str, str]
- last_
modifier str - latest_
created_ Sequence[Getexecutions Job Latest Created Execution] - launch_
stage str - name str
- observed_
generation str - pulumi_
labels Mapping[str, str] - reconciling bool
- run_
execution_ strtoken - start_
execution_ strtoken - templates
Sequence[Get
Job Template] - terminal_
conditions Sequence[GetJob Terminal Condition] - uid str
- update_
time str - location str
- project str
- annotations Map<String>
- List<Property Map>
- client String
- client
Version String - conditions List<Property Map>
- create
Time String - creator String
- delete
Time String - effective
Annotations Map<String> - effective
Labels Map<String> - etag String
- execution
Count Number - expire
Time String - generation String
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String>
- last
Modifier String - latest
Created List<Property Map>Executions - launch
Stage String - name String
- observed
Generation String - pulumi
Labels Map<String> - reconciling Boolean
- run
Execution StringToken - start
Execution StringToken - templates List<Property Map>
- terminal
Conditions List<Property Map> - uid String
- update
Time String - location String
- project String
Supporting Types
GetJobBinaryAuthorization
- Breakglass
Justification string - If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
- Use
Default bool - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
- Breakglass
Justification string - If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
- Use
Default bool - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
- breakglass
Justification String - If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
- use
Default Boolean - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
- breakglass
Justification string - If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
- use
Default boolean - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
- breakglass_
justification str - If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
- use_
default bool - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
- breakglass
Justification String - If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
- use
Default Boolean - If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
GetJobCondition
- Execution
Reason string - A reason for the execution condition.
- Last
Transition stringTime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Message string
- Human readable message indicating details about the current status.
- Reason string
- A common (service-level) reason for this condition.
- Revision
Reason string - A reason for the revision condition.
- Severity string
- How to interpret failures of this condition, one of Error, Warning, Info
- State string
- State of the condition.
- Type string
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- Execution
Reason string - A reason for the execution condition.
- Last
Transition stringTime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Message string
- Human readable message indicating details about the current status.
- Reason string
- A common (service-level) reason for this condition.
- Revision
Reason string - A reason for the revision condition.
- Severity string
- How to interpret failures of this condition, one of Error, Warning, Info
- State string
- State of the condition.
- Type string
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason String - A reason for the execution condition.
- last
Transition StringTime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- message String
- Human readable message indicating details about the current status.
- reason String
- A common (service-level) reason for this condition.
- revision
Reason String - A reason for the revision condition.
- severity String
- How to interpret failures of this condition, one of Error, Warning, Info
- state String
- State of the condition.
- type String
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason string - A reason for the execution condition.
- last
Transition stringTime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- message string
- Human readable message indicating details about the current status.
- reason string
- A common (service-level) reason for this condition.
- revision
Reason string - A reason for the revision condition.
- severity string
- How to interpret failures of this condition, one of Error, Warning, Info
- state string
- State of the condition.
- type string
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution_
reason str - A reason for the execution condition.
- last_
transition_ strtime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- message str
- Human readable message indicating details about the current status.
- reason str
- A common (service-level) reason for this condition.
- revision_
reason str - A reason for the revision condition.
- severity str
- How to interpret failures of this condition, one of Error, Warning, Info
- state str
- State of the condition.
- type str
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason String - A reason for the execution condition.
- last
Transition StringTime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- message String
- Human readable message indicating details about the current status.
- reason String
- A common (service-level) reason for this condition.
- revision
Reason String - A reason for the revision condition.
- severity String
- How to interpret failures of this condition, one of Error, Warning, Info
- state String
- State of the condition.
- type String
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
GetJobLatestCreatedExecution
- Completion
Time string Completion timestamp of the execution.
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".
- Create
Time string Creation timestamp of the execution.
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".
- Name string
- The name of the Cloud Run v2 Job.
- Completion
Time string Completion timestamp of the execution.
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".
- Create
Time string Creation timestamp of the execution.
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".
- Name string
- The name of the Cloud Run v2 Job.
- completion
Time String Completion timestamp of the execution.
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".
- create
Time String Creation timestamp of the execution.
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".
- name String
- The name of the Cloud Run v2 Job.
- completion
Time string Completion timestamp of the execution.
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".
- create
Time string Creation timestamp of the execution.
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".
- name string
- The name of the Cloud Run v2 Job.
- completion_
time str Completion timestamp of the execution.
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".
- create_
time str Creation timestamp of the execution.
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".
- name str
- The name of the Cloud Run v2 Job.
- completion
Time String Completion timestamp of the execution.
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".
- create
Time String Creation timestamp of the execution.
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".
- name String
- The name of the Cloud Run v2 Job.
GetJobTemplate
- Annotations Dictionary<string, string>
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- Labels Dictionary<string, string>
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.
- Parallelism int
- Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
- Task
Count int - Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
- Templates
List<Get
Job Template Template> - Describes the task(s) that will be created when executing an execution
- Annotations map[string]string
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- Labels map[string]string
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.
- Parallelism int
- Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
- Task
Count int - Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
- Templates
[]Get
Job Template Template - Describes the task(s) that will be created when executing an execution
- annotations Map<String,String>
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- labels Map<String,String>
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.
- parallelism Integer
- Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
- task
Count Integer - Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
- templates
List<Get
Job Template Template> - Describes the task(s) that will be created when executing an execution
- annotations {[key: string]: string}
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- labels {[key: string]: string}
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.
- parallelism number
- Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
- task
Count number - Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
- templates
Get
Job Template Template[] - Describes the task(s) that will be created when executing an execution
- annotations Mapping[str, str]
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- labels Mapping[str, str]
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.
- parallelism int
- Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
- task_
count int - Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
- templates
Sequence[Get
Job Template Template] - Describes the task(s) that will be created when executing an execution
- annotations Map<String>
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.
This field follows Kubernetes annotations' namespacing, limits, and rules.
- labels Map<String>
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.
- parallelism Number
- Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
- task
Count Number - Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
- templates List<Property Map>
- Describes the task(s) that will be created when executing an execution
GetJobTemplateTemplate
- Containers
List<Get
Job Template Template Container> - Holds the single container that defines the unit of execution for this task.
- Encryption
Key string - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- Execution
Environment string - The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- Max
Retries int - Number of retries allowed per Task, before marking this Task failed.
- Service
Account string - Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
- Timeout string
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
- Volumes
List<Get
Job Template Template Volume> - A list of Volumes to make available to containers.
- Vpc
Accesses List<GetJob Template Template Vpc Access> - VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
- Containers
[]Get
Job Template Template Container - Holds the single container that defines the unit of execution for this task.
- Encryption
Key string - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- Execution
Environment string - The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- Max
Retries int - Number of retries allowed per Task, before marking this Task failed.
- Service
Account string - Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
- Timeout string
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
- Volumes
[]Get
Job Template Template Volume - A list of Volumes to make available to containers.
- Vpc
Accesses []GetJob Template Template Vpc Access - VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
- containers
List<Get
Job Template Template Container> - Holds the single container that defines the unit of execution for this task.
- encryption
Key String - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- execution
Environment String - The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- max
Retries Integer - Number of retries allowed per Task, before marking this Task failed.
- service
Account String - Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
- timeout String
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
- volumes
List<Get
Job Template Template Volume> - A list of Volumes to make available to containers.
- vpc
Accesses List<GetJob Template Template Vpc Access> - VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
- containers
Get
Job Template Template Container[] - Holds the single container that defines the unit of execution for this task.
- encryption
Key string - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- execution
Environment string - The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- max
Retries number - Number of retries allowed per Task, before marking this Task failed.
- service
Account string - Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
- timeout string
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
- volumes
Get
Job Template Template Volume[] - A list of Volumes to make available to containers.
- vpc
Accesses GetJob Template Template Vpc Access[] - VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
- containers
Sequence[Get
Job Template Template Container] - Holds the single container that defines the unit of execution for this task.
- encryption_
key str - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- execution_
environment str - The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- max_
retries int - Number of retries allowed per Task, before marking this Task failed.
- service_
account str - Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
- timeout str
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
- volumes
Sequence[Get
Job Template Template Volume] - A list of Volumes to make available to containers.
- vpc_
accesses Sequence[GetJob Template Template Vpc Access] - VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
- containers List<Property Map>
- Holds the single container that defines the unit of execution for this task.
- encryption
Key String - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
- execution
Environment String - The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- max
Retries Number - Number of retries allowed per Task, before marking this Task failed.
- service
Account String - Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
- timeout String
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
- volumes List<Property Map>
- A list of Volumes to make available to containers.
- vpc
Accesses List<Property Map> - VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
GetJobTemplateTemplateContainer
- Args List<string>
- Arguments to the entrypoint. The docker image's CMD 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
- Commands List<string>
- Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- Envs
List<Get
Job Template Template Container Env> - List of environment variables to set in the container.
- Image string
- URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
- Name string
- The name of the Cloud Run v2 Job.
- Ports
List<Get
Job Template Template Container Port> List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
- Resources
List<Get
Job Template Template Container Resource> - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- Volume
Mounts List<GetJob Template Template Container Volume Mount> - Volume to mount into the container's filesystem.
- Working
Dir string - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- Args []string
- Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(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
- Commands []string
- Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- Envs
[]Get
Job Template Template Container Env - List of environment variables to set in the container.
- Image string
- URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
- Name string
- The name of the Cloud Run v2 Job.
- Ports
[]Get
Job Template Template Container Port List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
- Resources
[]Get
Job Template Template Container Resource - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- Volume
Mounts []GetJob Template Template Container Volume Mount - Volume to mount into the container's filesystem.
- Working
Dir string - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args List<String>
- Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(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
- commands List<String>
- Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- envs
List<Get
Job Template Template Container Env> - List of environment variables to set in the container.
- image String
- URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
- name String
- The name of the Cloud Run v2 Job.
- ports
List<Get
Job Template Template Container Port> List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
- resources
List<Get
Job Template Template Container Resource> - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- volume
Mounts List<GetJob Template Template Container Volume Mount> - Volume to mount into the container's filesystem.
- working
Dir String - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args string[]
- Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(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
- commands string[]
- Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- envs
Get
Job Template Template Container Env[] - List of environment variables to set in the container.
- image string
- URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
- name string
- The name of the Cloud Run v2 Job.
- ports
Get
Job Template Template Container Port[] List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
- resources
Get
Job Template Template Container Resource[] - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- volume
Mounts GetJob Template Template Container Volume Mount[] - Volume to mount into the container's filesystem.
- working
Dir string - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args Sequence[str]
- Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(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
- commands Sequence[str]
- Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- envs
Sequence[Get
Job Template Template Container Env] - List of environment variables to set in the container.
- image str
- URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
- name str
- The name of the Cloud Run v2 Job.
- ports
Sequence[Get
Job Template Template Container Port] List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
- resources
Sequence[Get
Job Template Template Container Resource] - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- volume_
mounts Sequence[GetJob Template Template Container Volume Mount] - Volume to mount into the container's filesystem.
- working_
dir str - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args List<String>
- Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(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
- commands List<String>
- Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- envs List<Property Map>
- List of environment variables to set in the container.
- image String
- URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
- name String
- The name of the Cloud Run v2 Job.
- ports List<Property Map>
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
- resources List<Property Map>
- Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- volume
Mounts List<Property Map> - Volume to mount into the container's filesystem.
- working
Dir String - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
GetJobTemplateTemplateContainerEnv
- Name string
- The name of the Cloud Run v2 Job.
- Value string
- Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. 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. Defaults to "", and the maximum length is 32768 bytes
- Value
Sources List<GetJob Template Template Container Env Value Source> - Source for the environment variable's value.
- Name string
- The name of the Cloud Run v2 Job.
- Value string
- Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. 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. Defaults to "", and the maximum length is 32768 bytes
- Value
Sources []GetJob Template Template Container Env Value Source - Source for the environment variable's value.
- name String
- The name of the Cloud Run v2 Job.
- value String
- Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. 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. Defaults to "", and the maximum length is 32768 bytes
- value
Sources List<GetJob Template Template Container Env Value Source> - Source for the environment variable's value.
- name string
- The name of the Cloud Run v2 Job.
- value string
- Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. 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. Defaults to "", and the maximum length is 32768 bytes
- value
Sources GetJob Template Template Container Env Value Source[] - Source for the environment variable's value.
- name str
- The name of the Cloud Run v2 Job.
- value str
- Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. 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. Defaults to "", and the maximum length is 32768 bytes
- value_
sources Sequence[GetJob Template Template Container Env Value Source] - Source for the environment variable's value.
- name String
- The name of the Cloud Run v2 Job.
- value String
- Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. 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. Defaults to "", and the maximum length is 32768 bytes
- value
Sources List<Property Map> - Source for the environment variable's value.
GetJobTemplateTemplateContainerEnvValueSource
- Secret
Key List<GetReves Job Template Template Container Env Value Source Secret Key Ref> - Selects a secret and a specific version from Cloud Secret Manager.
- Secret
Key []GetReves Job Template Template Container Env Value Source Secret Key Ref - Selects a secret and a specific version from Cloud Secret Manager.
- secret
Key List<GetReves Job Template Template Container Env Value Source Secret Key Ref> - Selects a secret and a specific version from Cloud Secret Manager.
- secret
Key GetReves Job Template Template Container Env Value Source Secret Key Ref[] - Selects a secret and a specific version from Cloud Secret Manager.
- secret_
key_ Sequence[Getreves Job Template Template Container Env Value Source Secret Key Ref] - Selects a secret and a specific version from Cloud Secret Manager.
- secret
Key List<Property Map>Reves - Selects a secret and a specific version from Cloud Secret Manager.
GetJobTemplateTemplateContainerEnvValueSourceSecretKeyRef
- Secret string
- The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
- Version string
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- Secret string
- The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
- Version string
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- secret String
- The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
- version String
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- secret string
- The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
- version string
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- secret str
- The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
- version str
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- secret String
- The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
- version String
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
GetJobTemplateTemplateContainerPort
- Container
Port int - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- Name string
- The name of the Cloud Run v2 Job.
- Container
Port int - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- Name string
- The name of the Cloud Run v2 Job.
- container
Port Integer - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- name String
- The name of the Cloud Run v2 Job.
- container
Port number - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- name string
- The name of the Cloud Run v2 Job.
- container_
port int - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- name str
- The name of the Cloud Run v2 Job.
- container
Port Number - Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
- name String
- The name of the Cloud Run v2 Job.
GetJobTemplateTemplateContainerResource
- Limits Dictionary<string, string>
- Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- Limits map[string]string
- Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- limits Map<String,String>
- Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- limits {[key: string]: string}
- Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- limits Mapping[str, str]
- Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- limits Map<String>
- Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
GetJobTemplateTemplateContainerVolumeMount
- Mount
Path string - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- Name string
- The name of the Cloud Run v2 Job.
- Mount
Path string - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- Name string
- The name of the Cloud Run v2 Job.
- mount
Path String - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- name String
- The name of the Cloud Run v2 Job.
- mount
Path string - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- name string
- The name of the Cloud Run v2 Job.
- mount_
path str - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- name str
- The name of the Cloud Run v2 Job.
- mount
Path String - Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
- name String
- The name of the Cloud Run v2 Job.
GetJobTemplateTemplateVolume
- Cloud
Sql List<GetInstances Job Template Template Volume Cloud Sql Instance> - For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
- Empty
Dirs List<GetJob Template Template Volume Empty Dir> - Ephemeral storage used as a shared volume.
- Gcs
List<Get
Job Template Template Volume Gc> - Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
- Name string
- The name of the Cloud Run v2 Job.
- Nfs
List<Get
Job Template Template Volume Nf> - NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
- Secrets
List<Get
Job Template Template Volume Secret> - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- Cloud
Sql []GetInstances Job Template 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 []GetJob Template Template Volume Empty Dir - Ephemeral storage used as a shared volume.
- Gcs
[]Get
Job Template Template Volume Gc - Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
- Name string
- The name of the Cloud Run v2 Job.
- Nfs
[]Get
Job Template Template Volume Nf - NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
- Secrets
[]Get
Job Template Template Volume Secret - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- cloud
Sql List<GetInstances Job Template Template Volume Cloud Sql Instance> - For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
- empty
Dirs List<GetJob Template Template Volume Empty Dir> - Ephemeral storage used as a shared volume.
- gcs
List<Get
Job Template Template Volume Gc> - Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
- name String
- The name of the Cloud Run v2 Job.
- nfs
List<Get
Job Template Template Volume Nf> - NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
- secrets
List<Get
Job Template Template Volume Secret> - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- cloud
Sql GetInstances Job Template 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 GetJob Template Template Volume Empty Dir[] - Ephemeral storage used as a shared volume.
- gcs
Get
Job Template Template Volume Gc[] - Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
- name string
- The name of the Cloud Run v2 Job.
- nfs
Get
Job Template Template Volume Nf[] - NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
- secrets
Get
Job Template Template Volume Secret[] - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- cloud_
sql_ Sequence[Getinstances Job Template Template Volume Cloud Sql Instance] - For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
- empty_
dirs Sequence[GetJob Template Template Volume Empty Dir] - Ephemeral storage used as a shared volume.
- gcs
Sequence[Get
Job Template Template Volume Gc] - Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
- name str
- The name of the Cloud Run v2 Job.
- nfs
Sequence[Get
Job Template Template Volume Nf] - NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
- secrets
Sequence[Get
Job Template Template Volume Secret] - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- cloud
Sql List<Property Map>Instances - For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
- empty
Dirs List<Property Map> - Ephemeral storage used as a shared volume.
- gcs List<Property Map>
- Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
- name String
- The name of the Cloud Run v2 Job.
- nfs List<Property Map>
- NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
- secrets List<Property Map>
- Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
GetJobTemplateTemplateVolumeCloudSqlInstance
- Instances List<string>
- The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
- Instances []string
- The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
- instances List<String>
- The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
- instances string[]
- The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
- instances Sequence[str]
- The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
- instances List<String>
- The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
GetJobTemplateTemplateVolumeEmptyDir
- Medium string
- The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- Size
Limit string - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- Medium string
- The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- Size
Limit string - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium String
- The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- size
Limit String - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium string
- The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- size
Limit string - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium str
- The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- size_
limit str - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium String
- The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
- size
Limit String - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
GetJobTemplateTemplateVolumeGc
GetJobTemplateTemplateVolumeNf
GetJobTemplateTemplateVolumeSecret
- Default
Mode int - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- Items
List<Get
Job Template Template Volume Secret Item> - If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
- Secret string
- The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
- Default
Mode int - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- Items
[]Get
Job Template Template Volume Secret Item - If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
- Secret string
- The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
- default
Mode Integer - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- items
List<Get
Job Template Template Volume Secret Item> - If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
- secret String
- The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
- default
Mode number - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- items
Get
Job Template Template Volume Secret Item[] - If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
- secret string
- The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
- default_
mode int - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- items
Sequence[Get
Job Template Template Volume Secret Item] - If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
- secret str
- The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
- default
Mode Number - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
- items List<Property Map>
- If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
- secret String
- The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
GetJobTemplateTemplateVolumeSecretItem
- Mode int
- Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- Path string
- The relative path of the secret in the container.
- Version string
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
- Mode int
- Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- Path string
- The relative path of the secret in the container.
- Version string
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
- mode Integer
- Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- path String
- The relative path of the secret in the container.
- version String
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
- mode number
- Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- path string
- The relative path of the secret in the container.
- version string
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
- mode int
- Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- path str
- The relative path of the secret in the container.
- version str
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
- mode Number
- Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
- path String
- The relative path of the secret in the container.
- version String
- The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
GetJobTemplateTemplateVpcAccess
- Connector string
- VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- Egress string
- Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- Network
Interfaces List<GetJob Template Template Vpc Access Network Interface> - Direct VPC egress settings. Currently only single network interface is supported.
- Connector string
- VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- Egress string
- Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- Network
Interfaces []GetJob Template Template Vpc Access Network Interface - Direct VPC egress settings. Currently only single network interface is supported.
- connector String
- VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- egress String
- Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- network
Interfaces List<GetJob Template Template Vpc Access Network Interface> - Direct VPC egress settings. Currently only single network interface is supported.
- connector string
- VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- egress string
- Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- network
Interfaces GetJob Template Template Vpc Access Network Interface[] - Direct VPC egress settings. Currently only single network interface is supported.
- connector str
- VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- egress str
- Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- network_
interfaces Sequence[GetJob Template Template Vpc Access Network Interface] - Direct VPC egress settings. Currently only single network interface is supported.
- connector String
- VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
- egress String
- Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
- network
Interfaces List<Property Map> - Direct VPC egress settings. Currently only single network interface is supported.
GetJobTemplateTemplateVpcAccessNetworkInterface
- Network string
- The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- Subnetwork string
- The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
- List<string>
- Network tags applied to this Cloud Run job.
- Network string
- The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- Subnetwork string
- The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
- []string
- Network tags applied to this Cloud Run job.
- network String
- The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- subnetwork String
- The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
- List<String>
- Network tags applied to this Cloud Run job.
- network string
- The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- subnetwork string
- The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
- string[]
- Network tags applied to this Cloud Run job.
- network str
- The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- subnetwork str
- The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
- Sequence[str]
- Network tags applied to this Cloud Run job.
- network String
- The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
- subnetwork String
- The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
- List<String>
- Network tags applied to this Cloud Run job.
GetJobTerminalCondition
- Execution
Reason string - A reason for the execution condition.
- Last
Transition stringTime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Message string
- Human readable message indicating details about the current status.
- Reason string
- A common (service-level) reason for this condition.
- Revision
Reason string - A reason for the revision condition.
- Severity string
- How to interpret failures of this condition, one of Error, Warning, Info
- State string
- State of the condition.
- Type string
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- Execution
Reason string - A reason for the execution condition.
- Last
Transition stringTime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Message string
- Human readable message indicating details about the current status.
- Reason string
- A common (service-level) reason for this condition.
- Revision
Reason string - A reason for the revision condition.
- Severity string
- How to interpret failures of this condition, one of Error, Warning, Info
- State string
- State of the condition.
- Type string
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason String - A reason for the execution condition.
- last
Transition StringTime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- message String
- Human readable message indicating details about the current status.
- reason String
- A common (service-level) reason for this condition.
- revision
Reason String - A reason for the revision condition.
- severity String
- How to interpret failures of this condition, one of Error, Warning, Info
- state String
- State of the condition.
- type String
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason string - A reason for the execution condition.
- last
Transition stringTime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- message string
- Human readable message indicating details about the current status.
- reason string
- A common (service-level) reason for this condition.
- revision
Reason string - A reason for the revision condition.
- severity string
- How to interpret failures of this condition, one of Error, Warning, Info
- state string
- State of the condition.
- type string
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution_
reason str - A reason for the execution condition.
- last_
transition_ strtime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- message str
- Human readable message indicating details about the current status.
- reason str
- A common (service-level) reason for this condition.
- revision_
reason str - A reason for the revision condition.
- severity str
- How to interpret failures of this condition, one of Error, Warning, Info
- state str
- State of the condition.
- type str
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
- execution
Reason String - A reason for the execution condition.
- last
Transition StringTime Last time the condition transitioned from one status to another.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- message String
- Human readable message indicating details about the current status.
- reason String
- A common (service-level) reason for this condition.
- revision
Reason String - A reason for the revision condition.
- severity String
- How to interpret failures of this condition, one of Error, Warning, Info
- state String
- State of the condition.
- type String
- type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
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.