RegistryComponentVersionArgs

data class RegistryComponentVersionArgs(val componentName: Output<String>? = null, val componentVersionProperties: Output<ComponentVersionArgs>? = null, val registryName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val version: Output<String>? = null) : ConvertibleToJava<RegistryComponentVersionArgs>

Azure Resource Manager resource envelope. Uses Azure REST API version 2024-10-01. In version 2.x of the Azure Native provider, it used API version 2023-04-01. Other available API versions: 2022-10-01-preview, 2022-12-01-preview, 2023-02-01-preview, 2023-04-01, 2023-04-01-preview, 2023-06-01-preview, 2023-08-01-preview, 2023-10-01, 2024-01-01-preview, 2024-04-01, 2024-07-01-preview, 2024-10-01-preview, 2025-01-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native machinelearningservices [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

CreateOrUpdate Registry Component Version.

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var registryComponentVersion = new AzureNative.MachineLearningServices.RegistryComponentVersion("registryComponentVersion", new()
{
ComponentName = "string",
ComponentVersionProperties = new AzureNative.MachineLearningServices.Inputs.ComponentVersionArgs
{
ComponentSpec = new Dictionary<string, object?>
{
["8ced901b-d826-477d-bfef-329da9672513"] = null,
},
Description = "string",
IsAnonymous = false,
Properties =
{
{ "string", "string" },
},
Tags =
{
{ "string", "string" },
},
},
RegistryName = "my-aml-registry",
ResourceGroupName = "test-rg",
Version = "string",
});
});
package main
import (
machinelearningservices "github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := machinelearningservices.NewRegistryComponentVersion(ctx, "registryComponentVersion", &machinelearningservices.RegistryComponentVersionArgs{
ComponentName: pulumi.String("string"),
ComponentVersionProperties: &machinelearningservices.ComponentVersionTypeArgs{
ComponentSpec: pulumi.Any(map[string]interface{}{
"8ced901b-d826-477d-bfef-329da9672513": nil,
}),
Description: pulumi.String("string"),
IsAnonymous: pulumi.Bool(false),
Properties: pulumi.StringMap{
"string": pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
RegistryName: pulumi.String("my-aml-registry"),
ResourceGroupName: pulumi.String("test-rg"),
Version: pulumi.String("string"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.machinelearningservices.RegistryComponentVersion;
import com.pulumi.azurenative.machinelearningservices.RegistryComponentVersionArgs;
import com.pulumi.azurenative.machinelearningservices.inputs.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 registryComponentVersion = new RegistryComponentVersion("registryComponentVersion", RegistryComponentVersionArgs.builder()
.componentName("string")
.componentVersionProperties(ComponentVersionArgs.builder()
.componentSpec(Map.of("8ced901b-d826-477d-bfef-329da9672513", null))
.description("string")
.isAnonymous(false)
.properties(Map.of("string", "string"))
.tags(Map.of("string", "string"))
.build())
.registryName("my-aml-registry")
.resourceGroupName("test-rg")
.version("string")
.build());
}
}

Import

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

$ pulumi import azure-native:machinelearningservices:RegistryComponentVersion string /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}

Constructors

Link copied to clipboard
constructor(componentName: Output<String>? = null, componentVersionProperties: Output<ComponentVersionArgs>? = null, registryName: Output<String>? = null, resourceGroupName: Output<String>? = null, version: Output<String>? = null)

Properties

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

Container name.

Link copied to clipboard

Required Additional attributes of the entity.

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

Name of Azure Machine Learning registry. This is case-insensitive

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.

Functions

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