Show / Hide Table of Contents

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_secret will 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",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Application
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.AppEngine
Assembly: Pulumi.Gcp.dll
Syntax
public class Application : CustomResource

Constructors

View Source

Application(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 Source

AppId

Identifier of the app, usually {PROJECT_ID}

Declaration
public Output<string> AppId { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

DefaultHostname

The default hostname for this app.

Declaration
public Output<string> DefaultHostname { get; }
Property Value
Type Description
Output<System.String>
View Source

FeatureSettings

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

Declaration
public Output<ApplicationFeatureSettings> FeatureSettings { get; }
Property Value
Type Description
Output<ApplicationFeatureSettings>
View Source

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>
View Source

Iap

Settings for enabling Cloud Identity Aware Proxy

Declaration
public Output<ApplicationIap> Iap { get; }
Property Value
Type Description
Output<ApplicationIap>
View Source

LocationId

The location to serve the app from.

Declaration
public Output<string> LocationId { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

Unique name of the app, usually apps/{PROJECT_ID}

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

ServingStatus

The serving status of the app.

Declaration
public Output<string> ServingStatus { get; }
Property Value
Type Description
Output<System.String>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.