ApplicationArgs

data class ApplicationArgs(val authDomain: Output<String>? = null, val databaseType: Output<String>? = null, val featureSettings: Output<ApplicationFeatureSettingsArgs>? = null, val iap: Output<ApplicationIapArgs>? = null, val locationId: Output<String>? = null, val project: Output<String>? = null, val servingStatus: Output<String>? = null) : ConvertibleToJava<ApplicationArgs>

Allows creation and management of an App Engine application.

App Engine applications cannot be deleted once they're created; you have to delete the entire project to delete the application. This provider will report the application has been successfully deleted; this is a limitation of the provider, and will go away in the future. This provider is not able to delete App Engine applications.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.Project;
import com.pulumi.gcp.organizations.ProjectArgs;
import com.pulumi.gcp.appengine.Application;
import com.pulumi.gcp.appengine.ApplicationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var myProject = new Project("myProject", ProjectArgs.builder()
.projectId("your-project-id")
.orgId("1234567")
.build());
var app = new Application("app", ApplicationArgs.builder()
.project(myProject.projectId())
.locationId("us-central")
.build());
}
}

Import

Applications can be imported using the ID of the project the application belongs to, e.g. * {{project-id}} In Terraform v1.5.0 and later, use an import block to import an Application using one of the formats above. For exampletf import { id = "{{project-id}}" to = google_app_engine_application.default }

$ pulumi import gcp:appengine/application:Application When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Applications can be imported using one of the formats above. For example
$ pulumi import gcp:appengine/application:Application default {{project-id}}

Constructors

Link copied to clipboard
fun ApplicationArgs(authDomain: Output<String>? = null, databaseType: Output<String>? = null, featureSettings: Output<ApplicationFeatureSettingsArgs>? = null, iap: Output<ApplicationIapArgs>? = null, locationId: Output<String>? = null, project: Output<String>? = null, servingStatus: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ApplicationArgs

Properties

Link copied to clipboard
val authDomain: Output<String>? = null

The domain to authenticate users with when using App Engine's User API.

Link copied to clipboard
val databaseType: Output<String>? = null

The type of the Cloud Firestore or Cloud Datastore database associated with this application. Can be CLOUD_FIRESTORE or CLOUD_DATASTORE_COMPATIBILITY for new instances. To support old instances, the value CLOUD_DATASTORE is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use the gcp.firestore.Database resource instead.

Link copied to clipboard

A block of optional settings to configure specific App Engine features:

Link copied to clipboard
val iap: Output<ApplicationIapArgs>? = null

Settings for enabling Cloud Identity Aware Proxy

Link copied to clipboard
val locationId: Output<String>? = null

The location to serve the app from.

Link copied to clipboard
val project: Output<String>? = null

The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a "Permission denied" error.

Link copied to clipboard
val servingStatus: Output<String>? = null

The serving status of the app.