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

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

GetEnvironmentConfigSoftwareConfig

AirflowConfigOverrides Dictionary<string, string>
EnvVariables Dictionary<string, string>
ImageVersion string
PypiPackages Dictionary<string, string>
PythonVersion string
SchedulerCount int
AirflowConfigOverrides map[string]string
EnvVariables map[string]string
ImageVersion string
PypiPackages map[string]string
PythonVersion string
SchedulerCount int
airflowConfigOverrides Map<String,String>
envVariables Map<String,String>
imageVersion String
pypiPackages Map<String,String>
pythonVersion String
schedulerCount Integer
airflowConfigOverrides {[key: string]: string}
envVariables {[key: string]: string}
imageVersion string
pypiPackages {[key: string]: string}
pythonVersion string
schedulerCount number
airflow_config_overrides Mapping[str, str]
env_variables Mapping[str, str]
image_version str
pypi_packages Mapping[str, str]
python_version str
scheduler_count int
airflowConfigOverrides Map<String>
envVariables Map<String>
imageVersion String
pypiPackages Map<String>
pythonVersion String
schedulerCount Number

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

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
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes

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