google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.dataplex/v1.getEnvironment

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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:dataplex/v1:getEnvironment
  arguments:
    # arguments dictionary

The 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
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.GoogleNative.Dataplex.V1.Outputs.GoogleCloudDataplexV1EnvironmentEndpointsResponse

URI Endpoints to access sessions associated with the Environment.

InfrastructureSpec Pulumi.GoogleNative.Dataplex.V1.Outputs.GoogleCloudDataplexV1EnvironmentInfrastructureSpecResponse

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.GoogleNative.Dataplex.V1.Outputs.GoogleCloudDataplexV1EnvironmentSessionSpecResponse

Optional. Configuration for sessions created for this environment.

SessionStatus Pulumi.GoogleNative.Dataplex.V1.Outputs.GoogleCloudDataplexV1EnvironmentSessionStatusResponse

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 GoogleCloudDataplexV1EnvironmentEndpointsResponse

URI Endpoints to access sessions associated with the Environment.

InfrastructureSpec GoogleCloudDataplexV1EnvironmentInfrastructureSpecResponse

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 GoogleCloudDataplexV1EnvironmentSessionSpecResponse

Optional. Configuration for sessions created for this environment.

SessionStatus GoogleCloudDataplexV1EnvironmentSessionStatusResponse

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 GoogleCloudDataplexV1EnvironmentEndpointsResponse

URI Endpoints to access sessions associated with the Environment.

infrastructureSpec GoogleCloudDataplexV1EnvironmentInfrastructureSpecResponse

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 GoogleCloudDataplexV1EnvironmentSessionSpecResponse

Optional. Configuration for sessions created for this environment.

sessionStatus GoogleCloudDataplexV1EnvironmentSessionStatusResponse

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 GoogleCloudDataplexV1EnvironmentEndpointsResponse

URI Endpoints to access sessions associated with the Environment.

infrastructureSpec GoogleCloudDataplexV1EnvironmentInfrastructureSpecResponse

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 GoogleCloudDataplexV1EnvironmentSessionSpecResponse

Optional. Configuration for sessions created for this environment.

sessionStatus GoogleCloudDataplexV1EnvironmentSessionStatusResponse

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 GoogleCloudDataplexV1EnvironmentEndpointsResponse

URI Endpoints to access sessions associated with the Environment.

infrastructure_spec GoogleCloudDataplexV1EnvironmentInfrastructureSpecResponse

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 GoogleCloudDataplexV1EnvironmentSessionSpecResponse

Optional. Configuration for sessions created for this environment.

session_status GoogleCloudDataplexV1EnvironmentSessionStatusResponse

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

Notebooks string

URI to serve notebook APIs

Sql string

URI to serve SQL APIs

Notebooks string

URI to serve notebook APIs

Sql string

URI to serve SQL APIs

notebooks String

URI to serve notebook APIs

sql String

URI to serve SQL APIs

notebooks string

URI to serve notebook APIs

sql string

URI to serve SQL APIs

notebooks str

URI to serve notebook APIs

sql str

URI to serve SQL APIs

notebooks String

URI to serve notebook APIs

sql String

URI to serve SQL APIs

GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesResponse

DiskSizeGb int

Optional. Size in GB of the disk. Default is 100 GB.

MaxNodeCount int

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.

DiskSizeGb int

Optional. Size in GB of the disk. Default is 100 GB.

MaxNodeCount int

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.

diskSizeGb Integer

Optional. Size in GB of the disk. Default is 100 GB.

maxNodeCount Integer

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.

diskSizeGb number

Optional. Size in GB of the disk. Default is 100 GB.

maxNodeCount number

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_gb int

Optional. Size in GB of the disk. Default is 100 GB.

max_node_count int

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.

diskSizeGb Number

Optional. Size in GB of the disk. Default is 100 GB.

maxNodeCount Number

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 GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesResponse

Optional. Compute resources needed for analyze interactive workloads.

OsImage GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeResponse

Software Runtime Configuration for analyze interactive workloads.

compute GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesResponse

Optional. Compute resources needed for analyze interactive workloads.

osImage GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeResponse

Software Runtime Configuration for analyze interactive workloads.

compute GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesResponse

Optional. Compute resources needed for analyze interactive workloads.

osImage GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeResponse

Software Runtime Configuration for analyze interactive workloads.

compute GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesResponse

Optional. Compute resources needed for analyze interactive workloads.

os_image GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeResponse

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

EnableFastStartup bool

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.

MaxIdleDuration string

Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period.

EnableFastStartup bool

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.

MaxIdleDuration string

Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period.

enableFastStartup Boolean

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.

maxIdleDuration String

Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period.

enableFastStartup boolean

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.

maxIdleDuration string

Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period.

enable_fast_startup bool

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_duration str

Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period.

enableFastStartup Boolean

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.

maxIdleDuration String

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