composer

package
v3.4.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	pulumi.CustomResourceState

	// Configuration parameters for this environment  Structure is documented below.
	Config EnvironmentConfigOutput `pulumi:"config"`
	// User-defined labels for this environment. The labels map can contain
	// no more than 64 entries. Entries of the labels map are UTF8 strings
	// that comply with the following restrictions:
	// Label keys must be between 1 and 63 characters long and must conform
	// to the following regular expression: `a-z?`.
	// Label values must be between 0 and 63 characters long and must
	// conform to the regular expression `(a-z?)?`.
	// No more than 64 labels can be associated with a given environment.
	// Both keys and values must be <= 128 bytes in size.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Name of the environment
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The location or Compute Engine region for the environment.
	Region pulumi.StringPtrOutput `pulumi:"region"`
}

An environment for running orchestration tasks.

Environments run Apache Airflow software on Google infrastructure.

To get more information about Environments, see:

* [API documentation](https://cloud.google.com/composer/docs/reference/rest/) * How-to Guides

* [Apache Airflow Documentation](http://airflow.apache.org/)

> **Warning:** We **STRONGLY** recommend you read the [GCP guides](https://cloud.google.com/composer/docs/how-to)

as the Environment resource requires a long deployment process and involves several layers of GCP infrastructure,
including a Kubernetes Engine cluster, Cloud Storage, and Compute networking resources. Due to limitations of the API,
This provider will not be able to automatically find or manage many of these underlying resources. In particular:
* It can take up to one hour to create or update an environment resource. In addition, GCP may only detect some
  errors in configuration when they are used (e.g. ~40-50 minutes into the creation process), and is prone to limited
  error reporting. If you encounter confusing or uninformative errors, please verify your configuration is valid
  against GCP Cloud Composer before filing bugs against this provider.
* **Environments create Google Cloud Storage buckets that do not get cleaned up automatically** on environment
  deletion. [More about Composer's use of Cloud Storage](https://cloud.google.com/composer/docs/concepts/cloud-storage).

func GetEnvironment

func GetEnvironment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EnvironmentState, opts ...pulumi.ResourceOption) (*Environment, error)

GetEnvironment gets an existing Environment 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 NewEnvironment

func NewEnvironment(ctx *pulumi.Context,
	name string, args *EnvironmentArgs, opts ...pulumi.ResourceOption) (*Environment, error)

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

type EnvironmentArgs

type EnvironmentArgs struct {
	// Configuration parameters for this environment  Structure is documented below.
	Config EnvironmentConfigPtrInput
	// User-defined labels for this environment. The labels map can contain
	// no more than 64 entries. Entries of the labels map are UTF8 strings
	// that comply with the following restrictions:
	// Label keys must be between 1 and 63 characters long and must conform
	// to the following regular expression: `a-z?`.
	// Label values must be between 0 and 63 characters long and must
	// conform to the regular expression `(a-z?)?`.
	// No more than 64 labels can be associated with a given environment.
	// Both keys and values must be <= 128 bytes in size.
	Labels pulumi.StringMapInput
	// Name of the environment
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The location or Compute Engine region for the environment.
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a Environment resource.

func (EnvironmentArgs) ElementType

func (EnvironmentArgs) ElementType() reflect.Type

type EnvironmentConfig

type EnvironmentConfig struct {
	AirflowUri   *string `pulumi:"airflowUri"`
	DagGcsPrefix *string `pulumi:"dagGcsPrefix"`
	GkeCluster   *string `pulumi:"gkeCluster"`
	// The configuration used for the Kubernetes Engine cluster.  Structure is documented below.
	NodeConfig *EnvironmentConfigNodeConfig `pulumi:"nodeConfig"`
	// The number of nodes in the Kubernetes Engine cluster that
	// will be used to run this environment.
	NodeCount *int `pulumi:"nodeCount"`
	// The configuration used for the Private IP Cloud Composer environment. Structure is documented below.
	PrivateEnvironmentConfig *EnvironmentConfigPrivateEnvironmentConfig `pulumi:"privateEnvironmentConfig"`
	// The configuration settings for software inside the environment.  Structure is documented below.
	SoftwareConfig *EnvironmentConfigSoftwareConfig `pulumi:"softwareConfig"`
}

type EnvironmentConfigArgs

type EnvironmentConfigArgs struct {
	AirflowUri   pulumi.StringPtrInput `pulumi:"airflowUri"`
	DagGcsPrefix pulumi.StringPtrInput `pulumi:"dagGcsPrefix"`
	GkeCluster   pulumi.StringPtrInput `pulumi:"gkeCluster"`
	// The configuration used for the Kubernetes Engine cluster.  Structure is documented below.
	NodeConfig EnvironmentConfigNodeConfigPtrInput `pulumi:"nodeConfig"`
	// The number of nodes in the Kubernetes Engine cluster that
	// will be used to run this environment.
	NodeCount pulumi.IntPtrInput `pulumi:"nodeCount"`
	// The configuration used for the Private IP Cloud Composer environment. Structure is documented below.
	PrivateEnvironmentConfig EnvironmentConfigPrivateEnvironmentConfigPtrInput `pulumi:"privateEnvironmentConfig"`
	// The configuration settings for software inside the environment.  Structure is documented below.
	SoftwareConfig EnvironmentConfigSoftwareConfigPtrInput `pulumi:"softwareConfig"`
}

func (EnvironmentConfigArgs) ElementType

func (EnvironmentConfigArgs) ElementType() reflect.Type

func (EnvironmentConfigArgs) ToEnvironmentConfigOutput

func (i EnvironmentConfigArgs) ToEnvironmentConfigOutput() EnvironmentConfigOutput

func (EnvironmentConfigArgs) ToEnvironmentConfigOutputWithContext

func (i EnvironmentConfigArgs) ToEnvironmentConfigOutputWithContext(ctx context.Context) EnvironmentConfigOutput

func (EnvironmentConfigArgs) ToEnvironmentConfigPtrOutput

func (i EnvironmentConfigArgs) ToEnvironmentConfigPtrOutput() EnvironmentConfigPtrOutput

func (EnvironmentConfigArgs) ToEnvironmentConfigPtrOutputWithContext

func (i EnvironmentConfigArgs) ToEnvironmentConfigPtrOutputWithContext(ctx context.Context) EnvironmentConfigPtrOutput

type EnvironmentConfigInput

type EnvironmentConfigInput interface {
	pulumi.Input

	ToEnvironmentConfigOutput() EnvironmentConfigOutput
	ToEnvironmentConfigOutputWithContext(context.Context) EnvironmentConfigOutput
}

EnvironmentConfigInput is an input type that accepts EnvironmentConfigArgs and EnvironmentConfigOutput values. You can construct a concrete instance of `EnvironmentConfigInput` via:

EnvironmentConfigArgs{...}

type EnvironmentConfigNodeConfig

type EnvironmentConfigNodeConfig struct {
	// The disk size in GB used for node VMs. Minimum size is 20GB.
	// If unspecified, defaults to 100GB. Cannot be updated.
	DiskSizeGb *int `pulumi:"diskSizeGb"`
	// Configuration for controlling how IPs are allocated in the GKE cluster.
	// Structure is documented below.
	// Cannot be updated.
	IpAllocationPolicy *EnvironmentConfigNodeConfigIpAllocationPolicy `pulumi:"ipAllocationPolicy"`
	// The Compute Engine machine type used for cluster instances,
	// specified as a name or relative resource name. For example:
	// "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and
	// region/zone.
	MachineType *string `pulumi:"machineType"`
	// The Compute Engine network to be used for machine
	// communications, specified as a self-link, relative resource name
	// (e.g. "projects/{project}/global/networks/{network}"), by name.
	Network *string `pulumi:"network"`
	// The set of Google API scopes to be made available on all node
	// VMs. Cannot be updated. If empty, defaults to
	// `["https://www.googleapis.com/auth/cloud-platform"]`
	OauthScopes []string `pulumi:"oauthScopes"`
	// The Google Cloud Platform Service Account to be used by the
	// node VMs. If a service account is not specified, the "default"
	// Compute Engine service account is used. Cannot be updated. If given,
	// note that the service account must have `roles/composer.worker`
	// for any GCP resources created under the Cloud Composer Environment.
	ServiceAccount *string `pulumi:"serviceAccount"`
	// The Compute Engine subnetwork to be used for machine
	// communications, , specified as a self-link, relative resource name (e.g.
	// "projects/{project}/regions/{region}/subnetworks/{subnetwork}"), or by name. If subnetwork is provided,
	// network must also be provided and the subnetwork must belong to the enclosing environment's project and region.
	Subnetwork *string `pulumi:"subnetwork"`
	// The list of instance tags applied to all node VMs. Tags are
	// used to identify valid sources or targets for network
	// firewalls. Each tag within the list must comply with RFC1035.
	// Cannot be updated.
	Tags []string `pulumi:"tags"`
	// The Compute Engine zone in which to deploy the VMs running the
	// Apache Airflow software, specified as the zone name or
	// relative resource name (e.g. "projects/{project}/zones/{zone}"). Must belong to the enclosing environment's project
	// and region.
	Zone string `pulumi:"zone"`
}

type EnvironmentConfigNodeConfigArgs

type EnvironmentConfigNodeConfigArgs struct {
	// The disk size in GB used for node VMs. Minimum size is 20GB.
	// If unspecified, defaults to 100GB. Cannot be updated.
	DiskSizeGb pulumi.IntPtrInput `pulumi:"diskSizeGb"`
	// Configuration for controlling how IPs are allocated in the GKE cluster.
	// Structure is documented below.
	// Cannot be updated.
	IpAllocationPolicy EnvironmentConfigNodeConfigIpAllocationPolicyPtrInput `pulumi:"ipAllocationPolicy"`
	// The Compute Engine machine type used for cluster instances,
	// specified as a name or relative resource name. For example:
	// "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and
	// region/zone.
	MachineType pulumi.StringPtrInput `pulumi:"machineType"`
	// The Compute Engine network to be used for machine
	// communications, specified as a self-link, relative resource name
	// (e.g. "projects/{project}/global/networks/{network}"), by name.
	Network pulumi.StringPtrInput `pulumi:"network"`
	// The set of Google API scopes to be made available on all node
	// VMs. Cannot be updated. If empty, defaults to
	// `["https://www.googleapis.com/auth/cloud-platform"]`
	OauthScopes pulumi.StringArrayInput `pulumi:"oauthScopes"`
	// The Google Cloud Platform Service Account to be used by the
	// node VMs. If a service account is not specified, the "default"
	// Compute Engine service account is used. Cannot be updated. If given,
	// note that the service account must have `roles/composer.worker`
	// for any GCP resources created under the Cloud Composer Environment.
	ServiceAccount pulumi.StringPtrInput `pulumi:"serviceAccount"`
	// The Compute Engine subnetwork to be used for machine
	// communications, , specified as a self-link, relative resource name (e.g.
	// "projects/{project}/regions/{region}/subnetworks/{subnetwork}"), or by name. If subnetwork is provided,
	// network must also be provided and the subnetwork must belong to the enclosing environment's project and region.
	Subnetwork pulumi.StringPtrInput `pulumi:"subnetwork"`
	// The list of instance tags applied to all node VMs. Tags are
	// used to identify valid sources or targets for network
	// firewalls. Each tag within the list must comply with RFC1035.
	// Cannot be updated.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// The Compute Engine zone in which to deploy the VMs running the
	// Apache Airflow software, specified as the zone name or
	// relative resource name (e.g. "projects/{project}/zones/{zone}"). Must belong to the enclosing environment's project
	// and region.
	Zone pulumi.StringInput `pulumi:"zone"`
}

func (EnvironmentConfigNodeConfigArgs) ElementType

func (EnvironmentConfigNodeConfigArgs) ToEnvironmentConfigNodeConfigOutput

func (i EnvironmentConfigNodeConfigArgs) ToEnvironmentConfigNodeConfigOutput() EnvironmentConfigNodeConfigOutput

func (EnvironmentConfigNodeConfigArgs) ToEnvironmentConfigNodeConfigOutputWithContext

func (i EnvironmentConfigNodeConfigArgs) ToEnvironmentConfigNodeConfigOutputWithContext(ctx context.Context) EnvironmentConfigNodeConfigOutput

func (EnvironmentConfigNodeConfigArgs) ToEnvironmentConfigNodeConfigPtrOutput

func (i EnvironmentConfigNodeConfigArgs) ToEnvironmentConfigNodeConfigPtrOutput() EnvironmentConfigNodeConfigPtrOutput

func (EnvironmentConfigNodeConfigArgs) ToEnvironmentConfigNodeConfigPtrOutputWithContext

func (i EnvironmentConfigNodeConfigArgs) ToEnvironmentConfigNodeConfigPtrOutputWithContext(ctx context.Context) EnvironmentConfigNodeConfigPtrOutput

type EnvironmentConfigNodeConfigInput

type EnvironmentConfigNodeConfigInput interface {
	pulumi.Input

	ToEnvironmentConfigNodeConfigOutput() EnvironmentConfigNodeConfigOutput
	ToEnvironmentConfigNodeConfigOutputWithContext(context.Context) EnvironmentConfigNodeConfigOutput
}

EnvironmentConfigNodeConfigInput is an input type that accepts EnvironmentConfigNodeConfigArgs and EnvironmentConfigNodeConfigOutput values. You can construct a concrete instance of `EnvironmentConfigNodeConfigInput` via:

EnvironmentConfigNodeConfigArgs{...}

type EnvironmentConfigNodeConfigIpAllocationPolicy

type EnvironmentConfigNodeConfigIpAllocationPolicy struct {
	// The IP address range used to allocate IP addresses to pods in the cluster.
	// Set to blank to have GKE choose a range with the default size.
	// Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask.
	// Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks
	// (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use.
	// Specify either `clusterSecondaryRangeName` or `clusterIpv4CidrBlock` but not both.
	ClusterIpv4CidrBlock *string `pulumi:"clusterIpv4CidrBlock"`
	// The name of the cluster's secondary range used to allocate IP addresses to pods.
	// Specify either `clusterSecondaryRangeName` or `clusterIpv4CidrBlock` but not both.
	// This field is applicable only when `useIpAliases` is true.
	ClusterSecondaryRangeName *string `pulumi:"clusterSecondaryRangeName"`
	// The IP address range used to allocate IP addresses in this cluster.
	// Set to blank to have GKE choose a range with the default size.
	// Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask.
	// Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks
	// (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use.
	// Specify either `servicesSecondaryRangeName` or `servicesIpv4CidrBlock` but not both.
	ServicesIpv4CidrBlock *string `pulumi:"servicesIpv4CidrBlock"`
	// The name of the services' secondary range used to allocate IP addresses to the cluster.
	// Specify either `servicesSecondaryRangeName` or `servicesIpv4CidrBlock` but not both.
	// This field is applicable only when `useIpAliases` is true.
	ServicesSecondaryRangeName *string `pulumi:"servicesSecondaryRangeName"`
	// Whether or not to enable Alias IPs in the GKE cluster. If true, a VPC-native cluster is created.
	// Defaults to true if the `ipAllocationBlock` is present in config.
	UseIpAliases bool `pulumi:"useIpAliases"`
}

type EnvironmentConfigNodeConfigIpAllocationPolicyArgs

type EnvironmentConfigNodeConfigIpAllocationPolicyArgs struct {
	// The IP address range used to allocate IP addresses to pods in the cluster.
	// Set to blank to have GKE choose a range with the default size.
	// Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask.
	// Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks
	// (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use.
	// Specify either `clusterSecondaryRangeName` or `clusterIpv4CidrBlock` but not both.
	ClusterIpv4CidrBlock pulumi.StringPtrInput `pulumi:"clusterIpv4CidrBlock"`
	// The name of the cluster's secondary range used to allocate IP addresses to pods.
	// Specify either `clusterSecondaryRangeName` or `clusterIpv4CidrBlock` but not both.
	// This field is applicable only when `useIpAliases` is true.
	ClusterSecondaryRangeName pulumi.StringPtrInput `pulumi:"clusterSecondaryRangeName"`
	// The IP address range used to allocate IP addresses in this cluster.
	// Set to blank to have GKE choose a range with the default size.
	// Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask.
	// Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks
	// (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use.
	// Specify either `servicesSecondaryRangeName` or `servicesIpv4CidrBlock` but not both.
	ServicesIpv4CidrBlock pulumi.StringPtrInput `pulumi:"servicesIpv4CidrBlock"`
	// The name of the services' secondary range used to allocate IP addresses to the cluster.
	// Specify either `servicesSecondaryRangeName` or `servicesIpv4CidrBlock` but not both.
	// This field is applicable only when `useIpAliases` is true.
	ServicesSecondaryRangeName pulumi.StringPtrInput `pulumi:"servicesSecondaryRangeName"`
	// Whether or not to enable Alias IPs in the GKE cluster. If true, a VPC-native cluster is created.
	// Defaults to true if the `ipAllocationBlock` is present in config.
	UseIpAliases pulumi.BoolInput `pulumi:"useIpAliases"`
}

func (EnvironmentConfigNodeConfigIpAllocationPolicyArgs) ElementType

func (EnvironmentConfigNodeConfigIpAllocationPolicyArgs) ToEnvironmentConfigNodeConfigIpAllocationPolicyOutput

func (i EnvironmentConfigNodeConfigIpAllocationPolicyArgs) ToEnvironmentConfigNodeConfigIpAllocationPolicyOutput() EnvironmentConfigNodeConfigIpAllocationPolicyOutput

func (EnvironmentConfigNodeConfigIpAllocationPolicyArgs) ToEnvironmentConfigNodeConfigIpAllocationPolicyOutputWithContext

func (i EnvironmentConfigNodeConfigIpAllocationPolicyArgs) ToEnvironmentConfigNodeConfigIpAllocationPolicyOutputWithContext(ctx context.Context) EnvironmentConfigNodeConfigIpAllocationPolicyOutput

func (EnvironmentConfigNodeConfigIpAllocationPolicyArgs) ToEnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput

func (i EnvironmentConfigNodeConfigIpAllocationPolicyArgs) ToEnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput() EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput

func (EnvironmentConfigNodeConfigIpAllocationPolicyArgs) ToEnvironmentConfigNodeConfigIpAllocationPolicyPtrOutputWithContext

func (i EnvironmentConfigNodeConfigIpAllocationPolicyArgs) ToEnvironmentConfigNodeConfigIpAllocationPolicyPtrOutputWithContext(ctx context.Context) EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput

type EnvironmentConfigNodeConfigIpAllocationPolicyInput

type EnvironmentConfigNodeConfigIpAllocationPolicyInput interface {
	pulumi.Input

	ToEnvironmentConfigNodeConfigIpAllocationPolicyOutput() EnvironmentConfigNodeConfigIpAllocationPolicyOutput
	ToEnvironmentConfigNodeConfigIpAllocationPolicyOutputWithContext(context.Context) EnvironmentConfigNodeConfigIpAllocationPolicyOutput
}

EnvironmentConfigNodeConfigIpAllocationPolicyInput is an input type that accepts EnvironmentConfigNodeConfigIpAllocationPolicyArgs and EnvironmentConfigNodeConfigIpAllocationPolicyOutput values. You can construct a concrete instance of `EnvironmentConfigNodeConfigIpAllocationPolicyInput` via:

EnvironmentConfigNodeConfigIpAllocationPolicyArgs{...}

type EnvironmentConfigNodeConfigIpAllocationPolicyOutput

type EnvironmentConfigNodeConfigIpAllocationPolicyOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ClusterIpv4CidrBlock

The IP address range used to allocate IP addresses to pods in the cluster. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either `clusterSecondaryRangeName` or `clusterIpv4CidrBlock` but not both.

func (EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ClusterSecondaryRangeName

The name of the cluster's secondary range used to allocate IP addresses to pods. Specify either `clusterSecondaryRangeName` or `clusterIpv4CidrBlock` but not both. This field is applicable only when `useIpAliases` is true.

func (EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ElementType

func (EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ServicesIpv4CidrBlock

The IP address range used to allocate IP addresses in this cluster. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either `servicesSecondaryRangeName` or `servicesIpv4CidrBlock` but not both.

func (EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ServicesSecondaryRangeName

The name of the services' secondary range used to allocate IP addresses to the cluster. Specify either `servicesSecondaryRangeName` or `servicesIpv4CidrBlock` but not both. This field is applicable only when `useIpAliases` is true.

func (EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ToEnvironmentConfigNodeConfigIpAllocationPolicyOutput

func (o EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ToEnvironmentConfigNodeConfigIpAllocationPolicyOutput() EnvironmentConfigNodeConfigIpAllocationPolicyOutput

func (EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ToEnvironmentConfigNodeConfigIpAllocationPolicyOutputWithContext

func (o EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ToEnvironmentConfigNodeConfigIpAllocationPolicyOutputWithContext(ctx context.Context) EnvironmentConfigNodeConfigIpAllocationPolicyOutput

func (EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ToEnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput

func (o EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ToEnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput() EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput

func (EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ToEnvironmentConfigNodeConfigIpAllocationPolicyPtrOutputWithContext

func (o EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ToEnvironmentConfigNodeConfigIpAllocationPolicyPtrOutputWithContext(ctx context.Context) EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput

func (EnvironmentConfigNodeConfigIpAllocationPolicyOutput) UseIpAliases

Whether or not to enable Alias IPs in the GKE cluster. If true, a VPC-native cluster is created. Defaults to true if the `ipAllocationBlock` is present in config.

type EnvironmentConfigNodeConfigIpAllocationPolicyPtrInput

type EnvironmentConfigNodeConfigIpAllocationPolicyPtrInput interface {
	pulumi.Input

	ToEnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput() EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput
	ToEnvironmentConfigNodeConfigIpAllocationPolicyPtrOutputWithContext(context.Context) EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput
}

EnvironmentConfigNodeConfigIpAllocationPolicyPtrInput is an input type that accepts EnvironmentConfigNodeConfigIpAllocationPolicyArgs, EnvironmentConfigNodeConfigIpAllocationPolicyPtr and EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput values. You can construct a concrete instance of `EnvironmentConfigNodeConfigIpAllocationPolicyPtrInput` via:

		 EnvironmentConfigNodeConfigIpAllocationPolicyArgs{...}

 or:

		 nil

type EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput

type EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) ClusterIpv4CidrBlock

The IP address range used to allocate IP addresses to pods in the cluster. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either `clusterSecondaryRangeName` or `clusterIpv4CidrBlock` but not both.

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) ClusterSecondaryRangeName

The name of the cluster's secondary range used to allocate IP addresses to pods. Specify either `clusterSecondaryRangeName` or `clusterIpv4CidrBlock` but not both. This field is applicable only when `useIpAliases` is true.

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) Elem

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) ElementType

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) ServicesIpv4CidrBlock

The IP address range used to allocate IP addresses in this cluster. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either `servicesSecondaryRangeName` or `servicesIpv4CidrBlock` but not both.

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) ServicesSecondaryRangeName

The name of the services' secondary range used to allocate IP addresses to the cluster. Specify either `servicesSecondaryRangeName` or `servicesIpv4CidrBlock` but not both. This field is applicable only when `useIpAliases` is true.

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) ToEnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) ToEnvironmentConfigNodeConfigIpAllocationPolicyPtrOutputWithContext

func (o EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) ToEnvironmentConfigNodeConfigIpAllocationPolicyPtrOutputWithContext(ctx context.Context) EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) UseIpAliases

Whether or not to enable Alias IPs in the GKE cluster. If true, a VPC-native cluster is created. Defaults to true if the `ipAllocationBlock` is present in config.

type EnvironmentConfigNodeConfigOutput

type EnvironmentConfigNodeConfigOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigNodeConfigOutput) DiskSizeGb

The disk size in GB used for node VMs. Minimum size is 20GB. If unspecified, defaults to 100GB. Cannot be updated.

func (EnvironmentConfigNodeConfigOutput) ElementType

func (EnvironmentConfigNodeConfigOutput) IpAllocationPolicy

Configuration for controlling how IPs are allocated in the GKE cluster. Structure is documented below. Cannot be updated.

func (EnvironmentConfigNodeConfigOutput) MachineType

The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone.

func (EnvironmentConfigNodeConfigOutput) Network

The Compute Engine network to be used for machine communications, specified as a self-link, relative resource name (e.g. "projects/{project}/global/networks/{network}"), by name.

func (EnvironmentConfigNodeConfigOutput) OauthScopes

The set of Google API scopes to be made available on all node VMs. Cannot be updated. If empty, defaults to `["https://www.googleapis.com/auth/cloud-platform"]`

func (EnvironmentConfigNodeConfigOutput) ServiceAccount

The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated. If given, note that the service account must have `roles/composer.worker` for any GCP resources created under the Cloud Composer Environment.

func (EnvironmentConfigNodeConfigOutput) Subnetwork

The Compute Engine subnetwork to be used for machine communications, , specified as a self-link, relative resource name (e.g. "projects/{project}/regions/{region}/subnetworks/{subnetwork}"), or by name. If subnetwork is provided, network must also be provided and the subnetwork must belong to the enclosing environment's project and region.

func (EnvironmentConfigNodeConfigOutput) Tags

The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with RFC1035. Cannot be updated.

func (EnvironmentConfigNodeConfigOutput) ToEnvironmentConfigNodeConfigOutput

func (o EnvironmentConfigNodeConfigOutput) ToEnvironmentConfigNodeConfigOutput() EnvironmentConfigNodeConfigOutput

func (EnvironmentConfigNodeConfigOutput) ToEnvironmentConfigNodeConfigOutputWithContext

func (o EnvironmentConfigNodeConfigOutput) ToEnvironmentConfigNodeConfigOutputWithContext(ctx context.Context) EnvironmentConfigNodeConfigOutput

func (EnvironmentConfigNodeConfigOutput) ToEnvironmentConfigNodeConfigPtrOutput

func (o EnvironmentConfigNodeConfigOutput) ToEnvironmentConfigNodeConfigPtrOutput() EnvironmentConfigNodeConfigPtrOutput

func (EnvironmentConfigNodeConfigOutput) ToEnvironmentConfigNodeConfigPtrOutputWithContext

func (o EnvironmentConfigNodeConfigOutput) ToEnvironmentConfigNodeConfigPtrOutputWithContext(ctx context.Context) EnvironmentConfigNodeConfigPtrOutput

func (EnvironmentConfigNodeConfigOutput) Zone

The Compute Engine zone in which to deploy the VMs running the Apache Airflow software, specified as the zone name or relative resource name (e.g. "projects/{project}/zones/{zone}"). Must belong to the enclosing environment's project and region.

type EnvironmentConfigNodeConfigPtrInput

type EnvironmentConfigNodeConfigPtrInput interface {
	pulumi.Input

	ToEnvironmentConfigNodeConfigPtrOutput() EnvironmentConfigNodeConfigPtrOutput
	ToEnvironmentConfigNodeConfigPtrOutputWithContext(context.Context) EnvironmentConfigNodeConfigPtrOutput
}

EnvironmentConfigNodeConfigPtrInput is an input type that accepts EnvironmentConfigNodeConfigArgs, EnvironmentConfigNodeConfigPtr and EnvironmentConfigNodeConfigPtrOutput values. You can construct a concrete instance of `EnvironmentConfigNodeConfigPtrInput` via:

		 EnvironmentConfigNodeConfigArgs{...}

 or:

		 nil

type EnvironmentConfigNodeConfigPtrOutput

type EnvironmentConfigNodeConfigPtrOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigNodeConfigPtrOutput) DiskSizeGb

The disk size in GB used for node VMs. Minimum size is 20GB. If unspecified, defaults to 100GB. Cannot be updated.

func (EnvironmentConfigNodeConfigPtrOutput) Elem

func (EnvironmentConfigNodeConfigPtrOutput) ElementType

func (EnvironmentConfigNodeConfigPtrOutput) IpAllocationPolicy

Configuration for controlling how IPs are allocated in the GKE cluster. Structure is documented below. Cannot be updated.

func (EnvironmentConfigNodeConfigPtrOutput) MachineType

The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone.

func (EnvironmentConfigNodeConfigPtrOutput) Network

The Compute Engine network to be used for machine communications, specified as a self-link, relative resource name (e.g. "projects/{project}/global/networks/{network}"), by name.

func (EnvironmentConfigNodeConfigPtrOutput) OauthScopes

The set of Google API scopes to be made available on all node VMs. Cannot be updated. If empty, defaults to `["https://www.googleapis.com/auth/cloud-platform"]`

func (EnvironmentConfigNodeConfigPtrOutput) ServiceAccount

The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated. If given, note that the service account must have `roles/composer.worker` for any GCP resources created under the Cloud Composer Environment.

func (EnvironmentConfigNodeConfigPtrOutput) Subnetwork

The Compute Engine subnetwork to be used for machine communications, , specified as a self-link, relative resource name (e.g. "projects/{project}/regions/{region}/subnetworks/{subnetwork}"), or by name. If subnetwork is provided, network must also be provided and the subnetwork must belong to the enclosing environment's project and region.

func (EnvironmentConfigNodeConfigPtrOutput) Tags

The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with RFC1035. Cannot be updated.

func (EnvironmentConfigNodeConfigPtrOutput) ToEnvironmentConfigNodeConfigPtrOutput

func (o EnvironmentConfigNodeConfigPtrOutput) ToEnvironmentConfigNodeConfigPtrOutput() EnvironmentConfigNodeConfigPtrOutput

func (EnvironmentConfigNodeConfigPtrOutput) ToEnvironmentConfigNodeConfigPtrOutputWithContext

func (o EnvironmentConfigNodeConfigPtrOutput) ToEnvironmentConfigNodeConfigPtrOutputWithContext(ctx context.Context) EnvironmentConfigNodeConfigPtrOutput

func (EnvironmentConfigNodeConfigPtrOutput) Zone

The Compute Engine zone in which to deploy the VMs running the Apache Airflow software, specified as the zone name or relative resource name (e.g. "projects/{project}/zones/{zone}"). Must belong to the enclosing environment's project and region.

type EnvironmentConfigOutput

type EnvironmentConfigOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigOutput) AirflowUri

func (EnvironmentConfigOutput) DagGcsPrefix

func (EnvironmentConfigOutput) ElementType

func (EnvironmentConfigOutput) ElementType() reflect.Type

func (EnvironmentConfigOutput) GkeCluster

func (EnvironmentConfigOutput) NodeConfig

The configuration used for the Kubernetes Engine cluster. Structure is documented below.

func (EnvironmentConfigOutput) NodeCount

The number of nodes in the Kubernetes Engine cluster that will be used to run this environment.

func (EnvironmentConfigOutput) PrivateEnvironmentConfig

The configuration used for the Private IP Cloud Composer environment. Structure is documented below.

func (EnvironmentConfigOutput) SoftwareConfig

The configuration settings for software inside the environment. Structure is documented below.

func (EnvironmentConfigOutput) ToEnvironmentConfigOutput

func (o EnvironmentConfigOutput) ToEnvironmentConfigOutput() EnvironmentConfigOutput

func (EnvironmentConfigOutput) ToEnvironmentConfigOutputWithContext

func (o EnvironmentConfigOutput) ToEnvironmentConfigOutputWithContext(ctx context.Context) EnvironmentConfigOutput

func (EnvironmentConfigOutput) ToEnvironmentConfigPtrOutput

func (o EnvironmentConfigOutput) ToEnvironmentConfigPtrOutput() EnvironmentConfigPtrOutput

func (EnvironmentConfigOutput) ToEnvironmentConfigPtrOutputWithContext

func (o EnvironmentConfigOutput) ToEnvironmentConfigPtrOutputWithContext(ctx context.Context) EnvironmentConfigPtrOutput

type EnvironmentConfigPrivateEnvironmentConfig

type EnvironmentConfigPrivateEnvironmentConfig struct {
	// -
	// If true, access to the public endpoint of the GKE cluster is denied.
	EnablePrivateEndpoint *bool `pulumi:"enablePrivateEndpoint"`
	// The IP range in CIDR notation to use for the hosted master network. This range is used
	// for assigning internal IP addresses to the cluster master or set of masters and to the
	// internal load balancer virtual IP. This range must not overlap with any other ranges
	// in use within the cluster's network.
	// If left blank, the default value of '172.16.0.0/28' is used.
	MasterIpv4CidrBlock *string `pulumi:"masterIpv4CidrBlock"`
}

type EnvironmentConfigPrivateEnvironmentConfigArgs

type EnvironmentConfigPrivateEnvironmentConfigArgs struct {
	// -
	// If true, access to the public endpoint of the GKE cluster is denied.
	EnablePrivateEndpoint pulumi.BoolPtrInput `pulumi:"enablePrivateEndpoint"`
	// The IP range in CIDR notation to use for the hosted master network. This range is used
	// for assigning internal IP addresses to the cluster master or set of masters and to the
	// internal load balancer virtual IP. This range must not overlap with any other ranges
	// in use within the cluster's network.
	// If left blank, the default value of '172.16.0.0/28' is used.
	MasterIpv4CidrBlock pulumi.StringPtrInput `pulumi:"masterIpv4CidrBlock"`
}

func (EnvironmentConfigPrivateEnvironmentConfigArgs) ElementType

func (EnvironmentConfigPrivateEnvironmentConfigArgs) ToEnvironmentConfigPrivateEnvironmentConfigOutput

func (i EnvironmentConfigPrivateEnvironmentConfigArgs) ToEnvironmentConfigPrivateEnvironmentConfigOutput() EnvironmentConfigPrivateEnvironmentConfigOutput

func (EnvironmentConfigPrivateEnvironmentConfigArgs) ToEnvironmentConfigPrivateEnvironmentConfigOutputWithContext

func (i EnvironmentConfigPrivateEnvironmentConfigArgs) ToEnvironmentConfigPrivateEnvironmentConfigOutputWithContext(ctx context.Context) EnvironmentConfigPrivateEnvironmentConfigOutput

func (EnvironmentConfigPrivateEnvironmentConfigArgs) ToEnvironmentConfigPrivateEnvironmentConfigPtrOutput

func (i EnvironmentConfigPrivateEnvironmentConfigArgs) ToEnvironmentConfigPrivateEnvironmentConfigPtrOutput() EnvironmentConfigPrivateEnvironmentConfigPtrOutput

func (EnvironmentConfigPrivateEnvironmentConfigArgs) ToEnvironmentConfigPrivateEnvironmentConfigPtrOutputWithContext

func (i EnvironmentConfigPrivateEnvironmentConfigArgs) ToEnvironmentConfigPrivateEnvironmentConfigPtrOutputWithContext(ctx context.Context) EnvironmentConfigPrivateEnvironmentConfigPtrOutput

type EnvironmentConfigPrivateEnvironmentConfigInput

type EnvironmentConfigPrivateEnvironmentConfigInput interface {
	pulumi.Input

	ToEnvironmentConfigPrivateEnvironmentConfigOutput() EnvironmentConfigPrivateEnvironmentConfigOutput
	ToEnvironmentConfigPrivateEnvironmentConfigOutputWithContext(context.Context) EnvironmentConfigPrivateEnvironmentConfigOutput
}

EnvironmentConfigPrivateEnvironmentConfigInput is an input type that accepts EnvironmentConfigPrivateEnvironmentConfigArgs and EnvironmentConfigPrivateEnvironmentConfigOutput values. You can construct a concrete instance of `EnvironmentConfigPrivateEnvironmentConfigInput` via:

EnvironmentConfigPrivateEnvironmentConfigArgs{...}

type EnvironmentConfigPrivateEnvironmentConfigOutput

type EnvironmentConfigPrivateEnvironmentConfigOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigPrivateEnvironmentConfigOutput) ElementType

func (EnvironmentConfigPrivateEnvironmentConfigOutput) EnablePrivateEndpoint

- If true, access to the public endpoint of the GKE cluster is denied.

func (EnvironmentConfigPrivateEnvironmentConfigOutput) MasterIpv4CidrBlock

The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network. If left blank, the default value of '172.16.0.0/28' is used.

func (EnvironmentConfigPrivateEnvironmentConfigOutput) ToEnvironmentConfigPrivateEnvironmentConfigOutput

func (o EnvironmentConfigPrivateEnvironmentConfigOutput) ToEnvironmentConfigPrivateEnvironmentConfigOutput() EnvironmentConfigPrivateEnvironmentConfigOutput

func (EnvironmentConfigPrivateEnvironmentConfigOutput) ToEnvironmentConfigPrivateEnvironmentConfigOutputWithContext

func (o EnvironmentConfigPrivateEnvironmentConfigOutput) ToEnvironmentConfigPrivateEnvironmentConfigOutputWithContext(ctx context.Context) EnvironmentConfigPrivateEnvironmentConfigOutput

func (EnvironmentConfigPrivateEnvironmentConfigOutput) ToEnvironmentConfigPrivateEnvironmentConfigPtrOutput

func (o EnvironmentConfigPrivateEnvironmentConfigOutput) ToEnvironmentConfigPrivateEnvironmentConfigPtrOutput() EnvironmentConfigPrivateEnvironmentConfigPtrOutput

func (EnvironmentConfigPrivateEnvironmentConfigOutput) ToEnvironmentConfigPrivateEnvironmentConfigPtrOutputWithContext

func (o EnvironmentConfigPrivateEnvironmentConfigOutput) ToEnvironmentConfigPrivateEnvironmentConfigPtrOutputWithContext(ctx context.Context) EnvironmentConfigPrivateEnvironmentConfigPtrOutput

type EnvironmentConfigPrivateEnvironmentConfigPtrInput

type EnvironmentConfigPrivateEnvironmentConfigPtrInput interface {
	pulumi.Input

	ToEnvironmentConfigPrivateEnvironmentConfigPtrOutput() EnvironmentConfigPrivateEnvironmentConfigPtrOutput
	ToEnvironmentConfigPrivateEnvironmentConfigPtrOutputWithContext(context.Context) EnvironmentConfigPrivateEnvironmentConfigPtrOutput
}

EnvironmentConfigPrivateEnvironmentConfigPtrInput is an input type that accepts EnvironmentConfigPrivateEnvironmentConfigArgs, EnvironmentConfigPrivateEnvironmentConfigPtr and EnvironmentConfigPrivateEnvironmentConfigPtrOutput values. You can construct a concrete instance of `EnvironmentConfigPrivateEnvironmentConfigPtrInput` via:

		 EnvironmentConfigPrivateEnvironmentConfigArgs{...}

 or:

		 nil

type EnvironmentConfigPrivateEnvironmentConfigPtrOutput

type EnvironmentConfigPrivateEnvironmentConfigPtrOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigPrivateEnvironmentConfigPtrOutput) Elem

func (EnvironmentConfigPrivateEnvironmentConfigPtrOutput) ElementType

func (EnvironmentConfigPrivateEnvironmentConfigPtrOutput) EnablePrivateEndpoint

- If true, access to the public endpoint of the GKE cluster is denied.

func (EnvironmentConfigPrivateEnvironmentConfigPtrOutput) MasterIpv4CidrBlock

The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network. If left blank, the default value of '172.16.0.0/28' is used.

func (EnvironmentConfigPrivateEnvironmentConfigPtrOutput) ToEnvironmentConfigPrivateEnvironmentConfigPtrOutput

func (o EnvironmentConfigPrivateEnvironmentConfigPtrOutput) ToEnvironmentConfigPrivateEnvironmentConfigPtrOutput() EnvironmentConfigPrivateEnvironmentConfigPtrOutput

func (EnvironmentConfigPrivateEnvironmentConfigPtrOutput) ToEnvironmentConfigPrivateEnvironmentConfigPtrOutputWithContext

func (o EnvironmentConfigPrivateEnvironmentConfigPtrOutput) ToEnvironmentConfigPrivateEnvironmentConfigPtrOutputWithContext(ctx context.Context) EnvironmentConfigPrivateEnvironmentConfigPtrOutput

type EnvironmentConfigPtrInput

type EnvironmentConfigPtrInput interface {
	pulumi.Input

	ToEnvironmentConfigPtrOutput() EnvironmentConfigPtrOutput
	ToEnvironmentConfigPtrOutputWithContext(context.Context) EnvironmentConfigPtrOutput
}

EnvironmentConfigPtrInput is an input type that accepts EnvironmentConfigArgs, EnvironmentConfigPtr and EnvironmentConfigPtrOutput values. You can construct a concrete instance of `EnvironmentConfigPtrInput` via:

		 EnvironmentConfigArgs{...}

 or:

		 nil

type EnvironmentConfigPtrOutput

type EnvironmentConfigPtrOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigPtrOutput) AirflowUri

func (EnvironmentConfigPtrOutput) DagGcsPrefix

func (EnvironmentConfigPtrOutput) Elem

func (EnvironmentConfigPtrOutput) ElementType

func (EnvironmentConfigPtrOutput) ElementType() reflect.Type

func (EnvironmentConfigPtrOutput) GkeCluster

func (EnvironmentConfigPtrOutput) NodeConfig

The configuration used for the Kubernetes Engine cluster. Structure is documented below.

func (EnvironmentConfigPtrOutput) NodeCount

The number of nodes in the Kubernetes Engine cluster that will be used to run this environment.

func (EnvironmentConfigPtrOutput) PrivateEnvironmentConfig

The configuration used for the Private IP Cloud Composer environment. Structure is documented below.

func (EnvironmentConfigPtrOutput) SoftwareConfig

The configuration settings for software inside the environment. Structure is documented below.

func (EnvironmentConfigPtrOutput) ToEnvironmentConfigPtrOutput

func (o EnvironmentConfigPtrOutput) ToEnvironmentConfigPtrOutput() EnvironmentConfigPtrOutput

func (EnvironmentConfigPtrOutput) ToEnvironmentConfigPtrOutputWithContext

func (o EnvironmentConfigPtrOutput) ToEnvironmentConfigPtrOutputWithContext(ctx context.Context) EnvironmentConfigPtrOutput

type EnvironmentConfigSoftwareConfig

type EnvironmentConfigSoftwareConfig struct {
	// -
	// (Optional) Apache Airflow configuration properties to override. Property keys contain the section and property names,
	// separated by a hyphen, for example "core-dags_are_paused_at_creation".
	AirflowConfigOverrides map[string]string `pulumi:"airflowConfigOverrides"`
	// Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes.
	// Environment variable names must match the regular expression `[a-zA-Z_][a-zA-Z0-9_]*`.
	// They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression
	// `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the following reserved names:
	// “`
	// AIRFLOW_HOME
	// C_FORCE_ROOT
	// CONTAINER_NAME
	// DAGS_FOLDER
	// GCP_PROJECT
	// GCS_BUCKET
	// GKE_CLUSTER_NAME
	// SQL_DATABASE
	// SQL_INSTANCE
	// SQL_PASSWORD
	// SQL_PROJECT
	// SQL_REGION
	// SQL_USER
	// “`
	EnvVariables map[string]string `pulumi:"envVariables"`
	// -
	// The version of the software running in the environment. This encapsulates both the version of Cloud Composer
	// functionality and the version of Apache Airflow. It must match the regular expression
	// `composer-[0-9]+\.[0-9]+(\.[0-9]+)?-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`.
	// The Cloud Composer portion of the version is a semantic version.
	// The portion of the image version following 'airflow-' is an official Apache Airflow repository release name.
	// See [documentation](https://cloud.google.com/composer/docs/reference/rest/v1beta1/projects.locations.environments#softwareconfig)
	// for allowed release names.
	ImageVersion *string `pulumi:"imageVersion"`
	// Custom Python Package Index (PyPI) packages to be installed
	// in the environment. Keys refer to the lowercase package name (e.g. "numpy"). Values are the lowercase extras and
	// version specifier (e.g. "==1.12.0", "[devel,gcp_api]", "[devel]>=1.8.2, <1.9.2"). To specify a package without
	// pinning it to a version specifier, use the empty string as the value.
	PypiPackages map[string]string `pulumi:"pypiPackages"`
	// -
	// The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes.
	// Can be set to '2' or '3'. If not specified, the default is '2'. Cannot be updated.
	PythonVersion *string `pulumi:"pythonVersion"`
}

type EnvironmentConfigSoftwareConfigArgs

type EnvironmentConfigSoftwareConfigArgs struct {
	// -
	// (Optional) Apache Airflow configuration properties to override. Property keys contain the section and property names,
	// separated by a hyphen, for example "core-dags_are_paused_at_creation".
	AirflowConfigOverrides pulumi.StringMapInput `pulumi:"airflowConfigOverrides"`
	// Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes.
	// Environment variable names must match the regular expression `[a-zA-Z_][a-zA-Z0-9_]*`.
	// They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression
	// `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the following reserved names:
	// “`
	// AIRFLOW_HOME
	// C_FORCE_ROOT
	// CONTAINER_NAME
	// DAGS_FOLDER
	// GCP_PROJECT
	// GCS_BUCKET
	// GKE_CLUSTER_NAME
	// SQL_DATABASE
	// SQL_INSTANCE
	// SQL_PASSWORD
	// SQL_PROJECT
	// SQL_REGION
	// SQL_USER
	// “`
	EnvVariables pulumi.StringMapInput `pulumi:"envVariables"`
	// -
	// The version of the software running in the environment. This encapsulates both the version of Cloud Composer
	// functionality and the version of Apache Airflow. It must match the regular expression
	// `composer-[0-9]+\.[0-9]+(\.[0-9]+)?-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`.
	// The Cloud Composer portion of the version is a semantic version.
	// The portion of the image version following 'airflow-' is an official Apache Airflow repository release name.
	// See [documentation](https://cloud.google.com/composer/docs/reference/rest/v1beta1/projects.locations.environments#softwareconfig)
	// for allowed release names.
	ImageVersion pulumi.StringPtrInput `pulumi:"imageVersion"`
	// Custom Python Package Index (PyPI) packages to be installed
	// in the environment. Keys refer to the lowercase package name (e.g. "numpy"). Values are the lowercase extras and
	// version specifier (e.g. "==1.12.0", "[devel,gcp_api]", "[devel]>=1.8.2, <1.9.2"). To specify a package without
	// pinning it to a version specifier, use the empty string as the value.
	PypiPackages pulumi.StringMapInput `pulumi:"pypiPackages"`
	// -
	// The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes.
	// Can be set to '2' or '3'. If not specified, the default is '2'. Cannot be updated.
	PythonVersion pulumi.StringPtrInput `pulumi:"pythonVersion"`
}

func (EnvironmentConfigSoftwareConfigArgs) ElementType

func (EnvironmentConfigSoftwareConfigArgs) ToEnvironmentConfigSoftwareConfigOutput

func (i EnvironmentConfigSoftwareConfigArgs) ToEnvironmentConfigSoftwareConfigOutput() EnvironmentConfigSoftwareConfigOutput

func (EnvironmentConfigSoftwareConfigArgs) ToEnvironmentConfigSoftwareConfigOutputWithContext

func (i EnvironmentConfigSoftwareConfigArgs) ToEnvironmentConfigSoftwareConfigOutputWithContext(ctx context.Context) EnvironmentConfigSoftwareConfigOutput

func (EnvironmentConfigSoftwareConfigArgs) ToEnvironmentConfigSoftwareConfigPtrOutput

func (i EnvironmentConfigSoftwareConfigArgs) ToEnvironmentConfigSoftwareConfigPtrOutput() EnvironmentConfigSoftwareConfigPtrOutput

func (EnvironmentConfigSoftwareConfigArgs) ToEnvironmentConfigSoftwareConfigPtrOutputWithContext

func (i EnvironmentConfigSoftwareConfigArgs) ToEnvironmentConfigSoftwareConfigPtrOutputWithContext(ctx context.Context) EnvironmentConfigSoftwareConfigPtrOutput

type EnvironmentConfigSoftwareConfigInput

type EnvironmentConfigSoftwareConfigInput interface {
	pulumi.Input

	ToEnvironmentConfigSoftwareConfigOutput() EnvironmentConfigSoftwareConfigOutput
	ToEnvironmentConfigSoftwareConfigOutputWithContext(context.Context) EnvironmentConfigSoftwareConfigOutput
}

EnvironmentConfigSoftwareConfigInput is an input type that accepts EnvironmentConfigSoftwareConfigArgs and EnvironmentConfigSoftwareConfigOutput values. You can construct a concrete instance of `EnvironmentConfigSoftwareConfigInput` via:

EnvironmentConfigSoftwareConfigArgs{...}

type EnvironmentConfigSoftwareConfigOutput

type EnvironmentConfigSoftwareConfigOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigSoftwareConfigOutput) AirflowConfigOverrides

