hsdp 0.68.0 published on Monday, Jun 30, 2025 by philips-software
hsdp.getAiWorkspace
Explore with Pulumi AI
hsdp 0.68.0 published on Monday, Jun 30, 2025 by philips-software
Deprecation Notice This data source is deprecated and will be removed in an upcoming release of the provider
Retrieve details of an existing HSDP AI Workspace instance.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.HsdpFunctions;
import com.pulumi.hsdp.inputs.GetConfigArgs;
import com.pulumi.hsdp.inputs.GetAiWorkspaceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var workspaceConfig = HsdpFunctions.getConfig(GetConfigArgs.builder()
.service("workspace")
.build());
final var workspaceAiWorkspace = HsdpFunctions.getAiWorkspace(GetAiWorkspaceArgs.builder()
.baseUrl(workspaceConfig.applyValue(getConfigResult -> getConfigResult.url()))
.organizationId(var_.workspace_tenant_org_id())
.build());
}
}
variables:
workspaceConfig:
fn::invoke:
function: hsdp:getConfig
arguments:
service: workspace
workspaceAiWorkspace:
fn::invoke:
function: hsdp:getAiWorkspace
arguments:
baseUrl: ${workspaceConfig.url}
organizationId: ${var.workspace_tenant_org_id}
Using getAiWorkspace
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 getAiWorkspace(args: GetAiWorkspaceArgs, opts?: InvokeOptions): Promise<GetAiWorkspaceResult>
function getAiWorkspaceOutput(args: GetAiWorkspaceOutputArgs, opts?: InvokeOptions): Output<GetAiWorkspaceResult>
def get_ai_workspace(base_url: Optional[str] = None,
id: Optional[str] = None,
workspace_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAiWorkspaceResult
def get_ai_workspace_output(base_url: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
workspace_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAiWorkspaceResult]
func LookupAiWorkspace(ctx *Context, args *LookupAiWorkspaceArgs, opts ...InvokeOption) (*LookupAiWorkspaceResult, error)
func LookupAiWorkspaceOutput(ctx *Context, args *LookupAiWorkspaceOutputArgs, opts ...InvokeOption) LookupAiWorkspaceResultOutput
> Note: This function is named LookupAiWorkspace
in the Go SDK.
public static class GetAiWorkspace
{
public static Task<GetAiWorkspaceResult> InvokeAsync(GetAiWorkspaceArgs args, InvokeOptions? opts = null)
public static Output<GetAiWorkspaceResult> Invoke(GetAiWorkspaceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAiWorkspaceResult> getAiWorkspace(GetAiWorkspaceArgs args, InvokeOptions options)
public static Output<GetAiWorkspaceResult> getAiWorkspace(GetAiWorkspaceArgs args, InvokeOptions options)
fn::invoke:
function: hsdp:index/getAiWorkspace:getAiWorkspace
arguments:
# arguments dictionary
The following arguments are supported:
- Base
Url string - the base URL of the Inference deployment. This can be auto-discovered and/or provided by HSDP.
- Workspace
Id string - Id string
- Base
Url string - the base URL of the Inference deployment. This can be auto-discovered and/or provided by HSDP.
- Workspace
Id string - Id string
- base
Url String - the base URL of the Inference deployment. This can be auto-discovered and/or provided by HSDP.
- workspace
Id String - id String
- base
Url string - the base URL of the Inference deployment. This can be auto-discovered and/or provided by HSDP.
- workspace
Id string - id string
- base_
url str - the base URL of the Inference deployment. This can be auto-discovered and/or provided by HSDP.
- workspace_
id str - id str
- base
Url String - the base URL of the Inference deployment. This can be auto-discovered and/or provided by HSDP.
- workspace
Id String - id String
getAiWorkspace Result
The following output properties are available:
- Base
Url string - Endpoint string
- The Inference endpoint URL
- Id string
- Url string
- The pre-signed URL to access the Workspace. NOTICE: It only has a 5 minute TTL
- Workspace
Id string
- Base
Url string - Endpoint string
- The Inference endpoint URL
- Id string
- Url string
- The pre-signed URL to access the Workspace. NOTICE: It only has a 5 minute TTL
- Workspace
Id string
- base
Url String - endpoint String
- The Inference endpoint URL
- id String
- url String
- The pre-signed URL to access the Workspace. NOTICE: It only has a 5 minute TTL
- workspace
Id String
- base
Url string - endpoint string
- The Inference endpoint URL
- id string
- url string
- The pre-signed URL to access the Workspace. NOTICE: It only has a 5 minute TTL
- workspace
Id string
- base_
url str - endpoint str
- The Inference endpoint URL
- id str
- url str
- The pre-signed URL to access the Workspace. NOTICE: It only has a 5 minute TTL
- workspace_
id str
- base
Url String - endpoint String
- The Inference endpoint URL
- id String
- url String
- The pre-signed URL to access the Workspace. NOTICE: It only has a 5 minute TTL
- workspace
Id String
Package Details
- Repository
- hsdp philips-software/terraform-provider-hsdp
- License
- Notes
- This Pulumi package is based on the
hsdp
Terraform Provider.
hsdp 0.68.0 published on Monday, Jun 30, 2025 by philips-software