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

com.pulumi.azurenative.azurestackhci.ArcSetting Maven / Gradle / Ivy

There is a newer version: 2.78.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.azurestackhci;

import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.azurestackhci.ArcSettingArgs;
import com.pulumi.azurenative.azurestackhci.outputs.ArcConnectivityPropertiesResponse;
import com.pulumi.azurenative.azurestackhci.outputs.DefaultExtensionDetailsResponse;
import com.pulumi.azurenative.azurestackhci.outputs.PerNodeStateResponse;
import com.pulumi.azurenative.azurestackhci.outputs.SystemDataResponse;
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.Optional;
import javax.annotation.Nullable;

/**
 * ArcSetting details.
 * Azure REST API version: 2023-03-01. Prior API version in Azure Native 1.x: 2021-01-01-preview.
 * 
 * Other available API versions: 2021-09-01-preview, 2022-12-15-preview, 2023-06-01, 2023-08-01, 2023-08-01-preview, 2023-11-01-preview, 2024-01-01, 2024-02-15-preview, 2024-04-01.
 * 
 * ## Example Usage
 * ### Create ArcSetting
 * 
 * 
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.azurestackhci.ArcSetting;
 * import com.pulumi.azurenative.azurestackhci.ArcSettingArgs;
 * 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 arcSetting = new ArcSetting("arcSetting", ArcSettingArgs.builder()
 *             .arcSettingName("default")
 *             .clusterName("myCluster")
 *             .resourceGroupName("test-rg")
 *             .build());
 * 
 *     }
 * }
 * 
 * }
 * 
* * ## Import * * An existing resource can be imported using its type token, name, and identifier, e.g. * * ```sh * $ pulumi import azure-native:azurestackhci:ArcSetting myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName} * ``` * */ @ResourceType(type="azure-native:azurestackhci:ArcSetting") public class ArcSetting extends com.pulumi.resources.CustomResource { /** * Aggregate state of Arc agent across the nodes in this HCI cluster. * */ @Export(name="aggregateState", refs={String.class}, tree="[0]") private Output aggregateState; /** * @return Aggregate state of Arc agent across the nodes in this HCI cluster. * */ public Output aggregateState() { return this.aggregateState; } /** * App id of arc AAD identity. * */ @Export(name="arcApplicationClientId", refs={String.class}, tree="[0]") private Output arcApplicationClientId; /** * @return App id of arc AAD identity. * */ public Output> arcApplicationClientId() { return Codegen.optional(this.arcApplicationClientId); } /** * Object id of arc AAD identity. * */ @Export(name="arcApplicationObjectId", refs={String.class}, tree="[0]") private Output arcApplicationObjectId; /** * @return Object id of arc AAD identity. * */ public Output> arcApplicationObjectId() { return Codegen.optional(this.arcApplicationObjectId); } /** * Tenant id of arc AAD identity. * */ @Export(name="arcApplicationTenantId", refs={String.class}, tree="[0]") private Output arcApplicationTenantId; /** * @return Tenant id of arc AAD identity. * */ public Output> arcApplicationTenantId() { return Codegen.optional(this.arcApplicationTenantId); } /** * The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources. * */ @Export(name="arcInstanceResourceGroup", refs={String.class}, tree="[0]") private Output arcInstanceResourceGroup; /** * @return The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources. * */ public Output> arcInstanceResourceGroup() { return Codegen.optional(this.arcInstanceResourceGroup); } /** * Object id of arc AAD service principal. * */ @Export(name="arcServicePrincipalObjectId", refs={String.class}, tree="[0]") private Output arcServicePrincipalObjectId; /** * @return Object id of arc AAD service principal. * */ public Output> arcServicePrincipalObjectId() { return Codegen.optional(this.arcServicePrincipalObjectId); } /** * contains connectivity related configuration for ARC resources * */ @Export(name="connectivityProperties", refs={List.class,ArcConnectivityPropertiesResponse.class}, tree="[0,1]") private Output> connectivityProperties; /** * @return contains connectivity related configuration for ARC resources * */ public Output>> connectivityProperties() { return Codegen.optional(this.connectivityProperties); } /** * Properties for each of the default extensions category * */ @Export(name="defaultExtensions", refs={List.class,DefaultExtensionDetailsResponse.class}, tree="[0,1]") private Output> defaultExtensions; /** * @return Properties for each of the default extensions category * */ public Output> defaultExtensions() { return this.defaultExtensions; } /** * 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; } /** * State of Arc agent in each of the nodes. * */ @Export(name="perNodeDetails", refs={List.class,PerNodeStateResponse.class}, tree="[0,1]") private Output> perNodeDetails; /** * @return State of Arc agent in each of the nodes. * */ public Output> perNodeDetails() { return this.perNodeDetails; } /** * Provisioning state of the ArcSetting proxy resource. * */ @Export(name="provisioningState", refs={String.class}, tree="[0]") private Output provisioningState; /** * @return Provisioning state of the ArcSetting proxy resource. * */ public Output provisioningState() { return this.provisioningState; } /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. * */ @Export(name="systemData", refs={SystemDataResponse.class}, tree="[0]") private Output systemData; /** * @return Azure Resource Manager metadata containing createdBy and modifiedBy information. * */ public Output systemData() { return this.systemData; } /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" * */ @Export(name="type", refs={String.class}, tree="[0]") private Output type; /** * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" * */ public Output type() { return this.type; } /** * * @param name The _unique_ name of the resulting resource. */ public ArcSetting(java.lang.String name) { this(name, ArcSettingArgs.Empty); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ public ArcSetting(java.lang.String name, ArcSettingArgs 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 ArcSetting(java.lang.String name, ArcSettingArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:azurestackhci:ArcSetting", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); } private ArcSetting(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:azurestackhci:ArcSetting", name, null, makeResourceOptions(options, id), false); } private static ArcSettingArgs makeArgs(ArcSettingArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { if (options != null && options.getUrn().isPresent()) { return null; } return args == null ? ArcSettingArgs.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:azurestackhci/v20210101preview:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20210901:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20210901preview:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20220101:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20220301:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20220501:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20220901:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20221001:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20221201:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20221215preview:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20230201:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20230301:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20230601:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20230801:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20230801preview:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20231101preview:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20240101:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20240215preview:ArcSetting").build()), Output.of(Alias.builder().type("azure-native:azurestackhci/v20240401:ArcSetting").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 ArcSetting get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new ArcSetting(name, id, options); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy