Version class
Deploys code and resource files to a new version. Auto-naming is currently not supported for this resource.
Constructors
- Version(String name, {VersionArgs? args, CustomResourceOptions? options})
-
Creates a new Version.
nameThe Pulumi resource name.argsArguments used to configure this Version. The set of arguments for Version.optionsResource options controlling this resource's behavior.
Properties
-
apiConfig
↔ Output<
ApiConfigHandlerResponse> -
Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET requests if view=FULL is set.
latefinal
-
appEngineApis
↔ Output<
bool> -
Allows App Engine second generation runtimes to access the legacy bundled services.
latefinal
-
appId
↔ Output<
String> -
latefinal
-
automaticScaling
↔ Output<
AutomaticScalingResponse> -
Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic.
latefinal
-
basicScaling
↔ Output<
BasicScalingResponse> -
A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.
latefinal
-
betaSettings
↔ Output<
Map< String, String> > -
Metadata settings that are supplied to this version to enable beta runtime features.
latefinal
-
buildEnvVariables
↔ Output<
Map< String, String> > -
Environment variables available to the build environment.Only returned in GET requests if view=FULL is set.
latefinal
-
childResources
→ Set<
Resource> -
finalinherited
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
createdBy
↔ Output<
String> -
Email address of the user who created this version.
latefinal
-
createTime
↔ Output<
String> -
Time that this version was created.
latefinal
-
defaultExpiration
↔ Output<
String> -
Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
latefinal
-
deployment
↔ Output<
DeploymentResponse> -
Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set.
latefinal
-
diskUsageBytes
↔ Output<
String> -
Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.
latefinal
-
endpointsApiService
↔ Output<
EndpointsApiServiceResponse> -
Cloud Endpoints configuration.If endpoints_api_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app.
latefinal
-
entrypoint
↔ Output<
EntrypointResponse> -
The entrypoint for the application.
latefinal
-
env
↔ Output<
String> -
App Engine execution environment for this version.Defaults to standard.
latefinal
-
envVariables
↔ Output<
Map< String, String> > -
Environment variables available to the application.Only returned in GET requests if view=FULL is set.
latefinal
-
errorHandlers
↔ Output<
List< Map< >String, dynamic> > -
Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
latefinal
-
flexibleRuntimeSettings
↔ Output<
FlexibleRuntimeSettingsResponse> -
Settings for App Engine flexible runtimes.
latefinal
-
generatedCustomerMetadata
↔ Output<
Map< String, String> > -
Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetVersionRequest
latefinal
-
handlers
↔ Output<
List< Map< >String, dynamic> > -
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.Only returned in GET requests if view=FULL is set.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
healthCheck
↔ Output<
HealthCheckResponse> -
Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment.
latefinal
-
id
↔ Output<
String> -
getter/setter pairinherited
-
inboundServices
↔ Output<
List< String> > -
Before an application can receive email or XMPP messages, the application must be configured to enable the service.
latefinal
-
instanceClass
↔ Output<
String> -
Instance class that is used to run this version. Valid values are: AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
latefinal
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
libraries
↔ Output<
List< Map< >String, dynamic> > -
Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.
latefinal
-
livenessCheck
↔ Output<
LivenessCheckResponse> -
Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instances
latefinal
-
manualScaling
↔ Output<
ManualScalingResponse> -
A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Manually scaled versions are sometimes referred to as "backends".
latefinal
-
name
↔ Output<
String> -
Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.
latefinal
-
network
↔ Output<
NetworkResponse> -
Extra network settings. Only applicable in the App Engine flexible environment.
latefinal
-
nobuildFilesRegex
↔ Output<
String> -
Files that match this pattern will not be built into this version. Only applicable for Go runtimes.Only returned in GET requests if view=FULL is set.
latefinal
-
readinessCheck
↔ Output<
ReadinessCheckResponse> -
Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation.
latefinal
-
resources
↔ Output<
ResourcesResponse> -
Machine resources for this version. Only applicable in the App Engine flexible environment.
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
-
runtime
↔ Output<
String> -
Desired runtime. Example: python27.
latefinal
-
runtimeApiVersion
↔ Output<
String> -
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
latefinal
-
runtimeChannel
↔ Output<
String> -
The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
latefinal
-
runtimeMainExecutablePath
↔ Output<
String> -
The path or name of the app's main executable.
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceAccount
↔ Output<
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.
latefinal
-
serviceId
↔ Output<
String> -
latefinal
-
servingStatus
↔ Output<
String> -
Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.
latefinal
-
threadsafe
↔ Output<
bool> -
Whether multiple requests can be dispatched to this version at once.
latefinal
-
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
urn
↔ Output<
String> -
latefinalinherited
-
versionUrl
↔ Output<
String> -
Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"
latefinal
-
vm
↔ Output<
bool> -
Whether to deploy this version in a container on a virtual machine.
latefinal
-
vpcAccessConnector
↔ Output<
VpcAccessConnectorResponse> -
Enables VPC connectivity for standard apps.
latefinal
-
zones
↔ Output<
List< String> > -
The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
latefinal
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited