Class StandardAppVersion
Standard App Version resource to create a new version of standard GAE Application. Learn about the differences between the standard environment and the flexible environment at https://cloud.google.com/appengine/docs/the-appengine-environments. Currently supporting Zip and File Containers.
To get more information about StandardAppVersion, see:
- API documentation
- How-to Guides
- Official Documentation
Inherited Members
Namespace: Pulumi.Gcp.AppEngine
Assembly: Pulumi.Gcp.dll
Syntax
public class StandardAppVersion : CustomResource
Constructors
View SourceStandardAppVersion(String, StandardAppVersionArgs, CustomResourceOptions)
Create a StandardAppVersion resource with the given unique name, arguments, and options.
Declaration
public StandardAppVersion(string name, StandardAppVersionArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| StandardAppVersionArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAutomaticScaling
Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
Declaration
public Output<StandardAppVersionAutomaticScaling> AutomaticScaling { get; }
Property Value
| Type | Description |
|---|---|
| Output<StandardAppVersionAutomaticScaling> |
BasicScaling
Basic scaling creates instances when your application receives requests. Each instance will be shut down when the application becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. Structure is documented below.
Declaration
public Output<StandardAppVersionBasicScaling> BasicScaling { get; }
Property Value
| Type | Description |
|---|---|
| Output<StandardAppVersionBasicScaling> |
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<StandardAppVersionDeployment> Deployment { get; }
Property Value
| Type | Description |
|---|---|
| Output<StandardAppVersionDeployment> |
Entrypoint
The entrypoint for the application. Structure is documented below.
Declaration
public Output<StandardAppVersionEntrypoint> Entrypoint { get; }
Property Value
| Type | Description |
|---|---|
| Output<StandardAppVersionEntrypoint> |
EnvVariables
Environment variables available to the application.
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<StandardAppVersionHandler>> Handlers { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<StandardAppVersionHandler>> |
InstanceClass
Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G BasicScaling or ManualScaling: B1, B2, B4, B4_1G, B8 Defaults to F1 for AutomaticScaling and B2 for ManualScaling and BasicScaling. If no scaling is specified, AutomaticScaling is chosen.
Declaration
public Output<string> InstanceClass { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Libraries
Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.
Declaration
public Output<ImmutableArray<StandardAppVersionLibrary>> Libraries { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<StandardAppVersionLibrary>> |
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<StandardAppVersionManualScaling> ManualScaling { get; }
Property Value
| Type | Description |
|---|---|
| Output<StandardAppVersionManualScaling> |
Name
Name of the library. Example "django".
Declaration
public Output<string> Name { 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> |
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> |
Service
AppEngine service resource
Declaration
public Output<string> Service { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Threadsafe
Whether multiple requests can be dispatched to this version at once.
Declaration
public Output<bool?> Threadsafe { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
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> |
Methods
View SourceGet(String, Input<String>, StandardAppVersionState, CustomResourceOptions)
Get an existing StandardAppVersion resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static StandardAppVersion Get(string name, Input<string> id, StandardAppVersionState 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. |
| StandardAppVersionState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| StandardAppVersion |