appengine

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

nolint: lll Package appengine exports types, functions, subpackages for provisioning appengine resources.

> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-google) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-gcp` repo](https://github.com/pulumi/pulumi-gcp/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-google` repo](https://github.com/terraform-providers/terraform-provider-google/issues).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	// contains filtered or unexported fields
}

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 this provider, and will go away in the future.
This provider is not able to delete App Engine applications.

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/app_engine_application.html.markdown.

func GetApplication

func GetApplication(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ApplicationState, opts ...pulumi.ResourceOpt) (*Application, error)

GetApplication gets an existing Application resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApplication

func NewApplication(ctx *pulumi.Context,
	name string, args *ApplicationArgs, opts ...pulumi.ResourceOpt) (*Application, error)

NewApplication registers a new resource with the given unique name, arguments, and options.

func (*Application) AppId added in v1.2.0

func (r *Application) AppId() *pulumi.StringOutput

Identifier of the app, usually `{PROJECT_ID}`

func (*Application) AuthDomain

func (r *Application) AuthDomain() *pulumi.StringOutput

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

func (*Application) CodeBucket

func (r *Application) CodeBucket() *pulumi.StringOutput

The GCS bucket code is being stored in for this app.

func (*Application) DefaultBucket

func (r *Application) DefaultBucket() *pulumi.StringOutput

The GCS bucket content is being stored in for this app.

func (*Application) DefaultHostname

func (r *Application) DefaultHostname() *pulumi.StringOutput

The default hostname for this app.

func (*Application) FeatureSettings

func (r *Application) FeatureSettings() *pulumi.Output

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

func (*Application) GcrDomain

func (r *Application) GcrDomain() *pulumi.StringOutput

The GCR domain used for storing managed Docker images for this app.

func (*Application) ID

func (r *Application) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Application) LocationId

func (r *Application) LocationId() *pulumi.StringOutput

The [location](https://cloud.google.com/appengine/docs/locations) to serve the app from.

func (*Application) Name

func (r *Application) Name() *pulumi.StringOutput

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

func (*Application) Project

func (r *Application) Project() *pulumi.StringOutput

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.

func (*Application) ServingStatus

func (r *Application) ServingStatus() *pulumi.StringOutput

The serving status of the app.

func (*Application) URN

func (r *Application) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Application) UrlDispatchRules

func (r *Application) UrlDispatchRules() *pulumi.ArrayOutput

A list of dispatch rule blocks. Each block has a `domain`, `path`, and `service` field.

type ApplicationArgs

type ApplicationArgs struct {
	// The domain to authenticate users with when using App Engine's User API.
	AuthDomain interface{}
	// A block of optional settings to configure specific App Engine features:
	FeatureSettings interface{}
	// The [location](https://cloud.google.com/appengine/docs/locations)
	// to serve the app from.
	LocationId interface{}
	// 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.
	Project interface{}
	// The serving status of the app.
	ServingStatus interface{}
}

The set of arguments for constructing a Application resource.

type ApplicationState

type ApplicationState struct {
	// Identifier of the app, usually `{PROJECT_ID}`
	AppId interface{}
	// The domain to authenticate users with when using App Engine's User API.
	AuthDomain interface{}
	// The GCS bucket code is being stored in for this app.
	CodeBucket interface{}
	// The GCS bucket content is being stored in for this app.
	DefaultBucket interface{}
	// The default hostname for this app.
	DefaultHostname interface{}
	// A block of optional settings to configure specific App Engine features:
	FeatureSettings interface{}
	// The GCR domain used for storing managed Docker images for this app.
	GcrDomain interface{}
	// The [location](https://cloud.google.com/appengine/docs/locations)
	// to serve the app from.
	LocationId interface{}
	// Unique name of the app, usually `apps/{PROJECT_ID}`
	Name interface{}
	// 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.
	Project interface{}
	// The serving status of the app.
	ServingStatus interface{}
	// A list of dispatch rule blocks. Each block has a `domain`, `path`, and `service` field.
	UrlDispatchRules interface{}
}

Input properties used for looking up and filtering Application resources.

type ApplicationUrlDispatchRules added in v1.4.0

type ApplicationUrlDispatchRules struct {
	// contains filtered or unexported fields
}

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/app_engine_application_url_dispatch_rules.html.markdown.

func GetApplicationUrlDispatchRules added in v1.4.0

func GetApplicationUrlDispatchRules(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ApplicationUrlDispatchRulesState, opts ...pulumi.ResourceOpt) (*ApplicationUrlDispatchRules, error)

