# coding=utf-8
# *** WARNING: this file was generated by pulumi-language-python. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import builtins as _builtins
import warnings
import sys
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
if sys.version_info >= (3, 11):
    from typing import NotRequired, TypedDict, TypeAlias
else:
    from typing_extensions import NotRequired, TypedDict, TypeAlias
from . import _utilities
from . import outputs
from ._inputs import *

__all__ = ['EnvironmentsWorkspaceBaseEnvironmentArgs', 'EnvironmentsWorkspaceBaseEnvironment']

@pulumi.input_type
class EnvironmentsWorkspaceBaseEnvironmentArgs:
    def __init__(__self__, *,
                 display_name: pulumi.Input[_builtins.str],
                 base_environment_type: Optional[pulumi.Input[_builtins.str]] = None,
                 filepath: Optional[pulumi.Input[_builtins.str]] = None,
                 provider_config: Optional[pulumi.Input['EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgs']] = None,
                 workspace_base_environment_id: Optional[pulumi.Input[_builtins.str]] = None):
        """
        The set of arguments for constructing a EnvironmentsWorkspaceBaseEnvironment resource.
        :param pulumi.Input[_builtins.str] display_name: Human-readable display name for the workspace base environment
        :param pulumi.Input[_builtins.str] base_environment_type: The type of base environment (CPU or GPU). Possible values are: `CPU`, `GPU`
        :param pulumi.Input[_builtins.str] filepath: The WSFS or UC Volumes path to the environment YAML file
        :param pulumi.Input['EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgs'] provider_config: Configure the provider for management through account provider.
        :param pulumi.Input[_builtins.str] workspace_base_environment_id: The ID to use for the workspace base environment, which will become the final component of
               the resource name.
               This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
        """
        pulumi.set(__self__, "display_name", display_name)
        if base_environment_type is not None:
            pulumi.set(__self__, "base_environment_type", base_environment_type)
        if filepath is not None:
            pulumi.set(__self__, "filepath", filepath)
        if provider_config is not None:
            pulumi.set(__self__, "provider_config", provider_config)
        if workspace_base_environment_id is not None:
            pulumi.set(__self__, "workspace_base_environment_id", workspace_base_environment_id)

    @_builtins.property
    @pulumi.getter(name="displayName")
    def display_name(self) -> pulumi.Input[_builtins.str]:
        """
        Human-readable display name for the workspace base environment
        """
        return pulumi.get(self, "display_name")

    @display_name.setter
    def display_name(self, value: pulumi.Input[_builtins.str]):
        pulumi.set(self, "display_name", value)

    @_builtins.property
    @pulumi.getter(name="baseEnvironmentType")
    def base_environment_type(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        The type of base environment (CPU or GPU). Possible values are: `CPU`, `GPU`
        """
        return pulumi.get(self, "base_environment_type")

    @base_environment_type.setter
    def base_environment_type(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "base_environment_type", value)

    @_builtins.property
    @pulumi.getter
    def filepath(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        The WSFS or UC Volumes path to the environment YAML file
        """
        return pulumi.get(self, "filepath")

    @filepath.setter
    def filepath(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "filepath", value)

    @_builtins.property
    @pulumi.getter(name="providerConfig")
    def provider_config(self) -> Optional[pulumi.Input['EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgs']]:
        """
        Configure the provider for management through account provider.
        """
        return pulumi.get(self, "provider_config")

    @provider_config.setter
    def provider_config(self, value: Optional[pulumi.Input['EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgs']]):
        pulumi.set(self, "provider_config", value)

    @_builtins.property
    @pulumi.getter(name="workspaceBaseEnvironmentId")
    def workspace_base_environment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        The ID to use for the workspace base environment, which will become the final component of
        the resource name.
        This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
        """
        return pulumi.get(self, "workspace_base_environment_id")

    @workspace_base_environment_id.setter
    def workspace_base_environment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "workspace_base_environment_id", value)


@pulumi.input_type
class _EnvironmentsWorkspaceBaseEnvironmentState:
    def __init__(__self__, *,
                 base_environment_type: Optional[pulumi.Input[_builtins.str]] = None,
                 create_time: Optional[pulumi.Input[_builtins.str]] = None,
                 creator_user_id: Optional[pulumi.Input[_builtins.str]] = None,
                 display_name: Optional[pulumi.Input[_builtins.str]] = None,
                 effective_base_environment_type: Optional[pulumi.Input[_builtins.str]] = None,
                 filepath: Optional[pulumi.Input[_builtins.str]] = None,
                 is_default: Optional[pulumi.Input[_builtins.bool]] = None,
                 last_updated_user_id: Optional[pulumi.Input[_builtins.str]] = None,
                 message: Optional[pulumi.Input[_builtins.str]] = None,
                 name: Optional[pulumi.Input[_builtins.str]] = None,
                 provider_config: Optional[pulumi.Input['EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgs']] = None,
                 status: Optional[pulumi.Input[_builtins.str]] = None,
                 update_time: Optional[pulumi.Input[_builtins.str]] = None,
                 workspace_base_environment_id: Optional[pulumi.Input[_builtins.str]] = None):
        """
        Input properties used for looking up and filtering EnvironmentsWorkspaceBaseEnvironment resources.
        :param pulumi.Input[_builtins.str] base_environment_type: The type of base environment (CPU or GPU). Possible values are: `CPU`, `GPU`
        :param pulumi.Input[_builtins.str] create_time: (string) - Timestamp when the environment was created
        :param pulumi.Input[_builtins.str] creator_user_id: (string) - User ID of the creator
        :param pulumi.Input[_builtins.str] display_name: Human-readable display name for the workspace base environment
        :param pulumi.Input[_builtins.str] filepath: The WSFS or UC Volumes path to the environment YAML file
        :param pulumi.Input[_builtins.bool] is_default: (boolean) - Whether this is the default environment for the workspace
        :param pulumi.Input[_builtins.str] last_updated_user_id: (string) - User ID of the last user who updated the environment
        :param pulumi.Input[_builtins.str] message: (string) - Status message providing additional details about the environment status
        :param pulumi.Input[_builtins.str] name: (string) - The resource name of the workspace base environment.
               Format: workspace-base-environments/{workspace-base-environment}
        :param pulumi.Input['EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgs'] provider_config: Configure the provider for management through account provider.
        :param pulumi.Input[_builtins.str] status: (string) - The status of the materialized workspace base environment. Possible values are: `CREATED`, `EXPIRED`, `FAILED`, `INVALID`, `PENDING`, `REFRESHING`
        :param pulumi.Input[_builtins.str] update_time: (string) - Timestamp when the environment was last updated
        :param pulumi.Input[_builtins.str] workspace_base_environment_id: The ID to use for the workspace base environment, which will become the final component of
               the resource name.
               This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
        """
        if base_environment_type is not None:
            pulumi.set(__self__, "base_environment_type", base_environment_type)
        if create_time is not None:
            pulumi.set(__self__, "create_time", create_time)
        if creator_user_id is not None:
            pulumi.set(__self__, "creator_user_id", creator_user_id)
        if display_name is not None:
            pulumi.set(__self__, "display_name", display_name)
        if effective_base_environment_type is not None:
            pulumi.set(__self__, "effective_base_environment_type", effective_base_environment_type)
        if filepath is not None:
            pulumi.set(__self__, "filepath", filepath)
        if is_default is not None:
            pulumi.set(__self__, "is_default", is_default)
        if last_updated_user_id is not None:
            pulumi.set(__self__, "last_updated_user_id", last_updated_user_id)
        if message is not None:
            pulumi.set(__self__, "message", message)
        if name is not None:
            pulumi.set(__self__, "name", name)
        if provider_config is not None:
            pulumi.set(__self__, "provider_config", provider_config)
        if status is not None:
            pulumi.set(__self__, "status", status)
        if update_time is not None:
            pulumi.set(__self__, "update_time", update_time)
        if workspace_base_environment_id is not None:
            pulumi.set(__self__, "workspace_base_environment_id", workspace_base_environment_id)

    @_builtins.property
    @pulumi.getter(name="baseEnvironmentType")
    def base_environment_type(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        The type of base environment (CPU or GPU). Possible values are: `CPU`, `GPU`
        """
        return pulumi.get(self, "base_environment_type")

    @base_environment_type.setter
    def base_environment_type(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "base_environment_type", value)

    @_builtins.property
    @pulumi.getter(name="createTime")
    def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        (string) - Timestamp when the environment was created
        """
        return pulumi.get(self, "create_time")

    @create_time.setter
    def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "create_time", value)

    @_builtins.property
    @pulumi.getter(name="creatorUserId")
    def creator_user_id(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        (string) - User ID of the creator
        """
        return pulumi.get(self, "creator_user_id")

    @creator_user_id.setter
    def creator_user_id(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "creator_user_id", value)

    @_builtins.property
    @pulumi.getter(name="displayName")
    def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        Human-readable display name for the workspace base environment
        """
        return pulumi.get(self, "display_name")

    @display_name.setter
    def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "display_name", value)

    @_builtins.property
    @pulumi.getter(name="effectiveBaseEnvironmentType")
    def effective_base_environment_type(self) -> Optional[pulumi.Input[_builtins.str]]:
        return pulumi.get(self, "effective_base_environment_type")

    @effective_base_environment_type.setter
    def effective_base_environment_type(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "effective_base_environment_type", value)

    @_builtins.property
    @pulumi.getter
    def filepath(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        The WSFS or UC Volumes path to the environment YAML file
        """
        return pulumi.get(self, "filepath")

    @filepath.setter
    def filepath(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "filepath", value)

    @_builtins.property
    @pulumi.getter(name="isDefault")
    def is_default(self) -> Optional[pulumi.Input[_builtins.bool]]:
        """
        (boolean) - Whether this is the default environment for the workspace
        """
        return pulumi.get(self, "is_default")

    @is_default.setter
    def is_default(self, value: Optional[pulumi.Input[_builtins.bool]]):
        pulumi.set(self, "is_default", value)

    @_builtins.property
    @pulumi.getter(name="lastUpdatedUserId")
    def last_updated_user_id(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        (string) - User ID of the last user who updated the environment
        """
        return pulumi.get(self, "last_updated_user_id")

    @last_updated_user_id.setter
    def last_updated_user_id(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "last_updated_user_id", value)

    @_builtins.property
    @pulumi.getter
    def message(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        (string) - Status message providing additional details about the environment status
        """
        return pulumi.get(self, "message")

    @message.setter
    def message(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "message", value)

    @_builtins.property
    @pulumi.getter
    def name(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        (string) - The resource name of the workspace base environment.
        Format: workspace-base-environments/{workspace-base-environment}
        """
        return pulumi.get(self, "name")

    @name.setter
    def name(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "name", value)

    @_builtins.property
    @pulumi.getter(name="providerConfig")
    def provider_config(self) -> Optional[pulumi.Input['EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgs']]:
        """
        Configure the provider for management through account provider.
        """
        return pulumi.get(self, "provider_config")

    @provider_config.setter
    def provider_config(self, value: Optional[pulumi.Input['EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgs']]):
        pulumi.set(self, "provider_config", value)

    @_builtins.property
    @pulumi.getter
    def status(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        (string) - The status of the materialized workspace base environment. Possible values are: `CREATED`, `EXPIRED`, `FAILED`, `INVALID`, `PENDING`, `REFRESHING`
        """
        return pulumi.get(self, "status")

    @status.setter
    def status(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "status", value)

    @_builtins.property
    @pulumi.getter(name="updateTime")
    def update_time(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        (string) - Timestamp when the environment was last updated
        """
        return pulumi.get(self, "update_time")

    @update_time.setter
    def update_time(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "update_time", value)

    @_builtins.property
    @pulumi.getter(name="workspaceBaseEnvironmentId")
    def workspace_base_environment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        The ID to use for the workspace base environment, which will become the final component of
        the resource name.
        This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
        """
        return pulumi.get(self, "workspace_base_environment_id")

    @workspace_base_environment_id.setter
    def workspace_base_environment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "workspace_base_environment_id", value)


@pulumi.type_token("databricks:index/environmentsWorkspaceBaseEnvironment:EnvironmentsWorkspaceBaseEnvironment")
class EnvironmentsWorkspaceBaseEnvironment(pulumi.CustomResource):
    @overload
    def __init__(__self__,
                 resource_name: str,
                 opts: Optional[pulumi.ResourceOptions] = None,
                 base_environment_type: Optional[pulumi.Input[_builtins.str]] = None,
                 display_name: Optional[pulumi.Input[_builtins.str]] = None,
                 filepath: Optional[pulumi.Input[_builtins.str]] = None,
                 provider_config: Optional[pulumi.Input[Union['EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgs', 'EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgsDict']]] = None,
                 workspace_base_environment_id: Optional[pulumi.Input[_builtins.str]] = None,
                 __props__=None):
        """
        [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)

        A Workspace Base Environment is a shareable specification that defines a serverless environment version and additional Python dependencies for serverless notebooks and jobs.

        By pre-materializing environments, Databricks reduces startup time and ensures consistent, reproducible environments across notebooks and jobs within the workspace.

        **Note:** Each workspace is limited to 10 workspace base environments.

        ## Example Usage

        ### Basic Example

        This example creates a Workspace Base Environment referencing an environment YAML file stored in a UC Volume.

        ```python
        import pulumi
        import pulumi_databricks as databricks

        this = databricks.index.WorkspaceBaseEnvironment("this",
            display_name=my-environment,
            filepath=/Volumes/catalog/schema/volume/environment.yaml)
        ```

        ### Example with GPU Compute Type

        This example creates a GPU-specific Workspace Base Environment.

        ```python
        import pulumi
        import pulumi_databricks as databricks

        gpu_env = databricks.index.WorkspaceBaseEnvironment("gpu_env",
            display_name=my-gpu-environment,
            filepath=/Volumes/catalog/schema/volume/gpu-environment.yaml,
            base_environment_type=GPU_LARGE)
        ```

        :param str resource_name: The name of the resource.
        :param pulumi.ResourceOptions opts: Options for the resource.
        :param pulumi.Input[_builtins.str] base_environment_type: The type of base environment (CPU or GPU). Possible values are: `CPU`, `GPU`
        :param pulumi.Input[_builtins.str] display_name: Human-readable display name for the workspace base environment
        :param pulumi.Input[_builtins.str] filepath: The WSFS or UC Volumes path to the environment YAML file
        :param pulumi.Input[Union['EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgs', 'EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgsDict']] provider_config: Configure the provider for management through account provider.
        :param pulumi.Input[_builtins.str] workspace_base_environment_id: The ID to use for the workspace base environment, which will become the final component of
               the resource name.
               This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
        """
        ...
    @overload
    def __init__(__self__,
                 resource_name: str,
                 args: EnvironmentsWorkspaceBaseEnvironmentArgs,
                 opts: Optional[pulumi.ResourceOptions] = None):
        """
        [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)

        A Workspace Base Environment is a shareable specification that defines a serverless environment version and additional Python dependencies for serverless notebooks and jobs.

        By pre-materializing environments, Databricks reduces startup time and ensures consistent, reproducible environments across notebooks and jobs within the workspace.

        **Note:** Each workspace is limited to 10 workspace base environments.

        ## Example Usage

        ### Basic Example

        This example creates a Workspace Base Environment referencing an environment YAML file stored in a UC Volume.

        ```python
        import pulumi
        import pulumi_databricks as databricks

        this = databricks.index.WorkspaceBaseEnvironment("this",
            display_name=my-environment,
            filepath=/Volumes/catalog/schema/volume/environment.yaml)
        ```

        ### Example with GPU Compute Type

        This example creates a GPU-specific Workspace Base Environment.

        ```python
        import pulumi
        import pulumi_databricks as databricks

        gpu_env = databricks.index.WorkspaceBaseEnvironment("gpu_env",
            display_name=my-gpu-environment,
            filepath=/Volumes/catalog/schema/volume/gpu-environment.yaml,
            base_environment_type=GPU_LARGE)
        ```

        :param str resource_name: The name of the resource.
        :param EnvironmentsWorkspaceBaseEnvironmentArgs args: The arguments to use to populate this resource's properties.
        :param pulumi.ResourceOptions opts: Options for the resource.
        """
        ...
    def __init__(__self__, resource_name: str, *args, **kwargs):
        resource_args, opts = _utilities.get_resource_args_opts(EnvironmentsWorkspaceBaseEnvironmentArgs, pulumi.ResourceOptions, *args, **kwargs)
        if resource_args is not None:
            __self__._internal_init(resource_name, opts, **resource_args.__dict__)
        else:
            __self__._internal_init(resource_name, *args, **kwargs)

    def _internal_init(__self__,
                 resource_name: str,
                 opts: Optional[pulumi.ResourceOptions] = None,
                 base_environment_type: Optional[pulumi.Input[_builtins.str]] = None,
                 display_name: Optional[pulumi.Input[_builtins.str]] = None,
                 filepath: Optional[pulumi.Input[_builtins.str]] = None,
                 provider_config: Optional[pulumi.Input[Union['EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgs', 'EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgsDict']]] = None,
                 workspace_base_environment_id: Optional[pulumi.Input[_builtins.str]] = None,
                 __props__=None):
        opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
        if not isinstance(opts, pulumi.ResourceOptions):
            raise TypeError('Expected resource options to be a ResourceOptions instance')
        if opts.id is None:
            if __props__ is not None:
                raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
            __props__ = EnvironmentsWorkspaceBaseEnvironmentArgs.__new__(EnvironmentsWorkspaceBaseEnvironmentArgs)

            __props__.__dict__["base_environment_type"] = base_environment_type
            if display_name is None and not opts.urn:
                raise TypeError("Missing required property 'display_name'")
            __props__.__dict__["display_name"] = display_name
            __props__.__dict__["filepath"] = filepath
            __props__.__dict__["provider_config"] = provider_config
            __props__.__dict__["workspace_base_environment_id"] = workspace_base_environment_id
            __props__.__dict__["create_time"] = None
            __props__.__dict__["creator_user_id"] = None
            __props__.__dict__["effective_base_environment_type"] = None
            __props__.__dict__["is_default"] = None
            __props__.__dict__["last_updated_user_id"] = None
            __props__.__dict__["message"] = None
            __props__.__dict__["name"] = None
            __props__.__dict__["status"] = None
            __props__.__dict__["update_time"] = None
        super(EnvironmentsWorkspaceBaseEnvironment, __self__).__init__(
            'databricks:index/environmentsWorkspaceBaseEnvironment:EnvironmentsWorkspaceBaseEnvironment',
            resource_name,
            __props__,
            opts)

    @staticmethod
    def get(resource_name: str,
            id: pulumi.Input[str],
            opts: Optional[pulumi.ResourceOptions] = None,
            base_environment_type: Optional[pulumi.Input[_builtins.str]] = None,
            create_time: Optional[pulumi.Input[_builtins.str]] = None,
            creator_user_id: Optional[pulumi.Input[_builtins.str]] = None,
            display_name: Optional[pulumi.Input[_builtins.str]] = None,
            effective_base_environment_type: Optional[pulumi.Input[_builtins.str]] = None,
            filepath: Optional[pulumi.Input[_builtins.str]] = None,
            is_default: Optional[pulumi.Input[_builtins.bool]] = None,
            last_updated_user_id: Optional[pulumi.Input[_builtins.str]] = None,
            message: Optional[pulumi.Input[_builtins.str]] = None,
            name: Optional[pulumi.Input[_builtins.str]] = None,
            provider_config: Optional[pulumi.Input[Union['EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgs', 'EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgsDict']]] = None,
            status: Optional[pulumi.Input[_builtins.str]] = None,
            update_time: Optional[pulumi.Input[_builtins.str]] = None,
            workspace_base_environment_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'EnvironmentsWorkspaceBaseEnvironment':
        """
        Get an existing EnvironmentsWorkspaceBaseEnvironment resource's state with the given name, id, and optional extra
        properties used to qualify the lookup.

        :param str resource_name: The unique name of the resulting resource.
        :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
        :param pulumi.ResourceOptions opts: Options for the resource.
        :param pulumi.Input[_builtins.str] base_environment_type: The type of base environment (CPU or GPU). Possible values are: `CPU`, `GPU`
        :param pulumi.Input[_builtins.str] create_time: (string) - Timestamp when the environment was created
        :param pulumi.Input[_builtins.str] creator_user_id: (string) - User ID of the creator
        :param pulumi.Input[_builtins.str] display_name: Human-readable display name for the workspace base environment
        :param pulumi.Input[_builtins.str] filepath: The WSFS or UC Volumes path to the environment YAML file
        :param pulumi.Input[_builtins.bool] is_default: (boolean) - Whether this is the default environment for the workspace
        :param pulumi.Input[_builtins.str] last_updated_user_id: (string) - User ID of the last user who updated the environment
        :param pulumi.Input[_builtins.str] message: (string) - Status message providing additional details about the environment status
        :param pulumi.Input[_builtins.str] name: (string) - The resource name of the workspace base environment.
               Format: workspace-base-environments/{workspace-base-environment}
        :param pulumi.Input[Union['EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgs', 'EnvironmentsWorkspaceBaseEnvironmentProviderConfigArgsDict']] provider_config: Configure the provider for management through account provider.
        :param pulumi.Input[_builtins.str] status: (string) - The status of the materialized workspace base environment. Possible values are: `CREATED`, `EXPIRED`, `FAILED`, `INVALID`, `PENDING`, `REFRESHING`
        :param pulumi.Input[_builtins.str] update_time: (string) - Timestamp when the environment was last updated
        :param pulumi.Input[_builtins.str] workspace_base_environment_id: The ID to use for the workspace base environment, which will become the final component of
               the resource name.
               This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
        """
        opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))

        __props__ = _EnvironmentsWorkspaceBaseEnvironmentState.__new__(_EnvironmentsWorkspaceBaseEnvironmentState)

        __props__.__dict__["base_environment_type"] = base_environment_type
        __props__.__dict__["create_time"] = create_time
        __props__.__dict__["creator_user_id"] = creator_user_id
        __props__.__dict__["display_name"] = display_name
        __props__.__dict__["effective_base_environment_type"] = effective_base_environment_type
        __props__.__dict__["filepath"] = filepath
        __props__.__dict__["is_default"] = is_default
        __props__.__dict__["last_updated_user_id"] = last_updated_user_id
        __props__.__dict__["message"] = message
        __props__.__dict__["name"] = name
        __props__.__dict__["provider_config"] = provider_config
        __props__.__dict__["status"] = status
        __props__.__dict__["update_time"] = update_time
        __props__.__dict__["workspace_base_environment_id"] = workspace_base_environment_id
        return EnvironmentsWorkspaceBaseEnvironment(resource_name, opts=opts, __props__=__props__)

    @_builtins.property
    @pulumi.getter(name="baseEnvironmentType")
    def base_environment_type(self) -> pulumi.Output[Optional[_builtins.str]]:
        """
        The type of base environment (CPU or GPU). Possible values are: `CPU`, `GPU`
        """
        return pulumi.get(self, "base_environment_type")

    @_builtins.property
    @pulumi.getter(name="createTime")
    def create_time(self) -> pulumi.Output[_builtins.str]:
        """
        (string) - Timestamp when the environment was created
        """
        return pulumi.get(self, "create_time")

    @_builtins.property
    @pulumi.getter(name="creatorUserId")
    def creator_user_id(self) -> pulumi.Output[_builtins.str]:
        """
        (string) - User ID of the creator
        """
        return pulumi.get(self, "creator_user_id")

    @_builtins.property
    @pulumi.getter(name="displayName")
    def display_name(self) -> pulumi.Output[_builtins.str]:
        """
        Human-readable display name for the workspace base environment
        """
        return pulumi.get(self, "display_name")

    @_builtins.property
    @pulumi.getter(name="effectiveBaseEnvironmentType")
    def effective_base_environment_type(self) -> pulumi.Output[_builtins.str]:
        return pulumi.get(self, "effective_base_environment_type")

    @_builtins.property
    @pulumi.getter
    def filepath(self) -> pulumi.Output[Optional[_builtins.str]]:
        """
        The WSFS or UC Volumes path to the environment YAML file
        """
        return pulumi.get(self, "filepath")

    @_builtins.property
    @pulumi.getter(name="isDefault")
    def is_default(self) -> pulumi.Output[_builtins.bool]:
        """
        (boolean) - Whether this is the default environment for the workspace
        """
        return pulumi.get(self, "is_default")

    @_builtins.property
    @pulumi.getter(name="lastUpdatedUserId")
    def last_updated_user_id(self) -> pulumi.Output[_builtins.str]:
        """
        (string) - User ID of the last user who updated the environment
        """
        return pulumi.get(self, "last_updated_user_id")

    @_builtins.property
    @pulumi.getter
    def message(self) -> pulumi.Output[_builtins.str]:
        """
        (string) - Status message providing additional details about the environment status
        """
        return pulumi.get(self, "message")

    @_builtins.property
    @pulumi.getter
    def name(self) -> pulumi.Output[_builtins.str]:
        """
        (string) - The resource name of the workspace base environment.
        Format: workspace-base-environments/{workspace-base-environment}
        """
        return pulumi.get(self, "name")

    @_builtins.property
    @pulumi.getter(name="providerConfig")
    def provider_config(self) -> pulumi.Output[Optional['outputs.EnvironmentsWorkspaceBaseEnvironmentProviderConfig']]:
        """
        Configure the provider for management through account provider.
        """
        return pulumi.get(self, "provider_config")

    @_builtins.property
    @pulumi.getter
    def status(self) -> pulumi.Output[_builtins.str]:
        """
        (string) - The status of the materialized workspace base environment. Possible values are: `CREATED`, `EXPIRED`, `FAILED`, `INVALID`, `PENDING`, `REFRESHING`
        """
        return pulumi.get(self, "status")

    @_builtins.property
    @pulumi.getter(name="updateTime")
    def update_time(self) -> pulumi.Output[_builtins.str]:
        """
        (string) - Timestamp when the environment was last updated
        """
        return pulumi.get(self, "update_time")

    @_builtins.property
    @pulumi.getter(name="workspaceBaseEnvironmentId")
    def workspace_base_environment_id(self) -> pulumi.Output[_builtins.str]:
        """
        The ID to use for the workspace base environment, which will become the final component of
        the resource name.
        This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
        """
        return pulumi.get(self, "workspace_base_environment_id")

