ComponentVersionArgs

data class ComponentVersionArgs(val componentVersionDetails: Output<ComponentVersionArgs>? = null, val name: Output<String>? = null, val resourceGroupName: Output<String>? = null, val version: Output<String>? = null, val workspaceName: Output<String>? = null) : ConvertibleToJava<ComponentVersionArgs>

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

Example Usage

CreateOrUpdate Component Version.

using System.Collections.Generic;
using System.Linq;
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

Constructors

Link copied to clipboard
constructor(componentVersionDetails: Output<ComponentVersionArgs>? = null, name: Output<String>? = null, resourceGroupName: Output<String>? = null, version: Output<String>? = null, workspaceName: Output<String>? = null)

Properties

Link copied to clipboard

Required Additional attributes of the entity.

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

Container name.

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

The name of the resource group. The name is case insensitive.

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

Version identifier.

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

Name of Azure Machine Learning workspace.

Functions

Link copied to clipboard
open override fun toJava(): ComponentVersionArgs