gcp.composer.getEnvironment

Provides access to Cloud Composer environment configuration in a region for a given project.

Using getEnvironment

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getEnvironment(args: GetEnvironmentArgs, opts?: InvokeOptions): Promise<GetEnvironmentResult>
function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentResult>
def get_environment(name: Optional[str] = None,
                    project: Optional[str] = None,
                    region: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetEnvironmentResult
def get_environment_output(name: Optional[pulumi.Input[str]] = None,
                    project: Optional[pulumi.Input[str]] = None,
                    region: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentResult]
func LookupEnvironment(ctx *Context, args *LookupEnvironmentArgs, opts ...InvokeOption) (*LookupEnvironmentResult, error)
func LookupEnvironmentOutput(ctx *Context, args *LookupEnvironmentOutputArgs, opts ...InvokeOption) LookupEnvironmentResultOutput

> Note: This function is named LookupEnvironment in the Go SDK.

public static class GetEnvironment 
{
    public static Task<GetEnvironmentResult> InvokeAsync(GetEnvironmentArgs args, InvokeOptions? opts = null)
    public static Output<GetEnvironmentResult> Invoke(GetEnvironmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEnvironmentResult> getEnvironment(GetEnvironmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: gcp:composer/getEnvironment:getEnvironment
  arguments:
    # arguments dictionary

The following arguments are supported:

Name string

Name of the environment.

Project string

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

Region string

The location or Compute Engine region of the environment.

Name string

Name of the environment.

Project string

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

Region string

The location or Compute Engine region of the environment.

name String

Name of the environment.

project String

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

region String

The location or Compute Engine region of the environment.

name string

Name of the environment.

project string

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

region string

The location or Compute Engine region of the environment.

name str

Name of the environment.

project str

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

region str

The location or Compute Engine region of the environment.

name String

Name of the environment.

project String

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

region String

The location or Compute Engine region of the environment.

getEnvironment Result

The following output properties are available:

Configs List<GetEnvironmentConfig>

Configuration parameters for the environment.

Id string

The provider-assigned unique ID for this managed resource.

Labels Dictionary<string, string>
Name string
Project string
Region string
Configs []GetEnvironmentConfig

Configuration parameters for the environment.

Id string

The provider-assigned unique ID for this managed resource.

Labels map[string]string
Name string
Project string
Region string
configs List<GetEnvironmentConfig>

Configuration parameters for the environment.

id String

The provider-assigned unique ID for this managed resource.

labels Map<String,String>
name String
project String
region String
configs GetEnvironmentConfig[]

Configuration parameters for the environment.

id string

The provider-assigned unique ID for this managed resource.

labels {[key: string]: string}
name string
project string
region string
configs Sequence[GetEnvironmentConfig]

Configuration parameters for the environment.

id str

The provider-assigned unique ID for this managed resource.

labels Mapping[str, str]
name str
project str
region str
configs List<Property Map>

Configuration parameters for the environment.

id String

The provider-assigned unique ID for this managed resource.

labels Map<String>
name String
project String
region String

Supporting Types

GetEnvironmentConfig

airflow_uri str
dag_gcs_prefix str
database_configs Sequence[GetEnvironmentConfigDatabaseConfig]
encryption_configs Sequence[GetEnvironmentConfigEncryptionConfig]
environment_size str
gke_cluster str
maintenance_windows Sequence[GetEnvironmentConfigMaintenanceWindow]
master_authorized_networks_configs Sequence[GetEnvironmentConfigMasterAuthorizedNetworksConfig]
node_configs Sequence[GetEnvironmentConfigNodeConfig]
node_count int
private_environment_configs Sequence[GetEnvironmentConfigPrivateEnvironmentConfig]
recovery_configs Sequence[GetEnvironmentConfigRecoveryConfig]
software_configs Sequence[GetEnvironmentConfigSoftwareConfig]
web_server_configs Sequence[GetEnvironmentConfigWebServerConfig]
web_server_network_access_controls Sequence[GetEnvironmentConfigWebServerNetworkAccessControl]
workloads_configs Sequence[GetEnvironmentConfigWorkloadsConfig]

GetEnvironmentConfigDatabaseConfig

GetEnvironmentConfigEncryptionConfig

KmsKeyName string
KmsKeyName string
kmsKeyName String
kmsKeyName string
kmsKeyName String

GetEnvironmentConfigMaintenanceWindow

EndTime string
Recurrence string
StartTime string
EndTime string
Recurrence string
StartTime string
endTime String
recurrence String
startTime String
endTime string
recurrence string
startTime string
endTime String
recurrence String
startTime String

GetEnvironmentConfigMasterAuthorizedNetworksConfig

GetEnvironmentConfigMasterAuthorizedNetworksConfigCidrBlock

CidrBlock string
DisplayName string
CidrBlock string
DisplayName string
cidrBlock String
displayName String
cidrBlock string
displayName string
cidrBlock String
displayName String

GetEnvironmentConfigNodeConfig

GetEnvironmentConfigNodeConfigIpAllocationPolicy

GetEnvironmentConfigPrivateEnvironmentConfig

GetEnvironmentConfigRecoveryConfig

GetEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig

GetEnvironmentConfigSoftwareConfig

GetEnvironmentConfigSoftwareConfigCloudDataLineageIntegration

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetEnvironmentConfigWebServerConfig

GetEnvironmentConfigWebServerNetworkAccessControl

GetEnvironmentConfigWebServerNetworkAccessControlAllowedIpRange

Description string
Value string
Description string
Value string
description String
value String
description string
value string
description String
value String

GetEnvironmentConfigWorkloadsConfig

GetEnvironmentConfigWorkloadsConfigScheduler

Count int
Cpu double
MemoryGb double
StorageGb double
Count int
Cpu float64
MemoryGb float64
StorageGb float64
count Integer
cpu Double
memoryGb Double
storageGb Double
count number
cpu number
memoryGb number
storageGb number
count int
cpu float
memory_gb float
storage_gb float
count Number
cpu Number
memoryGb Number
storageGb Number

GetEnvironmentConfigWorkloadsConfigTriggerer

Count int
Cpu double
MemoryGb double
Count int
Cpu float64
MemoryGb float64
count Integer
cpu Double
memoryGb Double
count number
cpu number
memoryGb number
count int
cpu float
memory_gb float
count Number
cpu Number
memoryGb Number

GetEnvironmentConfigWorkloadsConfigWebServer

Cpu double
MemoryGb double
StorageGb double
Cpu float64
MemoryGb float64
StorageGb float64
cpu Double
memoryGb Double
storageGb Double
cpu number
memoryGb number
storageGb number
cpu float
memory_gb float
storage_gb float
cpu Number
memoryGb Number
storageGb Number

GetEnvironmentConfigWorkloadsConfigWorker

Cpu double
MaxCount int
MemoryGb double
MinCount int
StorageGb double
Cpu float64
MaxCount int
MemoryGb float64
MinCount int
StorageGb float64
cpu Double
maxCount Integer
memoryGb Double
minCount Integer
storageGb Double
cpu number
maxCount number
memoryGb number
minCount number
storageGb number
cpu Number
maxCount Number
memoryGb Number
minCount Number
storageGb Number

Package Details

Repository
Google Cloud (GCP) Classic pulumi/pulumi-gcp
License
Apache-2.0
Notes

This Pulumi package is based on the google-beta Terraform Provider.