Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.dataplex/v1.getEnvironment
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Get environment resource.
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(environment_id: Optional[str] = None,
                    lake_id: Optional[str] = None,
                    location: Optional[str] = None,
                    project: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetEnvironmentResult
def get_environment_output(environment_id: Optional[pulumi.Input[str]] = None,
                    lake_id: Optional[pulumi.Input[str]] = None,
                    location: Optional[pulumi.Input[str]] = None,
                    project: 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)
public static Output<GetEnvironmentResult> getEnvironment(GetEnvironmentArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:dataplex/v1:getEnvironment
  arguments:
    # arguments dictionaryThe following arguments are supported:
- EnvironmentId string
- LakeId string
- Location string
- Project string
- EnvironmentId string
- LakeId string
- Location string
- Project string
- environmentId String
- lakeId String
- location String
- project String
- environmentId string
- lakeId string
- location string
- project string
- environment_id str
- lake_id str
- location str
- project str
- environmentId String
- lakeId String
- location String
- project String
getEnvironment Result
The following output properties are available:
- CreateTime string
- Environment creation time.
- Description string
- Optional. Description of the environment.
- DisplayName string
- Optional. User friendly display name.
- Endpoints
Pulumi.Google Native. Dataplex. V1. Outputs. Google Cloud Dataplex V1Environment Endpoints Response 
- URI Endpoints to access sessions associated with the Environment.
- InfrastructureSpec Pulumi.Google Native. Dataplex. V1. Outputs. Google Cloud Dataplex V1Environment Infrastructure Spec Response 
- Infrastructure specification for the Environment.
- Labels Dictionary<string, string>
- Optional. User defined labels for the environment.
- Name string
- The relative resource name of the environment, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
- SessionSpec Pulumi.Google Native. Dataplex. V1. Outputs. Google Cloud Dataplex V1Environment Session Spec Response 
- Optional. Configuration for sessions created for this environment.
- SessionStatus Pulumi.Google Native. Dataplex. V1. Outputs. Google Cloud Dataplex V1Environment Session Status Response 
- Status of sessions created for this environment.
- State string
- Current state of the environment.
- Uid string
- System generated globally unique ID for the environment. This ID will be different if the environment is deleted and re-created with the same name.
- UpdateTime string
- The time when the environment was last updated.
- CreateTime string
- Environment creation time.
- Description string
- Optional. Description of the environment.
- DisplayName string
- Optional. User friendly display name.
- Endpoints
GoogleCloud Dataplex V1Environment Endpoints Response 
- URI Endpoints to access sessions associated with the Environment.
- InfrastructureSpec GoogleCloud Dataplex V1Environment Infrastructure Spec Response 
- Infrastructure specification for the Environment.
- Labels map[string]string
- Optional. User defined labels for the environment.
- Name string
- The relative resource name of the environment, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
- SessionSpec GoogleCloud Dataplex V1Environment Session Spec Response 
- Optional. Configuration for sessions created for this environment.
- SessionStatus GoogleCloud Dataplex V1Environment Session Status Response 
- Status of sessions created for this environment.
- State string
- Current state of the environment.
- Uid string
- System generated globally unique ID for the environment. This ID will be different if the environment is deleted and re-created with the same name.
- UpdateTime string
- The time when the environment was last updated.
- createTime String
- Environment creation time.
- description String
- Optional. Description of the environment.
- displayName String
- Optional. User friendly display name.
- endpoints
GoogleCloud Dataplex V1Environment Endpoints Response 
- URI Endpoints to access sessions associated with the Environment.
- infrastructureSpec GoogleCloud Dataplex V1Environment Infrastructure Spec Response 
- Infrastructure specification for the Environment.
- labels Map<String,String>
- Optional. User defined labels for the environment.
- name String
- The relative resource name of the environment, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
- sessionSpec GoogleCloud Dataplex V1Environment Session Spec Response 
- Optional. Configuration for sessions created for this environment.
- sessionStatus GoogleCloud Dataplex V1Environment Session Status Response 
- Status of sessions created for this environment.
- state String
- Current state of the environment.
- uid String
- System generated globally unique ID for the environment. This ID will be different if the environment is deleted and re-created with the same name.
- updateTime String
- The time when the environment was last updated.
- createTime string
- Environment creation time.
- description string
- Optional. Description of the environment.
- displayName string
- Optional. User friendly display name.
- endpoints
GoogleCloud Dataplex V1Environment Endpoints Response 
- URI Endpoints to access sessions associated with the Environment.
- infrastructureSpec GoogleCloud Dataplex V1Environment Infrastructure Spec Response 
- Infrastructure specification for the Environment.
- labels {[key: string]: string}
- Optional. User defined labels for the environment.
- name string
- The relative resource name of the environment, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
- sessionSpec GoogleCloud Dataplex V1Environment Session Spec Response 
- Optional. Configuration for sessions created for this environment.
- sessionStatus GoogleCloud Dataplex V1Environment Session Status Response 
- Status of sessions created for this environment.
- state string
- Current state of the environment.
- uid string
- System generated globally unique ID for the environment. This ID will be different if the environment is deleted and re-created with the same name.
- updateTime string
- The time when the environment was last updated.
- create_time str
- Environment creation time.
- description str
- Optional. Description of the environment.
- display_name str
- Optional. User friendly display name.
- endpoints
GoogleCloud Dataplex V1Environment Endpoints Response 
- URI Endpoints to access sessions associated with the Environment.
- infrastructure_spec GoogleCloud Dataplex V1Environment Infrastructure Spec Response 
- Infrastructure specification for the Environment.
- labels Mapping[str, str]
- Optional. User defined labels for the environment.
- name str
- The relative resource name of the environment, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
- session_spec GoogleCloud Dataplex V1Environment Session Spec Response 
- Optional. Configuration for sessions created for this environment.
- session_status GoogleCloud Dataplex V1Environment Session Status Response 
- Status of sessions created for this environment.
- state str
- Current state of the environment.
- uid str
- System generated globally unique ID for the environment. This ID will be different if the environment is deleted and re-created with the same name.
- update_time str
- The time when the environment was last updated.
- createTime String
- Environment creation time.
- description String
- Optional. Description of the environment.
- displayName String
- Optional. User friendly display name.
- endpoints Property Map
- URI Endpoints to access sessions associated with the Environment.
- infrastructureSpec Property Map
- Infrastructure specification for the Environment.
- labels Map<String>
- Optional. User defined labels for the environment.
- name String
- The relative resource name of the environment, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
- sessionSpec Property Map
- Optional. Configuration for sessions created for this environment.
- sessionStatus Property Map
- Status of sessions created for this environment.
- state String
- Current state of the environment.
- uid String
- System generated globally unique ID for the environment. This ID will be different if the environment is deleted and re-created with the same name.
- updateTime String
- The time when the environment was last updated.
Supporting Types
GoogleCloudDataplexV1EnvironmentEndpointsResponse     
GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesResponse        
- DiskSize intGb 
- Optional. Size in GB of the disk. Default is 100 GB.
- MaxNode intCount 
- Optional. Max configurable nodes. If max_node_count > node_count, then auto-scaling is enabled.
- NodeCount int
- Optional. Total number of nodes in the sessions created for this environment.
- DiskSize intGb 
- Optional. Size in GB of the disk. Default is 100 GB.
- MaxNode intCount 
- Optional. Max configurable nodes. If max_node_count > node_count, then auto-scaling is enabled.
- NodeCount int
- Optional. Total number of nodes in the sessions created for this environment.
- diskSize IntegerGb 
- Optional. Size in GB of the disk. Default is 100 GB.
- maxNode IntegerCount 
- Optional. Max configurable nodes. If max_node_count > node_count, then auto-scaling is enabled.
- nodeCount Integer
- Optional. Total number of nodes in the sessions created for this environment.
- diskSize numberGb 
- Optional. Size in GB of the disk. Default is 100 GB.
- maxNode numberCount 
- Optional. Max configurable nodes. If max_node_count > node_count, then auto-scaling is enabled.
- nodeCount number
- Optional. Total number of nodes in the sessions created for this environment.
- disk_size_ intgb 
- Optional. Size in GB of the disk. Default is 100 GB.
- max_node_ intcount 
- Optional. Max configurable nodes. If max_node_count > node_count, then auto-scaling is enabled.
- node_count int
- Optional. Total number of nodes in the sessions created for this environment.
- diskSize NumberGb 
- Optional. Size in GB of the disk. Default is 100 GB.
- maxNode NumberCount 
- Optional. Max configurable nodes. If max_node_count > node_count, then auto-scaling is enabled.
- nodeCount Number
- Optional. Total number of nodes in the sessions created for this environment.
GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeResponse         
- ImageVersion string
- Dataplex Image version.
- JavaLibraries List<string>
- Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
- Properties Dictionary<string, string>
- Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in prefix:property format. The prefix must be "spark".
- PythonPackages List<string>
- Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
- ImageVersion string
- Dataplex Image version.
- JavaLibraries []string
- Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
- Properties map[string]string
- Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in prefix:property format. The prefix must be "spark".
- PythonPackages []string
- Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
- imageVersion String
- Dataplex Image version.
- javaLibraries List<String>
- Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
- properties Map<String,String>
- Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in prefix:property format. The prefix must be "spark".
- pythonPackages List<String>
- Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
- imageVersion string
- Dataplex Image version.
- javaLibraries string[]
- Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
- properties {[key: string]: string}
- Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in prefix:property format. The prefix must be "spark".
- pythonPackages string[]
- Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
- image_version str
- Dataplex Image version.
- java_libraries Sequence[str]
- Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
- properties Mapping[str, str]
- Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in prefix:property format. The prefix must be "spark".
- python_packages Sequence[str]
- Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
- imageVersion String
- Dataplex Image version.
- javaLibraries List<String>
- Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
- properties Map<String>
- Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in prefix:property format. The prefix must be "spark".
- pythonPackages List<String>
- Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
GoogleCloudDataplexV1EnvironmentInfrastructureSpecResponse      
- Compute
Pulumi.Google Native. Dataplex. V1. Inputs. Google Cloud Dataplex V1Environment Infrastructure Spec Compute Resources Response 
- Optional. Compute resources needed for analyze interactive workloads.
- OsImage Pulumi.Google Native. Dataplex. V1. Inputs. Google Cloud Dataplex V1Environment Infrastructure Spec Os Image Runtime Response 
- Software Runtime Configuration for analyze interactive workloads.
- Compute
GoogleCloud Dataplex V1Environment Infrastructure Spec Compute Resources Response 
- Optional. Compute resources needed for analyze interactive workloads.
- OsImage GoogleCloud Dataplex V1Environment Infrastructure Spec Os Image Runtime Response 
- Software Runtime Configuration for analyze interactive workloads.
- compute
GoogleCloud Dataplex V1Environment Infrastructure Spec Compute Resources Response 
- Optional. Compute resources needed for analyze interactive workloads.
- osImage GoogleCloud Dataplex V1Environment Infrastructure Spec Os Image Runtime Response 
- Software Runtime Configuration for analyze interactive workloads.
- compute
GoogleCloud Dataplex V1Environment Infrastructure Spec Compute Resources Response 
- Optional. Compute resources needed for analyze interactive workloads.
- osImage GoogleCloud Dataplex V1Environment Infrastructure Spec Os Image Runtime Response 
- Software Runtime Configuration for analyze interactive workloads.
- compute
GoogleCloud Dataplex V1Environment Infrastructure Spec Compute Resources Response 
- Optional. Compute resources needed for analyze interactive workloads.
- os_image GoogleCloud Dataplex V1Environment Infrastructure Spec Os Image Runtime Response 
- Software Runtime Configuration for analyze interactive workloads.
- compute Property Map
- Optional. Compute resources needed for analyze interactive workloads.
- osImage Property Map
- Software Runtime Configuration for analyze interactive workloads.
GoogleCloudDataplexV1EnvironmentSessionSpecResponse      
- EnableFast boolStartup 
- Optional. If True, this causes sessions to be pre-created and available for faster startup to enable interactive exploration use-cases. This defaults to False to avoid additional billed charges. These can only be set to True for the environment with name set to "default", and with default configuration.
- MaxIdle stringDuration 
- Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period.
- EnableFast boolStartup 
- Optional. If True, this causes sessions to be pre-created and available for faster startup to enable interactive exploration use-cases. This defaults to False to avoid additional billed charges. These can only be set to True for the environment with name set to "default", and with default configuration.
- MaxIdle stringDuration 
- Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period.
- enableFast BooleanStartup 
- Optional. If True, this causes sessions to be pre-created and available for faster startup to enable interactive exploration use-cases. This defaults to False to avoid additional billed charges. These can only be set to True for the environment with name set to "default", and with default configuration.
- maxIdle StringDuration 
- Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period.
- enableFast booleanStartup 
- Optional. If True, this causes sessions to be pre-created and available for faster startup to enable interactive exploration use-cases. This defaults to False to avoid additional billed charges. These can only be set to True for the environment with name set to "default", and with default configuration.
- maxIdle stringDuration 
- Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period.
- enable_fast_ boolstartup 
- Optional. If True, this causes sessions to be pre-created and available for faster startup to enable interactive exploration use-cases. This defaults to False to avoid additional billed charges. These can only be set to True for the environment with name set to "default", and with default configuration.
- max_idle_ strduration 
- Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period.
- enableFast BooleanStartup 
- Optional. If True, this causes sessions to be pre-created and available for faster startup to enable interactive exploration use-cases. This defaults to False to avoid additional billed charges. These can only be set to True for the environment with name set to "default", and with default configuration.
- maxIdle StringDuration 
- Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period.
GoogleCloudDataplexV1EnvironmentSessionStatusResponse      
- Active bool
- Queries over sessions to mark whether the environment is currently active or not
- Active bool
- Queries over sessions to mark whether the environment is currently active or not
- active Boolean
- Queries over sessions to mark whether the environment is currently active or not
- active boolean
- Queries over sessions to mark whether the environment is currently active or not
- active bool
- Queries over sessions to mark whether the environment is currently active or not
- active Boolean
- Queries over sessions to mark whether the environment is currently active or not
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi