1. Packages
  2. Azure Native v1
  3. API Docs
  4. machinelearningexperimentation
  5. Workspace
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.machinelearningexperimentation.Workspace

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    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:

    AccountName string
    The name of the machine learning team account.
    FriendlyName string
    The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
    ResourceGroupName string
    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.
    Tags Dictionary<string, string>
    The tags of the resource.
    WorkspaceName string
    The name of the machine learning team account workspace.
    AccountName string
    The name of the machine learning team account.
    FriendlyName string
    The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
    ResourceGroupName string
    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.
    Tags map[string]string
    The tags of the resource.
    WorkspaceName string
    The name of the machine learning team account workspace.
    accountName String
    The name of the machine learning team account.
    friendlyName String
    The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
    resourceGroupName String
    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.
    tags Map<String,String>
    The tags of the resource.
    workspaceName String
    The name of the machine learning team account workspace.
    accountName string
    The name of the machine learning team account.
    friendlyName string
    The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
    resourceGroupName string
    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.
    tags {[key: string]: string}
    The tags of the resource.
    workspaceName 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_name str
    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.
    tags Mapping[str, str]
    The tags of the resource.
    workspace_name str
    The name of the machine learning team account workspace.
    accountName String
    The name of the machine learning team account.
    friendlyName String
    The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
    resourceGroupName String
    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.
    tags Map<String>
    The tags of the resource.
    workspaceName 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:

    AccountId string
    The immutable id of the team account which contains this workspace.
    CreationDate 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.
    ProvisioningState 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.
    WorkspaceId string
    The immutable id of this workspace.
    AccountId string
    The immutable id of the team account which contains this workspace.
    CreationDate 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.
    ProvisioningState 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.
    WorkspaceId string
    The immutable id of this workspace.
    accountId String
    The immutable id of the team account which contains this workspace.
    creationDate 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.
    provisioningState 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.
    workspaceId String
    The immutable id of this workspace.
    accountId string
    The immutable id of the team account which contains this workspace.
    creationDate 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.
    provisioningState 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.
    workspaceId 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.
    accountId String
    The immutable id of the team account which contains this workspace.
    creationDate 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.
    provisioningState 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.
    workspaceId 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
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi