azure-native.machinelearningservices.Job
Explore with Pulumi AI
Azure Resource Manager resource envelope. API Version: 2021-03-01-preview.
Example Usage
CreateOrUpdate Command Job.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var job = new AzureNative.MachineLearningServices.Job("job", new()
{
Id = "testJob",
Properties = new AzureNative.MachineLearningServices.Inputs.CommandJobArgs
{
CodeId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1",
Command = "python file.py test",
Compute = new AzureNative.MachineLearningServices.Inputs.ComputeConfigurationArgs
{
InstanceCount = 1,
Target = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute",
},
Description = "string",
Distribution = new AzureNative.MachineLearningServices.Inputs.PyTorchArgs
{
DistributionType = "PyTorch",
ProcessCount = 2,
},
EnvironmentId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1",
EnvironmentVariables =
{
{ "MY_ENV_VAR1", "string" },
{ "MY_ENV_VAR2", "string" },
},
ExperimentName = "myExperiment",
Identity = new AzureNative.MachineLearningServices.Inputs.AmlTokenArgs
{
IdentityType = "AMLToken",
},
InputDataBindings =
{
{ "test", new AzureNative.MachineLearningServices.Inputs.InputDataBindingArgs
{
DataId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1",
PathOnCompute = "path/on/compute",
} },
},
JobType = "Command",
OutputDataBindings =
{
{ "test", new AzureNative.MachineLearningServices.Inputs.OutputDataBindingArgs
{
DatastoreId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore",
PathOnCompute = "path/on/compute",
} },
},
Properties =
{
{ "additionalProp1", "string" },
{ "additionalProp2", "string" },
{ "additionalProp3", "string" },
},
Tags =
{
{ "additionalProp1", "string" },
{ "additionalProp2", "string" },
{ "additionalProp3", "string" },
},
Timeout = "PT1M",
},
ResourceGroupName = "testrg123",
WorkspaceName = "testworkspace",
});
});
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.machinelearningservices.Job;
import com.pulumi.azurenative.machinelearningservices.JobArgs;
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 job = new Job("job", JobArgs.builder()
.id("testJob")
.properties(Map.ofEntries(
Map.entry("codeId", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1"),
Map.entry("command", "python file.py test"),
Map.entry("compute", Map.ofEntries(
Map.entry("instanceCount", 1),
Map.entry("target", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute")
)),
Map.entry("description", "string"),
Map.entry("distribution", Map.ofEntries(
Map.entry("distributionType", "PyTorch"),
Map.entry("processCount", 2)
)),
Map.entry("environmentId", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1"),
Map.entry("environmentVariables", CommandJobArgs.builder()
.mY_ENV_VAR1("string")
.mY_ENV_VAR2("string")
.build()),
Map.entry("experimentName", "myExperiment"),
Map.entry("identity", Map.of("identityType", "AMLToken")),
Map.entry("inputDataBindings", Map.of("test", Map.ofEntries(
Map.entry("dataId", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1"),
Map.entry("pathOnCompute", "path/on/compute")
))),
Map.entry("jobType", "Command"),
Map.entry("outputDataBindings", Map.of("test", Map.ofEntries(
Map.entry("datastoreId", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore"),
Map.entry("pathOnCompute", "path/on/compute")
))),
Map.entry("properties", CommandJobArgs.builder()
.additionalProp1("string")
.additionalProp2("string")
.additionalProp3("string")
.build()),
Map.entry("tags", CommandJobArgs.builder()
.additionalProp1("string")
.additionalProp2("string")
.additionalProp3("string")
.build()),
Map.entry("timeout", "PT1M")
))
.resourceGroupName("testrg123")
.workspaceName("testworkspace")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
job = azure_native.machinelearningservices.Job("job",
id="testJob",
properties=azure_native.machinelearningservices.CommandJobArgs(
code_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1",
command="python file.py test",
compute=azure_native.machinelearningservices.ComputeConfigurationArgs(
instance_count=1,
target="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute",
),
description="string",
distribution=azure_native.machinelearningservices.PyTorchArgs(
distribution_type="PyTorch",
process_count=2,
),
environment_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1",
environment_variables={
"MY_ENV_VAR1": "string",
"MY_ENV_VAR2": "string",
},
experiment_name="myExperiment",
identity=azure_native.machinelearningservices.AmlTokenArgs(
identity_type="AMLToken",
),
input_data_bindings={
"test": azure_native.machinelearningservices.InputDataBindingArgs(
data_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1",
path_on_compute="path/on/compute",
),
},
job_type="Command",
output_data_bindings={
"test": azure_native.machinelearningservices.OutputDataBindingArgs(
datastore_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore",
path_on_compute="path/on/compute",
),
},
properties={
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string",
},
tags={
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string",
},
timeout="PT1M",
),
resource_group_name="testrg123",
workspace_name="testworkspace")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const job = new azure_native.machinelearningservices.Job("job", {
id: "testJob",
properties: {
codeId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1",
command: "python file.py test",
compute: {
instanceCount: 1,
target: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute",
},
description: "string",
distribution: {
distributionType: "PyTorch",
processCount: 2,
},
environmentId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1",
environmentVariables: {
MY_ENV_VAR1: "string",
MY_ENV_VAR2: "string",
},
experimentName: "myExperiment",
identity: {
identityType: "AMLToken",
},
inputDataBindings: {
test: {
dataId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1",
pathOnCompute: "path/on/compute",
},
},
jobType: "Command",
outputDataBindings: {
test: {
datastoreId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore",
pathOnCompute: "path/on/compute",
},
},
properties: {
additionalProp1: "string",
additionalProp2: "string",
additionalProp3: "string",
},
tags: {
additionalProp1: "string",
additionalProp2: "string",
additionalProp3: "string",
},
timeout: "PT1M",
},
resourceGroupName: "testrg123",
workspaceName: "testworkspace",
});
resources:
job:
type: azure-native:machinelearningservices:Job
properties:
id: testJob
properties:
codeId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1
command: python file.py test
compute:
instanceCount: 1
target: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute
description: string
distribution:
distributionType: PyTorch
processCount: 2
environmentId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1
environmentVariables:
MY_ENV_VAR1: string
MY_ENV_VAR2: string
experimentName: myExperiment
identity:
identityType: AMLToken
inputDataBindings:
test:
dataId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1
pathOnCompute: path/on/compute
jobType: Command
outputDataBindings:
test:
datastoreId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore
pathOnCompute: path/on/compute
properties:
additionalProp1: string
additionalProp2: string
additionalProp3: string
tags:
additionalProp1: string
additionalProp2: string
additionalProp3: string
timeout: PT1M
resourceGroupName: testrg123
workspaceName: testworkspace
CreateOrUpdate Sweep Job.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var job = new AzureNative.MachineLearningServices.Job("job", new()
{
Id = "testJob",
Properties = new AzureNative.MachineLearningServices.Inputs.SweepJobArgs
{
Algorithm = "Grid",
Compute = new AzureNative.MachineLearningServices.Inputs.ComputeConfigurationArgs
{
InstanceCount = 1,
Target = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute",
},
Description = "string",
Identity = new AzureNative.MachineLearningServices.Inputs.AmlTokenArgs
{
IdentityType = "AMLToken",
},
JobType = "Sweep",
MaxConcurrentTrials = 1,
MaxTotalTrials = 1,
Objective = new AzureNative.MachineLearningServices.Inputs.ObjectiveArgs
{
Goal = "Minimize",
PrimaryMetric = "string",
},
Properties =
{
{ "additionalProp1", "string" },
{ "additionalProp2", "string" },
{ "additionalProp3", "string" },
},
SearchSpace =
{
{ "name", null },
},
Tags =
{
{ "additionalProp1", "string" },
{ "additionalProp2", "string" },
{ "additionalProp3", "string" },
},
Timeout = "PT1M",
Trial = new AzureNative.MachineLearningServices.Inputs.TrialComponentArgs
{
CodeId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1",
Command = "python file.py test",
Distribution = new AzureNative.MachineLearningServices.Inputs.PyTorchArgs
{
DistributionType = "PyTorch",
ProcessCount = 2,
},
EnvironmentId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1",
EnvironmentVariables =
{
{ "MY_ENV_VAR1", "string" },
{ "MY_ENV_VAR2", "string" },
},
InputDataBindings =
{
{ "test", new AzureNative.MachineLearningServices.Inputs.InputDataBindingArgs
{
DataId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1",
PathOnCompute = "path/on/compute",
} },
},
OutputDataBindings =
{
{ "test", new AzureNative.MachineLearningServices.Inputs.OutputDataBindingArgs
{
DatastoreId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore",
PathOnCompute = "path/on/compute",
} },
},
Timeout = "PT1M",
},
},
ResourceGroupName = "testrg123",
WorkspaceName = "testworkspace",
});
});
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.machinelearningservices.Job;
import com.pulumi.azurenative.machinelearningservices.JobArgs;
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 job = new Job("job", JobArgs.builder()
.id("testJob")
.properties(Map.ofEntries(
Map.entry("algorithm", "Grid"),
Map.entry("compute", Map.ofEntries(
Map.entry("instanceCount", 1),
Map.entry("target", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute")
)),
Map.entry("description", "string"),
Map.entry("identity", Map.of("identityType", "AMLToken")),
Map.entry("jobType", "Sweep"),
Map.entry("maxConcurrentTrials", 1),
Map.entry("maxTotalTrials", 1),
Map.entry("objective", Map.ofEntries(
Map.entry("goal", "Minimize"),
Map.entry("primaryMetric", "string")
)),
Map.entry("properties", CommandJobArgs.builder()
.additionalProp1("string")
.additionalProp2("string")
.additionalProp3("string")
.build()),
Map.entry("searchSpace", CommandJobArgs.builder()
.name()
.build()),
Map.entry("tags", CommandJobArgs.builder()
.additionalProp1("string")
.additionalProp2("string")
.additionalProp3("string")
.build()),
Map.entry("timeout", "PT1M"),
Map.entry("trial", Map.ofEntries(
Map.entry("codeId", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1"),
Map.entry("command", "python file.py test"),
Map.entry("distribution", Map.ofEntries(
Map.entry("distributionType", "PyTorch"),
Map.entry("processCount", 2)
)),
Map.entry("environmentId", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1"),
Map.entry("environmentVariables", CommandJobArgs.builder()
.mY_ENV_VAR1("string")
.mY_ENV_VAR2("string")
.build()),
Map.entry("inputDataBindings", Map.of("test", Map.ofEntries(
Map.entry("dataId", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1"),
Map.entry("pathOnCompute", "path/on/compute")
))),
Map.entry("outputDataBindings", Map.of("test", Map.ofEntries(
Map.entry("datastoreId", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore"),
Map.entry("pathOnCompute", "path/on/compute")
))),
Map.entry("timeout", "PT1M")
))
))
.resourceGroupName("testrg123")
.workspaceName("testworkspace")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
job = azure_native.machinelearningservices.Job("job",
id="testJob",
properties=azure_native.machinelearningservices.SweepJobArgs(
algorithm="Grid",
compute=azure_native.machinelearningservices.ComputeConfigurationArgs(
instance_count=1,
target="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute",
),
description="string",
identity=azure_native.machinelearningservices.AmlTokenArgs(
identity_type="AMLToken",
),
job_type="Sweep",
max_concurrent_trials=1,
max_total_trials=1,
objective=azure_native.machinelearningservices.ObjectiveArgs(
goal="Minimize",
primary_metric="string",
),
properties={
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string",
},
search_space={
"name": {},
},
tags={
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string",
},
timeout="PT1M",
trial=azure_native.machinelearningservices.TrialComponentArgs(
code_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1",
command="python file.py test",
distribution=azure_native.machinelearningservices.PyTorchArgs(
distribution_type="PyTorch",
process_count=2,
),
environment_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1",
environment_variables={
"MY_ENV_VAR1": "string",
"MY_ENV_VAR2": "string",
},
input_data_bindings={
"test": azure_native.machinelearningservices.InputDataBindingArgs(
data_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1",
path_on_compute="path/on/compute",
),
},
output_data_bindings={
"test": azure_native.machinelearningservices.OutputDataBindingArgs(
datastore_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore",
path_on_compute="path/on/compute",
),
},
timeout="PT1M",
),
),
resource_group_name="testrg123",
workspace_name="testworkspace")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const job = new azure_native.machinelearningservices.Job("job", {
id: "testJob",
properties: {
algorithm: "Grid",
compute: {
instanceCount: 1,
target: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute",
},
description: "string",
identity: {
identityType: "AMLToken",
},
jobType: "Sweep",
maxConcurrentTrials: 1,
maxTotalTrials: 1,
objective: {
goal: "Minimize",
primaryMetric: "string",
},
properties: {
additionalProp1: "string",
additionalProp2: "string",
additionalProp3: "string",
},
searchSpace: {
name: {},
},
tags: {
additionalProp1: "string",
additionalProp2: "string",
additionalProp3: "string",
},
timeout: "PT1M",
trial: {
codeId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1",
command: "python file.py test",
distribution: {
distributionType: "PyTorch",
processCount: 2,
},
environmentId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1",
environmentVariables: {
MY_ENV_VAR1: "string",
MY_ENV_VAR2: "string",
},
inputDataBindings: {
test: {
dataId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1",
pathOnCompute: "path/on/compute",
},
},
outputDataBindings: {
test: {
datastoreId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore",
pathOnCompute: "path/on/compute",
},
},
timeout: "PT1M",
},
},
resourceGroupName: "testrg123",
workspaceName: "testworkspace",
});
resources:
job:
type: azure-native:machinelearningservices:Job
properties:
id: testJob
properties:
algorithm: Grid
compute:
instanceCount: 1
target: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute
description: string
identity:
identityType: AMLToken
jobType: Sweep
maxConcurrentTrials: 1
maxTotalTrials: 1
objective:
goal: Minimize
primaryMetric: string
properties:
additionalProp1: string
additionalProp2: string
additionalProp3: string
searchSpace:
name: {}
tags:
additionalProp1: string
additionalProp2: string
additionalProp3: string
timeout: PT1M
trial:
codeId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1
command: python file.py test
distribution:
distributionType: PyTorch
processCount: 2
environmentId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1
environmentVariables:
MY_ENV_VAR1: string
MY_ENV_VAR2: string
inputDataBindings:
test:
dataId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1
pathOnCompute: path/on/compute
outputDataBindings:
test:
datastoreId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore
pathOnCompute: path/on/compute
timeout: PT1M
resourceGroupName: testrg123
workspaceName: testworkspace
Create Job Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Job(name: string, args: JobArgs, opts?: CustomResourceOptions);
@overload
def Job(resource_name: str,
args: JobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Job(resource_name: str,
opts: Optional[ResourceOptions] = None,
properties: Optional[Union[CommandJobArgs, SweepJobArgs]] = None,
resource_group_name: Optional[str] = None,
workspace_name: Optional[str] = None,
id: Optional[str] = None)
func NewJob(ctx *Context, name string, args JobArgs, opts ...ResourceOption) (*Job, error)
public Job(string name, JobArgs args, CustomResourceOptions? opts = null)
type: azure-native:machinelearningservices:Job
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 JobArgs
- 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 JobArgs
- 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 JobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args JobArgs
- 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 examplejobResourceResourceFromMachinelearningservices = new AzureNative.Machinelearningservices.Job("examplejobResourceResourceFromMachinelearningservices", new()
{
Properties =
{
{ "jobType", "Command" },
{ "command", "string" },
{ "compute",
{
{ "instanceCount", 0 },
{ "instanceType", "string" },
{ "isLocal", false },
{ "location", "string" },
{ "properties",
{
{ "string", "string" },
} },
{ "target", "string" },
} },
{ "identity",
{
{ "identityType", "AMLToken" },
} },
{ "distribution",
{
{ "distributionType", "Mpi" },
{ "processCountPerInstance", 0 },
} },
{ "environmentId", "string" },
{ "environmentVariables",
{
{ "string", "string" },
} },
{ "experimentName", "string" },
{ "codeId", "string" },
{ "inputDataBindings",
{
{ "string",
{
{ "dataId", "string" },
{ "mode", "string" },
{ "pathOnCompute", "string" },
} },
} },
{ "description", "string" },
{ "outputDataBindings",
{
{ "string",
{
{ "datastoreId", "string" },
{ "mode", "string" },
{ "pathOnCompute", "string" },
{ "pathOnDatastore", "string" },
} },
} },
{ "priority", 0 },
{ "properties",
{
{ "string", "string" },
} },
{ "tags",
{
{ "string", "string" },
} },
{ "timeout", "string" },
},
ResourceGroupName = "string",
WorkspaceName = "string",
Id = "string",
});
example, err := machinelearningservices.NewJob(ctx, "examplejobResourceResourceFromMachinelearningservices", &machinelearningservices.JobArgs{
Properties: map[string]interface{}{
"jobType": "Command",
"command": "string",
"compute": map[string]interface{}{
"instanceCount": 0,
"instanceType": "string",
"isLocal": false,
"location": "string",
"properties": map[string]interface{}{
"string": "string",
},
"target": "string",
},
"identity": map[string]interface{}{
"identityType": "AMLToken",
},
"distribution": map[string]interface{}{
"distributionType": "Mpi",
"processCountPerInstance": 0,
},
"environmentId": "string",
"environmentVariables": map[string]interface{}{
"string": "string",
},
"experimentName": "string",
"codeId": "string",
"inputDataBindings": map[string]interface{}{
"string": map[string]interface{}{
"dataId": "string",
"mode": "string",
"pathOnCompute": "string",
},
},
"description": "string",
"outputDataBindings": map[string]interface{}{
"string": map[string]interface{}{
"datastoreId": "string",
"mode": "string",
"pathOnCompute": "string",
"pathOnDatastore": "string",
},
},
"priority": 0,
"properties": map[string]interface{}{
"string": "string",
},
"tags": map[string]interface{}{
"string": "string",
},
"timeout": "string",
},
ResourceGroupName: "string",
WorkspaceName: "string",
Id: "string",
})
var examplejobResourceResourceFromMachinelearningservices = new Job("examplejobResourceResourceFromMachinelearningservices", JobArgs.builder()
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.workspaceName("string")
.id("string")
.build());
examplejob_resource_resource_from_machinelearningservices = azure_native.machinelearningservices.Job("examplejobResourceResourceFromMachinelearningservices",
properties={
jobType: Command,
command: string,
compute: {
instanceCount: 0,
instanceType: string,
isLocal: False,
location: string,
properties: {
string: string,
},
target: string,
},
identity: {
identityType: AMLToken,
},
distribution: {
distributionType: Mpi,
processCountPerInstance: 0,
},
environmentId: string,
environmentVariables: {
string: string,
},
experimentName: string,
codeId: string,
inputDataBindings: {
string: {
dataId: string,
mode: string,
pathOnCompute: string,
},
},
description: string,
outputDataBindings: {
string: {
datastoreId: string,
mode: string,
pathOnCompute: string,
pathOnDatastore: string,
},
},
priority: 0,
properties: {
string: string,
},
tags: {
string: string,
},
timeout: string,
},
resource_group_name=string,
workspace_name=string,
id=string)
const examplejobResourceResourceFromMachinelearningservices = new azure_native.machinelearningservices.Job("examplejobResourceResourceFromMachinelearningservices", {
properties: {
jobType: "Command",
command: "string",
compute: {
instanceCount: 0,
instanceType: "string",
isLocal: false,
location: "string",
properties: {
string: "string",
},
target: "string",
},
identity: {
identityType: "AMLToken",
},
distribution: {
distributionType: "Mpi",
processCountPerInstance: 0,
},
environmentId: "string",
environmentVariables: {
string: "string",
},
experimentName: "string",
codeId: "string",
inputDataBindings: {
string: {
dataId: "string",
mode: "string",
pathOnCompute: "string",
},
},
description: "string",
outputDataBindings: {
string: {
datastoreId: "string",
mode: "string",
pathOnCompute: "string",
pathOnDatastore: "string",
},
},
priority: 0,
properties: {
string: "string",
},
tags: {
string: "string",
},
timeout: "string",
},
resourceGroupName: "string",
workspaceName: "string",
id: "string",
});
type: azure-native:machinelearningservices:Job
properties:
id: string
properties:
codeId: string
command: string
compute:
instanceCount: 0
instanceType: string
isLocal: false
location: string
properties:
string: string
target: string
description: string
distribution:
distributionType: Mpi
processCountPerInstance: 0
environmentId: string
environmentVariables:
string: string
experimentName: string
identity:
identityType: AMLToken
inputDataBindings:
string:
dataId: string
mode: string
pathOnCompute: string
jobType: Command
outputDataBindings:
string:
datastoreId: string
mode: string
pathOnCompute: string
pathOnDatastore: string
priority: 0
properties:
string: string
tags:
string: string
timeout: string
resourceGroupName: string
workspaceName: string
Job Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Job resource accepts the following input properties:
- Properties
Pulumi.
Azure | Pulumi.Native. Machine Learning Services. Inputs. Command Job Azure Native. Machine Learning Services. Inputs. Sweep Job - [Required] Additional attributes of the entity.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - Name of Azure Machine Learning workspace.
- Id string
- The name and identifier for the Job.
- Properties
Command
Job | SweepArgs Job Args - [Required] Additional attributes of the entity.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - Name of Azure Machine Learning workspace.
- Id string
- The name and identifier for the Job.
- properties
Command
Job | SweepJob - [Required] Additional attributes of the entity.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - Name of Azure Machine Learning workspace.
- id String
- The name and identifier for the Job.
- properties
Command
Job | SweepJob - [Required] Additional attributes of the entity.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- workspace
Name string - Name of Azure Machine Learning workspace.
- id string
- The name and identifier for the Job.
- properties
Command
Job | SweepArgs Job Args - [Required] Additional attributes of the entity.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- workspace_
name str - Name of Azure Machine Learning workspace.
- id str
- The name and identifier for the Job.
- properties Property Map | Property Map
- [Required] Additional attributes of the entity.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - Name of Azure Machine Learning workspace.
- id String
- The name and identifier for the Job.
Outputs
All input properties are implicitly available as output properties. Additionally, the Job resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Machine Learning Services. Outputs. System Data Response - System data associated with resource provider
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - System data associated with resource provider
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - System data associated with resource provider
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - System data associated with resource provider
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - System data associated with resource provider
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - System data associated with resource provider
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AmlToken, AmlTokenArgs
AmlTokenResponse, AmlTokenResponseArgs
BanditPolicy, BanditPolicyArgs
- Delay
Evaluation int - Number of intervals by which to delay the first evaluation.
- Evaluation
Interval int - Interval (number of runs) between policy evaluations.
- Slack
Amount double - Absolute distance allowed from the best performing run.
- Slack
Factor double - Ratio of the allowed distance from the best performing run.
- Delay
Evaluation int - Number of intervals by which to delay the first evaluation.
- Evaluation
Interval int - Interval (number of runs) between policy evaluations.
- Slack
Amount float64 - Absolute distance allowed from the best performing run.
- Slack
Factor float64 - Ratio of the allowed distance from the best performing run.
- delay
Evaluation Integer - Number of intervals by which to delay the first evaluation.
- evaluation
Interval Integer - Interval (number of runs) between policy evaluations.
- slack
Amount Double - Absolute distance allowed from the best performing run.
- slack
Factor Double - Ratio of the allowed distance from the best performing run.
- delay
Evaluation number - Number of intervals by which to delay the first evaluation.
- evaluation
Interval number - Interval (number of runs) between policy evaluations.
- slack
Amount number - Absolute distance allowed from the best performing run.
- slack
Factor number - Ratio of the allowed distance from the best performing run.
- delay_
evaluation int - Number of intervals by which to delay the first evaluation.
- evaluation_
interval int - Interval (number of runs) between policy evaluations.
- slack_
amount float - Absolute distance allowed from the best performing run.
- slack_
factor float - Ratio of the allowed distance from the best performing run.
- delay
Evaluation Number - Number of intervals by which to delay the first evaluation.
- evaluation
Interval Number - Interval (number of runs) between policy evaluations.
- slack
Amount Number - Absolute distance allowed from the best performing run.
- slack
Factor Number - Ratio of the allowed distance from the best performing run.
BanditPolicyResponse, BanditPolicyResponseArgs
- Delay
Evaluation int - Number of intervals by which to delay the first evaluation.
- Evaluation
Interval int - Interval (number of runs) between policy evaluations.
- Slack
Amount double - Absolute distance allowed from the best performing run.
- Slack
Factor double - Ratio of the allowed distance from the best performing run.
- Delay
Evaluation int - Number of intervals by which to delay the first evaluation.
- Evaluation
Interval int - Interval (number of runs) between policy evaluations.
- Slack
Amount float64 - Absolute distance allowed from the best performing run.
- Slack
Factor float64 - Ratio of the allowed distance from the best performing run.
- delay
Evaluation Integer - Number of intervals by which to delay the first evaluation.
- evaluation
Interval Integer - Interval (number of runs) between policy evaluations.
- slack
Amount Double - Absolute distance allowed from the best performing run.
- slack
Factor Double - Ratio of the allowed distance from the best performing run.
- delay
Evaluation number - Number of intervals by which to delay the first evaluation.
- evaluation
Interval number - Interval (number of runs) between policy evaluations.
- slack
Amount number - Absolute distance allowed from the best performing run.
- slack
Factor number - Ratio of the allowed distance from the best performing run.
- delay_
evaluation int - Number of intervals by which to delay the first evaluation.
- evaluation_
interval int - Interval (number of runs) between policy evaluations.
- slack_
amount float - Absolute distance allowed from the best performing run.
- slack_
factor float - Ratio of the allowed distance from the best performing run.
- delay
Evaluation Number - Number of intervals by which to delay the first evaluation.
- evaluation
Interval Number - Interval (number of runs) between policy evaluations.
- slack
Amount Number - Absolute distance allowed from the best performing run.
- slack
Factor Number - Ratio of the allowed distance from the best performing run.
CommandJob, CommandJobArgs
- Command string
- [Required] The command to execute on startup of the job. eg. "python train.py"
- Compute
Pulumi.
Azure Native. Machine Learning Services. Inputs. Compute Configuration - [Required] Compute binding for the job.
- Code
Id string - ARM resource ID of the code asset.
- Description string
- The asset description text.
- Distribution
Pulumi.
Azure | Pulumi.Native. Machine Learning Services. Inputs. Mpi Azure | Pulumi.Native. Machine Learning Services. Inputs. Py Torch Azure Native. Machine Learning Services. Inputs. Tensor Flow - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- Environment
Id string - The ARM resource ID of the Environment specification for the job.
- Environment
Variables Dictionary<string, string> - Environment variables included in the job.
- Experiment
Name string - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- Identity
Pulumi.
Azure | Pulumi.Native. Machine Learning Services. Inputs. Aml Token Azure Native. Machine Learning Services. Inputs. Managed Identity - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null. Defaults to AmlToken if null.
- Input
Data Dictionary<string, Pulumi.Bindings Azure Native. Machine Learning Services. Inputs. Input Data Binding> - Mapping of input data bindings used in the job.
- Output
Data Dictionary<string, Pulumi.Bindings Azure Native. Machine Learning Services. Inputs. Output Data Binding> - Mapping of output data bindings used in the job.
- Priority int
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- Properties Dictionary<string, string>
- The asset property dictionary.
- Dictionary<string, string>
- Tag dictionary. Tags can be added, removed, and updated.
- Timeout string
- The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.
- Command string
- [Required] The command to execute on startup of the job. eg. "python train.py"
- Compute
Compute
Configuration - [Required] Compute binding for the job.
- Code
Id string - ARM resource ID of the code asset.
- Description string
- The asset description text.
- Distribution
Mpi | Py
Torch | TensorFlow - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- Environment
Id string - The ARM resource ID of the Environment specification for the job.
- Environment
Variables map[string]string - Environment variables included in the job.
- Experiment
Name string - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- Identity
Aml
Token | ManagedIdentity - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null. Defaults to AmlToken if null.
- Input
Data map[string]InputBindings Data Binding - Mapping of input data bindings used in the job.
- Output
Data map[string]OutputBindings Data Binding - Mapping of output data bindings used in the job.
- Priority int
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- Properties map[string]string
- The asset property dictionary.
- map[string]string
- Tag dictionary. Tags can be added, removed, and updated.
- Timeout string
- The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.
- command String
- [Required] The command to execute on startup of the job. eg. "python train.py"
- compute
Compute
Configuration - [Required] Compute binding for the job.
- code
Id String - ARM resource ID of the code asset.
- description String
- The asset description text.
- distribution
Mpi | Py
Torch | TensorFlow - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment
Id String - The ARM resource ID of the Environment specification for the job.
- environment
Variables Map<String,String> - Environment variables included in the job.
- experiment
Name String - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity
Aml
Token | ManagedIdentity - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null. Defaults to AmlToken if null.
- input
Data Map<String,InputBindings Data Binding> - Mapping of input data bindings used in the job.
- output
Data Map<String,OutputBindings Data Binding> - Mapping of output data bindings used in the job.
- priority Integer
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties Map<String,String>
- The asset property dictionary.
- Map<String,String>
- Tag dictionary. Tags can be added, removed, and updated.
- timeout String
- The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.
- command string
- [Required] The command to execute on startup of the job. eg. "python train.py"
- compute
Compute
Configuration - [Required] Compute binding for the job.
- code
Id string - ARM resource ID of the code asset.
- description string
- The asset description text.
- distribution
Mpi | Py
Torch | TensorFlow - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment
Id string - The ARM resource ID of the Environment specification for the job.
- environment
Variables {[key: string]: string} - Environment variables included in the job.
- experiment
Name string - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity
Aml
Token | ManagedIdentity - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null. Defaults to AmlToken if null.
- input
Data {[key: string]: InputBindings Data Binding} - Mapping of input data bindings used in the job.
- output
Data {[key: string]: OutputBindings Data Binding} - Mapping of output data bindings used in the job.
- priority number
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties {[key: string]: string}
- The asset property dictionary.
- {[key: string]: string}
- Tag dictionary. Tags can be added, removed, and updated.
- timeout string
- The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.
- command str
- [Required] The command to execute on startup of the job. eg. "python train.py"
- compute
Compute
Configuration - [Required] Compute binding for the job.
- code_
id str - ARM resource ID of the code asset.
- description str
- The asset description text.
- distribution
Mpi | Py
Torch | TensorFlow - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment_
id str - The ARM resource ID of the Environment specification for the job.
- environment_
variables Mapping[str, str] - Environment variables included in the job.
- experiment_
name str - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity
Aml
Token | ManagedIdentity - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null. Defaults to AmlToken if null.
- input_
data_ Mapping[str, Inputbindings Data Binding] - Mapping of input data bindings used in the job.
- output_
data_ Mapping[str, Outputbindings Data Binding] - Mapping of output data bindings used in the job.
- priority int
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties Mapping[str, str]
- The asset property dictionary.
- Mapping[str, str]
- Tag dictionary. Tags can be added, removed, and updated.
- timeout str
- The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.
- command String
- [Required] The command to execute on startup of the job. eg. "python train.py"
- compute Property Map
- [Required] Compute binding for the job.
- code
Id String - ARM resource ID of the code asset.
- description String
- The asset description text.
- distribution Property Map | Property Map | Property Map
- Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment
Id String - The ARM resource ID of the Environment specification for the job.
- environment
Variables Map<String> - Environment variables included in the job.
- experiment
Name String - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity Property Map | Property Map
- Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null. Defaults to AmlToken if null.
- input
Data Map<Property Map>Bindings - Mapping of input data bindings used in the job.
- output
Data Map<Property Map>Bindings - Mapping of output data bindings used in the job.
- priority Number
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties Map<String>
- The asset property dictionary.
- Map<String>
- Tag dictionary. Tags can be added, removed, and updated.
- timeout String
- The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.
CommandJobResponse, CommandJobResponseArgs
- Command string
- [Required] The command to execute on startup of the job. eg. "python train.py"
- Compute
Pulumi.
Azure Native. Machine Learning Services. Inputs. Compute Configuration Response - [Required] Compute binding for the job.
- Interaction
Endpoints Dictionary<string, Pulumi.Azure Native. Machine Learning Services. Inputs. Job Endpoint Response> - List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
- Output
Pulumi.
Azure Native. Machine Learning Services. Inputs. Job Output Response - Location of the job output logs and artifacts.
- Parameters object
- Input parameters.
- Provisioning
State string - Specifies the job provisioning state.
- Status string
- Status of the job.
- Code
Id string - ARM resource ID of the code asset.
- Description string
- The asset description text.
- Distribution
Pulumi.
Azure | Pulumi.Native. Machine Learning Services. Inputs. Mpi Response Azure | Pulumi.Native. Machine Learning Services. Inputs. Py Torch Response Azure Native. Machine Learning Services. Inputs. Tensor Flow Response - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- Environment
Id string - The ARM resource ID of the Environment specification for the job.
- Environment
Variables Dictionary<string, string> - Environment variables included in the job.
- Experiment
Name string - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- Identity
Pulumi.
Azure | Pulumi.Native. Machine Learning Services. Inputs. Aml Token Response Azure Native. Machine Learning Services. Inputs. Managed Identity Response - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null. Defaults to AmlToken if null.
- Input
Data Dictionary<string, Pulumi.Bindings Azure Native. Machine Learning Services. Inputs. Input Data Binding Response> - Mapping of input data bindings used in the job.
- Output
Data Dictionary<string, Pulumi.Bindings Azure Native. Machine Learning Services. Inputs. Output Data Binding Response> - Mapping of output data bindings used in the job.
- Priority int
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- Properties Dictionary<string, string>
- The asset property dictionary.
- Dictionary<string, string>
- Tag dictionary. Tags can be added, removed, and updated.
- Timeout string
- The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.
- Command string
- [Required] The command to execute on startup of the job. eg. "python train.py"
- Compute
Compute
Configuration Response - [Required] Compute binding for the job.
- Interaction
Endpoints map[string]JobEndpoint Response - List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
- Output
Job
Output Response - Location of the job output logs and artifacts.
- Parameters interface{}
- Input parameters.
- Provisioning
State string - Specifies the job provisioning state.
- Status string
- Status of the job.
- Code
Id string - ARM resource ID of the code asset.
- Description string
- The asset description text.
- Distribution
Mpi
Response | PyTorch | TensorResponse Flow Response - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- Environment
Id string - The ARM resource ID of the Environment specification for the job.
- Environment
Variables map[string]string - Environment variables included in the job.
- Experiment
Name string - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- Identity
Aml
Token | ManagedResponse Identity Response - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null. Defaults to AmlToken if null.
- Input
Data map[string]InputBindings Data Binding Response - Mapping of input data bindings used in the job.
- Output
Data map[string]OutputBindings Data Binding Response - Mapping of output data bindings used in the job.
- Priority int
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- Properties map[string]string
- The asset property dictionary.
- map[string]string
- Tag dictionary. Tags can be added, removed, and updated.
- Timeout string
- The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.
- command String
- [Required] The command to execute on startup of the job. eg. "python train.py"
- compute
Compute
Configuration Response - [Required] Compute binding for the job.
- interaction
Endpoints Map<String,JobEndpoint Response> - List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
- output
Job
Output Response - Location of the job output logs and artifacts.
- parameters Object
- Input parameters.
- provisioning
State String - Specifies the job provisioning state.
- status String
- Status of the job.
- code
Id String - ARM resource ID of the code asset.
- description String
- The asset description text.
- distribution
Mpi
Response | PyTorch | TensorResponse Flow Response - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment
Id String - The ARM resource ID of the Environment specification for the job.
- environment
Variables Map<String,String> - Environment variables included in the job.
- experiment
Name String - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity
Aml
Token | ManagedResponse Identity Response - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null. Defaults to AmlToken if null.
- input
Data Map<String,InputBindings Data Binding Response> - Mapping of input data bindings used in the job.
- output
Data Map<String,OutputBindings Data Binding Response> - Mapping of output data bindings used in the job.
- priority Integer
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties Map<String,String>
- The asset property dictionary.
- Map<String,String>
- Tag dictionary. Tags can be added, removed, and updated.
- timeout String
- The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.
- command string
- [Required] The command to execute on startup of the job. eg. "python train.py"
- compute
Compute
Configuration Response - [Required] Compute binding for the job.
- interaction
Endpoints {[key: string]: JobEndpoint Response} - List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
- output
Job
Output Response - Location of the job output logs and artifacts.
- parameters any
- Input parameters.
- provisioning
State string - Specifies the job provisioning state.
- status string
- Status of the job.
- code
Id string - ARM resource ID of the code asset.
- description string
- The asset description text.
- distribution
Mpi
Response | PyTorch | TensorResponse Flow Response - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment
Id string - The ARM resource ID of the Environment specification for the job.
- environment
Variables {[key: string]: string} - Environment variables included in the job.
- experiment
Name string - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity
Aml
Token | ManagedResponse Identity Response - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null. Defaults to AmlToken if null.
- input
Data {[key: string]: InputBindings Data Binding Response} - Mapping of input data bindings used in the job.
- output
Data {[key: string]: OutputBindings Data Binding Response} - Mapping of output data bindings used in the job.
- priority number
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties {[key: string]: string}
- The asset property dictionary.
- {[key: string]: string}
- Tag dictionary. Tags can be added, removed, and updated.
- timeout string
- The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.
- command str
- [Required] The command to execute on startup of the job. eg. "python train.py"
- compute
Compute
Configuration Response - [Required] Compute binding for the job.
- interaction_
endpoints Mapping[str, JobEndpoint Response] - List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
- output
Job
Output Response - Location of the job output logs and artifacts.
- parameters Any
- Input parameters.
- provisioning_
state str - Specifies the job provisioning state.
- status str
- Status of the job.
- code_
id str - ARM resource ID of the code asset.
- description str
- The asset description text.
- distribution
Mpi
Response | PyTorch | TensorResponse Flow Response - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment_
id str - The ARM resource ID of the Environment specification for the job.
- environment_
variables Mapping[str, str] - Environment variables included in the job.
- experiment_
name str - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity
Aml
Token | ManagedResponse Identity Response - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null. Defaults to AmlToken if null.
- input_
data_ Mapping[str, Inputbindings Data Binding Response] - Mapping of input data bindings used in the job.
- output_
data_ Mapping[str, Outputbindings Data Binding Response] - Mapping of output data bindings used in the job.
- priority int
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties Mapping[str, str]
- The asset property dictionary.
- Mapping[str, str]
- Tag dictionary. Tags can be added, removed, and updated.
- timeout str
- The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.
- command String
- [Required] The command to execute on startup of the job. eg. "python train.py"
- compute Property Map
- [Required] Compute binding for the job.
- interaction
Endpoints Map<Property Map> - List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
- output Property Map
- Location of the job output logs and artifacts.
- parameters Any
- Input parameters.
- provisioning
State String - Specifies the job provisioning state.
- status String
- Status of the job.
- code
Id String - ARM resource ID of the code asset.
- description String
- The asset description text.
- distribution Property Map | Property Map | Property Map
- Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment
Id String - The ARM resource ID of the Environment specification for the job.
- environment
Variables Map<String> - Environment variables included in the job.
- experiment
Name String - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity Property Map | Property Map
- Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null. Defaults to AmlToken if null.
- input
Data Map<Property Map>Bindings - Mapping of input data bindings used in the job.
- output
Data Map<Property Map>Bindings - Mapping of output data bindings used in the job.
- priority Number
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties Map<String>
- The asset property dictionary.
- Map<String>
- Tag dictionary. Tags can be added, removed, and updated.
- timeout String
- The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.
ComputeConfiguration, ComputeConfigurationArgs
- Instance
Count int - Number of instances or nodes.
- Instance
Type string - SKU type to run on.
- Is
Local bool - Set to true for jobs running on local compute.
- Location string
- Location for virtual cluster run.
- Properties Dictionary<string, string>
- Additional properties.
- Target string
- ARM resource ID of the Compute you are targeting. If not provided the resource will be deployed as Managed.
- Instance
Count int - Number of instances or nodes.
- Instance
Type string - SKU type to run on.
- Is
Local bool - Set to true for jobs running on local compute.
- Location string
- Location for virtual cluster run.
- Properties map[string]string
- Additional properties.
- Target string
- ARM resource ID of the Compute you are targeting. If not provided the resource will be deployed as Managed.
- instance
Count Integer - Number of instances or nodes.
- instance
Type String - SKU type to run on.
- is
Local Boolean - Set to true for jobs running on local compute.
- location String
- Location for virtual cluster run.
- properties Map<String,String>
- Additional properties.
- target String
- ARM resource ID of the Compute you are targeting. If not provided the resource will be deployed as Managed.
- instance
Count number - Number of instances or nodes.
- instance
Type string - SKU type to run on.
- is
Local boolean - Set to true for jobs running on local compute.
- location string
- Location for virtual cluster run.
- properties {[key: string]: string}
- Additional properties.
- target string
- ARM resource ID of the Compute you are targeting. If not provided the resource will be deployed as Managed.
- instance_
count int - Number of instances or nodes.
- instance_
type str - SKU type to run on.
- is_
local bool - Set to true for jobs running on local compute.
- location str
- Location for virtual cluster run.
- properties Mapping[str, str]
- Additional properties.
- target str
- ARM resource ID of the Compute you are targeting. If not provided the resource will be deployed as Managed.
- instance
Count Number - Number of instances or nodes.
- instance
Type String - SKU type to run on.
- is
Local Boolean - Set to true for jobs running on local compute.
- location String
- Location for virtual cluster run.
- properties Map<String>
- Additional properties.
- target String
- ARM resource ID of the Compute you are targeting. If not provided the resource will be deployed as Managed.
ComputeConfigurationResponse, ComputeConfigurationResponseArgs
- Instance
Count int - Number of instances or nodes.
- Instance
Type string - SKU type to run on.
- Is
Local bool - Set to true for jobs running on local compute.
- Location string
- Location for virtual cluster run.
- Properties Dictionary<string, string>
- Additional properties.
- Target string
- ARM resource ID of the Compute you are targeting. If not provided the resource will be deployed as Managed.
- Instance
Count int - Number of instances or nodes.
- Instance
Type string - SKU type to run on.
- Is
Local bool - Set to true for jobs running on local compute.
- Location string
- Location for virtual cluster run.
- Properties map[string]string
- Additional properties.
- Target string
- ARM resource ID of the Compute you are targeting. If not provided the resource will be deployed as Managed.
- instance
Count Integer - Number of instances or nodes.
- instance
Type String - SKU type to run on.
- is
Local Boolean - Set to true for jobs running on local compute.
- location String
- Location for virtual cluster run.
- properties Map<String,String>
- Additional properties.
- target String
- ARM resource ID of the Compute you are targeting. If not provided the resource will be deployed as Managed.
- instance
Count number - Number of instances or nodes.
- instance
Type string - SKU type to run on.
- is
Local boolean - Set to true for jobs running on local compute.
- location string
- Location for virtual cluster run.
- properties {[key: string]: string}
- Additional properties.
- target string
- ARM resource ID of the Compute you are targeting. If not provided the resource will be deployed as Managed.
- instance_
count int - Number of instances or nodes.
- instance_
type str - SKU type to run on.
- is_
local bool - Set to true for jobs running on local compute.
- location str
- Location for virtual cluster run.
- properties Mapping[str, str]
- Additional properties.
- target str
- ARM resource ID of the Compute you are targeting. If not provided the resource will be deployed as Managed.
- instance
Count Number - Number of instances or nodes.
- instance
Type String - SKU type to run on.
- is
Local Boolean - Set to true for jobs running on local compute.
- location String
- Location for virtual cluster run.
- properties Map<String>
- Additional properties.
- target String
- ARM resource ID of the Compute you are targeting. If not provided the resource will be deployed as Managed.
DataBindingMode, DataBindingModeArgs
- Mount
- Mount
- Download
- Download
- Upload
- Upload
- Read
Only Mount - ReadOnlyMount
- Read
Write Mount - ReadWriteMount
- Direct
- Direct
- Eval
Mount - EvalMount
- Eval
Download - EvalDownload
- Data
Binding Mode Mount - Mount
- Data
Binding Mode Download - Download
- Data
Binding Mode Upload - Upload
- Data
Binding Mode Read Only Mount - ReadOnlyMount
- Data
Binding Mode Read Write Mount - ReadWriteMount
- Data
Binding Mode Direct - Direct
- Data
Binding Mode Eval Mount - EvalMount
- Data
Binding Mode Eval Download - EvalDownload
- Mount
- Mount
- Download
- Download
- Upload
- Upload
- Read
Only Mount - ReadOnlyMount
- Read
Write Mount - ReadWriteMount
- Direct
- Direct
- Eval
Mount - EvalMount
- Eval
Download - EvalDownload
- Mount
- Mount
- Download
- Download
- Upload
- Upload
- Read
Only Mount - ReadOnlyMount
- Read
Write Mount - ReadWriteMount
- Direct
- Direct
- Eval
Mount - EvalMount
- Eval
Download - EvalDownload
- MOUNT
- Mount
- DOWNLOAD
- Download
- UPLOAD
- Upload
- READ_ONLY_MOUNT
- ReadOnlyMount
- READ_WRITE_MOUNT
- ReadWriteMount
- DIRECT
- Direct
- EVAL_MOUNT
- EvalMount
- EVAL_DOWNLOAD
- EvalDownload
- "Mount"
- Mount
- "Download"
- Download
- "Upload"
- Upload
- "Read
Only Mount" - ReadOnlyMount
- "Read
Write Mount" - ReadWriteMount
- "Direct"
- Direct
- "Eval
Mount" - EvalMount
- "Eval
Download" - EvalDownload
Goal, GoalArgs
- Minimize
- Minimize
- Maximize
- Maximize
- Goal
Minimize - Minimize
- Goal
Maximize - Maximize
- Minimize
- Minimize
- Maximize
- Maximize
- Minimize
- Minimize
- Maximize
- Maximize
- MINIMIZE
- Minimize
- MAXIMIZE
- Maximize
- "Minimize"
- Minimize
- "Maximize"
- Maximize
InputDataBinding, InputDataBindingArgs
- Data
Id string - ARM resource ID of the registered dataVersion.
- Mode
string | Pulumi.
Azure Native. Machine Learning Services. Data Binding Mode - Mechanism for accessing the data artifact.
- Path
On stringCompute - Location of data inside the container process.
- Data
Id string - ARM resource ID of the registered dataVersion.
- Mode
string | Data
Binding Mode - Mechanism for accessing the data artifact.
- Path
On stringCompute - Location of data inside the container process.
- data
Id String - ARM resource ID of the registered dataVersion.
- mode
String | Data
Binding Mode - Mechanism for accessing the data artifact.
- path
On StringCompute - Location of data inside the container process.
- data
Id string - ARM resource ID of the registered dataVersion.
- mode
string | Data
Binding Mode - Mechanism for accessing the data artifact.
- path
On stringCompute - Location of data inside the container process.
- data_
id str - ARM resource ID of the registered dataVersion.
- mode
str | Data
Binding Mode - Mechanism for accessing the data artifact.
- path_
on_ strcompute - Location of data inside the container process.
- data
Id String - ARM resource ID of the registered dataVersion.
- mode
String | "Mount" | "Download" | "Upload" | "Read
Only Mount" | "Read Write Mount" | "Direct" | "Eval Mount" | "Eval Download" - Mechanism for accessing the data artifact.
- path
On StringCompute - Location of data inside the container process.
InputDataBindingResponse, InputDataBindingResponseArgs
- Data
Id string - ARM resource ID of the registered dataVersion.
- Mode string
- Mechanism for accessing the data artifact.
- Path
On stringCompute - Location of data inside the container process.
- Data
Id string - ARM resource ID of the registered dataVersion.
- Mode string
- Mechanism for accessing the data artifact.
- Path
On stringCompute - Location of data inside the container process.
- data
Id String - ARM resource ID of the registered dataVersion.
- mode String
- Mechanism for accessing the data artifact.
- path
On StringCompute - Location of data inside the container process.
- data
Id string - ARM resource ID of the registered dataVersion.
- mode string
- Mechanism for accessing the data artifact.
- path
On stringCompute - Location of data inside the container process.
- data_
id str - ARM resource ID of the registered dataVersion.
- mode str
- Mechanism for accessing the data artifact.
- path_
on_ strcompute - Location of data inside the container process.
- data
Id String - ARM resource ID of the registered dataVersion.
- mode String
- Mechanism for accessing the data artifact.
- path
On StringCompute - Location of data inside the container process.
JobEndpointResponse, JobEndpointResponseArgs
- Endpoint string
- Url for endpoint.
- Job
Endpoint stringType - Endpoint type.
- Port int
- Port for endpoint.
- Properties Dictionary<string, string>
- Additional properties to set on the endpoint.
- Endpoint string
- Url for endpoint.
- Job
Endpoint stringType - Endpoint type.
- Port int
- Port for endpoint.
- Properties map[string]string
- Additional properties to set on the endpoint.
- endpoint String
- Url for endpoint.
- job
Endpoint StringType - Endpoint type.
- port Integer
- Port for endpoint.
- properties Map<String,String>
- Additional properties to set on the endpoint.
- endpoint string
- Url for endpoint.
- job
Endpoint stringType - Endpoint type.
- port number
- Port for endpoint.
- properties {[key: string]: string}
- Additional properties to set on the endpoint.
- endpoint str
- Url for endpoint.
- job_
endpoint_ strtype - Endpoint type.
- port int
- Port for endpoint.
- properties Mapping[str, str]
- Additional properties to set on the endpoint.
- endpoint String
- Url for endpoint.
- job
Endpoint StringType - Endpoint type.
- port Number
- Port for endpoint.
- properties Map<String>
- Additional properties to set on the endpoint.
JobOutputResponse, JobOutputResponseArgs
- Datastore
Id string - ARM ID of the datastore where the job logs and artifacts are stored, or null for the default container ("azureml") in the workspace's storage account.
- Path string
- Path within the datastore to the job logs and artifacts.
- Datastore
Id string - ARM ID of the datastore where the job logs and artifacts are stored, or null for the default container ("azureml") in the workspace's storage account.
- Path string
- Path within the datastore to the job logs and artifacts.
- datastore
Id String - ARM ID of the datastore where the job logs and artifacts are stored, or null for the default container ("azureml") in the workspace's storage account.
- path String
- Path within the datastore to the job logs and artifacts.
- datastore
Id string - ARM ID of the datastore where the job logs and artifacts are stored, or null for the default container ("azureml") in the workspace's storage account.
- path string
- Path within the datastore to the job logs and artifacts.
- datastore_
id str - ARM ID of the datastore where the job logs and artifacts are stored, or null for the default container ("azureml") in the workspace's storage account.
- path str
- Path within the datastore to the job logs and artifacts.
- datastore
Id String - ARM ID of the datastore where the job logs and artifacts are stored, or null for the default container ("azureml") in the workspace's storage account.
- path String
- Path within the datastore to the job logs and artifacts.
ManagedIdentity, ManagedIdentityArgs
- Client
Id string - Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.
- Object
Id string - Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.
- Resource
Id string - Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.
- Client
Id string - Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.
- Object
Id string - Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.
- Resource
Id string - Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.
- client
Id String - Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.
- object
Id String - Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.
- resource
Id String - Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.
- client
Id string - Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.
- object
Id string - Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.
- resource
Id string - Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.
- client_
id str - Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.
- object_
id str - Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.
- resource_
id str - Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.
- client
Id String - Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.
- object
Id String - Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.
- resource
Id String - Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.
ManagedIdentityResponse, ManagedIdentityResponseArgs
- Client
Id string - Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.
- Object
Id string - Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.
- Resource
Id string - Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.
- Client
Id string - Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.
- Object
Id string - Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.
- Resource
Id string - Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.
- client
Id String - Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.
- object
Id String - Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.
- resource
Id String - Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.
- client
Id string - Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.
- object
Id string - Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.
- resource
Id string - Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.
- client_
id str - Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.
- object_
id str - Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.
- resource_
id str - Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.
- client
Id String - Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.
- object
Id String - Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.
- resource
Id String - Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.
MedianStoppingPolicy, MedianStoppingPolicyArgs
- Delay
Evaluation int - Number of intervals by which to delay the first evaluation.
- Evaluation
Interval int - Interval (number of runs) between policy evaluations.
- Delay
Evaluation int - Number of intervals by which to delay the first evaluation.
- Evaluation
Interval int - Interval (number of runs) between policy evaluations.
- delay
Evaluation Integer - Number of intervals by which to delay the first evaluation.
- evaluation
Interval Integer - Interval (number of runs) between policy evaluations.
- delay
Evaluation number - Number of intervals by which to delay the first evaluation.
- evaluation
Interval number - Interval (number of runs) between policy evaluations.
- delay_
evaluation int - Number of intervals by which to delay the first evaluation.
- evaluation_
interval int - Interval (number of runs) between policy evaluations.
- delay
Evaluation Number - Number of intervals by which to delay the first evaluation.
- evaluation
Interval Number - Interval (number of runs) between policy evaluations.
MedianStoppingPolicyResponse, MedianStoppingPolicyResponseArgs
- Delay
Evaluation int - Number of intervals by which to delay the first evaluation.
- Evaluation
Interval int - Interval (number of runs) between policy evaluations.
- Delay
Evaluation int - Number of intervals by which to delay the first evaluation.
- Evaluation
Interval int - Interval (number of runs) between policy evaluations.
- delay
Evaluation Integer - Number of intervals by which to delay the first evaluation.
- evaluation
Interval Integer - Interval (number of runs) between policy evaluations.
- delay
Evaluation number - Number of intervals by which to delay the first evaluation.
- evaluation
Interval number - Interval (number of runs) between policy evaluations.
- delay_
evaluation int - Number of intervals by which to delay the first evaluation.
- evaluation_
interval int - Interval (number of runs) between policy evaluations.
- delay
Evaluation Number - Number of intervals by which to delay the first evaluation.
- evaluation
Interval Number - Interval (number of runs) between policy evaluations.
Mpi, MpiArgs
- Process
Count intPer Instance - Number of processes per MPI node.
- Process
Count intPer Instance - Number of processes per MPI node.
- process
Count IntegerPer Instance - Number of processes per MPI node.
- process
Count numberPer Instance - Number of processes per MPI node.
- process_
count_ intper_ instance - Number of processes per MPI node.
- process
Count NumberPer Instance - Number of processes per MPI node.
MpiResponse, MpiResponseArgs
- Process
Count intPer Instance - Number of processes per MPI node.
- Process
Count intPer Instance - Number of processes per MPI node.
- process
Count IntegerPer Instance - Number of processes per MPI node.
- process
Count numberPer Instance - Number of processes per MPI node.
- process_
count_ intper_ instance - Number of processes per MPI node.
- process
Count NumberPer Instance - Number of processes per MPI node.
Objective, ObjectiveArgs
- Goal
string | Pulumi.
Azure Native. Machine Learning Services. Goal - [Required] Defines supported metric goals for hyperparameter tuning
- Primary
Metric string - [Required] Name of the metric to optimize.
- Goal string | Goal
- [Required] Defines supported metric goals for hyperparameter tuning
- Primary
Metric string - [Required] Name of the metric to optimize.
- goal String | Goal
- [Required] Defines supported metric goals for hyperparameter tuning
- primary
Metric String - [Required] Name of the metric to optimize.
- goal string | Goal
- [Required] Defines supported metric goals for hyperparameter tuning
- primary
Metric string - [Required] Name of the metric to optimize.
- goal str | Goal
- [Required] Defines supported metric goals for hyperparameter tuning
- primary_
metric str - [Required] Name of the metric to optimize.
- goal String | "Minimize" | "Maximize"
- [Required] Defines supported metric goals for hyperparameter tuning
- primary
Metric String - [Required] Name of the metric to optimize.
ObjectiveResponse, ObjectiveResponseArgs
- Goal string
- [Required] Defines supported metric goals for hyperparameter tuning
- Primary
Metric string - [Required] Name of the metric to optimize.
- Goal string
- [Required] Defines supported metric goals for hyperparameter tuning
- Primary
Metric string - [Required] Name of the metric to optimize.
- goal String
- [Required] Defines supported metric goals for hyperparameter tuning
- primary
Metric String - [Required] Name of the metric to optimize.
- goal string
- [Required] Defines supported metric goals for hyperparameter tuning
- primary
Metric string - [Required] Name of the metric to optimize.
- goal str
- [Required] Defines supported metric goals for hyperparameter tuning
- primary_
metric str - [Required] Name of the metric to optimize.
- goal String
- [Required] Defines supported metric goals for hyperparameter tuning
- primary
Metric String - [Required] Name of the metric to optimize.
OutputDataBinding, OutputDataBindingArgs
- Datastore
Id string - ARM resource ID of the datastore where the data output will be stored.
- Mode
string | Pulumi.
Azure Native. Machine Learning Services. Data Binding Mode - Mechanism for data movement to datastore.
- Path
On stringCompute - Location of data inside the container process.
- Path
On stringDatastore - Path within the datastore to the data.
- Datastore
Id string - ARM resource ID of the datastore where the data output will be stored.
- Mode
string | Data
Binding Mode - Mechanism for data movement to datastore.
- Path
On stringCompute - Location of data inside the container process.
- Path
On stringDatastore - Path within the datastore to the data.
- datastore
Id String - ARM resource ID of the datastore where the data output will be stored.
- mode
String | Data
Binding Mode - Mechanism for data movement to datastore.
- path
On StringCompute - Location of data inside the container process.
- path
On StringDatastore - Path within the datastore to the data.
- datastore
Id string - ARM resource ID of the datastore where the data output will be stored.
- mode
string | Data
Binding Mode - Mechanism for data movement to datastore.
- path
On stringCompute - Location of data inside the container process.
- path
On stringDatastore - Path within the datastore to the data.
- datastore_
id str - ARM resource ID of the datastore where the data output will be stored.
- mode
str | Data
Binding Mode - Mechanism for data movement to datastore.
- path_
on_ strcompute - Location of data inside the container process.
- path_
on_ strdatastore - Path within the datastore to the data.
- datastore
Id String - ARM resource ID of the datastore where the data output will be stored.
- mode
String | "Mount" | "Download" | "Upload" | "Read
Only Mount" | "Read Write Mount" | "Direct" | "Eval Mount" | "Eval Download" - Mechanism for data movement to datastore.
- path
On StringCompute - Location of data inside the container process.
- path
On StringDatastore - Path within the datastore to the data.
OutputDataBindingResponse, OutputDataBindingResponseArgs
- Datastore
Id string - ARM resource ID of the datastore where the data output will be stored.
- Mode string
- Mechanism for data movement to datastore.
- Path
On stringCompute - Location of data inside the container process.
- Path
On stringDatastore - Path within the datastore to the data.
- Datastore
Id string - ARM resource ID of the datastore where the data output will be stored.
- Mode string
- Mechanism for data movement to datastore.
- Path
On stringCompute - Location of data inside the container process.
- Path
On stringDatastore - Path within the datastore to the data.
- datastore
Id String - ARM resource ID of the datastore where the data output will be stored.
- mode String
- Mechanism for data movement to datastore.
- path
On StringCompute - Location of data inside the container process.
- path
On StringDatastore - Path within the datastore to the data.
- datastore
Id string - ARM resource ID of the datastore where the data output will be stored.
- mode string
- Mechanism for data movement to datastore.
- path
On stringCompute - Location of data inside the container process.
- path
On stringDatastore - Path within the datastore to the data.
- datastore_
id str - ARM resource ID of the datastore where the data output will be stored.
- mode str
- Mechanism for data movement to datastore.
- path_
on_ strcompute - Location of data inside the container process.
- path_
on_ strdatastore - Path within the datastore to the data.
- datastore
Id String - ARM resource ID of the datastore where the data output will be stored.
- mode String
- Mechanism for data movement to datastore.
- path
On StringCompute - Location of data inside the container process.
- path
On StringDatastore - Path within the datastore to the data.
PyTorch, PyTorchArgs
- Process
Count int - Total process count for the distributed job.
- Process
Count int - Total process count for the distributed job.
- process
Count Integer - Total process count for the distributed job.
- process
Count number - Total process count for the distributed job.
- process_
count int - Total process count for the distributed job.
- process
Count Number - Total process count for the distributed job.
PyTorchResponse, PyTorchResponseArgs
- Process
Count int - Total process count for the distributed job.
- Process
Count int - Total process count for the distributed job.
- process
Count Integer - Total process count for the distributed job.
- process
Count number - Total process count for the distributed job.
- process_
count int - Total process count for the distributed job.
- process
Count Number - Total process count for the distributed job.
SamplingAlgorithm, SamplingAlgorithmArgs
- Grid
- Grid
- Random
- Random
- Bayesian
- Bayesian
- Sampling
Algorithm Grid - Grid
- Sampling
Algorithm Random - Random
- Sampling
Algorithm Bayesian - Bayesian
- Grid
- Grid
- Random
- Random
- Bayesian
- Bayesian
- Grid
- Grid
- Random
- Random
- Bayesian
- Bayesian
- GRID
- Grid
- RANDOM
- Random
- BAYESIAN
- Bayesian
- "Grid"
- Grid
- "Random"
- Random
- "Bayesian"
- Bayesian
SweepJob, SweepJobArgs
- Algorithm
string | Pulumi.
Azure Native. Machine Learning Services. Sampling Algorithm - [Required] Type of the hyperparameter sampling algorithms
- Compute
Pulumi.
Azure Native. Machine Learning Services. Inputs. Compute Configuration - [Required] Compute binding for the job.
- Objective
Pulumi.
Azure Native. Machine Learning Services. Inputs. Objective - [Required] Optimization objective.
- Search
Space Dictionary<string, object> - [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter
- Description string
- The asset description text.
- Early
Termination Pulumi.Azure | Pulumi.Native. Machine Learning Services. Inputs. Bandit Policy Azure | Pulumi.Native. Machine Learning Services. Inputs. Median Stopping Policy Azure Native. Machine Learning Services. Inputs. Truncation Selection Policy - Early termination policies enable canceling poor-performing runs before they complete.
- Experiment
Name string - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- Identity
Pulumi.
Azure | Pulumi.Native. Machine Learning Services. Inputs. Aml Token Azure Native. Machine Learning Services. Inputs. Managed Identity - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null. Defaults to AmlToken if null.
- Max
Concurrent intTrials - An upper bound on the number of trials performed in parallel.
- Max
Total intTrials - An upper bound on the number of trials to perform.
- Priority int
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- Properties Dictionary<string, string>
- The asset property dictionary.
- Dictionary<string, string>
- Tag dictionary. Tags can be added, removed, and updated.
- Timeout string
- The total timeout in ISO 8601 format. Only supports duration with precision as low as Minutes.
- Trial
Pulumi.
Azure Native. Machine Learning Services. Inputs. Trial Component - Trial component definition.
- Algorithm
string | Sampling
Algorithm - [Required] Type of the hyperparameter sampling algorithms
- Compute
Compute
Configuration - [Required] Compute binding for the job.
- Objective Objective
- [Required] Optimization objective.
- Search
Space map[string]interface{} - [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter
- Description string
- The asset description text.
- Early
Termination BanditPolicy | MedianStopping | TruncationPolicy Selection Policy - Early termination policies enable canceling poor-performing runs before they complete.
- Experiment
Name string - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- Identity
Aml
Token | ManagedIdentity - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null. Defaults to AmlToken if null.
- Max
Concurrent intTrials - An upper bound on the number of trials performed in parallel.
- Max
Total intTrials - An upper bound on the number of trials to perform.
- Priority int
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- Properties map[string]string
- The asset property dictionary.
- map[string]string
- Tag dictionary. Tags can be added, removed, and updated.
- Timeout string
- The total timeout in ISO 8601 format. Only supports duration with precision as low as Minutes.
- Trial
Trial
Component - Trial component definition.
- algorithm
String | Sampling
Algorithm - [Required] Type of the hyperparameter sampling algorithms
- compute
Compute
Configuration - [Required] Compute binding for the job.
- objective Objective
- [Required] Optimization objective.
- search
Space Map<String,Object> - [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter
- description String
- The asset description text.
- early
Termination BanditPolicy | MedianStopping | TruncationPolicy Selection Policy - Early termination policies enable canceling poor-performing runs before they complete.
- experiment
Name String - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity
Aml
Token | ManagedIdentity - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null. Defaults to AmlToken if null.
- max
Concurrent IntegerTrials - An upper bound on the number of trials performed in parallel.
- max
Total IntegerTrials - An upper bound on the number of trials to perform.
- priority Integer
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties Map<String,String>
- The asset property dictionary.
- Map<String,String>
- Tag dictionary. Tags can be added, removed, and updated.
- timeout String
- The total timeout in ISO 8601 format. Only supports duration with precision as low as Minutes.
- trial
Trial
Component - Trial component definition.
- algorithm
string | Sampling
Algorithm - [Required] Type of the hyperparameter sampling algorithms
- compute
Compute
Configuration - [Required] Compute binding for the job.
- objective Objective
- [Required] Optimization objective.
- search
Space {[key: string]: any} - [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter
- description string
- The asset description text.
- early
Termination BanditPolicy | MedianStopping | TruncationPolicy Selection Policy - Early termination policies enable canceling poor-performing runs before they complete.
- experiment
Name string - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity
Aml
Token | ManagedIdentity - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null. Defaults to AmlToken if null.
- max
Concurrent numberTrials - An upper bound on the number of trials performed in parallel.
- max
Total numberTrials - An upper bound on the number of trials to perform.
- priority number
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties {[key: string]: string}
- The asset property dictionary.
- {[key: string]: string}
- Tag dictionary. Tags can be added, removed, and updated.
- timeout string
- The total timeout in ISO 8601 format. Only supports duration with precision as low as Minutes.
- trial
Trial
Component - Trial component definition.
- algorithm
str | Sampling
Algorithm - [Required] Type of the hyperparameter sampling algorithms
- compute
Compute
Configuration - [Required] Compute binding for the job.
- objective Objective
- [Required] Optimization objective.
- search_
space Mapping[str, Any] - [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter
- description str
- The asset description text.
- early_
termination BanditPolicy | MedianStopping | TruncationPolicy Selection Policy - Early termination policies enable canceling poor-performing runs before they complete.
- experiment_
name str - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity
Aml
Token | ManagedIdentity - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null. Defaults to AmlToken if null.
- max_
concurrent_ inttrials - An upper bound on the number of trials performed in parallel.
- max_
total_ inttrials - An upper bound on the number of trials to perform.
- priority int
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties Mapping[str, str]
- The asset property dictionary.
- Mapping[str, str]
- Tag dictionary. Tags can be added, removed, and updated.
- timeout str
- The total timeout in ISO 8601 format. Only supports duration with precision as low as Minutes.
- trial
Trial
Component - Trial component definition.
- algorithm String | "Grid" | "Random" | "Bayesian"
- [Required] Type of the hyperparameter sampling algorithms
- compute Property Map
- [Required] Compute binding for the job.
- objective Property Map
- [Required] Optimization objective.
- search
Space Map<Any> - [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter
- description String
- The asset description text.
- early
Termination Property Map | Property Map | Property Map - Early termination policies enable canceling poor-performing runs before they complete.
- experiment
Name String - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity Property Map | Property Map
- Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null. Defaults to AmlToken if null.
- max
Concurrent NumberTrials - An upper bound on the number of trials performed in parallel.
- max
Total NumberTrials - An upper bound on the number of trials to perform.
- priority Number
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties Map<String>
- The asset property dictionary.
- Map<String>
- Tag dictionary. Tags can be added, removed, and updated.
- timeout String
- The total timeout in ISO 8601 format. Only supports duration with precision as low as Minutes.
- trial Property Map
- Trial component definition.
SweepJobResponse, SweepJobResponseArgs
- Algorithm string
- [Required] Type of the hyperparameter sampling algorithms
- Compute
Pulumi.
Azure Native. Machine Learning Services. Inputs. Compute Configuration Response - [Required] Compute binding for the job.
- Interaction
Endpoints Dictionary<string, Pulumi.Azure Native. Machine Learning Services. Inputs. Job Endpoint Response> - List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
- Objective
Pulumi.
Azure Native. Machine Learning Services. Inputs. Objective Response - [Required] Optimization objective.
- Output
Pulumi.
Azure Native. Machine Learning Services. Inputs. Job Output Response - Location of the job output logs and artifacts.
- Provisioning
State string - Specifies the job provisioning state.
- Search
Space Dictionary<string, object> - [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter
- Status string
- The status of a job.
- Description string
- The asset description text.
- Early
Termination Pulumi.Azure | Pulumi.Native. Machine Learning Services. Inputs. Bandit Policy Response Azure | Pulumi.Native. Machine Learning Services. Inputs. Median Stopping Policy Response Azure Native. Machine Learning Services. Inputs. Truncation Selection Policy Response - Early termination policies enable canceling poor-performing runs before they complete.
- Experiment
Name string - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- Identity
Pulumi.
Azure | Pulumi.Native. Machine Learning Services. Inputs. Aml Token Response Azure Native. Machine Learning Services. Inputs. Managed Identity Response - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null. Defaults to AmlToken if null.
- Max
Concurrent intTrials - An upper bound on the number of trials performed in parallel.
- Max
Total intTrials - An upper bound on the number of trials to perform.
- Priority int
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- Properties Dictionary<string, string>
- The asset property dictionary.
- Dictionary<string, string>
- Tag dictionary. Tags can be added, removed, and updated.
- Timeout string
- The total timeout in ISO 8601 format. Only supports duration with precision as low as Minutes.
- Trial
Pulumi.
Azure Native. Machine Learning Services. Inputs. Trial Component Response - Trial component definition.
- Algorithm string
- [Required] Type of the hyperparameter sampling algorithms
- Compute
Compute
Configuration Response - [Required] Compute binding for the job.
- Interaction
Endpoints map[string]JobEndpoint Response - List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
- Objective
Objective
Response - [Required] Optimization objective.
- Output
Job
Output Response - Location of the job output logs and artifacts.
- Provisioning
State string - Specifies the job provisioning state.
- Search
Space map[string]interface{} - [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter
- Status string
- The status of a job.
- Description string
- The asset description text.
- Early
Termination BanditPolicy | MedianResponse Stopping | TruncationPolicy Response Selection Policy Response - Early termination policies enable canceling poor-performing runs before they complete.
- Experiment
Name string - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- Identity
Aml
Token | ManagedResponse Identity Response - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null. Defaults to AmlToken if null.
- Max
Concurrent intTrials - An upper bound on the number of trials performed in parallel.
- Max
Total intTrials - An upper bound on the number of trials to perform.
- Priority int
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- Properties map[string]string
- The asset property dictionary.
- map[string]string
- Tag dictionary. Tags can be added, removed, and updated.
- Timeout string
- The total timeout in ISO 8601 format. Only supports duration with precision as low as Minutes.
- Trial
Trial
Component Response - Trial component definition.
- algorithm String
- [Required] Type of the hyperparameter sampling algorithms
- compute
Compute
Configuration Response - [Required] Compute binding for the job.
- interaction
Endpoints Map<String,JobEndpoint Response> - List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
- objective
Objective
Response - [Required] Optimization objective.
- output
Job
Output Response - Location of the job output logs and artifacts.
- provisioning
State String - Specifies the job provisioning state.
- search
Space Map<String,Object> - [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter
- status String
- The status of a job.
- description String
- The asset description text.
- early
Termination BanditPolicy | MedianResponse Stopping | TruncationPolicy Response Selection Policy Response - Early termination policies enable canceling poor-performing runs before they complete.
- experiment
Name String - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity
Aml
Token | ManagedResponse Identity Response - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null. Defaults to AmlToken if null.
- max
Concurrent IntegerTrials - An upper bound on the number of trials performed in parallel.
- max
Total IntegerTrials - An upper bound on the number of trials to perform.
- priority Integer
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties Map<String,String>
- The asset property dictionary.
- Map<String,String>
- Tag dictionary. Tags can be added, removed, and updated.
- timeout String
- The total timeout in ISO 8601 format. Only supports duration with precision as low as Minutes.
- trial
Trial
Component Response - Trial component definition.
- algorithm string
- [Required] Type of the hyperparameter sampling algorithms
- compute
Compute
Configuration Response - [Required] Compute binding for the job.
- interaction
Endpoints {[key: string]: JobEndpoint Response} - List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
- objective
Objective
Response - [Required] Optimization objective.
- output
Job
Output Response - Location of the job output logs and artifacts.
- provisioning
State string - Specifies the job provisioning state.
- search
Space {[key: string]: any} - [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter
- status string
- The status of a job.
- description string
- The asset description text.
- early
Termination BanditPolicy | MedianResponse Stopping | TruncationPolicy Response Selection Policy Response - Early termination policies enable canceling poor-performing runs before they complete.
- experiment
Name string - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity
Aml
Token | ManagedResponse Identity Response - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null. Defaults to AmlToken if null.
- max
Concurrent numberTrials - An upper bound on the number of trials performed in parallel.
- max
Total numberTrials - An upper bound on the number of trials to perform.
- priority number
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties {[key: string]: string}
- The asset property dictionary.
- {[key: string]: string}
- Tag dictionary. Tags can be added, removed, and updated.
- timeout string
- The total timeout in ISO 8601 format. Only supports duration with precision as low as Minutes.
- trial
Trial
Component Response - Trial component definition.
- algorithm str
- [Required] Type of the hyperparameter sampling algorithms
- compute
Compute
Configuration Response - [Required] Compute binding for the job.
- interaction_
endpoints Mapping[str, JobEndpoint Response] - List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
- objective
Objective
Response - [Required] Optimization objective.
- output
Job
Output Response - Location of the job output logs and artifacts.
- provisioning_
state str - Specifies the job provisioning state.
- search_
space Mapping[str, Any] - [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter
- status str
- The status of a job.
- description str
- The asset description text.
- early_
termination BanditPolicy | MedianResponse Stopping | TruncationPolicy Response Selection Policy Response - Early termination policies enable canceling poor-performing runs before they complete.
- experiment_
name str - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity
Aml
Token | ManagedResponse Identity Response - Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null. Defaults to AmlToken if null.
- max_
concurrent_ inttrials - An upper bound on the number of trials performed in parallel.
- max_
total_ inttrials - An upper bound on the number of trials to perform.
- priority int
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties Mapping[str, str]
- The asset property dictionary.
- Mapping[str, str]
- Tag dictionary. Tags can be added, removed, and updated.
- timeout str
- The total timeout in ISO 8601 format. Only supports duration with precision as low as Minutes.
- trial
Trial
Component Response - Trial component definition.
- algorithm String
- [Required] Type of the hyperparameter sampling algorithms
- compute Property Map
- [Required] Compute binding for the job.
- interaction
Endpoints Map<Property Map> - List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
- objective Property Map
- [Required] Optimization objective.
- output Property Map
- Location of the job output logs and artifacts.
- provisioning
State String - Specifies the job provisioning state.
- search
Space Map<Any> - [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter
- status String
- The status of a job.
- description String
- The asset description text.
- early
Termination Property Map | Property Map | Property Map - Early termination policies enable canceling poor-performing runs before they complete.
- experiment
Name String - The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
- identity Property Map | Property Map
- Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null. Defaults to AmlToken if null.
- max
Concurrent NumberTrials - An upper bound on the number of trials performed in parallel.
- max
Total NumberTrials - An upper bound on the number of trials to perform.
- priority Number
- Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.
- properties Map<String>
- The asset property dictionary.
- Map<String>
- Tag dictionary. Tags can be added, removed, and updated.
- timeout String
- The total timeout in ISO 8601 format. Only supports duration with precision as low as Minutes.
- trial Property Map
- Trial component definition.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - An identifier for the identity that created the resource
- Created
By stringType - The type of identity that created the resource
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - An identifier for the identity that last modified the resource
- Last
Modified stringBy Type - The type of identity that last modified the resource
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - An identifier for the identity that created the resource
- Created
By stringType - The type of identity that created the resource
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - An identifier for the identity that last modified the resource
- Last
Modified stringBy Type - The type of identity that last modified the resource
- created
At String - The timestamp of resource creation (UTC)
- created
By String - An identifier for the identity that created the resource
- created
By StringType - The type of identity that created the resource
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - An identifier for the identity that last modified the resource
- last
Modified StringBy Type - The type of identity that last modified the resource
- created
At string - The timestamp of resource creation (UTC)
- created
By string - An identifier for the identity that created the resource
- created
By stringType - The type of identity that created the resource
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - An identifier for the identity that last modified the resource
- last
Modified stringBy Type - The type of identity that last modified the resource
- created_
at str - The timestamp of resource creation (UTC)
- created_
by str - An identifier for the identity that created the resource
- created_
by_ strtype - The type of identity that created the resource
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - An identifier for the identity that last modified the resource
- last_
modified_ strby_ type - The type of identity that last modified the resource
- created
At String - The timestamp of resource creation (UTC)
- created
By String - An identifier for the identity that created the resource
- created
By StringType - The type of identity that created the resource
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - An identifier for the identity that last modified the resource
- last
Modified StringBy Type - The type of identity that last modified the resource
TensorFlow, TensorFlowArgs
- Parameter
Server intCount - Number of parameter server tasks.
- Worker
Count int - Number of workers. Overwrites the node count in compute binding.
- Parameter
Server intCount - Number of parameter server tasks.
- Worker
Count int - Number of workers. Overwrites the node count in compute binding.
- parameter
Server IntegerCount - Number of parameter server tasks.
- worker
Count Integer - Number of workers. Overwrites the node count in compute binding.
- parameter
Server numberCount - Number of parameter server tasks.
- worker
Count number - Number of workers. Overwrites the node count in compute binding.
- parameter_
server_ intcount - Number of parameter server tasks.
- worker_
count int - Number of workers. Overwrites the node count in compute binding.
- parameter
Server NumberCount - Number of parameter server tasks.
- worker
Count Number - Number of workers. Overwrites the node count in compute binding.
TensorFlowResponse, TensorFlowResponseArgs
- Parameter
Server intCount - Number of parameter server tasks.
- Worker
Count int - Number of workers. Overwrites the node count in compute binding.
- Parameter
Server intCount - Number of parameter server tasks.
- Worker
Count int - Number of workers. Overwrites the node count in compute binding.
- parameter
Server IntegerCount - Number of parameter server tasks.
- worker
Count Integer - Number of workers. Overwrites the node count in compute binding.
- parameter
Server numberCount - Number of parameter server tasks.
- worker
Count number - Number of workers. Overwrites the node count in compute binding.
- parameter_
server_ intcount - Number of parameter server tasks.
- worker_
count int - Number of workers. Overwrites the node count in compute binding.
- parameter
Server NumberCount - Number of parameter server tasks.
- worker
Count Number - Number of workers. Overwrites the node count in compute binding.
TrialComponent, TrialComponentArgs
- Command string
- [Required] The command to execute on startup of the job. eg. "python train.py"
- Code
Id string - ARM resource ID of the code asset.
- Distribution
Pulumi.
Azure | Pulumi.Native. Machine Learning Services. Inputs. Mpi Azure | Pulumi.Native. Machine Learning Services. Inputs. Py Torch Azure Native. Machine Learning Services. Inputs. Tensor Flow - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- Environment
Id string - The ARM resource ID of the Environment specification for the job.
- Environment
Variables Dictionary<string, string> - Environment variables included in the job.
- Input
Data Dictionary<string, Pulumi.Bindings Azure Native. Machine Learning Services. Inputs. Input Data Binding> - Mapping of input data bindings used in the job.
- Output
Data Dictionary<string, Pulumi.Bindings Azure Native. Machine Learning Services. Inputs. Output Data Binding> - Mapping of output data bindings used in the job.
- Timeout string
- The max run duration in ISO 8601 format, after which the trial component will be cancelled. Only supports duration with precision as low as Seconds.
- Command string
- [Required] The command to execute on startup of the job. eg. "python train.py"
- Code
Id string - ARM resource ID of the code asset.
- Distribution
Mpi | Py
Torch | TensorFlow - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- Environment
Id string - The ARM resource ID of the Environment specification for the job.
- Environment
Variables map[string]string - Environment variables included in the job.
- Input
Data map[string]InputBindings Data Binding - Mapping of input data bindings used in the job.
- Output
Data map[string]OutputBindings Data Binding - Mapping of output data bindings used in the job.
- Timeout string
- The max run duration in ISO 8601 format, after which the trial component will be cancelled. Only supports duration with precision as low as Seconds.
- command String
- [Required] The command to execute on startup of the job. eg. "python train.py"
- code
Id String - ARM resource ID of the code asset.
- distribution
Mpi | Py
Torch | TensorFlow - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment
Id String - The ARM resource ID of the Environment specification for the job.
- environment
Variables Map<String,String> - Environment variables included in the job.
- input
Data Map<String,InputBindings Data Binding> - Mapping of input data bindings used in the job.
- output
Data Map<String,OutputBindings Data Binding> - Mapping of output data bindings used in the job.
- timeout String
- The max run duration in ISO 8601 format, after which the trial component will be cancelled. Only supports duration with precision as low as Seconds.
- command string
- [Required] The command to execute on startup of the job. eg. "python train.py"
- code
Id string - ARM resource ID of the code asset.
- distribution
Mpi | Py
Torch | TensorFlow - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment
Id string - The ARM resource ID of the Environment specification for the job.
- environment
Variables {[key: string]: string} - Environment variables included in the job.
- input
Data {[key: string]: InputBindings Data Binding} - Mapping of input data bindings used in the job.
- output
Data {[key: string]: OutputBindings Data Binding} - Mapping of output data bindings used in the job.
- timeout string
- The max run duration in ISO 8601 format, after which the trial component will be cancelled. Only supports duration with precision as low as Seconds.
- command str
- [Required] The command to execute on startup of the job. eg. "python train.py"
- code_
id str - ARM resource ID of the code asset.
- distribution
Mpi | Py
Torch | TensorFlow - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment_
id str - The ARM resource ID of the Environment specification for the job.
- environment_
variables Mapping[str, str] - Environment variables included in the job.
- input_
data_ Mapping[str, Inputbindings Data Binding] - Mapping of input data bindings used in the job.
- output_
data_ Mapping[str, Outputbindings Data Binding] - Mapping of output data bindings used in the job.
- timeout str
- The max run duration in ISO 8601 format, after which the trial component will be cancelled. Only supports duration with precision as low as Seconds.
- command String
- [Required] The command to execute on startup of the job. eg. "python train.py"
- code
Id String - ARM resource ID of the code asset.
- distribution Property Map | Property Map | Property Map
- Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment
Id String - The ARM resource ID of the Environment specification for the job.
- environment
Variables Map<String> - Environment variables included in the job.
- input
Data Map<Property Map>Bindings - Mapping of input data bindings used in the job.
- output
Data Map<Property Map>Bindings - Mapping of output data bindings used in the job.
- timeout String
- The max run duration in ISO 8601 format, after which the trial component will be cancelled. Only supports duration with precision as low as Seconds.
TrialComponentResponse, TrialComponentResponseArgs
- Command string
- [Required] The command to execute on startup of the job. eg. "python train.py"
- Code
Id string - ARM resource ID of the code asset.
- Distribution
Pulumi.
Azure | Pulumi.Native. Machine Learning Services. Inputs. Mpi Response Azure | Pulumi.Native. Machine Learning Services. Inputs. Py Torch Response Azure Native. Machine Learning Services. Inputs. Tensor Flow Response - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- Environment
Id string - The ARM resource ID of the Environment specification for the job.
- Environment
Variables Dictionary<string, string> - Environment variables included in the job.
- Input
Data Dictionary<string, Pulumi.Bindings Azure Native. Machine Learning Services. Inputs. Input Data Binding Response> - Mapping of input data bindings used in the job.
- Output
Data Dictionary<string, Pulumi.Bindings Azure Native. Machine Learning Services. Inputs. Output Data Binding Response> - Mapping of output data bindings used in the job.
- Timeout string
- The max run duration in ISO 8601 format, after which the trial component will be cancelled. Only supports duration with precision as low as Seconds.
- Command string
- [Required] The command to execute on startup of the job. eg. "python train.py"
- Code
Id string - ARM resource ID of the code asset.
- Distribution
Mpi
Response | PyTorch | TensorResponse Flow Response - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- Environment
Id string - The ARM resource ID of the Environment specification for the job.
- Environment
Variables map[string]string - Environment variables included in the job.
- Input
Data map[string]InputBindings Data Binding Response - Mapping of input data bindings used in the job.
- Output
Data map[string]OutputBindings Data Binding Response - Mapping of output data bindings used in the job.
- Timeout string
- The max run duration in ISO 8601 format, after which the trial component will be cancelled. Only supports duration with precision as low as Seconds.
- command String
- [Required] The command to execute on startup of the job. eg. "python train.py"
- code
Id String - ARM resource ID of the code asset.
- distribution
Mpi
Response | PyTorch | TensorResponse Flow Response - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment
Id String - The ARM resource ID of the Environment specification for the job.
- environment
Variables Map<String,String> - Environment variables included in the job.
- input
Data Map<String,InputBindings Data Binding Response> - Mapping of input data bindings used in the job.
- output
Data Map<String,OutputBindings Data Binding Response> - Mapping of output data bindings used in the job.
- timeout String
- The max run duration in ISO 8601 format, after which the trial component will be cancelled. Only supports duration with precision as low as Seconds.
- command string
- [Required] The command to execute on startup of the job. eg. "python train.py"
- code
Id string - ARM resource ID of the code asset.
- distribution
Mpi
Response | PyTorch | TensorResponse Flow Response - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment
Id string - The ARM resource ID of the Environment specification for the job.
- environment
Variables {[key: string]: string} - Environment variables included in the job.
- input
Data {[key: string]: InputBindings Data Binding Response} - Mapping of input data bindings used in the job.
- output
Data {[key: string]: OutputBindings Data Binding Response} - Mapping of output data bindings used in the job.
- timeout string
- The max run duration in ISO 8601 format, after which the trial component will be cancelled. Only supports duration with precision as low as Seconds.
- command str
- [Required] The command to execute on startup of the job. eg. "python train.py"
- code_
id str - ARM resource ID of the code asset.
- distribution
Mpi
Response | PyTorch | TensorResponse Flow Response - Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment_
id str - The ARM resource ID of the Environment specification for the job.
- environment_
variables Mapping[str, str] - Environment variables included in the job.
- input_
data_ Mapping[str, Inputbindings Data Binding Response] - Mapping of input data bindings used in the job.
- output_
data_ Mapping[str, Outputbindings Data Binding Response] - Mapping of output data bindings used in the job.
- timeout str
- The max run duration in ISO 8601 format, after which the trial component will be cancelled. Only supports duration with precision as low as Seconds.
- command String
- [Required] The command to execute on startup of the job. eg. "python train.py"
- code
Id String - ARM resource ID of the code asset.
- distribution Property Map | Property Map | Property Map
- Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
- environment
Id String - The ARM resource ID of the Environment specification for the job.
- environment
Variables Map<String> - Environment variables included in the job.
- input
Data Map<Property Map>Bindings - Mapping of input data bindings used in the job.
- output
Data Map<Property Map>Bindings - Mapping of output data bindings used in the job.
- timeout String
- The max run duration in ISO 8601 format, after which the trial component will be cancelled. Only supports duration with precision as low as Seconds.
TruncationSelectionPolicy, TruncationSelectionPolicyArgs
- Delay
Evaluation int - Number of intervals by which to delay the first evaluation.
- Evaluation
Interval int - Interval (number of runs) between policy evaluations.
- Truncation
Percentage int - The percentage of runs to cancel at each evaluation interval.
- Delay
Evaluation int - Number of intervals by which to delay the first evaluation.
- Evaluation
Interval int - Interval (number of runs) between policy evaluations.
- Truncation
Percentage int - The percentage of runs to cancel at each evaluation interval.
- delay
Evaluation Integer - Number of intervals by which to delay the first evaluation.
- evaluation
Interval Integer - Interval (number of runs) between policy evaluations.
- truncation
Percentage Integer - The percentage of runs to cancel at each evaluation interval.
- delay
Evaluation number - Number of intervals by which to delay the first evaluation.
- evaluation
Interval number - Interval (number of runs) between policy evaluations.
- truncation
Percentage number - The percentage of runs to cancel at each evaluation interval.
- delay_
evaluation int - Number of intervals by which to delay the first evaluation.
- evaluation_
interval int - Interval (number of runs) between policy evaluations.
- truncation_
percentage int - The percentage of runs to cancel at each evaluation interval.
- delay
Evaluation Number - Number of intervals by which to delay the first evaluation.
- evaluation
Interval Number - Interval (number of runs) between policy evaluations.
- truncation
Percentage Number - The percentage of runs to cancel at each evaluation interval.
TruncationSelectionPolicyResponse, TruncationSelectionPolicyResponseArgs
- Delay
Evaluation int - Number of intervals by which to delay the first evaluation.
- Evaluation
Interval int - Interval (number of runs) between policy evaluations.
- Truncation
Percentage int - The percentage of runs to cancel at each evaluation interval.
- Delay
Evaluation int - Number of intervals by which to delay the first evaluation.
- Evaluation
Interval int - Interval (number of runs) between policy evaluations.
- Truncation
Percentage int - The percentage of runs to cancel at each evaluation interval.
- delay
Evaluation Integer - Number of intervals by which to delay the first evaluation.
- evaluation
Interval Integer - Interval (number of runs) between policy evaluations.
- truncation
Percentage Integer - The percentage of runs to cancel at each evaluation interval.
- delay
Evaluation number - Number of intervals by which to delay the first evaluation.
- evaluation
Interval number - Interval (number of runs) between policy evaluations.
- truncation
Percentage number - The percentage of runs to cancel at each evaluation interval.
- delay_
evaluation int - Number of intervals by which to delay the first evaluation.
- evaluation_
interval int - Interval (number of runs) between policy evaluations.
- truncation_
percentage int - The percentage of runs to cancel at each evaluation interval.
- delay
Evaluation Number - Number of intervals by which to delay the first evaluation.
- evaluation
Interval Number - Interval (number of runs) between policy evaluations.
- truncation
Percentage Number - The percentage of runs to cancel at each evaluation interval.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:machinelearningservices:Job testJob /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob
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