Orchestrator Instance Service Details
Represents an instance of a orchestrator. Uses Azure REST API version 2021-03-15. In version 1.x of the Azure Native provider, it used API version 2021-03-15. Other available API versions: 2023-05-18-preview, 2023-06-27-preview.
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 = AzureNative.DelegatedNetwork.OrchestratorKind.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/v2"
"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(delegatednetwork.OrchestratorKindKubernetes),
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 com.pulumi.azurenative.delegatednetwork.inputs.ControllerDetailsArgs;
import com.pulumi.azurenative.delegatednetwork.inputs.OrchestratorIdentityArgs;
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(ControllerDetailsArgs.builder()
.id("/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/testcontroller")
.build())
.identity(OrchestratorIdentityArgs.builder()
.type("SystemAssigned")
.build())
.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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DelegatedNetwork/orchestrators/{resourceName}
Content copied to clipboard
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
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 current state of orchestratorInstance resource.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Resource guid.