GetApplicationUrlDispatchRules gets an existing ApplicationUrlDispatchRules resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApplicationUrlDispatchRules added in v1.4.0

func NewApplicationUrlDispatchRules(ctx *pulumi.Context,
	name string, args *ApplicationUrlDispatchRulesArgs, opts ...pulumi.ResourceOpt) (*ApplicationUrlDispatchRules, error)

NewApplicationUrlDispatchRules registers a new resource with the given unique name, arguments, and options.

func (*ApplicationUrlDispatchRules) DispatchRules added in v1.4.0

func (r *ApplicationUrlDispatchRules) DispatchRules() *pulumi.ArrayOutput

Rules to match an HTTP request and dispatch that request to a service.

func (*ApplicationUrlDispatchRules) ID added in v1.4.0

ID is this resource's unique identifier assigned by its provider.

func (*ApplicationUrlDispatchRules) Project added in v1.4.0

func (*ApplicationUrlDispatchRules) URN added in v1.4.0

URN is this resource's unique name assigned by Pulumi.

type ApplicationUrlDispatchRulesArgs added in v1.4.0

type ApplicationUrlDispatchRulesArgs struct {
	// Rules to match an HTTP request and dispatch that request to a service.
	DispatchRules interface{}
	Project       interface{}
}

The set of arguments for constructing a ApplicationUrlDispatchRules resource.

type ApplicationUrlDispatchRulesState added in v1.4.0

type ApplicationUrlDispatchRulesState struct {
	// Rules to match an HTTP request and dispatch that request to a service.
	DispatchRules interface{}
	Project       interface{}
}

Input properties used for looking up and filtering ApplicationUrlDispatchRules resources.

type DomainMapping added in v1.2.0

type DomainMapping struct {
	// contains filtered or unexported fields
}

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/app_engine_domain_mapping.html.markdown.

func GetDomainMapping added in v1.2.0

func GetDomainMapping(ctx *pulumi.Context,
	name string, id pulumi.ID, state *DomainMappingState, opts ...pulumi.ResourceOpt) (*DomainMapping, error)

GetDomainMapping gets an existing DomainMapping resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDomainMapping added in v1.2.0

func NewDomainMapping(ctx *pulumi.Context,
	name string, args *DomainMappingArgs, opts ...pulumi.ResourceOpt) (*DomainMapping, error)

NewDomainMapping registers a new resource with the given unique name, arguments, and options.

func (*DomainMapping) DomainName added in v1.2.0

func (r *DomainMapping) DomainName() *pulumi.StringOutput

Relative name of the domain serving the application. Example: example.com.

func (*DomainMapping) ID added in v1.2.0

func (r *DomainMapping) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*DomainMapping) Name added in v1.2.0

func (r *DomainMapping) Name() *pulumi.StringOutput

Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.

func (*DomainMapping) OverrideStrategy added in v1.2.0

func (r *DomainMapping) OverrideStrategy() *pulumi.StringOutput

Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.

func (*DomainMapping) Project added in v1.2.0

func (r *DomainMapping) Project() *pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (*DomainMapping) ResourceRecords added in v1.2.0

func (r *DomainMapping) ResourceRecords() *pulumi.ArrayOutput

The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping.

func (*DomainMapping) SslSettings added in v1.2.0

func (r *DomainMapping) SslSettings() *pulumi.Output

SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.

func (*DomainMapping) URN added in v1.2.0

func (r *DomainMapping) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type DomainMappingArgs added in v1.2.0

type DomainMappingArgs struct {
	// Relative name of the domain serving the application. Example: example.com.
	DomainName interface{}
	// Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
	OverrideStrategy interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project interface{}
	// SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
	SslSettings interface{}
}

The set of arguments for constructing a DomainMapping resource.

type DomainMappingState added in v1.2.0

type DomainMappingState struct {
	// Relative name of the domain serving the application. Example: example.com.
	DomainName interface{}
	// Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.
	Name interface{}
	// Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
	OverrideStrategy interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project interface{}
	// The resource records required to configure this domain mapping. These records must be added to the domain's DNS
	// configuration in order to serve the application via this domain mapping.
	ResourceRecords interface{}
	// SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
	SslSettings interface{}
}

Input properties used for looking up and filtering DomainMapping resources.

type FirewallRule added in v0.18.0

type FirewallRule struct {
	// contains filtered or unexported fields
}

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/app_engine_firewall_rule.html.markdown.

