1. Packages
  2. Azure Native v1
  3. API Docs
  4. machinelearningexperimentation
  5. Project
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.Project

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 project. API Version: 2017-05-01-preview.

    Example Usage

    CreateProject

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var project = new AzureNative.MachineLearningExperimentation.Project("project", new()
        {
            AccountName = "testaccount",
            FriendlyName = "testName",
            Gitrepo = "https://github/abc",
            Location = "East US",
            ProjectName = "testProject",
            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.NewProject(ctx, "project", &machinelearningexperimentation.ProjectArgs{
    			AccountName:       pulumi.String("testaccount"),
    			FriendlyName:      pulumi.String("testName"),
    			Gitrepo:           pulumi.String("https://github/abc"),
    			Location:          pulumi.String("East US"),
    			ProjectName:       pulumi.String("testProject"),
    			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.Project;
    import com.pulumi.azurenative.machinelearningexperimentation.ProjectArgs;
    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 project = new Project("project", ProjectArgs.builder()        
                .accountName("testaccount")
                .friendlyName("testName")
                .gitrepo("https://github/abc")
                .location("East US")
                .projectName("testProject")
                .resourceGroupName("myResourceGroup")
                .tags(Map.of("tagKey1", "TagValue1"))
                .workspaceName("testworkspace")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    project = azure_native.machinelearningexperimentation.Project("project",
        account_name="testaccount",
        friendly_name="testName",
        gitrepo="https://github/abc",
        location="East US",
        project_name="testProject",
        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 project = new azure_native.machinelearningexperimentation.Project("project", {
        accountName: "testaccount",
        friendlyName: "testName",
        gitrepo: "https://github/abc",
        location: "East US",
        projectName: "testProject",
        resourceGroupName: "myResourceGroup",
        tags: {
            tagKey1: "TagValue1",
        },
        workspaceName: "testworkspace",
    });
    
    resources:
      project:
        type: azure-native:machinelearningexperimentation:Project
        properties:
          accountName: testaccount
          friendlyName: testName
          gitrepo: https://github/abc
          location: East US
          projectName: testProject
          resourceGroupName: myResourceGroup
          tags:
            tagKey1: TagValue1
          workspaceName: testworkspace
    

    Create Project Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Project(name: string, args: ProjectArgs, opts?: CustomResourceOptions);
    @overload
    def Project(resource_name: str,
                args: ProjectArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Project(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                account_name: Optional[str] = None,
                friendly_name: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                workspace_name: Optional[str] = None,
                description: Optional[str] = None,
                gitrepo: Optional[str] = None,
                location: Optional[str] = None,
                project_name: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = None)
    func NewProject(ctx *Context, name string, args ProjectArgs, opts ...ResourceOption) (*Project, error)
    public Project(string name, ProjectArgs args, CustomResourceOptions? opts = null)
    public Project(String name, ProjectArgs args)
    public Project(String name, ProjectArgs args, CustomResourceOptions options)
    
    type: azure-native:machinelearningexperimentation:Project
    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 ProjectArgs
    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 ProjectArgs
    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 ProjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProjectArgs
    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 exampleprojectResourceResourceFromMachinelearningexperimentation = new AzureNative.Machinelearningexperimentation.Project("exampleprojectResourceResourceFromMachinelearningexperimentation", new()
    {
        AccountName = "string",
        FriendlyName = "string",
        ResourceGroupName = "string",
        WorkspaceName = "string",
        Description = "string",
        Gitrepo = "string",
        Location = "string",
        ProjectName = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := machinelearningexperimentation.NewProject(ctx, "exampleprojectResourceResourceFromMachinelearningexperimentation", &machinelearningexperimentation.ProjectArgs{
    	AccountName:       "string",
    	FriendlyName:      "string",
    	ResourceGroupName: "string",
    	WorkspaceName:     "string",
    	Description:       "string",
    	Gitrepo:           "string",
    	Location:          "string",
    	ProjectName:       "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var exampleprojectResourceResourceFromMachinelearningexperimentation = new Project("exampleprojectResourceResourceFromMachinelearningexperimentation", ProjectArgs.builder()
        .accountName("string")
        .friendlyName("string")
        .resourceGroupName("string")
        .workspaceName("string")
        .description("string")
        .gitrepo("string")
        .location("string")
        .projectName("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    exampleproject_resource_resource_from_machinelearningexperimentation = azure_native.machinelearningexperimentation.Project("exampleprojectResourceResourceFromMachinelearningexperimentation",
        account_name=string,
        friendly_name=string,
        resource_group_name=string,
        workspace_name=string,
        description=string,
        gitrepo=string,
        location=string,
        project_name=string,
        tags={
            string: string,
        })
    
    const exampleprojectResourceResourceFromMachinelearningexperimentation = new azure_native.machinelearningexperimentation.Project("exampleprojectResourceResourceFromMachinelearningexperimentation", {
        accountName: "string",
        friendlyName: "string",
        resourceGroupName: "string",
        workspaceName: "string",
        description: "string",
        gitrepo: "string",
        location: "string",
        projectName: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:machinelearningexperimentation:Project
    properties:
        accountName: string
        description: string
        friendlyName: string
        gitrepo: string
        location: string
        projectName: string
        resourceGroupName: string
        tags:
            string: string
        workspaceName: string
    

    Project 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 Project resource accepts the following input properties:

    AccountName string
    The name of the machine learning team account.
    FriendlyName string
    The friendly name for this project.
    ResourceGroupName string
    The name of the resource group to which the machine learning team account belongs.
    WorkspaceName string
    The name of the machine learning team account workspace.
    Description string
    The description of this project.
    Gitrepo string
    The reference to git repo for this project.
    Location string
    The location of the resource. This cannot be changed after the resource is created.
    ProjectName string
    The name of the machine learning project under a team account workspace.
    Tags Dictionary<string, string>
    The tags of the resource.
    AccountName string
    The name of the machine learning team account.
    FriendlyName string
    The friendly name for this project.
    ResourceGroupName string
    The name of the resource group to which the machine learning team account belongs.
    WorkspaceName string
    The name of the machine learning team account workspace.
    Description string
    The description of this project.
    Gitrepo string
    The reference to git repo for this project.
    Location string
    The location of the resource. This cannot be changed after the resource is created.
    ProjectName string
    The name of the machine learning project under a team account workspace.
    Tags map[string]string
    The tags of the resource.
    accountName String
    The name of the machine learning team account.
    friendlyName String
    The friendly name for this project.
    resourceGroupName String
    The name of the resource group to which the machine learning team account belongs.
    workspaceName String
    The name of the machine learning team account workspace.
    description String
    The description of this project.
    gitrepo String
    The reference to git repo for this project.
    location String
    The location of the resource. This cannot be changed after the resource is created.
    projectName String
    The name of the machine learning project under a team account workspace.
    tags Map<String,String>
    The tags of the resource.
    accountName string
    The name of the machine learning team account.
    friendlyName string
    The friendly name for this project.
    resourceGroupName string
    The name of the resource group to which the machine learning team account belongs.
    workspaceName string
    The name of the machine learning team account workspace.
    description string
    The description of this project.
    gitrepo string
    The reference to git repo for this project.
    location string
    The location of the resource. This cannot be changed after the resource is created.
    projectName string
    The name of the machine learning project under a team account workspace.
    tags {[key: string]: string}
    The tags of the resource.
    account_name str
    The name of the machine learning team account.
    friendly_name str
    The friendly name for this project.
    resource_group_name str
    The name of the resource group to which the machine learning team account belongs.
    workspace_name str
    The name of the machine learning team account workspace.
    description str
    The description of this project.
    gitrepo str
    The reference to git repo for this project.
    location str
    The location of the resource. This cannot be changed after the resource is created.
    project_name str
    The name of the machine learning project under a team account workspace.
    tags Mapping[str, str]
    The tags of the resource.
    accountName String
    The name of the machine learning team account.
    friendlyName String
    The friendly name for this project.
    resourceGroupName String
    The name of the resource group to which the machine learning team account belongs.
    workspaceName String
    The name of the machine learning team account workspace.
    description String
    The description of this project.
    gitrepo String
    The reference to git repo for this project.
    location String
    The location of the resource. This cannot be changed after the resource is created.
    projectName String
    The name of the machine learning project under a team account workspace.
    tags Map<String>
    The tags of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:

    AccountId string
    The immutable id of the team account which contains this project.
    CreationDate string
    The creation date of the project in ISO8601 format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    ProjectId string
    The immutable id of this project.
    ProvisioningState string
    The current deployment state of project resource. The provisioningState is to indicate states for resource provisioning.
    Type string
    The type of the resource.
    WorkspaceId string
    The immutable id of the workspace which contains this project.
    AccountId string
    The immutable id of the team account which contains this project.
    CreationDate string
    The creation date of the project in ISO8601 format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    ProjectId string
    The immutable id of this project.
    ProvisioningState string
    The current deployment state of project resource. The provisioningState is to indicate states for resource provisioning.
    Type string
    The type of the resource.
    WorkspaceId string
    The immutable id of the workspace which contains this project.
    accountId String
    The immutable id of the team account which contains this project.
    creationDate String
    The creation date of the project in ISO8601 format.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    projectId String
    The immutable id of this project.
    provisioningState String
    The current deployment state of project resource. The provisioningState is to indicate states for resource provisioning.
    type String
    The type of the resource.
    workspaceId String
    The immutable id of the workspace which contains this project.
    accountId string
    The immutable id of the team account which contains this project.
    creationDate string
    The creation date of the project in ISO8601 format.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource.
    projectId string
    The immutable id of this project.
    provisioningState string
    The current deployment state of project resource. The provisioningState is to indicate states for resource provisioning.
    type string
    The type of the resource.
    workspaceId string
    The immutable id of the workspace which contains this project.
    account_id str
    The immutable id of the team account which contains this project.
    creation_date str
    The creation date of the project in ISO8601 format.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource.
    project_id str
    The immutable id of this project.
    provisioning_state str
    The current deployment state of project resource. The provisioningState is to indicate states for resource provisioning.
    type str
    The type of the resource.
    workspace_id str
    The immutable id of the workspace which contains this project.
    accountId String
    The immutable id of the team account which contains this project.
    creationDate String
    The creation date of the project in ISO8601 format.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    projectId String
    The immutable id of this project.
    provisioningState String
    The current deployment state of project resource. The provisioningState is to indicate states for resource provisioning.
    type String
    The type of the resource.
    workspaceId String
    The immutable id of the workspace which contains this project.

    Import

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

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

    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