All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.delegatednetwork.OrchestratorInstanceServiceDetails Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.delegatednetwork;

import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.delegatednetwork.OrchestratorInstanceServiceDetailsArgs;
import com.pulumi.azurenative.delegatednetwork.outputs.ControllerDetailsResponse;
import com.pulumi.azurenative.delegatednetwork.outputs.OrchestratorIdentityResponse;
import com.pulumi.core.Alias;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * Represents an instance of a orchestrator.
 * Azure REST API version: 2021-03-15. Prior API version in Azure Native 1.x: 2021-03-15.
 * 
 * Other available API versions: 2023-05-18-preview, 2023-06-27-preview.
 * 
 * ## Example Usage
 * ### Create orchestrator instance
 * 
 * 
 * {@code
 * 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. * * ```sh * $ pulumi import azure-native:delegatednetwork:OrchestratorInstanceServiceDetails testk8s1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DelegatedNetwork/orchestrators/{resourceName} * ``` * */ @ResourceType(type="azure-native:delegatednetwork:OrchestratorInstanceServiceDetails") public class OrchestratorInstanceServiceDetails extends com.pulumi.resources.CustomResource { /** * K8s APIServer url. Either one of apiServerEndpoint or privateLinkResourceId can be specified * */ @Export(name="apiServerEndpoint", refs={String.class}, tree="[0]") private Output apiServerEndpoint; /** * @return K8s APIServer url. Either one of apiServerEndpoint or privateLinkResourceId can be specified * */ public Output> apiServerEndpoint() { return Codegen.optional(this.apiServerEndpoint); } /** * RootCA certificate of kubernetes cluster base64 encoded * */ @Export(name="clusterRootCA", refs={String.class}, tree="[0]") private Output clusterRootCA; /** * @return RootCA certificate of kubernetes cluster base64 encoded * */ public Output> clusterRootCA() { return Codegen.optional(this.clusterRootCA); } /** * Properties of the controller. * */ @Export(name="controllerDetails", refs={ControllerDetailsResponse.class}, tree="[0]") private Output controllerDetails; /** * @return Properties of the controller. * */ public Output controllerDetails() { return this.controllerDetails; } /** * The identity of the orchestrator * */ @Export(name="identity", refs={OrchestratorIdentityResponse.class}, tree="[0]") private Output identity; /** * @return The identity of the orchestrator * */ public Output> identity() { return Codegen.optional(this.identity); } /** * The kind of workbook. Choices are user and shared. * */ @Export(name="kind", refs={String.class}, tree="[0]") private Output kind; /** * @return The kind of workbook. Choices are user and shared. * */ public Output kind() { return this.kind; } /** * Location of the resource. * */ @Export(name="location", refs={String.class}, tree="[0]") private Output location; /** * @return Location of the resource. * */ public Output> location() { return Codegen.optional(this.location); } /** * The name of the resource. * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** * @return The name of the resource. * */ public Output name() { return this.name; } /** * AAD ID used with apiserver * */ @Export(name="orchestratorAppId", refs={String.class}, tree="[0]") private Output orchestratorAppId; /** * @return AAD ID used with apiserver * */ public Output> orchestratorAppId() { return Codegen.optional(this.orchestratorAppId); } /** * TenantID of server App ID * */ @Export(name="orchestratorTenantId", refs={String.class}, tree="[0]") private Output orchestratorTenantId; /** * @return TenantID of server App ID * */ public Output> orchestratorTenantId() { return Codegen.optional(this.orchestratorTenantId); } /** * private link arm resource id. Either one of apiServerEndpoint or privateLinkResourceId can be specified * */ @Export(name="privateLinkResourceId", refs={String.class}, tree="[0]") private Output privateLinkResourceId; /** * @return private link arm resource id. Either one of apiServerEndpoint or privateLinkResourceId can be specified * */ public Output> privateLinkResourceId() { return Codegen.optional(this.privateLinkResourceId); } /** * The current state of orchestratorInstance resource. * */ @Export(name="provisioningState", refs={String.class}, tree="[0]") private Output provisioningState; /** * @return The current state of orchestratorInstance resource. * */ public Output provisioningState() { return this.provisioningState; } /** * Resource guid. * */ @Export(name="resourceGuid", refs={String.class}, tree="[0]") private Output resourceGuid; /** * @return Resource guid. * */ public Output resourceGuid() { return this.resourceGuid; } /** * The resource tags. * */ @Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]") private Output> tags; /** * @return The resource tags. * */ public Output>> tags() { return Codegen.optional(this.tags); } /** * The type of resource. * */ @Export(name="type", refs={String.class}, tree="[0]") private Output type; /** * @return The type of resource. * */ public Output type() { return this.type; } /** * * @param name The _unique_ name of the resulting resource. */ public OrchestratorInstanceServiceDetails(java.lang.String name) { this(name, OrchestratorInstanceServiceDetailsArgs.Empty); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ public OrchestratorInstanceServiceDetails(java.lang.String name, OrchestratorInstanceServiceDetailsArgs args) { this(name, args, null); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. * @param options A bag of options that control this resource's behavior. */ public OrchestratorInstanceServiceDetails(java.lang.String name, OrchestratorInstanceServiceDetailsArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:delegatednetwork:OrchestratorInstanceServiceDetails", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); } private OrchestratorInstanceServiceDetails(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:delegatednetwork:OrchestratorInstanceServiceDetails", name, null, makeResourceOptions(options, id), false); } private static OrchestratorInstanceServiceDetailsArgs makeArgs(OrchestratorInstanceServiceDetailsArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { if (options != null && options.getUrn().isPresent()) { return null; } return args == null ? OrchestratorInstanceServiceDetailsArgs.Empty : args; } private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) .aliases(List.of( Output.of(Alias.builder().type("azure-native:delegatednetwork/v20200808preview:OrchestratorInstanceServiceDetails").build()), Output.of(Alias.builder().type("azure-native:delegatednetwork/v20210315:OrchestratorInstanceServiceDetails").build()), Output.of(Alias.builder().type("azure-native:delegatednetwork/v20230518preview:OrchestratorInstanceServiceDetails").build()), Output.of(Alias.builder().type("azure-native:delegatednetwork/v20230627preview:OrchestratorInstanceServiceDetails").build()) )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } /** * Get an existing Host resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param options Optional settings to control the behavior of the CustomResource. */ public static OrchestratorInstanceServiceDetails get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new OrchestratorInstanceServiceDetails(name, id, options); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy