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.comIt should have the App Engine Flexible Environment Service Agent role, which will be applied when theappengineflex.googleapis.comservice is enabled.
To get more information about FlexibleAppVersion, see:
- API documentation
- How-to Guides
- Official Documentation
Inherited Members
Namespace: Pulumi.Gcp.AppEngine
Assembly: Pulumi.Gcp.dll
Syntax
public class FlexibleAppVersion : CustomResource
Constructors
View SourceFlexibleAppVersion(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 SourceApiConfig
Serving configuration for Google Cloud Endpoints. Structure is documented below.
Declaration
public Output<FlexibleAppVersionApiConfig> ApiConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<FlexibleAppVersionApiConfig> |
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> |
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>> |
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> |
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>> |
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> |
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> |
Entrypoint
The entrypoint for the application. Structure is documented below.
Declaration
public Output<FlexibleAppVersionEntrypoint> Entrypoint { get; }
Property Value
| Type | Description |
|---|---|
| Output<FlexibleAppVersionEntrypoint> |
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>> |
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>> |
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>> |
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> |
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> |
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> |
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> |
Network
Extra network settings Structure is documented below.
Declaration
public Output<FlexibleAppVersionNetwork> Network { get; }
Property Value
| Type | Description |
|---|---|
| Output<FlexibleAppVersionNetwork> |
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> |
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>> |
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> |
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> |
Resources
Machine resources for a version. Structure is documented below.
Declaration
public Output<FlexibleAppVersionResources> Resources { get; }
Property Value
| Type | Description |
|---|---|
| Output<FlexibleAppVersionResources> |
Runtime
Desired runtime. Example python27.
Declaration
public Output<string> Runtime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
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> |
RuntimeMainExecutablePath
The path or name of the app's main executable.
Declaration
public Output<string> RuntimeMainExecutablePath { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Service
AppEngine service resource
Declaration
public Output<string> Service { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
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> |
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 SourceGet(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 |