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

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

There is a newer version: 2.82.0
Show newest version
// *** 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.ControllerDetailsArgs;
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 DNC controller.
 * 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 controller
 * 
 * 
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.delegatednetwork.ControllerDetails;
 * import com.pulumi.azurenative.delegatednetwork.ControllerDetailsArgs;
 * 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 controllerDetails = new ControllerDetails("controllerDetails", ControllerDetailsArgs.builder()
 *             .location("West US")
 *             .resourceGroupName("TestRG")
 *             .resourceName("testcontroller")
 *             .build());
 * 
 *     }
 * }
 * 
 * }
 * 
* * ## Import * * An existing resource can be imported using its type token, name, and identifier, e.g. * * ```sh * $ pulumi import azure-native:delegatednetwork:ControllerDetails testcontroller /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DelegatedNetwork/controller/{resourceName} * ``` * */ @ResourceType(type="azure-native:delegatednetwork:ControllerDetails") public class ControllerDetails extends com.pulumi.resources.CustomResource { /** * dnc application id should be used by customer to authenticate with dnc gateway. * */ @Export(name="dncAppId", refs={String.class}, tree="[0]") private Output dncAppId; /** * @return dnc application id should be used by customer to authenticate with dnc gateway. * */ public Output dncAppId() { return this.dncAppId; } /** * dnc endpoint url that customers can use to connect to * */ @Export(name="dncEndpoint", refs={String.class}, tree="[0]") private Output dncEndpoint; /** * @return dnc endpoint url that customers can use to connect to * */ public Output dncEndpoint() { return this.dncEndpoint; } /** * tenant id of dnc application id * */ @Export(name="dncTenantId", refs={String.class}, tree="[0]") private Output dncTenantId; /** * @return tenant id of dnc application id * */ public Output dncTenantId() { return this.dncTenantId; } /** * 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; } /** * The current state of dnc controller resource. * */ @Export(name="provisioningState", refs={String.class}, tree="[0]") private Output provisioningState; /** * @return The current state of dnc controller 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 ControllerDetails(java.lang.String name) { this(name, ControllerDetailsArgs.Empty); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ public ControllerDetails(java.lang.String name, ControllerDetailsArgs 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 ControllerDetails(java.lang.String name, ControllerDetailsArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:delegatednetwork:ControllerDetails", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); } private ControllerDetails(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:delegatednetwork:ControllerDetails", name, null, makeResourceOptions(options, id), false); } private static ControllerDetailsArgs makeArgs(ControllerDetailsArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { if (options != null && options.getUrn().isPresent()) { return null; } return args == null ? ControllerDetailsArgs.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:ControllerDetails").build()), Output.of(Alias.builder().type("azure-native:delegatednetwork/v20210315:ControllerDetails").build()), Output.of(Alias.builder().type("azure-native:delegatednetwork/v20230518preview:ControllerDetails").build()), Output.of(Alias.builder().type("azure-native:delegatednetwork/v20230627preview:ControllerDetails").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 ControllerDetails get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new ControllerDetails(name, id, options); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy