gcp.appengine.FlexibleAppVersion
Explore with Pulumi AI
Flexible App Version resource to create a new version of flexible GAE Application. Based on Google Compute Engine, the App Engine flexible environment automatically scales your app up and down while also balancing the load. Learn about the differences between the standard environment and the flexible environment at https://cloud.google.com/appengine/docs/the-appengine-environments.
Note: The App Engine flexible environment service account uses the member ID
service-[YOUR_PROJECT_NUMBER]@gae-api-prod.google.com.iam.gserviceaccount.com
It should have the App Engine Flexible Environment Service Agent role, which will be applied when theappengineflex.googleapis.com
service is enabled.
To get more information about FlexibleAppVersion, see:
- API documentation
- How-to Guides
Example Usage
App Engine Flexible App Version
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const myProject = new gcp.organizations.Project("my_project", {
name: "appeng-flex",
projectId: "appeng-flex",
orgId: "123456789",
billingAccount: "000000-0000000-0000000-000000",
deletionPolicy: "DELETE",
});
const app = new gcp.appengine.Application("app", {
project: myProject.projectId,
locationId: "us-central",
});
const service = new gcp.projects.Service("service", {
project: myProject.projectId,
service: "appengineflex.googleapis.com",
disableDependentServices: false,
});
const customServiceAccount = new gcp.serviceaccount.Account("custom_service_account", {
project: service.project,
accountId: "my-account",
displayName: "Custom Service Account",
});
const gaeApi = new gcp.projects.IAMMember("gae_api", {
project: service.project,
role: "roles/compute.networkUser",
member: pulumi.interpolate`serviceAccount:${customServiceAccount.email}`,
});
const logsWriter = new gcp.projects.IAMMember("logs_writer", {
project: service.project,
role: "roles/logging.logWriter",
member: pulumi.interpolate`serviceAccount:${customServiceAccount.email}`,
});
const storageViewer = new gcp.projects.IAMMember("storage_viewer", {
project: service.project,
role: "roles/storage.objectViewer",
member: pulumi.interpolate`serviceAccount:${customServiceAccount.email}`,
});
const bucket = new gcp.storage.Bucket("bucket", {
project: myProject.projectId,
name: "appengine-static-content",
location: "US",
});
const object = new gcp.storage.BucketObject("object", {
name: "hello-world.zip",
bucket: bucket.name,
source: new pulumi.asset.FileAsset("./test-fixtures/hello-world.zip"),
});
const myappV1 = new gcp.appengine.FlexibleAppVersion("myapp_v1", {
versionId: "v1",
project: gaeApi.project,
service: "default",
runtime: "nodejs",
flexibleRuntimeSettings: {
operatingSystem: "ubuntu22",
runtimeVersion: "20",
},
entrypoint: {
shell: "node ./app.js",
},
deployment: {
zip: {
sourceUrl: pulumi.interpolate`https://storage.googleapis.com/${bucket.name}/${object.name}`,
},
},
livenessCheck: {
path: "/",
},
readinessCheck: {
path: "/",
},
envVariables: {
port: "8080",
},
handlers: [{
urlRegex: ".*\\/my-path\\/*",
securityLevel: "SECURE_ALWAYS",
login: "LOGIN_REQUIRED",
authFailAction: "AUTH_FAIL_ACTION_REDIRECT",
staticFiles: {
path: "my-other-path",
uploadPathRegex: ".*\\/my-path\\/*",
},
}],
automaticScaling: {
coolDownPeriod: "120s",
cpuUtilization: {
targetUtilization: 0.5,
},
},
noopOnDestroy: true,
serviceAccount: customServiceAccount.email,
});
import pulumi
import pulumi_gcp as gcp
my_project = gcp.organizations.Project("my_project",
name="appeng-flex",
project_id="appeng-flex",
org_id="123456789",
billing_account="000000-0000000-0000000-000000",
deletion_policy="DELETE")
app = gcp.appengine.Application("app",
project=my_project.project_id,
location_id="us-central")
service = gcp.projects.Service("service",
project=my_project.project_id,
service="appengineflex.googleapis.com",
disable_dependent_services=False)
custom_service_account = gcp.serviceaccount.Account("custom_service_account",
project=service.project,
account_id="my-account",
display_name="Custom Service Account")
gae_api = gcp.projects.IAMMember("gae_api",
project=service.project,
role="roles/compute.networkUser",
member=custom_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
logs_writer = gcp.projects.IAMMember("logs_writer",
project=service.project,
role="roles/logging.logWriter",
member=custom_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
storage_viewer = gcp.projects.IAMMember("storage_viewer",
project=service.project,
role="roles/storage.objectViewer",
member=custom_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
bucket = gcp.storage.Bucket("bucket",
project=my_project.project_id,
name="appengine-static-content",
location="US")
object = gcp.storage.BucketObject("object",
name="hello-world.zip",
bucket=bucket.name,
source=pulumi.FileAsset("./test-fixtures/hello-world.zip"))
myapp_v1 = gcp.appengine.FlexibleAppVersion("myapp_v1",
version_id="v1",
project=gae_api.project,
service="default",
runtime="nodejs",
flexible_runtime_settings={
"operating_system": "ubuntu22",
"runtime_version": "20",
},
entrypoint={
"shell": "node ./app.js",
},
deployment={
"zip": {
"source_url": pulumi.Output.all(
bucketName=bucket.name,
objectName=object.name
).apply(lambda resolved_outputs: f"https://storage.googleapis.com/{resolved_outputs['bucketName']}/{resolved_outputs['objectName']}")
,
},
},
liveness_check={
"path": "/",
},
readiness_check={
"path": "/",
},
env_variables={
"port": "8080",
},
handlers=[{
"url_regex": ".*\\/my-path\\/*",
"security_level": "SECURE_ALWAYS",
"login": "LOGIN_REQUIRED",
"auth_fail_action": "AUTH_FAIL_ACTION_REDIRECT",
"static_files": {
"path": "my-other-path",
"upload_path_regex": ".*\\/my-path\\/*",
},
}],
automatic_scaling={
"cool_down_period": "120s",
"cpu_utilization": {
"target_utilization": 0.5,
},
},
noop_on_destroy=True,
service_account=custom_service_account.email)
package main
import (
"fmt"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/appengine"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/projects"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
myProject, err := organizations.NewProject(ctx, "my_project", &organizations.ProjectArgs{
Name: pulumi.String("appeng-flex"),
ProjectId: pulumi.String("appeng-flex"),
OrgId: pulumi.String("123456789"),
BillingAccount: pulumi.String("000000-0000000-0000000-000000"),
DeletionPolicy: pulumi.String("DELETE"),
})
if err != nil {
return err
}
_, err = appengine.NewApplication(ctx, "app", &appengine.ApplicationArgs{
Project: myProject.ProjectId,
LocationId: pulumi.String("us-central"),
})
if err != nil {
return err
}
service, err := projects.NewService(ctx, "service", &projects.ServiceArgs{
Project: myProject.ProjectId,
Service: pulumi.String("appengineflex.googleapis.com"),
DisableDependentServices: pulumi.Bool(false),
})
if err != nil {
return err
}
customServiceAccount, err := serviceaccount.NewAccount(ctx, "custom_service_account", &serviceaccount.AccountArgs{
Project: service.Project,
AccountId: pulumi.String("my-account"),
DisplayName: pulumi.String("Custom Service Account"),
})
if err != nil {
return err
}
gaeApi, err := projects.NewIAMMember(ctx, "gae_api", &projects.IAMMemberArgs{
Project: service.Project,
Role: pulumi.String("roles/compute.networkUser"),
Member: customServiceAccount.Email.ApplyT(func(email string) (string, error) {
return fmt.Sprintf("serviceAccount:%v", email), nil
}).(pulumi.StringOutput),
})
if err != nil {
return err
}
_, err = projects.NewIAMMember(ctx, "logs_writer", &projects.IAMMemberArgs{
Project: service.Project,
Role: pulumi.String("roles/logging.logWriter"),
Member: customServiceAccount.Email.ApplyT(func(email string) (string, error) {
return fmt.Sprintf("serviceAccount:%v", email), nil
}).(pulumi.StringOutput),
})
if err != nil {
return err
}
_, err = projects.NewIAMMember(ctx, "storage_viewer", &projects.IAMMemberArgs{
Project: service.Project,
Role: pulumi.String("roles/storage.objectViewer"),
Member: customServiceAccount.Email.ApplyT(func(email string) (string, error) {
return fmt.Sprintf("serviceAccount:%v", email), nil
}).(pulumi.StringOutput),
})
if err != nil {
return err
}
bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
Project: myProject.ProjectId,
Name: pulumi.String("appengine-static-content"),
Location: pulumi.String("US"),
})
if err != nil {
return err
}
object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{
Name: pulumi.String("hello-world.zip"),
Bucket: bucket.Name,
Source: pulumi.NewFileAsset("./test-fixtures/hello-world.zip"),
})
if err != nil {
return err
}
_, err = appengine.NewFlexibleAppVersion(ctx, "myapp_v1", &appengine.FlexibleAppVersionArgs{
VersionId: pulumi.String("v1"),
Project: gaeApi.Project,
Service: pulumi.String("default"),
Runtime: pulumi.String("nodejs"),
FlexibleRuntimeSettings: &appengine.FlexibleAppVersionFlexibleRuntimeSettingsArgs{
OperatingSystem: pulumi.String("ubuntu22"),
RuntimeVersion: pulumi.String("20"),
},
Entrypoint: &appengine.FlexibleAppVersionEntrypointArgs{
Shell: pulumi.String("node ./app.js"),
},
Deployment: &appengine.FlexibleAppVersionDeploymentArgs{
Zip: &appengine.FlexibleAppVersionDeploymentZipArgs{
SourceUrl: pulumi.All(bucket.Name, object.Name).ApplyT(func(_args []interface{}) (string, error) {
bucketName := _args[0].(string)
objectName := _args[1].(string)
return fmt.Sprintf("https://storage.googleapis.com/%v/%v", bucketName, objectName), nil
}).(pulumi.StringOutput),
},
},
LivenessCheck: &appengine.FlexibleAppVersionLivenessCheckArgs{
Path: pulumi.String("/"),
},
ReadinessCheck: &appengine.FlexibleAppVersionReadinessCheckArgs{
Path: pulumi.String("/"),
},
EnvVariables: pulumi.StringMap{
"port": pulumi.String("8080"),
},
Handlers: appengine.FlexibleAppVersionHandlerArray{
&appengine.FlexibleAppVersionHandlerArgs{
UrlRegex: pulumi.String(".*\\/my-path\\/*"),
SecurityLevel: pulumi.String("SECURE_ALWAYS"),
Login: pulumi.String("LOGIN_REQUIRED"),
AuthFailAction: pulumi.String("AUTH_FAIL_ACTION_REDIRECT"),
StaticFiles: &appengine.FlexibleAppVersionHandlerStaticFilesArgs{
Path: pulumi.String("my-other-path"),
UploadPathRegex: pulumi.String(".*\\/my-path\\/*"),
},
},
},
AutomaticScaling: &appengine.FlexibleAppVersionAutomaticScalingArgs{
CoolDownPeriod: pulumi.String("120s"),
CpuUtilization: &appengine.FlexibleAppVersionAutomaticScalingCpuUtilizationArgs{
TargetUtilization: pulumi.Float64(0.5),
},
},
NoopOnDestroy: pulumi.Bool(true),
ServiceAccount: customServiceAccount.Email,
})
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 myProject = new Gcp.Organizations.Project("my_project", new()
{
Name = "appeng-flex",
ProjectId = "appeng-flex",
OrgId = "123456789",
BillingAccount = "000000-0000000-0000000-000000",
DeletionPolicy = "DELETE",
});
var app = new Gcp.AppEngine.Application("app", new()
{
Project = myProject.ProjectId,
LocationId = "us-central",
});
var service = new Gcp.Projects.Service("service", new()
{
Project = myProject.ProjectId,
ServiceName = "appengineflex.googleapis.com",
DisableDependentServices = false,
});
var customServiceAccount = new Gcp.ServiceAccount.Account("custom_service_account", new()
{
Project = service.Project,
AccountId = "my-account",
DisplayName = "Custom Service Account",
});
var gaeApi = new Gcp.Projects.IAMMember("gae_api", new()
{
Project = service.Project,
Role = "roles/compute.networkUser",
Member = customServiceAccount.Email.Apply(email => $"serviceAccount:{email}"),
});
var logsWriter = new Gcp.Projects.IAMMember("logs_writer", new()
{
Project = service.Project,
Role = "roles/logging.logWriter",
Member = customServiceAccount.Email.Apply(email => $"serviceAccount:{email}"),
});
var storageViewer = new Gcp.Projects.IAMMember("storage_viewer", new()
{
Project = service.Project,
Role = "roles/storage.objectViewer",
Member = customServiceAccount.Email.Apply(email => $"serviceAccount:{email}"),
});
var bucket = new Gcp.Storage.Bucket("bucket", new()
{
Project = myProject.ProjectId,
Name = "appengine-static-content",
Location = "US",
});
var @object = new Gcp.Storage.BucketObject("object", new()
{
Name = "hello-world.zip",
Bucket = bucket.Name,
Source = new FileAsset("./test-fixtures/hello-world.zip"),
});
var myappV1 = new Gcp.AppEngine.FlexibleAppVersion("myapp_v1", new()
{
VersionId = "v1",
Project = gaeApi.Project,
Service = "default",
Runtime = "nodejs",
FlexibleRuntimeSettings = new Gcp.AppEngine.Inputs.FlexibleAppVersionFlexibleRuntimeSettingsArgs
{
OperatingSystem = "ubuntu22",
RuntimeVersion = "20",
},
Entrypoint = new Gcp.AppEngine.Inputs.FlexibleAppVersionEntrypointArgs
{
Shell = "node ./app.js",
},
Deployment = new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentArgs
{
Zip = new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentZipArgs
{
SourceUrl = Output.Tuple(bucket.Name, @object.Name).Apply(values =>
{
var bucketName = values.Item1;
var objectName = values.Item2;
return $"https://storage.googleapis.com/{bucketName}/{objectName}";
}),
},
},
LivenessCheck = new Gcp.AppEngine.Inputs.FlexibleAppVersionLivenessCheckArgs
{
Path = "/",
},
ReadinessCheck = new Gcp.AppEngine.Inputs.FlexibleAppVersionReadinessCheckArgs
{
Path = "/",
},
EnvVariables =
{
{ "port", "8080" },
},
Handlers = new[]
{
new Gcp.AppEngine.Inputs.FlexibleAppVersionHandlerArgs
{
UrlRegex = ".*\\/my-path\\/*",
SecurityLevel = "SECURE_ALWAYS",
Login = "LOGIN_REQUIRED",
AuthFailAction = "AUTH_FAIL_ACTION_REDIRECT",
StaticFiles = new Gcp.AppEngine.Inputs.FlexibleAppVersionHandlerStaticFilesArgs
{
Path = "my-other-path",
UploadPathRegex = ".*\\/my-path\\/*",
},
},
},
AutomaticScaling = new Gcp.AppEngine.Inputs.FlexibleAppVersionAutomaticScalingArgs
{
CoolDownPeriod = "120s",
CpuUtilization = new Gcp.AppEngine.Inputs.FlexibleAppVersionAutomaticScalingCpuUtilizationArgs
{
TargetUtilization = 0.5,
},
},
NoopOnDestroy = true,
ServiceAccount = customServiceAccount.Email,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.Project;
import com.pulumi.gcp.organizations.ProjectArgs;
import com.pulumi.gcp.appengine.Application;
import com.pulumi.gcp.appengine.ApplicationArgs;
import com.pulumi.gcp.projects.Service;
import com.pulumi.gcp.projects.ServiceArgs;
import com.pulumi.gcp.serviceaccount.Account;
import com.pulumi.gcp.serviceaccount.AccountArgs;
import com.pulumi.gcp.projects.IAMMember;
import com.pulumi.gcp.projects.IAMMemberArgs;
import com.pulumi.gcp.storage.Bucket;
import com.pulumi.gcp.storage.BucketArgs;
import com.pulumi.gcp.storage.BucketObject;
import com.pulumi.gcp.storage.BucketObjectArgs;
import com.pulumi.gcp.appengine.FlexibleAppVersion;
import com.pulumi.gcp.appengine.FlexibleAppVersionArgs;
import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionFlexibleRuntimeSettingsArgs;
import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionEntrypointArgs;
import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionDeploymentArgs;
import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionDeploymentZipArgs;
import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionLivenessCheckArgs;
import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionReadinessCheckArgs;
import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionHandlerArgs;
import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionHandlerStaticFilesArgs;
import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionAutomaticScalingArgs;
import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionAutomaticScalingCpuUtilizationArgs;
import com.pulumi.asset.FileAsset;
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) {
var myProject = new Project("myProject", ProjectArgs.builder()
.name("appeng-flex")
.projectId("appeng-flex")
.orgId("123456789")
.billingAccount("000000-0000000-0000000-000000")
.deletionPolicy("DELETE")
.build());
var app = new Application("app", ApplicationArgs.builder()
.project(myProject.projectId())
.locationId("us-central")
.build());
var service = new Service("service", ServiceArgs.builder()
.project(myProject.projectId())
.service("appengineflex.googleapis.com")
.disableDependentServices(false)
.build());
var customServiceAccount = new Account("customServiceAccount", AccountArgs.builder()
.project(service.project())
.accountId("my-account")
.displayName("Custom Service Account")
.build());
var gaeApi = new IAMMember("gaeApi", IAMMemberArgs.builder()
.project(service.project())
.role("roles/compute.networkUser")
.member(customServiceAccount.email().applyValue(email -> String.format("serviceAccount:%s", email)))
.build());
var logsWriter = new IAMMember("logsWriter", IAMMemberArgs.builder()
.project(service.project())
.role("roles/logging.logWriter")
.member(customServiceAccount.email().applyValue(email -> String.format("serviceAccount:%s", email)))
.build());
var storageViewer = new IAMMember("storageViewer", IAMMemberArgs.builder()
.project(service.project())
.role("roles/storage.objectViewer")
.member(customServiceAccount.email().applyValue(email -> String.format("serviceAccount:%s", email)))
.build());
var bucket = new Bucket("bucket", BucketArgs.builder()
.project(myProject.projectId())
.name("appengine-static-content")
.location("US")
.build());
var object = new BucketObject("object", BucketObjectArgs.builder()
.name("hello-world.zip")
.bucket(bucket.name())
.source(new FileAsset("./test-fixtures/hello-world.zip"))
.build());
var myappV1 = new FlexibleAppVersion("myappV1", FlexibleAppVersionArgs.builder()
.versionId("v1")
.project(gaeApi.project())
.service("default")
.runtime("nodejs")
.flexibleRuntimeSettings(FlexibleAppVersionFlexibleRuntimeSettingsArgs.builder()
.operatingSystem("ubuntu22")
.runtimeVersion("20")
.build())
.entrypoint(FlexibleAppVersionEntrypointArgs.builder()
.shell("node ./app.js")
.build())
.deployment(FlexibleAppVersionDeploymentArgs.builder()
.zip(FlexibleAppVersionDeploymentZipArgs.builder()
.sourceUrl(Output.tuple(bucket.name(), object.name()).applyValue(values -> {
var bucketName = values.t1;
var objectName = values.t2;
return String.format("https://storage.googleapis.com/%s/%s", bucketName,objectName);
}))
.build())
.build())
.livenessCheck(FlexibleAppVersionLivenessCheckArgs.builder()
.path("/")
.build())
.readinessCheck(FlexibleAppVersionReadinessCheckArgs.builder()
.path("/")
.build())
.envVariables(Map.of("port", "8080"))
.handlers(FlexibleAppVersionHandlerArgs.builder()
.urlRegex(".*\\/my-path\\/*")
.securityLevel("SECURE_ALWAYS")
.login("LOGIN_REQUIRED")
.authFailAction("AUTH_FAIL_ACTION_REDIRECT")
.staticFiles(FlexibleAppVersionHandlerStaticFilesArgs.builder()
.path("my-other-path")
.uploadPathRegex(".*\\/my-path\\/*")
.build())
.build())
.automaticScaling(FlexibleAppVersionAutomaticScalingArgs.builder()
.coolDownPeriod("120s")
.cpuUtilization(FlexibleAppVersionAutomaticScalingCpuUtilizationArgs.builder()
.targetUtilization(0.5)
.build())
.build())
.noopOnDestroy(true)
.serviceAccount(customServiceAccount.email())
.build());
}
}
resources:
myProject:
type: gcp:organizations:Project
name: my_project
properties:
name: appeng-flex
projectId: appeng-flex
orgId: '123456789'
billingAccount: 000000-0000000-0000000-000000
deletionPolicy: DELETE
app:
type: gcp:appengine:Application
properties:
project: ${myProject.projectId}
locationId: us-central
service:
type: gcp:projects:Service
properties:
project: ${myProject.projectId}
service: appengineflex.googleapis.com
disableDependentServices: false
customServiceAccount:
type: gcp:serviceaccount:Account
name: custom_service_account
properties:
project: ${service.project}
accountId: my-account
displayName: Custom Service Account
gaeApi:
type: gcp:projects:IAMMember
name: gae_api
properties:
project: ${service.project}
role: roles/compute.networkUser
member: serviceAccount:${customServiceAccount.email}
logsWriter:
type: gcp:projects:IAMMember
name: logs_writer
properties:
project: ${service.project}
role: roles/logging.logWriter
member: serviceAccount:${customServiceAccount.email}
storageViewer:
type: gcp:projects:IAMMember
name: storage_viewer
properties:
project: ${service.project}
role: roles/storage.objectViewer
member: serviceAccount:${customServiceAccount.email}
myappV1:
type: gcp:appengine:FlexibleAppVersion
name: myapp_v1
properties:
versionId: v1
project: ${gaeApi.project}
service: default
runtime: nodejs
flexibleRuntimeSettings:
operatingSystem: ubuntu22
runtimeVersion: '20'
entrypoint:
shell: node ./app.js
deployment:
zip:
sourceUrl: https://storage.googleapis.com/${bucket.name}/${object.name}
livenessCheck:
path: /
readinessCheck:
path: /
envVariables:
port: '8080'
handlers:
- urlRegex: .*\/my-path\/*
securityLevel: SECURE_ALWAYS
login: LOGIN_REQUIRED
authFailAction: AUTH_FAIL_ACTION_REDIRECT
staticFiles:
path: my-other-path
uploadPathRegex: .*\/my-path\/*
automaticScaling:
coolDownPeriod: 120s
cpuUtilization:
targetUtilization: 0.5
noopOnDestroy: true
serviceAccount: ${customServiceAccount.email}
bucket:
type: gcp:storage:Bucket
properties:
project: ${myProject.projectId}
name: appengine-static-content
location: US
object:
type: gcp:storage:BucketObject
properties:
name: hello-world.zip
bucket: ${bucket.name}
source:
fn::FileAsset: ./test-fixtures/hello-world.zip
Create FlexibleAppVersion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FlexibleAppVersion(name: string, args: FlexibleAppVersionArgs, opts?: CustomResourceOptions);
@overload
def FlexibleAppVersion(resource_name: str,
args: FlexibleAppVersionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FlexibleAppVersion(resource_name: str,
opts: Optional[ResourceOptions] = None,
liveness_check: Optional[FlexibleAppVersionLivenessCheckArgs] = None,
service: Optional[str] = None,
runtime: Optional[str] = None,
readiness_check: Optional[FlexibleAppVersionReadinessCheckArgs] = None,
entrypoint: Optional[FlexibleAppVersionEntrypointArgs] = None,
noop_on_destroy: Optional[bool] = None,
endpoints_api_service: Optional[FlexibleAppVersionEndpointsApiServiceArgs] = None,
api_config: Optional[FlexibleAppVersionApiConfigArgs] = None,
env_variables: Optional[Mapping[str, str]] = None,
flexible_runtime_settings: Optional[FlexibleAppVersionFlexibleRuntimeSettingsArgs] = None,
handlers: Optional[Sequence[FlexibleAppVersionHandlerArgs]] = None,
inbound_services: Optional[Sequence[str]] = None,
instance_class: Optional[str] = None,
delete_service_on_destroy: Optional[bool] = None,
manual_scaling: Optional[FlexibleAppVersionManualScalingArgs] = None,
network: Optional[FlexibleAppVersionNetworkArgs] = None,
nobuild_files_regex: Optional[str] = None,
deployment: Optional[FlexibleAppVersionDeploymentArgs] = None,
project: Optional[str] = None,
default_expiration: Optional[str] = None,
resources: Optional[FlexibleAppVersionResourcesArgs] = None,
beta_settings: Optional[Mapping[str, str]] = None,
runtime_api_version: Optional[str] = None,
runtime_channel: Optional[str] = None,
runtime_main_executable_path: Optional[str] = None,
automatic_scaling: Optional[FlexibleAppVersionAutomaticScalingArgs] = None,
service_account: Optional[str] = None,
serving_status: Optional[str] = None,
version_id: Optional[str] = None,
vpc_access_connector: Optional[FlexibleAppVersionVpcAccessConnectorArgs] = None)
func NewFlexibleAppVersion(ctx *Context, name string, args FlexibleAppVersionArgs, opts ...ResourceOption) (*FlexibleAppVersion, error)
public FlexibleAppVersion(string name, FlexibleAppVersionArgs args, CustomResourceOptions? opts = null)
public FlexibleAppVersion(String name, FlexibleAppVersionArgs args)
public FlexibleAppVersion(String name, FlexibleAppVersionArgs args, CustomResourceOptions options)
type: gcp:appengine:FlexibleAppVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FlexibleAppVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FlexibleAppVersionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FlexibleAppVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FlexibleAppVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FlexibleAppVersionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var flexibleAppVersionResource = new Gcp.AppEngine.FlexibleAppVersion("flexibleAppVersionResource", new()
{
LivenessCheck = new Gcp.AppEngine.Inputs.FlexibleAppVersionLivenessCheckArgs
{
Path = "string",
CheckInterval = "string",
FailureThreshold = 0,
Host = "string",
InitialDelay = "string",
SuccessThreshold = 0,
Timeout = "string",
},
Service = "string",
Runtime = "string",
ReadinessCheck = new Gcp.AppEngine.Inputs.FlexibleAppVersionReadinessCheckArgs
{
Path = "string",
AppStartTimeout = "string",
CheckInterval = "string",
FailureThreshold = 0,
Host = "string",
SuccessThreshold = 0,
Timeout = "string",
},
Entrypoint = new Gcp.AppEngine.Inputs.FlexibleAppVersionEntrypointArgs
{
Shell = "string",
},
NoopOnDestroy = false,
EndpointsApiService = new Gcp.AppEngine.Inputs.FlexibleAppVersionEndpointsApiServiceArgs
{
Name = "string",
ConfigId = "string",
DisableTraceSampling = false,
RolloutStrategy = "string",
},
ApiConfig = new Gcp.AppEngine.Inputs.FlexibleAppVersionApiConfigArgs
{
Script = "string",
AuthFailAction = "string",
Login = "string",
SecurityLevel = "string",
Url = "string",
},
EnvVariables =
{
{ "string", "string" },
},
FlexibleRuntimeSettings = new Gcp.AppEngine.Inputs.FlexibleAppVersionFlexibleRuntimeSettingsArgs
{
OperatingSystem = "string",
RuntimeVersion = "string",
},
Handlers = new[]
{
new Gcp.AppEngine.Inputs.FlexibleAppVersionHandlerArgs
{
AuthFailAction = "string",
Login = "string",
RedirectHttpResponseCode = "string",
Script = new Gcp.AppEngine.Inputs.FlexibleAppVersionHandlerScriptArgs
{
ScriptPath = "string",
},
SecurityLevel = "string",
StaticFiles = new Gcp.AppEngine.Inputs.FlexibleAppVersionHandlerStaticFilesArgs
{
ApplicationReadable = false,
Expiration = "string",
HttpHeaders =
{
{ "string", "string" },
},
MimeType = "string",
Path = "string",
RequireMatchingFile = false,
UploadPathRegex = "string",
},
UrlRegex = "string",
},
},
InboundServices = new[]
{
"string",
},
InstanceClass = "string",
DeleteServiceOnDestroy = false,
ManualScaling = new Gcp.AppEngine.Inputs.FlexibleAppVersionManualScalingArgs
{
Instances = 0,
},
Network = new Gcp.AppEngine.Inputs.FlexibleAppVersionNetworkArgs
{
Name = "string",
ForwardedPorts = new[]
{
"string",
},
InstanceIpMode = "string",
InstanceTag = "string",
SessionAffinity = false,
Subnetwork = "string",
},
NobuildFilesRegex = "string",
Deployment = new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentArgs
{
CloudBuildOptions = new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentCloudBuildOptionsArgs
{
AppYamlPath = "string",
CloudBuildTimeout = "string",
},
Container = new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentContainerArgs
{
Image = "string",
},
Files = new[]
{
new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentFileArgs
{
Name = "string",
SourceUrl = "string",
Sha1Sum = "string",
},
},
Zip = new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentZipArgs
{
SourceUrl = "string",
FilesCount = 0,
},
},
Project = "string",
DefaultExpiration = "string",
Resources = new Gcp.AppEngine.Inputs.FlexibleAppVersionResourcesArgs
{
Cpu = 0,
DiskGb = 0,
MemoryGb = 0,
Volumes = new[]
{
new Gcp.AppEngine.Inputs.FlexibleAppVersionResourcesVolumeArgs
{
Name = "string",
SizeGb = 0,
VolumeType = "string",
},
},
},
BetaSettings =
{
{ "string", "string" },
},
RuntimeApiVersion = "string",
RuntimeChannel = "string",
RuntimeMainExecutablePath = "string",
AutomaticScaling = new Gcp.AppEngine.Inputs.FlexibleAppVersionAutomaticScalingArgs
{
CpuUtilization = new Gcp.AppEngine.Inputs.FlexibleAppVersionAutomaticScalingCpuUtilizationArgs
{
TargetUtilization = 0,
AggregationWindowLength = "string",
},
CoolDownPeriod = "string",
DiskUtilization = new Gcp.AppEngine.Inputs.FlexibleAppVersionAutomaticScalingDiskUtilizationArgs
{
TargetReadBytesPerSecond = 0,
TargetReadOpsPerSecond = 0,
TargetWriteBytesPerSecond = 0,
TargetWriteOpsPerSecond = 0,
},
MaxConcurrentRequests = 0,
MaxIdleInstances = 0,
MaxPendingLatency = "string",
MaxTotalInstances = 0,
MinIdleInstances = 0,
MinPendingLatency = "string",
MinTotalInstances = 0,
NetworkUtilization = new Gcp.AppEngine.Inputs.FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs
{
TargetReceivedBytesPerSecond = 0,
TargetReceivedPacketsPerSecond = 0,
TargetSentBytesPerSecond = 0,
TargetSentPacketsPerSecond = 0,
},
RequestUtilization = new Gcp.AppEngine.Inputs.FlexibleAppVersionAutomaticScalingRequestUtilizationArgs
{
TargetConcurrentRequests = 0,
TargetRequestCountPerSecond = "string",
},
},
ServiceAccount = "string",
ServingStatus = "string",
VersionId = "string",
VpcAccessConnector = new Gcp.AppEngine.Inputs.FlexibleAppVersionVpcAccessConnectorArgs
{
Name = "string",
},
});
example, err := appengine.NewFlexibleAppVersion(ctx, "flexibleAppVersionResource", &appengine.FlexibleAppVersionArgs{
LivenessCheck: &appengine.FlexibleAppVersionLivenessCheckArgs{
Path: pulumi.String("string"),
CheckInterval: pulumi.String("string"),
FailureThreshold: pulumi.Float64(0),
Host: pulumi.String("string"),
InitialDelay: pulumi.String("string"),
SuccessThreshold: pulumi.Float64(0),
Timeout: pulumi.String("string"),
},
Service: pulumi.String("string"),
Runtime: pulumi.String("string"),
ReadinessCheck: &appengine.FlexibleAppVersionReadinessCheckArgs{
Path: pulumi.String("string"),
AppStartTimeout: pulumi.String("string"),
CheckInterval: pulumi.String("string"),
FailureThreshold: pulumi.Float64(0),
Host: pulumi.String("string"),
SuccessThreshold: pulumi.Float64(0),
Timeout: pulumi.String("string"),
},
Entrypoint: &appengine.FlexibleAppVersionEntrypointArgs{
Shell: pulumi.String("string"),
},
NoopOnDestroy: pulumi.Bool(false),
EndpointsApiService: &appengine.FlexibleAppVersionEndpointsApiServiceArgs{
Name: pulumi.String("string"),
ConfigId: pulumi.String("string"),
DisableTraceSampling: pulumi.Bool(false),
RolloutStrategy: pulumi.String("string"),
},
ApiConfig: &appengine.FlexibleAppVersionApiConfigArgs{
Script: pulumi.String("string"),
AuthFailAction: pulumi.String("string"),
Login: pulumi.String("string"),
SecurityLevel: pulumi.String("string"),
Url: pulumi.String("string"),
},
EnvVariables: pulumi.StringMap{
"string": pulumi.String("string"),
},
FlexibleRuntimeSettings: &appengine.FlexibleAppVersionFlexibleRuntimeSettingsArgs{
OperatingSystem: pulumi.String("string"),
RuntimeVersion: pulumi.String("string"),
},
Handlers: appengine.FlexibleAppVersionHandlerArray{
&appengine.FlexibleAppVersionHandlerArgs{
AuthFailAction: pulumi.String("string"),
Login: pulumi.String("string"),
RedirectHttpResponseCode: pulumi.String("string"),
Script: &appengine.FlexibleAppVersionHandlerScriptArgs{
ScriptPath: pulumi.String("string"),
},
SecurityLevel: pulumi.String("string"),
StaticFiles: &appengine.FlexibleAppVersionHandlerStaticFilesArgs{
ApplicationReadable: pulumi.Bool(false),
Expiration: pulumi.String("string"),
HttpHeaders: pulumi.StringMap{
"string": pulumi.String("string"),
},
MimeType: pulumi.String("string"),
Path: pulumi.String("string"),
RequireMatchingFile: pulumi.Bool(false),
UploadPathRegex: pulumi.String("string"),
},
UrlRegex: pulumi.String("string"),
},
},
InboundServices: pulumi.StringArray{
pulumi.String("string"),
},
InstanceClass: pulumi.String("string"),
DeleteServiceOnDestroy: pulumi.Bool(false),
ManualScaling: &appengine.FlexibleAppVersionManualScalingArgs{
Instances: pulumi.Int(0),
},
Network: &appengine.FlexibleAppVersionNetworkArgs{
Name: pulumi.String("string"),
ForwardedPorts: pulumi.StringArray{
pulumi.String("string"),
},
InstanceIpMode: pulumi.String("string"),
InstanceTag: pulumi.String("string"),
SessionAffinity: pulumi.Bool(false),
Subnetwork: pulumi.String("string"),
},
NobuildFilesRegex: pulumi.String("string"),
Deployment: &appengine.FlexibleAppVersionDeploymentArgs{
CloudBuildOptions: &appengine.FlexibleAppVersionDeploymentCloudBuildOptionsArgs{
AppYamlPath: pulumi.String("string"),
CloudBuildTimeout: pulumi.String("string"),
},
Container: &appengine.FlexibleAppVersionDeploymentContainerArgs{
Image: pulumi.String("string"),
},
Files: appengine.FlexibleAppVersionDeploymentFileArray{
&appengine.FlexibleAppVersionDeploymentFileArgs{
Name: pulumi.String("string"),
SourceUrl: pulumi.String("string"),
Sha1Sum: pulumi.String("string"),
},
},
Zip: &appengine.FlexibleAppVersionDeploymentZipArgs{
SourceUrl: pulumi.String("string"),
FilesCount: pulumi.Int(0),
},
},
Project: pulumi.String("string"),
DefaultExpiration: pulumi.String("string"),
Resources: &appengine.FlexibleAppVersionResourcesArgs{
Cpu: pulumi.Int(0),
DiskGb: pulumi.Int(0),
MemoryGb: pulumi.Float64(0),
Volumes: appengine.FlexibleAppVersionResourcesVolumeArray{
&appengine.FlexibleAppVersionResourcesVolumeArgs{
Name: pulumi.String("string"),
SizeGb: pulumi.Int(0),
VolumeType: pulumi.String("string"),
},
},
},
BetaSettings: pulumi.StringMap{
"string": pulumi.String("string"),
},
RuntimeApiVersion: pulumi.String("string"),
RuntimeChannel: pulumi.String("string"),
RuntimeMainExecutablePath: pulumi.String("string"),
AutomaticScaling: &appengine.FlexibleAppVersionAutomaticScalingArgs{
CpuUtilization: &appengine.FlexibleAppVersionAutomaticScalingCpuUtilizationArgs{
TargetUtilization: pulumi.Float64(0),
AggregationWindowLength: pulumi.String("string"),
},
CoolDownPeriod: pulumi.String("string"),
DiskUtilization: &appengine.FlexibleAppVersionAutomaticScalingDiskUtilizationArgs{
TargetReadBytesPerSecond: pulumi.Int(0),
TargetReadOpsPerSecond: pulumi.Int(0),
TargetWriteBytesPerSecond: pulumi.Int(0),
TargetWriteOpsPerSecond: pulumi.Int(0),
},
MaxConcurrentRequests: pulumi.Int(0),
MaxIdleInstances: pulumi.Int(0),
MaxPendingLatency: pulumi.String("string"),
MaxTotalInstances: pulumi.Int(0),
MinIdleInstances: pulumi.Int(0),
MinPendingLatency: pulumi.String("string"),
MinTotalInstances: pulumi.Int(0),
NetworkUtilization: &appengine.FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs{
TargetReceivedBytesPerSecond: pulumi.Int(0),
TargetReceivedPacketsPerSecond: pulumi.Int(0),
TargetSentBytesPerSecond: pulumi.Int(0),
TargetSentPacketsPerSecond: pulumi.Int(0),
},
RequestUtilization: &appengine.FlexibleAppVersionAutomaticScalingRequestUtilizationArgs{
TargetConcurrentRequests: pulumi.Float64(0),
TargetRequestCountPerSecond: pulumi.String("string"),
},
},
ServiceAccount: pulumi.String("string"),
ServingStatus: pulumi.String("string"),
VersionId: pulumi.String("string"),
VpcAccessConnector: &appengine.FlexibleAppVersionVpcAccessConnectorArgs{
Name: pulumi.String("string"),
},
})
var flexibleAppVersionResource = new FlexibleAppVersion("flexibleAppVersionResource", FlexibleAppVersionArgs.builder()
.livenessCheck(FlexibleAppVersionLivenessCheckArgs.builder()
.path("string")
.checkInterval("string")
.failureThreshold(0)
.host("string")
.initialDelay("string")
.successThreshold(0)
.timeout("string")
.build())
.service("string")
.runtime("string")
.readinessCheck(FlexibleAppVersionReadinessCheckArgs.builder()
.path("string")
.appStartTimeout("string")
.checkInterval("string")
.failureThreshold(0)
.host("string")
.successThreshold(0)
.timeout("string")
.build())
.entrypoint(FlexibleAppVersionEntrypointArgs.builder()
.shell("string")
.build())
.noopOnDestroy(false)
.endpointsApiService(FlexibleAppVersionEndpointsApiServiceArgs.builder()
.name("string")
.configId("string")
.disableTraceSampling(false)
.rolloutStrategy("string")
.build())
.apiConfig(FlexibleAppVersionApiConfigArgs.builder()
.script("string")
.authFailAction("string")
.login("string")
.securityLevel("string")
.url("string")
.build())
.envVariables(Map.of("string", "string"))
.flexibleRuntimeSettings(FlexibleAppVersionFlexibleRuntimeSettingsArgs.builder()
.operatingSystem("string")
.runtimeVersion("string")
.build())
.handlers(FlexibleAppVersionHandlerArgs.builder()
.authFailAction("string")
.login("string")
.redirectHttpResponseCode("string")
.script(FlexibleAppVersionHandlerScriptArgs.builder()
.scriptPath("string")
.build())
.securityLevel("string")
.staticFiles(FlexibleAppVersionHandlerStaticFilesArgs.builder()
.applicationReadable(false)
.expiration("string")
.httpHeaders(Map.of("string", "string"))
.mimeType("string")
.path("string")
.requireMatchingFile(false)
.uploadPathRegex("string")
.build())
.urlRegex("string")
.build())
.inboundServices("string")
.instanceClass("string")
.deleteServiceOnDestroy(false)
.manualScaling(FlexibleAppVersionManualScalingArgs.builder()
.instances(0)
.build())
.network(FlexibleAppVersionNetworkArgs.builder()
.name("string")
.forwardedPorts("string")
.instanceIpMode("string")
.instanceTag("string")
.sessionAffinity(false)
.subnetwork("string")
.build())
.nobuildFilesRegex("string")
.deployment(FlexibleAppVersionDeploymentArgs.builder()
.cloudBuildOptions(FlexibleAppVersionDeploymentCloudBuildOptionsArgs.builder()
.appYamlPath("string")
.cloudBuildTimeout("string")
.build())
.container(FlexibleAppVersionDeploymentContainerArgs.builder()
.image("string")
.build())
.files(FlexibleAppVersionDeploymentFileArgs.builder()
.name("string")
.sourceUrl("string")
.sha1Sum("string")
.build())
.zip(FlexibleAppVersionDeploymentZipArgs.builder()
.sourceUrl("string")
.filesCount(0)
.build())
.build())
.project("string")
.defaultExpiration("string")
.resources(FlexibleAppVersionResourcesArgs.builder()
.cpu(0)
.diskGb(0)
.memoryGb(0)
.volumes(FlexibleAppVersionResourcesVolumeArgs.builder()
.name("string")
.sizeGb(0)
.volumeType("string")
.build())
.build())
.betaSettings(Map.of("string", "string"))
.runtimeApiVersion("string")
.runtimeChannel("string")
.runtimeMainExecutablePath("string")
.automaticScaling(FlexibleAppVersionAutomaticScalingArgs.builder()
.cpuUtilization(FlexibleAppVersionAutomaticScalingCpuUtilizationArgs.builder()
.targetUtilization(0)
.aggregationWindowLength("string")
.build())
.coolDownPeriod("string")
.diskUtilization(FlexibleAppVersionAutomaticScalingDiskUtilizationArgs.builder()
.targetReadBytesPerSecond(0)
.targetReadOpsPerSecond(0)
.targetWriteBytesPerSecond(0)
.targetWriteOpsPerSecond(0)
.build())
.maxConcurrentRequests(0)
.maxIdleInstances(0)
.maxPendingLatency("string")
.maxTotalInstances(0)
.minIdleInstances(0)
.minPendingLatency("string")
.minTotalInstances(0)
.networkUtilization(FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs.builder()
.targetReceivedBytesPerSecond(0)
.targetReceivedPacketsPerSecond(0)
.targetSentBytesPerSecond(0)
.targetSentPacketsPerSecond(0)
.build())
.requestUtilization(FlexibleAppVersionAutomaticScalingRequestUtilizationArgs.builder()
.targetConcurrentRequests(0)
.targetRequestCountPerSecond("string")
.build())
.build())
.serviceAccount("string")
.servingStatus("string")
.versionId("string")
.vpcAccessConnector(FlexibleAppVersionVpcAccessConnectorArgs.builder()
.name("string")
.build())
.build());
flexible_app_version_resource = gcp.appengine.FlexibleAppVersion("flexibleAppVersionResource",
liveness_check={
"path": "string",
"check_interval": "string",
"failure_threshold": 0,
"host": "string",
"initial_delay": "string",
"success_threshold": 0,
"timeout": "string",
},
service="string",
runtime="string",
readiness_check={
"path": "string",
"app_start_timeout": "string",
"check_interval": "string",
"failure_threshold": 0,
"host": "string",
"success_threshold": 0,
"timeout": "string",
},
entrypoint={
"shell": "string",
},
noop_on_destroy=False,
endpoints_api_service={
"name": "string",
"config_id": "string",
"disable_trace_sampling": False,
"rollout_strategy": "string",
},
api_config={
"script": "string",
"auth_fail_action": "string",
"login": "string",
"security_level": "string",
"url": "string",
},
env_variables={
"string": "string",
},
flexible_runtime_settings={
"operating_system": "string",
"runtime_version": "string",
},
handlers=[{
"auth_fail_action": "string",
"login": "string",
"redirect_http_response_code": "string",
"script": {
"script_path": "string",
},
"security_level": "string",
"static_files": {
"application_readable": False,
"expiration": "string",
"http_headers": {
"string": "string",
},
"mime_type": "string",
"path": "string",
"require_matching_file": False,
"upload_path_regex": "string",
},
"url_regex": "string",
}],
inbound_services=["string"],
instance_class="string",
delete_service_on_destroy=False,
manual_scaling={
"instances": 0,
},
network={
"name": "string",
"forwarded_ports": ["string"],
"instance_ip_mode": "string",
"instance_tag": "string",
"session_affinity": False,
"subnetwork": "string",
},
nobuild_files_regex="string",
deployment={
"cloud_build_options": {
"app_yaml_path": "string",
"cloud_build_timeout": "string",
},
"container": {
"image": "string",
},
"files": [{
"name": "string",
"source_url": "string",
"sha1_sum": "string",
}],
"zip": {
"source_url": "string",
"files_count": 0,
},
},
project="string",
default_expiration="string",
resources={
"cpu": 0,
"disk_gb": 0,
"memory_gb": 0,
"volumes": [{
"name": "string",
"size_gb": 0,
"volume_type": "string",
}],
},
beta_settings={
"string": "string",
},
runtime_api_version="string",
runtime_channel="string",
runtime_main_executable_path="string",
automatic_scaling={
"cpu_utilization": {
"target_utilization": 0,
"aggregation_window_length": "string",
},
"cool_down_period": "string",
"disk_utilization": {
"target_read_bytes_per_second": 0,
"target_read_ops_per_second": 0,
"target_write_bytes_per_second": 0,
"target_write_ops_per_second": 0,
},
"max_concurrent_requests": 0,
"max_idle_instances": 0,
"max_pending_latency": "string",
"max_total_instances": 0,
"min_idle_instances": 0,
"min_pending_latency": "string",
"min_total_instances": 0,
"network_utilization": {
"target_received_bytes_per_second": 0,
"target_received_packets_per_second": 0,
"target_sent_bytes_per_second": 0,
"target_sent_packets_per_second": 0,
},
"request_utilization": {
"target_concurrent_requests": 0,
"target_request_count_per_second": "string",
},
},
service_account="string",
serving_status="string",
version_id="string",
vpc_access_connector={
"name": "string",
})
const flexibleAppVersionResource = new gcp.appengine.FlexibleAppVersion("flexibleAppVersionResource", {
livenessCheck: {
path: "string",
checkInterval: "string",
failureThreshold: 0,
host: "string",
initialDelay: "string",
successThreshold: 0,
timeout: "string",
},
service: "string",
runtime: "string",
readinessCheck: {
path: "string",
appStartTimeout: "string",
checkInterval: "string",
failureThreshold: 0,
host: "string",
successThreshold: 0,
timeout: "string",
},
entrypoint: {
shell: "string",
},
noopOnDestroy: false,
endpointsApiService: {
name: "string",
configId: "string",
disableTraceSampling: false,
rolloutStrategy: "string",
},
apiConfig: {
script: "string",
authFailAction: "string",
login: "string",
securityLevel: "string",
url: "string",
},
envVariables: {
string: "string",
},
flexibleRuntimeSettings: {
operatingSystem: "string",
runtimeVersion: "string",
},
handlers: [{
authFailAction: "string",
login: "string",
redirectHttpResponseCode: "string",
script: {
scriptPath: "string",
},
securityLevel: "string",
staticFiles: {
applicationReadable: false,
expiration: "string",
httpHeaders: {
string: "string",
},
mimeType: "string",
path: "string",
requireMatchingFile: false,
uploadPathRegex: "string",
},
urlRegex: "string",
}],
inboundServices: ["string"],
instanceClass: "string",
deleteServiceOnDestroy: false,
manualScaling: {
instances: 0,
},
network: {
name: "string",
forwardedPorts: ["string"],
instanceIpMode: "string",
instanceTag: "string",
sessionAffinity: false,
subnetwork: "string",
},
nobuildFilesRegex: "string",
deployment: {
cloudBuildOptions: {
appYamlPath: "string",
cloudBuildTimeout: "string",
},
container: {
image: "string",
},
files: [{
name: "string",
sourceUrl: "string",
sha1Sum: "string",
}],
zip: {
sourceUrl: "string",
filesCount: 0,
},
},
project: "string",
defaultExpiration: "string",
resources: {
cpu: 0,
diskGb: 0,
memoryGb: 0,
volumes: [{
name: "string",
sizeGb: 0,
volumeType: "string",
}],
},
betaSettings: {
string: "string",
},
runtimeApiVersion: "string",
runtimeChannel: "string",
runtimeMainExecutablePath: "string",
automaticScaling: {
cpuUtilization: {
targetUtilization: 0,
aggregationWindowLength: "string",
},
coolDownPeriod: "string",
diskUtilization: {
targetReadBytesPerSecond: 0,
targetReadOpsPerSecond: 0,
targetWriteBytesPerSecond: 0,
targetWriteOpsPerSecond: 0,
},
maxConcurrentRequests: 0,
maxIdleInstances: 0,
maxPendingLatency: "string",
maxTotalInstances: 0,
minIdleInstances: 0,
minPendingLatency: "string",
minTotalInstances: 0,
networkUtilization: {
targetReceivedBytesPerSecond: 0,
targetReceivedPacketsPerSecond: 0,
targetSentBytesPerSecond: 0,
targetSentPacketsPerSecond: 0,
},
requestUtilization: {
targetConcurrentRequests: 0,
targetRequestCountPerSecond: "string",
},
},
serviceAccount: "string",
servingStatus: "string",
versionId: "string",
vpcAccessConnector: {
name: "string",
},
});
type: gcp:appengine:FlexibleAppVersion
properties:
apiConfig:
authFailAction: string
login: string
script: string
securityLevel: string
url: string
automaticScaling:
coolDownPeriod: string
cpuUtilization:
aggregationWindowLength: string
targetUtilization: 0
diskUtilization:
targetReadBytesPerSecond: 0
targetReadOpsPerSecond: 0
targetWriteBytesPerSecond: 0
targetWriteOpsPerSecond: 0
maxConcurrentRequests: 0
maxIdleInstances: 0
maxPendingLatency: string
maxTotalInstances: 0
minIdleInstances: 0
minPendingLatency: string
minTotalInstances: 0
networkUtilization:
targetReceivedBytesPerSecond: 0
targetReceivedPacketsPerSecond: 0
targetSentBytesPerSecond: 0
targetSentPacketsPerSecond: 0
requestUtilization:
targetConcurrentRequests: 0
targetRequestCountPerSecond: string
betaSettings:
string: string
defaultExpiration: string
deleteServiceOnDestroy: false
deployment:
cloudBuildOptions:
appYamlPath: string
cloudBuildTimeout: string
container:
image: string
files:
- name: string
sha1Sum: string
sourceUrl: string
zip:
filesCount: 0
sourceUrl: string
endpointsApiService:
configId: string
disableTraceSampling: false
name: string
rolloutStrategy: string
entrypoint:
shell: string
envVariables:
string: string
flexibleRuntimeSettings:
operatingSystem: string
runtimeVersion: string
handlers:
- authFailAction: string
login: string
redirectHttpResponseCode: string
script:
scriptPath: string
securityLevel: string
staticFiles:
applicationReadable: false
expiration: string
httpHeaders:
string: string
mimeType: string
path: string
requireMatchingFile: false
uploadPathRegex: string
urlRegex: string
inboundServices:
- string
instanceClass: string
livenessCheck:
checkInterval: string
failureThreshold: 0
host: string
initialDelay: string
path: string
successThreshold: 0
timeout: string
manualScaling:
instances: 0
network:
forwardedPorts:
- string
instanceIpMode: string
instanceTag: string
name: string
sessionAffinity: false
subnetwork: string
nobuildFilesRegex: string
noopOnDestroy: false
project: string
readinessCheck:
appStartTimeout: string
checkInterval: string
failureThreshold: 0
host: string
path: string
successThreshold: 0
timeout: string
resources:
cpu: 0
diskGb: 0
memoryGb: 0
volumes:
- name: string
sizeGb: 0
volumeType: string
runtime: string
runtimeApiVersion: string
runtimeChannel: string
runtimeMainExecutablePath: string
service: string
serviceAccount: string
servingStatus: string
versionId: string
vpcAccessConnector:
name: string
FlexibleAppVersion Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FlexibleAppVersion resource accepts the following input properties:
- Liveness
Check FlexibleApp Version Liveness Check - Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- Readiness
Check FlexibleApp Version Readiness Check - Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- Runtime string
- Desired runtime. Example python27.
- Service string
- AppEngine service resource. Can contain numbers, letters, and hyphens.
- Api
Config FlexibleApp Version Api Config - Serving configuration for Google Cloud Endpoints.
- Automatic
Scaling FlexibleApp Version Automatic Scaling - Automatic scaling is based on request rate, response latencies, and other application metrics.
- Beta
Settings Dictionary<string, string> - Metadata settings that are supplied to this version to enable beta runtime features.
- Default
Expiration string - Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
- Delete
Service boolOn Destroy - If set to 'true', the service will be deleted if it is the last version.
- Deployment
Flexible
App Version Deployment - Code and application artifacts that make up this version.
- Endpoints
Api FlexibleService App Version Endpoints Api Service - Code and application artifacts that make up this version.
- Entrypoint
Flexible
App Version Entrypoint - The entrypoint for the application.
- Env
Variables Dictionary<string, string> - Flexible
Runtime FlexibleSettings App Version Flexible Runtime Settings - Runtime settings for App Engine flexible environment.
- Handlers
List<Flexible
App Version Handler> - An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.
- Inbound
Services List<string> - A list of the types of messages that this application is able to receive. Possible values: ["INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", "INBOUND_SERVICE_XMPP_ERROR", "INBOUND_SERVICE_XMPP_MESSAGE", "INBOUND_SERVICE_XMPP_SUBSCRIBE", "INBOUND_SERVICE_XMPP_PRESENCE", "INBOUND_SERVICE_CHANNEL_PRESENCE", "INBOUND_SERVICE_WARMUP"]
- Instance
Class string - Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.
- Manual
Scaling FlexibleApp Version Manual Scaling - A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
- Network
Flexible
App Version Network - Extra network settings
- Nobuild
Files stringRegex - Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- Noop
On boolDestroy - If set to 'true', the application version will not be deleted.
- Project string
- Resources
Flexible
App Version Resources - Machine resources for a version.
- Runtime
Api stringVersion - The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at 'https://cloud.google.com/appengine/docs/standard//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
- Runtime
Channel string - The channel of the runtime to use. Only available for some runtimes.
- Runtime
Main stringExecutable Path - The path or name of the app's main executable.
- Service
Account string - The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
- Serving
Status string - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "STOPPED"]
- Version
Id string - Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".
- Vpc
Access FlexibleConnector App Version Vpc Access Connector - Enables VPC connectivity for standard apps.
- Liveness
Check FlexibleApp Version Liveness Check Args - Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- Readiness
Check FlexibleApp Version Readiness Check Args - Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- Runtime string
- Desired runtime. Example python27.
- Service string
- AppEngine service resource. Can contain numbers, letters, and hyphens.
- Api
Config FlexibleApp Version Api Config Args - Serving configuration for Google Cloud Endpoints.
- Automatic
Scaling FlexibleApp Version Automatic Scaling Args - Automatic scaling is based on request rate, response latencies, and other application metrics.
- Beta
Settings map[string]string - Metadata settings that are supplied to this version to enable beta runtime features.
- Default
Expiration string - Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
- Delete
Service boolOn Destroy - If set to 'true', the service will be deleted if it is the last version.
- Deployment
Flexible
App Version Deployment Args - Code and application artifacts that make up this version.
- Endpoints
Api FlexibleService App Version Endpoints Api Service Args - Code and application artifacts that make up this version.
- Entrypoint
Flexible
App Version Entrypoint Args - The entrypoint for the application.
- Env
Variables map[string]string - Flexible
Runtime FlexibleSettings App Version Flexible Runtime Settings Args - Runtime settings for App Engine flexible environment.
- Handlers
[]Flexible
App Version Handler Args - An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.
- Inbound
Services []string - A list of the types of messages that this application is able to receive. Possible values: ["INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", "INBOUND_SERVICE_XMPP_ERROR", "INBOUND_SERVICE_XMPP_MESSAGE", "INBOUND_SERVICE_XMPP_SUBSCRIBE", "INBOUND_SERVICE_XMPP_PRESENCE", "INBOUND_SERVICE_CHANNEL_PRESENCE", "INBOUND_SERVICE_WARMUP"]
- Instance
Class string - Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.
- Manual
Scaling FlexibleApp Version Manual Scaling Args - A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
- Network
Flexible
App Version Network Args - Extra network settings
- Nobuild
Files stringRegex - Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- Noop
On boolDestroy - If set to 'true', the application version will not be deleted.
- Project string
- Resources
Flexible
App Version Resources Args - Machine resources for a version.
- Runtime
Api stringVersion - The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at 'https://cloud.google.com/appengine/docs/standard//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
- Runtime
Channel string - The channel of the runtime to use. Only available for some runtimes.
- Runtime
Main stringExecutable Path - The path or name of the app's main executable.
- Service
Account string - The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
- Serving
Status string - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "STOPPED"]
- Version
Id string - Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".
- Vpc
Access FlexibleConnector App Version Vpc Access Connector Args - Enables VPC connectivity for standard apps.
- liveness
Check FlexibleApp Version Liveness Check - Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- readiness
Check FlexibleApp Version Readiness Check - Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- runtime String
- Desired runtime. Example python27.
- service String
- AppEngine service resource. Can contain numbers, letters, and hyphens.
- api
Config FlexibleApp Version Api Config - Serving configuration for Google Cloud Endpoints.
- automatic
Scaling FlexibleApp Version Automatic Scaling - Automatic scaling is based on request rate, response latencies, and other application metrics.
- beta
Settings Map<String,String> - Metadata settings that are supplied to this version to enable beta runtime features.
- default
Expiration String - Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
- delete
Service BooleanOn Destroy - If set to 'true', the service will be deleted if it is the last version.
- deployment
Flexible
App Version Deployment - Code and application artifacts that make up this version.
- endpoints
Api FlexibleService App Version Endpoints Api Service - Code and application artifacts that make up this version.
- entrypoint
Flexible
App Version Entrypoint - The entrypoint for the application.
- env
Variables Map<String,String> - flexible
Runtime FlexibleSettings App Version Flexible Runtime Settings - Runtime settings for App Engine flexible environment.
- handlers
List<Flexible
App Version Handler> - An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.
- inbound
Services List<String> - A list of the types of messages that this application is able to receive. Possible values: ["INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", "INBOUND_SERVICE_XMPP_ERROR", "INBOUND_SERVICE_XMPP_MESSAGE", "INBOUND_SERVICE_XMPP_SUBSCRIBE", "INBOUND_SERVICE_XMPP_PRESENCE", "INBOUND_SERVICE_CHANNEL_PRESENCE", "INBOUND_SERVICE_WARMUP"]
- instance
Class String - Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.
- manual
Scaling FlexibleApp Version Manual Scaling - A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
- network
Flexible
App Version Network - Extra network settings
- nobuild
Files StringRegex - Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop
On BooleanDestroy - If set to 'true', the application version will not be deleted.
- project String
- resources
Flexible
App Version Resources - Machine resources for a version.
- runtime
Api StringVersion - The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at 'https://cloud.google.com/appengine/docs/standard//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
- runtime
Channel String - The channel of the runtime to use. Only available for some runtimes.
- runtime
Main StringExecutable Path - The path or name of the app's main executable.
- service
Account String - The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
- serving
Status String - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "STOPPED"]
- version
Id String - Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".
- vpc
Access FlexibleConnector App Version Vpc Access Connector - Enables VPC connectivity for standard apps.
- liveness
Check FlexibleApp Version Liveness Check - Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- readiness
Check FlexibleApp Version Readiness Check - Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- runtime string
- Desired runtime. Example python27.
- service string
- AppEngine service resource. Can contain numbers, letters, and hyphens.
- api
Config FlexibleApp Version Api Config - Serving configuration for Google Cloud Endpoints.
- automatic
Scaling FlexibleApp Version Automatic Scaling - Automatic scaling is based on request rate, response latencies, and other application metrics.
- beta
Settings {[key: string]: string} - Metadata settings that are supplied to this version to enable beta runtime features.
- default
Expiration string - Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
- delete
Service booleanOn Destroy - If set to 'true', the service will be deleted if it is the last version.
- deployment
Flexible
App Version Deployment - Code and application artifacts that make up this version.
- endpoints
Api FlexibleService App Version Endpoints Api Service - Code and application artifacts that make up this version.
- entrypoint
Flexible
App Version Entrypoint - The entrypoint for the application.
- env
Variables {[key: string]: string} - flexible
Runtime FlexibleSettings App Version Flexible Runtime Settings - Runtime settings for App Engine flexible environment.
- handlers
Flexible
App Version Handler[] - An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.
- inbound
Services string[] - A list of the types of messages that this application is able to receive. Possible values: ["INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", "INBOUND_SERVICE_XMPP_ERROR", "INBOUND_SERVICE_XMPP_MESSAGE", "INBOUND_SERVICE_XMPP_SUBSCRIBE", "INBOUND_SERVICE_XMPP_PRESENCE", "INBOUND_SERVICE_CHANNEL_PRESENCE", "INBOUND_SERVICE_WARMUP"]
- instance
Class string - Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.
- manual
Scaling FlexibleApp Version Manual Scaling - A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
- network
Flexible
App Version Network - Extra network settings
- nobuild
Files stringRegex - Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop
On booleanDestroy - If set to 'true', the application version will not be deleted.
- project string
- resources
Flexible
App Version Resources - Machine resources for a version.
- runtime
Api stringVersion - The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at 'https://cloud.google.com/appengine/docs/standard//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
- runtime
Channel string - The channel of the runtime to use. Only available for some runtimes.
- runtime
Main stringExecutable Path - The path or name of the app's main executable.
- service
Account string - The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
- serving
Status string - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "STOPPED"]
- version
Id string - Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".
- vpc
Access FlexibleConnector App Version Vpc Access Connector - Enables VPC connectivity for standard apps.
- liveness_
check FlexibleApp Version Liveness Check Args - Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- readiness_
check FlexibleApp Version Readiness Check Args - Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- runtime str
- Desired runtime. Example python27.
- service str
- AppEngine service resource. Can contain numbers, letters, and hyphens.
- api_
config FlexibleApp Version Api Config Args - Serving configuration for Google Cloud Endpoints.
- automatic_
scaling FlexibleApp Version Automatic Scaling Args - Automatic scaling is based on request rate, response latencies, and other application metrics.
- beta_
settings Mapping[str, str] - Metadata settings that are supplied to this version to enable beta runtime features.
- default_
expiration str - Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
- delete_
service_ boolon_ destroy - If set to 'true', the service will be deleted if it is the last version.
- deployment
Flexible
App Version Deployment Args - Code and application artifacts that make up this version.
- endpoints_
api_ Flexibleservice App Version Endpoints Api Service Args - Code and application artifacts that make up this version.
- entrypoint
Flexible
App Version Entrypoint Args - The entrypoint for the application.
- env_
variables Mapping[str, str] - flexible_
runtime_ Flexiblesettings App Version Flexible Runtime Settings Args - Runtime settings for App Engine flexible environment.
- handlers
Sequence[Flexible
App Version Handler Args] - An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.
- inbound_
services Sequence[str] - A list of the types of messages that this application is able to receive. Possible values: ["INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", "INBOUND_SERVICE_XMPP_ERROR", "INBOUND_SERVICE_XMPP_MESSAGE", "INBOUND_SERVICE_XMPP_SUBSCRIBE", "INBOUND_SERVICE_XMPP_PRESENCE", "INBOUND_SERVICE_CHANNEL_PRESENCE", "INBOUND_SERVICE_WARMUP"]
- instance_
class str - Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.
- manual_
scaling FlexibleApp Version Manual Scaling Args - A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
- network
Flexible
App Version Network Args - Extra network settings
- nobuild_
files_ strregex - Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop_
on_ booldestroy - If set to 'true', the application version will not be deleted.
- project str
- resources
Flexible
App Version Resources Args - Machine resources for a version.
- runtime_
api_ strversion - The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at 'https://cloud.google.com/appengine/docs/standard//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
- runtime_
channel str - The channel of the runtime to use. Only available for some runtimes.
- runtime_
main_ strexecutable_ path - The path or name of the app's main executable.
- service_
account str - The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
- serving_
status str - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "STOPPED"]
- version_
id str - Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".
- vpc_
access_ Flexibleconnector App Version Vpc Access Connector Args - Enables VPC connectivity for standard apps.
- liveness
Check Property Map - Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- readiness
Check Property Map - Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- runtime String
- Desired runtime. Example python27.
- service String
- AppEngine service resource. Can contain numbers, letters, and hyphens.
- api
Config Property Map - Serving configuration for Google Cloud Endpoints.
- automatic
Scaling Property Map - Automatic scaling is based on request rate, response latencies, and other application metrics.
- beta
Settings Map<String> - Metadata settings that are supplied to this version to enable beta runtime features.
- default
Expiration String - Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
- delete
Service BooleanOn Destroy - If set to 'true', the service will be deleted if it is the last version.
- deployment Property Map
- Code and application artifacts that make up this version.
- endpoints
Api Property MapService - Code and application artifacts that make up this version.
- entrypoint Property Map
- The entrypoint for the application.
- env
Variables Map<String> - flexible
Runtime Property MapSettings - Runtime settings for App Engine flexible environment.
- handlers List<Property Map>
- An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.
- inbound
Services List<String> - A list of the types of messages that this application is able to receive. Possible values: ["INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", "INBOUND_SERVICE_XMPP_ERROR", "INBOUND_SERVICE_XMPP_MESSAGE", "INBOUND_SERVICE_XMPP_SUBSCRIBE", "INBOUND_SERVICE_XMPP_PRESENCE", "INBOUND_SERVICE_CHANNEL_PRESENCE", "INBOUND_SERVICE_WARMUP"]
- instance
Class String - Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.
- manual
Scaling Property Map - A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
- network Property Map
- Extra network settings
- nobuild
Files StringRegex - Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop
On BooleanDestroy - If set to 'true', the application version will not be deleted.
- project String
- resources Property Map
- Machine resources for a version.
- runtime
Api StringVersion - The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at 'https://cloud.google.com/appengine/docs/standard//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
- runtime
Channel String - The channel of the runtime to use. Only available for some runtimes.
- runtime
Main StringExecutable Path - The path or name of the app's main executable.
- service
Account String - The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
- serving
Status String - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "STOPPED"]
- version
Id String - Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".
- vpc
Access Property MapConnector - Enables VPC connectivity for standard apps.
Outputs
All input properties are implicitly available as output properties. Additionally, the FlexibleAppVersion resource produces the following output properties:
Look up Existing FlexibleAppVersion Resource
Get an existing FlexibleAppVersion resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FlexibleAppVersionState, opts?: CustomResourceOptions): FlexibleAppVersion
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_config: Optional[FlexibleAppVersionApiConfigArgs] = None,
automatic_scaling: Optional[FlexibleAppVersionAutomaticScalingArgs] = None,
beta_settings: Optional[Mapping[str, str]] = None,
default_expiration: Optional[str] = None,
delete_service_on_destroy: Optional[bool] = None,
deployment: Optional[FlexibleAppVersionDeploymentArgs] = None,
endpoints_api_service: Optional[FlexibleAppVersionEndpointsApiServiceArgs] = None,
entrypoint: Optional[FlexibleAppVersionEntrypointArgs] = None,
env_variables: Optional[Mapping[str, str]] = None,
flexible_runtime_settings: Optional[FlexibleAppVersionFlexibleRuntimeSettingsArgs] = None,
handlers: Optional[Sequence[FlexibleAppVersionHandlerArgs]] = None,
inbound_services: Optional[Sequence[str]] = None,
instance_class: Optional[str] = None,
liveness_check: Optional[FlexibleAppVersionLivenessCheckArgs] = None,
manual_scaling: Optional[FlexibleAppVersionManualScalingArgs] = None,
name: Optional[str] = None,
network: Optional[FlexibleAppVersionNetworkArgs] = None,
nobuild_files_regex: Optional[str] = None,
noop_on_destroy: Optional[bool] = None,
project: Optional[str] = None,
readiness_check: Optional[FlexibleAppVersionReadinessCheckArgs] = None,
resources: Optional[FlexibleAppVersionResourcesArgs] = None,
runtime: Optional[str] = None,
runtime_api_version: Optional[str] = None,
runtime_channel: Optional[str] = None,
runtime_main_executable_path: Optional[str] = None,
service: Optional[str] = None,
service_account: Optional[str] = None,
serving_status: Optional[str] = None,
version_id: Optional[str] = None,
vpc_access_connector: Optional[FlexibleAppVersionVpcAccessConnectorArgs] = None) -> FlexibleAppVersion
func GetFlexibleAppVersion(ctx *Context, name string, id IDInput, state *FlexibleAppVersionState, opts ...ResourceOption) (*FlexibleAppVersion, error)
public static FlexibleAppVersion Get(string name, Input<string> id, FlexibleAppVersionState? state, CustomResourceOptions? opts = null)
public static FlexibleAppVersion get(String name, Output<String> id, FlexibleAppVersionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Api
Config FlexibleApp Version Api Config - Serving configuration for Google Cloud Endpoints.
- Automatic
Scaling FlexibleApp Version Automatic Scaling - Automatic scaling is based on request rate, response latencies, and other application metrics.
- Beta
Settings Dictionary<string, string> - Metadata settings that are supplied to this version to enable beta runtime features.
- Default
Expiration string - Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
- Delete
Service boolOn Destroy - If set to 'true', the service will be deleted if it is the last version.
- Deployment
Flexible
App Version Deployment - Code and application artifacts that make up this version.
- Endpoints
Api FlexibleService App Version Endpoints Api Service - Code and application artifacts that make up this version.
- Entrypoint
Flexible
App Version Entrypoint - The entrypoint for the application.
- Env
Variables Dictionary<string, string> - Flexible
Runtime FlexibleSettings App Version Flexible Runtime Settings - Runtime settings for App Engine flexible environment.
- Handlers
List<Flexible
App Version Handler> - An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.
- Inbound
Services List<string> - A list of the types of messages that this application is able to receive. Possible values: ["INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", "INBOUND_SERVICE_XMPP_ERROR", "INBOUND_SERVICE_XMPP_MESSAGE", "INBOUND_SERVICE_XMPP_SUBSCRIBE", "INBOUND_SERVICE_XMPP_PRESENCE", "INBOUND_SERVICE_CHANNEL_PRESENCE", "INBOUND_SERVICE_WARMUP"]
- Instance
Class string - Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.
- Liveness
Check FlexibleApp Version Liveness Check - Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- Manual
Scaling FlexibleApp Version Manual Scaling - A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
- Name string
- Full path to the Version resource in the API. Example, "v1".
- Network
Flexible
App Version Network - Extra network settings
- Nobuild
Files stringRegex - Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- Noop
On boolDestroy - If set to 'true', the application version will not be deleted.
- Project string
- Readiness
Check FlexibleApp Version Readiness Check - Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- Resources
Flexible
App Version Resources - Machine resources for a version.
- Runtime string
- Desired runtime. Example python27.
- Runtime
Api stringVersion - The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at 'https://cloud.google.com/appengine/docs/standard//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
- Runtime
Channel string - The channel of the runtime to use. Only available for some runtimes.
- Runtime
Main stringExecutable Path - The path or name of the app's main executable.
- Service string
- AppEngine service resource. Can contain numbers, letters, and hyphens.
- Service
Account string - The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
- Serving
Status string - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "STOPPED"]
- Version
Id string - Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".
- Vpc
Access FlexibleConnector App Version Vpc Access Connector - Enables VPC connectivity for standard apps.
- Api
Config FlexibleApp Version Api Config Args - Serving configuration for Google Cloud Endpoints.
- Automatic
Scaling FlexibleApp Version Automatic Scaling Args - Automatic scaling is based on request rate, response latencies, and other application metrics.
- Beta
Settings map[string]string - Metadata settings that are supplied to this version to enable beta runtime features.
- Default
Expiration string - Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
- Delete
Service boolOn Destroy - If set to 'true', the service will be deleted if it is the last version.
- Deployment
Flexible
App Version Deployment Args - Code and application artifacts that make up this version.
- Endpoints
Api FlexibleService App Version Endpoints Api Service Args - Code and application artifacts that make up this version.
- Entrypoint
Flexible
App Version Entrypoint Args - The entrypoint for the application.
- Env
Variables map[string]string - Flexible
Runtime FlexibleSettings App Version Flexible Runtime Settings Args - Runtime settings for App Engine flexible environment.
- Handlers
[]Flexible
App Version Handler Args - An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.
- Inbound
Services []string - A list of the types of messages that this application is able to receive. Possible values: ["INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", "INBOUND_SERVICE_XMPP_ERROR", "INBOUND_SERVICE_XMPP_MESSAGE", "INBOUND_SERVICE_XMPP_SUBSCRIBE", "INBOUND_SERVICE_XMPP_PRESENCE", "INBOUND_SERVICE_CHANNEL_PRESENCE", "INBOUND_SERVICE_WARMUP"]
- Instance
Class string - Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.
- Liveness
Check FlexibleApp Version Liveness Check Args - Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- Manual
Scaling FlexibleApp Version Manual Scaling Args - A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
- Name string
- Full path to the Version resource in the API. Example, "v1".
- Network
Flexible
App Version Network Args - Extra network settings
- Nobuild
Files stringRegex - Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- Noop
On boolDestroy - If set to 'true', the application version will not be deleted.
- Project string
- Readiness
Check FlexibleApp Version Readiness Check Args - Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- Resources
Flexible
App Version Resources Args - Machine resources for a version.
- Runtime string
- Desired runtime. Example python27.
- Runtime
Api stringVersion - The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at 'https://cloud.google.com/appengine/docs/standard//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
- Runtime
Channel string - The channel of the runtime to use. Only available for some runtimes.
- Runtime
Main stringExecutable Path - The path or name of the app's main executable.
- Service string
- AppEngine service resource. Can contain numbers, letters, and hyphens.
- Service
Account string - The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
- Serving
Status string - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "STOPPED"]
- Version
Id string - Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".
- Vpc
Access FlexibleConnector App Version Vpc Access Connector Args - Enables VPC connectivity for standard apps.
- api
Config FlexibleApp Version Api Config - Serving configuration for Google Cloud Endpoints.
- automatic
Scaling FlexibleApp Version Automatic Scaling - Automatic scaling is based on request rate, response latencies, and other application metrics.
- beta
Settings Map<String,String> - Metadata settings that are supplied to this version to enable beta runtime features.
- default
Expiration String - Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
- delete
Service BooleanOn Destroy - If set to 'true', the service will be deleted if it is the last version.
- deployment
Flexible
App Version Deployment - Code and application artifacts that make up this version.
- endpoints
Api FlexibleService App Version Endpoints Api Service - Code and application artifacts that make up this version.
- entrypoint
Flexible
App Version Entrypoint - The entrypoint for the application.
- env
Variables Map<String,String> - flexible
Runtime FlexibleSettings App Version Flexible Runtime Settings - Runtime settings for App Engine flexible environment.
- handlers
List<Flexible
App Version Handler> - An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.
- inbound
Services List<String> - A list of the types of messages that this application is able to receive. Possible values: ["INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", "INBOUND_SERVICE_XMPP_ERROR", "INBOUND_SERVICE_XMPP_MESSAGE", "INBOUND_SERVICE_XMPP_SUBSCRIBE", "INBOUND_SERVICE_XMPP_PRESENCE", "INBOUND_SERVICE_CHANNEL_PRESENCE", "INBOUND_SERVICE_WARMUP"]
- instance
Class String - Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.
- liveness
Check FlexibleApp Version Liveness Check - Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- manual
Scaling FlexibleApp Version Manual Scaling - A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
- name String
- Full path to the Version resource in the API. Example, "v1".
- network
Flexible
App Version Network - Extra network settings
- nobuild
Files StringRegex - Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop
On BooleanDestroy - If set to 'true', the application version will not be deleted.
- project String
- readiness
Check FlexibleApp Version Readiness Check - Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- resources
Flexible
App Version Resources - Machine resources for a version.
- runtime String
- Desired runtime. Example python27.
- runtime
Api StringVersion - The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at 'https://cloud.google.com/appengine/docs/standard//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
- runtime
Channel String - The channel of the runtime to use. Only available for some runtimes.
- runtime
Main StringExecutable Path - The path or name of the app's main executable.
- service String
- AppEngine service resource. Can contain numbers, letters, and hyphens.
- service
Account String - The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
- serving
Status String - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "STOPPED"]
- version
Id String - Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".
- vpc
Access FlexibleConnector App Version Vpc Access Connector - Enables VPC connectivity for standard apps.
- api
Config FlexibleApp Version Api Config - Serving configuration for Google Cloud Endpoints.
- automatic
Scaling FlexibleApp Version Automatic Scaling - Automatic scaling is based on request rate, response latencies, and other application metrics.
- beta
Settings {[key: string]: string} - Metadata settings that are supplied to this version to enable beta runtime features.
- default
Expiration string - Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
- delete
Service booleanOn Destroy - If set to 'true', the service will be deleted if it is the last version.
- deployment
Flexible
App Version Deployment - Code and application artifacts that make up this version.
- endpoints
Api FlexibleService App Version Endpoints Api Service - Code and application artifacts that make up this version.
- entrypoint
Flexible
App Version Entrypoint - The entrypoint for the application.
- env
Variables {[key: string]: string} - flexible
Runtime FlexibleSettings App Version Flexible Runtime Settings - Runtime settings for App Engine flexible environment.
- handlers
Flexible
App Version Handler[] - An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.
- inbound
Services string[] - A list of the types of messages that this application is able to receive. Possible values: ["INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", "INBOUND_SERVICE_XMPP_ERROR", "INBOUND_SERVICE_XMPP_MESSAGE", "INBOUND_SERVICE_XMPP_SUBSCRIBE", "INBOUND_SERVICE_XMPP_PRESENCE", "INBOUND_SERVICE_CHANNEL_PRESENCE", "INBOUND_SERVICE_WARMUP"]
- instance
Class string - Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.
- liveness
Check FlexibleApp Version Liveness Check - Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- manual
Scaling FlexibleApp Version Manual Scaling - A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
- name string
- Full path to the Version resource in the API. Example, "v1".
- network
Flexible
App Version Network - Extra network settings
- nobuild
Files stringRegex - Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop
On booleanDestroy - If set to 'true', the application version will not be deleted.
- project string
- readiness
Check FlexibleApp Version Readiness Check - Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- resources
Flexible
App Version Resources - Machine resources for a version.
- runtime string
- Desired runtime. Example python27.
- runtime
Api stringVersion - The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at 'https://cloud.google.com/appengine/docs/standard//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
- runtime
Channel string - The channel of the runtime to use. Only available for some runtimes.
- runtime
Main stringExecutable Path - The path or name of the app's main executable.
- service string
- AppEngine service resource. Can contain numbers, letters, and hyphens.
- service
Account string - The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
- serving
Status string - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "STOPPED"]
- version
Id string - Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".
- vpc
Access FlexibleConnector App Version Vpc Access Connector - Enables VPC connectivity for standard apps.
- api_
config FlexibleApp Version Api Config Args - Serving configuration for Google Cloud Endpoints.
- automatic_
scaling FlexibleApp Version Automatic Scaling Args - Automatic scaling is based on request rate, response latencies, and other application metrics.
- beta_
settings Mapping[str, str] - Metadata settings that are supplied to this version to enable beta runtime features.
- default_
expiration str - Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
- delete_
service_ boolon_ destroy - If set to 'true', the service will be deleted if it is the last version.
- deployment
Flexible
App Version Deployment Args - Code and application artifacts that make up this version.
- endpoints_
api_ Flexibleservice App Version Endpoints Api Service Args - Code and application artifacts that make up this version.
- entrypoint
Flexible
App Version Entrypoint Args - The entrypoint for the application.
- env_
variables Mapping[str, str] - flexible_
runtime_ Flexiblesettings App Version Flexible Runtime Settings Args - Runtime settings for App Engine flexible environment.
- handlers
Sequence[Flexible
App Version Handler Args] - An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.
- inbound_
services Sequence[str] - A list of the types of messages that this application is able to receive. Possible values: ["INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", "INBOUND_SERVICE_XMPP_ERROR", "INBOUND_SERVICE_XMPP_MESSAGE", "INBOUND_SERVICE_XMPP_SUBSCRIBE", "INBOUND_SERVICE_XMPP_PRESENCE", "INBOUND_SERVICE_CHANNEL_PRESENCE", "INBOUND_SERVICE_WARMUP"]
- instance_
class str - Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.
- liveness_
check FlexibleApp Version Liveness Check Args - Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- manual_
scaling FlexibleApp Version Manual Scaling Args - A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
- name str
- Full path to the Version resource in the API. Example, "v1".
- network
Flexible
App Version Network Args - Extra network settings
- nobuild_
files_ strregex - Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop_
on_ booldestroy - If set to 'true', the application version will not be deleted.
- project str
- readiness_
check FlexibleApp Version Readiness Check Args - Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- resources
Flexible
App Version Resources Args - Machine resources for a version.
- runtime str
- Desired runtime. Example python27.
- runtime_
api_ strversion - The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at 'https://cloud.google.com/appengine/docs/standard//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
- runtime_
channel str - The channel of the runtime to use. Only available for some runtimes.
- runtime_
main_ strexecutable_ path - The path or name of the app's main executable.
- service str
- AppEngine service resource. Can contain numbers, letters, and hyphens.
- service_
account str - The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
- serving_
status str - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "STOPPED"]
- version_
id str - Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".
- vpc_
access_ Flexibleconnector App Version Vpc Access Connector Args - Enables VPC connectivity for standard apps.
- api
Config Property Map - Serving configuration for Google Cloud Endpoints.
- automatic
Scaling Property Map - Automatic scaling is based on request rate, response latencies, and other application metrics.
- beta
Settings Map<String> - Metadata settings that are supplied to this version to enable beta runtime features.
- default
Expiration String - Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
- delete
Service BooleanOn Destroy - If set to 'true', the service will be deleted if it is the last version.
- deployment Property Map
- Code and application artifacts that make up this version.
- endpoints
Api Property MapService - Code and application artifacts that make up this version.
- entrypoint Property Map
- The entrypoint for the application.
- env
Variables Map<String> - flexible
Runtime Property MapSettings - Runtime settings for App Engine flexible environment.
- handlers List<Property Map>
- An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.
- inbound
Services List<String> - A list of the types of messages that this application is able to receive. Possible values: ["INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", "INBOUND_SERVICE_XMPP_ERROR", "INBOUND_SERVICE_XMPP_MESSAGE", "INBOUND_SERVICE_XMPP_SUBSCRIBE", "INBOUND_SERVICE_XMPP_PRESENCE", "INBOUND_SERVICE_CHANNEL_PRESENCE", "INBOUND_SERVICE_WARMUP"]
- instance
Class String - Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.
- liveness
Check Property Map - Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- manual
Scaling Property Map - A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
- name String
- Full path to the Version resource in the API. Example, "v1".
- network Property Map
- Extra network settings
- nobuild
Files StringRegex - Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop
On BooleanDestroy - If set to 'true', the application version will not be deleted.
- project String
- readiness
Check Property Map - Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- resources Property Map
- Machine resources for a version.
- runtime String
- Desired runtime. Example python27.
- runtime
Api StringVersion - The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at 'https://cloud.google.com/appengine/docs/standard//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
- runtime
Channel String - The channel of the runtime to use. Only available for some runtimes.
- runtime
Main StringExecutable Path - The path or name of the app's main executable.
- service String
- AppEngine service resource. Can contain numbers, letters, and hyphens.
- service
Account String - The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
- serving
Status String - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "STOPPED"]
- version
Id String - Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".
- vpc
Access Property MapConnector - Enables VPC connectivity for standard apps.
Supporting Types
FlexibleAppVersionApiConfig, FlexibleAppVersionApiConfigArgs
- Script string
- Path to the script from the application root directory.
- Auth
Fail stringAction - Action to take when users access resources that require authentication.
Default value is
AUTH_FAIL_ACTION_REDIRECT
. Possible values are:AUTH_FAIL_ACTION_REDIRECT
,AUTH_FAIL_ACTION_UNAUTHORIZED
. - Login string
- Level of login required to access this resource.
Default value is
LOGIN_OPTIONAL
. Possible values are:LOGIN_OPTIONAL
,LOGIN_ADMIN
,LOGIN_REQUIRED
. - Security
Level string - Security (HTTPS) enforcement for this URL.
Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
. - Url string
- URL to serve the endpoint at.
- Script string
- Path to the script from the application root directory.
- Auth
Fail stringAction - Action to take when users access resources that require authentication.
Default value is
AUTH_FAIL_ACTION_REDIRECT
. Possible values are:AUTH_FAIL_ACTION_REDIRECT
,AUTH_FAIL_ACTION_UNAUTHORIZED
. - Login string
- Level of login required to access this resource.
Default value is
LOGIN_OPTIONAL
. Possible values are:LOGIN_OPTIONAL
,LOGIN_ADMIN
,LOGIN_REQUIRED
. - Security
Level string - Security (HTTPS) enforcement for this URL.
Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
. - Url string
- URL to serve the endpoint at.
- script String
- Path to the script from the application root directory.
- auth
Fail StringAction - Action to take when users access resources that require authentication.
Default value is
AUTH_FAIL_ACTION_REDIRECT
. Possible values are:AUTH_FAIL_ACTION_REDIRECT
,AUTH_FAIL_ACTION_UNAUTHORIZED
. - login String
- Level of login required to access this resource.
Default value is
LOGIN_OPTIONAL
. Possible values are:LOGIN_OPTIONAL
,LOGIN_ADMIN
,LOGIN_REQUIRED
. - security
Level String - Security (HTTPS) enforcement for this URL.
Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
. - url String
- URL to serve the endpoint at.
- script string
- Path to the script from the application root directory.
- auth
Fail stringAction - Action to take when users access resources that require authentication.
Default value is
AUTH_FAIL_ACTION_REDIRECT
. Possible values are:AUTH_FAIL_ACTION_REDIRECT
,AUTH_FAIL_ACTION_UNAUTHORIZED
. - login string
- Level of login required to access this resource.
Default value is
LOGIN_OPTIONAL
. Possible values are:LOGIN_OPTIONAL
,LOGIN_ADMIN
,LOGIN_REQUIRED
. - security
Level string - Security (HTTPS) enforcement for this URL.
Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
. - url string
- URL to serve the endpoint at.
- script str
- Path to the script from the application root directory.
- auth_
fail_ straction - Action to take when users access resources that require authentication.
Default value is
AUTH_FAIL_ACTION_REDIRECT
. Possible values are:AUTH_FAIL_ACTION_REDIRECT
,AUTH_FAIL_ACTION_UNAUTHORIZED
. - login str
- Level of login required to access this resource.
Default value is
LOGIN_OPTIONAL
. Possible values are:LOGIN_OPTIONAL
,LOGIN_ADMIN
,LOGIN_REQUIRED
. - security_
level str - Security (HTTPS) enforcement for this URL.
Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
. - url str
- URL to serve the endpoint at.
- script String
- Path to the script from the application root directory.
- auth
Fail StringAction - Action to take when users access resources that require authentication.
Default value is
AUTH_FAIL_ACTION_REDIRECT
. Possible values are:AUTH_FAIL_ACTION_REDIRECT
,AUTH_FAIL_ACTION_UNAUTHORIZED
. - login String
- Level of login required to access this resource.
Default value is
LOGIN_OPTIONAL
. Possible values are:LOGIN_OPTIONAL
,LOGIN_ADMIN
,LOGIN_REQUIRED
. - security
Level String - Security (HTTPS) enforcement for this URL.
Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
. - url String
- URL to serve the endpoint at.
FlexibleAppVersionAutomaticScaling, FlexibleAppVersionAutomaticScalingArgs
- Cpu
Utilization FlexibleApp Version Automatic Scaling Cpu Utilization - Target scaling by CPU usage. Structure is documented below.
- Cool
Down stringPeriod - The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Default: 120s
- Disk
Utilization FlexibleApp Version Automatic Scaling Disk Utilization - Target scaling by disk usage. Structure is documented below.
- Max
Concurrent intRequests - Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.
- Max
Idle intInstances - Maximum number of idle instances that should be maintained for this version.
- Max
Pending stringLatency - Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
- Max
Total intInstances - Maximum number of instances that should be started to handle requests for this version. Default: 20
- Min
Idle intInstances - Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- Min
Pending stringLatency - Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
- Min
Total intInstances - Minimum number of running instances that should be maintained for this version. Default: 2
- Network
Utilization FlexibleApp Version Automatic Scaling Network Utilization - Target scaling by network usage. Structure is documented below.
- Request
Utilization FlexibleApp Version Automatic Scaling Request Utilization - Target scaling by request utilization. Structure is documented below.
- Cpu
Utilization FlexibleApp Version Automatic Scaling Cpu Utilization - Target scaling by CPU usage. Structure is documented below.
- Cool
Down stringPeriod - The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Default: 120s
- Disk
Utilization FlexibleApp Version Automatic Scaling Disk Utilization - Target scaling by disk usage. Structure is documented below.
- Max
Concurrent intRequests - Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.
- Max
Idle intInstances - Maximum number of idle instances that should be maintained for this version.
- Max
Pending stringLatency - Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
- Max
Total intInstances - Maximum number of instances that should be started to handle requests for this version. Default: 20
- Min
Idle intInstances - Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- Min
Pending stringLatency - Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
- Min
Total intInstances - Minimum number of running instances that should be maintained for this version. Default: 2
- Network
Utilization FlexibleApp Version Automatic Scaling Network Utilization - Target scaling by network usage. Structure is documented below.
- Request
Utilization FlexibleApp Version Automatic Scaling Request Utilization - Target scaling by request utilization. Structure is documented below.
- cpu
Utilization FlexibleApp Version Automatic Scaling Cpu Utilization - Target scaling by CPU usage. Structure is documented below.
- cool
Down StringPeriod - The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Default: 120s
- disk
Utilization FlexibleApp Version Automatic Scaling Disk Utilization - Target scaling by disk usage. Structure is documented below.
- max
Concurrent IntegerRequests - Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.
- max
Idle IntegerInstances - Maximum number of idle instances that should be maintained for this version.
- max
Pending StringLatency - Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
- max
Total IntegerInstances - Maximum number of instances that should be started to handle requests for this version. Default: 20
- min
Idle IntegerInstances - Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- min
Pending StringLatency - Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
- min
Total IntegerInstances - Minimum number of running instances that should be maintained for this version. Default: 2
- network
Utilization FlexibleApp Version Automatic Scaling Network Utilization - Target scaling by network usage. Structure is documented below.
- request
Utilization FlexibleApp Version Automatic Scaling Request Utilization - Target scaling by request utilization. Structure is documented below.
- cpu
Utilization FlexibleApp Version Automatic Scaling Cpu Utilization - Target scaling by CPU usage. Structure is documented below.
- cool
Down stringPeriod - The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Default: 120s
- disk
Utilization FlexibleApp Version Automatic Scaling Disk Utilization - Target scaling by disk usage. Structure is documented below.
- max
Concurrent numberRequests - Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.
- max
Idle numberInstances - Maximum number of idle instances that should be maintained for this version.
- max
Pending stringLatency - Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
- max
Total numberInstances - Maximum number of instances that should be started to handle requests for this version. Default: 20
- min
Idle numberInstances - Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- min
Pending stringLatency - Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
- min
Total numberInstances - Minimum number of running instances that should be maintained for this version. Default: 2
- network
Utilization FlexibleApp Version Automatic Scaling Network Utilization - Target scaling by network usage. Structure is documented below.
- request
Utilization FlexibleApp Version Automatic Scaling Request Utilization - Target scaling by request utilization. Structure is documented below.
- cpu_
utilization FlexibleApp Version Automatic Scaling Cpu Utilization - Target scaling by CPU usage. Structure is documented below.
- cool_
down_ strperiod - The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Default: 120s
- disk_
utilization FlexibleApp Version Automatic Scaling Disk Utilization - Target scaling by disk usage. Structure is documented below.
- max_
concurrent_ intrequests - Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.
- max_
idle_ intinstances - Maximum number of idle instances that should be maintained for this version.
- max_
pending_ strlatency - Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
- max_
total_ intinstances - Maximum number of instances that should be started to handle requests for this version. Default: 20
- min_
idle_ intinstances - Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- min_
pending_ strlatency - Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
- min_
total_ intinstances - Minimum number of running instances that should be maintained for this version. Default: 2
- network_
utilization FlexibleApp Version Automatic Scaling Network Utilization - Target scaling by network usage. Structure is documented below.
- request_
utilization FlexibleApp Version Automatic Scaling Request Utilization - Target scaling by request utilization. Structure is documented below.
- cpu
Utilization Property Map - Target scaling by CPU usage. Structure is documented below.
- cool
Down StringPeriod - The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Default: 120s
- disk
Utilization Property Map - Target scaling by disk usage. Structure is documented below.
- max
Concurrent NumberRequests - Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.
- max
Idle NumberInstances - Maximum number of idle instances that should be maintained for this version.
- max
Pending StringLatency - Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
- max
Total NumberInstances - Maximum number of instances that should be started to handle requests for this version. Default: 20
- min
Idle NumberInstances - Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- min
Pending StringLatency - Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
- min
Total NumberInstances - Minimum number of running instances that should be maintained for this version. Default: 2
- network
Utilization Property Map - Target scaling by network usage. Structure is documented below.
- request
Utilization Property Map - Target scaling by request utilization. Structure is documented below.
FlexibleAppVersionAutomaticScalingCpuUtilization, FlexibleAppVersionAutomaticScalingCpuUtilizationArgs
- Target
Utilization double - Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
- Aggregation
Window stringLength - Period of time over which CPU utilization is calculated.
- Target
Utilization float64 - Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
- Aggregation
Window stringLength - Period of time over which CPU utilization is calculated.
- target
Utilization Double - Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
- aggregation
Window StringLength - Period of time over which CPU utilization is calculated.
- target
Utilization number - Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
- aggregation
Window stringLength - Period of time over which CPU utilization is calculated.
- target_
utilization float - Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
- aggregation_
window_ strlength - Period of time over which CPU utilization is calculated.
- target
Utilization Number - Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
- aggregation
Window StringLength - Period of time over which CPU utilization is calculated.
FlexibleAppVersionAutomaticScalingDiskUtilization, FlexibleAppVersionAutomaticScalingDiskUtilizationArgs
- Target
Read intBytes Per Second - Target bytes read per second.
- Target
Read intOps Per Second - Target ops read per seconds.
- Target
Write intBytes Per Second - Target bytes written per second.
- Target
Write intOps Per Second - Target ops written per second.
- Target
Read intBytes Per Second - Target bytes read per second.
- Target
Read intOps Per Second - Target ops read per seconds.
- Target
Write intBytes Per Second - Target bytes written per second.
- Target
Write intOps Per Second - Target ops written per second.
- target
Read IntegerBytes Per Second - Target bytes read per second.
- target
Read IntegerOps Per Second - Target ops read per seconds.
- target
Write IntegerBytes Per Second - Target bytes written per second.
- target
Write IntegerOps Per Second - Target ops written per second.
- target
Read numberBytes Per Second - Target bytes read per second.
- target
Read numberOps Per Second - Target ops read per seconds.
- target
Write numberBytes Per Second - Target bytes written per second.
- target
Write numberOps Per Second - Target ops written per second.
- target_
read_ intbytes_ per_ second - Target bytes read per second.
- target_
read_ intops_ per_ second - Target ops read per seconds.
- target_
write_ intbytes_ per_ second - Target bytes written per second.
- target_
write_ intops_ per_ second - Target ops written per second.
- target
Read NumberBytes Per Second - Target bytes read per second.
- target
Read NumberOps Per Second - Target ops read per seconds.
- target
Write NumberBytes Per Second - Target bytes written per second.
- target
Write NumberOps Per Second - Target ops written per second.
FlexibleAppVersionAutomaticScalingNetworkUtilization, FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs
- Target
Received intBytes Per Second - Target bytes received per second.
- Target
Received intPackets Per Second - Target packets received per second.
- Target
Sent intBytes Per Second - Target bytes sent per second.
- Target
Sent intPackets Per Second - Target packets sent per second.
- Target
Received intBytes Per Second - Target bytes received per second.
- Target
Received intPackets Per Second - Target packets received per second.
- Target
Sent intBytes Per Second - Target bytes sent per second.
- Target
Sent intPackets Per Second - Target packets sent per second.
- target
Received IntegerBytes Per Second - Target bytes received per second.
- target
Received IntegerPackets Per Second - Target packets received per second.
- target
Sent IntegerBytes Per Second - Target bytes sent per second.
- target
Sent IntegerPackets Per Second - Target packets sent per second.
- target
Received numberBytes Per Second - Target bytes received per second.
- target
Received numberPackets Per Second - Target packets received per second.
- target
Sent numberBytes Per Second - Target bytes sent per second.
- target
Sent numberPackets Per Second - Target packets sent per second.
- target_
received_ intbytes_ per_ second - Target bytes received per second.
- target_
received_ intpackets_ per_ second - Target packets received per second.
- target_
sent_ intbytes_ per_ second - Target bytes sent per second.
- target_
sent_ intpackets_ per_ second - Target packets sent per second.
- target
Received NumberBytes Per Second - Target bytes received per second.
- target
Received NumberPackets Per Second - Target packets received per second.
- target
Sent NumberBytes Per Second - Target bytes sent per second.
- target
Sent NumberPackets Per Second - Target packets sent per second.
FlexibleAppVersionAutomaticScalingRequestUtilization, FlexibleAppVersionAutomaticScalingRequestUtilizationArgs
- Target
Concurrent doubleRequests - Target number of concurrent requests.
- Target
Request stringCount Per Second - Target requests per second.
- Target
Concurrent float64Requests - Target number of concurrent requests.
- Target
Request stringCount Per Second - Target requests per second.
- target
Concurrent DoubleRequests - Target number of concurrent requests.
- target
Request StringCount Per Second - Target requests per second.
- target
Concurrent numberRequests - Target number of concurrent requests.
- target
Request stringCount Per Second - Target requests per second.
- target_
concurrent_ floatrequests - Target number of concurrent requests.
- target_
request_ strcount_ per_ second - Target requests per second.
- target
Concurrent NumberRequests - Target number of concurrent requests.
- target
Request StringCount Per Second - Target requests per second.
FlexibleAppVersionDeployment, FlexibleAppVersionDeploymentArgs
- Cloud
Build FlexibleOptions App Version Deployment Cloud Build Options - Options for the build operations performed as a part of the version deployment. Only applicable when creating a version using source code directly. Structure is documented below.
- Container
Flexible
App Version Deployment Container - The Docker image for the container that runs the version. Structure is documented below.
- Files
List<Flexible
App Version Deployment File> - Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.
- Zip
Flexible
App Version Deployment Zip - Zip File Structure is documented below.
- Cloud
Build FlexibleOptions App Version Deployment Cloud Build Options - Options for the build operations performed as a part of the version deployment. Only applicable when creating a version using source code directly. Structure is documented below.
- Container
Flexible
App Version Deployment Container - The Docker image for the container that runs the version. Structure is documented below.
- Files
[]Flexible
App Version Deployment File - Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.
- Zip
Flexible
App Version Deployment Zip - Zip File Structure is documented below.
- cloud
Build FlexibleOptions App Version Deployment Cloud Build Options - Options for the build operations performed as a part of the version deployment. Only applicable when creating a version using source code directly. Structure is documented below.
- container
Flexible
App Version Deployment Container - The Docker image for the container that runs the version. Structure is documented below.
- files
List<Flexible
App Version Deployment File> - Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.
- zip
Flexible
App Version Deployment Zip - Zip File Structure is documented below.
- cloud
Build FlexibleOptions App Version Deployment Cloud Build Options - Options for the build operations performed as a part of the version deployment. Only applicable when creating a version using source code directly. Structure is documented below.
- container
Flexible
App Version Deployment Container - The Docker image for the container that runs the version. Structure is documented below.
- files
Flexible
App Version Deployment File[] - Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.
- zip
Flexible
App Version Deployment Zip - Zip File Structure is documented below.
- cloud_
build_ Flexibleoptions App Version Deployment Cloud Build Options - Options for the build operations performed as a part of the version deployment. Only applicable when creating a version using source code directly. Structure is documented below.
- container
Flexible
App Version Deployment Container - The Docker image for the container that runs the version. Structure is documented below.
- files
Sequence[Flexible
App Version Deployment File] - Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.
- zip
Flexible
App Version Deployment Zip - Zip File Structure is documented below.
- cloud
Build Property MapOptions - Options for the build operations performed as a part of the version deployment. Only applicable when creating a version using source code directly. Structure is documented below.
- container Property Map
- The Docker image for the container that runs the version. Structure is documented below.
- files List<Property Map>
- Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.
- zip Property Map
- Zip File Structure is documented below.
FlexibleAppVersionDeploymentCloudBuildOptions, FlexibleAppVersionDeploymentCloudBuildOptionsArgs
- App
Yaml stringPath - Path to the yaml file used in deployment, used to determine runtime configuration details.
- Cloud
Build stringTimeout - The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- App
Yaml stringPath - Path to the yaml file used in deployment, used to determine runtime configuration details.
- Cloud
Build stringTimeout - The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- app
Yaml StringPath - Path to the yaml file used in deployment, used to determine runtime configuration details.
- cloud
Build StringTimeout - The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- app
Yaml stringPath - Path to the yaml file used in deployment, used to determine runtime configuration details.
- cloud
Build stringTimeout - The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- app_
yaml_ strpath - Path to the yaml file used in deployment, used to determine runtime configuration details.
- cloud_
build_ strtimeout - The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- app
Yaml StringPath - Path to the yaml file used in deployment, used to determine runtime configuration details.
- cloud
Build StringTimeout - The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
FlexibleAppVersionDeploymentContainer, FlexibleAppVersionDeploymentContainerArgs
- Image string
- URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
- Image string
- URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
- image String
- URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
- image string
- URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
- image str
- URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
- image String
- URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
FlexibleAppVersionDeploymentFile, FlexibleAppVersionDeploymentFileArgs
- name str
- The identifier for this object. Format specified above.
- source_
url str - Source URL
- sha1_
sum str - SHA1 checksum of the file
FlexibleAppVersionDeploymentZip, FlexibleAppVersionDeploymentZipArgs
- Source
Url string - Source URL
- Files
Count int - files count
- Source
Url string - Source URL
- Files
Count int - files count
- source
Url String - Source URL
- files
Count Integer - files count
- source
Url string - Source URL
- files
Count number - files count
- source_
url str - Source URL
- files_
count int - files count
- source
Url String - Source URL
- files
Count Number - files count
FlexibleAppVersionEndpointsApiService, FlexibleAppVersionEndpointsApiServiceArgs
- Name string
- Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
- Config
Id string - Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is "FIXED". This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The configId field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called "MANAGED". When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, configId must be omitted.
- Disable
Trace boolSampling - Enable or disable trace sampling. By default, this is set to false for enabled.
- Rollout
Strategy string - Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted.
Default value is
FIXED
. Possible values are:FIXED
,MANAGED
.
- Name string
- Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
- Config
Id string - Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is "FIXED". This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The configId field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called "MANAGED". When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, configId must be omitted.
- Disable
Trace boolSampling - Enable or disable trace sampling. By default, this is set to false for enabled.
- Rollout
Strategy string - Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted.
Default value is
FIXED
. Possible values are:FIXED
,MANAGED
.
- name String
- Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
- config
Id String - Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is "FIXED". This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The configId field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called "MANAGED". When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, configId must be omitted.
- disable
Trace BooleanSampling - Enable or disable trace sampling. By default, this is set to false for enabled.
- rollout
Strategy String - Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted.
Default value is
FIXED
. Possible values are:FIXED
,MANAGED
.
- name string
- Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
- config
Id string - Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is "FIXED". This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The configId field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called "MANAGED". When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, configId must be omitted.
- disable
Trace booleanSampling - Enable or disable trace sampling. By default, this is set to false for enabled.
- rollout
Strategy string - Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted.
Default value is
FIXED
. Possible values are:FIXED
,MANAGED
.
- name str
- Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
- config_
id str - Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is "FIXED". This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The configId field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called "MANAGED". When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, configId must be omitted.
- disable_
trace_ boolsampling - Enable or disable trace sampling. By default, this is set to false for enabled.
- rollout_
strategy str - Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted.
Default value is
FIXED
. Possible values are:FIXED
,MANAGED
.
- name String
- Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
- config
Id String - Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is "FIXED". This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The configId field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called "MANAGED". When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, configId must be omitted.
- disable
Trace BooleanSampling - Enable or disable trace sampling. By default, this is set to false for enabled.
- rollout
Strategy String - Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted.
Default value is
FIXED
. Possible values are:FIXED
,MANAGED
.
FlexibleAppVersionEntrypoint, FlexibleAppVersionEntrypointArgs
- Shell string
- The format should be a shell command that can be fed to bash -c.
- Shell string
- The format should be a shell command that can be fed to bash -c.
- shell String
- The format should be a shell command that can be fed to bash -c.
- shell string
- The format should be a shell command that can be fed to bash -c.
- shell str
- The format should be a shell command that can be fed to bash -c.
- shell String
- The format should be a shell command that can be fed to bash -c.
FlexibleAppVersionFlexibleRuntimeSettings, FlexibleAppVersionFlexibleRuntimeSettingsArgs
- Operating
System string - Operating System of the application runtime.
- Runtime
Version string - The runtime version of an App Engine flexible application.
- Operating
System string - Operating System of the application runtime.
- Runtime
Version string - The runtime version of an App Engine flexible application.
- operating
System String - Operating System of the application runtime.
- runtime
Version String - The runtime version of an App Engine flexible application.
- operating
System string - Operating System of the application runtime.
- runtime
Version string - The runtime version of an App Engine flexible application.
- operating_
system str - Operating System of the application runtime.
- runtime_
version str - The runtime version of an App Engine flexible application.
- operating
System String - Operating System of the application runtime.
- runtime
Version String - The runtime version of an App Engine flexible application.
FlexibleAppVersionHandler, FlexibleAppVersionHandlerArgs
- Auth
Fail stringAction - Actions to take when the user is not logged in.
Possible values are:
AUTH_FAIL_ACTION_REDIRECT
,AUTH_FAIL_ACTION_UNAUTHORIZED
. - Login string
- Methods to restrict access to a URL based on login status.
Possible values are:
LOGIN_OPTIONAL
,LOGIN_ADMIN
,LOGIN_REQUIRED
. - Redirect
Http stringResponse Code - 30x code to use when performing redirects for the secure field.
Possible values are:
REDIRECT_HTTP_RESPONSE_CODE_301
,REDIRECT_HTTP_RESPONSE_CODE_302
,REDIRECT_HTTP_RESPONSE_CODE_303
,REDIRECT_HTTP_RESPONSE_CODE_307
. - Script
Flexible
App Version Handler Script - Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.
- Security
Level string - Security (HTTPS) enforcement for this URL.
Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
. - Static
Files FlexibleApp Version Handler Static Files - Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.
- Url
Regex string - URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.
- Auth
Fail stringAction - Actions to take when the user is not logged in.
Possible values are:
AUTH_FAIL_ACTION_REDIRECT
,AUTH_FAIL_ACTION_UNAUTHORIZED
. - Login string
- Methods to restrict access to a URL based on login status.
Possible values are:
LOGIN_OPTIONAL
,LOGIN_ADMIN
,LOGIN_REQUIRED
. - Redirect
Http stringResponse Code - 30x code to use when performing redirects for the secure field.
Possible values are:
REDIRECT_HTTP_RESPONSE_CODE_301
,REDIRECT_HTTP_RESPONSE_CODE_302
,REDIRECT_HTTP_RESPONSE_CODE_303
,REDIRECT_HTTP_RESPONSE_CODE_307
. - Script
Flexible
App Version Handler Script - Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.
- Security
Level string - Security (HTTPS) enforcement for this URL.
Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
. - Static
Files FlexibleApp Version Handler Static Files - Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.
- Url
Regex string - URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.
- auth
Fail StringAction - Actions to take when the user is not logged in.
Possible values are:
AUTH_FAIL_ACTION_REDIRECT
,AUTH_FAIL_ACTION_UNAUTHORIZED
. - login String
- Methods to restrict access to a URL based on login status.
Possible values are:
LOGIN_OPTIONAL
,LOGIN_ADMIN
,LOGIN_REQUIRED
. - redirect
Http StringResponse Code - 30x code to use when performing redirects for the secure field.
Possible values are:
REDIRECT_HTTP_RESPONSE_CODE_301
,REDIRECT_HTTP_RESPONSE_CODE_302
,REDIRECT_HTTP_RESPONSE_CODE_303
,REDIRECT_HTTP_RESPONSE_CODE_307
. - script
Flexible
App Version Handler Script - Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.
- security
Level String - Security (HTTPS) enforcement for this URL.
Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
. - static
Files FlexibleApp Version Handler Static Files - Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.
- url
Regex String - URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.
- auth
Fail stringAction - Actions to take when the user is not logged in.
Possible values are:
AUTH_FAIL_ACTION_REDIRECT
,AUTH_FAIL_ACTION_UNAUTHORIZED
. - login string
- Methods to restrict access to a URL based on login status.
Possible values are:
LOGIN_OPTIONAL
,LOGIN_ADMIN
,LOGIN_REQUIRED
. - redirect
Http stringResponse Code - 30x code to use when performing redirects for the secure field.
Possible values are:
REDIRECT_HTTP_RESPONSE_CODE_301
,REDIRECT_HTTP_RESPONSE_CODE_302
,REDIRECT_HTTP_RESPONSE_CODE_303
,REDIRECT_HTTP_RESPONSE_CODE_307
. - script
Flexible
App Version Handler Script - Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.
- security
Level string - Security (HTTPS) enforcement for this URL.
Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
. - static
Files FlexibleApp Version Handler Static Files - Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.
- url
Regex string - URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.
- auth_
fail_ straction - Actions to take when the user is not logged in.
Possible values are:
AUTH_FAIL_ACTION_REDIRECT
,AUTH_FAIL_ACTION_UNAUTHORIZED
. - login str
- Methods to restrict access to a URL based on login status.
Possible values are:
LOGIN_OPTIONAL
,LOGIN_ADMIN
,LOGIN_REQUIRED
. - redirect_
http_ strresponse_ code - 30x code to use when performing redirects for the secure field.
Possible values are:
REDIRECT_HTTP_RESPONSE_CODE_301
,REDIRECT_HTTP_RESPONSE_CODE_302
,REDIRECT_HTTP_RESPONSE_CODE_303
,REDIRECT_HTTP_RESPONSE_CODE_307
. - script
Flexible
App Version Handler Script - Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.
- security_
level str - Security (HTTPS) enforcement for this URL.
Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
. - static_
files FlexibleApp Version Handler Static Files - Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.
- url_
regex str - URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.
- auth
Fail StringAction - Actions to take when the user is not logged in.
Possible values are:
AUTH_FAIL_ACTION_REDIRECT
,AUTH_FAIL_ACTION_UNAUTHORIZED
. - login String
- Methods to restrict access to a URL based on login status.
Possible values are:
LOGIN_OPTIONAL
,LOGIN_ADMIN
,LOGIN_REQUIRED
. - redirect
Http StringResponse Code - 30x code to use when performing redirects for the secure field.
Possible values are:
REDIRECT_HTTP_RESPONSE_CODE_301
,REDIRECT_HTTP_RESPONSE_CODE_302
,REDIRECT_HTTP_RESPONSE_CODE_303
,REDIRECT_HTTP_RESPONSE_CODE_307
. - script Property Map
- Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.
- security
Level String - Security (HTTPS) enforcement for this URL.
Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
. - static
Files Property Map - Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.
- url
Regex String - URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.
FlexibleAppVersionHandlerScript, FlexibleAppVersionHandlerScriptArgs
- Script
Path string - Path to the script from the application root directory.
- Script
Path string - Path to the script from the application root directory.
- script
Path String - Path to the script from the application root directory.
- script
Path string - Path to the script from the application root directory.
- script_
path str - Path to the script from the application root directory.
- script
Path String - Path to the script from the application root directory.
FlexibleAppVersionHandlerStaticFiles, FlexibleAppVersionHandlerStaticFilesArgs
- Application
Readable bool - Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.
- Expiration string
- Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s". Default is '0s'
- Http
Headers Dictionary<string, string> - HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".
- Mime
Type string - MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.
- Path string
- Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
- Require
Matching boolFile - Whether this handler should match the request if the file referenced by the handler does not exist.
- Upload
Path stringRegex - Regular expression that matches the file paths for all files that should be referenced by this handler.
- Application
Readable bool - Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.
- Expiration string
- Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s". Default is '0s'
- Http
Headers map[string]string - HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".
- Mime
Type string - MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.
- Path string
- Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
- Require
Matching boolFile - Whether this handler should match the request if the file referenced by the handler does not exist.
- Upload
Path stringRegex - Regular expression that matches the file paths for all files that should be referenced by this handler.
- application
Readable Boolean - Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.
- expiration String
- Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s". Default is '0s'
- http
Headers Map<String,String> - HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".
- mime
Type String - MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.
- path String
- Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
- require
Matching BooleanFile - Whether this handler should match the request if the file referenced by the handler does not exist.
- upload
Path StringRegex - Regular expression that matches the file paths for all files that should be referenced by this handler.
- application
Readable boolean - Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.
- expiration string
- Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s". Default is '0s'
- http
Headers {[key: string]: string} - HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".
- mime
Type string - MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.
- path string
- Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
- require
Matching booleanFile - Whether this handler should match the request if the file referenced by the handler does not exist.
- upload
Path stringRegex - Regular expression that matches the file paths for all files that should be referenced by this handler.
- application_
readable bool - Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.
- expiration str
- Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s". Default is '0s'
- http_
headers Mapping[str, str] - HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".
- mime_
type str - MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.
- path str
- Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
- require_
matching_ boolfile - Whether this handler should match the request if the file referenced by the handler does not exist.
- upload_
path_ strregex - Regular expression that matches the file paths for all files that should be referenced by this handler.
- application
Readable Boolean - Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.
- expiration String
- Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s". Default is '0s'
- http
Headers Map<String> - HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".
- mime
Type String - MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.
- path String
- Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
- require
Matching BooleanFile - Whether this handler should match the request if the file referenced by the handler does not exist.
- upload
Path StringRegex - Regular expression that matches the file paths for all files that should be referenced by this handler.
FlexibleAppVersionLivenessCheck, FlexibleAppVersionLivenessCheckArgs
- Path string
- The request path.
- Check
Interval string - Interval between health checks.
- Failure
Threshold double - Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.
- Host string
- Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
- Initial
Delay string - The initial delay before starting to execute the checks. Default: "300s"
- Success
Threshold double - Number of consecutive successful checks required before considering the VM healthy. Default: 2.
- Timeout string
- Time before the check is considered failed. Default: "4s"
- Path string
- The request path.
- Check
Interval string - Interval between health checks.
- Failure
Threshold float64 - Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.
- Host string
- Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
- Initial
Delay string - The initial delay before starting to execute the checks. Default: "300s"
- Success
Threshold float64 - Number of consecutive successful checks required before considering the VM healthy. Default: 2.
- Timeout string
- Time before the check is considered failed. Default: "4s"
- path String
- The request path.
- check
Interval String - Interval between health checks.
- failure
Threshold Double - Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.
- host String
- Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
- initial
Delay String - The initial delay before starting to execute the checks. Default: "300s"
- success
Threshold Double - Number of consecutive successful checks required before considering the VM healthy. Default: 2.
- timeout String
- Time before the check is considered failed. Default: "4s"
- path string
- The request path.
- check
Interval string - Interval between health checks.
- failure
Threshold number - Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.
- host string
- Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
- initial
Delay string - The initial delay before starting to execute the checks. Default: "300s"
- success
Threshold number - Number of consecutive successful checks required before considering the VM healthy. Default: 2.
- timeout string
- Time before the check is considered failed. Default: "4s"
- path str
- The request path.
- check_
interval str - Interval between health checks.
- failure_
threshold float - Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.
- host str
- Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
- initial_
delay str - The initial delay before starting to execute the checks. Default: "300s"
- success_
threshold float - Number of consecutive successful checks required before considering the VM healthy. Default: 2.
- timeout str
- Time before the check is considered failed. Default: "4s"
- path String
- The request path.
- check
Interval String - Interval between health checks.
- failure
Threshold Number - Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.
- host String
- Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
- initial
Delay String - The initial delay before starting to execute the checks. Default: "300s"
- success
Threshold Number - Number of consecutive successful checks required before considering the VM healthy. Default: 2.
- timeout String
- Time before the check is considered failed. Default: "4s"
FlexibleAppVersionManualScaling, FlexibleAppVersionManualScalingArgs
- Instances int
- Number of instances to assign to the service at the start.
Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2
Modules API set_num_instances() you must use
lifecycle.ignore_changes = ["manual_scaling"[0].instances]
to prevent drift detection.
- Instances int
- Number of instances to assign to the service at the start.
Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2
Modules API set_num_instances() you must use
lifecycle.ignore_changes = ["manual_scaling"[0].instances]
to prevent drift detection.
- instances Integer
- Number of instances to assign to the service at the start.
Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2
Modules API set_num_instances() you must use
lifecycle.ignore_changes = ["manual_scaling"[0].instances]
to prevent drift detection.
- instances number
- Number of instances to assign to the service at the start.
Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2
Modules API set_num_instances() you must use
lifecycle.ignore_changes = ["manual_scaling"[0].instances]
to prevent drift detection.
- instances int
- Number of instances to assign to the service at the start.
Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2
Modules API set_num_instances() you must use
lifecycle.ignore_changes = ["manual_scaling"[0].instances]
to prevent drift detection.
- instances Number
- Number of instances to assign to the service at the start.
Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2
Modules API set_num_instances() you must use
lifecycle.ignore_changes = ["manual_scaling"[0].instances]
to prevent drift detection.
FlexibleAppVersionNetwork, FlexibleAppVersionNetworkArgs
- Name string
- Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.
- Forwarded
Ports List<string> - List of ports, or port pairs, to forward from the virtual machine to the application container.
- Instance
Ip stringMode - Prevent instances from receiving an ephemeral external IP address.
Possible values are:
EXTERNAL
,INTERNAL
. - Instance
Tag string - Tag to apply to the instance during creation.
- Session
Affinity bool - Enable session affinity.
- Subnetwork string
- Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetworkName) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetworkName must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
- Name string
- Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.
- Forwarded
Ports []string - List of ports, or port pairs, to forward from the virtual machine to the application container.
- Instance
Ip stringMode - Prevent instances from receiving an ephemeral external IP address.
Possible values are:
EXTERNAL
,INTERNAL
. - Instance
Tag string - Tag to apply to the instance during creation.
- Session
Affinity bool - Enable session affinity.
- Subnetwork string
- Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetworkName) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetworkName must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
- name String
- Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.
- forwarded
Ports List<String> - List of ports, or port pairs, to forward from the virtual machine to the application container.
- instance
Ip StringMode - Prevent instances from receiving an ephemeral external IP address.
Possible values are:
EXTERNAL
,INTERNAL
. - instance
Tag String - Tag to apply to the instance during creation.
- session
Affinity Boolean - Enable session affinity.
- subnetwork String
- Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetworkName) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetworkName must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
- name string
- Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.
- forwarded
Ports string[] - List of ports, or port pairs, to forward from the virtual machine to the application container.
- instance
Ip stringMode - Prevent instances from receiving an ephemeral external IP address.
Possible values are:
EXTERNAL
,INTERNAL
. - instance
Tag string - Tag to apply to the instance during creation.
- session
Affinity boolean - Enable session affinity.
- subnetwork string
- Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetworkName) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetworkName must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
- name str
- Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.
- forwarded_
ports Sequence[str] - List of ports, or port pairs, to forward from the virtual machine to the application container.
- instance_
ip_ strmode - Prevent instances from receiving an ephemeral external IP address.
Possible values are:
EXTERNAL
,INTERNAL
. - instance_
tag str - Tag to apply to the instance during creation.
- session_
affinity bool - Enable session affinity.
- subnetwork str
- Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetworkName) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetworkName must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
- name String
- Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.
- forwarded
Ports List<String> - List of ports, or port pairs, to forward from the virtual machine to the application container.
- instance
Ip StringMode - Prevent instances from receiving an ephemeral external IP address.
Possible values are:
EXTERNAL
,INTERNAL
. - instance
Tag String - Tag to apply to the instance during creation.
- session
Affinity Boolean - Enable session affinity.
- subnetwork String
- Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetworkName) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetworkName must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
FlexibleAppVersionReadinessCheck, FlexibleAppVersionReadinessCheckArgs
- Path string
- The request path.
- App
Start stringTimeout - A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. Default: "300s"
- Check
Interval string - Interval between health checks. Default: "5s".
- Failure
Threshold double - Number of consecutive failed checks required before removing traffic. Default: 2.
- Host string
- Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
- Success
Threshold double - Number of consecutive successful checks required before receiving traffic. Default: 2.
- Timeout string
- Time before the check is considered failed. Default: "4s"
- Path string
- The request path.
- App
Start stringTimeout - A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. Default: "300s"
- Check
Interval string - Interval between health checks. Default: "5s".
- Failure
Threshold float64 - Number of consecutive failed checks required before removing traffic. Default: 2.
- Host string
- Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
- Success
Threshold float64 - Number of consecutive successful checks required before receiving traffic. Default: 2.
- Timeout string
- Time before the check is considered failed. Default: "4s"
- path String
- The request path.
- app
Start StringTimeout - A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. Default: "300s"
- check
Interval String - Interval between health checks. Default: "5s".
- failure
Threshold Double - Number of consecutive failed checks required before removing traffic. Default: 2.
- host String
- Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
- success
Threshold Double - Number of consecutive successful checks required before receiving traffic. Default: 2.
- timeout String
- Time before the check is considered failed. Default: "4s"
- path string
- The request path.
- app
Start stringTimeout - A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. Default: "300s"
- check
Interval string - Interval between health checks. Default: "5s".
- failure
Threshold number - Number of consecutive failed checks required before removing traffic. Default: 2.
- host string
- Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
- success
Threshold number - Number of consecutive successful checks required before receiving traffic. Default: 2.
- timeout string
- Time before the check is considered failed. Default: "4s"
- path str
- The request path.
- app_
start_ strtimeout - A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. Default: "300s"
- check_
interval str - Interval between health checks. Default: "5s".
- failure_
threshold float - Number of consecutive failed checks required before removing traffic. Default: 2.
- host str
- Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
- success_
threshold float - Number of consecutive successful checks required before receiving traffic. Default: 2.
- timeout str
- Time before the check is considered failed. Default: "4s"
- path String
- The request path.
- app
Start StringTimeout - A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. Default: "300s"
- check
Interval String - Interval between health checks. Default: "5s".
- failure
Threshold Number - Number of consecutive failed checks required before removing traffic. Default: 2.
- host String
- Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
- success
Threshold Number - Number of consecutive successful checks required before receiving traffic. Default: 2.
- timeout String
- Time before the check is considered failed. Default: "4s"
FlexibleAppVersionResources, FlexibleAppVersionResourcesArgs
- Cpu int
- Number of CPU cores needed.
- Disk
Gb int - Disk size (GB) needed.
- Memory
Gb double - Memory (GB) needed.
- Volumes
List<Flexible
App Version Resources Volume> - List of ports, or port pairs, to forward from the virtual machine to the application container. Structure is documented below.
- Cpu int
- Number of CPU cores needed.
- Disk
Gb int - Disk size (GB) needed.
- Memory
Gb float64 - Memory (GB) needed.
- Volumes
[]Flexible
App Version Resources Volume - List of ports, or port pairs, to forward from the virtual machine to the application container. Structure is documented below.
- cpu Integer
- Number of CPU cores needed.
- disk
Gb Integer - Disk size (GB) needed.
- memory
Gb Double - Memory (GB) needed.
- volumes
List<Flexible
App Version Resources Volume> - List of ports, or port pairs, to forward from the virtual machine to the application container. Structure is documented below.
- cpu number
- Number of CPU cores needed.
- disk
Gb number - Disk size (GB) needed.
- memory
Gb number - Memory (GB) needed.
- volumes
Flexible
App Version Resources Volume[] - List of ports, or port pairs, to forward from the virtual machine to the application container. Structure is documented below.
- cpu int
- Number of CPU cores needed.
- disk_
gb int - Disk size (GB) needed.
- memory_
gb float - Memory (GB) needed.
- volumes
Sequence[Flexible
App Version Resources Volume] - List of ports, or port pairs, to forward from the virtual machine to the application container. Structure is documented below.
- cpu Number
- Number of CPU cores needed.
- disk
Gb Number - Disk size (GB) needed.
- memory
Gb Number - Memory (GB) needed.
- volumes List<Property Map>
- List of ports, or port pairs, to forward from the virtual machine to the application container. Structure is documented below.
FlexibleAppVersionResourcesVolume, FlexibleAppVersionResourcesVolumeArgs
- Name string
- Unique name for the volume.
- Size
Gb int - Volume size in gigabytes.
- Volume
Type string - Underlying volume type, e.g. 'tmpfs'.
- Name string
- Unique name for the volume.
- Size
Gb int - Volume size in gigabytes.
- Volume
Type string - Underlying volume type, e.g. 'tmpfs'.
- name String
- Unique name for the volume.
- size
Gb Integer - Volume size in gigabytes.
- volume
Type String - Underlying volume type, e.g. 'tmpfs'.
- name string
- Unique name for the volume.
- size
Gb number - Volume size in gigabytes.
- volume
Type string - Underlying volume type, e.g. 'tmpfs'.
- name str
- Unique name for the volume.
- size_
gb int - Volume size in gigabytes.
- volume_
type str - Underlying volume type, e.g. 'tmpfs'.
- name String
- Unique name for the volume.
- size
Gb Number - Volume size in gigabytes.
- volume
Type String - Underlying volume type, e.g. 'tmpfs'.
FlexibleAppVersionVpcAccessConnector, FlexibleAppVersionVpcAccessConnectorArgs
- Name string
- Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- Name string
- Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- name String
- Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- name string
- Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- name str
- Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- name String
- Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
Import
FlexibleAppVersion can be imported using any of these accepted formats:
apps/{{project}}/services/{{service}}/versions/{{version_id}}
{{project}}/{{service}}/{{version_id}}
{{service}}/{{version_id}}
When using the pulumi import
command, FlexibleAppVersion can be imported using one of the formats above. For example:
$ pulumi import gcp:appengine/flexibleAppVersion:FlexibleAppVersion default apps/{{project}}/services/{{service}}/versions/{{version_id}}
$ pulumi import gcp:appengine/flexibleAppVersion:FlexibleAppVersion default {{project}}/{{service}}/{{version_id}}
$ pulumi import gcp:appengine/flexibleAppVersion:FlexibleAppVersion default {{service}}/{{version_id}}
To learn more about importing existing cloud resources, see Importing resources.
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.