Operationalization Cluster
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
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