azure-native.machinelearningexperimentation.Workspace
Explore with Pulumi AI
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 pulumi
import pulumi_azure_native as azure_native
workspace = azure_native.machinelearningexperimentation.Workspace("workspace",
account_name="testaccount",
friendly_name="testName",
location="East US",
resource_group_name="myResourceGroup",
tags={
"tagKey1": "TagValue1",
},
workspace_name="testworkspace")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const workspace = new azure_native.machinelearningexperimentation.Workspace("workspace", {
accountName: "testaccount",
friendlyName: "testName",
location: "East US",
resourceGroupName: "myResourceGroup",
tags: {
tagKey1: "TagValue1",
},
workspaceName: "testworkspace",
});
resources:
workspace:
type: azure-native:machinelearningexperimentation:Workspace
properties:
accountName: testaccount
friendlyName: testName
location: East US
resourceGroupName: myResourceGroup
tags:
tagKey1: TagValue1
workspaceName: testworkspace
Create Workspace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Workspace(name: string, args: WorkspaceArgs, opts?: CustomResourceOptions);
@overload
def Workspace(resource_name: str,
args: WorkspaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Workspace(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
friendly_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
description: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
workspace_name: Optional[str] = None)
func NewWorkspace(ctx *Context, name string, args WorkspaceArgs, opts ...ResourceOption) (*Workspace, error)
public Workspace(string name, WorkspaceArgs args, CustomResourceOptions? opts = null)
public Workspace(String name, WorkspaceArgs args)
public Workspace(String name, WorkspaceArgs args, CustomResourceOptions options)
type: azure-native:machinelearningexperimentation:Workspace
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WorkspaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WorkspaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WorkspaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkspaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkspaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleworkspaceResourceResourceFromMachinelearningexperimentation = new AzureNative.Machinelearningexperimentation.Workspace("exampleworkspaceResourceResourceFromMachinelearningexperimentation", new()
{
AccountName = "string",
FriendlyName = "string",
ResourceGroupName = "string",
Description = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
WorkspaceName = "string",
});
example, err := machinelearningexperimentation.NewWorkspace(ctx, "exampleworkspaceResourceResourceFromMachinelearningexperimentation", &machinelearningexperimentation.WorkspaceArgs{
AccountName: "string",
FriendlyName: "string",
ResourceGroupName: "string",
Description: "string",
Location: "string",
Tags: map[string]interface{}{
"string": "string",
},
WorkspaceName: "string",
})
var exampleworkspaceResourceResourceFromMachinelearningexperimentation = new Workspace("exampleworkspaceResourceResourceFromMachinelearningexperimentation", WorkspaceArgs.builder()
.accountName("string")
.friendlyName("string")
.resourceGroupName("string")
.description("string")
.location("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.workspaceName("string")
.build());
exampleworkspace_resource_resource_from_machinelearningexperimentation = azure_native.machinelearningexperimentation.Workspace("exampleworkspaceResourceResourceFromMachinelearningexperimentation",
account_name=string,
friendly_name=string,
resource_group_name=string,
description=string,
location=string,
tags={
string: string,
},
workspace_name=string)
const exampleworkspaceResourceResourceFromMachinelearningexperimentation = new azure_native.machinelearningexperimentation.Workspace("exampleworkspaceResourceResourceFromMachinelearningexperimentation", {
accountName: "string",
friendlyName: "string",
resourceGroupName: "string",
description: "string",
location: "string",
tags: {
string: "string",
},
workspaceName: "string",
});
type: azure-native:machinelearningexperimentation:Workspace
properties:
accountName: string
description: string
friendlyName: string
location: string
resourceGroupName: string
tags:
string: string
workspaceName: string
Workspace Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Workspace resource accepts the following input properties:
- Account
Name string - The name of the machine learning team account.
- Friendly
Name string - The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
- Resource
Group stringName - The name of the resource group to which the machine learning team account belongs.
- Description string
- The description of this workspace.
- Location string
- The location of the resource. This cannot be changed after the resource is created.
- Dictionary<string, string>
- The tags of the resource.
- Workspace
Name string - The name of the machine learning team account workspace.
- Account
Name string - The name of the machine learning team account.
- Friendly
Name string - The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
- Resource
Group stringName - The name of the resource group to which the machine learning team account belongs.
- Description string
- The description of this workspace.
- Location string
- The location of the resource. This cannot be changed after the resource is created.
- map[string]string
- The tags of the resource.
- Workspace
Name string - The name of the machine learning team account workspace.
- account
Name String - The name of the machine learning team account.
- friendly
Name String - The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
- resource
Group StringName - The name of the resource group to which the machine learning team account belongs.
- description String
- The description of this workspace.
- location String
- The location of the resource. This cannot be changed after the resource is created.
- Map<String,String>
- The tags of the resource.
- workspace
Name String - The name of the machine learning team account workspace.
- account
Name string - The name of the machine learning team account.
- friendly
Name string - The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
- resource
Group stringName - The name of the resource group to which the machine learning team account belongs.
- description string
- The description of this workspace.
- location string
- The location of the resource. This cannot be changed after the resource is created.
- {[key: string]: string}
- The tags of the resource.
- workspace
Name string - The name of the machine learning team account workspace.
- account_
name str - The name of the machine learning team account.
- friendly_
name str - The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
- resource_
group_ strname - The name of the resource group to which the machine learning team account belongs.
- description str
- The description of this workspace.
- location str
- The location of the resource. This cannot be changed after the resource is created.
- Mapping[str, str]
- The tags of the resource.
- workspace_
name str - The name of the machine learning team account workspace.
- account
Name String - The name of the machine learning team account.
- friendly
Name String - The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
- resource
Group StringName - The name of the resource group to which the machine learning team account belongs.
- description String
- The description of this workspace.
- location String
- The location of the resource. This cannot be changed after the resource is created.
- Map<String>
- The tags of the resource.
- workspace
Name String - The name of the machine learning team account workspace.
Outputs
All input properties are implicitly available as output properties. Additionally, the Workspace resource produces the following output properties:
- Account
Id string - The immutable id of the team account which contains this workspace.
- Creation
Date string - The creation date of the machine learning workspace in ISO8601 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource.
- Provisioning
State string - The current deployment state of team account workspace resource. The provisioningState is to indicate states for resource provisioning.
- Type string
- The type of the resource.
- Workspace
Id string - The immutable id of this workspace.
- Account
Id string - The immutable id of the team account which contains this workspace.
- Creation
Date string - The creation date of the machine learning workspace in ISO8601 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource.
- Provisioning
State string - The current deployment state of team account workspace resource. The provisioningState is to indicate states for resource provisioning.
- Type string
- The type of the resource.
- Workspace
Id string - The immutable id of this workspace.
- account
Id String - The immutable id of the team account which contains this workspace.
- creation
Date String - The creation date of the machine learning workspace in ISO8601 format.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource.
- provisioning
State String - The current deployment state of team account workspace resource. The provisioningState is to indicate states for resource provisioning.
- type String
- The type of the resource.
- workspace
Id String - The immutable id of this workspace.
- account
Id string - The immutable id of the team account which contains this workspace.
- creation
Date string - The creation date of the machine learning workspace in ISO8601 format.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource.
- provisioning
State string - The current deployment state of team account workspace resource. The provisioningState is to indicate states for resource provisioning.
- type string
- The type of the resource.
- workspace
Id string - The immutable id of this workspace.
- account_
id str - The immutable id of the team account which contains this workspace.
- creation_
date str - The creation date of the machine learning workspace in ISO8601 format.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource.
- provisioning_
state str - The current deployment state of team account workspace resource. The provisioningState is to indicate states for resource provisioning.
- type str
- The type of the resource.
- workspace_
id str - The immutable id of this workspace.
- account
Id String - The immutable id of the team account which contains this workspace.
- creation
Date String - The creation date of the machine learning workspace in ISO8601 format.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource.
- provisioning
State String - The current deployment state of team account workspace resource. The provisioningState is to indicate states for resource provisioning.
- type String
- The type of the resource.
- workspace
Id String - The immutable id of this workspace.
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0