- (Optional) Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation".

func (EnvironmentConfigSoftwareConfigOutput) ElementType

func (EnvironmentConfigSoftwareConfigOutput) EnvVariables

Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression `[a-zA-Z_][a-zA-Z0-9_]*`. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the following reserved names: ``` AIRFLOW_HOME C_FORCE_ROOT CONTAINER_NAME DAGS_FOLDER GCP_PROJECT GCS_BUCKET GKE_CLUSTER_NAME SQL_DATABASE SQL_INSTANCE SQL_PASSWORD SQL_PROJECT SQL_REGION SQL_USER ```

func (EnvironmentConfigSoftwareConfigOutput) ImageVersion

- The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-[0-9]+\.[0-9]+(\.[0-9]+)?-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`. The Cloud Composer portion of the version is a semantic version. The portion of the image version following 'airflow-' is an official Apache Airflow repository release name. See [documentation](https://cloud.google.com/composer/docs/reference/rest/v1beta1/projects.locations.environments#softwareconfig) for allowed release names.

func (EnvironmentConfigSoftwareConfigOutput) PypiPackages

Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name (e.g. "numpy"). Values are the lowercase extras and version specifier (e.g. "==1.12.0", "[devel,gcp_api]", "[devel]>=1.8.2, <1.9.2"). To specify a package without pinning it to a version specifier, use the empty string as the value.

func (EnvironmentConfigSoftwareConfigOutput) PythonVersion

- The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '2'. Cannot be updated.

func (EnvironmentConfigSoftwareConfigOutput) ToEnvironmentConfigSoftwareConfigOutput

func (o EnvironmentConfigSoftwareConfigOutput) ToEnvironmentConfigSoftwareConfigOutput() EnvironmentConfigSoftwareConfigOutput

func (EnvironmentConfigSoftwareConfigOutput) ToEnvironmentConfigSoftwareConfigOutputWithContext

func (o EnvironmentConfigSoftwareConfigOutput) ToEnvironmentConfigSoftwareConfigOutputWithContext(ctx context.Context) EnvironmentConfigSoftwareConfigOutput

func (EnvironmentConfigSoftwareConfigOutput) ToEnvironmentConfigSoftwareConfigPtrOutput

func (o EnvironmentConfigSoftwareConfigOutput) ToEnvironmentConfigSoftwareConfigPtrOutput() EnvironmentConfigSoftwareConfigPtrOutput

func (EnvironmentConfigSoftwareConfigOutput) ToEnvironmentConfigSoftwareConfigPtrOutputWithContext

func (o EnvironmentConfigSoftwareConfigOutput) ToEnvironmentConfigSoftwareConfigPtrOutputWithContext(ctx context.Context) EnvironmentConfigSoftwareConfigPtrOutput

type EnvironmentConfigSoftwareConfigPtrInput

type EnvironmentConfigSoftwareConfigPtrInput interface {
	pulumi.Input

	ToEnvironmentConfigSoftwareConfigPtrOutput() EnvironmentConfigSoftwareConfigPtrOutput
	ToEnvironmentConfigSoftwareConfigPtrOutputWithContext(context.Context) EnvironmentConfigSoftwareConfigPtrOutput
}

EnvironmentConfigSoftwareConfigPtrInput is an input type that accepts EnvironmentConfigSoftwareConfigArgs, EnvironmentConfigSoftwareConfigPtr and EnvironmentConfigSoftwareConfigPtrOutput values. You can construct a concrete instance of `EnvironmentConfigSoftwareConfigPtrInput` via:

		 EnvironmentConfigSoftwareConfigArgs{...}

 or:

		 nil

type EnvironmentConfigSoftwareConfigPtrOutput

type EnvironmentConfigSoftwareConfigPtrOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigSoftwareConfigPtrOutput) AirflowConfigOverrides

- (Optional) Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation".

func (EnvironmentConfigSoftwareConfigPtrOutput) Elem

func (EnvironmentConfigSoftwareConfigPtrOutput) ElementType

func (EnvironmentConfigSoftwareConfigPtrOutput) EnvVariables

Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression `[a-zA-Z_][a-zA-Z0-9_]*`. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the following reserved names: ``` AIRFLOW_HOME C_FORCE_ROOT CONTAINER_NAME DAGS_FOLDER GCP_PROJECT GCS_BUCKET GKE_CLUSTER_NAME SQL_DATABASE SQL_INSTANCE SQL_PASSWORD SQL_PROJECT SQL_REGION SQL_USER ```

func (EnvironmentConfigSoftwareConfigPtrOutput) ImageVersion

- The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-[0-9]+\.[0-9]+(\.[0-9]+)?-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`. The Cloud Composer portion of the version is a semantic version. The portion of the image version following 'airflow-' is an official Apache Airflow repository release name. See [documentation](https://cloud.google.com/composer/docs/reference/rest/v1beta1/projects.locations.environments#softwareconfig) for allowed release names.

func (EnvironmentConfigSoftwareConfigPtrOutput) PypiPackages

Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name (e.g. "numpy"). Values are the lowercase extras and version specifier (e.g. "==1.12.0", "[devel,gcp_api]", "[devel]>=1.8.2, <1.9.2"). To specify a package without pinning it to a version specifier, use the empty string as the value.

func (EnvironmentConfigSoftwareConfigPtrOutput) PythonVersion

- The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '2'. Cannot be updated.

func (EnvironmentConfigSoftwareConfigPtrOutput) ToEnvironmentConfigSoftwareConfigPtrOutput

func (o EnvironmentConfigSoftwareConfigPtrOutput) ToEnvironmentConfigSoftwareConfigPtrOutput() EnvironmentConfigSoftwareConfigPtrOutput

func (EnvironmentConfigSoftwareConfigPtrOutput) ToEnvironmentConfigSoftwareConfigPtrOutputWithContext

func (o EnvironmentConfigSoftwareConfigPtrOutput) ToEnvironmentConfigSoftwareConfigPtrOutputWithContext(ctx context.Context) EnvironmentConfigSoftwareConfigPtrOutput

type EnvironmentState

type EnvironmentState struct {
	// Configuration parameters for this environment  Structure is documented below.
	Config EnvironmentConfigPtrInput
	// User-defined labels for this environment. The labels map can contain
	// no more than 64 entries. Entries of the labels map are UTF8 strings
	// that comply with the following restrictions:
	// Label keys must be between 1 and 63 characters long and must conform
	// to the following regular expression: `a-z?`.
	// Label values must be between 0 and 63 characters long and must
	// conform to the regular expression `(a-z?)?`.
	// No more than 64 labels can be associated with a given environment.
	// Both keys and values must be <= 128 bytes in size.
	Labels pulumi.StringMapInput
	// Name of the environment
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The location or Compute Engine region for the environment.
	Region pulumi.StringPtrInput
}

func (EnvironmentState) ElementType

func (EnvironmentState) ElementType() reflect.Type

type GetImageVersionsArgs

type GetImageVersionsArgs struct {
	// The ID of the project to list versions in.
	// If it is not provided, the provider project is used.
	Project *string `pulumi:"project"`
	// The location to list versions in.
	// If it is not provider, the provider region is used.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getImageVersions.

type GetImageVersionsImageVersion

type GetImageVersionsImageVersion struct {
	// The string identifier of the image version, in the form: "composer-x.y.z-airflow-a.b(.c)"
	ImageVersionId string `pulumi:"imageVersionId"`
	// Supported python versions for this image version
	SupportedPythonVersions []string `pulumi:"supportedPythonVersions"`
}

type GetImageVersionsImageVersionArgs

type GetImageVersionsImageVersionArgs struct {
	// The string identifier of the image version, in the form: "composer-x.y.z-airflow-a.b(.c)"
	ImageVersionId pulumi.StringInput `pulumi:"imageVersionId"`
	// Supported python versions for this image version
	SupportedPythonVersions pulumi.StringArrayInput `pulumi:"supportedPythonVersions"`
}

func (GetImageVersionsImageVersionArgs) ElementType

func (GetImageVersionsImageVersionArgs) ToGetImageVersionsImageVersionOutput

func (i GetImageVersionsImageVersionArgs) ToGetImageVersionsImageVersionOutput() GetImageVersionsImageVersionOutput

func (GetImageVersionsImageVersionArgs) ToGetImageVersionsImageVersionOutputWithContext

func (i GetImageVersionsImageVersionArgs) ToGetImageVersionsImageVersionOutputWithContext(ctx context.Context) GetImageVersionsImageVersionOutput

type GetImageVersionsImageVersionArray

type GetImageVersionsImageVersionArray []GetImageVersionsImageVersionInput

func (GetImageVersionsImageVersionArray) ElementType

func (GetImageVersionsImageVersionArray) ToGetImageVersionsImageVersionArrayOutput

func (i GetImageVersionsImageVersionArray) ToGetImageVersionsImageVersionArrayOutput() GetImageVersionsImageVersionArrayOutput

func (GetImageVersionsImageVersionArray) ToGetImageVersionsImageVersionArrayOutputWithContext

func (i GetImageVersionsImageVersionArray) ToGetImageVersionsImageVersionArrayOutputWithContext(ctx context.Context) GetImageVersionsImageVersionArrayOutput

type GetImageVersionsImageVersionArrayInput

type GetImageVersionsImageVersionArrayInput interface {
	pulumi.Input

	ToGetImageVersionsImageVersionArrayOutput() GetImageVersionsImageVersionArrayOutput
	ToGetImageVersionsImageVersionArrayOutputWithContext(context.Context) GetImageVersionsImageVersionArrayOutput
}

GetImageVersionsImageVersionArrayInput is an input type that accepts GetImageVersionsImageVersionArray and GetImageVersionsImageVersionArrayOutput values. You can construct a concrete instance of `GetImageVersionsImageVersionArrayInput` via:

GetImageVersionsImageVersionArray{ GetImageVersionsImageVersionArgs{...} }

type GetImageVersionsImageVersionArrayOutput

type GetImageVersionsImageVersionArrayOutput struct{ *pulumi.OutputState }

func (GetImageVersionsImageVersionArrayOutput) ElementType

func (GetImageVersionsImageVersionArrayOutput) Index

func (GetImageVersionsImageVersionArrayOutput) ToGetImageVersionsImageVersionArrayOutput

func (o GetImageVersionsImageVersionArrayOutput) ToGetImageVersionsImageVersionArrayOutput() GetImageVersionsImageVersionArrayOutput

func (GetImageVersionsImageVersionArrayOutput) ToGetImageVersionsImageVersionArrayOutputWithContext

func (o GetImageVersionsImageVersionArrayOutput) ToGetImageVersionsImageVersionArrayOutputWithContext(ctx context.Context) GetImageVersionsImageVersionArrayOutput

type GetImageVersionsImageVersionInput

type GetImageVersionsImageVersionInput interface {
	pulumi.Input

	ToGetImageVersionsImageVersionOutput() GetImageVersionsImageVersionOutput
	ToGetImageVersionsImageVersionOutputWithContext(context.Context) GetImageVersionsImageVersionOutput
}

GetImageVersionsImageVersionInput is an input type that accepts GetImageVersionsImageVersionArgs and GetImageVersionsImageVersionOutput values. You can construct a concrete instance of `GetImageVersionsImageVersionInput` via:

GetImageVersionsImageVersionArgs{...}

type GetImageVersionsImageVersionOutput

type GetImageVersionsImageVersionOutput struct{ *pulumi.OutputState }

func (GetImageVersionsImageVersionOutput) ElementType

func (GetImageVersionsImageVersionOutput) ImageVersionId

The string identifier of the image version, in the form: "composer-x.y.z-airflow-a.b(.c)"

func (GetImageVersionsImageVersionOutput) SupportedPythonVersions

func (o GetImageVersionsImageVersionOutput) SupportedPythonVersions() pulumi.StringArrayOutput

Supported python versions for this image version

func (GetImageVersionsImageVersionOutput) ToGetImageVersionsImageVersionOutput

func (o GetImageVersionsImageVersionOutput) ToGetImageVersionsImageVersionOutput() GetImageVersionsImageVersionOutput

func (GetImageVersionsImageVersionOutput) ToGetImageVersionsImageVersionOutputWithContext

func (o GetImageVersionsImageVersionOutput) ToGetImageVersionsImageVersionOutputWithContext(ctx context.Context) GetImageVersionsImageVersionOutput

type GetImageVersionsResult

type GetImageVersionsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of composer image versions available in the given project and location. Each `imageVersion` contains:
	ImageVersions []GetImageVersionsImageVersion `pulumi:"imageVersions"`
	Project       string                         `pulumi:"project"`
	Region        string                         `pulumi:"region"`
}

A collection of values returned by getImageVersions.

func GetImageVersions

func GetImageVersions(ctx *pulumi.Context, args *GetImageVersionsArgs, opts ...pulumi.InvokeOption) (*GetImageVersionsResult, error)

Provides access to available Cloud Composer versions in a region for a given project.

Jump to

Keyboard shortcuts

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