EndpointVariantArgs

data class EndpointVariantArgs(val computeType: Output<String>? = null, val description: Output<String>? = null, val environmentImageRequest: Output<CreateServiceRequestEnvironmentImageRequestArgs>? = null, val isDefault: Output<Boolean>? = null, val keys: Output<CreateServiceRequestKeysArgs>? = null, val kvTags: Output<Map<String, String>>? = null, val location: Output<String>? = null, val properties: Output<Map<String, String>>? = null, val resourceGroupName: Output<String>? = null, val serviceName: Output<String>? = null, val trafficPercentile: Output<Double>? = null, val type: Output<Either<String, VariantType>>? = null, val workspaceName: Output<String>? = null) : ConvertibleToJava<EndpointVariantArgs>

Machine Learning service object wrapped into ARM resource envelope. API Version: 2021-01-01.

Example Usage

Create Or Update service

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var endpointVariant = new AzureNative.MachineLearningServices.EndpointVariant("endpointVariant", new()
{
ResourceGroupName = "testrg123",
ServiceName = "service456",
WorkspaceName = "workspaces123",
});
});
package main
import (
machinelearningservices "github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := machinelearningservices.NewEndpointVariant(ctx, "endpointVariant", &machinelearningservices.EndpointVariantArgs{
ResourceGroupName: pulumi.String("testrg123"),
ServiceName: pulumi.String("service456"),
WorkspaceName: pulumi.String("workspaces123"),
})
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.EndpointVariant;
import com.pulumi.azurenative.machinelearningservices.EndpointVariantArgs;
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 endpointVariant = new EndpointVariant("endpointVariant", EndpointVariantArgs.builder()
.resourceGroupName("testrg123")
.serviceName("service456")
.workspaceName("workspaces123")
.build());
}
}

Import

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

$ pulumi import azure-native:machinelearningservices:EndpointVariant service456 subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service456

Constructors

Link copied to clipboard
constructor(computeType: Output<String>? = null, description: Output<String>? = null, environmentImageRequest: Output<CreateServiceRequestEnvironmentImageRequestArgs>? = null, isDefault: Output<Boolean>? = null, keys: Output<CreateServiceRequestKeysArgs>? = null, kvTags: Output<Map<String, String>>? = null, location: Output<String>? = null, properties: Output<Map<String, String>>? = null, resourceGroupName: Output<String>? = null, serviceName: Output<String>? = null, trafficPercentile: Output<Double>? = null, type: Output<Either<String, VariantType>>? = null, workspaceName: Output<String>? = null)

Properties

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

The compute environment type for the service. Expected value is 'Custom'.

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

The description of the service.

Link copied to clipboard

The Environment, models and assets needed for inferencing.

Link copied to clipboard
val isDefault: Output<Boolean>? = null

Is this the default variant.

Link copied to clipboard
val keys: Output<CreateServiceRequestKeysArgs>? = null

The authentication keys.

Link copied to clipboard
val kvTags: Output<Map<String, String>>? = null

The service tag dictionary. Tags are mutable.

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

The name of the Azure location/region.

Link copied to clipboard
val properties: Output<Map<String, String>>? = null

The service properties dictionary. Properties are immutable.

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

Name of the resource group in which workspace is located.

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

Name of the Azure Machine Learning service.

Link copied to clipboard
val trafficPercentile: Output<Double>? = null

The amount of traffic variant receives.

Link copied to clipboard
val type: Output<Either<String, VariantType>>? = null

The type of the variant.

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

Name of Azure Machine Learning workspace.

Functions

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