Class Application
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.
Warning: All arguments including
iap.oauth2_client_secretwill be stored in the raw state as plain-text. Read more about sensitive data in state.
Example Usage
using Pulumi;
using Gcp = Pulumi.Gcp;
class MyStack : Stack
{
public MyStack()
{
var myProject = new Gcp.Organizations.Project("myProject", new Gcp.Organizations.ProjectArgs
{
ProjectId = "your-project-id",
OrgId = "1234567",
});
var app = new Gcp.AppEngine.Application("app", new Gcp.AppEngine.ApplicationArgs
{
Project = myProject.ProjectId,
LocationId = "us-central",
});
}
}
Inherited Members
Namespace: Pulumi.Gcp.AppEngine
Assembly: Pulumi.Gcp.dll
Syntax
public class Application : CustomResource
Constructors
View SourceApplication(String, ApplicationArgs, CustomResourceOptions)
Create a Application resource with the given unique name, arguments, and options.
Declaration
public Application(string name, ApplicationArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ApplicationArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAppId
Identifier of the app, usually {PROJECT_ID}
Declaration
public Output<string> AppId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AuthDomain
The domain to authenticate users with when using App Engine's User API.
Declaration
public Output<string> AuthDomain { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CodeBucket
The GCS bucket code is being stored in for this app.
Declaration
public Output<string> CodeBucket { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DefaultBucket
The GCS bucket content is being stored in for this app.
Declaration
public Output<string> DefaultBucket { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DefaultHostname
The default hostname for this app.
Declaration
public Output<string> DefaultHostname { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
FeatureSettings
A block of optional settings to configure specific App Engine features:
Declaration
public Output<ApplicationFeatureSettings> FeatureSettings { get; }
Property Value
| Type | Description |
|---|---|
| Output<ApplicationFeatureSettings> |
GcrDomain
The GCR domain used for storing managed Docker images for this app.
Declaration
public Output<string> GcrDomain { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Iap
Settings for enabling Cloud Identity Aware Proxy
Declaration
public Output<ApplicationIap> Iap { get; }
Property Value
| Type | Description |
|---|---|
| Output<ApplicationIap> |
LocationId
The location to serve the app from.
Declaration
public Output<string> LocationId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Unique name of the app, usually apps/{PROJECT_ID}
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Project
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.
Declaration
public Output<string> Project { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServingStatus
The serving status of the app.
Declaration
public Output<string> ServingStatus { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UrlDispatchRules
A list of dispatch rule blocks. Each block has a domain, path, and service field.
Declaration
public Output<ImmutableArray<ApplicationUrlDispatchRule>> UrlDispatchRules { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ApplicationUrlDispatchRule>> |
Methods
View SourceGet(String, Input<String>, ApplicationState, CustomResourceOptions)
Get an existing Application resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Application Get(string name, Input<string> id, ApplicationState 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. |
| ApplicationState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Application |