import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Deploys code and resource files to a new version. */ export declare class AppServiceVersion extends pulumi.CustomResource { /** * Get an existing AppServiceVersion resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AppServiceVersion; /** * Returns true if the given object is an instance of AppServiceVersion. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AppServiceVersion; /** * Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set. */ readonly apiConfig: pulumi.Output; /** * app_engine_apis allows second generation runtimes to access the App Engine APIs. */ readonly appEngineApis: pulumi.Output; /** * 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. */ readonly automaticScaling: pulumi.Output; /** * 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. */ readonly basicScaling: pulumi.Output; /** * Metadata settings that are supplied to this version to enable beta runtime features. */ readonly betaSettings: pulumi.Output<{ [key: string]: string; }>; /** * Environment variables available to the build environment.Only returned in GET requests if view=FULL is set. */ readonly buildEnvVariables: pulumi.Output<{ [key: string]: string; }>; /** * Time that this version was created.@OutputOnly */ readonly createTime: pulumi.Output; /** * Email address of the user who created this version.@OutputOnly */ readonly createdBy: pulumi.Output; /** * 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/v1beta/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set. */ readonly defaultExpiration: pulumi.Output; /** * Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set. */ readonly deployment: pulumi.Output; /** * Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.@OutputOnly */ readonly diskUsageBytes: pulumi.Output; /** * 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. */ readonly endpointsApiService: pulumi.Output; /** * The entrypoint for the application. */ readonly entrypoint: pulumi.Output; /** * App Engine execution environment for this version.Defaults to standard. */ readonly env: pulumi.Output; /** * Environment variables available to the application.Only returned in GET requests if view=FULL is set. */ readonly envVariables: pulumi.Output<{ [key: string]: string; }>; /** * Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set. */ readonly errorHandlers: pulumi.Output; /** * 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. */ readonly handlers: pulumi.Output; /** * Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment.Only returned in GET requests if view=FULL is set. */ readonly healthCheck: pulumi.Output; /** * Before an application can receive email or XMPP messages, the application must be configured to enable the service. */ readonly inboundServices: pulumi.Output; /** * 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. */ readonly instanceClass: pulumi.Output; /** * Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set. */ readonly libraries: pulumi.Output; /** * Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set. */ readonly livenessCheck: pulumi.Output; /** * 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". */ readonly manualScaling: pulumi.Output; /** * Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly */ readonly name: pulumi.Output; /** * Extra network settings. Only applicable in the App Engine flexible environment. */ readonly network: pulumi.Output; /** * 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. */ readonly nobuildFilesRegex: pulumi.Output; /** * Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation.Only returned in GET requests if view=FULL is set. */ readonly readinessCheck: pulumi.Output; /** * Machine resources for this version. Only applicable in the App Engine flexible environment. */ readonly resources: pulumi.Output; /** * Desired runtime. Example: python27. */ readonly runtime: pulumi.Output; /** * 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 */ readonly runtimeApiVersion: pulumi.Output; /** * The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel. */ readonly runtimeChannel: pulumi.Output; /** * The path or name of the app's main executable. */ readonly runtimeMainExecutablePath: pulumi.Output; /** * 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. */ readonly serviceAccount: pulumi.Output; /** * 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. */ readonly servingStatus: pulumi.Output; /** * Whether multiple requests can be dispatched to this version at once. */ readonly threadsafe: pulumi.Output; /** * Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly */ readonly versionUrl: pulumi.Output; /** * Whether to deploy this version in a container on a virtual machine. */ readonly vm: pulumi.Output; /** * Enables VPC connectivity for standard apps. */ readonly vpcAccessConnector: pulumi.Output; /** * Create a AppServiceVersion resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AppServiceVersionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a AppServiceVersion resource. */ export interface AppServiceVersionArgs { /** * Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set. */ readonly apiConfig?: pulumi.Input; /** * app_engine_apis allows second generation runtimes to access the App Engine APIs. */ readonly appEngineApis?: pulumi.Input; readonly appsId: pulumi.Input; /** * 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. */ readonly automaticScaling?: pulumi.Input; /** * 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. */ readonly basicScaling?: pulumi.Input; /** * Metadata settings that are supplied to this version to enable beta runtime features. */ readonly betaSettings?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Environment variables available to the build environment.Only returned in GET requests if view=FULL is set. */ readonly buildEnvVariables?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Time that this version was created.@OutputOnly */ readonly createTime?: pulumi.Input; /** * Email address of the user who created this version.@OutputOnly */ readonly createdBy?: pulumi.Input; /** * 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/v1beta/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set. */ readonly defaultExpiration?: pulumi.Input; /** * Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set. */ readonly deployment?: pulumi.Input; /** * Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.@OutputOnly */ readonly diskUsageBytes?: pulumi.Input; /** * 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. */ readonly endpointsApiService?: pulumi.Input; /** * The entrypoint for the application. */ readonly entrypoint?: pulumi.Input; /** * App Engine execution environment for this version.Defaults to standard. */ readonly env?: pulumi.Input; /** * Environment variables available to the application.Only returned in GET requests if view=FULL is set. */ readonly envVariables?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set. */ readonly errorHandlers?: pulumi.Input[]>; /** * 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. */ readonly handlers?: pulumi.Input[]>; /** * Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment.Only returned in GET requests if view=FULL is set. */ readonly healthCheck?: pulumi.Input; /** * Relative name of the version within the service. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: "default", "latest", and any name with the prefix "ah-". */ readonly id?: pulumi.Input; /** * Before an application can receive email or XMPP messages, the application must be configured to enable the service. */ readonly inboundServices?: pulumi.Input[]>; /** * 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. */ readonly instanceClass?: pulumi.Input; /** * Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set. */ readonly libraries?: pulumi.Input[]>; /** * Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set. */ readonly livenessCheck?: pulumi.Input; /** * 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". */ readonly manualScaling?: pulumi.Input; /** * Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly */ readonly name?: pulumi.Input; /** * Extra network settings. Only applicable in the App Engine flexible environment. */ readonly network?: pulumi.Input; /** * 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. */ readonly nobuildFilesRegex?: pulumi.Input; /** * Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation.Only returned in GET requests if view=FULL is set. */ readonly readinessCheck?: pulumi.Input; /** * Machine resources for this version. Only applicable in the App Engine flexible environment. */ readonly resources?: pulumi.Input; /** * Desired runtime. Example: python27. */ readonly runtime?: pulumi.Input; /** * 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 */ readonly runtimeApiVersion?: pulumi.Input; /** * The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel. */ readonly runtimeChannel?: pulumi.Input; /** * The path or name of the app's main executable. */ readonly runtimeMainExecutablePath?: pulumi.Input; /** * 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. */ readonly serviceAccount?: pulumi.Input; readonly servicesId: pulumi.Input; /** * 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. */ readonly servingStatus?: pulumi.Input; /** * Whether multiple requests can be dispatched to this version at once. */ readonly threadsafe?: pulumi.Input; /** * Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly */ readonly versionUrl?: pulumi.Input; readonly versionsId: pulumi.Input; /** * Whether to deploy this version in a container on a virtual machine. */ readonly vm?: pulumi.Input; /** * Enables VPC connectivity for standard apps. */ readonly vpcAccessConnector?: pulumi.Input; }