Endpoint Variant Args
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",
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
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
The compute environment type for the service. Expected value is 'Custom'.
Link copied to clipboard
The description of the service.
Link copied to clipboard
The Environment, models and assets needed for inferencing.
Link copied to clipboard
The authentication keys.
Link copied to clipboard
The service properties dictionary. Properties are immutable.
Link copied to clipboard
Name of the resource group in which workspace is located.
Link copied to clipboard
Name of the Azure Machine Learning service.
Link copied to clipboard
The amount of traffic variant receives.
Link copied to clipboard
The type of the variant.
Link copied to clipboard
Name of Azure Machine Learning workspace.