AKSServiceArgs

data class AKSServiceArgs(val aadAuthEnabled: Output<Boolean>? = null, val appInsightsEnabled: Output<Boolean>? = null, val authEnabled: Output<Boolean>? = null, val autoScaler: Output<AKSServiceCreateRequestAutoScalerArgs>? = null, val computeName: Output<String>? = null, val computeType: Output<String>? = null, val containerResourceRequirements: Output<ContainerResourceRequirementsArgs>? = null, val dataCollection: Output<AKSServiceCreateRequestDataCollectionArgs>? = 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 livenessProbeRequirements: Output<AKSServiceCreateRequestLivenessProbeRequirementsArgs>? = null, val location: Output<String>? = null, val maxConcurrentRequestsPerContainer: Output<Int>? = null, val maxQueueWaitMs: Output<Int>? = null, val namespace: Output<String>? = null, val numReplicas: Output<Int>? = null, val properties: Output<Map<String, String>>? = null, val resourceGroupName: Output<String>? = null, val scoringTimeoutMs: Output<Int>? = null, val serviceName: Output<String>? = null, val trafficPercentile: Output<Double>? = null, val type: Output<Either<String, VariantType>>? = null, val workspaceName: Output<String>? = null) : ConvertibleToJava<AKSServiceArgs>

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 aksService = new AzureNative.MachineLearningServices.AKSService("aksService", 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.NewAKSService(ctx, "aksService", &machinelearningservices.AKSServiceArgs{
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.AKSService;
import com.pulumi.azurenative.machinelearningservices.AKSServiceArgs;
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 aksService = new AKSService("aksService", AKSServiceArgs.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:AKSService service456 subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service456

Constructors

Link copied to clipboard
constructor(aadAuthEnabled: Output<Boolean>? = null, appInsightsEnabled: Output<Boolean>? = null, authEnabled: Output<Boolean>? = null, autoScaler: Output<AKSServiceCreateRequestAutoScalerArgs>? = null, computeName: Output<String>? = null, computeType: Output<String>? = null, containerResourceRequirements: Output<ContainerResourceRequirementsArgs>? = null, dataCollection: Output<AKSServiceCreateRequestDataCollectionArgs>? = null, description: Output<String>? = null, environmentImageRequest: Output<CreateServiceRequestEnvironmentImageRequestArgs>? = null, isDefault: Output<Boolean>? = null, keys: Output<CreateServiceRequestKeysArgs>? = null, kvTags: Output<Map<String, String>>? = null, livenessProbeRequirements: Output<AKSServiceCreateRequestLivenessProbeRequirementsArgs>? = null, location: Output<String>? = null, maxConcurrentRequestsPerContainer: Output<Int>? = null, maxQueueWaitMs: Output<Int>? = null, namespace: Output<String>? = null, numReplicas: Output<Int>? = null, properties: Output<Map<String, String>>? = null, resourceGroupName: Output<String>? = null, scoringTimeoutMs: Output<Int>? = 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 aadAuthEnabled: Output<Boolean>? = null

Whether or not AAD authentication is enabled.

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

Whether or not Application Insights is enabled.

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

Whether or not authentication is enabled.

Link copied to clipboard

The auto scaler properties.

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

The name of the compute resource.

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

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

Link copied to clipboard

The container resource requirements.

Link copied to clipboard

Details of the data collection options specified.

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

The liveness probe requirements.

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

The name of the Azure location/region.

Link copied to clipboard

The maximum number of concurrent requests per container.

Link copied to clipboard
val maxQueueWaitMs: Output<Int>? = null

Maximum time a request will wait in the queue (in milliseconds). After this time, the service will return 503 (Service Unavailable)

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

Kubernetes namespace for the service.

Link copied to clipboard
val numReplicas: Output<Int>? = null

The number of replicas on the cluster.

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 scoringTimeoutMs: Output<Int>? = null

The scoring timeout in milliseconds.

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(): AKSServiceArgs