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

com.pulumi.ise.identitymanagement.ActiveDirectoryAddGroups Maven / Gradle / Ivy

Go to download

A Pulumi package for managing resources on a Cisco ISE (Identity Service Engine) instance.

There is a newer version: 0.2.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.ise.identitymanagement;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import com.pulumi.ise.Utilities;
import com.pulumi.ise.identitymanagement.ActiveDirectoryAddGroupsArgs;
import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryAddGroupsState;
import com.pulumi.ise.identitymanagement.outputs.ActiveDirectoryAddGroupsGroup;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * This resource can manage an Active Directory Add Groups.
 * 
 * ## Example Usage
 * 
 * <!--Start PulumiCodeChooser -->
 * 
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.ise.identitymanagement.ActiveDirectoryAddGroups;
 * import com.pulumi.ise.identitymanagement.ActiveDirectoryAddGroupsArgs;
 * import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryAddGroupsGroupArgs;
 * 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 example = new ActiveDirectoryAddGroups("example", ActiveDirectoryAddGroupsArgs.builder()
 *             .joinPointId("73808580-b6e6-11ee-8960-de6d7692bc40")
 *             .name("cisco.local")
 *             .description("My AD join point")
 *             .domain("cisco.local")
 *             .adScopesNames("Default_Scope")
 *             .enableDomainAllowedList(true)
 *             .groups(ActiveDirectoryAddGroupsGroupArgs.builder()
 *                 .name("cisco.local/operators")
 *                 .sid("S-1-5-32-548")
 *                 .type("GLOBAL")
 *                 .build())
 *             .build());
 * 
 *     }
 * }
 * }
 * 
* <!--End PulumiCodeChooser --> * */ @ResourceType(type="ise:identitymanagement/activeDirectoryAddGroups:ActiveDirectoryAddGroups") public class ActiveDirectoryAddGroups extends com.pulumi.resources.CustomResource { /** * String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default * value: `Default_Scope` * */ @Export(name="adScopesNames", refs={String.class}, tree="[0]") private Output adScopesNames; /** * @return String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default * value: `Default_Scope` * */ public Output adScopesNames() { return this.adScopesNames; } /** * Join point Description * */ @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** * @return Join point Description * */ public Output> description() { return Codegen.optional(this.description); } /** * AD domain associated with the join point * */ @Export(name="domain", refs={String.class}, tree="[0]") private Output domain; /** * @return AD domain associated with the join point * */ public Output domain() { return this.domain; } /** * - Default value: `true` * */ @Export(name="enableDomainAllowedList", refs={Boolean.class}, tree="[0]") private Output enableDomainAllowedList; /** * @return - Default value: `true` * */ public Output enableDomainAllowedList() { return this.enableDomainAllowedList; } /** * List of AD Groups * */ @Export(name="groups", refs={List.class,ActiveDirectoryAddGroupsGroup.class}, tree="[0,1]") private Output> groups; /** * @return List of AD Groups * */ public Output>> groups() { return Codegen.optional(this.groups); } /** * Active Directory Join Point ID * */ @Export(name="joinPointId", refs={String.class}, tree="[0]") private Output joinPointId; /** * @return Active Directory Join Point ID * */ public Output joinPointId() { return this.joinPointId; } /** * The name of the active directory join point * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** * @return The name of the active directory join point * */ public Output name() { return this.name; } /** * * @param name The _unique_ name of the resulting resource. */ public ActiveDirectoryAddGroups(java.lang.String name) { this(name, ActiveDirectoryAddGroupsArgs.Empty); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ public ActiveDirectoryAddGroups(java.lang.String name, ActiveDirectoryAddGroupsArgs 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 ActiveDirectoryAddGroups(java.lang.String name, ActiveDirectoryAddGroupsArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("ise:identitymanagement/activeDirectoryAddGroups:ActiveDirectoryAddGroups", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); } private ActiveDirectoryAddGroups(java.lang.String name, Output id, @Nullable ActiveDirectoryAddGroupsState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("ise:identitymanagement/activeDirectoryAddGroups:ActiveDirectoryAddGroups", name, state, makeResourceOptions(options, id), false); } private static ActiveDirectoryAddGroupsArgs makeArgs(ActiveDirectoryAddGroupsArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { if (options != null && options.getUrn().isPresent()) { return null; } return args == null ? ActiveDirectoryAddGroupsArgs.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()) .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 state * @param options Optional settings to control the behavior of the CustomResource. */ public static ActiveDirectoryAddGroups get(java.lang.String name, Output id, @Nullable ActiveDirectoryAddGroupsState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new ActiveDirectoryAddGroups(name, id, state, options); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy