Operationalization Cluster Args
data class OperationalizationClusterArgs(val appInsights: Output<AppInsightsPropertiesArgs>? = null, val clusterName: Output<String>? = null, val clusterType: Output<Either<String, ClusterType>>? = null, val containerRegistry: Output<ContainerRegistryPropertiesArgs>? = null, val containerService: Output<AcsClusterPropertiesArgs>? = null, val description: Output<String>? = null, val globalServiceConfiguration: Output<GlobalServiceConfigurationArgs>? = null, val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val storageAccount: Output<StorageAccountPropertiesArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<OperationalizationClusterArgs>
Instance of an Azure ML Operationalization Cluster resource. API Version: 2017-08-01-preview.
Example Usage
PUT Operationalization Cluster
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var operationalizationCluster = new AzureNative.MachineLearningCompute.OperationalizationCluster("operationalizationCluster", new()
{
ClusterName = "myCluster",
ClusterType = "ACS",
ContainerService = new AzureNative.MachineLearningCompute.Inputs.AcsClusterPropertiesArgs
{
OrchestratorProperties = new AzureNative.MachineLearningCompute.Inputs.KubernetesClusterPropertiesArgs
{
ServicePrincipal = new AzureNative.MachineLearningCompute.Inputs.ServicePrincipalPropertiesArgs
{
ClientId = "abcdefghijklmnopqrt",
Secret = "<secret>",
},
},
OrchestratorType = "Kubernetes",
},
Description = "My Operationalization Cluster",
GlobalServiceConfiguration = new AzureNative.MachineLearningCompute.Inputs.GlobalServiceConfigurationArgs
{
Ssl = new AzureNative.MachineLearningCompute.Inputs.SslConfigurationArgs
{
Cert = "afjdklq2131casfakld=",
Cname = "foo.bar.com",
Key = "flksdafkldsajf=",
Status = "Enabled",
},
},
Location = "West US",
ResourceGroupName = "myResourceGroup",
Tags =
{
{ "key1", "alpha" },
{ "key2", "beta" },
},
});
});
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.machinelearningcompute.OperationalizationCluster;
import com.pulumi.azurenative.machinelearningcompute.OperationalizationClusterArgs;
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 operationalizationCluster = new OperationalizationCluster("operationalizationCluster", OperationalizationClusterArgs.builder()
.clusterName("myCluster")
.clusterType("ACS")
.containerService(Map.ofEntries(
Map.entry("orchestratorProperties", Map.of("servicePrincipal", Map.ofEntries(
Map.entry("clientId", "abcdefghijklmnopqrt"),
Map.entry("secret", "<secret>")
))),
Map.entry("orchestratorType", "Kubernetes")
))
.description("My Operationalization Cluster")
.globalServiceConfiguration(Map.of("ssl", Map.ofEntries(
Map.entry("cert", "afjdklq2131casfakld="),
Map.entry("cname", "foo.bar.com"),
Map.entry("key", "flksdafkldsajf="),
Map.entry("status", "Enabled")
)))
.location("West US")
.resourceGroupName("myResourceGroup")
.tags(Map.ofEntries(
Map.entry("key1", "alpha"),
Map.entry("key2", "beta")
))
.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:machinelearningcompute:OperationalizationCluster MyCluster /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearningCompute/operationalizationClusters/MyCluster
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(appInsights: Output<AppInsightsPropertiesArgs>? = null, clusterName: Output<String>? = null, clusterType: Output<Either<String, ClusterType>>? = null, containerRegistry: Output<ContainerRegistryPropertiesArgs>? = null, containerService: Output<AcsClusterPropertiesArgs>? = null, description: Output<String>? = null, globalServiceConfiguration: Output<GlobalServiceConfigurationArgs>? = null, location: Output<String>? = null, resourceGroupName: Output<String>? = null, storageAccount: Output<StorageAccountPropertiesArgs>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
AppInsights configuration.
Link copied to clipboard
The name of the cluster.
Link copied to clipboard
The cluster type.
Link copied to clipboard
Container Registry properties.
Link copied to clipboard
Parameters for the Azure Container Service cluster.
Link copied to clipboard
The description of the cluster.
Link copied to clipboard
Contains global configuration for the web services in the cluster.
Link copied to clipboard
Name of the resource group in which the cluster is located.
Link copied to clipboard
Storage Account properties.