Workspace
An object that represents a machine learning workspace. API Version: 2016-04-01.
Example Usage
WorkspaceCreate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var workspace = new AzureNative.MachineLearning.Workspace("workspace", new()
{
Location = "West Europe",
OwnerEmail = "abc@microsoft.com",
ResourceGroupName = "myResourceGroup",
Tags =
{
{ "tagKey1", "TagValue1" },
},
UserStorageAccountId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage",
WorkspaceName = "testworkspace",
});
});
Content copied to clipboard
package main
import (
machinelearning "github.com/pulumi/pulumi-azure-native-sdk/machinelearning"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := machinelearning.NewWorkspace(ctx, "workspace", &machinelearning.WorkspaceArgs{
Location: pulumi.String("West Europe"),
OwnerEmail: pulumi.String("abc@microsoft.com"),
ResourceGroupName: pulumi.String("myResourceGroup"),
Tags: pulumi.StringMap{
"tagKey1": pulumi.String("TagValue1"),
},
UserStorageAccountId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage"),
WorkspaceName: pulumi.String("testworkspace"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.machinelearning.Workspace;
import com.pulumi.azurenative.machinelearning.WorkspaceArgs;
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) {
var workspace = new Workspace("workspace", WorkspaceArgs.builder()
.location("West Europe")
.ownerEmail("abc@microsoft.com")
.resourceGroupName("myResourceGroup")
.tags(Map.of("tagKey1", "TagValue1"))
.userStorageAccountId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage")
.workspaceName("testworkspace")
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:machinelearning:Workspace testworkspace /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace
Content copied to clipboard
Properties
Link copied to clipboard
The creation time for this workspace resource.
Link copied to clipboard
The key vault identifier used for encrypted workspaces.
Link copied to clipboard
The email id of the owner for this workspace.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The regional endpoint for the machine learning studio service which hosts this workspace.
Link copied to clipboard
The fully qualified arm id of the storage account associated with this workspace.
Link copied to clipboard
The immutable id associated with this workspace.
Link copied to clipboard
The current state of workspace resource.
Link copied to clipboard
The type of this workspace.