Show / Hide Table of Contents

Class FlexibleAppVersion

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 the appengineflex.googleapis.com service is enabled.

To get more information about FlexibleAppVersion, see:

  • API documentation
  • How-to Guides
  • Official Documentation
Inheritance
System.Object
Resource
CustomResource
FlexibleAppVersion
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.AppEngine
Assembly: Pulumi.Gcp.dll
Syntax
public class FlexibleAppVersion : CustomResource

Constructors

View Source

FlexibleAppVersion(String, FlexibleAppVersionArgs, CustomResourceOptions)

Create a FlexibleAppVersion resource with the given unique name, arguments, and options.

Declaration
public FlexibleAppVersion(string name, FlexibleAppVersionArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

FlexibleAppVersionArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ApiConfig

Serving configuration for Google Cloud Endpoints. Structure is documented below.

Declaration
public Output<FlexibleAppVersionApiConfig> ApiConfig { get; }
Property Value
Type Description
Output<FlexibleAppVersionApiConfig>
View Source

AutomaticScaling

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

Declaration
public Output<FlexibleAppVersionAutomaticScaling> AutomaticScaling { get; }
Property Value
Type Description
Output<FlexibleAppVersionAutomaticScaling>
View Source

BetaSettings

Metadata settings that are supplied to this version to enable beta runtime features.

Declaration
public Output<ImmutableDictionary<string, string>> BetaSettings { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

DefaultExpiration

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.

Declaration
public Output<string> DefaultExpiration { get; }
Property Value
Type Description
Output<System.String>
View Source

DeleteServiceOnDestroy

If set to true, the service will be deleted if it is the last version.

Declaration
public Output<bool?> DeleteServiceOnDestroy { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Deployment

Code and application artifacts that make up this version. Structure is documented below.

Declaration
public Output<FlexibleAppVersionDeployment> Deployment { get; }
Property Value
Type Description
Output<FlexibleAppVersionDeployment>
View Source

EndpointsApiService

Code and application artifacts that make up this version. Structure is documented below.

Declaration
public Output<FlexibleAppVersionEndpointsApiService> EndpointsApiService { get; }
Property Value
Type Description
Output<FlexibleAppVersionEndpointsApiService>
View Source

Entrypoint

The entrypoint for the application. Structure is documented below.

Declaration
public Output<FlexibleAppVersionEntrypoint> Entrypoint { get; }
Property Value
Type Description
Output<FlexibleAppVersionEntrypoint>
View Source

EnvVariables

Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.

Declaration
public Output<ImmutableDictionary<string, string>> EnvVariables { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

Handlers

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. Structure is documented below.

Declaration
public Output<ImmutableArray<FlexibleAppVersionHandler>> Handlers { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<FlexibleAppVersionHandler>>
View Source

InboundServices

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

Declaration
public Output<ImmutableArray<string>> InboundServices { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

InstanceClass

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.

Declaration
public Output<string> InstanceClass { get; }
Property Value
Type Description
Output<System.String>
View Source

LivenessCheck

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.

Declaration
public Output<FlexibleAppVersionLivenessCheck> LivenessCheck { get; }
Property Value
Type Description
Output<FlexibleAppVersionLivenessCheck>
View Source

ManualScaling

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

Declaration
public Output<FlexibleAppVersionManualScaling> ManualScaling { get; }
Property Value
Type Description
Output<FlexibleAppVersionManualScaling>
View Source

Name

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Network

Extra network settings Structure is documented below.

Declaration
public Output<FlexibleAppVersionNetwork> Network { get; }
Property Value
Type Description
Output<FlexibleAppVersionNetwork>
View Source

NobuildFilesRegex

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

Declaration
public Output<string> NobuildFilesRegex { get; }
Property Value
Type Description
Output<System.String>
View Source

NoopOnDestroy

If set to true, the application version will not be deleted.

Declaration
public Output<bool?> NoopOnDestroy { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Declaration
public Output<string> Project { get; }
Property Value
Type Description
Output<System.String>
View Source

ReadinessCheck

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.

Declaration
public Output<FlexibleAppVersionReadinessCheck> ReadinessCheck { get; }
Property Value
Type Description
Output<FlexibleAppVersionReadinessCheck>
View Source

Resources

Machine resources for a version. Structure is documented below.

Declaration
public Output<FlexibleAppVersionResources> Resources { get; }
Property Value
Type Description
Output<FlexibleAppVersionResources>
View Source

Runtime

Desired runtime. Example python27.

Declaration
public Output<string> Runtime { get; }
Property Value
Type Description
Output<System.String>
View Source

RuntimeApiVersion

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

Declaration
public Output<string> RuntimeApiVersion { get; }
Property Value
Type Description
Output<System.String>
View Source

RuntimeChannel

The channel of the runtime to use. Only available for some runtimes.

Declaration
public Output<string> RuntimeChannel { get; }
Property Value
Type Description
Output<System.String>
View Source

RuntimeMainExecutablePath

The path or name of the app's main executable.

Declaration
public Output<string> RuntimeMainExecutablePath { get; }
Property Value
Type Description
Output<System.String>
View Source

Service

AppEngine service resource

Declaration
public Output<string> Service { get; }
Property Value
Type Description
Output<System.String>
View Source

ServingStatus

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.

Declaration
public Output<string> ServingStatus { get; }
Property Value
Type Description
Output<System.String>
View Source

VersionId

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-".

Declaration
public Output<string> VersionId { get; }
Property Value
Type Description
Output<System.String>
View Source

VpcAccessConnector

Enables VPC connectivity for standard apps. Structure is documented below.

Declaration
public Output<FlexibleAppVersionVpcAccessConnector> VpcAccessConnector { get; }
Property Value
Type Description
Output<FlexibleAppVersionVpcAccessConnector>

Methods

View Source

Get(String, Input<String>, FlexibleAppVersionState, CustomResourceOptions)

Get an existing FlexibleAppVersion resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static FlexibleAppVersion Get(string name, Input<string> id, FlexibleAppVersionState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

FlexibleAppVersionState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
FlexibleAppVersion
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.