AKSService Args
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",
});
});
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.NewAKSService(ctx, "aksService", &machinelearningservices.AKSServiceArgs{
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.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());
}
}
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:AKSService 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
fun AKSServiceArgs(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)
Functions
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard