ComponentVersion

Azure Resource Manager resource envelope. API Version: 2022-02-01-preview.

Example Usage

CreateOrUpdate Component Version.

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var componentVersion = new AzureNative.MachineLearningServices.ComponentVersion("componentVersion", new()
{
ComponentVersionDetails = new AzureNative.MachineLearningServices.Inputs.ComponentVersionArgs
{
ComponentSpec =
{
{ "8ced901b-d826-477d-bfef-329da9672513", null },
},
Description = "string",
IsAnonymous = false,
Properties =
{
{ "string", "string" },
},
Tags =
{
{ "string", "string" },
},
},
Name = "string",
ResourceGroupName = "test-rg",
Version = "string",
WorkspaceName = "my-aml-workspace",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.machinelearningservices.ComponentVersion;
import com.pulumi.azurenative.machinelearningservices.ComponentVersionArgs;
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 componentVersion = new ComponentVersion("componentVersion", ComponentVersionArgs.builder()
.componentVersionDetails(Map.ofEntries(
Map.entry("componentSpec", Map.of("8ced901b-d826-477d-bfef-329da9672513", null)),
Map.entry("description", "string"),
Map.entry("isAnonymous", false),
Map.entry("properties", Map.of("string", "string")),
Map.entry("tags", Map.of("string", "string"))
))
.name("string")
.resourceGroupName("test-rg")
.version("string")
.workspaceName("my-aml-workspace")
.build());
}
}

Import

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

$ pulumi import azure-native:machinelearningservices:ComponentVersion string string

Properties

Link copied to clipboard

Required Additional attributes of the entity.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>