azure-native.machinelearningexperimentation.Project
Explore with Pulumi AI
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:
- Account
Name string - The name of the machine learning team account.
- Friendly
Name string - The friendly name for this project.
- Resource
Group stringName - The name of the resource group to which the machine learning team account belongs.
- Workspace
Name 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.
- Project
Name string - The name of the machine learning project under a team account workspace.
- Dictionary<string, string>
- The tags of the resource.
- Account
Name string - The name of the machine learning team account.
- Friendly
Name string - The friendly name for this project.
- Resource
Group stringName - The name of the resource group to which the machine learning team account belongs.
- Workspace
Name 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.
- Project
Name string - The name of the machine learning project under a team account workspace.
- map[string]string
- The tags of the resource.
- account
Name String - The name of the machine learning team account.
- friendly
Name String - The friendly name for this project.
- resource
Group StringName - The name of the resource group to which the machine learning team account belongs.
- workspace
Name 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.
- project
Name String - The name of the machine learning project under a team account workspace.
- Map<String,String>
- The tags of the resource.
- account
Name string - The name of the machine learning team account.
- friendly
Name string - The friendly name for this project.
- resource
Group stringName - The name of the resource group to which the machine learning team account belongs.
- workspace
Name 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.
- project
Name string - The name of the machine learning project under a team account workspace.
- {[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_ strname - 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.
- Mapping[str, str]
- The tags of the resource.
- account
Name String - The name of the machine learning team account.
- friendly
Name String - The friendly name for this project.
- resource
Group StringName - The name of the resource group to which the machine learning team account belongs.
- workspace
Name 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.
- project
Name String - The name of the machine learning project under a team account workspace.
- 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:
- Account
Id string - The immutable id of the team account which contains this project.
- Creation
Date 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.
- Project
Id string - The immutable id of this project.
- Provisioning
State string - The current deployment state of project resource. The provisioningState is to indicate states for resource provisioning.
- Type string
- The type of the resource.
- Workspace
Id string - The immutable id of the workspace which contains this project.
- Account
Id string - The immutable id of the team account which contains this project.
- Creation
Date 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.
- Project
Id string - The immutable id of this project.
- Provisioning
State string - The current deployment state of project resource. The provisioningState is to indicate states for resource provisioning.
- Type string
- The type of the resource.
- Workspace
Id string - The immutable id of the workspace which contains this project.
- account
Id String - The immutable id of the team account which contains this project.
- creation
Date 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.
- project
Id String - The immutable id of this project.
- provisioning
State String - The current deployment state of project resource. The provisioningState is to indicate states for resource provisioning.
- type String
- The type of the resource.
- workspace
Id String - The immutable id of the workspace which contains this project.
- account
Id string - The immutable id of the team account which contains this project.
- creation
Date 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.
- project
Id string - The immutable id of this project.
- provisioning
State string - The current deployment state of project resource. The provisioningState is to indicate states for resource provisioning.
- type string
- The type of the resource.
- workspace
Id 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.
- account
Id String - The immutable id of the team account which contains this project.
- creation
Date 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.
- project
Id String - The immutable id of this project.
- provisioning
State String - The current deployment state of project resource. The provisioningState is to indicate states for resource provisioning.
- type String
- The type of the resource.
- workspace
Id 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