Orchestrator Instance Service Details
Represents an instance of a orchestrator. Uses Azure REST API version 2023-06-27-preview. In version 2.x of the Azure Native provider, it used API version 2021-03-15. Other available API versions: 2021-03-15, 2023-05-18-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native delegatednetwork [ApiVersion]
. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.
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",
});
});
package main
import (
delegatednetwork "github.com/pulumi/pulumi-azure-native-sdk/delegatednetwork/v3"
"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
})
}
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());
}
}
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}
Properties
K8s APIServer url. Either one of apiServerEndpoint or privateLinkResourceId can be specified
The Azure API version of the resource.
RootCA certificate of kubernetes cluster base64 encoded
Properties of the controller.
The identity of the orchestrator
AAD ID used with apiserver
TenantID of server App ID
private link arm resource id. Either one of apiServerEndpoint or privateLinkResourceId can be specified
The current state of orchestratorInstance resource.
Resource guid.