Orchestrator Instance Service Details Args
data class OrchestratorInstanceServiceDetailsArgs(val apiServerEndpoint: Output<String>? = null, val clusterRootCA: Output<String>? = null, val controllerDetails: Output<ControllerDetailsArgs>? = null, val identity: Output<OrchestratorIdentityArgs>? = null, val kind: Output<Either<String, OrchestratorKind>>? = null, val location: Output<String>? = null, val orchestratorAppId: Output<String>? = null, val orchestratorTenantId: Output<String>? = null, val privateLinkResourceId: Output<String>? = null, val resourceGroupName: Output<String>? = null, val resourceName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<OrchestratorInstanceServiceDetailsArgs>
Represents an instance of a orchestrator. API Version: 2021-03-15.
Example Usage
Create orchestrator instance
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var orchestratorInstanceServiceDetails = new AzureNative.DelegatedNetwork.OrchestratorInstanceServiceDetails("orchestratorInstanceServiceDetails", new()
{
ApiServerEndpoint = "https://testk8s.cloudapp.net",
ClusterRootCA = "ddsadsad344mfdsfdl",
ControllerDetails = new AzureNative.DelegatedNetwork.Inputs.ControllerDetailsArgs
{
Id = "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/testcontroller",
},
Identity = new AzureNative.DelegatedNetwork.Inputs.OrchestratorIdentityArgs
{
Type = AzureNative.DelegatedNetwork.ResourceIdentityType.SystemAssigned,
},
Kind = "Kubernetes",
Location = "West US",
OrchestratorAppId = "546192d7-503f-477a-9cfe-4efc3ee2b6e1",
OrchestratorTenantId = "da6192d7-503f-477a-9cfe-4efc3ee2b6c3",
PrivateLinkResourceId = "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/privateLinkServices/plresource1",
ResourceGroupName = "TestRG",
ResourceName = "testk8s1",
});
});
Content copied to clipboard
package main
import (
delegatednetwork "github.com/pulumi/pulumi-azure-native-sdk/delegatednetwork"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := delegatednetwork.NewOrchestratorInstanceServiceDetails(ctx, "orchestratorInstanceServiceDetails", &delegatednetwork.OrchestratorInstanceServiceDetailsArgs{
ApiServerEndpoint: pulumi.String("https://testk8s.cloudapp.net"),
ClusterRootCA: pulumi.String("ddsadsad344mfdsfdl"),
ControllerDetails: &delegatednetwork.ControllerDetailsTypeArgs{
Id: pulumi.String("/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/testcontroller"),
},
Identity: &delegatednetwork.OrchestratorIdentityArgs{
Type: delegatednetwork.ResourceIdentityTypeSystemAssigned,
},
Kind: pulumi.String("Kubernetes"),
Location: pulumi.String("West US"),
OrchestratorAppId: pulumi.String("546192d7-503f-477a-9cfe-4efc3ee2b6e1"),
OrchestratorTenantId: pulumi.String("da6192d7-503f-477a-9cfe-4efc3ee2b6c3"),
PrivateLinkResourceId: pulumi.String("/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/privateLinkServices/plresource1"),
ResourceGroupName: pulumi.String("TestRG"),
ResourceName: pulumi.String("testk8s1"),
})
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.delegatednetwork.OrchestratorInstanceServiceDetails;
import com.pulumi.azurenative.delegatednetwork.OrchestratorInstanceServiceDetailsArgs;
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 orchestratorInstanceServiceDetails = new OrchestratorInstanceServiceDetails("orchestratorInstanceServiceDetails", OrchestratorInstanceServiceDetailsArgs.builder()
.apiServerEndpoint("https://testk8s.cloudapp.net")
.clusterRootCA("ddsadsad344mfdsfdl")
.controllerDetails(Map.of("id", "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/testcontroller"))
.identity(Map.of("type", "SystemAssigned"))
.kind("Kubernetes")
.location("West US")
.orchestratorAppId("546192d7-503f-477a-9cfe-4efc3ee2b6e1")
.orchestratorTenantId("da6192d7-503f-477a-9cfe-4efc3ee2b6c3")
.privateLinkResourceId("/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/privateLinkServices/plresource1")
.resourceGroupName("TestRG")
.resourceName("testk8s1")
.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:delegatednetwork:OrchestratorInstanceServiceDetails testk8s1 /subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/orchestrators/testk8s1
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(apiServerEndpoint: Output<String>? = null, clusterRootCA: Output<String>? = null, controllerDetails: Output<ControllerDetailsArgs>? = null, identity: Output<OrchestratorIdentityArgs>? = null, kind: Output<Either<String, OrchestratorKind>>? = null, location: Output<String>? = null, orchestratorAppId: Output<String>? = null, orchestratorTenantId: Output<String>? = null, privateLinkResourceId: Output<String>? = null, resourceGroupName: Output<String>? = null, resourceName: Output<String>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
K8s APIServer url. Either one of apiServerEndpoint or privateLinkResourceId can be specified
Link copied to clipboard
RootCA certificate of kubernetes cluster base64 encoded
Link copied to clipboard
Properties of the controller.
Link copied to clipboard
The identity of the orchestrator
Link copied to clipboard
The kind of workbook. Choices are user and shared.
Link copied to clipboard
AAD ID used with apiserver
Link copied to clipboard
TenantID of server App ID
Link copied to clipboard
private link arm resource id. Either one of apiServerEndpoint or privateLinkResourceId can be specified
Link copied to clipboard
The name of the resource group. The name is case insensitive.
Link copied to clipboard
The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.