1. Packages
  2. Azure Native
  3. API Docs
  4. machinelearning
  5. getWorkspace
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.machinelearning.getWorkspace

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

Gets the properties of the specified machine learning workspace.

Uses Azure REST API version 2019-10-01.

Using getWorkspace

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 getWorkspace(args: GetWorkspaceArgs, opts?: InvokeOptions): Promise<GetWorkspaceResult>
function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: InvokeOptions): Output<GetWorkspaceResult>
Copy
def get_workspace(resource_group_name: Optional[str] = None,
                  workspace_name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetWorkspaceResult
def get_workspace_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                  workspace_name: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetWorkspaceResult]
Copy
func LookupWorkspace(ctx *Context, args *LookupWorkspaceArgs, opts ...InvokeOption) (*LookupWorkspaceResult, error)
func LookupWorkspaceOutput(ctx *Context, args *LookupWorkspaceOutputArgs, opts ...InvokeOption) LookupWorkspaceResultOutput
Copy

> Note: This function is named LookupWorkspace in the Go SDK.

public static class GetWorkspace 
{
    public static Task<GetWorkspaceResult> InvokeAsync(GetWorkspaceArgs args, InvokeOptions? opts = null)
    public static Output<GetWorkspaceResult> Invoke(GetWorkspaceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetWorkspaceResult> getWorkspace(GetWorkspaceArgs args, InvokeOptions options)
public static Output<GetWorkspaceResult> getWorkspace(GetWorkspaceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:machinelearning:getWorkspace
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group to which the machine learning workspace belongs.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the machine learning workspace.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group to which the machine learning workspace belongs.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the machine learning workspace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group to which the machine learning workspace belongs.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the machine learning workspace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group to which the machine learning workspace belongs.
workspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the machine learning workspace.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group to which the machine learning workspace belongs.
workspace_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the machine learning workspace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group to which the machine learning workspace belongs.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the machine learning workspace.

getWorkspace Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
CreationTime string
The creation time for this workspace resource.
Id string
The resource ID.
Location string
The location of the resource. This cannot be changed after the resource is created.
Name string
The name of the resource.
OwnerEmail string
The email id of the owner for this workspace.
StudioEndpoint string
The regional endpoint for the machine learning studio service which hosts this workspace.
Type string
The type of the resource.
UserStorageAccountId string
The fully qualified arm id of the storage account associated with this workspace.
WorkspaceId string
The immutable id associated with this workspace.
WorkspaceState string
The current state of workspace resource.
WorkspaceType string
The type of this workspace.
KeyVaultIdentifierId string
The key vault identifier used for encrypted workspaces.
Sku Pulumi.AzureNative.MachineLearning.Outputs.SkuResponse
The sku of the workspace.
Tags Dictionary<string, string>
The tags of the resource.
AzureApiVersion string
The Azure API version of the resource.
CreationTime string
The creation time for this workspace resource.
Id string
The resource ID.
Location string
The location of the resource. This cannot be changed after the resource is created.
Name string
The name of the resource.
OwnerEmail string
The email id of the owner for this workspace.
StudioEndpoint string
The regional endpoint for the machine learning studio service which hosts this workspace.
Type string
The type of the resource.
UserStorageAccountId string
The fully qualified arm id of the storage account associated with this workspace.
WorkspaceId string
The immutable id associated with this workspace.
WorkspaceState string
The current state of workspace resource.
WorkspaceType string
The type of this workspace.
KeyVaultIdentifierId string
The key vault identifier used for encrypted workspaces.
Sku SkuResponse
The sku of the workspace.
Tags map[string]string
The tags of the resource.
azureApiVersion String
The Azure API version of the resource.
creationTime String
The creation time for this workspace resource.
id String
The resource ID.
location String
The location of the resource. This cannot be changed after the resource is created.
name String
The name of the resource.
ownerEmail String
The email id of the owner for this workspace.
studioEndpoint String
The regional endpoint for the machine learning studio service which hosts this workspace.
type String
The type of the resource.
userStorageAccountId String
The fully qualified arm id of the storage account associated with this workspace.
workspaceId String
The immutable id associated with this workspace.
workspaceState String
The current state of workspace resource.
workspaceType String
The type of this workspace.
keyVaultIdentifierId String
The key vault identifier used for encrypted workspaces.
sku SkuResponse
The sku of the workspace.
tags Map<String,String>
The tags of the resource.
azureApiVersion string
The Azure API version of the resource.
creationTime string
The creation time for this workspace resource.
id string
The resource ID.
location string
The location of the resource. This cannot be changed after the resource is created.
name string
The name of the resource.
ownerEmail string
The email id of the owner for this workspace.
studioEndpoint string
The regional endpoint for the machine learning studio service which hosts this workspace.
type string
The type of the resource.
userStorageAccountId string
The fully qualified arm id of the storage account associated with this workspace.
workspaceId string
The immutable id associated with this workspace.
workspaceState string
The current state of workspace resource.
workspaceType string
The type of this workspace.
keyVaultIdentifierId string
The key vault identifier used for encrypted workspaces.
sku SkuResponse
The sku of the workspace.
tags {[key: string]: string}
The tags of the resource.
azure_api_version str
The Azure API version of the resource.
creation_time str
The creation time for this workspace resource.
id str
The resource ID.
location str
The location of the resource. This cannot be changed after the resource is created.
name str
The name of the resource.
owner_email str
The email id of the owner for this workspace.
studio_endpoint str
The regional endpoint for the machine learning studio service which hosts this workspace.
type str
The type of the resource.
user_storage_account_id str
The fully qualified arm id of the storage account associated with this workspace.
workspace_id str
The immutable id associated with this workspace.
workspace_state str
The current state of workspace resource.
workspace_type str
The type of this workspace.
key_vault_identifier_id str
The key vault identifier used for encrypted workspaces.
sku SkuResponse
The sku of the workspace.
tags Mapping[str, str]
The tags of the resource.
azureApiVersion String
The Azure API version of the resource.
creationTime String
The creation time for this workspace resource.
id String
The resource ID.
location String
The location of the resource. This cannot be changed after the resource is created.
name String
The name of the resource.
ownerEmail String
The email id of the owner for this workspace.
studioEndpoint String
The regional endpoint for the machine learning studio service which hosts this workspace.
type String
The type of the resource.
userStorageAccountId String
The fully qualified arm id of the storage account associated with this workspace.
workspaceId String
The immutable id associated with this workspace.
workspaceState String
The current state of workspace resource.
workspaceType String
The type of this workspace.
keyVaultIdentifierId String
The key vault identifier used for encrypted workspaces.
sku Property Map
The sku of the workspace.
tags Map<String>
The tags of the resource.

Supporting Types

SkuResponse

Name string
Name of the sku
Tier string
Tier of the sku like Basic or Enterprise
Name string
Name of the sku
Tier string
Tier of the sku like Basic or Enterprise
name String
Name of the sku
tier String
Tier of the sku like Basic or Enterprise
name string
Name of the sku
tier string
Tier of the sku like Basic or Enterprise
name str
Name of the sku
tier str
Tier of the sku like Basic or Enterprise
name String
Name of the sku
tier String
Tier of the sku like Basic or Enterprise

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi