ProjectArgs

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

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

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

Constructors

Link copied to clipboard
constructor(accountName: Output<String>? = null, description: Output<String>? = null, friendlyName: Output<String>? = null, gitrepo: Output<String>? = null, location: Output<String>? = null, projectName: 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 project.

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

The friendly name for this project.

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

The reference to git repo for this project.

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

The name of the machine learning project under a team account workspace.

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(): ProjectArgs