Class GetWorkspace
Inheritance
System.Object
GetWorkspace
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.MachineLearning
Assembly: Pulumi.Azure.dll
Syntax
public static class GetWorkspace
Methods
View SourceInvokeAsync(GetWorkspaceArgs, InvokeOptions)
Use this data source to access information about an existing Machine Learning Workspace.
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var existing = Output.Create(Azure.MachineLearning.GetWorkspace.InvokeAsync(new Azure.MachineLearning.GetWorkspaceArgs
{
Name = "example-workspace",
ResourceGroupName = "example-resources",
}));
this.Id = azurerm_machine_learning_workspace.Existing.Id;
}
[Output("id")]
public Output<string> Id { get; set; }
}
Declaration
public static Task<GetWorkspaceResult> InvokeAsync(GetWorkspaceArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetWorkspaceArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetWorkspaceResult> |