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.notebooks/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
Gets details of a single Environment.
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,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEnvironmentResult
def get_environment_output(environment_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:notebooks/v1:getEnvironment
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Id string - Location string
- Project string
- Environment
Id string - Location string
- Project string
- environment
Id String - location String
- project String
- environment
Id string - location string
- project string
- environment_
id str - location str
- project str
- environment
Id String - location String
- project String
getEnvironment Result
The following output properties are available:
- Container
Image Pulumi.Google Native. Notebooks. V1. Outputs. Container Image Response - Use a container image to start the notebook instance.
- Create
Time string - The time at which this environment was created.
- Description string
- A brief description of this environment.
- Display
Name string - Display name of this environment for the UI.
- Name string
- Name of this environment. Format:
projects/{project_id}/locations/{location}/environments/{environment_id}
- Post
Startup stringScript - Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example:
"gs://path-to-file/file-name"
- Vm
Image Pulumi.Google Native. Notebooks. V1. Outputs. Vm Image Response - Use a Compute Engine VM image to start the notebook instance.
- Container
Image ContainerImage Response - Use a container image to start the notebook instance.
- Create
Time string - The time at which this environment was created.
- Description string
- A brief description of this environment.
- Display
Name string - Display name of this environment for the UI.
- Name string
- Name of this environment. Format:
projects/{project_id}/locations/{location}/environments/{environment_id}
- Post
Startup stringScript - Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example:
"gs://path-to-file/file-name"
- Vm
Image VmImage Response - Use a Compute Engine VM image to start the notebook instance.
- container
Image ContainerImage Response - Use a container image to start the notebook instance.
- create
Time String - The time at which this environment was created.
- description String
- A brief description of this environment.
- display
Name String - Display name of this environment for the UI.
- name String
- Name of this environment. Format:
projects/{project_id}/locations/{location}/environments/{environment_id}
- post
Startup StringScript - Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example:
"gs://path-to-file/file-name"
- vm
Image VmImage Response - Use a Compute Engine VM image to start the notebook instance.
- container
Image ContainerImage Response - Use a container image to start the notebook instance.
- create
Time string - The time at which this environment was created.
- description string
- A brief description of this environment.
- display
Name string - Display name of this environment for the UI.
- name string
- Name of this environment. Format:
projects/{project_id}/locations/{location}/environments/{environment_id}
- post
Startup stringScript - Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example:
"gs://path-to-file/file-name"
- vm
Image VmImage Response - Use a Compute Engine VM image to start the notebook instance.
- container_
image ContainerImage Response - Use a container image to start the notebook instance.
- create_
time str - The time at which this environment was created.
- description str
- A brief description of this environment.
- display_
name str - Display name of this environment for the UI.
- name str
- Name of this environment. Format:
projects/{project_id}/locations/{location}/environments/{environment_id}
- post_
startup_ strscript - Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example:
"gs://path-to-file/file-name"
- vm_
image VmImage Response - Use a Compute Engine VM image to start the notebook instance.
- container
Image Property Map - Use a container image to start the notebook instance.
- create
Time String - The time at which this environment was created.
- description String
- A brief description of this environment.
- display
Name String - Display name of this environment for the UI.
- name String
- Name of this environment. Format:
projects/{project_id}/locations/{location}/environments/{environment_id}
- post
Startup StringScript - Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example:
"gs://path-to-file/file-name"
- vm
Image Property Map - Use a Compute Engine VM image to start the notebook instance.
Supporting Types
ContainerImageResponse
- Repository string
- The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
- Tag string
- The tag of the container image. If not specified, this defaults to the latest tag.
- Repository string
- The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
- Tag string
- The tag of the container image. If not specified, this defaults to the latest tag.
- repository String
- The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
- tag String
- The tag of the container image. If not specified, this defaults to the latest tag.
- repository string
- The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
- tag string
- The tag of the container image. If not specified, this defaults to the latest tag.
- repository str
- The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
- tag str
- The tag of the container image. If not specified, this defaults to the latest tag.
- repository String
- The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
- tag String
- The tag of the container image. If not specified, this defaults to the latest tag.
VmImageResponse
- Image
Family string - Use this VM image family to find the image; the newest image in this family will be used.
- Image
Name string - Use VM image name to find the image.
- Project string
- The name of the Google Cloud project that this VM image belongs to. Format:
{project_id}
- Image
Family string - Use this VM image family to find the image; the newest image in this family will be used.
- Image
Name string - Use VM image name to find the image.
- Project string
- The name of the Google Cloud project that this VM image belongs to. Format:
{project_id}
- image
Family String - Use this VM image family to find the image; the newest image in this family will be used.
- image
Name String - Use VM image name to find the image.
- project String
- The name of the Google Cloud project that this VM image belongs to. Format:
{project_id}
- image
Family string - Use this VM image family to find the image; the newest image in this family will be used.
- image
Name string - Use VM image name to find the image.
- project string
- The name of the Google Cloud project that this VM image belongs to. Format:
{project_id}
- image_
family str - Use this VM image family to find the image; the newest image in this family will be used.
- image_
name str - Use VM image name to find the image.
- project str
- The name of the Google Cloud project that this VM image belongs to. Format:
{project_id}
- image
Family String - Use this VM image family to find the image; the newest image in this family will be used.
- image
Name String - Use VM image name to find the image.
- project String
- The name of the Google Cloud project that this VM image belongs to. Format:
{project_id}
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