func GetFirewallRule added in v0.18.0

func GetFirewallRule(ctx *pulumi.Context,
	name string, id pulumi.ID, state *FirewallRuleState, opts ...pulumi.ResourceOpt) (*FirewallRule, error)

GetFirewallRule gets an existing FirewallRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFirewallRule added in v0.18.0

func NewFirewallRule(ctx *pulumi.Context,
	name string, args *FirewallRuleArgs, opts ...pulumi.ResourceOpt) (*FirewallRule, error)

NewFirewallRule registers a new resource with the given unique name, arguments, and options.

func (*FirewallRule) Action added in v0.18.0

func (r *FirewallRule) Action() *pulumi.StringOutput

The action to take if this rule matches.

func (*FirewallRule) Description added in v0.18.0

func (r *FirewallRule) Description() *pulumi.StringOutput

An optional string description of this rule.

func (*FirewallRule) ID added in v0.18.0

func (r *FirewallRule) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*FirewallRule) Priority added in v0.18.0

func (r *FirewallRule) Priority() *pulumi.IntOutput

A positive integer that defines the order of rule evaluation. Rules with the lowest priority are evaluated first. A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule matches. Only the action of this rule can be modified by the user.

func (*FirewallRule) Project added in v0.18.0

func (r *FirewallRule) Project() *pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (*FirewallRule) SourceRange added in v0.18.0

func (r *FirewallRule) SourceRange() *pulumi.StringOutput

IP address or range, defined using CIDR notation, of requests that this rule applies to.

func (*FirewallRule) URN added in v0.18.0

func (r *FirewallRule) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type FirewallRuleArgs added in v0.18.0

type FirewallRuleArgs struct {
	// The action to take if this rule matches.
	Action interface{}
	// An optional string description of this rule.
	Description interface{}
	// A positive integer that defines the order of rule evaluation. Rules with the lowest priority are evaluated first. A
	// default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule matches. Only the
	// action of this rule can be modified by the user.
	Priority interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project interface{}
	// IP address or range, defined using CIDR notation, of requests that this rule applies to.
	SourceRange interface{}
}

The set of arguments for constructing a FirewallRule resource.

type FirewallRuleState added in v0.18.0

type FirewallRuleState struct {
	// The action to take if this rule matches.
	Action interface{}
	// An optional string description of this rule.
	Description interface{}
	// A positive integer that defines the order of rule evaluation. Rules with the lowest priority are evaluated first. A
	// default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule matches. Only the
	// action of this rule can be modified by the user.
	Priority interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project interface{}
	// IP address or range, defined using CIDR notation, of requests that this rule applies to.
	SourceRange interface{}
}

Input properties used for looking up and filtering FirewallRule resources.

type StandardAppVersion added in v1.1.0

type StandardAppVersion struct {
	// contains filtered or unexported fields
}

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/app_engine_standard_app_version.html.markdown.

func GetStandardAppVersion added in v1.1.0

func GetStandardAppVersion(ctx *pulumi.Context,
	name string, id pulumi.ID, state *StandardAppVersionState, opts ...pulumi.ResourceOpt) (*StandardAppVersion, error)

GetStandardAppVersion gets an existing StandardAppVersion resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStandardAppVersion added in v1.1.0

func NewStandardAppVersion(ctx *pulumi.Context,
	name string, args *StandardAppVersionArgs, opts ...pulumi.ResourceOpt) (*StandardAppVersion, error)

NewStandardAppVersion registers a new resource with the given unique name, arguments, and options.

func (*StandardAppVersion) DeleteServiceOnDestroy added in v1.4.0

func (r *StandardAppVersion) DeleteServiceOnDestroy() *pulumi.BoolOutput

If set to `true`, the service will be deleted if it is the last version.

func (*StandardAppVersion) Deployment added in v1.1.0

func (r *StandardAppVersion) Deployment() *pulumi.Output

Code and application artifacts that make up this version.

func (*StandardAppVersion) Entrypoint added in v1.1.0

func (r *StandardAppVersion) Entrypoint() *pulumi.Output

The entrypoint for the application.

func (*StandardAppVersion) EnvVariables added in v1.1.0

func (r *StandardAppVersion) EnvVariables() *pulumi.MapOutput

Environment variables available to the application.

func (*StandardAppVersion) Handlers added in v1.1.0

func (r *StandardAppVersion) Handlers() *pulumi.ArrayOutput

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.

