gcp.cloudrun.getService
Explore with Pulumi AI
Get information about a Google Cloud Run Service. For more information see the official documentation and API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const run_service = gcp.cloudrun.getService({
name: "my-service",
location: "us-central1",
});
import pulumi
import pulumi_gcp as gcp
run_service = gcp.cloudrun.get_service(name="my-service",
location="us-central1")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudrun"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudrun.LookupService(ctx, &cloudrun.LookupServiceArgs{
Name: "my-service",
Location: "us-central1",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var run_service = Gcp.CloudRun.GetService.Invoke(new()
{
Name = "my-service",
Location = "us-central1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.cloudrun.CloudrunFunctions;
import com.pulumi.gcp.cloudrun.inputs.GetServiceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var run-service = CloudrunFunctions.getService(GetServiceArgs.builder()
.name("my-service")
.location("us-central1")
.build());
}
}
variables:
run-service:
fn::invoke:
function: gcp:cloudrun:getService
arguments:
name: my-service
location: us-central1
Using getService
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>
def get_service(location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]
func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput
> Note: This function is named LookupService
in the Go SDK.
public static class GetService
{
public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
fn::invoke:
function: gcp:cloudrun/getService:getService
arguments:
# arguments dictionary
The following arguments are supported:
getService Result
The following output properties are available:
- Autogenerate
Revision boolName - Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Metadatas
List<Get
Service Metadata> - Name string
- Statuses
List<Get
Service Status> - Templates
List<Get
Service Template> - Traffics
List<Get
Service Traffic> - Project string
- Autogenerate
Revision boolName - Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Metadatas
[]Get
Service Metadata - Name string
- Statuses
[]Get
Service Status - Templates
[]Get
Service Template - Traffics
[]Get
Service Traffic - Project string
- autogenerate
Revision BooleanName - id String
- The provider-assigned unique ID for this managed resource.
- location String
- metadatas
List<Get
Service Metadata> - name String
- statuses
List<Get
Service Status> - templates
List<Get
Service Template> - traffics
List<Get
Service Traffic> - project String
- autogenerate
Revision booleanName - id string
- The provider-assigned unique ID for this managed resource.
- location string
- metadatas
Get
Service Metadata[] - name string
- statuses
Get
Service Status[] - templates
Get
Service Template[] - traffics
Get
Service Traffic[] - project string
- autogenerate_
revision_ boolname - id str
- The provider-assigned unique ID for this managed resource.
- location str
- metadatas
Sequence[Get
Service Metadata] - name str
- statuses
Sequence[Get
Service Status] - templates
Sequence[Get
Service Template] - traffics
Sequence[Get
Service Traffic] - project str
- autogenerate
Revision BooleanName - id String
- The provider-assigned unique ID for this managed resource.
- location String
- metadatas List<Property Map>
- name String
- statuses List<Property Map>
- templates List<Property Map>
- traffics List<Property Map>
- project String
Supporting Types
GetServiceMetadata
- Annotations
This property is required. Dictionary<string, string> - Effective
Annotations This property is required. Dictionary<string, string> - Effective
Labels This property is required. Dictionary<string, string> - Generation
This property is required. int - A sequence number representing a specific generation of the desired state.
- Labels
This property is required. Dictionary<string, string> Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- Namespace
This property is required. string - In Cloud Run the namespace must be equal to either the project ID or project number.
- Pulumi
Labels This property is required. Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Resource
Version This property is required. string - An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
- Self
Link This property is required. string - SelfLink is a URL representing this object.
- Uid
This property is required. string - UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
- Annotations
This property is required. map[string]string - Effective
Annotations This property is required. map[string]string - Effective
Labels This property is required. map[string]string - Generation
This property is required. int - A sequence number representing a specific generation of the desired state.
- Labels
This property is required. map[string]string Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- Namespace
This property is required. string - In Cloud Run the namespace must be equal to either the project ID or project number.
- Pulumi
Labels This property is required. map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Resource
Version This property is required. string - An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
- Self
Link This property is required. string - SelfLink is a URL representing this object.
- Uid
This property is required. string - UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
- annotations
This property is required. Map<String,String> - effective
Annotations This property is required. Map<String,String> - effective
Labels This property is required. Map<String,String> - generation
This property is required. Integer - A sequence number representing a specific generation of the desired state.
- labels
This property is required. Map<String,String> Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- namespace
This property is required. String - In Cloud Run the namespace must be equal to either the project ID or project number.
- pulumi
Labels This property is required. Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- resource
Version This property is required. String - An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
- self
Link This property is required. String - SelfLink is a URL representing this object.
- uid
This property is required. String - UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
- annotations
This property is required. {[key: string]: string} - effective
Annotations This property is required. {[key: string]: string} - effective
Labels This property is required. {[key: string]: string} - generation
This property is required. number - A sequence number representing a specific generation of the desired state.
- labels
This property is required. {[key: string]: string} Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- namespace
This property is required. string - In Cloud Run the namespace must be equal to either the project ID or project number.
- pulumi
Labels This property is required. {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- resource
Version This property is required. string - An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
- self
Link This property is required. string - SelfLink is a URL representing this object.
- uid
This property is required. string - UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
- annotations
This property is required. Mapping[str, str] - effective_
annotations This property is required. Mapping[str, str] - effective_
labels This property is required. Mapping[str, str] - generation
This property is required. int - A sequence number representing a specific generation of the desired state.
- labels
This property is required. Mapping[str, str] Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- namespace
This property is required. str - In Cloud Run the namespace must be equal to either the project ID or project number.
- pulumi_
labels This property is required. Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- resource_
version This property is required. str - An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
- self_
link This property is required. str - SelfLink is a URL representing this object.
- uid
This property is required. str - UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
- annotations
This property is required. Map<String> - effective
Annotations This property is required. Map<String> - effective
Labels This property is required. Map<String> - generation
This property is required. Number - A sequence number representing a specific generation of the desired state.
- labels
This property is required. Map<String> Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- namespace
This property is required. String - In Cloud Run the namespace must be equal to either the project ID or project number.
- pulumi
Labels This property is required. Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- resource
Version This property is required. String - An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
- self
Link This property is required. String - SelfLink is a URL representing this object.
- uid
This property is required. String - UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
GetServiceStatus
- Conditions
This property is required. List<GetService Status Condition> - Array of observed Service Conditions, indicating the current ready state of the service.
- Latest
Created Revision Name This property is required. string - From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.
- Latest
Ready Revision Name This property is required. string - From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision stamped out from this Service's Configuration that has had its "Ready" condition become "True".
- Observed
Generation This property is required. int ObservedGeneration is the 'Generation' of the Route that was last processed by the controller.
Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.
- Traffics
This property is required. List<GetService Status Traffic> - Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
- Url
This property is required. string - From RouteStatus. URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
- Conditions
This property is required. []GetService Status Condition - Array of observed Service Conditions, indicating the current ready state of the service.
- Latest
Created Revision Name This property is required. string - From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.
- Latest
Ready Revision Name This property is required. string - From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision stamped out from this Service's Configuration that has had its "Ready" condition become "True".
- Observed
Generation This property is required. int ObservedGeneration is the 'Generation' of the Route that was last processed by the controller.
Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.
- Traffics
This property is required. []GetService Status Traffic - Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
- Url
This property is required. string - From RouteStatus. URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
- conditions
This property is required. List<GetService Status Condition> - Array of observed Service Conditions, indicating the current ready state of the service.
- latest
Created Revision Name This property is required. String - From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.
- latest
Ready Revision Name This property is required. String - From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision stamped out from this Service's Configuration that has had its "Ready" condition become "True".
- observed
Generation This property is required. Integer ObservedGeneration is the 'Generation' of the Route that was last processed by the controller.
Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.
- traffics
This property is required. List<GetService Status Traffic> - Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
- url
This property is required. String - From RouteStatus. URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
- conditions
This property is required. GetService Status Condition[] - Array of observed Service Conditions, indicating the current ready state of the service.
- latest
Created Revision Name This property is required. string - From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.
- latest
Ready Revision Name This property is required. string - From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision stamped out from this Service's Configuration that has had its "Ready" condition become "True".
- observed
Generation This property is required. number ObservedGeneration is the 'Generation' of the Route that was last processed by the controller.
Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.
- traffics
This property is required. GetService Status Traffic[] - Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
- url
This property is required. string - From RouteStatus. URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
- conditions
This property is required. Sequence[GetService Status Condition] - Array of observed Service Conditions, indicating the current ready state of the service.
- latest_
created_ revision_ name This property is required. str - From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.
- latest_
ready_ revision_ name This property is required. str - From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision stamped out from this Service's Configuration that has had its "Ready" condition become "True".
- observed_
generation This property is required. int ObservedGeneration is the 'Generation' of the Route that was last processed by the controller.
Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.
- traffics
This property is required. Sequence[GetService Status Traffic] - Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
- url
This property is required. str - From RouteStatus. URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
- conditions
This property is required. List<Property Map> - Array of observed Service Conditions, indicating the current ready state of the service.
- latest
Created Revision Name This property is required. String - From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.
- latest
Ready Revision Name This property is required. String - From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision stamped out from this Service's Configuration that has had its "Ready" condition become "True".
- observed
Generation This property is required. Number ObservedGeneration is the 'Generation' of the Route that was last processed by the controller.
Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.
- traffics
This property is required. List<Property Map> - Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations
- url
This property is required. String - From RouteStatus. URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
GetServiceStatusCondition
- Message
This property is required. string - Human readable message indicating details about the current status.
- Reason
This property is required. string - One-word CamelCase reason for the condition's current status.
- Status
This property is required. string - Status of the condition, one of True, False, Unknown.
- Type
This property is required. string - Type of domain mapping condition.
- Message
This property is required. string - Human readable message indicating details about the current status.
- Reason
This property is required. string - One-word CamelCase reason for the condition's current status.
- Status
This property is required. string - Status of the condition, one of True, False, Unknown.
- Type
This property is required. string - Type of domain mapping condition.
- message
This property is required. String - Human readable message indicating details about the current status.
- reason
This property is required. String - One-word CamelCase reason for the condition's current status.
- status
This property is required. String - Status of the condition, one of True, False, Unknown.
- type
This property is required. String - Type of domain mapping condition.
- message
This property is required. string - Human readable message indicating details about the current status.
- reason
This property is required. string - One-word CamelCase reason for the condition's current status.
- status
This property is required. string - Status of the condition, one of True, False, Unknown.
- type
This property is required. string - Type of domain mapping condition.
- message
This property is required. str - Human readable message indicating details about the current status.
- reason
This property is required. str - One-word CamelCase reason for the condition's current status.
- status
This property is required. str - Status of the condition, one of True, False, Unknown.
- type
This property is required. str - Type of domain mapping condition.
- message
This property is required. String - Human readable message indicating details about the current status.
- reason
This property is required. String - One-word CamelCase reason for the condition's current status.
- status
This property is required. String - Status of the condition, one of True, False, Unknown.
- type
This property is required. String - Type of domain mapping condition.
GetServiceStatusTraffic
- Latest
Revision This property is required. bool - LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
- Percent
This property is required. int - Percent specifies percent of the traffic to this Revision or Configuration.
- Revision
Name This property is required. string - RevisionName of a specific revision to which to send this portion of traffic.
- Tag
This property is required. string - Tag is optionally used to expose a dedicated url for referencing this target exclusively.
- Url
This property is required. string - URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
- Latest
Revision This property is required. bool - LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
- Percent
This property is required. int - Percent specifies percent of the traffic to this Revision or Configuration.
- Revision
Name This property is required. string - RevisionName of a specific revision to which to send this portion of traffic.
- Tag
This property is required. string - Tag is optionally used to expose a dedicated url for referencing this target exclusively.
- Url
This property is required. string - URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
- latest
Revision This property is required. Boolean - LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
- percent
This property is required. Integer - Percent specifies percent of the traffic to this Revision or Configuration.
- revision
Name This property is required. String - RevisionName of a specific revision to which to send this portion of traffic.
- tag
This property is required. String - Tag is optionally used to expose a dedicated url for referencing this target exclusively.
- url
This property is required. String - URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
- latest
Revision This property is required. boolean - LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
- percent
This property is required. number - Percent specifies percent of the traffic to this Revision or Configuration.
- revision
Name This property is required. string - RevisionName of a specific revision to which to send this portion of traffic.
- tag
This property is required. string - Tag is optionally used to expose a dedicated url for referencing this target exclusively.
- url
This property is required. string - URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
- latest_
revision This property is required. bool - LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
- percent
This property is required. int - Percent specifies percent of the traffic to this Revision or Configuration.
- revision_
name This property is required. str - RevisionName of a specific revision to which to send this portion of traffic.
- tag
This property is required. str - Tag is optionally used to expose a dedicated url for referencing this target exclusively.
- url
This property is required. str - URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
- latest
Revision This property is required. Boolean - LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
- percent
This property is required. Number - Percent specifies percent of the traffic to this Revision or Configuration.
- revision
Name This property is required. String - RevisionName of a specific revision to which to send this portion of traffic.
- tag
This property is required. String - Tag is optionally used to expose a dedicated url for referencing this target exclusively.
- url
This property is required. String - URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
GetServiceTemplate
- Metadatas
This property is required. List<GetService Template Metadata> - Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. To set minimum instances for this revision, use the "autoscaling.knative.dev/minScale" annotation key. To set maximum instances for this revision, use the "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL connections for the revision, use the "run.googleapis.com/cloudsql-instances" annotation key.
- Specs
This property is required. List<GetService Template Spec> - RevisionSpec holds the desired state of the Revision (from the client).
- Metadatas
This property is required. []GetService Template Metadata - Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. To set minimum instances for this revision, use the "autoscaling.knative.dev/minScale" annotation key. To set maximum instances for this revision, use the "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL connections for the revision, use the "run.googleapis.com/cloudsql-instances" annotation key.
- Specs
This property is required. []GetService Template Spec - RevisionSpec holds the desired state of the Revision (from the client).
- metadatas
This property is required. List<GetService Template Metadata> - Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. To set minimum instances for this revision, use the "autoscaling.knative.dev/minScale" annotation key. To set maximum instances for this revision, use the "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL connections for the revision, use the "run.googleapis.com/cloudsql-instances" annotation key.
- specs
This property is required. List<GetService Template Spec> - RevisionSpec holds the desired state of the Revision (from the client).
- metadatas
This property is required. GetService Template Metadata[] - Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. To set minimum instances for this revision, use the "autoscaling.knative.dev/minScale" annotation key. To set maximum instances for this revision, use the "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL connections for the revision, use the "run.googleapis.com/cloudsql-instances" annotation key.
- specs
This property is required. GetService Template Spec[] - RevisionSpec holds the desired state of the Revision (from the client).
- metadatas
This property is required. Sequence[GetService Template Metadata] - Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. To set minimum instances for this revision, use the "autoscaling.knative.dev/minScale" annotation key. To set maximum instances for this revision, use the "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL connections for the revision, use the "run.googleapis.com/cloudsql-instances" annotation key.
- specs
This property is required. Sequence[GetService Template Spec] - RevisionSpec holds the desired state of the Revision (from the client).
- metadatas
This property is required. List<Property Map> - Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. To set minimum instances for this revision, use the "autoscaling.knative.dev/minScale" annotation key. To set maximum instances for this revision, use the "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL connections for the revision, use the "run.googleapis.com/cloudsql-instances" annotation key.
- specs
This property is required. List<Property Map> - RevisionSpec holds the desired state of the Revision (from the client).
GetServiceTemplateMetadata
- Annotations
This property is required. Dictionary<string, string> - Generation
This property is required. int - A sequence number representing a specific generation of the desired state.
- Labels
This property is required. Dictionary<string, string> - Map of string keys and values that can be used to organize and categorize (scope and select) objects.
- Name
This property is required. string - The name of the Cloud Run Service.
- Namespace
This property is required. string - In Cloud Run the namespace must be equal to either the project ID or project number. It will default to the resource's project.
- Resource
Version This property is required. string - An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
- Self
Link This property is required. string - SelfLink is a URL representing this object.
- Uid
This property is required. string - UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
- Annotations
This property is required. map[string]string - Generation
This property is required. int - A sequence number representing a specific generation of the desired state.
- Labels
This property is required. map[string]string - Map of string keys and values that can be used to organize and categorize (scope and select) objects.
- Name
This property is required. string - The name of the Cloud Run Service.
- Namespace
This property is required. string - In Cloud Run the namespace must be equal to either the project ID or project number. It will default to the resource's project.
- Resource
Version This property is required. string - An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
- Self
Link This property is required. string - SelfLink is a URL representing this object.
- Uid
This property is required. string - UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
- annotations
This property is required. Map<String,String> - generation
This property is required. Integer - A sequence number representing a specific generation of the desired state.
- labels
This property is required. Map<String,String> - Map of string keys and values that can be used to organize and categorize (scope and select) objects.
- name
This property is required. String - The name of the Cloud Run Service.
- namespace
This property is required. String - In Cloud Run the namespace must be equal to either the project ID or project number. It will default to the resource's project.
- resource
Version This property is required. String - An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
- self
Link This property is required. String - SelfLink is a URL representing this object.
- uid
This property is required. String - UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
- annotations
This property is required. {[key: string]: string} - generation
This property is required. number - A sequence number representing a specific generation of the desired state.
- labels
This property is required. {[key: string]: string} - Map of string keys and values that can be used to organize and categorize (scope and select) objects.
- name
This property is required. string - The name of the Cloud Run Service.
- namespace
This property is required. string - In Cloud Run the namespace must be equal to either the project ID or project number. It will default to the resource's project.
- resource
Version This property is required. string - An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
- self
Link This property is required. string - SelfLink is a URL representing this object.
- uid
This property is required. string - UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
- annotations
This property is required. Mapping[str, str] - generation
This property is required. int - A sequence number representing a specific generation of the desired state.
- labels
This property is required. Mapping[str, str] - Map of string keys and values that can be used to organize and categorize (scope and select) objects.
- name
This property is required. str - The name of the Cloud Run Service.
- namespace
This property is required. str - In Cloud Run the namespace must be equal to either the project ID or project number. It will default to the resource's project.
- resource_
version This property is required. str - An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
- self_
link This property is required. str - SelfLink is a URL representing this object.
- uid
This property is required. str - UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
- annotations
This property is required. Map<String> - generation
This property is required. Number - A sequence number representing a specific generation of the desired state.
- labels
This property is required. Map<String> - Map of string keys and values that can be used to organize and categorize (scope and select) objects.
- name
This property is required. String - The name of the Cloud Run Service.
- namespace
This property is required. String - In Cloud Run the namespace must be equal to either the project ID or project number. It will default to the resource's project.
- resource
Version This property is required. String - An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
- self
Link This property is required. String - SelfLink is a URL representing this object.
- uid
This property is required. String - UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
GetServiceTemplateSpec
- Container
Concurrency This property is required. int - ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- Containers
This property is required. List<GetService Template Spec Container> - Containers defines the unit of execution for this Revision.
- Node
Selector This property is required. Dictionary<string, string> - Node Selector describes the hardware requirements of the resources.
Use the following node selector keys to configure features on a Revision:
- 'run.googleapis.com/accelerator' sets the type of GPU required by the Revision to run.
- Service
Account Name This property is required. string - Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
- Serving
State This property is required. string - ServingState holds a value describing the state the resources are in for this Revision. It is expected that the system will manipulate this based on routability and load.
- Timeout
Seconds This property is required. int - TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
- Volumes
This property is required. List<GetService Template Spec Volume> - Volume represents a named volume in a container.
- Container
Concurrency This property is required. int - ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- Containers
This property is required. []GetService Template Spec Container - Containers defines the unit of execution for this Revision.
- Node
Selector This property is required. map[string]string - Node Selector describes the hardware requirements of the resources.
Use the following node selector keys to configure features on a Revision:
- 'run.googleapis.com/accelerator' sets the type of GPU required by the Revision to run.
- Service
Account Name This property is required. string - Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
- Serving
State This property is required. string - ServingState holds a value describing the state the resources are in for this Revision. It is expected that the system will manipulate this based on routability and load.
- Timeout
Seconds This property is required. int - TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
- Volumes
This property is required. []GetService Template Spec Volume - Volume represents a named volume in a container.
- container
Concurrency This property is required. Integer - ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- containers
This property is required. List<GetService Template Spec Container> - Containers defines the unit of execution for this Revision.
- node
Selector This property is required. Map<String,String> - Node Selector describes the hardware requirements of the resources.
Use the following node selector keys to configure features on a Revision:
- 'run.googleapis.com/accelerator' sets the type of GPU required by the Revision to run.
- service
Account Name This property is required. String - Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
- serving
State This property is required. String - ServingState holds a value describing the state the resources are in for this Revision. It is expected that the system will manipulate this based on routability and load.
- timeout
Seconds This property is required. Integer - TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
- volumes
This property is required. List<GetService Template Spec Volume> - Volume represents a named volume in a container.
- container
Concurrency This property is required. number - ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- containers
This property is required. GetService Template Spec Container[] - Containers defines the unit of execution for this Revision.
- node
Selector This property is required. {[key: string]: string} - Node Selector describes the hardware requirements of the resources.
Use the following node selector keys to configure features on a Revision:
- 'run.googleapis.com/accelerator' sets the type of GPU required by the Revision to run.
- service
Account Name This property is required. string - Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
- serving
State This property is required. string - ServingState holds a value describing the state the resources are in for this Revision. It is expected that the system will manipulate this based on routability and load.
- timeout
Seconds This property is required. number - TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
- volumes
This property is required. GetService Template Spec Volume[] - Volume represents a named volume in a container.
- container_
concurrency This property is required. int - ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- containers
This property is required. Sequence[GetService Template Spec Container] - Containers defines the unit of execution for this Revision.
- node_
selector This property is required. Mapping[str, str] - Node Selector describes the hardware requirements of the resources.
Use the following node selector keys to configure features on a Revision:
- 'run.googleapis.com/accelerator' sets the type of GPU required by the Revision to run.
- service_
account_ name This property is required. str - Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
- serving_
state This property is required. str - ServingState holds a value describing the state the resources are in for this Revision. It is expected that the system will manipulate this based on routability and load.
- timeout_
seconds This property is required. int - TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
- volumes
This property is required. Sequence[GetService Template Spec Volume] - Volume represents a named volume in a container.
- container
Concurrency This property is required. Number - ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
- containers
This property is required. List<Property Map> - Containers defines the unit of execution for this Revision.
- node
Selector This property is required. Map<String> - Node Selector describes the hardware requirements of the resources.
Use the following node selector keys to configure features on a Revision:
- 'run.googleapis.com/accelerator' sets the type of GPU required by the Revision to run.
- service
Account Name This property is required. String - Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
- serving
State This property is required. String - ServingState holds a value describing the state the resources are in for this Revision. It is expected that the system will manipulate this based on routability and load.
- timeout
Seconds This property is required. Number - TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
- volumes
This property is required. List<Property Map> - Volume represents a named volume in a container.
GetServiceTemplateSpecContainer
- Args
This property is required. List<string> - Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
- Commands
This property is required. List<string> - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
- Env
Froms This property is required. List<GetService Template Spec Container Env From> - List of sources to populate environment variables in the container. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence.
- Envs
This property is required. List<GetService Template Spec Container Env> - List of environment variables to set in the container.
- Image
This property is required. string - Docker image name. This is most often a reference to a container located in the container registry, such as gcr.io/cloudrun/hello
- Liveness
Probes This property is required. List<GetService Template Spec Container Liveness Probe> - Periodic probe of container liveness. Container will be restarted if the probe fails.
- Name
This property is required. string - The name of the Cloud Run Service.
- Ports
This property is required. List<GetService Template Spec Container Port> - List of open ports in the container.
- Resources
This property is required. List<GetService Template Spec Container Resource> - Compute Resources required by this container. Used to set values such as max memory
- Startup
Probes This property is required. List<GetService Template Spec Container Startup Probe> - Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
- Volume
Mounts This property is required. List<GetService Template Spec Container Volume Mount> - Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
- Working
Dir This property is required. string - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- Args
This property is required. []string - Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
- Commands
This property is required. []string - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
- Env
Froms This property is required. []GetService Template Spec Container Env From - List of sources to populate environment variables in the container. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence.
- Envs
This property is required. []GetService Template Spec Container Env - List of environment variables to set in the container.
- Image
This property is required. string - Docker image name. This is most often a reference to a container located in the container registry, such as gcr.io/cloudrun/hello
- Liveness
Probes This property is required. []GetService Template Spec Container Liveness Probe - Periodic probe of container liveness. Container will be restarted if the probe fails.
- Name
This property is required. string - The name of the Cloud Run Service.
- Ports
This property is required. []GetService Template Spec Container Port - List of open ports in the container.
- Resources
This property is required. []GetService Template Spec Container Resource - Compute Resources required by this container. Used to set values such as max memory
- Startup
Probes This property is required. []GetService Template Spec Container Startup Probe - Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
- Volume
Mounts This property is required. []GetService Template Spec Container Volume Mount - Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
- Working
Dir This property is required. string - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args
This property is required. List<String> - Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
- commands
This property is required. List<String> - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
- env
Froms This property is required. List<GetService Template Spec Container Env From> - List of sources to populate environment variables in the container. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence.
- envs
This property is required. List<GetService Template Spec Container Env> - List of environment variables to set in the container.
- image
This property is required. String - Docker image name. This is most often a reference to a container located in the container registry, such as gcr.io/cloudrun/hello
- liveness
Probes This property is required. List<GetService Template Spec Container Liveness Probe> - Periodic probe of container liveness. Container will be restarted if the probe fails.
- name
This property is required. String - The name of the Cloud Run Service.
- ports
This property is required. List<GetService Template Spec Container Port> - List of open ports in the container.
- resources
This property is required. List<GetService Template Spec Container Resource> - Compute Resources required by this container. Used to set values such as max memory
- startup
Probes This property is required. List<GetService Template Spec Container Startup Probe> - Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
- volume
Mounts This property is required. List<GetService Template Spec Container Volume Mount> - Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
- working
Dir This property is required. String - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args
This property is required. string[] - Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
- commands
This property is required. string[] - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
- env
Froms This property is required. GetService Template Spec Container Env From[] - List of sources to populate environment variables in the container. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence.
- envs
This property is required. GetService Template Spec Container Env[] - List of environment variables to set in the container.
- image
This property is required. string - Docker image name. This is most often a reference to a container located in the container registry, such as gcr.io/cloudrun/hello
- liveness
Probes This property is required. GetService Template Spec Container Liveness Probe[] - Periodic probe of container liveness. Container will be restarted if the probe fails.
- name
This property is required. string - The name of the Cloud Run Service.
- ports
This property is required. GetService Template Spec Container Port[] - List of open ports in the container.
- resources
This property is required. GetService Template Spec Container Resource[] - Compute Resources required by this container. Used to set values such as max memory
- startup
Probes This property is required. GetService Template Spec Container Startup Probe[] - Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
- volume
Mounts This property is required. GetService Template Spec Container Volume Mount[] - Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
- working
Dir This property is required. string - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args
This property is required. Sequence[str] - Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
- commands
This property is required. Sequence[str] - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
- env_
froms This property is required. Sequence[GetService Template Spec Container Env From] - List of sources to populate environment variables in the container. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence.
- envs
This property is required. Sequence[GetService Template Spec Container Env] - List of environment variables to set in the container.
- image
This property is required. str - Docker image name. This is most often a reference to a container located in the container registry, such as gcr.io/cloudrun/hello
- liveness_
probes This property is required. Sequence[GetService Template Spec Container Liveness Probe] - Periodic probe of container liveness. Container will be restarted if the probe fails.
- name
This property is required. str - The name of the Cloud Run Service.
- ports
This property is required. Sequence[GetService Template Spec Container Port] - List of open ports in the container.
- resources
This property is required. Sequence[GetService Template Spec Container Resource] - Compute Resources required by this container. Used to set values such as max memory
- startup_
probes This property is required. Sequence[GetService Template Spec Container Startup Probe] - Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
- volume_
mounts This property is required. Sequence[GetService Template Spec Container Volume Mount] - Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
- working_
dir This property is required. str - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
- args
This property is required. List<String> - Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
- commands
This property is required. List<String> - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
- env
Froms This property is required. List<Property Map> - List of sources to populate environment variables in the container. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence.
- envs
This property is required. List<Property Map> - List of environment variables to set in the container.
- image
This property is required. String - Docker image name. This is most often a reference to a container located in the container registry, such as gcr.io/cloudrun/hello
- liveness
Probes This property is required. List<Property Map> - Periodic probe of container liveness. Container will be restarted if the probe fails.
- name
This property is required. String - The name of the Cloud Run Service.
- ports
This property is required. List<Property Map> - List of open ports in the container.
- resources
This property is required. List<Property Map> - Compute Resources required by this container. Used to set values such as max memory
- startup
Probes This property is required. List<Property Map> - Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
- volume
Mounts This property is required. List<Property Map> - Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
- working
Dir This property is required. String - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
GetServiceTemplateSpecContainerEnv
- Name
This property is required. string - The name of the Cloud Run Service.
- Value
This property is required. string - Defaults to "".
- Value
Froms This property is required. List<GetService Template Spec Container Env Value From> - Source for the environment variable's value. Only supports secret_key_ref.
- Name
This property is required. string - The name of the Cloud Run Service.
- Value
This property is required. string - Defaults to "".
- Value
Froms This property is required. []GetService Template Spec Container Env Value From - Source for the environment variable's value. Only supports secret_key_ref.
- name
This property is required. String - The name of the Cloud Run Service.
- value
This property is required. String - Defaults to "".
- value
Froms This property is required. List<GetService Template Spec Container Env Value From> - Source for the environment variable's value. Only supports secret_key_ref.
- name
This property is required. string - The name of the Cloud Run Service.
- value
This property is required. string - Defaults to "".
- value
Froms This property is required. GetService Template Spec Container Env Value From[] - Source for the environment variable's value. Only supports secret_key_ref.
- name
This property is required. str - The name of the Cloud Run Service.
- value
This property is required. str - Defaults to "".
- value_
froms This property is required. Sequence[GetService Template Spec Container Env Value From] - Source for the environment variable's value. Only supports secret_key_ref.
- name
This property is required. String - The name of the Cloud Run Service.
- value
This property is required. String - Defaults to "".
- value
Froms This property is required. List<Property Map> - Source for the environment variable's value. Only supports secret_key_ref.
GetServiceTemplateSpecContainerEnvFrom
- Config
Map Reves This property is required. List<GetService Template Spec Container Env From Config Map Ref> - The ConfigMap to select from.
- Prefix
This property is required. string - An optional identifier to prepend to each key in the ConfigMap.
- Secret
Reves This property is required. List<GetService Template Spec Container Env From Secret Ref> - The Secret to select from.
- Config
Map Reves This property is required. []GetService Template Spec Container Env From Config Map Ref - The ConfigMap to select from.
- Prefix
This property is required. string - An optional identifier to prepend to each key in the ConfigMap.
- Secret
Reves This property is required. []GetService Template Spec Container Env From Secret Ref - The Secret to select from.
- config
Map Reves This property is required. List<GetService Template Spec Container Env From Config Map Ref> - The ConfigMap to select from.
- prefix
This property is required. String - An optional identifier to prepend to each key in the ConfigMap.
- secret
Reves This property is required. List<GetService Template Spec Container Env From Secret Ref> - The Secret to select from.
- config
Map Reves This property is required. GetService Template Spec Container Env From Config Map Ref[] - The ConfigMap to select from.
- prefix
This property is required. string - An optional identifier to prepend to each key in the ConfigMap.
- secret
Reves This property is required. GetService Template Spec Container Env From Secret Ref[] - The Secret to select from.
- config_
map_ reves This property is required. Sequence[GetService Template Spec Container Env From Config Map Ref] - The ConfigMap to select from.
- prefix
This property is required. str - An optional identifier to prepend to each key in the ConfigMap.
- secret_
reves This property is required. Sequence[GetService Template Spec Container Env From Secret Ref] - The Secret to select from.
- config
Map Reves This property is required. List<Property Map> - The ConfigMap to select from.
- prefix
This property is required. String - An optional identifier to prepend to each key in the ConfigMap.
- secret
Reves This property is required. List<Property Map> - The Secret to select from.
GetServiceTemplateSpecContainerEnvFromConfigMapRef
- Local
Object References This property is required. List<GetService Template Spec Container Env From Config Map Ref Local Object Reference> - The ConfigMap to select from.
- Optional
This property is required. bool - Specify whether the ConfigMap must be defined
- Local
Object References This property is required. []GetService Template Spec Container Env From Config Map Ref Local Object Reference - The ConfigMap to select from.
- Optional
This property is required. bool - Specify whether the ConfigMap must be defined
- local
Object References This property is required. List<GetService Template Spec Container Env From Config Map Ref Local Object Reference> - The ConfigMap to select from.
- optional
This property is required. Boolean - Specify whether the ConfigMap must be defined
- local
Object References This property is required. GetService Template Spec Container Env From Config Map Ref Local Object Reference[] - The ConfigMap to select from.
- optional
This property is required. boolean - Specify whether the ConfigMap must be defined
- local_
object_ references This property is required. Sequence[GetService Template Spec Container Env From Config Map Ref Local Object Reference] - The ConfigMap to select from.
- optional
This property is required. bool - Specify whether the ConfigMap must be defined
- local
Object References This property is required. List<Property Map> - The ConfigMap to select from.
- optional
This property is required. Boolean - Specify whether the ConfigMap must be defined
GetServiceTemplateSpecContainerEnvFromConfigMapRefLocalObjectReference
- Name
This property is required. string - The name of the Cloud Run Service.
- Name
This property is required. string - The name of the Cloud Run Service.
- name
This property is required. String - The name of the Cloud Run Service.
- name
This property is required. string - The name of the Cloud Run Service.
- name
This property is required. str - The name of the Cloud Run Service.
- name
This property is required. String - The name of the Cloud Run Service.
GetServiceTemplateSpecContainerEnvFromSecretRef
- Local
Object References This property is required. List<GetService Template Spec Container Env From Secret Ref Local Object Reference> - The Secret to select from.
- Optional
This property is required. bool - Specify whether the Secret must be defined
- Local
Object References This property is required. []GetService Template Spec Container Env From Secret Ref Local Object Reference - The Secret to select from.
- Optional
This property is required. bool - Specify whether the Secret must be defined
- local
Object References This property is required. List<GetService Template Spec Container Env From Secret Ref Local Object Reference> - The Secret to select from.
- optional
This property is required. Boolean - Specify whether the Secret must be defined
- local
Object References This property is required. GetService Template Spec Container Env From Secret Ref Local Object Reference[] - The Secret to select from.
- optional
This property is required. boolean - Specify whether the Secret must be defined
- local_
object_ references This property is required. Sequence[GetService Template Spec Container Env From Secret Ref Local Object Reference] - The Secret to select from.
- optional
This property is required. bool - Specify whether the Secret must be defined
- local
Object References This property is required. List<Property Map> - The Secret to select from.
- optional
This property is required. Boolean - Specify whether the Secret must be defined
GetServiceTemplateSpecContainerEnvFromSecretRefLocalObjectReference
- Name
This property is required. string - The name of the Cloud Run Service.
- Name
This property is required. string - The name of the Cloud Run Service.
- name
This property is required. String - The name of the Cloud Run Service.
- name
This property is required. string - The name of the Cloud Run Service.
- name
This property is required. str - The name of the Cloud Run Service.
- name
This property is required. String - The name of the Cloud Run Service.
GetServiceTemplateSpecContainerEnvValueFrom
- Secret
Key Reves This property is required. List<GetService Template Spec Container Env Value From Secret Key Ref> - Selects a key (version) of a secret in Secret Manager.
- Secret
Key Reves This property is required. []GetService Template Spec Container Env Value From Secret Key Ref - Selects a key (version) of a secret in Secret Manager.
- secret
Key Reves This property is required. List<GetService Template Spec Container Env Value From Secret Key Ref> - Selects a key (version) of a secret in Secret Manager.
- secret
Key Reves This property is required. GetService Template Spec Container Env Value From Secret Key Ref[] - Selects a key (version) of a secret in Secret Manager.
- secret_
key_ reves This property is required. Sequence[GetService Template Spec Container Env Value From Secret Key Ref] - Selects a key (version) of a secret in Secret Manager.
- secret
Key Reves This property is required. List<Property Map> - Selects a key (version) of a secret in Secret Manager.
GetServiceTemplateSpecContainerEnvValueFromSecretKeyRef
GetServiceTemplateSpecContainerLivenessProbe
- Failure
Threshold This property is required. int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- Grpcs
This property is required. List<GetService Template Spec Container Liveness Probe Grpc> - GRPC specifies an action involving a GRPC port.
- Http
Gets This property is required. List<GetService Template Spec Container Liveness Probe Http Get> - HttpGet specifies the http request to perform.
- Initial
Delay Seconds This property is required. int - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.
- Period
Seconds This property is required. int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
- Timeout
Seconds This property is required. int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
- Failure
Threshold This property is required. int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- Grpcs
This property is required. []GetService Template Spec Container Liveness Probe Grpc - GRPC specifies an action involving a GRPC port.
- Http
Gets This property is required. []GetService Template Spec Container Liveness Probe Http Get - HttpGet specifies the http request to perform.
- Initial
Delay Seconds This property is required. int - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.
- Period
Seconds This property is required. int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
- Timeout
Seconds This property is required. int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
- failure
Threshold This property is required. Integer - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. List<GetService Template Spec Container Liveness Probe Grpc> - GRPC specifies an action involving a GRPC port.
- http
Gets This property is required. List<GetService Template Spec Container Liveness Probe Http Get> - HttpGet specifies the http request to perform.
- initial
Delay Seconds This property is required. Integer - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.
- period
Seconds This property is required. Integer - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
- timeout
Seconds This property is required. Integer - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
- failure
Threshold This property is required. number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. GetService Template Spec Container Liveness Probe Grpc[] - GRPC specifies an action involving a GRPC port.
- http
Gets This property is required. GetService Template Spec Container Liveness Probe Http Get[] - HttpGet specifies the http request to perform.
- initial
Delay Seconds This property is required. number - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.
- period
Seconds This property is required. number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
- timeout
Seconds This property is required. number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
- failure_
threshold This property is required. int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. Sequence[GetService Template Spec Container Liveness Probe Grpc] - GRPC specifies an action involving a GRPC port.
- http_
gets This property is required. Sequence[GetService Template Spec Container Liveness Probe Http Get] - HttpGet specifies the http request to perform.
- initial_
delay_ seconds This property is required. int - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.
- period_
seconds This property is required. int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
- timeout_
seconds This property is required. int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
- failure
Threshold This property is required. Number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. List<Property Map> - GRPC specifies an action involving a GRPC port.
- http
Gets This property is required. List<Property Map> - HttpGet specifies the http request to perform.
- initial
Delay Seconds This property is required. Number - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.
- period
Seconds This property is required. Number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
- timeout
Seconds This property is required. Number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
GetServiceTemplateSpecContainerLivenessProbeGrpc
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Service
This property is required. string - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Service
This property is required. string - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. Integer - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. String - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. number - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. string - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. str - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. Number - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. String - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
GetServiceTemplateSpecContainerLivenessProbeHttpGet
- Http
Headers This property is required. List<GetService Template Spec Container Liveness Probe Http Get Http Header> - Custom headers to set in the request. HTTP allows repeated headers.
- Path
This property is required. string - Path to access on the HTTP server. If set, it should not be empty string.
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Http
Headers This property is required. []GetService Template Spec Container Liveness Probe Http Get Http Header - Custom headers to set in the request. HTTP allows repeated headers.
- Path
This property is required. string - Path to access on the HTTP server. If set, it should not be empty string.
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers This property is required. List<GetService Template Spec Container Liveness Probe Http Get Http Header> - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. String - Path to access on the HTTP server. If set, it should not be empty string.
- port
This property is required. Integer - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers This property is required. GetService Template Spec Container Liveness Probe Http Get Http Header[] - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. string - Path to access on the HTTP server. If set, it should not be empty string.
- port
This property is required. number - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http_
headers This property is required. Sequence[GetService Template Spec Container Liveness Probe Http Get Http Header] - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. str - Path to access on the HTTP server. If set, it should not be empty string.
- port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers This property is required. List<Property Map> - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. String - Path to access on the HTTP server. If set, it should not be empty string.
- port
This property is required. Number - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeader
GetServiceTemplateSpecContainerPort
- Container
Port This property is required. int - Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
- Name
This property is required. string - The name of the Cloud Run Service.
- Protocol
This property is required. string - Protocol for port. Must be "TCP". Defaults to "TCP".
- Container
Port This property is required. int - Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
- Name
This property is required. string - The name of the Cloud Run Service.
- Protocol
This property is required. string - Protocol for port. Must be "TCP". Defaults to "TCP".
- container
Port This property is required. Integer - Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
- name
This property is required. String - The name of the Cloud Run Service.
- protocol
This property is required. String - Protocol for port. Must be "TCP". Defaults to "TCP".
- container
Port This property is required. number - Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
- name
This property is required. string - The name of the Cloud Run Service.
- protocol
This property is required. string - Protocol for port. Must be "TCP". Defaults to "TCP".
- container_
port This property is required. int - Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
- name
This property is required. str - The name of the Cloud Run Service.
- protocol
This property is required. str - Protocol for port. Must be "TCP". Defaults to "TCP".
- container
Port This property is required. Number - Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
- name
This property is required. String - The name of the Cloud Run Service.
- protocol
This property is required. String - Protocol for port. Must be "TCP". Defaults to "TCP".
GetServiceTemplateSpecContainerResource
- Limits
This property is required. Dictionary<string, string> - Limits describes the maximum amount of compute resources allowed. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- Requests
This property is required. Dictionary<string, string> - Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- Limits
This property is required. map[string]string - Limits describes the maximum amount of compute resources allowed. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- Requests
This property is required. map[string]string - Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- limits
This property is required. Map<String,String> - Limits describes the maximum amount of compute resources allowed. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- requests
This property is required. Map<String,String> - Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- limits
This property is required. {[key: string]: string} - Limits describes the maximum amount of compute resources allowed. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- requests
This property is required. {[key: string]: string} - Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- limits
This property is required. Mapping[str, str] - Limits describes the maximum amount of compute resources allowed. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- requests
This property is required. Mapping[str, str] - Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- limits
This property is required. Map<String> - Limits describes the maximum amount of compute resources allowed. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
- requests
This property is required. Map<String> - Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
GetServiceTemplateSpecContainerStartupProbe
- Failure
Threshold This property is required. int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- Grpcs
This property is required. List<GetService Template Spec Container Startup Probe Grpc> - GRPC specifies an action involving a GRPC port.
- Http
Gets This property is required. List<GetService Template Spec Container Startup Probe Http Get> - HttpGet specifies the http request to perform.
- Initial
Delay Seconds This property is required. int - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
- Period
Seconds This property is required. int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- Tcp
Sockets This property is required. List<GetService Template Spec Container Startup Probe Tcp Socket> - TcpSocket specifies an action involving a TCP port.
- Timeout
Seconds This property is required. int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds.
- Failure
Threshold This property is required. int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- Grpcs
This property is required. []GetService Template Spec Container Startup Probe Grpc - GRPC specifies an action involving a GRPC port.
- Http
Gets This property is required. []GetService Template Spec Container Startup Probe Http Get - HttpGet specifies the http request to perform.
- Initial
Delay Seconds This property is required. int - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
- Period
Seconds This property is required. int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- Tcp
Sockets This property is required. []GetService Template Spec Container Startup Probe Tcp Socket - TcpSocket specifies an action involving a TCP port.
- Timeout
Seconds This property is required. int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds.
- failure
Threshold This property is required. Integer - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. List<GetService Template Spec Container Startup Probe Grpc> - GRPC specifies an action involving a GRPC port.
- http
Gets This property is required. List<GetService Template Spec Container Startup Probe Http Get> - HttpGet specifies the http request to perform.
- initial
Delay Seconds This property is required. Integer - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
- period
Seconds This property is required. Integer - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- tcp
Sockets This property is required. List<GetService Template Spec Container Startup Probe Tcp Socket> - TcpSocket specifies an action involving a TCP port.
- timeout
Seconds This property is required. Integer - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds.
- failure
Threshold This property is required. number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. GetService Template Spec Container Startup Probe Grpc[] - GRPC specifies an action involving a GRPC port.
- http
Gets This property is required. GetService Template Spec Container Startup Probe Http Get[] - HttpGet specifies the http request to perform.
- initial
Delay Seconds This property is required. number - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
- period
Seconds This property is required. number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- tcp
Sockets This property is required. GetService Template Spec Container Startup Probe Tcp Socket[] - TcpSocket specifies an action involving a TCP port.
- timeout
Seconds This property is required. number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds.
- failure_
threshold This property is required. int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. Sequence[GetService Template Spec Container Startup Probe Grpc] - GRPC specifies an action involving a GRPC port.
- http_
gets This property is required. Sequence[GetService Template Spec Container Startup Probe Http Get] - HttpGet specifies the http request to perform.
- initial_
delay_ seconds This property is required. int - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
- period_
seconds This property is required. int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- tcp_
sockets This property is required. Sequence[GetService Template Spec Container Startup Probe Tcp Socket] - TcpSocket specifies an action involving a TCP port.
- timeout_
seconds This property is required. int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds.
- failure
Threshold This property is required. Number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- grpcs
This property is required. List<Property Map> - GRPC specifies an action involving a GRPC port.
- http
Gets This property is required. List<Property Map> - HttpGet specifies the http request to perform.
- initial
Delay Seconds This property is required. Number - Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
- period
Seconds This property is required. Number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- tcp
Sockets This property is required. List<Property Map> - TcpSocket specifies an action involving a TCP port.
- timeout
Seconds This property is required. Number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds.
GetServiceTemplateSpecContainerStartupProbeGrpc
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Service
This property is required. string - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Service
This property is required. string - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. Integer - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. String - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. number - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. string - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. str - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
- port
This property is required. Number - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- service
This property is required. String - The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
GetServiceTemplateSpecContainerStartupProbeHttpGet
- Http
Headers This property is required. List<GetService Template Spec Container Startup Probe Http Get Http Header> - Custom headers to set in the request. HTTP allows repeated headers.
- Path
This property is required. string - Path to access on the HTTP server. If set, it should not be empty string.
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Http
Headers This property is required. []GetService Template Spec Container Startup Probe Http Get Http Header - Custom headers to set in the request. HTTP allows repeated headers.
- Path
This property is required. string - Path to access on the HTTP server. If set, it should not be empty string.
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers This property is required. List<GetService Template Spec Container Startup Probe Http Get Http Header> - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. String - Path to access on the HTTP server. If set, it should not be empty string.
- port
This property is required. Integer - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers This property is required. GetService Template Spec Container Startup Probe Http Get Http Header[] - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. string - Path to access on the HTTP server. If set, it should not be empty string.
- port
This property is required. number - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http_
headers This property is required. Sequence[GetService Template Spec Container Startup Probe Http Get Http Header] - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. str - Path to access on the HTTP server. If set, it should not be empty string.
- port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- http
Headers This property is required. List<Property Map> - Custom headers to set in the request. HTTP allows repeated headers.
- path
This property is required. String - Path to access on the HTTP server. If set, it should not be empty string.
- port
This property is required. Number - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeader
GetServiceTemplateSpecContainerStartupProbeTcpSocket
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- Port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- port
This property is required. Integer - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- port
This property is required. number - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- port
This property is required. int - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
- port
This property is required. Number - Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
GetServiceTemplateSpecContainerVolumeMount
- mount_
path This property is required. str - Path within the container at which the volume should be mounted. Must not contain ':'.
- name
This property is required. str - The name of the Cloud Run Service.
GetServiceTemplateSpecVolume
- Csis
This property is required. List<GetService Template Spec Volume Csi> - A filesystem specified by the Container Storage Interface (CSI).
- Empty
Dirs This property is required. List<GetService Template Spec Volume Empty Dir> - Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
- Name
This property is required. string - The name of the Cloud Run Service.
- Nfs
This property is required. List<GetService Template Spec Volume Nf> - A filesystem backed by a Network File System share. This filesystem requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
- Secrets
This property is required. List<GetService Template Spec Volume Secret> - The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name.
- Csis
This property is required. []GetService Template Spec Volume Csi - A filesystem specified by the Container Storage Interface (CSI).
- Empty
Dirs This property is required. []GetService Template Spec Volume Empty Dir - Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
- Name
This property is required. string - The name of the Cloud Run Service.
- Nfs
This property is required. []GetService Template Spec Volume Nf - A filesystem backed by a Network File System share. This filesystem requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
- Secrets
This property is required. []GetService Template Spec Volume Secret - The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name.
- csis
This property is required. List<GetService Template Spec Volume Csi> - A filesystem specified by the Container Storage Interface (CSI).
- empty
Dirs This property is required. List<GetService Template Spec Volume Empty Dir> - Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
- name
This property is required. String - The name of the Cloud Run Service.
- nfs
This property is required. List<GetService Template Spec Volume Nf> - A filesystem backed by a Network File System share. This filesystem requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
- secrets
This property is required. List<GetService Template Spec Volume Secret> - The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name.
- csis
This property is required. GetService Template Spec Volume Csi[] - A filesystem specified by the Container Storage Interface (CSI).
- empty
Dirs This property is required. GetService Template Spec Volume Empty Dir[] - Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
- name
This property is required. string - The name of the Cloud Run Service.
- nfs
This property is required. GetService Template Spec Volume Nf[] - A filesystem backed by a Network File System share. This filesystem requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
- secrets
This property is required. GetService Template Spec Volume Secret[] - The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name.
- csis
This property is required. Sequence[GetService Template Spec Volume Csi] - A filesystem specified by the Container Storage Interface (CSI).
- empty_
dirs This property is required. Sequence[GetService Template Spec Volume Empty Dir] - Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
- name
This property is required. str - The name of the Cloud Run Service.
- nfs
This property is required. Sequence[GetService Template Spec Volume Nf] - A filesystem backed by a Network File System share. This filesystem requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
- secrets
This property is required. Sequence[GetService Template Spec Volume Secret] - The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name.
- csis
This property is required. List<Property Map> - A filesystem specified by the Container Storage Interface (CSI).
- empty
Dirs This property is required. List<Property Map> - Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
- name
This property is required. String - The name of the Cloud Run Service.
- nfs
This property is required. List<Property Map> - A filesystem backed by a Network File System share. This filesystem requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
- secrets
This property is required. List<Property Map> - The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name.
GetServiceTemplateSpecVolumeCsi
- Driver
This property is required. string - Unique name representing the type of file system to be created. Cloud Run supports the following values:
- gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
- Read
Only This property is required. bool - If true, all mounts created from this volume will be read-only.
- Volume
Attributes This property is required. Dictionary<string, string> - Driver-specific attributes. The following options are supported for available drivers:
- gcsfuse.run.googleapis.com
- bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket.
- gcsfuse.run.googleapis.com
- Driver
This property is required. string - Unique name representing the type of file system to be created. Cloud Run supports the following values:
- gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
- Read
Only This property is required. bool - If true, all mounts created from this volume will be read-only.
- Volume
Attributes This property is required. map[string]string - Driver-specific attributes. The following options are supported for available drivers:
- gcsfuse.run.googleapis.com
- bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket.
- gcsfuse.run.googleapis.com
- driver
This property is required. String - Unique name representing the type of file system to be created. Cloud Run supports the following values:
- gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
- read
Only This property is required. Boolean - If true, all mounts created from this volume will be read-only.
- volume
Attributes This property is required. Map<String,String> - Driver-specific attributes. The following options are supported for available drivers:
- gcsfuse.run.googleapis.com
- bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket.
- gcsfuse.run.googleapis.com
- driver
This property is required. string - Unique name representing the type of file system to be created. Cloud Run supports the following values:
- gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
- read
Only This property is required. boolean - If true, all mounts created from this volume will be read-only.
- volume
Attributes This property is required. {[key: string]: string} - Driver-specific attributes. The following options are supported for available drivers:
- gcsfuse.run.googleapis.com
- bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket.
- gcsfuse.run.googleapis.com
- driver
This property is required. str - Unique name representing the type of file system to be created. Cloud Run supports the following values:
- gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
- read_
only This property is required. bool - If true, all mounts created from this volume will be read-only.
- volume_
attributes This property is required. Mapping[str, str] - Driver-specific attributes. The following options are supported for available drivers:
- gcsfuse.run.googleapis.com
- bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket.
- gcsfuse.run.googleapis.com
- driver
This property is required. String - Unique name representing the type of file system to be created. Cloud Run supports the following values:
- gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the run.googleapis.com/execution-environment annotation to be unset or set to "gen2"
- read
Only This property is required. Boolean - If true, all mounts created from this volume will be read-only.
- volume
Attributes This property is required. Map<String> - Driver-specific attributes. The following options are supported for available drivers:
- gcsfuse.run.googleapis.com
- bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket.
- gcsfuse.run.googleapis.com
GetServiceTemplateSpecVolumeEmptyDir
- Medium
This property is required. string - The medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory.
- Size
Limit This property is required. string - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- Medium
This property is required. string - The medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory.
- Size
Limit This property is required. string - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium
This property is required. String - The medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory.
- size
Limit This property is required. String - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium
This property is required. string - The medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory.
- size
Limit This property is required. string - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium
This property is required. str - The medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory.
- size_
limit This property is required. str - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
- medium
This property is required. String - The medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory.
- size
Limit This property is required. String - Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
GetServiceTemplateSpecVolumeNf
GetServiceTemplateSpecVolumeSecret
- Default
Mode This property is required. int - Mode bits to use on created files by default. Must be a value between 0000 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Items
This property is required. List<GetService Template Spec Volume Secret Item> - If unspecified, the volume will expose a file whose name is the secret_name. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a key and a path.
- Secret
Name This property is required. string - The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: {alias}:projects/{project-id|project-number}/secrets/{secret-name}. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation.
- Default
Mode This property is required. int - Mode bits to use on created files by default. Must be a value between 0000 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Items
This property is required. []GetService Template Spec Volume Secret Item - If unspecified, the volume will expose a file whose name is the secret_name. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a key and a path.
- Secret
Name This property is required. string - The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: {alias}:projects/{project-id|project-number}/secrets/{secret-name}. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation.
- default
Mode This property is required. Integer - Mode bits to use on created files by default. Must be a value between 0000 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items
This property is required. List<GetService Template Spec Volume Secret Item> - If unspecified, the volume will expose a file whose name is the secret_name. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a key and a path.
- secret
Name This property is required. String - The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: {alias}:projects/{project-id|project-number}/secrets/{secret-name}. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation.
- default
Mode This property is required. number - Mode bits to use on created files by default. Must be a value between 0000 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items
This property is required. GetService Template Spec Volume Secret Item[] - If unspecified, the volume will expose a file whose name is the secret_name. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a key and a path.
- secret
Name This property is required. string - The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: {alias}:projects/{project-id|project-number}/secrets/{secret-name}. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation.
- default_
mode This property is required. int - Mode bits to use on created files by default. Must be a value between 0000 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items
This property is required. Sequence[GetService Template Spec Volume Secret Item] - If unspecified, the volume will expose a file whose name is the secret_name. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a key and a path.
- secret_
name This property is required. str - The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: {alias}:projects/{project-id|project-number}/secrets/{secret-name}. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation.
- default
Mode This property is required. Number - Mode bits to use on created files by default. Must be a value between 0000 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items
This property is required. List<Property Map> - If unspecified, the volume will expose a file whose name is the secret_name. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a key and a path.
- secret
Name This property is required. String - The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: {alias}:projects/{project-id|project-number}/secrets/{secret-name}. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation.
GetServiceTemplateSpecVolumeSecretItem
- Key
This property is required. string - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- Mode
This property is required. int - Mode bits to use on this file, must be a value between 0000 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Path
This property is required. string - The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
- Key
This property is required. string - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- Mode
This property is required. int - Mode bits to use on this file, must be a value between 0000 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Path
This property is required. string - The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
- key
This property is required. String - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- mode
This property is required. Integer - Mode bits to use on this file, must be a value between 0000 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- path
This property is required. String - The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
- key
This property is required. string - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- mode
This property is required. number - Mode bits to use on this file, must be a value between 0000 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- path
This property is required. string - The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
- key
This property is required. str - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- mode
This property is required. int - Mode bits to use on this file, must be a value between 0000 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- path
This property is required. str - The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
- key
This property is required. String - The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
- mode
This property is required. Number - Mode bits to use on this file, must be a value between 0000 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- path
This property is required. String - The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
GetServiceTraffic
- Latest
Revision This property is required. bool - LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
- Percent
This property is required. int - Percent specifies percent of the traffic to this Revision or Configuration.
- Revision
Name This property is required. string - RevisionName of a specific revision to which to send this portion of traffic.
- Tag
This property is required. string - Tag is optionally used to expose a dedicated url for referencing this target exclusively.
- Url
This property is required. string - URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
- Latest
Revision This property is required. bool - LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
- Percent
This property is required. int - Percent specifies percent of the traffic to this Revision or Configuration.
- Revision
Name This property is required. string - RevisionName of a specific revision to which to send this portion of traffic.
- Tag
This property is required. string - Tag is optionally used to expose a dedicated url for referencing this target exclusively.
- Url
This property is required. string - URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
- latest
Revision This property is required. Boolean - LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
- percent
This property is required. Integer - Percent specifies percent of the traffic to this Revision or Configuration.
- revision
Name This property is required. String - RevisionName of a specific revision to which to send this portion of traffic.
- tag
This property is required. String - Tag is optionally used to expose a dedicated url for referencing this target exclusively.
- url
This property is required. String - URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
- latest
Revision This property is required. boolean - LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
- percent
This property is required. number - Percent specifies percent of the traffic to this Revision or Configuration.
- revision
Name This property is required. string - RevisionName of a specific revision to which to send this portion of traffic.
- tag
This property is required. string - Tag is optionally used to expose a dedicated url for referencing this target exclusively.
- url
This property is required. string - URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
- latest_
revision This property is required. bool - LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
- percent
This property is required. int - Percent specifies percent of the traffic to this Revision or Configuration.
- revision_
name This property is required. str - RevisionName of a specific revision to which to send this portion of traffic.
- tag
This property is required. str - Tag is optionally used to expose a dedicated url for referencing this target exclusively.
- url
This property is required. str - URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
- latest
Revision This property is required. Boolean - LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
- percent
This property is required. Number - Percent specifies percent of the traffic to this Revision or Configuration.
- revision
Name This property is required. String - RevisionName of a specific revision to which to send this portion of traffic.
- tag
This property is required. String - Tag is optionally used to expose a dedicated url for referencing this target exclusively.
- url
This property is required. String - URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.