OrchestratorInstanceServiceDetailsArgs

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. 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/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
})
}
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}

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
val apiServerEndpoint: Output<String>? = null

K8s APIServer url. Either one of apiServerEndpoint or privateLinkResourceId can be specified

Link copied to clipboard
val clusterRootCA: Output<String>? = null

RootCA certificate of kubernetes cluster base64 encoded

Link copied to clipboard

Properties of the controller.

Link copied to clipboard
val identity: Output<OrchestratorIdentityArgs>? = null

The identity of the orchestrator

Link copied to clipboard
val kind: Output<Either<String, OrchestratorKind>>? = null

The kind of workbook. Choices are user and shared.

Link copied to clipboard
val location: Output<String>? = null

Location of the resource.

Link copied to clipboard
val orchestratorAppId: Output<String>? = null

AAD ID used with apiserver

Link copied to clipboard
val orchestratorTenantId: Output<String>? = null

TenantID of server App ID

Link copied to clipboard
val privateLinkResourceId: Output<String>? = null

private link arm resource id. Either one of apiServerEndpoint or privateLinkResourceId can be specified

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val resourceName: Output<String>? = null

The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

The resource tags.

Functions

Link copied to clipboard
open override fun toJava(): OrchestratorInstanceServiceDetailsArgs