composer

package
v2.13.0 Latest Latest
Warning

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

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

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	pulumi.CustomResourceState

	Config EnvironmentConfigOutput `pulumi:"config"`
	Labels pulumi.StringMapOutput  `pulumi:"labels"`
	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"`
	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).

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

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 {
	Config EnvironmentConfigPtrInput
	Labels pulumi.StringMapInput
	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
	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"`
	NodeConfig               *EnvironmentConfigNodeConfig               `pulumi:"nodeConfig"`
	NodeCount                *int                                       `pulumi:"nodeCount"`
	PrivateEnvironmentConfig *EnvironmentConfigPrivateEnvironmentConfig `pulumi:"privateEnvironmentConfig"`
	SoftwareConfig           *EnvironmentConfigSoftwareConfig           `pulumi:"softwareConfig"`
}

type EnvironmentConfigArgs

type EnvironmentConfigArgs struct {
	AirflowUri               pulumi.StringPtrInput                             `pulumi:"airflowUri"`
	DagGcsPrefix             pulumi.StringPtrInput                             `pulumi:"dagGcsPrefix"`
	GkeCluster               pulumi.StringPtrInput                             `pulumi:"gkeCluster"`
	NodeConfig               EnvironmentConfigNodeConfigPtrInput               `pulumi:"nodeConfig"`
	NodeCount                pulumi.IntPtrInput                                `pulumi:"nodeCount"`
	PrivateEnvironmentConfig EnvironmentConfigPrivateEnvironmentConfigPtrInput `pulumi:"privateEnvironmentConfig"`
	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
}

type EnvironmentConfigNodeConfig

type EnvironmentConfigNodeConfig struct {
	DiskSizeGb         *int                                           `pulumi:"diskSizeGb"`
	IpAllocationPolicy *EnvironmentConfigNodeConfigIpAllocationPolicy `pulumi:"ipAllocationPolicy"`
	MachineType        *string                                        `pulumi:"machineType"`
	Network            *string                                        `pulumi:"network"`
	OauthScopes        []string                                       `pulumi:"oauthScopes"`
	ServiceAccount     *string                                        `pulumi:"serviceAccount"`
	Subnetwork         *string                                        `pulumi:"subnetwork"`
	Tags               []string                                       `pulumi:"tags"`
	Zone               string                                         `pulumi:"zone"`
}

type EnvironmentConfigNodeConfigArgs

type EnvironmentConfigNodeConfigArgs struct {
	DiskSizeGb         pulumi.IntPtrInput                                    `pulumi:"diskSizeGb"`
	IpAllocationPolicy EnvironmentConfigNodeConfigIpAllocationPolicyPtrInput `pulumi:"ipAllocationPolicy"`
	MachineType        pulumi.StringPtrInput                                 `pulumi:"machineType"`
	Network            pulumi.StringPtrInput                                 `pulumi:"network"`
	OauthScopes        pulumi.StringArrayInput                               `pulumi:"oauthScopes"`
	ServiceAccount     pulumi.StringPtrInput                                 `pulumi:"serviceAccount"`
	Subnetwork         pulumi.StringPtrInput                                 `pulumi:"subnetwork"`
	Tags               pulumi.StringArrayInput                               `pulumi:"tags"`
	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
}

type EnvironmentConfigNodeConfigIpAllocationPolicy

type EnvironmentConfigNodeConfigIpAllocationPolicy struct {
	ClusterIpv4CidrBlock       *string `pulumi:"clusterIpv4CidrBlock"`
	ClusterSecondaryRangeName  *string `pulumi:"clusterSecondaryRangeName"`
	ServicesIpv4CidrBlock      *string `pulumi:"servicesIpv4CidrBlock"`
	ServicesSecondaryRangeName *string `pulumi:"servicesSecondaryRangeName"`
	UseIpAliases               bool    `pulumi:"useIpAliases"`
}

type EnvironmentConfigNodeConfigIpAllocationPolicyArgs

type EnvironmentConfigNodeConfigIpAllocationPolicyArgs struct {
	ClusterIpv4CidrBlock       pulumi.StringPtrInput `pulumi:"clusterIpv4CidrBlock"`
	ClusterSecondaryRangeName  pulumi.StringPtrInput `pulumi:"clusterSecondaryRangeName"`
	ServicesIpv4CidrBlock      pulumi.StringPtrInput `pulumi:"servicesIpv4CidrBlock"`
	ServicesSecondaryRangeName pulumi.StringPtrInput `pulumi:"servicesSecondaryRangeName"`
	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
}

type EnvironmentConfigNodeConfigIpAllocationPolicyOutput

type EnvironmentConfigNodeConfigIpAllocationPolicyOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ClusterIpv4CidrBlock

func (EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ClusterSecondaryRangeName

func (EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ElementType

func (EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ServicesIpv4CidrBlock

func (EnvironmentConfigNodeConfigIpAllocationPolicyOutput) ServicesSecondaryRangeName

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

type EnvironmentConfigNodeConfigIpAllocationPolicyPtrInput

type EnvironmentConfigNodeConfigIpAllocationPolicyPtrInput interface {
	pulumi.Input

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

type EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput

type EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) ClusterIpv4CidrBlock

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) ClusterSecondaryRangeName

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) Elem

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) ElementType

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) ServicesIpv4CidrBlock

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) ServicesSecondaryRangeName

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) ToEnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) ToEnvironmentConfigNodeConfigIpAllocationPolicyPtrOutputWithContext

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

func (EnvironmentConfigNodeConfigIpAllocationPolicyPtrOutput) UseIpAliases

type EnvironmentConfigNodeConfigOutput

type EnvironmentConfigNodeConfigOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigNodeConfigOutput) DiskSizeGb

func (EnvironmentConfigNodeConfigOutput) ElementType

func (EnvironmentConfigNodeConfigOutput) IpAllocationPolicy

func (EnvironmentConfigNodeConfigOutput) MachineType

func (EnvironmentConfigNodeConfigOutput) Network

func (EnvironmentConfigNodeConfigOutput) OauthScopes

func (EnvironmentConfigNodeConfigOutput) ServiceAccount

func (EnvironmentConfigNodeConfigOutput) Subnetwork

func (EnvironmentConfigNodeConfigOutput) Tags

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

type EnvironmentConfigNodeConfigPtrInput

type EnvironmentConfigNodeConfigPtrInput interface {
	pulumi.Input

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

type EnvironmentConfigNodeConfigPtrOutput

type EnvironmentConfigNodeConfigPtrOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigNodeConfigPtrOutput) DiskSizeGb

func (EnvironmentConfigNodeConfigPtrOutput) Elem

func (EnvironmentConfigNodeConfigPtrOutput) ElementType

func (EnvironmentConfigNodeConfigPtrOutput) IpAllocationPolicy

func (EnvironmentConfigNodeConfigPtrOutput) MachineType

func (EnvironmentConfigNodeConfigPtrOutput) Network

func (EnvironmentConfigNodeConfigPtrOutput) OauthScopes

func (EnvironmentConfigNodeConfigPtrOutput) ServiceAccount

func (EnvironmentConfigNodeConfigPtrOutput) Subnetwork

func (EnvironmentConfigNodeConfigPtrOutput) Tags

func (EnvironmentConfigNodeConfigPtrOutput) ToEnvironmentConfigNodeConfigPtrOutput

func (o EnvironmentConfigNodeConfigPtrOutput) ToEnvironmentConfigNodeConfigPtrOutput() EnvironmentConfigNodeConfigPtrOutput

func (EnvironmentConfigNodeConfigPtrOutput) ToEnvironmentConfigNodeConfigPtrOutputWithContext

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

func (EnvironmentConfigNodeConfigPtrOutput) Zone

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

func (EnvironmentConfigOutput) NodeCount

func (EnvironmentConfigOutput) PrivateEnvironmentConfig

func (EnvironmentConfigOutput) SoftwareConfig

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 {
	EnablePrivateEndpoint *bool   `pulumi:"enablePrivateEndpoint"`
	MasterIpv4CidrBlock   *string `pulumi:"masterIpv4CidrBlock"`
}

type EnvironmentConfigPrivateEnvironmentConfigArgs

type EnvironmentConfigPrivateEnvironmentConfigArgs struct {
	EnablePrivateEndpoint pulumi.BoolPtrInput   `pulumi:"enablePrivateEndpoint"`
	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
}

type EnvironmentConfigPrivateEnvironmentConfigOutput

type EnvironmentConfigPrivateEnvironmentConfigOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigPrivateEnvironmentConfigOutput) ElementType

func (EnvironmentConfigPrivateEnvironmentConfigOutput) EnablePrivateEndpoint

func (EnvironmentConfigPrivateEnvironmentConfigOutput) MasterIpv4CidrBlock

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
}

type EnvironmentConfigPrivateEnvironmentConfigPtrOutput

type EnvironmentConfigPrivateEnvironmentConfigPtrOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigPrivateEnvironmentConfigPtrOutput) Elem

func (EnvironmentConfigPrivateEnvironmentConfigPtrOutput) ElementType

func (EnvironmentConfigPrivateEnvironmentConfigPtrOutput) EnablePrivateEndpoint

func (EnvironmentConfigPrivateEnvironmentConfigPtrOutput) MasterIpv4CidrBlock

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
}

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

func (EnvironmentConfigPtrOutput) NodeCount

func (EnvironmentConfigPtrOutput) PrivateEnvironmentConfig

func (EnvironmentConfigPtrOutput) SoftwareConfig

func (EnvironmentConfigPtrOutput) ToEnvironmentConfigPtrOutput

func (o EnvironmentConfigPtrOutput) ToEnvironmentConfigPtrOutput() EnvironmentConfigPtrOutput

func (EnvironmentConfigPtrOutput) ToEnvironmentConfigPtrOutputWithContext

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

type EnvironmentConfigSoftwareConfig

type EnvironmentConfigSoftwareConfig struct {
	AirflowConfigOverrides map[string]string `pulumi:"airflowConfigOverrides"`
	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"`
	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 {
	AirflowConfigOverrides pulumi.StringMapInput `pulumi:"airflowConfigOverrides"`
	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"`
	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
}

type EnvironmentConfigSoftwareConfigOutput

type EnvironmentConfigSoftwareConfigOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigSoftwareConfigOutput) AirflowConfigOverrides

func (EnvironmentConfigSoftwareConfigOutput) ElementType

func (EnvironmentConfigSoftwareConfigOutput) EnvVariables

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

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
}

type EnvironmentConfigSoftwareConfigPtrOutput

type EnvironmentConfigSoftwareConfigPtrOutput struct{ *pulumi.OutputState }

func (EnvironmentConfigSoftwareConfigPtrOutput) AirflowConfigOverrides

func (EnvironmentConfigSoftwareConfigPtrOutput) Elem

func (EnvironmentConfigSoftwareConfigPtrOutput) ElementType

func (EnvironmentConfigSoftwareConfigPtrOutput) EnvVariables

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

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 {
	Config EnvironmentConfigPtrInput
	Labels pulumi.StringMapInput
	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
	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
}

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
}

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 {
	// id is 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.

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

Jump to

Keyboard shortcuts

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