func (*StandardAppVersion) ID added in v1.1.0

ID is this resource's unique identifier assigned by its provider.

func (*StandardAppVersion) InstanceClass added in v1.4.0

func (r *StandardAppVersion) InstanceClass() *pulumi.StringOutput

Instance class that is used to run this version. Valid values are AutomaticScaling F1, F2, F4, F4_1G (Only AutomaticScaling is supported at the moment)

func (*StandardAppVersion) Libraries added in v1.1.0

func (r *StandardAppVersion) Libraries() *pulumi.ArrayOutput

Configuration for third-party Python runtime libraries that are required by the application.

func (*StandardAppVersion) Name added in v1.1.0

Full path to the Version resource in the API. Example, "v1".

func (*StandardAppVersion) NoopOnDestroy added in v1.1.0

func (r *StandardAppVersion) NoopOnDestroy() *pulumi.BoolOutput

If set to `true`, the application version will not be deleted.

func (*StandardAppVersion) Project added in v1.1.0

func (r *StandardAppVersion) Project() *pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (*StandardAppVersion) Runtime added in v1.1.0

func (r *StandardAppVersion) Runtime() *pulumi.StringOutput

Desired runtime. Example python27.

func (*StandardAppVersion) RuntimeApiVersion added in v1.1.0

func (r *StandardAppVersion) RuntimeApiVersion() *pulumi.StringOutput

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

func (*StandardAppVersion) Service added in v1.1.0

func (r *StandardAppVersion) Service() *pulumi.StringOutput

AppEngine service resource

func (*StandardAppVersion) Threadsafe added in v1.1.0

func (r *StandardAppVersion) Threadsafe() *pulumi.BoolOutput

Whether multiple requests can be dispatched to this version at once.

func (*StandardAppVersion) URN added in v1.1.0

URN is this resource's unique name assigned by Pulumi.

func (*StandardAppVersion) VersionId added in v1.1.0

func (r *StandardAppVersion) VersionId() *pulumi.StringOutput

Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

type StandardAppVersionArgs added in v1.1.0

type StandardAppVersionArgs struct {
	// If set to `true`, the service will be deleted if it is the last version.
	DeleteServiceOnDestroy interface{}
	// Code and application artifacts that make up this version.
	Deployment interface{}
	// The entrypoint for the application.
	Entrypoint interface{}
	// Environment variables available to the application.
	EnvVariables interface{}
	// 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.
	Handlers interface{}
	// Instance class that is used to run this version. Valid values are AutomaticScaling F1, F2, F4, F4_1G (Only
	// AutomaticScaling is supported at the moment)
	InstanceClass interface{}
	// Configuration for third-party Python runtime libraries that are required by the application.
	Libraries interface{}
	// If set to `true`, the application version will not be deleted.
	NoopOnDestroy interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project interface{}
	// Desired runtime. Example python27.
	Runtime interface{}
	// 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
	RuntimeApiVersion interface{}
	// AppEngine service resource
	Service interface{}
	// Whether multiple requests can be dispatched to this version at once.
	Threadsafe interface{}
	// Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters,
	// numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".
	VersionId interface{}
}

The set of arguments for constructing a StandardAppVersion resource.

type StandardAppVersionState added in v1.1.0

type StandardAppVersionState struct {
	// If set to `true`, the service will be deleted if it is the last version.
	DeleteServiceOnDestroy interface{}
	// Code and application artifacts that make up this version.
	Deployment interface{}
	// The entrypoint for the application.
	Entrypoint interface{}
	// Environment variables available to the application.
	EnvVariables interface{}
	// 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.
	Handlers interface{}
	// Instance class that is used to run this version. Valid values are AutomaticScaling F1, F2, F4, F4_1G (Only
	// AutomaticScaling is supported at the moment)
	InstanceClass interface{}
	// Configuration for third-party Python runtime libraries that are required by the application.
	Libraries interface{}
	// Full path to the Version resource in the API. Example, "v1".
	Name interface{}
	// If set to `true`, the application version will not be deleted.
	NoopOnDestroy interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project interface{}
	// Desired runtime. Example python27.
	Runtime interface{}
	// 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
	RuntimeApiVersion interface{}
	// AppEngine service resource
	Service interface{}
	// Whether multiple requests can be dispatched to this version at once.
	Threadsafe interface{}
	// Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters,
	// numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".
	VersionId interface{}
}

Input properties used for looking up and filtering StandardAppVersion resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL