Workspace

class Workspace : KotlinCustomResource

An object that represents a machine learning team account workspace. API Version: 2017-05-01-preview.

Example Usage

WorkspaceCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var workspace = new AzureNative.MachineLearningExperimentation.Workspace("workspace", new()
{
AccountName = "testaccount",
FriendlyName = "testName",
Location = "East US",
ResourceGroupName = "myResourceGroup",
Tags =
{
{ "tagKey1", "TagValue1" },
},
WorkspaceName = "testworkspace",
});
});
package main
import (
machinelearningexperimentation "github.com/pulumi/pulumi-azure-native-sdk/machinelearningexperimentation"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := machinelearningexperimentation.NewWorkspace(ctx, "workspace", &machinelearningexperimentation.WorkspaceArgs{
AccountName: pulumi.String("testaccount"),
FriendlyName: pulumi.String("testName"),
Location: pulumi.String("East US"),
ResourceGroupName: pulumi.String("myResourceGroup"),
Tags: pulumi.StringMap{
"tagKey1": pulumi.String("TagValue1"),
},
WorkspaceName: pulumi.String("testworkspace"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.machinelearningexperimentation.Workspace;
import com.pulumi.azurenative.machinelearningexperimentation.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()
.accountName("testaccount")
.friendlyName("testName")
.location("East US")
.resourceGroupName("myResourceGroup")
.tags(Map.of("tagKey1", "TagValue1"))
.workspaceName("testworkspace")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:machinelearningexperimentation:Workspace testworkspace /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearningExperimentation/accounts/testaccount/workspaces/testworkspace

Properties

Link copied to clipboard
val accountId: Output<String>

The immutable id of the team account which contains this workspace.

Link copied to clipboard
val creationDate: Output<String>

The creation date of the machine learning workspace in ISO8601 format.

Link copied to clipboard
val description: Output<String>?

The description of this workspace.

Link copied to clipboard
val friendlyName: Output<String>

The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The location of the resource. This cannot be changed after the resource is created.

Link copied to clipboard
val name: Output<String>

The name of the resource.

Link copied to clipboard

The current deployment state of team account workspace resource. The provisioningState is to indicate states for resource provisioning.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

The tags of the resource.

Link copied to clipboard
val type: Output<String>

The type of the resource.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val workspaceId: Output<String>

The immutable id of this workspace.