WorkspaceArgs

data class WorkspaceArgs(val accountName: Output<String>? = null, val description: Output<String>? = null, val friendlyName: Output<String>? = null, val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val workspaceName: Output<String>? = null) : ConvertibleToJava<WorkspaceArgs>

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

Constructors

Link copied to clipboard
constructor(accountName: Output<String>? = null, description: Output<String>? = null, friendlyName: Output<String>? = null, location: Output<String>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, workspaceName: Output<String>? = null)

Properties

Link copied to clipboard
val accountName: Output<String>? = null

The name of the machine learning team account.

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

The description of this workspace.

Link copied to clipboard
val friendlyName: Output<String>? = null

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 location: Output<String>? = null

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

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group to which the machine learning team account belongs.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

The tags of the resource.

Link copied to clipboard
val workspaceName: Output<String>? = null

The name of the machine learning team account workspace.

Functions

Link copied to clipboard
open override fun toJava(): WorkspaceArgs