diff --git a/sdk/java/README.md b/sdk/java/README.md new file mode 100644 index 0000000..c037487 --- /dev/null +++ b/sdk/java/README.md @@ -0,0 +1 @@ +A Pulumi package for managing resources on a Cisco ISE (Identity Service Engine) instance. diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle new file mode 100644 index 0000000..6808b74 --- /dev/null +++ b/sdk/java/build.gradle @@ -0,0 +1,153 @@ +// *** WARNING: this file was generated by pulumi-java-gen *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +plugins { + id("signing") + id("java-library") + id("maven-publish") + id("io.github.gradle-nexus.publish-plugin") version "1.1.0" +} + +group = "com.pulumi" + +def resolvedVersion = System.getenv("PACKAGE_VERSION") ?: + (project.version == "unspecified" + ? "0.0.1" + : project.version) + +def signingKey = System.getenv("SIGNING_KEY") +def signingPassword = System.getenv("SIGNING_PASSWORD") +def publishRepoURL = System.getenv("PUBLISH_REPO_URL") ?: "https://s01.oss.sonatype.org" +def publishRepoUsername = System.getenv("PUBLISH_REPO_USERNAME") +def publishRepoPassword = System.getenv("PUBLISH_REPO_PASSWORD") + +java { + toolchain { + languageVersion = JavaLanguageVersion.of(11) + } +} + +compileJava { + options.fork = true + options.forkOptions.jvmArgs.addAll(["-Xmx16g"]) + options.encoding = "UTF-8" +} + +repositories { + mavenLocal() + maven { // The google mirror is less flaky than mavenCentral() + url("https://maven-central.storage-download.googleapis.com/maven2/") + } + mavenCentral() +} + +dependencies { + implementation("com.google.code.findbugs:jsr305:3.0.2") + implementation("com.google.code.gson:gson:2.8.9") + implementation("com.pulumi:pulumi:0.10.0") +} + +task sourcesJar(type: Jar) { + from sourceSets.main.allJava + archiveClassifier.set('sources') +} + +task javadocJar(type: Jar) { + from javadoc + archiveClassifier.set('javadoc') + zip64 = true +} + +def genPulumiResources = tasks.register('genPulumiResources') { + doLast { + def resourcesDir = sourceSets.main.output.resourcesDir + def subDir = project.name.replace(".", "/") + def outDir = file("$resourcesDir/$subDir") + outDir.mkdirs() + new File(outDir, "version.txt").text = resolvedVersion + def info = new Object() + info.metaClass.resource = true + info.metaClass.name = "ise" + info.metaClass.version = resolvedVersion + def infoJson = new groovy.json.JsonBuilder(info).toPrettyString() + new File(outDir, "plugin.json").text = infoJson + } +} + +jar.configure { + dependsOn genPulumiResources +} + +publishing { + publications { + mainPublication(MavenPublication) { + groupId = "com.pulumi" + artifactId = "ise" + version = resolvedVersion + from components.java + artifact sourcesJar + artifact javadocJar + + pom { + inceptionYear = "" + name = "" + packaging = "jar" + description = "A Pulumi package for managing resources on a Cisco ISE (Identity Service Engine) instance." + + url = "https://github.com/pulumi/pulumi-ise" + + scm { + connection = "git@github.com/pulumi/pulumi-ise.git" + developerConnection = "git@github.com/pulumi/pulumi-ise.git" + url = "https://github.com/pulumi/pulumi-ise" + } + + licenses { + license { + name = "The Apache License, Version 2.0" + url = "http://www.apache.org/licenses/LICENSE-2.0.txt" + } + } + + developers { + developer { + id = "" + name = "" + email = "" + } + } + } + } + } +} + +javadoc { + if (JavaVersion.current().isJava9Compatible()) { + options.addBooleanOption('html5', true) + } + options.jFlags("-Xmx8g", "-Xms512m") +} + +jar { + zip64 = true +} + +if (publishRepoUsername) { + nexusPublishing { + repositories { + sonatype { + nexusUrl.set(uri(publishRepoURL + "/service/local/")) + snapshotRepositoryUrl.set(uri(publishRepoURL + "/content/repositories/snapshots/")) + username = publishRepoUsername + password = publishRepoPassword + } + } + } +} + +if (signingKey) { + signing { + useInMemoryPgpKeys(signingKey, signingPassword) + sign publishing.publications.mainPublication + } +} \ No newline at end of file diff --git a/sdk/java/go.mod b/sdk/java/go.mod new file mode 100644 index 0000000..0a94ccb --- /dev/null +++ b/sdk/java/go.mod @@ -0,0 +1,3 @@ +module fake_java_module // Exclude this directory from Go tools + +go 1.17 diff --git a/sdk/java/settings.gradle b/sdk/java/settings.gradle new file mode 100644 index 0000000..a714e18 --- /dev/null +++ b/sdk/java/settings.gradle @@ -0,0 +1,14 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +pluginManagement { + repositories { + maven { // The google mirror is less flaky than mavenCentral() + url("https://maven-central.storage-download.googleapis.com/maven2/") + } + gradlePluginPortal() + } +} + +rootProject.name = "com.pulumi.ise" +include("lib") diff --git a/sdk/java/src/main/java/com/pulumi/ise/Config.java b/sdk/java/src/main/java/com/pulumi/ise/Config.java new file mode 100644 index 0000000..eac4f84 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/Config.java @@ -0,0 +1,50 @@ +// *** 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; + +import com.pulumi.core.internal.Codegen; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Optional; + +public final class Config { + + private static final com.pulumi.Config config = com.pulumi.Config.of("ise"); +/** + * Allow insecure HTTPS client. This can also be set as the ISE_INSECURE environment variable. Defaults to `true`. + * + */ + public Optional insecure() { + return Codegen.booleanProp("insecure").config(config).get(); + } +/** + * Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable. + * + */ + public Optional password() { + return Codegen.stringProp("password").config(config).get(); + } +/** + * Number of retries for REST API calls. This can also be set as the ISE_RETRIES environment variable. Defaults to `3`. + * + */ + public Optional retries() { + return Codegen.integerProp("retries").config(config).get(); + } +/** + * URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable. + * + */ + public Optional url() { + return Codegen.stringProp("url").config(config).get(); + } +/** + * Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable. + * + */ + public Optional username() { + return Codegen.stringProp("username").config(config).get(); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/Provider.java b/sdk/java/src/main/java/com/pulumi/ise/Provider.java new file mode 100644 index 0000000..6393644 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/Provider.java @@ -0,0 +1,104 @@ +// *** 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; + +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.ProviderArgs; +import com.pulumi.ise.Utilities; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * The provider type for the ise package. By default, resources use package-wide configuration + * settings, however an explicit `Provider` instance may be created and passed during resource + * construction to achieve fine-grained programmatic control over provider settings. See the + * [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information. + * + */ +@ResourceType(type="pulumi:providers:ise") +public class Provider extends com.pulumi.resources.ProviderResource { + /** + * Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable. + * + */ + @Export(name="password", refs={String.class}, tree="[0]") + private Output password; + + /** + * @return Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable. + * + */ + public Output> password() { + return Codegen.optional(this.password); + } + /** + * URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable. + * + */ + @Export(name="url", refs={String.class}, tree="[0]") + private Output url; + + /** + * @return URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable. + * + */ + public Output> url() { + return Codegen.optional(this.url); + } + /** + * Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable. + * + */ + @Export(name="username", refs={String.class}, tree="[0]") + private Output username; + + /** + * @return Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable. + * + */ + public Output> username() { + return Codegen.optional(this.username); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public Provider(String name) { + this(name, ProviderArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public Provider(String name, @Nullable ProviderArgs 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 Provider(String name, @Nullable ProviderArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise", name, args == null ? ProviderArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + 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()) + .additionalSecretOutputs(List.of( + "password" + )) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/ProviderArgs.java b/sdk/java/src/main/java/com/pulumi/ise/ProviderArgs.java new file mode 100644 index 0000000..e89eb58 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/ProviderArgs.java @@ -0,0 +1,233 @@ +// *** 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; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ProviderArgs extends com.pulumi.resources.ResourceArgs { + + public static final ProviderArgs Empty = new ProviderArgs(); + + /** + * Allow insecure HTTPS client. This can also be set as the ISE_INSECURE environment variable. Defaults to `true`. + * + */ + @Import(name="insecure", json=true) + private @Nullable Output insecure; + + /** + * @return Allow insecure HTTPS client. This can also be set as the ISE_INSECURE environment variable. Defaults to `true`. + * + */ + public Optional> insecure() { + return Optional.ofNullable(this.insecure); + } + + /** + * Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable. + * + */ + @Import(name="password") + private @Nullable Output password; + + /** + * @return Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable. + * + */ + public Optional> password() { + return Optional.ofNullable(this.password); + } + + /** + * Number of retries for REST API calls. This can also be set as the ISE_RETRIES environment variable. Defaults to `3`. + * + */ + @Import(name="retries", json=true) + private @Nullable Output retries; + + /** + * @return Number of retries for REST API calls. This can also be set as the ISE_RETRIES environment variable. Defaults to `3`. + * + */ + public Optional> retries() { + return Optional.ofNullable(this.retries); + } + + /** + * URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable. + * + */ + @Import(name="url") + private @Nullable Output url; + + /** + * @return URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable. + * + */ + public Optional> url() { + return Optional.ofNullable(this.url); + } + + /** + * Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable. + * + */ + @Import(name="username") + private @Nullable Output username; + + /** + * @return Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable. + * + */ + public Optional> username() { + return Optional.ofNullable(this.username); + } + + private ProviderArgs() {} + + private ProviderArgs(ProviderArgs $) { + this.insecure = $.insecure; + this.password = $.password; + this.retries = $.retries; + this.url = $.url; + this.username = $.username; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ProviderArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ProviderArgs $; + + public Builder() { + $ = new ProviderArgs(); + } + + public Builder(ProviderArgs defaults) { + $ = new ProviderArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param insecure Allow insecure HTTPS client. This can also be set as the ISE_INSECURE environment variable. Defaults to `true`. + * + * @return builder + * + */ + public Builder insecure(@Nullable Output insecure) { + $.insecure = insecure; + return this; + } + + /** + * @param insecure Allow insecure HTTPS client. This can also be set as the ISE_INSECURE environment variable. Defaults to `true`. + * + * @return builder + * + */ + public Builder insecure(Boolean insecure) { + return insecure(Output.of(insecure)); + } + + /** + * @param password Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable. + * + * @return builder + * + */ + public Builder password(@Nullable Output password) { + $.password = password; + return this; + } + + /** + * @param password Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable. + * + * @return builder + * + */ + public Builder password(String password) { + return password(Output.of(password)); + } + + /** + * @param retries Number of retries for REST API calls. This can also be set as the ISE_RETRIES environment variable. Defaults to `3`. + * + * @return builder + * + */ + public Builder retries(@Nullable Output retries) { + $.retries = retries; + return this; + } + + /** + * @param retries Number of retries for REST API calls. This can also be set as the ISE_RETRIES environment variable. Defaults to `3`. + * + * @return builder + * + */ + public Builder retries(Integer retries) { + return retries(Output.of(retries)); + } + + /** + * @param url URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable. + * + * @return builder + * + */ + public Builder url(@Nullable Output url) { + $.url = url; + return this; + } + + /** + * @param url URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable. + * + * @return builder + * + */ + public Builder url(String url) { + return url(Output.of(url)); + } + + /** + * @param username Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable. + * + * @return builder + * + */ + public Builder username(@Nullable Output username) { + $.username = username; + return this; + } + + /** + * @param username Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable. + * + * @return builder + * + */ + public Builder username(String username) { + return username(Output.of(username)); + } + + public ProviderArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/Utilities.java b/sdk/java/src/main/java/com/pulumi/ise/Utilities.java new file mode 100644 index 0000000..4565ef9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/Utilities.java @@ -0,0 +1,89 @@ +// *** 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; + + + + + +import java.io.BufferedReader; +import java.io.InputStreamReader; +import java.util.Optional; +import java.util.stream.Collectors; +import javax.annotation.Nullable; +import com.pulumi.core.internal.Environment; +import com.pulumi.deployment.InvokeOptions; + +public class Utilities { + + public static Optional getEnv(String... names) { + for (var n : names) { + var value = Environment.getEnvironmentVariable(n); + if (value.isValue()) { + return Optional.of(value.value()); + } + } + return Optional.empty(); + } + + public static Optional getEnvBoolean(String... names) { + for (var n : names) { + var value = Environment.getBooleanEnvironmentVariable(n); + if (value.isValue()) { + return Optional.of(value.value()); + } + } + return Optional.empty(); + } + + public static Optional getEnvInteger(String... names) { + for (var n : names) { + var value = Environment.getIntegerEnvironmentVariable(n); + if (value.isValue()) { + return Optional.of(value.value()); + } + } + return Optional.empty(); + } + + public static Optional getEnvDouble(String... names) { + for (var n : names) { + var value = Environment.getDoubleEnvironmentVariable(n); + if (value.isValue()) { + return Optional.of(value.value()); + } + } + return Optional.empty(); + } + + public static InvokeOptions withVersion(@Nullable InvokeOptions options) { + if (options != null && options.getVersion().isPresent()) { + return options; + } + return new InvokeOptions( + options == null ? null : options.getParent().orElse(null), + options == null ? null : options.getProvider().orElse(null), + getVersion() + ); + } + + private static final String version; + public static String getVersion() { + return version; + } + + static { + var resourceName = "com/pulumi/ise/version.txt"; + var versionFile = Utilities.class.getClassLoader().getResourceAsStream(resourceName); + if (versionFile == null) { + throw new IllegalStateException( + String.format("expected resource '%s' on Classpath, not found", resourceName) + ); + } + version = new BufferedReader(new InputStreamReader(versionFile)) + .lines() + .collect(Collectors.joining("\n")) + .trim(); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AllowedProtocolsTacacs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AllowedProtocolsTacacs.java new file mode 100644 index 0000000..46c9e0f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AllowedProtocolsTacacs.java @@ -0,0 +1,186 @@ +// *** 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.deviceadmin; + +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.deviceadmin.AllowedProtocolsTacacsArgs; +import com.pulumi.ise.deviceadmin.inputs.AllowedProtocolsTacacsState; +import java.lang.Boolean; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a TACACS allowed protocols policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.AllowedProtocolsTacacs; + * import com.pulumi.ise.deviceadmin.AllowedProtocolsTacacsArgs; + * 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 AllowedProtocolsTacacs("example", AllowedProtocolsTacacsArgs.builder() + * .name("Protocols1") + * .description("My allowed TACACS protocols") + * .allowPapAscii(true) + * .allowChap(true) + * .allowMsChapV1(true) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:deviceadmin/allowedProtocolsTacacs:AllowedProtocolsTacacs example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:deviceadmin/allowedProtocolsTacacs:AllowedProtocolsTacacs") +public class AllowedProtocolsTacacs extends com.pulumi.resources.CustomResource { + /** + * Allow CHAP + * + */ + @Export(name="allowChap", refs={Boolean.class}, tree="[0]") + private Output allowChap; + + /** + * @return Allow CHAP + * + */ + public Output allowChap() { + return this.allowChap; + } + /** + * Allow MS CHAP v1 + * + */ + @Export(name="allowMsChapV1", refs={Boolean.class}, tree="[0]") + private Output allowMsChapV1; + + /** + * @return Allow MS CHAP v1 + * + */ + public Output allowMsChapV1() { + return this.allowMsChapV1; + } + /** + * Allow PAP ASCII + * + */ + @Export(name="allowPapAscii", refs={Boolean.class}, tree="[0]") + private Output allowPapAscii; + + /** + * @return Allow PAP ASCII + * + */ + public Output allowPapAscii() { + return this.allowPapAscii; + } + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * The name of the allowed protocols + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the allowed protocols + * + */ + public Output name() { + return this.name; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AllowedProtocolsTacacs(String name) { + this(name, AllowedProtocolsTacacsArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AllowedProtocolsTacacs(String name, AllowedProtocolsTacacsArgs 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 AllowedProtocolsTacacs(String name, AllowedProtocolsTacacsArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/allowedProtocolsTacacs:AllowedProtocolsTacacs", name, args == null ? AllowedProtocolsTacacsArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private AllowedProtocolsTacacs(String name, Output id, @Nullable AllowedProtocolsTacacsState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/allowedProtocolsTacacs:AllowedProtocolsTacacs", name, state, makeResourceOptions(options, id)); + } + + 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 AllowedProtocolsTacacs get(String name, Output id, @Nullable AllowedProtocolsTacacsState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AllowedProtocolsTacacs(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AllowedProtocolsTacacsArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AllowedProtocolsTacacsArgs.java new file mode 100644 index 0000000..b4e1811 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AllowedProtocolsTacacsArgs.java @@ -0,0 +1,242 @@ +// *** 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.deviceadmin; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AllowedProtocolsTacacsArgs extends com.pulumi.resources.ResourceArgs { + + public static final AllowedProtocolsTacacsArgs Empty = new AllowedProtocolsTacacsArgs(); + + /** + * Allow CHAP + * + */ + @Import(name="allowChap", required=true) + private Output allowChap; + + /** + * @return Allow CHAP + * + */ + public Output allowChap() { + return this.allowChap; + } + + /** + * Allow MS CHAP v1 + * + */ + @Import(name="allowMsChapV1", required=true) + private Output allowMsChapV1; + + /** + * @return Allow MS CHAP v1 + * + */ + public Output allowMsChapV1() { + return this.allowMsChapV1; + } + + /** + * Allow PAP ASCII + * + */ + @Import(name="allowPapAscii", required=true) + private Output allowPapAscii; + + /** + * @return Allow PAP ASCII + * + */ + public Output allowPapAscii() { + return this.allowPapAscii; + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the allowed protocols + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the allowed protocols + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private AllowedProtocolsTacacsArgs() {} + + private AllowedProtocolsTacacsArgs(AllowedProtocolsTacacsArgs $) { + this.allowChap = $.allowChap; + this.allowMsChapV1 = $.allowMsChapV1; + this.allowPapAscii = $.allowPapAscii; + this.description = $.description; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AllowedProtocolsTacacsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AllowedProtocolsTacacsArgs $; + + public Builder() { + $ = new AllowedProtocolsTacacsArgs(); + } + + public Builder(AllowedProtocolsTacacsArgs defaults) { + $ = new AllowedProtocolsTacacsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param allowChap Allow CHAP + * + * @return builder + * + */ + public Builder allowChap(Output allowChap) { + $.allowChap = allowChap; + return this; + } + + /** + * @param allowChap Allow CHAP + * + * @return builder + * + */ + public Builder allowChap(Boolean allowChap) { + return allowChap(Output.of(allowChap)); + } + + /** + * @param allowMsChapV1 Allow MS CHAP v1 + * + * @return builder + * + */ + public Builder allowMsChapV1(Output allowMsChapV1) { + $.allowMsChapV1 = allowMsChapV1; + return this; + } + + /** + * @param allowMsChapV1 Allow MS CHAP v1 + * + * @return builder + * + */ + public Builder allowMsChapV1(Boolean allowMsChapV1) { + return allowMsChapV1(Output.of(allowMsChapV1)); + } + + /** + * @param allowPapAscii Allow PAP ASCII + * + * @return builder + * + */ + public Builder allowPapAscii(Output allowPapAscii) { + $.allowPapAscii = allowPapAscii; + return this; + } + + /** + * @param allowPapAscii Allow PAP ASCII + * + * @return builder + * + */ + public Builder allowPapAscii(Boolean allowPapAscii) { + return allowPapAscii(Output.of(allowPapAscii)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the allowed protocols + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the allowed protocols + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public AllowedProtocolsTacacsArgs build() { + if ($.allowChap == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsTacacsArgs", "allowChap"); + } + if ($.allowMsChapV1 == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsTacacsArgs", "allowMsChapV1"); + } + if ($.allowPapAscii == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsTacacsArgs", "allowPapAscii"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthenticationRule.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthenticationRule.java new file mode 100644 index 0000000..a602ce1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthenticationRule.java @@ -0,0 +1,391 @@ +// *** 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.deviceadmin; + +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.deviceadmin.AuthenticationRuleArgs; +import com.pulumi.ise.deviceadmin.inputs.AuthenticationRuleState; +import com.pulumi.ise.deviceadmin.outputs.AuthenticationRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Device Admin Authentication Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.AuthenticationRule; + * import com.pulumi.ise.deviceadmin.AuthenticationRuleArgs; + * 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 AuthenticationRule("example", AuthenticationRuleArgs.builder() + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .name("Rule1") + * .default_(false) + * .rank(0) + * .state("enabled") + * .conditionType("ConditionAttributes") + * .conditionIsNegate(false) + * .conditionAttributeName("Location") + * .conditionAttributeValue("All Locations") + * .conditionDictionaryName("DEVICE") + * .conditionOperator("equals") + * .identitySourceName("Internal Endpoints") + * .ifAuthFail("REJECT") + * .ifProcessFail("DROP") + * .ifUserNotFound("REJECT") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:deviceadmin/authenticationRule:AuthenticationRule example "76d24097-41c4-4558-a4d0-a8c07ac08470,76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:deviceadmin/authenticationRule:AuthenticationRule") +public class AuthenticationRule extends com.pulumi.resources.CustomResource { + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Export(name="childrens", refs={List.class,AuthenticationRuleChildren.class}, tree="[0,1]") + private Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Output>> childrens() { + return Codegen.optional(this.childrens); + } + /** + * Dictionary attribute name + * + */ + @Export(name="conditionAttributeName", refs={String.class}, tree="[0]") + private Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Output> conditionAttributeName() { + return Codegen.optional(this.conditionAttributeName); + } + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Export(name="conditionAttributeValue", refs={String.class}, tree="[0]") + private Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Output> conditionAttributeValue() { + return Codegen.optional(this.conditionAttributeValue); + } + /** + * Dictionary name + * + */ + @Export(name="conditionDictionaryName", refs={String.class}, tree="[0]") + private Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Output> conditionDictionaryName() { + return Codegen.optional(this.conditionDictionaryName); + } + /** + * Dictionary value + * + */ + @Export(name="conditionDictionaryValue", refs={String.class}, tree="[0]") + private Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Output> conditionDictionaryValue() { + return Codegen.optional(this.conditionDictionaryValue); + } + /** + * UUID for condition + * + */ + @Export(name="conditionId", refs={String.class}, tree="[0]") + private Output conditionId; + + /** + * @return UUID for condition + * + */ + public Output> conditionId() { + return Codegen.optional(this.conditionId); + } + /** + * Indicates whereas this condition is in negate mode + * + */ + @Export(name="conditionIsNegate", refs={Boolean.class}, tree="[0]") + private Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Output> conditionIsNegate() { + return Codegen.optional(this.conditionIsNegate); + } + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Export(name="conditionOperator", refs={String.class}, tree="[0]") + private Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Output> conditionOperator() { + return Codegen.optional(this.conditionOperator); + } + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Export(name="conditionType", refs={String.class}, tree="[0]") + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Output> conditionType() { + return Codegen.optional(this.conditionType); + } + /** + * Indicates if this rule is the default one + * + */ + @Export(name="default", refs={Boolean.class}, tree="[0]") + private Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Output> default_() { + return Codegen.optional(this.default_); + } + /** + * Identity source name from the identity stores + * + */ + @Export(name="identitySourceName", refs={String.class}, tree="[0]") + private Output identitySourceName; + + /** + * @return Identity source name from the identity stores + * + */ + public Output> identitySourceName() { + return Codegen.optional(this.identitySourceName); + } + /** + * Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + */ + @Export(name="ifAuthFail", refs={String.class}, tree="[0]") + private Output ifAuthFail; + + /** + * @return Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + */ + public Output ifAuthFail() { + return this.ifAuthFail; + } + /** + * Action to perform when ISE is unable to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + @Export(name="ifProcessFail", refs={String.class}, tree="[0]") + private Output ifProcessFail; + + /** + * @return Action to perform when ISE is unable to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + public Output ifProcessFail() { + return this.ifProcessFail; + } + /** + * Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + @Export(name="ifUserNotFound", refs={String.class}, tree="[0]") + private Output ifUserNotFound; + + /** + * @return Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + public Output ifUserNotFound() { + return this.ifUserNotFound; + } + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Output name() { + return this.name; + } + /** + * Policy set ID + * + */ + @Export(name="policySetId", refs={String.class}, tree="[0]") + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Export(name="rank", refs={Integer.class}, tree="[0]") + private Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Output> rank() { + return Codegen.optional(this.rank); + } + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Output> state() { + return Codegen.optional(this.state); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AuthenticationRule(String name) { + this(name, AuthenticationRuleArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AuthenticationRule(String name, AuthenticationRuleArgs 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 AuthenticationRule(String name, AuthenticationRuleArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/authenticationRule:AuthenticationRule", name, args == null ? AuthenticationRuleArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private AuthenticationRule(String name, Output id, @Nullable AuthenticationRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/authenticationRule:AuthenticationRule", name, state, makeResourceOptions(options, id)); + } + + 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 AuthenticationRule get(String name, Output id, @Nullable AuthenticationRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AuthenticationRule(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthenticationRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthenticationRuleArgs.java new file mode 100644 index 0000000..5bbaea7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthenticationRuleArgs.java @@ -0,0 +1,759 @@ +// *** 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.deviceadmin; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.inputs.AuthenticationRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticationRuleArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticationRuleArgs Empty = new AuthenticationRuleArgs(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Identity source name from the identity stores + * + */ + @Import(name="identitySourceName") + private @Nullable Output identitySourceName; + + /** + * @return Identity source name from the identity stores + * + */ + public Optional> identitySourceName() { + return Optional.ofNullable(this.identitySourceName); + } + + /** + * Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + */ + @Import(name="ifAuthFail", required=true) + private Output ifAuthFail; + + /** + * @return Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + */ + public Output ifAuthFail() { + return this.ifAuthFail; + } + + /** + * Action to perform when ISE is unable to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + @Import(name="ifProcessFail", required=true) + private Output ifProcessFail; + + /** + * @return Action to perform when ISE is unable to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + public Output ifProcessFail() { + return this.ifProcessFail; + } + + /** + * Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + @Import(name="ifUserNotFound", required=true) + private Output ifUserNotFound; + + /** + * @return Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + public Output ifUserNotFound() { + return this.ifUserNotFound; + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthenticationRuleArgs() {} + + private AuthenticationRuleArgs(AuthenticationRuleArgs $) { + this.childrens = $.childrens; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.identitySourceName = $.identitySourceName; + this.ifAuthFail = $.ifAuthFail; + this.ifProcessFail = $.ifProcessFail; + this.ifUserNotFound = $.ifUserNotFound; + this.name = $.name; + this.policySetId = $.policySetId; + this.rank = $.rank; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticationRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticationRuleArgs $; + + public Builder() { + $ = new AuthenticationRuleArgs(); + } + + public Builder(AuthenticationRuleArgs defaults) { + $ = new AuthenticationRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthenticationRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param identitySourceName Identity source name from the identity stores + * + * @return builder + * + */ + public Builder identitySourceName(@Nullable Output identitySourceName) { + $.identitySourceName = identitySourceName; + return this; + } + + /** + * @param identitySourceName Identity source name from the identity stores + * + * @return builder + * + */ + public Builder identitySourceName(String identitySourceName) { + return identitySourceName(Output.of(identitySourceName)); + } + + /** + * @param ifAuthFail Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifAuthFail(Output ifAuthFail) { + $.ifAuthFail = ifAuthFail; + return this; + } + + /** + * @param ifAuthFail Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifAuthFail(String ifAuthFail) { + return ifAuthFail(Output.of(ifAuthFail)); + } + + /** + * @param ifProcessFail Action to perform when ISE is unable to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifProcessFail(Output ifProcessFail) { + $.ifProcessFail = ifProcessFail; + return this; + } + + /** + * @param ifProcessFail Action to perform when ISE is unable to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifProcessFail(String ifProcessFail) { + return ifProcessFail(Output.of(ifProcessFail)); + } + + /** + * @param ifUserNotFound Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifUserNotFound(Output ifUserNotFound) { + $.ifUserNotFound = ifUserNotFound; + return this; + } + + /** + * @param ifUserNotFound Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifUserNotFound(String ifUserNotFound) { + return ifUserNotFound(Output.of(ifUserNotFound)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthenticationRuleArgs build() { + if ($.ifAuthFail == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleArgs", "ifAuthFail"); + } + if ($.ifProcessFail == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleArgs", "ifProcessFail"); + } + if ($.ifUserNotFound == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleArgs", "ifUserNotFound"); + } + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationExceptionRule.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationExceptionRule.java new file mode 100644 index 0000000..f9f9c69 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationExceptionRule.java @@ -0,0 +1,359 @@ +// *** 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.deviceadmin; + +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.deviceadmin.AuthorizationExceptionRuleArgs; +import com.pulumi.ise.deviceadmin.inputs.AuthorizationExceptionRuleState; +import com.pulumi.ise.deviceadmin.outputs.AuthorizationExceptionRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Device Admin Authorization Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.AuthorizationExceptionRule; + * import com.pulumi.ise.deviceadmin.AuthorizationExceptionRuleArgs; + * 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 AuthorizationExceptionRule("example", AuthorizationExceptionRuleArgs.builder() + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .name("Rule1") + * .default_(false) + * .rank(0) + * .state("enabled") + * .conditionType("ConditionAttributes") + * .conditionIsNegate(false) + * .conditionAttributeName("Location") + * .conditionAttributeValue("All Locations") + * .conditionDictionaryName("DEVICE") + * .conditionOperator("equals") + * .commandSets("DenyAllCommands") + * .profile("Default Shell Profile") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:deviceadmin/authorizationExceptionRule:AuthorizationExceptionRule example "76d24097-41c4-4558-a4d0-a8c07ac08470,76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:deviceadmin/authorizationExceptionRule:AuthorizationExceptionRule") +public class AuthorizationExceptionRule extends com.pulumi.resources.CustomResource { + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Export(name="childrens", refs={List.class,AuthorizationExceptionRuleChildren.class}, tree="[0,1]") + private Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Output>> childrens() { + return Codegen.optional(this.childrens); + } + /** + * Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + @Export(name="commandSets", refs={List.class,String.class}, tree="[0,1]") + private Output> commandSets; + + /** + * @return Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + public Output>> commandSets() { + return Codegen.optional(this.commandSets); + } + /** + * Dictionary attribute name + * + */ + @Export(name="conditionAttributeName", refs={String.class}, tree="[0]") + private Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Output> conditionAttributeName() { + return Codegen.optional(this.conditionAttributeName); + } + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Export(name="conditionAttributeValue", refs={String.class}, tree="[0]") + private Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Output> conditionAttributeValue() { + return Codegen.optional(this.conditionAttributeValue); + } + /** + * Dictionary name + * + */ + @Export(name="conditionDictionaryName", refs={String.class}, tree="[0]") + private Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Output> conditionDictionaryName() { + return Codegen.optional(this.conditionDictionaryName); + } + /** + * Dictionary value + * + */ + @Export(name="conditionDictionaryValue", refs={String.class}, tree="[0]") + private Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Output> conditionDictionaryValue() { + return Codegen.optional(this.conditionDictionaryValue); + } + /** + * UUID for condition + * + */ + @Export(name="conditionId", refs={String.class}, tree="[0]") + private Output conditionId; + + /** + * @return UUID for condition + * + */ + public Output> conditionId() { + return Codegen.optional(this.conditionId); + } + /** + * Indicates whereas this condition is in negate mode + * + */ + @Export(name="conditionIsNegate", refs={Boolean.class}, tree="[0]") + private Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Output> conditionIsNegate() { + return Codegen.optional(this.conditionIsNegate); + } + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Export(name="conditionOperator", refs={String.class}, tree="[0]") + private Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Output> conditionOperator() { + return Codegen.optional(this.conditionOperator); + } + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Export(name="conditionType", refs={String.class}, tree="[0]") + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Output> conditionType() { + return Codegen.optional(this.conditionType); + } + /** + * Indicates if this rule is the default one + * + */ + @Export(name="default", refs={Boolean.class}, tree="[0]") + private Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Output> default_() { + return Codegen.optional(this.default_); + } + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Output name() { + return this.name; + } + /** + * Policy set ID + * + */ + @Export(name="policySetId", refs={String.class}, tree="[0]") + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + /** + * Device admin profiles control the initial login session of the device administrator + * + */ + @Export(name="profile", refs={String.class}, tree="[0]") + private Output profile; + + /** + * @return Device admin profiles control the initial login session of the device administrator + * + */ + public Output> profile() { + return Codegen.optional(this.profile); + } + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Export(name="rank", refs={Integer.class}, tree="[0]") + private Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Output> rank() { + return Codegen.optional(this.rank); + } + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Output> state() { + return Codegen.optional(this.state); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AuthorizationExceptionRule(String name) { + this(name, AuthorizationExceptionRuleArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AuthorizationExceptionRule(String name, AuthorizationExceptionRuleArgs 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 AuthorizationExceptionRule(String name, AuthorizationExceptionRuleArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/authorizationExceptionRule:AuthorizationExceptionRule", name, args == null ? AuthorizationExceptionRuleArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private AuthorizationExceptionRule(String name, Output id, @Nullable AuthorizationExceptionRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/authorizationExceptionRule:AuthorizationExceptionRule", name, state, makeResourceOptions(options, id)); + } + + 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 AuthorizationExceptionRule get(String name, Output id, @Nullable AuthorizationExceptionRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AuthorizationExceptionRule(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationExceptionRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationExceptionRuleArgs.java new file mode 100644 index 0000000..e607648 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationExceptionRuleArgs.java @@ -0,0 +1,682 @@ +// *** 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.deviceadmin; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.inputs.AuthorizationExceptionRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationExceptionRuleArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationExceptionRuleArgs Empty = new AuthorizationExceptionRuleArgs(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + @Import(name="commandSets") + private @Nullable Output> commandSets; + + /** + * @return Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + public Optional>> commandSets() { + return Optional.ofNullable(this.commandSets); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + + /** + * Device admin profiles control the initial login session of the device administrator + * + */ + @Import(name="profile") + private @Nullable Output profile; + + /** + * @return Device admin profiles control the initial login session of the device administrator + * + */ + public Optional> profile() { + return Optional.ofNullable(this.profile); + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthorizationExceptionRuleArgs() {} + + private AuthorizationExceptionRuleArgs(AuthorizationExceptionRuleArgs $) { + this.childrens = $.childrens; + this.commandSets = $.commandSets; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.name = $.name; + this.policySetId = $.policySetId; + this.profile = $.profile; + this.rank = $.rank; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationExceptionRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationExceptionRuleArgs $; + + public Builder() { + $ = new AuthorizationExceptionRuleArgs(); + } + + public Builder(AuthorizationExceptionRuleArgs defaults) { + $ = new AuthorizationExceptionRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationExceptionRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(@Nullable Output> commandSets) { + $.commandSets = commandSets; + return this; + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(List commandSets) { + return commandSets(Output.of(commandSets)); + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(String... commandSets) { + return commandSets(List.of(commandSets)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + /** + * @param profile Device admin profiles control the initial login session of the device administrator + * + * @return builder + * + */ + public Builder profile(@Nullable Output profile) { + $.profile = profile; + return this; + } + + /** + * @param profile Device admin profiles control the initial login session of the device administrator + * + * @return builder + * + */ + public Builder profile(String profile) { + return profile(Output.of(profile)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthorizationExceptionRuleArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("AuthorizationExceptionRuleArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationGlobalExceptionRule.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationGlobalExceptionRule.java new file mode 100644 index 0000000..7f16433 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationGlobalExceptionRule.java @@ -0,0 +1,344 @@ +// *** 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.deviceadmin; + +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.deviceadmin.AuthorizationGlobalExceptionRuleArgs; +import com.pulumi.ise.deviceadmin.inputs.AuthorizationGlobalExceptionRuleState; +import com.pulumi.ise.deviceadmin.outputs.AuthorizationGlobalExceptionRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Device Admin Authorization Global Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.AuthorizationGlobalExceptionRule; + * import com.pulumi.ise.deviceadmin.AuthorizationGlobalExceptionRuleArgs; + * 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 AuthorizationGlobalExceptionRule("example", AuthorizationGlobalExceptionRuleArgs.builder() + * .name("Rule1") + * .default_(false) + * .rank(0) + * .state("enabled") + * .conditionType("ConditionAttributes") + * .conditionIsNegate(false) + * .conditionAttributeName("Location") + * .conditionAttributeValue("All Locations") + * .conditionDictionaryName("DEVICE") + * .conditionOperator("equals") + * .commandSets("DenyAllCommands") + * .profile("Default Shell Profile") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:deviceadmin/authorizationGlobalExceptionRule:AuthorizationGlobalExceptionRule example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:deviceadmin/authorizationGlobalExceptionRule:AuthorizationGlobalExceptionRule") +public class AuthorizationGlobalExceptionRule extends com.pulumi.resources.CustomResource { + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Export(name="childrens", refs={List.class,AuthorizationGlobalExceptionRuleChildren.class}, tree="[0,1]") + private Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Output>> childrens() { + return Codegen.optional(this.childrens); + } + /** + * Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + @Export(name="commandSets", refs={List.class,String.class}, tree="[0,1]") + private Output> commandSets; + + /** + * @return Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + public Output>> commandSets() { + return Codegen.optional(this.commandSets); + } + /** + * Dictionary attribute name + * + */ + @Export(name="conditionAttributeName", refs={String.class}, tree="[0]") + private Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Output> conditionAttributeName() { + return Codegen.optional(this.conditionAttributeName); + } + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Export(name="conditionAttributeValue", refs={String.class}, tree="[0]") + private Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Output> conditionAttributeValue() { + return Codegen.optional(this.conditionAttributeValue); + } + /** + * Dictionary name + * + */ + @Export(name="conditionDictionaryName", refs={String.class}, tree="[0]") + private Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Output> conditionDictionaryName() { + return Codegen.optional(this.conditionDictionaryName); + } + /** + * Dictionary value + * + */ + @Export(name="conditionDictionaryValue", refs={String.class}, tree="[0]") + private Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Output> conditionDictionaryValue() { + return Codegen.optional(this.conditionDictionaryValue); + } + /** + * UUID for condition + * + */ + @Export(name="conditionId", refs={String.class}, tree="[0]") + private Output conditionId; + + /** + * @return UUID for condition + * + */ + public Output> conditionId() { + return Codegen.optional(this.conditionId); + } + /** + * Indicates whereas this condition is in negate mode + * + */ + @Export(name="conditionIsNegate", refs={Boolean.class}, tree="[0]") + private Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Output> conditionIsNegate() { + return Codegen.optional(this.conditionIsNegate); + } + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Export(name="conditionOperator", refs={String.class}, tree="[0]") + private Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Output> conditionOperator() { + return Codegen.optional(this.conditionOperator); + } + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Export(name="conditionType", refs={String.class}, tree="[0]") + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Output> conditionType() { + return Codegen.optional(this.conditionType); + } + /** + * Indicates if this rule is the default one + * + */ + @Export(name="default", refs={Boolean.class}, tree="[0]") + private Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Output> default_() { + return Codegen.optional(this.default_); + } + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Output name() { + return this.name; + } + /** + * Device admin profiles control the initial login session of the device administrator + * + */ + @Export(name="profile", refs={String.class}, tree="[0]") + private Output profile; + + /** + * @return Device admin profiles control the initial login session of the device administrator + * + */ + public Output> profile() { + return Codegen.optional(this.profile); + } + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Export(name="rank", refs={Integer.class}, tree="[0]") + private Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Output> rank() { + return Codegen.optional(this.rank); + } + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Output> state() { + return Codegen.optional(this.state); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AuthorizationGlobalExceptionRule(String name) { + this(name, AuthorizationGlobalExceptionRuleArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AuthorizationGlobalExceptionRule(String name, @Nullable AuthorizationGlobalExceptionRuleArgs 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 AuthorizationGlobalExceptionRule(String name, @Nullable AuthorizationGlobalExceptionRuleArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/authorizationGlobalExceptionRule:AuthorizationGlobalExceptionRule", name, args == null ? AuthorizationGlobalExceptionRuleArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private AuthorizationGlobalExceptionRule(String name, Output id, @Nullable AuthorizationGlobalExceptionRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/authorizationGlobalExceptionRule:AuthorizationGlobalExceptionRule", name, state, makeResourceOptions(options, id)); + } + + 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 AuthorizationGlobalExceptionRule get(String name, Output id, @Nullable AuthorizationGlobalExceptionRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AuthorizationGlobalExceptionRule(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationGlobalExceptionRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationGlobalExceptionRuleArgs.java new file mode 100644 index 0000000..a7d32f9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationGlobalExceptionRuleArgs.java @@ -0,0 +1,641 @@ +// *** 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.deviceadmin; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.deviceadmin.inputs.AuthorizationGlobalExceptionRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationGlobalExceptionRuleArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationGlobalExceptionRuleArgs Empty = new AuthorizationGlobalExceptionRuleArgs(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + @Import(name="commandSets") + private @Nullable Output> commandSets; + + /** + * @return Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + public Optional>> commandSets() { + return Optional.ofNullable(this.commandSets); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Device admin profiles control the initial login session of the device administrator + * + */ + @Import(name="profile") + private @Nullable Output profile; + + /** + * @return Device admin profiles control the initial login session of the device administrator + * + */ + public Optional> profile() { + return Optional.ofNullable(this.profile); + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthorizationGlobalExceptionRuleArgs() {} + + private AuthorizationGlobalExceptionRuleArgs(AuthorizationGlobalExceptionRuleArgs $) { + this.childrens = $.childrens; + this.commandSets = $.commandSets; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.name = $.name; + this.profile = $.profile; + this.rank = $.rank; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationGlobalExceptionRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationGlobalExceptionRuleArgs $; + + public Builder() { + $ = new AuthorizationGlobalExceptionRuleArgs(); + } + + public Builder(AuthorizationGlobalExceptionRuleArgs defaults) { + $ = new AuthorizationGlobalExceptionRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationGlobalExceptionRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(@Nullable Output> commandSets) { + $.commandSets = commandSets; + return this; + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(List commandSets) { + return commandSets(Output.of(commandSets)); + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(String... commandSets) { + return commandSets(List.of(commandSets)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param profile Device admin profiles control the initial login session of the device administrator + * + * @return builder + * + */ + public Builder profile(@Nullable Output profile) { + $.profile = profile; + return this; + } + + /** + * @param profile Device admin profiles control the initial login session of the device administrator + * + * @return builder + * + */ + public Builder profile(String profile) { + return profile(Output.of(profile)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthorizationGlobalExceptionRuleArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationRule.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationRule.java new file mode 100644 index 0000000..a664be6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationRule.java @@ -0,0 +1,359 @@ +// *** 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.deviceadmin; + +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.deviceadmin.AuthorizationRuleArgs; +import com.pulumi.ise.deviceadmin.inputs.AuthorizationRuleState; +import com.pulumi.ise.deviceadmin.outputs.AuthorizationRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Device Admin Authorization Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.AuthorizationRule; + * import com.pulumi.ise.deviceadmin.AuthorizationRuleArgs; + * 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 AuthorizationRule("example", AuthorizationRuleArgs.builder() + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .name("Rule1") + * .default_(false) + * .rank(0) + * .state("enabled") + * .conditionType("ConditionAttributes") + * .conditionIsNegate(false) + * .conditionAttributeName("Location") + * .conditionAttributeValue("All Locations") + * .conditionDictionaryName("DEVICE") + * .conditionOperator("equals") + * .commandSets("DenyAllCommands") + * .profile("Default Shell Profile") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:deviceadmin/authorizationRule:AuthorizationRule example "76d24097-41c4-4558-a4d0-a8c07ac08470,76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:deviceadmin/authorizationRule:AuthorizationRule") +public class AuthorizationRule extends com.pulumi.resources.CustomResource { + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Export(name="childrens", refs={List.class,AuthorizationRuleChildren.class}, tree="[0,1]") + private Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Output>> childrens() { + return Codegen.optional(this.childrens); + } + /** + * Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + @Export(name="commandSets", refs={List.class,String.class}, tree="[0,1]") + private Output> commandSets; + + /** + * @return Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + public Output>> commandSets() { + return Codegen.optional(this.commandSets); + } + /** + * Dictionary attribute name + * + */ + @Export(name="conditionAttributeName", refs={String.class}, tree="[0]") + private Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Output> conditionAttributeName() { + return Codegen.optional(this.conditionAttributeName); + } + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Export(name="conditionAttributeValue", refs={String.class}, tree="[0]") + private Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Output> conditionAttributeValue() { + return Codegen.optional(this.conditionAttributeValue); + } + /** + * Dictionary name + * + */ + @Export(name="conditionDictionaryName", refs={String.class}, tree="[0]") + private Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Output> conditionDictionaryName() { + return Codegen.optional(this.conditionDictionaryName); + } + /** + * Dictionary value + * + */ + @Export(name="conditionDictionaryValue", refs={String.class}, tree="[0]") + private Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Output> conditionDictionaryValue() { + return Codegen.optional(this.conditionDictionaryValue); + } + /** + * UUID for condition + * + */ + @Export(name="conditionId", refs={String.class}, tree="[0]") + private Output conditionId; + + /** + * @return UUID for condition + * + */ + public Output> conditionId() { + return Codegen.optional(this.conditionId); + } + /** + * Indicates whereas this condition is in negate mode + * + */ + @Export(name="conditionIsNegate", refs={Boolean.class}, tree="[0]") + private Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Output> conditionIsNegate() { + return Codegen.optional(this.conditionIsNegate); + } + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Export(name="conditionOperator", refs={String.class}, tree="[0]") + private Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Output> conditionOperator() { + return Codegen.optional(this.conditionOperator); + } + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Export(name="conditionType", refs={String.class}, tree="[0]") + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Output> conditionType() { + return Codegen.optional(this.conditionType); + } + /** + * Indicates if this rule is the default one + * + */ + @Export(name="default", refs={Boolean.class}, tree="[0]") + private Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Output> default_() { + return Codegen.optional(this.default_); + } + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Output name() { + return this.name; + } + /** + * Policy set ID + * + */ + @Export(name="policySetId", refs={String.class}, tree="[0]") + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + /** + * Device admin profiles control the initial login session of the device administrator + * + */ + @Export(name="profile", refs={String.class}, tree="[0]") + private Output profile; + + /** + * @return Device admin profiles control the initial login session of the device administrator + * + */ + public Output> profile() { + return Codegen.optional(this.profile); + } + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Export(name="rank", refs={Integer.class}, tree="[0]") + private Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Output> rank() { + return Codegen.optional(this.rank); + } + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Output> state() { + return Codegen.optional(this.state); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AuthorizationRule(String name) { + this(name, AuthorizationRuleArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AuthorizationRule(String name, AuthorizationRuleArgs 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 AuthorizationRule(String name, AuthorizationRuleArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/authorizationRule:AuthorizationRule", name, args == null ? AuthorizationRuleArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private AuthorizationRule(String name, Output id, @Nullable AuthorizationRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/authorizationRule:AuthorizationRule", name, state, makeResourceOptions(options, id)); + } + + 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 AuthorizationRule get(String name, Output id, @Nullable AuthorizationRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AuthorizationRule(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationRuleArgs.java new file mode 100644 index 0000000..15f23f0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/AuthorizationRuleArgs.java @@ -0,0 +1,682 @@ +// *** 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.deviceadmin; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.inputs.AuthorizationRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationRuleArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationRuleArgs Empty = new AuthorizationRuleArgs(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + @Import(name="commandSets") + private @Nullable Output> commandSets; + + /** + * @return Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + public Optional>> commandSets() { + return Optional.ofNullable(this.commandSets); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + + /** + * Device admin profiles control the initial login session of the device administrator + * + */ + @Import(name="profile") + private @Nullable Output profile; + + /** + * @return Device admin profiles control the initial login session of the device administrator + * + */ + public Optional> profile() { + return Optional.ofNullable(this.profile); + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthorizationRuleArgs() {} + + private AuthorizationRuleArgs(AuthorizationRuleArgs $) { + this.childrens = $.childrens; + this.commandSets = $.commandSets; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.name = $.name; + this.policySetId = $.policySetId; + this.profile = $.profile; + this.rank = $.rank; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationRuleArgs $; + + public Builder() { + $ = new AuthorizationRuleArgs(); + } + + public Builder(AuthorizationRuleArgs defaults) { + $ = new AuthorizationRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(@Nullable Output> commandSets) { + $.commandSets = commandSets; + return this; + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(List commandSets) { + return commandSets(Output.of(commandSets)); + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(String... commandSets) { + return commandSets(List.of(commandSets)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + /** + * @param profile Device admin profiles control the initial login session of the device administrator + * + * @return builder + * + */ + public Builder profile(@Nullable Output profile) { + $.profile = profile; + return this; + } + + /** + * @param profile Device admin profiles control the initial login session of the device administrator + * + * @return builder + * + */ + public Builder profile(String profile) { + return profile(Output.of(profile)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthorizationRuleArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("AuthorizationRuleArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/Condition.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/Condition.java new file mode 100644 index 0000000..43783ec --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/Condition.java @@ -0,0 +1,269 @@ +// *** 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.deviceadmin; + +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.deviceadmin.ConditionArgs; +import com.pulumi.ise.deviceadmin.inputs.ConditionState; +import com.pulumi.ise.deviceadmin.outputs.ConditionChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Device Admin Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.Condition; + * import com.pulumi.ise.deviceadmin.ConditionArgs; + * 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 Condition("example", ConditionArgs.builder() + * .name("Cond1") + * .description("My description") + * .conditionType("LibraryConditionAttributes") + * .isNegate(false) + * .attributeName("User") + * .attributeValue("User1") + * .dictionaryName("TACACS") + * .operator("equals") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:deviceadmin/condition:Condition example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:deviceadmin/condition:Condition") +public class Condition extends com.pulumi.resources.CustomResource { + /** + * Dictionary attribute name + * + */ + @Export(name="attributeName", refs={String.class}, tree="[0]") + private Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Output> attributeName() { + return Codegen.optional(this.attributeName); + } + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Export(name="attributeValue", refs={String.class}, tree="[0]") + private Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Output> attributeValue() { + return Codegen.optional(this.attributeValue); + } + /** + * List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + @Export(name="childrens", refs={List.class,ConditionChildren.class}, tree="[0,1]") + private Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + public Output>> childrens() { + return Codegen.optional(this.childrens); + } + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + */ + @Export(name="conditionType", refs={String.class}, tree="[0]") + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + */ + public Output conditionType() { + return this.conditionType; + } + /** + * Condition description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Condition description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * Dictionary name + * + */ + @Export(name="dictionaryName", refs={String.class}, tree="[0]") + private Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Output> dictionaryName() { + return Codegen.optional(this.dictionaryName); + } + /** + * Dictionary value + * + */ + @Export(name="dictionaryValue", refs={String.class}, tree="[0]") + private Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Output> dictionaryValue() { + return Codegen.optional(this.dictionaryValue); + } + /** + * Indicates whereas this condition is in negate mode + * + */ + @Export(name="isNegate", refs={Boolean.class}, tree="[0]") + private Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Output> isNegate() { + return Codegen.optional(this.isNegate); + } + /** + * Condition name + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Condition name + * + */ + public Output name() { + return this.name; + } + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Export(name="operator", refs={String.class}, tree="[0]") + private Output operator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Output> operator() { + return Codegen.optional(this.operator); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public Condition(String name) { + this(name, ConditionArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public Condition(String name, ConditionArgs 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 Condition(String name, ConditionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/condition:Condition", name, args == null ? ConditionArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private Condition(String name, Output id, @Nullable ConditionState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/condition:Condition", name, state, makeResourceOptions(options, id)); + } + + 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 Condition get(String name, Output id, @Nullable ConditionState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new Condition(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/ConditionArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/ConditionArgs.java new file mode 100644 index 0000000..a1ed17d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/ConditionArgs.java @@ -0,0 +1,449 @@ +// *** 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.deviceadmin; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.inputs.ConditionChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ConditionArgs extends com.pulumi.resources.ResourceArgs { + + public static final ConditionArgs Empty = new ConditionArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Condition description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Condition description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private ConditionArgs() {} + + private ConditionArgs(ConditionArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.description = $.description; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.isNegate = $.isNegate; + this.name = $.name; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ConditionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ConditionArgs $; + + public Builder() { + $ = new ConditionArgs(); + } + + public Builder(ConditionArgs defaults) { + $ = new ConditionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(ConditionChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param operator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public ConditionArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("ConditionArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/DeviceadminFunctions.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/DeviceadminFunctions.java new file mode 100644 index 0000000..7415659 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/DeviceadminFunctions.java @@ -0,0 +1,2216 @@ +// *** 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.deviceadmin; + +import com.pulumi.core.Output; +import com.pulumi.core.TypeShape; +import com.pulumi.deployment.Deployment; +import com.pulumi.deployment.InvokeOptions; +import com.pulumi.ise.Utilities; +import com.pulumi.ise.deviceadmin.inputs.GetAllowedProtocolsTacacsArgs; +import com.pulumi.ise.deviceadmin.inputs.GetAllowedProtocolsTacacsPlainArgs; +import com.pulumi.ise.deviceadmin.inputs.GetAuthenticationRuleArgs; +import com.pulumi.ise.deviceadmin.inputs.GetAuthenticationRulePlainArgs; +import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationExceptionRuleArgs; +import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationExceptionRulePlainArgs; +import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationGlobalExceptionRuleArgs; +import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationGlobalExceptionRulePlainArgs; +import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationRuleArgs; +import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationRulePlainArgs; +import com.pulumi.ise.deviceadmin.inputs.GetConditionArgs; +import com.pulumi.ise.deviceadmin.inputs.GetConditionPlainArgs; +import com.pulumi.ise.deviceadmin.inputs.GetPolicySetArgs; +import com.pulumi.ise.deviceadmin.inputs.GetPolicySetPlainArgs; +import com.pulumi.ise.deviceadmin.inputs.GetTacacsCommandSetArgs; +import com.pulumi.ise.deviceadmin.inputs.GetTacacsCommandSetPlainArgs; +import com.pulumi.ise.deviceadmin.inputs.GetTacacsProfileArgs; +import com.pulumi.ise.deviceadmin.inputs.GetTacacsProfilePlainArgs; +import com.pulumi.ise.deviceadmin.inputs.GetTimeAndDateConditionArgs; +import com.pulumi.ise.deviceadmin.inputs.GetTimeAndDateConditionPlainArgs; +import com.pulumi.ise.deviceadmin.outputs.GetAllowedProtocolsTacacsResult; +import com.pulumi.ise.deviceadmin.outputs.GetAuthenticationRuleResult; +import com.pulumi.ise.deviceadmin.outputs.GetAuthorizationExceptionRuleResult; +import com.pulumi.ise.deviceadmin.outputs.GetAuthorizationGlobalExceptionRuleResult; +import com.pulumi.ise.deviceadmin.outputs.GetAuthorizationRuleResult; +import com.pulumi.ise.deviceadmin.outputs.GetConditionResult; +import com.pulumi.ise.deviceadmin.outputs.GetPolicySetResult; +import com.pulumi.ise.deviceadmin.outputs.GetTacacsCommandSetResult; +import com.pulumi.ise.deviceadmin.outputs.GetTacacsProfileResult; +import com.pulumi.ise.deviceadmin.outputs.GetTimeAndDateConditionResult; +import java.util.concurrent.CompletableFuture; + +public final class DeviceadminFunctions { + /** + * This data source can read a TACACS allowed protocols policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAllowedProtocolsTacacsArgs; + * 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) { + * final var example = DeviceadminFunctions.getAllowedProtocolsTacacs(GetAllowedProtocolsTacacsArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAllowedProtocolsTacacs() { + return getAllowedProtocolsTacacs(GetAllowedProtocolsTacacsArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read a TACACS allowed protocols policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAllowedProtocolsTacacsArgs; + * 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) { + * final var example = DeviceadminFunctions.getAllowedProtocolsTacacs(GetAllowedProtocolsTacacsArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAllowedProtocolsTacacsPlain() { + return getAllowedProtocolsTacacsPlain(GetAllowedProtocolsTacacsPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read a TACACS allowed protocols policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAllowedProtocolsTacacsArgs; + * 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) { + * final var example = DeviceadminFunctions.getAllowedProtocolsTacacs(GetAllowedProtocolsTacacsArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAllowedProtocolsTacacs(GetAllowedProtocolsTacacsArgs args) { + return getAllowedProtocolsTacacs(args, InvokeOptions.Empty); + } + /** + * This data source can read a TACACS allowed protocols policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAllowedProtocolsTacacsArgs; + * 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) { + * final var example = DeviceadminFunctions.getAllowedProtocolsTacacs(GetAllowedProtocolsTacacsArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAllowedProtocolsTacacsPlain(GetAllowedProtocolsTacacsPlainArgs args) { + return getAllowedProtocolsTacacsPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read a TACACS allowed protocols policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAllowedProtocolsTacacsArgs; + * 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) { + * final var example = DeviceadminFunctions.getAllowedProtocolsTacacs(GetAllowedProtocolsTacacsArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAllowedProtocolsTacacs(GetAllowedProtocolsTacacsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:deviceadmin/getAllowedProtocolsTacacs:getAllowedProtocolsTacacs", TypeShape.of(GetAllowedProtocolsTacacsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read a TACACS allowed protocols policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAllowedProtocolsTacacsArgs; + * 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) { + * final var example = DeviceadminFunctions.getAllowedProtocolsTacacs(GetAllowedProtocolsTacacsArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAllowedProtocolsTacacsPlain(GetAllowedProtocolsTacacsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:deviceadmin/getAllowedProtocolsTacacs:getAllowedProtocolsTacacs", TypeShape.of(GetAllowedProtocolsTacacsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Device Admin Authentication Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthenticationRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthenticationRule(GetAuthenticationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthenticationRule(GetAuthenticationRuleArgs args) { + return getAuthenticationRule(args, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Authentication Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthenticationRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthenticationRule(GetAuthenticationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthenticationRulePlain(GetAuthenticationRulePlainArgs args) { + return getAuthenticationRulePlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Authentication Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthenticationRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthenticationRule(GetAuthenticationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthenticationRule(GetAuthenticationRuleArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:deviceadmin/getAuthenticationRule:getAuthenticationRule", TypeShape.of(GetAuthenticationRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Device Admin Authentication Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthenticationRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthenticationRule(GetAuthenticationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthenticationRulePlain(GetAuthenticationRulePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:deviceadmin/getAuthenticationRule:getAuthenticationRule", TypeShape.of(GetAuthenticationRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Device Admin Authorization Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationExceptionRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthorizationExceptionRule(GetAuthorizationExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationExceptionRule(GetAuthorizationExceptionRuleArgs args) { + return getAuthorizationExceptionRule(args, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Authorization Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationExceptionRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthorizationExceptionRule(GetAuthorizationExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationExceptionRulePlain(GetAuthorizationExceptionRulePlainArgs args) { + return getAuthorizationExceptionRulePlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Authorization Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationExceptionRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthorizationExceptionRule(GetAuthorizationExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationExceptionRule(GetAuthorizationExceptionRuleArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:deviceadmin/getAuthorizationExceptionRule:getAuthorizationExceptionRule", TypeShape.of(GetAuthorizationExceptionRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Device Admin Authorization Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationExceptionRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthorizationExceptionRule(GetAuthorizationExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationExceptionRulePlain(GetAuthorizationExceptionRulePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:deviceadmin/getAuthorizationExceptionRule:getAuthorizationExceptionRule", TypeShape.of(GetAuthorizationExceptionRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Device Admin Authorization Global Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationGlobalExceptionRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationGlobalExceptionRule() { + return getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Authorization Global Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationGlobalExceptionRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationGlobalExceptionRulePlain() { + return getAuthorizationGlobalExceptionRulePlain(GetAuthorizationGlobalExceptionRulePlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Authorization Global Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationGlobalExceptionRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs args) { + return getAuthorizationGlobalExceptionRule(args, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Authorization Global Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationGlobalExceptionRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationGlobalExceptionRulePlain(GetAuthorizationGlobalExceptionRulePlainArgs args) { + return getAuthorizationGlobalExceptionRulePlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Authorization Global Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationGlobalExceptionRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:deviceadmin/getAuthorizationGlobalExceptionRule:getAuthorizationGlobalExceptionRule", TypeShape.of(GetAuthorizationGlobalExceptionRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Device Admin Authorization Global Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationGlobalExceptionRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationGlobalExceptionRulePlain(GetAuthorizationGlobalExceptionRulePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:deviceadmin/getAuthorizationGlobalExceptionRule:getAuthorizationGlobalExceptionRule", TypeShape.of(GetAuthorizationGlobalExceptionRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Device Admin Authorization Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthorizationRule(GetAuthorizationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationRule(GetAuthorizationRuleArgs args) { + return getAuthorizationRule(args, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Authorization Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthorizationRule(GetAuthorizationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationRulePlain(GetAuthorizationRulePlainArgs args) { + return getAuthorizationRulePlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Authorization Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthorizationRule(GetAuthorizationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationRule(GetAuthorizationRuleArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:deviceadmin/getAuthorizationRule:getAuthorizationRule", TypeShape.of(GetAuthorizationRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Device Admin Authorization Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetAuthorizationRuleArgs; + * 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) { + * final var example = DeviceadminFunctions.getAuthorizationRule(GetAuthorizationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationRulePlain(GetAuthorizationRulePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:deviceadmin/getAuthorizationRule:getAuthorizationRule", TypeShape.of(GetAuthorizationRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Device Admin Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetConditionArgs; + * 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) { + * final var example = DeviceadminFunctions.getCondition(GetConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getCondition() { + return getCondition(GetConditionArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetConditionArgs; + * 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) { + * final var example = DeviceadminFunctions.getCondition(GetConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getConditionPlain() { + return getConditionPlain(GetConditionPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetConditionArgs; + * 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) { + * final var example = DeviceadminFunctions.getCondition(GetConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getCondition(GetConditionArgs args) { + return getCondition(args, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetConditionArgs; + * 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) { + * final var example = DeviceadminFunctions.getCondition(GetConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getConditionPlain(GetConditionPlainArgs args) { + return getConditionPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetConditionArgs; + * 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) { + * final var example = DeviceadminFunctions.getCondition(GetConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getCondition(GetConditionArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:deviceadmin/getCondition:getCondition", TypeShape.of(GetConditionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Device Admin Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetConditionArgs; + * 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) { + * final var example = DeviceadminFunctions.getCondition(GetConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getConditionPlain(GetConditionPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:deviceadmin/getCondition:getCondition", TypeShape.of(GetConditionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Device Admin Policy Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetPolicySetArgs; + * 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) { + * final var example = DeviceadminFunctions.getPolicySet(GetPolicySetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getPolicySet() { + return getPolicySet(GetPolicySetArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Policy Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetPolicySetArgs; + * 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) { + * final var example = DeviceadminFunctions.getPolicySet(GetPolicySetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getPolicySetPlain() { + return getPolicySetPlain(GetPolicySetPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Policy Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetPolicySetArgs; + * 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) { + * final var example = DeviceadminFunctions.getPolicySet(GetPolicySetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getPolicySet(GetPolicySetArgs args) { + return getPolicySet(args, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Policy Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetPolicySetArgs; + * 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) { + * final var example = DeviceadminFunctions.getPolicySet(GetPolicySetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getPolicySetPlain(GetPolicySetPlainArgs args) { + return getPolicySetPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Policy Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetPolicySetArgs; + * 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) { + * final var example = DeviceadminFunctions.getPolicySet(GetPolicySetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getPolicySet(GetPolicySetArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:deviceadmin/getPolicySet:getPolicySet", TypeShape.of(GetPolicySetResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Device Admin Policy Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetPolicySetArgs; + * 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) { + * final var example = DeviceadminFunctions.getPolicySet(GetPolicySetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getPolicySetPlain(GetPolicySetPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:deviceadmin/getPolicySet:getPolicySet", TypeShape.of(GetPolicySetResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the TACACS Command Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTacacsCommandSetArgs; + * 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) { + * final var example = DeviceadminFunctions.getTacacsCommandSet(GetTacacsCommandSetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getTacacsCommandSet() { + return getTacacsCommandSet(GetTacacsCommandSetArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the TACACS Command Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTacacsCommandSetArgs; + * 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) { + * final var example = DeviceadminFunctions.getTacacsCommandSet(GetTacacsCommandSetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getTacacsCommandSetPlain() { + return getTacacsCommandSetPlain(GetTacacsCommandSetPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the TACACS Command Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTacacsCommandSetArgs; + * 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) { + * final var example = DeviceadminFunctions.getTacacsCommandSet(GetTacacsCommandSetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getTacacsCommandSet(GetTacacsCommandSetArgs args) { + return getTacacsCommandSet(args, InvokeOptions.Empty); + } + /** + * This data source can read the TACACS Command Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTacacsCommandSetArgs; + * 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) { + * final var example = DeviceadminFunctions.getTacacsCommandSet(GetTacacsCommandSetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getTacacsCommandSetPlain(GetTacacsCommandSetPlainArgs args) { + return getTacacsCommandSetPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the TACACS Command Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTacacsCommandSetArgs; + * 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) { + * final var example = DeviceadminFunctions.getTacacsCommandSet(GetTacacsCommandSetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getTacacsCommandSet(GetTacacsCommandSetArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:deviceadmin/getTacacsCommandSet:getTacacsCommandSet", TypeShape.of(GetTacacsCommandSetResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the TACACS Command Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTacacsCommandSetArgs; + * 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) { + * final var example = DeviceadminFunctions.getTacacsCommandSet(GetTacacsCommandSetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getTacacsCommandSetPlain(GetTacacsCommandSetPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:deviceadmin/getTacacsCommandSet:getTacacsCommandSet", TypeShape.of(GetTacacsCommandSetResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the TACACS Profile. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTacacsProfileArgs; + * 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) { + * final var example = DeviceadminFunctions.getTacacsProfile(GetTacacsProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getTacacsProfile() { + return getTacacsProfile(GetTacacsProfileArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the TACACS Profile. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTacacsProfileArgs; + * 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) { + * final var example = DeviceadminFunctions.getTacacsProfile(GetTacacsProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getTacacsProfilePlain() { + return getTacacsProfilePlain(GetTacacsProfilePlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the TACACS Profile. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTacacsProfileArgs; + * 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) { + * final var example = DeviceadminFunctions.getTacacsProfile(GetTacacsProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getTacacsProfile(GetTacacsProfileArgs args) { + return getTacacsProfile(args, InvokeOptions.Empty); + } + /** + * This data source can read the TACACS Profile. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTacacsProfileArgs; + * 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) { + * final var example = DeviceadminFunctions.getTacacsProfile(GetTacacsProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getTacacsProfilePlain(GetTacacsProfilePlainArgs args) { + return getTacacsProfilePlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the TACACS Profile. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTacacsProfileArgs; + * 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) { + * final var example = DeviceadminFunctions.getTacacsProfile(GetTacacsProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getTacacsProfile(GetTacacsProfileArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:deviceadmin/getTacacsProfile:getTacacsProfile", TypeShape.of(GetTacacsProfileResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the TACACS Profile. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTacacsProfileArgs; + * 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) { + * final var example = DeviceadminFunctions.getTacacsProfile(GetTacacsProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getTacacsProfilePlain(GetTacacsProfilePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:deviceadmin/getTacacsProfile:getTacacsProfile", TypeShape.of(GetTacacsProfileResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Device Admin Time And Date Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTimeAndDateConditionArgs; + * 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) { + * final var example = DeviceadminFunctions.getTimeAndDateCondition(GetTimeAndDateConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getTimeAndDateCondition() { + return getTimeAndDateCondition(GetTimeAndDateConditionArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Time And Date Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTimeAndDateConditionArgs; + * 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) { + * final var example = DeviceadminFunctions.getTimeAndDateCondition(GetTimeAndDateConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getTimeAndDateConditionPlain() { + return getTimeAndDateConditionPlain(GetTimeAndDateConditionPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Time And Date Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTimeAndDateConditionArgs; + * 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) { + * final var example = DeviceadminFunctions.getTimeAndDateCondition(GetTimeAndDateConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getTimeAndDateCondition(GetTimeAndDateConditionArgs args) { + return getTimeAndDateCondition(args, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Time And Date Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTimeAndDateConditionArgs; + * 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) { + * final var example = DeviceadminFunctions.getTimeAndDateCondition(GetTimeAndDateConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getTimeAndDateConditionPlain(GetTimeAndDateConditionPlainArgs args) { + return getTimeAndDateConditionPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Device Admin Time And Date Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTimeAndDateConditionArgs; + * 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) { + * final var example = DeviceadminFunctions.getTimeAndDateCondition(GetTimeAndDateConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getTimeAndDateCondition(GetTimeAndDateConditionArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:deviceadmin/getTimeAndDateCondition:getTimeAndDateCondition", TypeShape.of(GetTimeAndDateConditionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Device Admin Time And Date Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.DeviceadminFunctions; + * import com.pulumi.ise.deviceadmin.inputs.GetTimeAndDateConditionArgs; + * 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) { + * final var example = DeviceadminFunctions.getTimeAndDateCondition(GetTimeAndDateConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getTimeAndDateConditionPlain(GetTimeAndDateConditionPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:deviceadmin/getTimeAndDateCondition:getTimeAndDateCondition", TypeShape.of(GetTimeAndDateConditionResult.class), args, Utilities.withVersion(options)); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/PolicySet.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/PolicySet.java new file mode 100644 index 0000000..2733a80 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/PolicySet.java @@ -0,0 +1,360 @@ +// *** 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.deviceadmin; + +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.deviceadmin.PolicySetArgs; +import com.pulumi.ise.deviceadmin.inputs.PolicySetState; +import com.pulumi.ise.deviceadmin.outputs.PolicySetChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Device Admin Policy Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.PolicySet; + * import com.pulumi.ise.deviceadmin.PolicySetArgs; + * 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 PolicySet("example", PolicySetArgs.builder() + * .name("PolicySet1") + * .description("My description") + * .isProxy(false) + * .rank(0) + * .serviceName("Default Device Admin") + * .state("enabled") + * .conditionType("ConditionAttributes") + * .conditionIsNegate(false) + * .conditionAttributeName("Location") + * .conditionAttributeValue("All Locations") + * .conditionDictionaryName("DEVICE") + * .conditionOperator("equals") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:deviceadmin/policySet:PolicySet example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:deviceadmin/policySet:PolicySet") +public class PolicySet extends com.pulumi.resources.CustomResource { + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Export(name="childrens", refs={List.class,PolicySetChildren.class}, tree="[0,1]") + private Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Output>> childrens() { + return Codegen.optional(this.childrens); + } + /** + * Dictionary attribute name + * + */ + @Export(name="conditionAttributeName", refs={String.class}, tree="[0]") + private Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Output> conditionAttributeName() { + return Codegen.optional(this.conditionAttributeName); + } + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Export(name="conditionAttributeValue", refs={String.class}, tree="[0]") + private Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Output> conditionAttributeValue() { + return Codegen.optional(this.conditionAttributeValue); + } + /** + * Dictionary name + * + */ + @Export(name="conditionDictionaryName", refs={String.class}, tree="[0]") + private Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Output> conditionDictionaryName() { + return Codegen.optional(this.conditionDictionaryName); + } + /** + * Dictionary value + * + */ + @Export(name="conditionDictionaryValue", refs={String.class}, tree="[0]") + private Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Output> conditionDictionaryValue() { + return Codegen.optional(this.conditionDictionaryValue); + } + /** + * UUID for condition + * + */ + @Export(name="conditionId", refs={String.class}, tree="[0]") + private Output conditionId; + + /** + * @return UUID for condition + * + */ + public Output> conditionId() { + return Codegen.optional(this.conditionId); + } + /** + * Indicates whereas this condition is in negate mode + * + */ + @Export(name="conditionIsNegate", refs={Boolean.class}, tree="[0]") + private Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Output> conditionIsNegate() { + return Codegen.optional(this.conditionIsNegate); + } + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Export(name="conditionOperator", refs={String.class}, tree="[0]") + private Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Output> conditionOperator() { + return Codegen.optional(this.conditionOperator); + } + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Export(name="conditionType", refs={String.class}, tree="[0]") + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Output> conditionType() { + return Codegen.optional(this.conditionType); + } + /** + * Indicates if this policy set is the default one + * + */ + @Export(name="default", refs={Boolean.class}, tree="[0]") + private Output default_; + + /** + * @return Indicates if this policy set is the default one + * + */ + public Output> default_() { + return Codegen.optional(this.default_); + } + /** + * The description of the policy set + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return The description of the policy set + * + */ + public Output description() { + return this.description; + } + /** + * Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + @Export(name="isProxy", refs={Boolean.class}, tree="[0]") + private Output isProxy; + + /** + * @return Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + public Output> isProxy() { + return Codegen.optional(this.isProxy); + } + /** + * Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Output name() { + return this.name; + } + /** + * The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + @Export(name="rank", refs={Integer.class}, tree="[0]") + private Output rank; + + /** + * @return The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + public Output rank() { + return this.rank; + } + /** + * Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + @Export(name="serviceName", refs={String.class}, tree="[0]") + private Output serviceName; + + /** + * @return Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + public Output serviceName() { + return this.serviceName; + } + /** + * The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + */ + public Output> state() { + return Codegen.optional(this.state); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public PolicySet(String name) { + this(name, PolicySetArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public PolicySet(String name, PolicySetArgs 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 PolicySet(String name, PolicySetArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/policySet:PolicySet", name, args == null ? PolicySetArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private PolicySet(String name, Output id, @Nullable PolicySetState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/policySet:PolicySet", name, state, makeResourceOptions(options, id)); + } + + 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 PolicySet get(String name, Output id, @Nullable PolicySetState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new PolicySet(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/PolicySetArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/PolicySetArgs.java new file mode 100644 index 0000000..72a0e0b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/PolicySetArgs.java @@ -0,0 +1,676 @@ +// *** 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.deviceadmin; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.inputs.PolicySetChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PolicySetArgs extends com.pulumi.resources.ResourceArgs { + + public static final PolicySetArgs Empty = new PolicySetArgs(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this policy set is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this policy set is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * The description of the policy set + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return The description of the policy set + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + @Import(name="isProxy") + private @Nullable Output isProxy; + + /** + * @return Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + public Optional> isProxy() { + return Optional.ofNullable(this.isProxy); + } + + /** + * Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + @Import(name="serviceName", required=true) + private Output serviceName; + + /** + * @return Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + public Output serviceName() { + return this.serviceName; + } + + /** + * The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private PolicySetArgs() {} + + private PolicySetArgs(PolicySetArgs $) { + this.childrens = $.childrens; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.description = $.description; + this.isProxy = $.isProxy; + this.name = $.name; + this.rank = $.rank; + this.serviceName = $.serviceName; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PolicySetArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PolicySetArgs $; + + public Builder() { + $ = new PolicySetArgs(); + } + + public Builder(PolicySetArgs defaults) { + $ = new PolicySetArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(PolicySetChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this policy set is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this policy set is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param description The description of the policy set + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description The description of the policy set + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param isProxy Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + * @return builder + * + */ + public Builder isProxy(@Nullable Output isProxy) { + $.isProxy = isProxy; + return this; + } + + /** + * @param isProxy Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + * @return builder + * + */ + public Builder isProxy(Boolean isProxy) { + return isProxy(Output.of(isProxy)); + } + + /** + * @param name Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param rank The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param serviceName Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + * @return builder + * + */ + public Builder serviceName(Output serviceName) { + $.serviceName = serviceName; + return this; + } + + /** + * @param serviceName Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + * @return builder + * + */ + public Builder serviceName(String serviceName) { + return serviceName(Output.of(serviceName)); + } + + /** + * @param state The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public PolicySetArgs build() { + if ($.serviceName == null) { + throw new MissingRequiredPropertyException("PolicySetArgs", "serviceName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TacacsCommandSet.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TacacsCommandSet.java new file mode 100644 index 0000000..0708b5d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TacacsCommandSet.java @@ -0,0 +1,170 @@ +// *** 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.deviceadmin; + +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.deviceadmin.TacacsCommandSetArgs; +import com.pulumi.ise.deviceadmin.inputs.TacacsCommandSetState; +import com.pulumi.ise.deviceadmin.outputs.TacacsCommandSetCommand; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a TACACS Command Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.TacacsCommandSet; + * import com.pulumi.ise.deviceadmin.TacacsCommandSetArgs; + * import com.pulumi.ise.deviceadmin.inputs.TacacsCommandSetCommandArgs; + * 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 TacacsCommandSet("example", TacacsCommandSetArgs.builder() + * .name("CommandSet1") + * .description("My TACACS command set") + * .permitUnmatched(true) + * .commands(TacacsCommandSetCommandArgs.builder() + * .grant("PERMIT") + * .command("show") + * .arguments("") + * .build()) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:deviceadmin/tacacsCommandSet:TacacsCommandSet example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:deviceadmin/tacacsCommandSet:TacacsCommandSet") +public class TacacsCommandSet extends com.pulumi.resources.CustomResource { + @Export(name="commands", refs={List.class,TacacsCommandSetCommand.class}, tree="[0,1]") + private Output> commands; + + public Output>> commands() { + return Codegen.optional(this.commands); + } + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * The name of the TACACS command set + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the TACACS command set + * + */ + public Output name() { + return this.name; + } + /** + * Permit unmatched commands - Default value: `false` + * + */ + @Export(name="permitUnmatched", refs={Boolean.class}, tree="[0]") + private Output permitUnmatched; + + /** + * @return Permit unmatched commands - Default value: `false` + * + */ + public Output permitUnmatched() { + return this.permitUnmatched; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public TacacsCommandSet(String name) { + this(name, TacacsCommandSetArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public TacacsCommandSet(String name, @Nullable TacacsCommandSetArgs 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 TacacsCommandSet(String name, @Nullable TacacsCommandSetArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/tacacsCommandSet:TacacsCommandSet", name, args == null ? TacacsCommandSetArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private TacacsCommandSet(String name, Output id, @Nullable TacacsCommandSetState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/tacacsCommandSet:TacacsCommandSet", name, state, makeResourceOptions(options, id)); + } + + 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 TacacsCommandSet get(String name, Output id, @Nullable TacacsCommandSetState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new TacacsCommandSet(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TacacsCommandSetArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TacacsCommandSetArgs.java new file mode 100644 index 0000000..c707717 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TacacsCommandSetArgs.java @@ -0,0 +1,181 @@ +// *** 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.deviceadmin; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.deviceadmin.inputs.TacacsCommandSetCommandArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class TacacsCommandSetArgs extends com.pulumi.resources.ResourceArgs { + + public static final TacacsCommandSetArgs Empty = new TacacsCommandSetArgs(); + + @Import(name="commands") + private @Nullable Output> commands; + + public Optional>> commands() { + return Optional.ofNullable(this.commands); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the TACACS command set + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the TACACS command set + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Permit unmatched commands - Default value: `false` + * + */ + @Import(name="permitUnmatched") + private @Nullable Output permitUnmatched; + + /** + * @return Permit unmatched commands - Default value: `false` + * + */ + public Optional> permitUnmatched() { + return Optional.ofNullable(this.permitUnmatched); + } + + private TacacsCommandSetArgs() {} + + private TacacsCommandSetArgs(TacacsCommandSetArgs $) { + this.commands = $.commands; + this.description = $.description; + this.name = $.name; + this.permitUnmatched = $.permitUnmatched; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(TacacsCommandSetArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private TacacsCommandSetArgs $; + + public Builder() { + $ = new TacacsCommandSetArgs(); + } + + public Builder(TacacsCommandSetArgs defaults) { + $ = new TacacsCommandSetArgs(Objects.requireNonNull(defaults)); + } + + public Builder commands(@Nullable Output> commands) { + $.commands = commands; + return this; + } + + public Builder commands(List commands) { + return commands(Output.of(commands)); + } + + public Builder commands(TacacsCommandSetCommandArgs... commands) { + return commands(List.of(commands)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the TACACS command set + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the TACACS command set + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param permitUnmatched Permit unmatched commands - Default value: `false` + * + * @return builder + * + */ + public Builder permitUnmatched(@Nullable Output permitUnmatched) { + $.permitUnmatched = permitUnmatched; + return this; + } + + /** + * @param permitUnmatched Permit unmatched commands - Default value: `false` + * + * @return builder + * + */ + public Builder permitUnmatched(Boolean permitUnmatched) { + return permitUnmatched(Output.of(permitUnmatched)); + } + + public TacacsCommandSetArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TacacsProfile.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TacacsProfile.java new file mode 100644 index 0000000..1306b16 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TacacsProfile.java @@ -0,0 +1,154 @@ +// *** 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.deviceadmin; + +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.deviceadmin.TacacsProfileArgs; +import com.pulumi.ise.deviceadmin.inputs.TacacsProfileState; +import com.pulumi.ise.deviceadmin.outputs.TacacsProfileSessionAttribute; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a TACACS Profile. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.TacacsProfile; + * import com.pulumi.ise.deviceadmin.TacacsProfileArgs; + * import com.pulumi.ise.deviceadmin.inputs.TacacsProfileSessionAttributeArgs; + * 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 TacacsProfile("example", TacacsProfileArgs.builder() + * .name("Profile1") + * .description("My TACACS profile") + * .sessionAttributes(TacacsProfileSessionAttributeArgs.builder() + * .type("MANDATORY") + * .name("attr1") + * .value("value") + * .build()) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:deviceadmin/tacacsProfile:TacacsProfile example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:deviceadmin/tacacsProfile:TacacsProfile") +public class TacacsProfile extends com.pulumi.resources.CustomResource { + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * The name of the TACACS profile + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the TACACS profile + * + */ + public Output name() { + return this.name; + } + @Export(name="sessionAttributes", refs={List.class,TacacsProfileSessionAttribute.class}, tree="[0,1]") + private Output> sessionAttributes; + + public Output>> sessionAttributes() { + return Codegen.optional(this.sessionAttributes); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public TacacsProfile(String name) { + this(name, TacacsProfileArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public TacacsProfile(String name, @Nullable TacacsProfileArgs 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 TacacsProfile(String name, @Nullable TacacsProfileArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/tacacsProfile:TacacsProfile", name, args == null ? TacacsProfileArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private TacacsProfile(String name, Output id, @Nullable TacacsProfileState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/tacacsProfile:TacacsProfile", name, state, makeResourceOptions(options, id)); + } + + 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 TacacsProfile get(String name, Output id, @Nullable TacacsProfileState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new TacacsProfile(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TacacsProfileArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TacacsProfileArgs.java new file mode 100644 index 0000000..2e17b4b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TacacsProfileArgs.java @@ -0,0 +1,143 @@ +// *** 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.deviceadmin; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.deviceadmin.inputs.TacacsProfileSessionAttributeArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class TacacsProfileArgs extends com.pulumi.resources.ResourceArgs { + + public static final TacacsProfileArgs Empty = new TacacsProfileArgs(); + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the TACACS profile + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the TACACS profile + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + @Import(name="sessionAttributes") + private @Nullable Output> sessionAttributes; + + public Optional>> sessionAttributes() { + return Optional.ofNullable(this.sessionAttributes); + } + + private TacacsProfileArgs() {} + + private TacacsProfileArgs(TacacsProfileArgs $) { + this.description = $.description; + this.name = $.name; + this.sessionAttributes = $.sessionAttributes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(TacacsProfileArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private TacacsProfileArgs $; + + public Builder() { + $ = new TacacsProfileArgs(); + } + + public Builder(TacacsProfileArgs defaults) { + $ = new TacacsProfileArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the TACACS profile + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the TACACS profile + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public Builder sessionAttributes(@Nullable Output> sessionAttributes) { + $.sessionAttributes = sessionAttributes; + return this; + } + + public Builder sessionAttributes(List sessionAttributes) { + return sessionAttributes(Output.of(sessionAttributes)); + } + + public Builder sessionAttributes(TacacsProfileSessionAttributeArgs... sessionAttributes) { + return sessionAttributes(List.of(sessionAttributes)); + } + + public TacacsProfileArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TimeAndDateCondition.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TimeAndDateCondition.java new file mode 100644 index 0000000..24e2630 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TimeAndDateCondition.java @@ -0,0 +1,307 @@ +// *** 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.deviceadmin; + +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.deviceadmin.TimeAndDateConditionArgs; +import com.pulumi.ise.deviceadmin.inputs.TimeAndDateConditionState; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Device Admin Time And Date Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.deviceadmin.TimeAndDateCondition; + * import com.pulumi.ise.deviceadmin.TimeAndDateConditionArgs; + * 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 TimeAndDateCondition("example", TimeAndDateConditionArgs.builder() + * .name("Cond1") + * .description("My description") + * .isNegate(false) + * .weekDays("Monday") + * .weekDaysExceptions("Tuesday") + * .startDate("2022-05-06") + * .endDate("2022-05-10") + * .exceptionStartDate("2022-06-06") + * .exceptionEndDate("2022-06-10") + * .startTime("08:00") + * .endTime("15:00") + * .exceptionStartTime("20:00") + * .exceptionEndTime("22:00") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:deviceadmin/timeAndDateCondition:TimeAndDateCondition example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:deviceadmin/timeAndDateCondition:TimeAndDateCondition") +public class TimeAndDateCondition extends com.pulumi.resources.CustomResource { + /** + * Condition description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Condition description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * End date + * + */ + @Export(name="endDate", refs={String.class}, tree="[0]") + private Output endDate; + + /** + * @return End date + * + */ + public Output> endDate() { + return Codegen.optional(this.endDate); + } + /** + * End time + * + */ + @Export(name="endTime", refs={String.class}, tree="[0]") + private Output endTime; + + /** + * @return End time + * + */ + public Output> endTime() { + return Codegen.optional(this.endTime); + } + /** + * Exception end date + * + */ + @Export(name="exceptionEndDate", refs={String.class}, tree="[0]") + private Output exceptionEndDate; + + /** + * @return Exception end date + * + */ + public Output> exceptionEndDate() { + return Codegen.optional(this.exceptionEndDate); + } + /** + * Exception end time + * + */ + @Export(name="exceptionEndTime", refs={String.class}, tree="[0]") + private Output exceptionEndTime; + + /** + * @return Exception end time + * + */ + public Output> exceptionEndTime() { + return Codegen.optional(this.exceptionEndTime); + } + /** + * Exception start date + * + */ + @Export(name="exceptionStartDate", refs={String.class}, tree="[0]") + private Output exceptionStartDate; + + /** + * @return Exception start date + * + */ + public Output> exceptionStartDate() { + return Codegen.optional(this.exceptionStartDate); + } + /** + * Exception start time + * + */ + @Export(name="exceptionStartTime", refs={String.class}, tree="[0]") + private Output exceptionStartTime; + + /** + * @return Exception start time + * + */ + public Output> exceptionStartTime() { + return Codegen.optional(this.exceptionStartTime); + } + /** + * Indicates whereas this condition is in negate mode + * + */ + @Export(name="isNegate", refs={Boolean.class}, tree="[0]") + private Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Output> isNegate() { + return Codegen.optional(this.isNegate); + } + /** + * Condition name + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Condition name + * + */ + public Output name() { + return this.name; + } + /** + * Start date + * + */ + @Export(name="startDate", refs={String.class}, tree="[0]") + private Output startDate; + + /** + * @return Start date + * + */ + public Output> startDate() { + return Codegen.optional(this.startDate); + } + /** + * Start time + * + */ + @Export(name="startTime", refs={String.class}, tree="[0]") + private Output startTime; + + /** + * @return Start time + * + */ + public Output> startTime() { + return Codegen.optional(this.startTime); + } + /** + * Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + @Export(name="weekDays", refs={List.class,String.class}, tree="[0,1]") + private Output> weekDays; + + /** + * @return Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + public Output>> weekDays() { + return Codegen.optional(this.weekDays); + } + /** + * Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + @Export(name="weekDaysExceptions", refs={List.class,String.class}, tree="[0,1]") + private Output> weekDaysExceptions; + + /** + * @return Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + public Output>> weekDaysExceptions() { + return Codegen.optional(this.weekDaysExceptions); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public TimeAndDateCondition(String name) { + this(name, TimeAndDateConditionArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public TimeAndDateCondition(String name, @Nullable TimeAndDateConditionArgs 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 TimeAndDateCondition(String name, @Nullable TimeAndDateConditionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/timeAndDateCondition:TimeAndDateCondition", name, args == null ? TimeAndDateConditionArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private TimeAndDateCondition(String name, Output id, @Nullable TimeAndDateConditionState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:deviceadmin/timeAndDateCondition:TimeAndDateCondition", name, state, makeResourceOptions(options, id)); + } + + 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 TimeAndDateCondition get(String name, Output id, @Nullable TimeAndDateConditionState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new TimeAndDateCondition(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TimeAndDateConditionArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TimeAndDateConditionArgs.java new file mode 100644 index 0000000..59c666f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/TimeAndDateConditionArgs.java @@ -0,0 +1,549 @@ +// *** 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.deviceadmin; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class TimeAndDateConditionArgs extends com.pulumi.resources.ResourceArgs { + + public static final TimeAndDateConditionArgs Empty = new TimeAndDateConditionArgs(); + + /** + * Condition description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Condition description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * End date + * + */ + @Import(name="endDate") + private @Nullable Output endDate; + + /** + * @return End date + * + */ + public Optional> endDate() { + return Optional.ofNullable(this.endDate); + } + + /** + * End time + * + */ + @Import(name="endTime") + private @Nullable Output endTime; + + /** + * @return End time + * + */ + public Optional> endTime() { + return Optional.ofNullable(this.endTime); + } + + /** + * Exception end date + * + */ + @Import(name="exceptionEndDate") + private @Nullable Output exceptionEndDate; + + /** + * @return Exception end date + * + */ + public Optional> exceptionEndDate() { + return Optional.ofNullable(this.exceptionEndDate); + } + + /** + * Exception end time + * + */ + @Import(name="exceptionEndTime") + private @Nullable Output exceptionEndTime; + + /** + * @return Exception end time + * + */ + public Optional> exceptionEndTime() { + return Optional.ofNullable(this.exceptionEndTime); + } + + /** + * Exception start date + * + */ + @Import(name="exceptionStartDate") + private @Nullable Output exceptionStartDate; + + /** + * @return Exception start date + * + */ + public Optional> exceptionStartDate() { + return Optional.ofNullable(this.exceptionStartDate); + } + + /** + * Exception start time + * + */ + @Import(name="exceptionStartTime") + private @Nullable Output exceptionStartTime; + + /** + * @return Exception start time + * + */ + public Optional> exceptionStartTime() { + return Optional.ofNullable(this.exceptionStartTime); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Start date + * + */ + @Import(name="startDate") + private @Nullable Output startDate; + + /** + * @return Start date + * + */ + public Optional> startDate() { + return Optional.ofNullable(this.startDate); + } + + /** + * Start time + * + */ + @Import(name="startTime") + private @Nullable Output startTime; + + /** + * @return Start time + * + */ + public Optional> startTime() { + return Optional.ofNullable(this.startTime); + } + + /** + * Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + @Import(name="weekDays") + private @Nullable Output> weekDays; + + /** + * @return Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + public Optional>> weekDays() { + return Optional.ofNullable(this.weekDays); + } + + /** + * Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + @Import(name="weekDaysExceptions") + private @Nullable Output> weekDaysExceptions; + + /** + * @return Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + public Optional>> weekDaysExceptions() { + return Optional.ofNullable(this.weekDaysExceptions); + } + + private TimeAndDateConditionArgs() {} + + private TimeAndDateConditionArgs(TimeAndDateConditionArgs $) { + this.description = $.description; + this.endDate = $.endDate; + this.endTime = $.endTime; + this.exceptionEndDate = $.exceptionEndDate; + this.exceptionEndTime = $.exceptionEndTime; + this.exceptionStartDate = $.exceptionStartDate; + this.exceptionStartTime = $.exceptionStartTime; + this.isNegate = $.isNegate; + this.name = $.name; + this.startDate = $.startDate; + this.startTime = $.startTime; + this.weekDays = $.weekDays; + this.weekDaysExceptions = $.weekDaysExceptions; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(TimeAndDateConditionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private TimeAndDateConditionArgs $; + + public Builder() { + $ = new TimeAndDateConditionArgs(); + } + + public Builder(TimeAndDateConditionArgs defaults) { + $ = new TimeAndDateConditionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param endDate End date + * + * @return builder + * + */ + public Builder endDate(@Nullable Output endDate) { + $.endDate = endDate; + return this; + } + + /** + * @param endDate End date + * + * @return builder + * + */ + public Builder endDate(String endDate) { + return endDate(Output.of(endDate)); + } + + /** + * @param endTime End time + * + * @return builder + * + */ + public Builder endTime(@Nullable Output endTime) { + $.endTime = endTime; + return this; + } + + /** + * @param endTime End time + * + * @return builder + * + */ + public Builder endTime(String endTime) { + return endTime(Output.of(endTime)); + } + + /** + * @param exceptionEndDate Exception end date + * + * @return builder + * + */ + public Builder exceptionEndDate(@Nullable Output exceptionEndDate) { + $.exceptionEndDate = exceptionEndDate; + return this; + } + + /** + * @param exceptionEndDate Exception end date + * + * @return builder + * + */ + public Builder exceptionEndDate(String exceptionEndDate) { + return exceptionEndDate(Output.of(exceptionEndDate)); + } + + /** + * @param exceptionEndTime Exception end time + * + * @return builder + * + */ + public Builder exceptionEndTime(@Nullable Output exceptionEndTime) { + $.exceptionEndTime = exceptionEndTime; + return this; + } + + /** + * @param exceptionEndTime Exception end time + * + * @return builder + * + */ + public Builder exceptionEndTime(String exceptionEndTime) { + return exceptionEndTime(Output.of(exceptionEndTime)); + } + + /** + * @param exceptionStartDate Exception start date + * + * @return builder + * + */ + public Builder exceptionStartDate(@Nullable Output exceptionStartDate) { + $.exceptionStartDate = exceptionStartDate; + return this; + } + + /** + * @param exceptionStartDate Exception start date + * + * @return builder + * + */ + public Builder exceptionStartDate(String exceptionStartDate) { + return exceptionStartDate(Output.of(exceptionStartDate)); + } + + /** + * @param exceptionStartTime Exception start time + * + * @return builder + * + */ + public Builder exceptionStartTime(@Nullable Output exceptionStartTime) { + $.exceptionStartTime = exceptionStartTime; + return this; + } + + /** + * @param exceptionStartTime Exception start time + * + * @return builder + * + */ + public Builder exceptionStartTime(String exceptionStartTime) { + return exceptionStartTime(Output.of(exceptionStartTime)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param startDate Start date + * + * @return builder + * + */ + public Builder startDate(@Nullable Output startDate) { + $.startDate = startDate; + return this; + } + + /** + * @param startDate Start date + * + * @return builder + * + */ + public Builder startDate(String startDate) { + return startDate(Output.of(startDate)); + } + + /** + * @param startTime Start time + * + * @return builder + * + */ + public Builder startTime(@Nullable Output startTime) { + $.startTime = startTime; + return this; + } + + /** + * @param startTime Start time + * + * @return builder + * + */ + public Builder startTime(String startTime) { + return startTime(Output.of(startTime)); + } + + /** + * @param weekDays Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + * @return builder + * + */ + public Builder weekDays(@Nullable Output> weekDays) { + $.weekDays = weekDays; + return this; + } + + /** + * @param weekDays Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + * @return builder + * + */ + public Builder weekDays(List weekDays) { + return weekDays(Output.of(weekDays)); + } + + /** + * @param weekDays Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + * @return builder + * + */ + public Builder weekDays(String... weekDays) { + return weekDays(List.of(weekDays)); + } + + /** + * @param weekDaysExceptions Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + * @return builder + * + */ + public Builder weekDaysExceptions(@Nullable Output> weekDaysExceptions) { + $.weekDaysExceptions = weekDaysExceptions; + return this; + } + + /** + * @param weekDaysExceptions Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + * @return builder + * + */ + public Builder weekDaysExceptions(List weekDaysExceptions) { + return weekDaysExceptions(Output.of(weekDaysExceptions)); + } + + /** + * @param weekDaysExceptions Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + * @return builder + * + */ + public Builder weekDaysExceptions(String... weekDaysExceptions) { + return weekDaysExceptions(List.of(weekDaysExceptions)); + } + + public TimeAndDateConditionArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AllowedProtocolsTacacsState.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AllowedProtocolsTacacsState.java new file mode 100644 index 0000000..509d0be --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AllowedProtocolsTacacsState.java @@ -0,0 +1,232 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AllowedProtocolsTacacsState extends com.pulumi.resources.ResourceArgs { + + public static final AllowedProtocolsTacacsState Empty = new AllowedProtocolsTacacsState(); + + /** + * Allow CHAP + * + */ + @Import(name="allowChap") + private @Nullable Output allowChap; + + /** + * @return Allow CHAP + * + */ + public Optional> allowChap() { + return Optional.ofNullable(this.allowChap); + } + + /** + * Allow MS CHAP v1 + * + */ + @Import(name="allowMsChapV1") + private @Nullable Output allowMsChapV1; + + /** + * @return Allow MS CHAP v1 + * + */ + public Optional> allowMsChapV1() { + return Optional.ofNullable(this.allowMsChapV1); + } + + /** + * Allow PAP ASCII + * + */ + @Import(name="allowPapAscii") + private @Nullable Output allowPapAscii; + + /** + * @return Allow PAP ASCII + * + */ + public Optional> allowPapAscii() { + return Optional.ofNullable(this.allowPapAscii); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the allowed protocols + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the allowed protocols + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private AllowedProtocolsTacacsState() {} + + private AllowedProtocolsTacacsState(AllowedProtocolsTacacsState $) { + this.allowChap = $.allowChap; + this.allowMsChapV1 = $.allowMsChapV1; + this.allowPapAscii = $.allowPapAscii; + this.description = $.description; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AllowedProtocolsTacacsState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AllowedProtocolsTacacsState $; + + public Builder() { + $ = new AllowedProtocolsTacacsState(); + } + + public Builder(AllowedProtocolsTacacsState defaults) { + $ = new AllowedProtocolsTacacsState(Objects.requireNonNull(defaults)); + } + + /** + * @param allowChap Allow CHAP + * + * @return builder + * + */ + public Builder allowChap(@Nullable Output allowChap) { + $.allowChap = allowChap; + return this; + } + + /** + * @param allowChap Allow CHAP + * + * @return builder + * + */ + public Builder allowChap(Boolean allowChap) { + return allowChap(Output.of(allowChap)); + } + + /** + * @param allowMsChapV1 Allow MS CHAP v1 + * + * @return builder + * + */ + public Builder allowMsChapV1(@Nullable Output allowMsChapV1) { + $.allowMsChapV1 = allowMsChapV1; + return this; + } + + /** + * @param allowMsChapV1 Allow MS CHAP v1 + * + * @return builder + * + */ + public Builder allowMsChapV1(Boolean allowMsChapV1) { + return allowMsChapV1(Output.of(allowMsChapV1)); + } + + /** + * @param allowPapAscii Allow PAP ASCII + * + * @return builder + * + */ + public Builder allowPapAscii(@Nullable Output allowPapAscii) { + $.allowPapAscii = allowPapAscii; + return this; + } + + /** + * @param allowPapAscii Allow PAP ASCII + * + * @return builder + * + */ + public Builder allowPapAscii(Boolean allowPapAscii) { + return allowPapAscii(Output.of(allowPapAscii)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the allowed protocols + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the allowed protocols + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public AllowedProtocolsTacacsState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthenticationRuleChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthenticationRuleChildrenArgs.java new file mode 100644 index 0000000..d4d846b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthenticationRuleChildrenArgs.java @@ -0,0 +1,404 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.inputs.AuthenticationRuleChildrenChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticationRuleChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticationRuleChildrenArgs Empty = new AuthenticationRuleChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthenticationRuleChildrenArgs() {} + + private AuthenticationRuleChildrenArgs(AuthenticationRuleChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticationRuleChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticationRuleChildrenArgs $; + + public Builder() { + $ = new AuthenticationRuleChildrenArgs(); + } + + public Builder(AuthenticationRuleChildrenArgs defaults) { + $ = new AuthenticationRuleChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthenticationRuleChildrenChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthenticationRuleChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthenticationRuleChildrenChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthenticationRuleChildrenChildrenArgs.java new file mode 100644 index 0000000..ad2253a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthenticationRuleChildrenChildrenArgs.java @@ -0,0 +1,355 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticationRuleChildrenChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticationRuleChildrenChildrenArgs Empty = new AuthenticationRuleChildrenChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthenticationRuleChildrenChildrenArgs() {} + + private AuthenticationRuleChildrenChildrenArgs(AuthenticationRuleChildrenChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticationRuleChildrenChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticationRuleChildrenChildrenArgs $; + + public Builder() { + $ = new AuthenticationRuleChildrenChildrenArgs(); + } + + public Builder(AuthenticationRuleChildrenChildrenArgs defaults) { + $ = new AuthenticationRuleChildrenChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthenticationRuleChildrenChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleChildrenChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthenticationRuleState.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthenticationRuleState.java new file mode 100644 index 0000000..924fabd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthenticationRuleState.java @@ -0,0 +1,746 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.deviceadmin.inputs.AuthenticationRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticationRuleState extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticationRuleState Empty = new AuthenticationRuleState(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Identity source name from the identity stores + * + */ + @Import(name="identitySourceName") + private @Nullable Output identitySourceName; + + /** + * @return Identity source name from the identity stores + * + */ + public Optional> identitySourceName() { + return Optional.ofNullable(this.identitySourceName); + } + + /** + * Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + */ + @Import(name="ifAuthFail") + private @Nullable Output ifAuthFail; + + /** + * @return Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + */ + public Optional> ifAuthFail() { + return Optional.ofNullable(this.ifAuthFail); + } + + /** + * Action to perform when ISE is unable to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + @Import(name="ifProcessFail") + private @Nullable Output ifProcessFail; + + /** + * @return Action to perform when ISE is unable to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + public Optional> ifProcessFail() { + return Optional.ofNullable(this.ifProcessFail); + } + + /** + * Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + @Import(name="ifUserNotFound") + private @Nullable Output ifUserNotFound; + + /** + * @return Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + public Optional> ifUserNotFound() { + return Optional.ofNullable(this.ifUserNotFound); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId") + private @Nullable Output policySetId; + + /** + * @return Policy set ID + * + */ + public Optional> policySetId() { + return Optional.ofNullable(this.policySetId); + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthenticationRuleState() {} + + private AuthenticationRuleState(AuthenticationRuleState $) { + this.childrens = $.childrens; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.identitySourceName = $.identitySourceName; + this.ifAuthFail = $.ifAuthFail; + this.ifProcessFail = $.ifProcessFail; + this.ifUserNotFound = $.ifUserNotFound; + this.name = $.name; + this.policySetId = $.policySetId; + this.rank = $.rank; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticationRuleState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticationRuleState $; + + public Builder() { + $ = new AuthenticationRuleState(); + } + + public Builder(AuthenticationRuleState defaults) { + $ = new AuthenticationRuleState(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthenticationRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param identitySourceName Identity source name from the identity stores + * + * @return builder + * + */ + public Builder identitySourceName(@Nullable Output identitySourceName) { + $.identitySourceName = identitySourceName; + return this; + } + + /** + * @param identitySourceName Identity source name from the identity stores + * + * @return builder + * + */ + public Builder identitySourceName(String identitySourceName) { + return identitySourceName(Output.of(identitySourceName)); + } + + /** + * @param ifAuthFail Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifAuthFail(@Nullable Output ifAuthFail) { + $.ifAuthFail = ifAuthFail; + return this; + } + + /** + * @param ifAuthFail Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifAuthFail(String ifAuthFail) { + return ifAuthFail(Output.of(ifAuthFail)); + } + + /** + * @param ifProcessFail Action to perform when ISE is unable to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifProcessFail(@Nullable Output ifProcessFail) { + $.ifProcessFail = ifProcessFail; + return this; + } + + /** + * @param ifProcessFail Action to perform when ISE is unable to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifProcessFail(String ifProcessFail) { + return ifProcessFail(Output.of(ifProcessFail)); + } + + /** + * @param ifUserNotFound Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifUserNotFound(@Nullable Output ifUserNotFound) { + $.ifUserNotFound = ifUserNotFound; + return this; + } + + /** + * @param ifUserNotFound Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifUserNotFound(String ifUserNotFound) { + return ifUserNotFound(Output.of(ifUserNotFound)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(@Nullable Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthenticationRuleState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationExceptionRuleChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationExceptionRuleChildrenArgs.java new file mode 100644 index 0000000..6f4dede --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationExceptionRuleChildrenArgs.java @@ -0,0 +1,404 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.inputs.AuthorizationExceptionRuleChildrenChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationExceptionRuleChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationExceptionRuleChildrenArgs Empty = new AuthorizationExceptionRuleChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthorizationExceptionRuleChildrenArgs() {} + + private AuthorizationExceptionRuleChildrenArgs(AuthorizationExceptionRuleChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationExceptionRuleChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationExceptionRuleChildrenArgs $; + + public Builder() { + $ = new AuthorizationExceptionRuleChildrenArgs(); + } + + public Builder(AuthorizationExceptionRuleChildrenArgs defaults) { + $ = new AuthorizationExceptionRuleChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationExceptionRuleChildrenChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthorizationExceptionRuleChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationExceptionRuleChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationExceptionRuleChildrenChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationExceptionRuleChildrenChildrenArgs.java new file mode 100644 index 0000000..cef6e30 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationExceptionRuleChildrenChildrenArgs.java @@ -0,0 +1,355 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationExceptionRuleChildrenChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationExceptionRuleChildrenChildrenArgs Empty = new AuthorizationExceptionRuleChildrenChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthorizationExceptionRuleChildrenChildrenArgs() {} + + private AuthorizationExceptionRuleChildrenChildrenArgs(AuthorizationExceptionRuleChildrenChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationExceptionRuleChildrenChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationExceptionRuleChildrenChildrenArgs $; + + public Builder() { + $ = new AuthorizationExceptionRuleChildrenChildrenArgs(); + } + + public Builder(AuthorizationExceptionRuleChildrenChildrenArgs defaults) { + $ = new AuthorizationExceptionRuleChildrenChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthorizationExceptionRuleChildrenChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationExceptionRuleChildrenChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationExceptionRuleState.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationExceptionRuleState.java new file mode 100644 index 0000000..cae28db --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationExceptionRuleState.java @@ -0,0 +1,678 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.deviceadmin.inputs.AuthorizationExceptionRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationExceptionRuleState extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationExceptionRuleState Empty = new AuthorizationExceptionRuleState(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + @Import(name="commandSets") + private @Nullable Output> commandSets; + + /** + * @return Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + public Optional>> commandSets() { + return Optional.ofNullable(this.commandSets); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId") + private @Nullable Output policySetId; + + /** + * @return Policy set ID + * + */ + public Optional> policySetId() { + return Optional.ofNullable(this.policySetId); + } + + /** + * Device admin profiles control the initial login session of the device administrator + * + */ + @Import(name="profile") + private @Nullable Output profile; + + /** + * @return Device admin profiles control the initial login session of the device administrator + * + */ + public Optional> profile() { + return Optional.ofNullable(this.profile); + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthorizationExceptionRuleState() {} + + private AuthorizationExceptionRuleState(AuthorizationExceptionRuleState $) { + this.childrens = $.childrens; + this.commandSets = $.commandSets; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.name = $.name; + this.policySetId = $.policySetId; + this.profile = $.profile; + this.rank = $.rank; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationExceptionRuleState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationExceptionRuleState $; + + public Builder() { + $ = new AuthorizationExceptionRuleState(); + } + + public Builder(AuthorizationExceptionRuleState defaults) { + $ = new AuthorizationExceptionRuleState(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationExceptionRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(@Nullable Output> commandSets) { + $.commandSets = commandSets; + return this; + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(List commandSets) { + return commandSets(Output.of(commandSets)); + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(String... commandSets) { + return commandSets(List.of(commandSets)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(@Nullable Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + /** + * @param profile Device admin profiles control the initial login session of the device administrator + * + * @return builder + * + */ + public Builder profile(@Nullable Output profile) { + $.profile = profile; + return this; + } + + /** + * @param profile Device admin profiles control the initial login session of the device administrator + * + * @return builder + * + */ + public Builder profile(String profile) { + return profile(Output.of(profile)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthorizationExceptionRuleState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationGlobalExceptionRuleChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationGlobalExceptionRuleChildrenArgs.java new file mode 100644 index 0000000..a066001 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationGlobalExceptionRuleChildrenArgs.java @@ -0,0 +1,404 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.inputs.AuthorizationGlobalExceptionRuleChildrenChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationGlobalExceptionRuleChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationGlobalExceptionRuleChildrenArgs Empty = new AuthorizationGlobalExceptionRuleChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthorizationGlobalExceptionRuleChildrenArgs() {} + + private AuthorizationGlobalExceptionRuleChildrenArgs(AuthorizationGlobalExceptionRuleChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationGlobalExceptionRuleChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationGlobalExceptionRuleChildrenArgs $; + + public Builder() { + $ = new AuthorizationGlobalExceptionRuleChildrenArgs(); + } + + public Builder(AuthorizationGlobalExceptionRuleChildrenArgs defaults) { + $ = new AuthorizationGlobalExceptionRuleChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationGlobalExceptionRuleChildrenChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthorizationGlobalExceptionRuleChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationGlobalExceptionRuleChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationGlobalExceptionRuleChildrenChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationGlobalExceptionRuleChildrenChildrenArgs.java new file mode 100644 index 0000000..e892a3f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationGlobalExceptionRuleChildrenChildrenArgs.java @@ -0,0 +1,355 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationGlobalExceptionRuleChildrenChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationGlobalExceptionRuleChildrenChildrenArgs Empty = new AuthorizationGlobalExceptionRuleChildrenChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthorizationGlobalExceptionRuleChildrenChildrenArgs() {} + + private AuthorizationGlobalExceptionRuleChildrenChildrenArgs(AuthorizationGlobalExceptionRuleChildrenChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationGlobalExceptionRuleChildrenChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationGlobalExceptionRuleChildrenChildrenArgs $; + + public Builder() { + $ = new AuthorizationGlobalExceptionRuleChildrenChildrenArgs(); + } + + public Builder(AuthorizationGlobalExceptionRuleChildrenChildrenArgs defaults) { + $ = new AuthorizationGlobalExceptionRuleChildrenChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthorizationGlobalExceptionRuleChildrenChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationGlobalExceptionRuleChildrenChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationGlobalExceptionRuleState.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationGlobalExceptionRuleState.java new file mode 100644 index 0000000..291bf26 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationGlobalExceptionRuleState.java @@ -0,0 +1,641 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.deviceadmin.inputs.AuthorizationGlobalExceptionRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationGlobalExceptionRuleState extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationGlobalExceptionRuleState Empty = new AuthorizationGlobalExceptionRuleState(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + @Import(name="commandSets") + private @Nullable Output> commandSets; + + /** + * @return Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + public Optional>> commandSets() { + return Optional.ofNullable(this.commandSets); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Device admin profiles control the initial login session of the device administrator + * + */ + @Import(name="profile") + private @Nullable Output profile; + + /** + * @return Device admin profiles control the initial login session of the device administrator + * + */ + public Optional> profile() { + return Optional.ofNullable(this.profile); + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthorizationGlobalExceptionRuleState() {} + + private AuthorizationGlobalExceptionRuleState(AuthorizationGlobalExceptionRuleState $) { + this.childrens = $.childrens; + this.commandSets = $.commandSets; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.name = $.name; + this.profile = $.profile; + this.rank = $.rank; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationGlobalExceptionRuleState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationGlobalExceptionRuleState $; + + public Builder() { + $ = new AuthorizationGlobalExceptionRuleState(); + } + + public Builder(AuthorizationGlobalExceptionRuleState defaults) { + $ = new AuthorizationGlobalExceptionRuleState(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationGlobalExceptionRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(@Nullable Output> commandSets) { + $.commandSets = commandSets; + return this; + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(List commandSets) { + return commandSets(Output.of(commandSets)); + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(String... commandSets) { + return commandSets(List.of(commandSets)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param profile Device admin profiles control the initial login session of the device administrator + * + * @return builder + * + */ + public Builder profile(@Nullable Output profile) { + $.profile = profile; + return this; + } + + /** + * @param profile Device admin profiles control the initial login session of the device administrator + * + * @return builder + * + */ + public Builder profile(String profile) { + return profile(Output.of(profile)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthorizationGlobalExceptionRuleState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationRuleChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationRuleChildrenArgs.java new file mode 100644 index 0000000..e8b36b2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationRuleChildrenArgs.java @@ -0,0 +1,404 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.inputs.AuthorizationRuleChildrenChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationRuleChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationRuleChildrenArgs Empty = new AuthorizationRuleChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthorizationRuleChildrenArgs() {} + + private AuthorizationRuleChildrenArgs(AuthorizationRuleChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationRuleChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationRuleChildrenArgs $; + + public Builder() { + $ = new AuthorizationRuleChildrenArgs(); + } + + public Builder(AuthorizationRuleChildrenArgs defaults) { + $ = new AuthorizationRuleChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationRuleChildrenChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthorizationRuleChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationRuleChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationRuleChildrenChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationRuleChildrenChildrenArgs.java new file mode 100644 index 0000000..5ca8390 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationRuleChildrenChildrenArgs.java @@ -0,0 +1,355 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationRuleChildrenChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationRuleChildrenChildrenArgs Empty = new AuthorizationRuleChildrenChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthorizationRuleChildrenChildrenArgs() {} + + private AuthorizationRuleChildrenChildrenArgs(AuthorizationRuleChildrenChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationRuleChildrenChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationRuleChildrenChildrenArgs $; + + public Builder() { + $ = new AuthorizationRuleChildrenChildrenArgs(); + } + + public Builder(AuthorizationRuleChildrenChildrenArgs defaults) { + $ = new AuthorizationRuleChildrenChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthorizationRuleChildrenChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationRuleChildrenChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationRuleState.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationRuleState.java new file mode 100644 index 0000000..6741760 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/AuthorizationRuleState.java @@ -0,0 +1,678 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.deviceadmin.inputs.AuthorizationRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationRuleState extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationRuleState Empty = new AuthorizationRuleState(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + @Import(name="commandSets") + private @Nullable Output> commandSets; + + /** + * @return Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + public Optional>> commandSets() { + return Optional.ofNullable(this.commandSets); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId") + private @Nullable Output policySetId; + + /** + * @return Policy set ID + * + */ + public Optional> policySetId() { + return Optional.ofNullable(this.policySetId); + } + + /** + * Device admin profiles control the initial login session of the device administrator + * + */ + @Import(name="profile") + private @Nullable Output profile; + + /** + * @return Device admin profiles control the initial login session of the device administrator + * + */ + public Optional> profile() { + return Optional.ofNullable(this.profile); + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthorizationRuleState() {} + + private AuthorizationRuleState(AuthorizationRuleState $) { + this.childrens = $.childrens; + this.commandSets = $.commandSets; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.name = $.name; + this.policySetId = $.policySetId; + this.profile = $.profile; + this.rank = $.rank; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationRuleState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationRuleState $; + + public Builder() { + $ = new AuthorizationRuleState(); + } + + public Builder(AuthorizationRuleState defaults) { + $ = new AuthorizationRuleState(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(@Nullable Output> commandSets) { + $.commandSets = commandSets; + return this; + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(List commandSets) { + return commandSets(Output.of(commandSets)); + } + + /** + * @param commandSets Command sets enforce the specified list of commands that can be executed by a device administrator + * + * @return builder + * + */ + public Builder commandSets(String... commandSets) { + return commandSets(List.of(commandSets)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(@Nullable Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + /** + * @param profile Device admin profiles control the initial login session of the device administrator + * + * @return builder + * + */ + public Builder profile(@Nullable Output profile) { + $.profile = profile; + return this; + } + + /** + * @param profile Device admin profiles control the initial login session of the device administrator + * + * @return builder + * + */ + public Builder profile(String profile) { + return profile(Output.of(profile)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthorizationRuleState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/ConditionChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/ConditionChildrenArgs.java new file mode 100644 index 0000000..8f3158b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/ConditionChildrenArgs.java @@ -0,0 +1,478 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.inputs.ConditionChildrenChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ConditionChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final ConditionChildrenArgs Empty = new ConditionChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Condition description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Condition description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private ConditionChildrenArgs() {} + + private ConditionChildrenArgs(ConditionChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.description = $.description; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.name = $.name; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ConditionChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ConditionChildrenArgs $; + + public Builder() { + $ = new ConditionChildrenArgs(); + } + + public Builder(ConditionChildrenArgs defaults) { + $ = new ConditionChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(ConditionChildrenChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public ConditionChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("ConditionChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/ConditionChildrenChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/ConditionChildrenChildrenArgs.java new file mode 100644 index 0000000..fc749f9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/ConditionChildrenChildrenArgs.java @@ -0,0 +1,429 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ConditionChildrenChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final ConditionChildrenChildrenArgs Empty = new ConditionChildrenChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Condition description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Condition description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private ConditionChildrenChildrenArgs() {} + + private ConditionChildrenChildrenArgs(ConditionChildrenChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.conditionType = $.conditionType; + this.description = $.description; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.name = $.name; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ConditionChildrenChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ConditionChildrenChildrenArgs $; + + public Builder() { + $ = new ConditionChildrenChildrenArgs(); + } + + public Builder(ConditionChildrenChildrenArgs defaults) { + $ = new ConditionChildrenChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public ConditionChildrenChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("ConditionChildrenChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/ConditionState.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/ConditionState.java new file mode 100644 index 0000000..3865890 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/ConditionState.java @@ -0,0 +1,445 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.deviceadmin.inputs.ConditionChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ConditionState extends com.pulumi.resources.ResourceArgs { + + public static final ConditionState Empty = new ConditionState(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Condition description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Condition description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private ConditionState() {} + + private ConditionState(ConditionState $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.description = $.description; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.isNegate = $.isNegate; + this.name = $.name; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ConditionState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ConditionState $; + + public Builder() { + $ = new ConditionState(); + } + + public Builder(ConditionState defaults) { + $ = new ConditionState(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(ConditionChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param operator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public ConditionState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAllowedProtocolsTacacsArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAllowedProtocolsTacacsArgs.java new file mode 100644 index 0000000..eb34b4a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAllowedProtocolsTacacsArgs.java @@ -0,0 +1,120 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAllowedProtocolsTacacsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAllowedProtocolsTacacsArgs Empty = new GetAllowedProtocolsTacacsArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the allowed protocols + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the allowed protocols + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetAllowedProtocolsTacacsArgs() {} + + private GetAllowedProtocolsTacacsArgs(GetAllowedProtocolsTacacsArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAllowedProtocolsTacacsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAllowedProtocolsTacacsArgs $; + + public Builder() { + $ = new GetAllowedProtocolsTacacsArgs(); + } + + public Builder(GetAllowedProtocolsTacacsArgs defaults) { + $ = new GetAllowedProtocolsTacacsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the allowed protocols + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the allowed protocols + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetAllowedProtocolsTacacsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAllowedProtocolsTacacsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAllowedProtocolsTacacsPlainArgs.java new file mode 100644 index 0000000..5cbb45e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAllowedProtocolsTacacsPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAllowedProtocolsTacacsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAllowedProtocolsTacacsPlainArgs Empty = new GetAllowedProtocolsTacacsPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the allowed protocols + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the allowed protocols + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetAllowedProtocolsTacacsPlainArgs() {} + + private GetAllowedProtocolsTacacsPlainArgs(GetAllowedProtocolsTacacsPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAllowedProtocolsTacacsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAllowedProtocolsTacacsPlainArgs $; + + public Builder() { + $ = new GetAllowedProtocolsTacacsPlainArgs(); + } + + public Builder(GetAllowedProtocolsTacacsPlainArgs defaults) { + $ = new GetAllowedProtocolsTacacsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the allowed protocols + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetAllowedProtocolsTacacsPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthenticationRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthenticationRuleArgs.java new file mode 100644 index 0000000..ddda883 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthenticationRuleArgs.java @@ -0,0 +1,161 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthenticationRuleArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthenticationRuleArgs Empty = new GetAuthenticationRuleArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + + private GetAuthenticationRuleArgs() {} + + private GetAuthenticationRuleArgs(GetAuthenticationRuleArgs $) { + this.id = $.id; + this.name = $.name; + this.policySetId = $.policySetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticationRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticationRuleArgs $; + + public Builder() { + $ = new GetAuthenticationRuleArgs(); + } + + public Builder(GetAuthenticationRuleArgs defaults) { + $ = new GetAuthenticationRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + public GetAuthenticationRuleArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthenticationRulePlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthenticationRulePlainArgs.java new file mode 100644 index 0000000..9b9250b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthenticationRulePlainArgs.java @@ -0,0 +1,130 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthenticationRulePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthenticationRulePlainArgs Empty = new GetAuthenticationRulePlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private String policySetId; + + /** + * @return Policy set ID + * + */ + public String policySetId() { + return this.policySetId; + } + + private GetAuthenticationRulePlainArgs() {} + + private GetAuthenticationRulePlainArgs(GetAuthenticationRulePlainArgs $) { + this.id = $.id; + this.name = $.name; + this.policySetId = $.policySetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticationRulePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticationRulePlainArgs $; + + public Builder() { + $ = new GetAuthenticationRulePlainArgs(); + } + + public Builder(GetAuthenticationRulePlainArgs defaults) { + $ = new GetAuthenticationRulePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + $.policySetId = policySetId; + return this; + } + + public GetAuthenticationRulePlainArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRulePlainArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationExceptionRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationExceptionRuleArgs.java new file mode 100644 index 0000000..191ff92 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationExceptionRuleArgs.java @@ -0,0 +1,161 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationExceptionRuleArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationExceptionRuleArgs Empty = new GetAuthorizationExceptionRuleArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + + private GetAuthorizationExceptionRuleArgs() {} + + private GetAuthorizationExceptionRuleArgs(GetAuthorizationExceptionRuleArgs $) { + this.id = $.id; + this.name = $.name; + this.policySetId = $.policySetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationExceptionRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationExceptionRuleArgs $; + + public Builder() { + $ = new GetAuthorizationExceptionRuleArgs(); + } + + public Builder(GetAuthorizationExceptionRuleArgs defaults) { + $ = new GetAuthorizationExceptionRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + public GetAuthorizationExceptionRuleArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationExceptionRulePlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationExceptionRulePlainArgs.java new file mode 100644 index 0000000..7333358 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationExceptionRulePlainArgs.java @@ -0,0 +1,130 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationExceptionRulePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationExceptionRulePlainArgs Empty = new GetAuthorizationExceptionRulePlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private String policySetId; + + /** + * @return Policy set ID + * + */ + public String policySetId() { + return this.policySetId; + } + + private GetAuthorizationExceptionRulePlainArgs() {} + + private GetAuthorizationExceptionRulePlainArgs(GetAuthorizationExceptionRulePlainArgs $) { + this.id = $.id; + this.name = $.name; + this.policySetId = $.policySetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationExceptionRulePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationExceptionRulePlainArgs $; + + public Builder() { + $ = new GetAuthorizationExceptionRulePlainArgs(); + } + + public Builder(GetAuthorizationExceptionRulePlainArgs defaults) { + $ = new GetAuthorizationExceptionRulePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + $.policySetId = policySetId; + return this; + } + + public GetAuthorizationExceptionRulePlainArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRulePlainArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationGlobalExceptionRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationGlobalExceptionRuleArgs.java new file mode 100644 index 0000000..7a7915f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationGlobalExceptionRuleArgs.java @@ -0,0 +1,120 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationGlobalExceptionRuleArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationGlobalExceptionRuleArgs Empty = new GetAuthorizationGlobalExceptionRuleArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetAuthorizationGlobalExceptionRuleArgs() {} + + private GetAuthorizationGlobalExceptionRuleArgs(GetAuthorizationGlobalExceptionRuleArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationGlobalExceptionRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationGlobalExceptionRuleArgs $; + + public Builder() { + $ = new GetAuthorizationGlobalExceptionRuleArgs(); + } + + public Builder(GetAuthorizationGlobalExceptionRuleArgs defaults) { + $ = new GetAuthorizationGlobalExceptionRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetAuthorizationGlobalExceptionRuleArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationGlobalExceptionRulePlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationGlobalExceptionRulePlainArgs.java new file mode 100644 index 0000000..3cc3d5b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationGlobalExceptionRulePlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationGlobalExceptionRulePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationGlobalExceptionRulePlainArgs Empty = new GetAuthorizationGlobalExceptionRulePlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetAuthorizationGlobalExceptionRulePlainArgs() {} + + private GetAuthorizationGlobalExceptionRulePlainArgs(GetAuthorizationGlobalExceptionRulePlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationGlobalExceptionRulePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationGlobalExceptionRulePlainArgs $; + + public Builder() { + $ = new GetAuthorizationGlobalExceptionRulePlainArgs(); + } + + public Builder(GetAuthorizationGlobalExceptionRulePlainArgs defaults) { + $ = new GetAuthorizationGlobalExceptionRulePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetAuthorizationGlobalExceptionRulePlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationRuleArgs.java new file mode 100644 index 0000000..fc52620 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationRuleArgs.java @@ -0,0 +1,161 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationRuleArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationRuleArgs Empty = new GetAuthorizationRuleArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + + private GetAuthorizationRuleArgs() {} + + private GetAuthorizationRuleArgs(GetAuthorizationRuleArgs $) { + this.id = $.id; + this.name = $.name; + this.policySetId = $.policySetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationRuleArgs $; + + public Builder() { + $ = new GetAuthorizationRuleArgs(); + } + + public Builder(GetAuthorizationRuleArgs defaults) { + $ = new GetAuthorizationRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + public GetAuthorizationRuleArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationRulePlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationRulePlainArgs.java new file mode 100644 index 0000000..bab9663 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetAuthorizationRulePlainArgs.java @@ -0,0 +1,130 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationRulePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationRulePlainArgs Empty = new GetAuthorizationRulePlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private String policySetId; + + /** + * @return Policy set ID + * + */ + public String policySetId() { + return this.policySetId; + } + + private GetAuthorizationRulePlainArgs() {} + + private GetAuthorizationRulePlainArgs(GetAuthorizationRulePlainArgs $) { + this.id = $.id; + this.name = $.name; + this.policySetId = $.policySetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationRulePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationRulePlainArgs $; + + public Builder() { + $ = new GetAuthorizationRulePlainArgs(); + } + + public Builder(GetAuthorizationRulePlainArgs defaults) { + $ = new GetAuthorizationRulePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + $.policySetId = policySetId; + return this; + } + + public GetAuthorizationRulePlainArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRulePlainArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetConditionArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetConditionArgs.java new file mode 100644 index 0000000..4a76ca4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetConditionArgs.java @@ -0,0 +1,120 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetConditionArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetConditionArgs Empty = new GetConditionArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetConditionArgs() {} + + private GetConditionArgs(GetConditionArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetConditionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetConditionArgs $; + + public Builder() { + $ = new GetConditionArgs(); + } + + public Builder(GetConditionArgs defaults) { + $ = new GetConditionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetConditionArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetConditionPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetConditionPlainArgs.java new file mode 100644 index 0000000..d516d14 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetConditionPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetConditionPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetConditionPlainArgs Empty = new GetConditionPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Condition name + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetConditionPlainArgs() {} + + private GetConditionPlainArgs(GetConditionPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetConditionPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetConditionPlainArgs $; + + public Builder() { + $ = new GetConditionPlainArgs(); + } + + public Builder(GetConditionPlainArgs defaults) { + $ = new GetConditionPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetConditionPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetPolicySetArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetPolicySetArgs.java new file mode 100644 index 0000000..5885b66 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetPolicySetArgs.java @@ -0,0 +1,120 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetPolicySetArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetPolicySetArgs Empty = new GetPolicySetArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetPolicySetArgs() {} + + private GetPolicySetArgs(GetPolicySetArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPolicySetArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPolicySetArgs $; + + public Builder() { + $ = new GetPolicySetArgs(); + } + + public Builder(GetPolicySetArgs defaults) { + $ = new GetPolicySetArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetPolicySetArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetPolicySetPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetPolicySetPlainArgs.java new file mode 100644 index 0000000..0d9d4b7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetPolicySetPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetPolicySetPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetPolicySetPlainArgs Empty = new GetPolicySetPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetPolicySetPlainArgs() {} + + private GetPolicySetPlainArgs(GetPolicySetPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPolicySetPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPolicySetPlainArgs $; + + public Builder() { + $ = new GetPolicySetPlainArgs(); + } + + public Builder(GetPolicySetPlainArgs defaults) { + $ = new GetPolicySetPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetPolicySetPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTacacsCommandSetArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTacacsCommandSetArgs.java new file mode 100644 index 0000000..ac74347 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTacacsCommandSetArgs.java @@ -0,0 +1,120 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTacacsCommandSetArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetTacacsCommandSetArgs Empty = new GetTacacsCommandSetArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the TACACS command set + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the TACACS command set + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetTacacsCommandSetArgs() {} + + private GetTacacsCommandSetArgs(GetTacacsCommandSetArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTacacsCommandSetArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTacacsCommandSetArgs $; + + public Builder() { + $ = new GetTacacsCommandSetArgs(); + } + + public Builder(GetTacacsCommandSetArgs defaults) { + $ = new GetTacacsCommandSetArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the TACACS command set + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the TACACS command set + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetTacacsCommandSetArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTacacsCommandSetPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTacacsCommandSetPlainArgs.java new file mode 100644 index 0000000..d3b0bee --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTacacsCommandSetPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTacacsCommandSetPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetTacacsCommandSetPlainArgs Empty = new GetTacacsCommandSetPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the TACACS command set + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the TACACS command set + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetTacacsCommandSetPlainArgs() {} + + private GetTacacsCommandSetPlainArgs(GetTacacsCommandSetPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTacacsCommandSetPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTacacsCommandSetPlainArgs $; + + public Builder() { + $ = new GetTacacsCommandSetPlainArgs(); + } + + public Builder(GetTacacsCommandSetPlainArgs defaults) { + $ = new GetTacacsCommandSetPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the TACACS command set + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetTacacsCommandSetPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTacacsProfileArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTacacsProfileArgs.java new file mode 100644 index 0000000..1e001f4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTacacsProfileArgs.java @@ -0,0 +1,120 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTacacsProfileArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetTacacsProfileArgs Empty = new GetTacacsProfileArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the TACACS profile + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the TACACS profile + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetTacacsProfileArgs() {} + + private GetTacacsProfileArgs(GetTacacsProfileArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTacacsProfileArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTacacsProfileArgs $; + + public Builder() { + $ = new GetTacacsProfileArgs(); + } + + public Builder(GetTacacsProfileArgs defaults) { + $ = new GetTacacsProfileArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the TACACS profile + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the TACACS profile + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetTacacsProfileArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTacacsProfilePlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTacacsProfilePlainArgs.java new file mode 100644 index 0000000..2a64b15 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTacacsProfilePlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTacacsProfilePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetTacacsProfilePlainArgs Empty = new GetTacacsProfilePlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the TACACS profile + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the TACACS profile + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetTacacsProfilePlainArgs() {} + + private GetTacacsProfilePlainArgs(GetTacacsProfilePlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTacacsProfilePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTacacsProfilePlainArgs $; + + public Builder() { + $ = new GetTacacsProfilePlainArgs(); + } + + public Builder(GetTacacsProfilePlainArgs defaults) { + $ = new GetTacacsProfilePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the TACACS profile + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetTacacsProfilePlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTimeAndDateConditionArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTimeAndDateConditionArgs.java new file mode 100644 index 0000000..2e834fb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTimeAndDateConditionArgs.java @@ -0,0 +1,120 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTimeAndDateConditionArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetTimeAndDateConditionArgs Empty = new GetTimeAndDateConditionArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetTimeAndDateConditionArgs() {} + + private GetTimeAndDateConditionArgs(GetTimeAndDateConditionArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTimeAndDateConditionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTimeAndDateConditionArgs $; + + public Builder() { + $ = new GetTimeAndDateConditionArgs(); + } + + public Builder(GetTimeAndDateConditionArgs defaults) { + $ = new GetTimeAndDateConditionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetTimeAndDateConditionArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTimeAndDateConditionPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTimeAndDateConditionPlainArgs.java new file mode 100644 index 0000000..5d75adb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/GetTimeAndDateConditionPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTimeAndDateConditionPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetTimeAndDateConditionPlainArgs Empty = new GetTimeAndDateConditionPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Condition name + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetTimeAndDateConditionPlainArgs() {} + + private GetTimeAndDateConditionPlainArgs(GetTimeAndDateConditionPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTimeAndDateConditionPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTimeAndDateConditionPlainArgs $; + + public Builder() { + $ = new GetTimeAndDateConditionPlainArgs(); + } + + public Builder(GetTimeAndDateConditionPlainArgs defaults) { + $ = new GetTimeAndDateConditionPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetTimeAndDateConditionPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/PolicySetChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/PolicySetChildrenArgs.java new file mode 100644 index 0000000..bf53e69 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/PolicySetChildrenArgs.java @@ -0,0 +1,404 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.inputs.PolicySetChildrenChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PolicySetChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final PolicySetChildrenArgs Empty = new PolicySetChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private PolicySetChildrenArgs() {} + + private PolicySetChildrenArgs(PolicySetChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PolicySetChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PolicySetChildrenArgs $; + + public Builder() { + $ = new PolicySetChildrenArgs(); + } + + public Builder(PolicySetChildrenArgs defaults) { + $ = new PolicySetChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(PolicySetChildrenChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public PolicySetChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("PolicySetChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/PolicySetChildrenChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/PolicySetChildrenChildrenArgs.java new file mode 100644 index 0000000..bc32662 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/PolicySetChildrenChildrenArgs.java @@ -0,0 +1,355 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PolicySetChildrenChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final PolicySetChildrenChildrenArgs Empty = new PolicySetChildrenChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private PolicySetChildrenChildrenArgs() {} + + private PolicySetChildrenChildrenArgs(PolicySetChildrenChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PolicySetChildrenChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PolicySetChildrenChildrenArgs $; + + public Builder() { + $ = new PolicySetChildrenChildrenArgs(); + } + + public Builder(PolicySetChildrenChildrenArgs defaults) { + $ = new PolicySetChildrenChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public PolicySetChildrenChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("PolicySetChildrenChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/PolicySetState.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/PolicySetState.java new file mode 100644 index 0000000..8904c89 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/PolicySetState.java @@ -0,0 +1,672 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.deviceadmin.inputs.PolicySetChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PolicySetState extends com.pulumi.resources.ResourceArgs { + + public static final PolicySetState Empty = new PolicySetState(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this policy set is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this policy set is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * The description of the policy set + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return The description of the policy set + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + @Import(name="isProxy") + private @Nullable Output isProxy; + + /** + * @return Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + public Optional> isProxy() { + return Optional.ofNullable(this.isProxy); + } + + /** + * Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + @Import(name="serviceName") + private @Nullable Output serviceName; + + /** + * @return Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + public Optional> serviceName() { + return Optional.ofNullable(this.serviceName); + } + + /** + * The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private PolicySetState() {} + + private PolicySetState(PolicySetState $) { + this.childrens = $.childrens; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.description = $.description; + this.isProxy = $.isProxy; + this.name = $.name; + this.rank = $.rank; + this.serviceName = $.serviceName; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PolicySetState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PolicySetState $; + + public Builder() { + $ = new PolicySetState(); + } + + public Builder(PolicySetState defaults) { + $ = new PolicySetState(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(PolicySetChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this policy set is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this policy set is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param description The description of the policy set + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description The description of the policy set + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param isProxy Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + * @return builder + * + */ + public Builder isProxy(@Nullable Output isProxy) { + $.isProxy = isProxy; + return this; + } + + /** + * @param isProxy Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + * @return builder + * + */ + public Builder isProxy(Boolean isProxy) { + return isProxy(Output.of(isProxy)); + } + + /** + * @param name Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param rank The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param serviceName Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + * @return builder + * + */ + public Builder serviceName(@Nullable Output serviceName) { + $.serviceName = serviceName; + return this; + } + + /** + * @param serviceName Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + * @return builder + * + */ + public Builder serviceName(String serviceName) { + return serviceName(Output.of(serviceName)); + } + + /** + * @param state The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public PolicySetState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/TacacsCommandSetCommandArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/TacacsCommandSetCommandArgs.java new file mode 100644 index 0000000..d632d96 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/TacacsCommandSetCommandArgs.java @@ -0,0 +1,169 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class TacacsCommandSetCommandArgs extends com.pulumi.resources.ResourceArgs { + + public static final TacacsCommandSetCommandArgs Empty = new TacacsCommandSetCommandArgs(); + + /** + * Command arguments + * + */ + @Import(name="arguments", required=true) + private Output arguments; + + /** + * @return Command arguments + * + */ + public Output arguments() { + return this.arguments; + } + + /** + * Command + * + */ + @Import(name="command", required=true) + private Output command; + + /** + * @return Command + * + */ + public Output command() { + return this.command; + } + + /** + * Grant + * - Choices: `PERMIT`, `DENY`, `DENY_ALWAYS` + * + */ + @Import(name="grant", required=true) + private Output grant; + + /** + * @return Grant + * - Choices: `PERMIT`, `DENY`, `DENY_ALWAYS` + * + */ + public Output grant() { + return this.grant; + } + + private TacacsCommandSetCommandArgs() {} + + private TacacsCommandSetCommandArgs(TacacsCommandSetCommandArgs $) { + this.arguments = $.arguments; + this.command = $.command; + this.grant = $.grant; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(TacacsCommandSetCommandArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private TacacsCommandSetCommandArgs $; + + public Builder() { + $ = new TacacsCommandSetCommandArgs(); + } + + public Builder(TacacsCommandSetCommandArgs defaults) { + $ = new TacacsCommandSetCommandArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param arguments Command arguments + * + * @return builder + * + */ + public Builder arguments(Output arguments) { + $.arguments = arguments; + return this; + } + + /** + * @param arguments Command arguments + * + * @return builder + * + */ + public Builder arguments(String arguments) { + return arguments(Output.of(arguments)); + } + + /** + * @param command Command + * + * @return builder + * + */ + public Builder command(Output command) { + $.command = command; + return this; + } + + /** + * @param command Command + * + * @return builder + * + */ + public Builder command(String command) { + return command(Output.of(command)); + } + + /** + * @param grant Grant + * - Choices: `PERMIT`, `DENY`, `DENY_ALWAYS` + * + * @return builder + * + */ + public Builder grant(Output grant) { + $.grant = grant; + return this; + } + + /** + * @param grant Grant + * - Choices: `PERMIT`, `DENY`, `DENY_ALWAYS` + * + * @return builder + * + */ + public Builder grant(String grant) { + return grant(Output.of(grant)); + } + + public TacacsCommandSetCommandArgs build() { + if ($.arguments == null) { + throw new MissingRequiredPropertyException("TacacsCommandSetCommandArgs", "arguments"); + } + if ($.command == null) { + throw new MissingRequiredPropertyException("TacacsCommandSetCommandArgs", "command"); + } + if ($.grant == null) { + throw new MissingRequiredPropertyException("TacacsCommandSetCommandArgs", "grant"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/TacacsCommandSetState.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/TacacsCommandSetState.java new file mode 100644 index 0000000..43aba65 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/TacacsCommandSetState.java @@ -0,0 +1,181 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.deviceadmin.inputs.TacacsCommandSetCommandArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class TacacsCommandSetState extends com.pulumi.resources.ResourceArgs { + + public static final TacacsCommandSetState Empty = new TacacsCommandSetState(); + + @Import(name="commands") + private @Nullable Output> commands; + + public Optional>> commands() { + return Optional.ofNullable(this.commands); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the TACACS command set + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the TACACS command set + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Permit unmatched commands - Default value: `false` + * + */ + @Import(name="permitUnmatched") + private @Nullable Output permitUnmatched; + + /** + * @return Permit unmatched commands - Default value: `false` + * + */ + public Optional> permitUnmatched() { + return Optional.ofNullable(this.permitUnmatched); + } + + private TacacsCommandSetState() {} + + private TacacsCommandSetState(TacacsCommandSetState $) { + this.commands = $.commands; + this.description = $.description; + this.name = $.name; + this.permitUnmatched = $.permitUnmatched; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(TacacsCommandSetState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private TacacsCommandSetState $; + + public Builder() { + $ = new TacacsCommandSetState(); + } + + public Builder(TacacsCommandSetState defaults) { + $ = new TacacsCommandSetState(Objects.requireNonNull(defaults)); + } + + public Builder commands(@Nullable Output> commands) { + $.commands = commands; + return this; + } + + public Builder commands(List commands) { + return commands(Output.of(commands)); + } + + public Builder commands(TacacsCommandSetCommandArgs... commands) { + return commands(List.of(commands)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the TACACS command set + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the TACACS command set + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param permitUnmatched Permit unmatched commands - Default value: `false` + * + * @return builder + * + */ + public Builder permitUnmatched(@Nullable Output permitUnmatched) { + $.permitUnmatched = permitUnmatched; + return this; + } + + /** + * @param permitUnmatched Permit unmatched commands - Default value: `false` + * + * @return builder + * + */ + public Builder permitUnmatched(Boolean permitUnmatched) { + return permitUnmatched(Output.of(permitUnmatched)); + } + + public TacacsCommandSetState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/TacacsProfileSessionAttributeArgs.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/TacacsProfileSessionAttributeArgs.java new file mode 100644 index 0000000..c36035b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/TacacsProfileSessionAttributeArgs.java @@ -0,0 +1,169 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class TacacsProfileSessionAttributeArgs extends com.pulumi.resources.ResourceArgs { + + public static final TacacsProfileSessionAttributeArgs Empty = new TacacsProfileSessionAttributeArgs(); + + /** + * Name + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Name + * + */ + public Output name() { + return this.name; + } + + /** + * Type + * - Choices: `MANDATORY`, `OPTIONAL` + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return Type + * - Choices: `MANDATORY`, `OPTIONAL` + * + */ + public Output type() { + return this.type; + } + + /** + * Value + * + */ + @Import(name="value", required=true) + private Output value; + + /** + * @return Value + * + */ + public Output value() { + return this.value; + } + + private TacacsProfileSessionAttributeArgs() {} + + private TacacsProfileSessionAttributeArgs(TacacsProfileSessionAttributeArgs $) { + this.name = $.name; + this.type = $.type; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(TacacsProfileSessionAttributeArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private TacacsProfileSessionAttributeArgs $; + + public Builder() { + $ = new TacacsProfileSessionAttributeArgs(); + } + + public Builder(TacacsProfileSessionAttributeArgs defaults) { + $ = new TacacsProfileSessionAttributeArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name Name + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param type Type + * - Choices: `MANDATORY`, `OPTIONAL` + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type Type + * - Choices: `MANDATORY`, `OPTIONAL` + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + /** + * @param value Value + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value Value + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public TacacsProfileSessionAttributeArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("TacacsProfileSessionAttributeArgs", "name"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("TacacsProfileSessionAttributeArgs", "type"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("TacacsProfileSessionAttributeArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/TacacsProfileState.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/TacacsProfileState.java new file mode 100644 index 0000000..1e3277b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/TacacsProfileState.java @@ -0,0 +1,143 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.deviceadmin.inputs.TacacsProfileSessionAttributeArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class TacacsProfileState extends com.pulumi.resources.ResourceArgs { + + public static final TacacsProfileState Empty = new TacacsProfileState(); + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the TACACS profile + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the TACACS profile + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + @Import(name="sessionAttributes") + private @Nullable Output> sessionAttributes; + + public Optional>> sessionAttributes() { + return Optional.ofNullable(this.sessionAttributes); + } + + private TacacsProfileState() {} + + private TacacsProfileState(TacacsProfileState $) { + this.description = $.description; + this.name = $.name; + this.sessionAttributes = $.sessionAttributes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(TacacsProfileState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private TacacsProfileState $; + + public Builder() { + $ = new TacacsProfileState(); + } + + public Builder(TacacsProfileState defaults) { + $ = new TacacsProfileState(Objects.requireNonNull(defaults)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the TACACS profile + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the TACACS profile + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public Builder sessionAttributes(@Nullable Output> sessionAttributes) { + $.sessionAttributes = sessionAttributes; + return this; + } + + public Builder sessionAttributes(List sessionAttributes) { + return sessionAttributes(Output.of(sessionAttributes)); + } + + public Builder sessionAttributes(TacacsProfileSessionAttributeArgs... sessionAttributes) { + return sessionAttributes(List.of(sessionAttributes)); + } + + public TacacsProfileState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/TimeAndDateConditionState.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/TimeAndDateConditionState.java new file mode 100644 index 0000000..b61b372 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/inputs/TimeAndDateConditionState.java @@ -0,0 +1,549 @@ +// *** 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.deviceadmin.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class TimeAndDateConditionState extends com.pulumi.resources.ResourceArgs { + + public static final TimeAndDateConditionState Empty = new TimeAndDateConditionState(); + + /** + * Condition description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Condition description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * End date + * + */ + @Import(name="endDate") + private @Nullable Output endDate; + + /** + * @return End date + * + */ + public Optional> endDate() { + return Optional.ofNullable(this.endDate); + } + + /** + * End time + * + */ + @Import(name="endTime") + private @Nullable Output endTime; + + /** + * @return End time + * + */ + public Optional> endTime() { + return Optional.ofNullable(this.endTime); + } + + /** + * Exception end date + * + */ + @Import(name="exceptionEndDate") + private @Nullable Output exceptionEndDate; + + /** + * @return Exception end date + * + */ + public Optional> exceptionEndDate() { + return Optional.ofNullable(this.exceptionEndDate); + } + + /** + * Exception end time + * + */ + @Import(name="exceptionEndTime") + private @Nullable Output exceptionEndTime; + + /** + * @return Exception end time + * + */ + public Optional> exceptionEndTime() { + return Optional.ofNullable(this.exceptionEndTime); + } + + /** + * Exception start date + * + */ + @Import(name="exceptionStartDate") + private @Nullable Output exceptionStartDate; + + /** + * @return Exception start date + * + */ + public Optional> exceptionStartDate() { + return Optional.ofNullable(this.exceptionStartDate); + } + + /** + * Exception start time + * + */ + @Import(name="exceptionStartTime") + private @Nullable Output exceptionStartTime; + + /** + * @return Exception start time + * + */ + public Optional> exceptionStartTime() { + return Optional.ofNullable(this.exceptionStartTime); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Start date + * + */ + @Import(name="startDate") + private @Nullable Output startDate; + + /** + * @return Start date + * + */ + public Optional> startDate() { + return Optional.ofNullable(this.startDate); + } + + /** + * Start time + * + */ + @Import(name="startTime") + private @Nullable Output startTime; + + /** + * @return Start time + * + */ + public Optional> startTime() { + return Optional.ofNullable(this.startTime); + } + + /** + * Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + @Import(name="weekDays") + private @Nullable Output> weekDays; + + /** + * @return Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + public Optional>> weekDays() { + return Optional.ofNullable(this.weekDays); + } + + /** + * Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + @Import(name="weekDaysExceptions") + private @Nullable Output> weekDaysExceptions; + + /** + * @return Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + public Optional>> weekDaysExceptions() { + return Optional.ofNullable(this.weekDaysExceptions); + } + + private TimeAndDateConditionState() {} + + private TimeAndDateConditionState(TimeAndDateConditionState $) { + this.description = $.description; + this.endDate = $.endDate; + this.endTime = $.endTime; + this.exceptionEndDate = $.exceptionEndDate; + this.exceptionEndTime = $.exceptionEndTime; + this.exceptionStartDate = $.exceptionStartDate; + this.exceptionStartTime = $.exceptionStartTime; + this.isNegate = $.isNegate; + this.name = $.name; + this.startDate = $.startDate; + this.startTime = $.startTime; + this.weekDays = $.weekDays; + this.weekDaysExceptions = $.weekDaysExceptions; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(TimeAndDateConditionState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private TimeAndDateConditionState $; + + public Builder() { + $ = new TimeAndDateConditionState(); + } + + public Builder(TimeAndDateConditionState defaults) { + $ = new TimeAndDateConditionState(Objects.requireNonNull(defaults)); + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param endDate End date + * + * @return builder + * + */ + public Builder endDate(@Nullable Output endDate) { + $.endDate = endDate; + return this; + } + + /** + * @param endDate End date + * + * @return builder + * + */ + public Builder endDate(String endDate) { + return endDate(Output.of(endDate)); + } + + /** + * @param endTime End time + * + * @return builder + * + */ + public Builder endTime(@Nullable Output endTime) { + $.endTime = endTime; + return this; + } + + /** + * @param endTime End time + * + * @return builder + * + */ + public Builder endTime(String endTime) { + return endTime(Output.of(endTime)); + } + + /** + * @param exceptionEndDate Exception end date + * + * @return builder + * + */ + public Builder exceptionEndDate(@Nullable Output exceptionEndDate) { + $.exceptionEndDate = exceptionEndDate; + return this; + } + + /** + * @param exceptionEndDate Exception end date + * + * @return builder + * + */ + public Builder exceptionEndDate(String exceptionEndDate) { + return exceptionEndDate(Output.of(exceptionEndDate)); + } + + /** + * @param exceptionEndTime Exception end time + * + * @return builder + * + */ + public Builder exceptionEndTime(@Nullable Output exceptionEndTime) { + $.exceptionEndTime = exceptionEndTime; + return this; + } + + /** + * @param exceptionEndTime Exception end time + * + * @return builder + * + */ + public Builder exceptionEndTime(String exceptionEndTime) { + return exceptionEndTime(Output.of(exceptionEndTime)); + } + + /** + * @param exceptionStartDate Exception start date + * + * @return builder + * + */ + public Builder exceptionStartDate(@Nullable Output exceptionStartDate) { + $.exceptionStartDate = exceptionStartDate; + return this; + } + + /** + * @param exceptionStartDate Exception start date + * + * @return builder + * + */ + public Builder exceptionStartDate(String exceptionStartDate) { + return exceptionStartDate(Output.of(exceptionStartDate)); + } + + /** + * @param exceptionStartTime Exception start time + * + * @return builder + * + */ + public Builder exceptionStartTime(@Nullable Output exceptionStartTime) { + $.exceptionStartTime = exceptionStartTime; + return this; + } + + /** + * @param exceptionStartTime Exception start time + * + * @return builder + * + */ + public Builder exceptionStartTime(String exceptionStartTime) { + return exceptionStartTime(Output.of(exceptionStartTime)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param startDate Start date + * + * @return builder + * + */ + public Builder startDate(@Nullable Output startDate) { + $.startDate = startDate; + return this; + } + + /** + * @param startDate Start date + * + * @return builder + * + */ + public Builder startDate(String startDate) { + return startDate(Output.of(startDate)); + } + + /** + * @param startTime Start time + * + * @return builder + * + */ + public Builder startTime(@Nullable Output startTime) { + $.startTime = startTime; + return this; + } + + /** + * @param startTime Start time + * + * @return builder + * + */ + public Builder startTime(String startTime) { + return startTime(Output.of(startTime)); + } + + /** + * @param weekDays Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + * @return builder + * + */ + public Builder weekDays(@Nullable Output> weekDays) { + $.weekDays = weekDays; + return this; + } + + /** + * @param weekDays Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + * @return builder + * + */ + public Builder weekDays(List weekDays) { + return weekDays(Output.of(weekDays)); + } + + /** + * @param weekDays Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + * @return builder + * + */ + public Builder weekDays(String... weekDays) { + return weekDays(List.of(weekDays)); + } + + /** + * @param weekDaysExceptions Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + * @return builder + * + */ + public Builder weekDaysExceptions(@Nullable Output> weekDaysExceptions) { + $.weekDaysExceptions = weekDaysExceptions; + return this; + } + + /** + * @param weekDaysExceptions Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + * @return builder + * + */ + public Builder weekDaysExceptions(List weekDaysExceptions) { + return weekDaysExceptions(Output.of(weekDaysExceptions)); + } + + /** + * @param weekDaysExceptions Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + * @return builder + * + */ + public Builder weekDaysExceptions(String... weekDaysExceptions) { + return weekDaysExceptions(List.of(weekDaysExceptions)); + } + + public TimeAndDateConditionState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthenticationRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthenticationRuleChildren.java new file mode 100644 index 0000000..3e8adb9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthenticationRuleChildren.java @@ -0,0 +1,238 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.AuthenticationRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthenticationRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private @Nullable List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthenticationRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens == null ? List.of() : this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthenticationRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private @Nullable List childrens; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthenticationRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(@Nullable List childrens) { + + this.childrens = childrens; + return this; + } + public Builder childrens(AuthenticationRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthenticationRuleChildren build() { + final var _resultValue = new AuthenticationRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthenticationRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthenticationRuleChildrenChildren.java new file mode 100644 index 0000000..af08754 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthenticationRuleChildrenChildren.java @@ -0,0 +1,212 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthenticationRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthenticationRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthenticationRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthenticationRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthenticationRuleChildrenChildren build() { + final var _resultValue = new AuthenticationRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationExceptionRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationExceptionRuleChildren.java new file mode 100644 index 0000000..967c70d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationExceptionRuleChildren.java @@ -0,0 +1,238 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.AuthorizationExceptionRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthorizationExceptionRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private @Nullable List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthorizationExceptionRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens == null ? List.of() : this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthorizationExceptionRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private @Nullable List childrens; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthorizationExceptionRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(@Nullable List childrens) { + + this.childrens = childrens; + return this; + } + public Builder childrens(AuthorizationExceptionRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationExceptionRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthorizationExceptionRuleChildren build() { + final var _resultValue = new AuthorizationExceptionRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationExceptionRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationExceptionRuleChildrenChildren.java new file mode 100644 index 0000000..507a0da --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationExceptionRuleChildrenChildren.java @@ -0,0 +1,212 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthorizationExceptionRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthorizationExceptionRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthorizationExceptionRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthorizationExceptionRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationExceptionRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthorizationExceptionRuleChildrenChildren build() { + final var _resultValue = new AuthorizationExceptionRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationGlobalExceptionRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationGlobalExceptionRuleChildren.java new file mode 100644 index 0000000..358c5b5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationGlobalExceptionRuleChildren.java @@ -0,0 +1,238 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.AuthorizationGlobalExceptionRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthorizationGlobalExceptionRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private @Nullable List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthorizationGlobalExceptionRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens == null ? List.of() : this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthorizationGlobalExceptionRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private @Nullable List childrens; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthorizationGlobalExceptionRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(@Nullable List childrens) { + + this.childrens = childrens; + return this; + } + public Builder childrens(AuthorizationGlobalExceptionRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationGlobalExceptionRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthorizationGlobalExceptionRuleChildren build() { + final var _resultValue = new AuthorizationGlobalExceptionRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationGlobalExceptionRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationGlobalExceptionRuleChildrenChildren.java new file mode 100644 index 0000000..14885ec --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationGlobalExceptionRuleChildrenChildren.java @@ -0,0 +1,212 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthorizationGlobalExceptionRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthorizationGlobalExceptionRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthorizationGlobalExceptionRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthorizationGlobalExceptionRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationGlobalExceptionRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthorizationGlobalExceptionRuleChildrenChildren build() { + final var _resultValue = new AuthorizationGlobalExceptionRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationRuleChildren.java new file mode 100644 index 0000000..dbd9508 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationRuleChildren.java @@ -0,0 +1,238 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.AuthorizationRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthorizationRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private @Nullable List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthorizationRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens == null ? List.of() : this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthorizationRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private @Nullable List childrens; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthorizationRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(@Nullable List childrens) { + + this.childrens = childrens; + return this; + } + public Builder childrens(AuthorizationRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthorizationRuleChildren build() { + final var _resultValue = new AuthorizationRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationRuleChildrenChildren.java new file mode 100644 index 0000000..87f3bab --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/AuthorizationRuleChildrenChildren.java @@ -0,0 +1,212 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthorizationRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthorizationRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthorizationRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthorizationRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthorizationRuleChildrenChildren build() { + final var _resultValue = new AuthorizationRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/ConditionChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/ConditionChildren.java new file mode 100644 index 0000000..bb0e407 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/ConditionChildren.java @@ -0,0 +1,280 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.ConditionChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ConditionChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private @Nullable List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Condition description + * + */ + private @Nullable String description; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Condition name + * + */ + private @Nullable String name; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private ConditionChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens == null ? List.of() : this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Condition description + * + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Condition name + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ConditionChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private @Nullable List childrens; + private String conditionType; + private @Nullable String description; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String name; + private @Nullable String operator; + public Builder() {} + public Builder(ConditionChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.description = defaults.description; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.name = defaults.name; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(@Nullable List childrens) { + + this.childrens = childrens; + return this; + } + public Builder childrens(ConditionChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("ConditionChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder description(@Nullable String description) { + + this.description = description; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public ConditionChildren build() { + final var _resultValue = new ConditionChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.description = description; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.name = name; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/ConditionChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/ConditionChildrenChildren.java new file mode 100644 index 0000000..8db4002 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/ConditionChildrenChildren.java @@ -0,0 +1,254 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ConditionChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Condition description + * + */ + private @Nullable String description; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Condition name + * + */ + private @Nullable String name; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private ConditionChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Condition description + * + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Condition name + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ConditionChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private String conditionType; + private @Nullable String description; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String name; + private @Nullable String operator; + public Builder() {} + public Builder(ConditionChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.description = defaults.description; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.name = defaults.name; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("ConditionChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder description(@Nullable String description) { + + this.description = description; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public ConditionChildrenChildren build() { + final var _resultValue = new ConditionChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.description = description; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.name = name; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAllowedProtocolsTacacsResult.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAllowedProtocolsTacacsResult.java new file mode 100644 index 0000000..1a7dafc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAllowedProtocolsTacacsResult.java @@ -0,0 +1,174 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAllowedProtocolsTacacsResult { + /** + * @return Allow CHAP + * + */ + private Boolean allowChap; + /** + * @return Allow MS CHAP v1 + * + */ + private Boolean allowMsChapV1; + /** + * @return Allow PAP ASCII + * + */ + private Boolean allowPapAscii; + /** + * @return Description + * + */ + private String description; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return The name of the allowed protocols + * + */ + private String name; + + private GetAllowedProtocolsTacacsResult() {} + /** + * @return Allow CHAP + * + */ + public Boolean allowChap() { + return this.allowChap; + } + /** + * @return Allow MS CHAP v1 + * + */ + public Boolean allowMsChapV1() { + return this.allowMsChapV1; + } + /** + * @return Allow PAP ASCII + * + */ + public Boolean allowPapAscii() { + return this.allowPapAscii; + } + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return The name of the allowed protocols + * + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAllowedProtocolsTacacsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean allowChap; + private Boolean allowMsChapV1; + private Boolean allowPapAscii; + private String description; + private String id; + private String name; + public Builder() {} + public Builder(GetAllowedProtocolsTacacsResult defaults) { + Objects.requireNonNull(defaults); + this.allowChap = defaults.allowChap; + this.allowMsChapV1 = defaults.allowMsChapV1; + this.allowPapAscii = defaults.allowPapAscii; + this.description = defaults.description; + this.id = defaults.id; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder allowChap(Boolean allowChap) { + if (allowChap == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsTacacsResult", "allowChap"); + } + this.allowChap = allowChap; + return this; + } + @CustomType.Setter + public Builder allowMsChapV1(Boolean allowMsChapV1) { + if (allowMsChapV1 == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsTacacsResult", "allowMsChapV1"); + } + this.allowMsChapV1 = allowMsChapV1; + return this; + } + @CustomType.Setter + public Builder allowPapAscii(Boolean allowPapAscii) { + if (allowPapAscii == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsTacacsResult", "allowPapAscii"); + } + this.allowPapAscii = allowPapAscii; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsTacacsResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsTacacsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsTacacsResult", "name"); + } + this.name = name; + return this; + } + public GetAllowedProtocolsTacacsResult build() { + final var _resultValue = new GetAllowedProtocolsTacacsResult(); + _resultValue.allowChap = allowChap; + _resultValue.allowMsChapV1 = allowMsChapV1; + _resultValue.allowPapAscii = allowPapAscii; + _resultValue.description = description; + _resultValue.id = id; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthenticationRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthenticationRuleChildren.java new file mode 100644 index 0000000..f4b55ba --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthenticationRuleChildren.java @@ -0,0 +1,248 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.GetAuthenticationRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthenticationRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthenticationRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthenticationRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private List childrens; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthenticationRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthenticationRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthenticationRuleChildren build() { + final var _resultValue = new GetAuthenticationRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthenticationRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthenticationRuleChildrenChildren.java new file mode 100644 index 0000000..cfa6e4e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthenticationRuleChildrenChildren.java @@ -0,0 +1,220 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAuthenticationRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return Condition type. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthenticationRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return Condition type. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthenticationRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthenticationRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthenticationRuleChildrenChildren build() { + final var _resultValue = new GetAuthenticationRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthenticationRuleResult.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthenticationRuleResult.java new file mode 100644 index 0000000..2b0a970 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthenticationRuleResult.java @@ -0,0 +1,479 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.GetAuthenticationRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthenticationRuleResult { + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Dictionary attribute name + * + */ + private String conditionAttributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String conditionAttributeValue; + /** + * @return Dictionary name + * + */ + private String conditionDictionaryName; + /** + * @return Dictionary value + * + */ + private String conditionDictionaryValue; + /** + * @return UUID for condition + * + */ + private String conditionId; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean conditionIsNegate; + /** + * @return Equality operator + * + */ + private String conditionOperator; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Indicates if this rule is the default one + * + */ + private Boolean default_; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Identity source name from the identity stores + * + */ + private String identitySourceName; + /** + * @return Action to perform when authentication fails such as Bad credentials, disabled user and so on + * + */ + private String ifAuthFail; + /** + * @return Action to perform when ISE is unable to access the identity database + * + */ + private String ifProcessFail; + /** + * @return Action to perform when user is not found in any of identity stores + * + */ + private String ifUserNotFound; + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + private String name; + /** + * @return Policy set ID + * + */ + private String policySetId; + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + private Integer rank; + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + private String state; + + private GetAuthenticationRuleResult() {} + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Dictionary attribute name + * + */ + public String conditionAttributeName() { + return this.conditionAttributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String conditionAttributeValue() { + return this.conditionAttributeValue; + } + /** + * @return Dictionary name + * + */ + public String conditionDictionaryName() { + return this.conditionDictionaryName; + } + /** + * @return Dictionary value + * + */ + public String conditionDictionaryValue() { + return this.conditionDictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String conditionId() { + return this.conditionId; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean conditionIsNegate() { + return this.conditionIsNegate; + } + /** + * @return Equality operator + * + */ + public String conditionOperator() { + return this.conditionOperator; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Indicates if this rule is the default one + * + */ + public Boolean default_() { + return this.default_; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Identity source name from the identity stores + * + */ + public String identitySourceName() { + return this.identitySourceName; + } + /** + * @return Action to perform when authentication fails such as Bad credentials, disabled user and so on + * + */ + public String ifAuthFail() { + return this.ifAuthFail; + } + /** + * @return Action to perform when ISE is unable to access the identity database + * + */ + public String ifProcessFail() { + return this.ifProcessFail; + } + /** + * @return Action to perform when user is not found in any of identity stores + * + */ + public String ifUserNotFound() { + return this.ifUserNotFound; + } + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public String name() { + return this.name; + } + /** + * @return Policy set ID + * + */ + public String policySetId() { + return this.policySetId; + } + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Integer rank() { + return this.rank; + } + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthenticationRuleResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List childrens; + private String conditionAttributeName; + private String conditionAttributeValue; + private String conditionDictionaryName; + private String conditionDictionaryValue; + private String conditionId; + private Boolean conditionIsNegate; + private String conditionOperator; + private String conditionType; + private Boolean default_; + private String id; + private String identitySourceName; + private String ifAuthFail; + private String ifProcessFail; + private String ifUserNotFound; + private String name; + private String policySetId; + private Integer rank; + private String state; + public Builder() {} + public Builder(GetAuthenticationRuleResult defaults) { + Objects.requireNonNull(defaults); + this.childrens = defaults.childrens; + this.conditionAttributeName = defaults.conditionAttributeName; + this.conditionAttributeValue = defaults.conditionAttributeValue; + this.conditionDictionaryName = defaults.conditionDictionaryName; + this.conditionDictionaryValue = defaults.conditionDictionaryValue; + this.conditionId = defaults.conditionId; + this.conditionIsNegate = defaults.conditionIsNegate; + this.conditionOperator = defaults.conditionOperator; + this.conditionType = defaults.conditionType; + this.default_ = defaults.default_; + this.id = defaults.id; + this.identitySourceName = defaults.identitySourceName; + this.ifAuthFail = defaults.ifAuthFail; + this.ifProcessFail = defaults.ifProcessFail; + this.ifUserNotFound = defaults.ifUserNotFound; + this.name = defaults.name; + this.policySetId = defaults.policySetId; + this.rank = defaults.rank; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthenticationRuleChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionAttributeName(String conditionAttributeName) { + if (conditionAttributeName == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionAttributeName"); + } + this.conditionAttributeName = conditionAttributeName; + return this; + } + @CustomType.Setter + public Builder conditionAttributeValue(String conditionAttributeValue) { + if (conditionAttributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionAttributeValue"); + } + this.conditionAttributeValue = conditionAttributeValue; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryName(String conditionDictionaryName) { + if (conditionDictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionDictionaryName"); + } + this.conditionDictionaryName = conditionDictionaryName; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + if (conditionDictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionDictionaryValue"); + } + this.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + @CustomType.Setter + public Builder conditionId(String conditionId) { + if (conditionId == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionId"); + } + this.conditionId = conditionId; + return this; + } + @CustomType.Setter + public Builder conditionIsNegate(Boolean conditionIsNegate) { + if (conditionIsNegate == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionIsNegate"); + } + this.conditionIsNegate = conditionIsNegate; + return this; + } + @CustomType.Setter + public Builder conditionOperator(String conditionOperator) { + if (conditionOperator == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionOperator"); + } + this.conditionOperator = conditionOperator; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter("default") + public Builder default_(Boolean default_) { + if (default_ == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "default_"); + } + this.default_ = default_; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder identitySourceName(String identitySourceName) { + if (identitySourceName == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "identitySourceName"); + } + this.identitySourceName = identitySourceName; + return this; + } + @CustomType.Setter + public Builder ifAuthFail(String ifAuthFail) { + if (ifAuthFail == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "ifAuthFail"); + } + this.ifAuthFail = ifAuthFail; + return this; + } + @CustomType.Setter + public Builder ifProcessFail(String ifProcessFail) { + if (ifProcessFail == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "ifProcessFail"); + } + this.ifProcessFail = ifProcessFail; + return this; + } + @CustomType.Setter + public Builder ifUserNotFound(String ifUserNotFound) { + if (ifUserNotFound == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "ifUserNotFound"); + } + this.ifUserNotFound = ifUserNotFound; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder policySetId(String policySetId) { + if (policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "policySetId"); + } + this.policySetId = policySetId; + return this; + } + @CustomType.Setter + public Builder rank(Integer rank) { + if (rank == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "rank"); + } + this.rank = rank; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "state"); + } + this.state = state; + return this; + } + public GetAuthenticationRuleResult build() { + final var _resultValue = new GetAuthenticationRuleResult(); + _resultValue.childrens = childrens; + _resultValue.conditionAttributeName = conditionAttributeName; + _resultValue.conditionAttributeValue = conditionAttributeValue; + _resultValue.conditionDictionaryName = conditionDictionaryName; + _resultValue.conditionDictionaryValue = conditionDictionaryValue; + _resultValue.conditionId = conditionId; + _resultValue.conditionIsNegate = conditionIsNegate; + _resultValue.conditionOperator = conditionOperator; + _resultValue.conditionType = conditionType; + _resultValue.default_ = default_; + _resultValue.id = id; + _resultValue.identitySourceName = identitySourceName; + _resultValue.ifAuthFail = ifAuthFail; + _resultValue.ifProcessFail = ifProcessFail; + _resultValue.ifUserNotFound = ifUserNotFound; + _resultValue.name = name; + _resultValue.policySetId = policySetId; + _resultValue.rank = rank; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationExceptionRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationExceptionRuleChildren.java new file mode 100644 index 0000000..4e01984 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationExceptionRuleChildren.java @@ -0,0 +1,248 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.GetAuthorizationExceptionRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationExceptionRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthorizationExceptionRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationExceptionRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private List childrens; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthorizationExceptionRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthorizationExceptionRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthorizationExceptionRuleChildren build() { + final var _resultValue = new GetAuthorizationExceptionRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationExceptionRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationExceptionRuleChildrenChildren.java new file mode 100644 index 0000000..43da14e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationExceptionRuleChildrenChildren.java @@ -0,0 +1,220 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationExceptionRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return Condition type. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthorizationExceptionRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return Condition type. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationExceptionRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthorizationExceptionRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthorizationExceptionRuleChildrenChildren build() { + final var _resultValue = new GetAuthorizationExceptionRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationExceptionRuleResult.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationExceptionRuleResult.java new file mode 100644 index 0000000..dd6df62 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationExceptionRuleResult.java @@ -0,0 +1,436 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.GetAuthorizationExceptionRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationExceptionRuleResult { + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + private List commandSets; + /** + * @return Dictionary attribute name + * + */ + private String conditionAttributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String conditionAttributeValue; + /** + * @return Dictionary name + * + */ + private String conditionDictionaryName; + /** + * @return Dictionary value + * + */ + private String conditionDictionaryValue; + /** + * @return UUID for condition + * + */ + private String conditionId; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean conditionIsNegate; + /** + * @return Equality operator + * + */ + private String conditionOperator; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Indicates if this rule is the default one + * + */ + private Boolean default_; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + private String name; + /** + * @return Policy set ID + * + */ + private String policySetId; + /** + * @return Device admin profiles control the initial login session of the device administrator + * + */ + private String profile; + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + private Integer rank; + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + private String state; + + private GetAuthorizationExceptionRuleResult() {} + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + public List commandSets() { + return this.commandSets; + } + /** + * @return Dictionary attribute name + * + */ + public String conditionAttributeName() { + return this.conditionAttributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String conditionAttributeValue() { + return this.conditionAttributeValue; + } + /** + * @return Dictionary name + * + */ + public String conditionDictionaryName() { + return this.conditionDictionaryName; + } + /** + * @return Dictionary value + * + */ + public String conditionDictionaryValue() { + return this.conditionDictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String conditionId() { + return this.conditionId; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean conditionIsNegate() { + return this.conditionIsNegate; + } + /** + * @return Equality operator + * + */ + public String conditionOperator() { + return this.conditionOperator; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Indicates if this rule is the default one + * + */ + public Boolean default_() { + return this.default_; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public String name() { + return this.name; + } + /** + * @return Policy set ID + * + */ + public String policySetId() { + return this.policySetId; + } + /** + * @return Device admin profiles control the initial login session of the device administrator + * + */ + public String profile() { + return this.profile; + } + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Integer rank() { + return this.rank; + } + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationExceptionRuleResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List childrens; + private List commandSets; + private String conditionAttributeName; + private String conditionAttributeValue; + private String conditionDictionaryName; + private String conditionDictionaryValue; + private String conditionId; + private Boolean conditionIsNegate; + private String conditionOperator; + private String conditionType; + private Boolean default_; + private String id; + private String name; + private String policySetId; + private String profile; + private Integer rank; + private String state; + public Builder() {} + public Builder(GetAuthorizationExceptionRuleResult defaults) { + Objects.requireNonNull(defaults); + this.childrens = defaults.childrens; + this.commandSets = defaults.commandSets; + this.conditionAttributeName = defaults.conditionAttributeName; + this.conditionAttributeValue = defaults.conditionAttributeValue; + this.conditionDictionaryName = defaults.conditionDictionaryName; + this.conditionDictionaryValue = defaults.conditionDictionaryValue; + this.conditionId = defaults.conditionId; + this.conditionIsNegate = defaults.conditionIsNegate; + this.conditionOperator = defaults.conditionOperator; + this.conditionType = defaults.conditionType; + this.default_ = defaults.default_; + this.id = defaults.id; + this.name = defaults.name; + this.policySetId = defaults.policySetId; + this.profile = defaults.profile; + this.rank = defaults.rank; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthorizationExceptionRuleChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder commandSets(List commandSets) { + if (commandSets == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "commandSets"); + } + this.commandSets = commandSets; + return this; + } + public Builder commandSets(String... commandSets) { + return commandSets(List.of(commandSets)); + } + @CustomType.Setter + public Builder conditionAttributeName(String conditionAttributeName) { + if (conditionAttributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionAttributeName"); + } + this.conditionAttributeName = conditionAttributeName; + return this; + } + @CustomType.Setter + public Builder conditionAttributeValue(String conditionAttributeValue) { + if (conditionAttributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionAttributeValue"); + } + this.conditionAttributeValue = conditionAttributeValue; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryName(String conditionDictionaryName) { + if (conditionDictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionDictionaryName"); + } + this.conditionDictionaryName = conditionDictionaryName; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + if (conditionDictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionDictionaryValue"); + } + this.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + @CustomType.Setter + public Builder conditionId(String conditionId) { + if (conditionId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionId"); + } + this.conditionId = conditionId; + return this; + } + @CustomType.Setter + public Builder conditionIsNegate(Boolean conditionIsNegate) { + if (conditionIsNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionIsNegate"); + } + this.conditionIsNegate = conditionIsNegate; + return this; + } + @CustomType.Setter + public Builder conditionOperator(String conditionOperator) { + if (conditionOperator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionOperator"); + } + this.conditionOperator = conditionOperator; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter("default") + public Builder default_(Boolean default_) { + if (default_ == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "default_"); + } + this.default_ = default_; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder policySetId(String policySetId) { + if (policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "policySetId"); + } + this.policySetId = policySetId; + return this; + } + @CustomType.Setter + public Builder profile(String profile) { + if (profile == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "profile"); + } + this.profile = profile; + return this; + } + @CustomType.Setter + public Builder rank(Integer rank) { + if (rank == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "rank"); + } + this.rank = rank; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "state"); + } + this.state = state; + return this; + } + public GetAuthorizationExceptionRuleResult build() { + final var _resultValue = new GetAuthorizationExceptionRuleResult(); + _resultValue.childrens = childrens; + _resultValue.commandSets = commandSets; + _resultValue.conditionAttributeName = conditionAttributeName; + _resultValue.conditionAttributeValue = conditionAttributeValue; + _resultValue.conditionDictionaryName = conditionDictionaryName; + _resultValue.conditionDictionaryValue = conditionDictionaryValue; + _resultValue.conditionId = conditionId; + _resultValue.conditionIsNegate = conditionIsNegate; + _resultValue.conditionOperator = conditionOperator; + _resultValue.conditionType = conditionType; + _resultValue.default_ = default_; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.policySetId = policySetId; + _resultValue.profile = profile; + _resultValue.rank = rank; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationGlobalExceptionRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationGlobalExceptionRuleChildren.java new file mode 100644 index 0000000..b4b6848 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationGlobalExceptionRuleChildren.java @@ -0,0 +1,248 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.GetAuthorizationGlobalExceptionRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationGlobalExceptionRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthorizationGlobalExceptionRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationGlobalExceptionRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private List childrens; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthorizationGlobalExceptionRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthorizationGlobalExceptionRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthorizationGlobalExceptionRuleChildren build() { + final var _resultValue = new GetAuthorizationGlobalExceptionRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationGlobalExceptionRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationGlobalExceptionRuleChildrenChildren.java new file mode 100644 index 0000000..5fd8918 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationGlobalExceptionRuleChildrenChildren.java @@ -0,0 +1,220 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationGlobalExceptionRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return Condition type. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthorizationGlobalExceptionRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return Condition type. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationGlobalExceptionRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthorizationGlobalExceptionRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthorizationGlobalExceptionRuleChildrenChildren build() { + final var _resultValue = new GetAuthorizationGlobalExceptionRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationGlobalExceptionRuleResult.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationGlobalExceptionRuleResult.java new file mode 100644 index 0000000..0c8925f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationGlobalExceptionRuleResult.java @@ -0,0 +1,413 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.GetAuthorizationGlobalExceptionRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationGlobalExceptionRuleResult { + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + private List commandSets; + /** + * @return Dictionary attribute name + * + */ + private String conditionAttributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String conditionAttributeValue; + /** + * @return Dictionary name + * + */ + private String conditionDictionaryName; + /** + * @return Dictionary value + * + */ + private String conditionDictionaryValue; + /** + * @return UUID for condition + * + */ + private String conditionId; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean conditionIsNegate; + /** + * @return Equality operator + * + */ + private String conditionOperator; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Indicates if this rule is the default one + * + */ + private Boolean default_; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + private String name; + /** + * @return Device admin profiles control the initial login session of the device administrator + * + */ + private String profile; + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + private Integer rank; + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + private String state; + + private GetAuthorizationGlobalExceptionRuleResult() {} + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + public List commandSets() { + return this.commandSets; + } + /** + * @return Dictionary attribute name + * + */ + public String conditionAttributeName() { + return this.conditionAttributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String conditionAttributeValue() { + return this.conditionAttributeValue; + } + /** + * @return Dictionary name + * + */ + public String conditionDictionaryName() { + return this.conditionDictionaryName; + } + /** + * @return Dictionary value + * + */ + public String conditionDictionaryValue() { + return this.conditionDictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String conditionId() { + return this.conditionId; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean conditionIsNegate() { + return this.conditionIsNegate; + } + /** + * @return Equality operator + * + */ + public String conditionOperator() { + return this.conditionOperator; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Indicates if this rule is the default one + * + */ + public Boolean default_() { + return this.default_; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public String name() { + return this.name; + } + /** + * @return Device admin profiles control the initial login session of the device administrator + * + */ + public String profile() { + return this.profile; + } + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Integer rank() { + return this.rank; + } + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationGlobalExceptionRuleResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List childrens; + private List commandSets; + private String conditionAttributeName; + private String conditionAttributeValue; + private String conditionDictionaryName; + private String conditionDictionaryValue; + private String conditionId; + private Boolean conditionIsNegate; + private String conditionOperator; + private String conditionType; + private Boolean default_; + private String id; + private String name; + private String profile; + private Integer rank; + private String state; + public Builder() {} + public Builder(GetAuthorizationGlobalExceptionRuleResult defaults) { + Objects.requireNonNull(defaults); + this.childrens = defaults.childrens; + this.commandSets = defaults.commandSets; + this.conditionAttributeName = defaults.conditionAttributeName; + this.conditionAttributeValue = defaults.conditionAttributeValue; + this.conditionDictionaryName = defaults.conditionDictionaryName; + this.conditionDictionaryValue = defaults.conditionDictionaryValue; + this.conditionId = defaults.conditionId; + this.conditionIsNegate = defaults.conditionIsNegate; + this.conditionOperator = defaults.conditionOperator; + this.conditionType = defaults.conditionType; + this.default_ = defaults.default_; + this.id = defaults.id; + this.name = defaults.name; + this.profile = defaults.profile; + this.rank = defaults.rank; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthorizationGlobalExceptionRuleChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder commandSets(List commandSets) { + if (commandSets == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "commandSets"); + } + this.commandSets = commandSets; + return this; + } + public Builder commandSets(String... commandSets) { + return commandSets(List.of(commandSets)); + } + @CustomType.Setter + public Builder conditionAttributeName(String conditionAttributeName) { + if (conditionAttributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionAttributeName"); + } + this.conditionAttributeName = conditionAttributeName; + return this; + } + @CustomType.Setter + public Builder conditionAttributeValue(String conditionAttributeValue) { + if (conditionAttributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionAttributeValue"); + } + this.conditionAttributeValue = conditionAttributeValue; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryName(String conditionDictionaryName) { + if (conditionDictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionDictionaryName"); + } + this.conditionDictionaryName = conditionDictionaryName; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + if (conditionDictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionDictionaryValue"); + } + this.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + @CustomType.Setter + public Builder conditionId(String conditionId) { + if (conditionId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionId"); + } + this.conditionId = conditionId; + return this; + } + @CustomType.Setter + public Builder conditionIsNegate(Boolean conditionIsNegate) { + if (conditionIsNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionIsNegate"); + } + this.conditionIsNegate = conditionIsNegate; + return this; + } + @CustomType.Setter + public Builder conditionOperator(String conditionOperator) { + if (conditionOperator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionOperator"); + } + this.conditionOperator = conditionOperator; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter("default") + public Builder default_(Boolean default_) { + if (default_ == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "default_"); + } + this.default_ = default_; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder profile(String profile) { + if (profile == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "profile"); + } + this.profile = profile; + return this; + } + @CustomType.Setter + public Builder rank(Integer rank) { + if (rank == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "rank"); + } + this.rank = rank; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "state"); + } + this.state = state; + return this; + } + public GetAuthorizationGlobalExceptionRuleResult build() { + final var _resultValue = new GetAuthorizationGlobalExceptionRuleResult(); + _resultValue.childrens = childrens; + _resultValue.commandSets = commandSets; + _resultValue.conditionAttributeName = conditionAttributeName; + _resultValue.conditionAttributeValue = conditionAttributeValue; + _resultValue.conditionDictionaryName = conditionDictionaryName; + _resultValue.conditionDictionaryValue = conditionDictionaryValue; + _resultValue.conditionId = conditionId; + _resultValue.conditionIsNegate = conditionIsNegate; + _resultValue.conditionOperator = conditionOperator; + _resultValue.conditionType = conditionType; + _resultValue.default_ = default_; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.profile = profile; + _resultValue.rank = rank; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationRuleChildren.java new file mode 100644 index 0000000..3961c83 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationRuleChildren.java @@ -0,0 +1,248 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.GetAuthorizationRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthorizationRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private List childrens; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthorizationRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthorizationRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthorizationRuleChildren build() { + final var _resultValue = new GetAuthorizationRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationRuleChildrenChildren.java new file mode 100644 index 0000000..2a6367d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationRuleChildrenChildren.java @@ -0,0 +1,220 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return Condition type. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthorizationRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return Condition type. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthorizationRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthorizationRuleChildrenChildren build() { + final var _resultValue = new GetAuthorizationRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationRuleResult.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationRuleResult.java new file mode 100644 index 0000000..8110abd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetAuthorizationRuleResult.java @@ -0,0 +1,436 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.GetAuthorizationRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationRuleResult { + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + private List commandSets; + /** + * @return Dictionary attribute name + * + */ + private String conditionAttributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String conditionAttributeValue; + /** + * @return Dictionary name + * + */ + private String conditionDictionaryName; + /** + * @return Dictionary value + * + */ + private String conditionDictionaryValue; + /** + * @return UUID for condition + * + */ + private String conditionId; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean conditionIsNegate; + /** + * @return Equality operator + * + */ + private String conditionOperator; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Indicates if this rule is the default one + * + */ + private Boolean default_; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + private String name; + /** + * @return Policy set ID + * + */ + private String policySetId; + /** + * @return Device admin profiles control the initial login session of the device administrator + * + */ + private String profile; + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + private Integer rank; + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + private String state; + + private GetAuthorizationRuleResult() {} + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Command sets enforce the specified list of commands that can be executed by a device administrator + * + */ + public List commandSets() { + return this.commandSets; + } + /** + * @return Dictionary attribute name + * + */ + public String conditionAttributeName() { + return this.conditionAttributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String conditionAttributeValue() { + return this.conditionAttributeValue; + } + /** + * @return Dictionary name + * + */ + public String conditionDictionaryName() { + return this.conditionDictionaryName; + } + /** + * @return Dictionary value + * + */ + public String conditionDictionaryValue() { + return this.conditionDictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String conditionId() { + return this.conditionId; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean conditionIsNegate() { + return this.conditionIsNegate; + } + /** + * @return Equality operator + * + */ + public String conditionOperator() { + return this.conditionOperator; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Indicates if this rule is the default one + * + */ + public Boolean default_() { + return this.default_; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public String name() { + return this.name; + } + /** + * @return Policy set ID + * + */ + public String policySetId() { + return this.policySetId; + } + /** + * @return Device admin profiles control the initial login session of the device administrator + * + */ + public String profile() { + return this.profile; + } + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Integer rank() { + return this.rank; + } + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationRuleResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List childrens; + private List commandSets; + private String conditionAttributeName; + private String conditionAttributeValue; + private String conditionDictionaryName; + private String conditionDictionaryValue; + private String conditionId; + private Boolean conditionIsNegate; + private String conditionOperator; + private String conditionType; + private Boolean default_; + private String id; + private String name; + private String policySetId; + private String profile; + private Integer rank; + private String state; + public Builder() {} + public Builder(GetAuthorizationRuleResult defaults) { + Objects.requireNonNull(defaults); + this.childrens = defaults.childrens; + this.commandSets = defaults.commandSets; + this.conditionAttributeName = defaults.conditionAttributeName; + this.conditionAttributeValue = defaults.conditionAttributeValue; + this.conditionDictionaryName = defaults.conditionDictionaryName; + this.conditionDictionaryValue = defaults.conditionDictionaryValue; + this.conditionId = defaults.conditionId; + this.conditionIsNegate = defaults.conditionIsNegate; + this.conditionOperator = defaults.conditionOperator; + this.conditionType = defaults.conditionType; + this.default_ = defaults.default_; + this.id = defaults.id; + this.name = defaults.name; + this.policySetId = defaults.policySetId; + this.profile = defaults.profile; + this.rank = defaults.rank; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthorizationRuleChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder commandSets(List commandSets) { + if (commandSets == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "commandSets"); + } + this.commandSets = commandSets; + return this; + } + public Builder commandSets(String... commandSets) { + return commandSets(List.of(commandSets)); + } + @CustomType.Setter + public Builder conditionAttributeName(String conditionAttributeName) { + if (conditionAttributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionAttributeName"); + } + this.conditionAttributeName = conditionAttributeName; + return this; + } + @CustomType.Setter + public Builder conditionAttributeValue(String conditionAttributeValue) { + if (conditionAttributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionAttributeValue"); + } + this.conditionAttributeValue = conditionAttributeValue; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryName(String conditionDictionaryName) { + if (conditionDictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionDictionaryName"); + } + this.conditionDictionaryName = conditionDictionaryName; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + if (conditionDictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionDictionaryValue"); + } + this.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + @CustomType.Setter + public Builder conditionId(String conditionId) { + if (conditionId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionId"); + } + this.conditionId = conditionId; + return this; + } + @CustomType.Setter + public Builder conditionIsNegate(Boolean conditionIsNegate) { + if (conditionIsNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionIsNegate"); + } + this.conditionIsNegate = conditionIsNegate; + return this; + } + @CustomType.Setter + public Builder conditionOperator(String conditionOperator) { + if (conditionOperator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionOperator"); + } + this.conditionOperator = conditionOperator; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter("default") + public Builder default_(Boolean default_) { + if (default_ == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "default_"); + } + this.default_ = default_; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder policySetId(String policySetId) { + if (policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "policySetId"); + } + this.policySetId = policySetId; + return this; + } + @CustomType.Setter + public Builder profile(String profile) { + if (profile == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "profile"); + } + this.profile = profile; + return this; + } + @CustomType.Setter + public Builder rank(Integer rank) { + if (rank == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "rank"); + } + this.rank = rank; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "state"); + } + this.state = state; + return this; + } + public GetAuthorizationRuleResult build() { + final var _resultValue = new GetAuthorizationRuleResult(); + _resultValue.childrens = childrens; + _resultValue.commandSets = commandSets; + _resultValue.conditionAttributeName = conditionAttributeName; + _resultValue.conditionAttributeValue = conditionAttributeValue; + _resultValue.conditionDictionaryName = conditionDictionaryName; + _resultValue.conditionDictionaryValue = conditionDictionaryValue; + _resultValue.conditionId = conditionId; + _resultValue.conditionIsNegate = conditionIsNegate; + _resultValue.conditionOperator = conditionOperator; + _resultValue.conditionType = conditionType; + _resultValue.default_ = default_; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.policySetId = policySetId; + _resultValue.profile = profile; + _resultValue.rank = rank; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetConditionChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetConditionChildren.java new file mode 100644 index 0000000..9a0557a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetConditionChildren.java @@ -0,0 +1,294 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.GetConditionChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetConditionChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Condition description + * + */ + private String description; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Condition name + * + */ + private String name; + /** + * @return Equality operator + * + */ + private String operator; + + private GetConditionChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Condition description + * + */ + public String description() { + return this.description; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Condition name + * + */ + public String name() { + return this.name; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetConditionChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private List childrens; + private String conditionType; + private String description; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String name; + private String operator; + public Builder() {} + public Builder(GetConditionChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.description = defaults.description; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.name = defaults.name; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetConditionChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetConditionChildren build() { + final var _resultValue = new GetConditionChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.description = description; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.name = name; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetConditionChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetConditionChildrenChildren.java new file mode 100644 index 0000000..4e8d95c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetConditionChildrenChildren.java @@ -0,0 +1,266 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetConditionChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return Condition type. + * + */ + private String conditionType; + /** + * @return Condition description + * + */ + private String description; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Condition name + * + */ + private String name; + /** + * @return Equality operator + * + */ + private String operator; + + private GetConditionChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return Condition type. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Condition description + * + */ + public String description() { + return this.description; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Condition name + * + */ + public String name() { + return this.name; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetConditionChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private String conditionType; + private String description; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String name; + private String operator; + public Builder() {} + public Builder(GetConditionChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.description = defaults.description; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.name = defaults.name; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetConditionChildrenChildren build() { + final var _resultValue = new GetConditionChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.description = description; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.name = name; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetConditionResult.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetConditionResult.java new file mode 100644 index 0000000..fbbaf49 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetConditionResult.java @@ -0,0 +1,294 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.GetConditionChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetConditionResult { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Condition description + * + */ + private String description; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Condition name + * + */ + private String name; + /** + * @return Equality operator + * + */ + private String operator; + + private GetConditionResult() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Condition description + * + */ + public String description() { + return this.description; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Condition name + * + */ + public String name() { + return this.name; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetConditionResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private List childrens; + private String conditionType; + private String description; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String name; + private String operator; + public Builder() {} + public Builder(GetConditionResult defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.description = defaults.description; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.name = defaults.name; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetConditionChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "operator"); + } + this.operator = operator; + return this; + } + public GetConditionResult build() { + final var _resultValue = new GetConditionResult(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.description = description; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.name = name; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetPolicySetChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetPolicySetChildren.java new file mode 100644 index 0000000..514c426 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetPolicySetChildren.java @@ -0,0 +1,248 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.GetPolicySetChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetPolicySetChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetPolicySetChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetPolicySetChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private List childrens; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetPolicySetChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetPolicySetChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetPolicySetChildren build() { + final var _resultValue = new GetPolicySetChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetPolicySetChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetPolicySetChildrenChildren.java new file mode 100644 index 0000000..dcc8b12 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetPolicySetChildrenChildren.java @@ -0,0 +1,220 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetPolicySetChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return Condition type. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetPolicySetChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return Condition type. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetPolicySetChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetPolicySetChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetPolicySetChildrenChildren build() { + final var _resultValue = new GetPolicySetChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetPolicySetResult.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetPolicySetResult.java new file mode 100644 index 0000000..fa1f95c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetPolicySetResult.java @@ -0,0 +1,433 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.GetPolicySetChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetPolicySetResult { + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Dictionary attribute name + * + */ + private String conditionAttributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String conditionAttributeValue; + /** + * @return Dictionary name + * + */ + private String conditionDictionaryName; + /** + * @return Dictionary value + * + */ + private String conditionDictionaryValue; + /** + * @return UUID for condition + * + */ + private String conditionId; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean conditionIsNegate; + /** + * @return Equality operator + * + */ + private String conditionOperator; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Indicates if this policy set is the default one + * + */ + private Boolean default_; + /** + * @return The description of the policy set + * + */ + private String description; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + private Boolean isProxy; + /** + * @return Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + private String name; + /** + * @return The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + private Integer rank; + /** + * @return Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + private String serviceName; + /** + * @return The state that the policy set is in. A disabled policy set cannot be matched. + * + */ + private String state; + + private GetPolicySetResult() {} + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Dictionary attribute name + * + */ + public String conditionAttributeName() { + return this.conditionAttributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String conditionAttributeValue() { + return this.conditionAttributeValue; + } + /** + * @return Dictionary name + * + */ + public String conditionDictionaryName() { + return this.conditionDictionaryName; + } + /** + * @return Dictionary value + * + */ + public String conditionDictionaryValue() { + return this.conditionDictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String conditionId() { + return this.conditionId; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean conditionIsNegate() { + return this.conditionIsNegate; + } + /** + * @return Equality operator + * + */ + public String conditionOperator() { + return this.conditionOperator; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Indicates if this policy set is the default one + * + */ + public Boolean default_() { + return this.default_; + } + /** + * @return The description of the policy set + * + */ + public String description() { + return this.description; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + public Boolean isProxy() { + return this.isProxy; + } + /** + * @return Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public String name() { + return this.name; + } + /** + * @return The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + public Integer rank() { + return this.rank; + } + /** + * @return Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + public String serviceName() { + return this.serviceName; + } + /** + * @return The state that the policy set is in. A disabled policy set cannot be matched. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetPolicySetResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List childrens; + private String conditionAttributeName; + private String conditionAttributeValue; + private String conditionDictionaryName; + private String conditionDictionaryValue; + private String conditionId; + private Boolean conditionIsNegate; + private String conditionOperator; + private String conditionType; + private Boolean default_; + private String description; + private String id; + private Boolean isProxy; + private String name; + private Integer rank; + private String serviceName; + private String state; + public Builder() {} + public Builder(GetPolicySetResult defaults) { + Objects.requireNonNull(defaults); + this.childrens = defaults.childrens; + this.conditionAttributeName = defaults.conditionAttributeName; + this.conditionAttributeValue = defaults.conditionAttributeValue; + this.conditionDictionaryName = defaults.conditionDictionaryName; + this.conditionDictionaryValue = defaults.conditionDictionaryValue; + this.conditionId = defaults.conditionId; + this.conditionIsNegate = defaults.conditionIsNegate; + this.conditionOperator = defaults.conditionOperator; + this.conditionType = defaults.conditionType; + this.default_ = defaults.default_; + this.description = defaults.description; + this.id = defaults.id; + this.isProxy = defaults.isProxy; + this.name = defaults.name; + this.rank = defaults.rank; + this.serviceName = defaults.serviceName; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetPolicySetChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionAttributeName(String conditionAttributeName) { + if (conditionAttributeName == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionAttributeName"); + } + this.conditionAttributeName = conditionAttributeName; + return this; + } + @CustomType.Setter + public Builder conditionAttributeValue(String conditionAttributeValue) { + if (conditionAttributeValue == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionAttributeValue"); + } + this.conditionAttributeValue = conditionAttributeValue; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryName(String conditionDictionaryName) { + if (conditionDictionaryName == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionDictionaryName"); + } + this.conditionDictionaryName = conditionDictionaryName; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + if (conditionDictionaryValue == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionDictionaryValue"); + } + this.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + @CustomType.Setter + public Builder conditionId(String conditionId) { + if (conditionId == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionId"); + } + this.conditionId = conditionId; + return this; + } + @CustomType.Setter + public Builder conditionIsNegate(Boolean conditionIsNegate) { + if (conditionIsNegate == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionIsNegate"); + } + this.conditionIsNegate = conditionIsNegate; + return this; + } + @CustomType.Setter + public Builder conditionOperator(String conditionOperator) { + if (conditionOperator == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionOperator"); + } + this.conditionOperator = conditionOperator; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter("default") + public Builder default_(Boolean default_) { + if (default_ == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "default_"); + } + this.default_ = default_; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isProxy(Boolean isProxy) { + if (isProxy == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "isProxy"); + } + this.isProxy = isProxy; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder rank(Integer rank) { + if (rank == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "rank"); + } + this.rank = rank; + return this; + } + @CustomType.Setter + public Builder serviceName(String serviceName) { + if (serviceName == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "serviceName"); + } + this.serviceName = serviceName; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "state"); + } + this.state = state; + return this; + } + public GetPolicySetResult build() { + final var _resultValue = new GetPolicySetResult(); + _resultValue.childrens = childrens; + _resultValue.conditionAttributeName = conditionAttributeName; + _resultValue.conditionAttributeValue = conditionAttributeValue; + _resultValue.conditionDictionaryName = conditionDictionaryName; + _resultValue.conditionDictionaryValue = conditionDictionaryValue; + _resultValue.conditionId = conditionId; + _resultValue.conditionIsNegate = conditionIsNegate; + _resultValue.conditionOperator = conditionOperator; + _resultValue.conditionType = conditionType; + _resultValue.default_ = default_; + _resultValue.description = description; + _resultValue.id = id; + _resultValue.isProxy = isProxy; + _resultValue.name = name; + _resultValue.rank = rank; + _resultValue.serviceName = serviceName; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetTacacsCommandSetCommand.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetTacacsCommandSetCommand.java new file mode 100644 index 0000000..1a99f3d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetTacacsCommandSetCommand.java @@ -0,0 +1,104 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetTacacsCommandSetCommand { + /** + * @return Command arguments + * + */ + private String arguments; + /** + * @return Command + * + */ + private String command; + /** + * @return Grant + * + */ + private String grant; + + private GetTacacsCommandSetCommand() {} + /** + * @return Command arguments + * + */ + public String arguments() { + return this.arguments; + } + /** + * @return Command + * + */ + public String command() { + return this.command; + } + /** + * @return Grant + * + */ + public String grant() { + return this.grant; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTacacsCommandSetCommand defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String arguments; + private String command; + private String grant; + public Builder() {} + public Builder(GetTacacsCommandSetCommand defaults) { + Objects.requireNonNull(defaults); + this.arguments = defaults.arguments; + this.command = defaults.command; + this.grant = defaults.grant; + } + + @CustomType.Setter + public Builder arguments(String arguments) { + if (arguments == null) { + throw new MissingRequiredPropertyException("GetTacacsCommandSetCommand", "arguments"); + } + this.arguments = arguments; + return this; + } + @CustomType.Setter + public Builder command(String command) { + if (command == null) { + throw new MissingRequiredPropertyException("GetTacacsCommandSetCommand", "command"); + } + this.command = command; + return this; + } + @CustomType.Setter + public Builder grant(String grant) { + if (grant == null) { + throw new MissingRequiredPropertyException("GetTacacsCommandSetCommand", "grant"); + } + this.grant = grant; + return this; + } + public GetTacacsCommandSetCommand build() { + final var _resultValue = new GetTacacsCommandSetCommand(); + _resultValue.arguments = arguments; + _resultValue.command = command; + _resultValue.grant = grant; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetTacacsCommandSetResult.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetTacacsCommandSetResult.java new file mode 100644 index 0000000..680253a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetTacacsCommandSetResult.java @@ -0,0 +1,148 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.GetTacacsCommandSetCommand; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetTacacsCommandSetResult { + private List commands; + /** + * @return Description + * + */ + private String description; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return The name of the TACACS command set + * + */ + private String name; + /** + * @return Permit unmatched commands + * + */ + private Boolean permitUnmatched; + + private GetTacacsCommandSetResult() {} + public List commands() { + return this.commands; + } + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return The name of the TACACS command set + * + */ + public String name() { + return this.name; + } + /** + * @return Permit unmatched commands + * + */ + public Boolean permitUnmatched() { + return this.permitUnmatched; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTacacsCommandSetResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List commands; + private String description; + private String id; + private String name; + private Boolean permitUnmatched; + public Builder() {} + public Builder(GetTacacsCommandSetResult defaults) { + Objects.requireNonNull(defaults); + this.commands = defaults.commands; + this.description = defaults.description; + this.id = defaults.id; + this.name = defaults.name; + this.permitUnmatched = defaults.permitUnmatched; + } + + @CustomType.Setter + public Builder commands(List commands) { + if (commands == null) { + throw new MissingRequiredPropertyException("GetTacacsCommandSetResult", "commands"); + } + this.commands = commands; + return this; + } + public Builder commands(GetTacacsCommandSetCommand... commands) { + return commands(List.of(commands)); + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetTacacsCommandSetResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetTacacsCommandSetResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetTacacsCommandSetResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder permitUnmatched(Boolean permitUnmatched) { + if (permitUnmatched == null) { + throw new MissingRequiredPropertyException("GetTacacsCommandSetResult", "permitUnmatched"); + } + this.permitUnmatched = permitUnmatched; + return this; + } + public GetTacacsCommandSetResult build() { + final var _resultValue = new GetTacacsCommandSetResult(); + _resultValue.commands = commands; + _resultValue.description = description; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.permitUnmatched = permitUnmatched; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetTacacsProfileResult.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetTacacsProfileResult.java new file mode 100644 index 0000000..b0a1f16 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetTacacsProfileResult.java @@ -0,0 +1,124 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.GetTacacsProfileSessionAttribute; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetTacacsProfileResult { + /** + * @return Description + * + */ + private String description; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return The name of the TACACS profile + * + */ + private String name; + private List sessionAttributes; + + private GetTacacsProfileResult() {} + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return The name of the TACACS profile + * + */ + public String name() { + return this.name; + } + public List sessionAttributes() { + return this.sessionAttributes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTacacsProfileResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private String id; + private String name; + private List sessionAttributes; + public Builder() {} + public Builder(GetTacacsProfileResult defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.id = defaults.id; + this.name = defaults.name; + this.sessionAttributes = defaults.sessionAttributes; + } + + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetTacacsProfileResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetTacacsProfileResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetTacacsProfileResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder sessionAttributes(List sessionAttributes) { + if (sessionAttributes == null) { + throw new MissingRequiredPropertyException("GetTacacsProfileResult", "sessionAttributes"); + } + this.sessionAttributes = sessionAttributes; + return this; + } + public Builder sessionAttributes(GetTacacsProfileSessionAttribute... sessionAttributes) { + return sessionAttributes(List.of(sessionAttributes)); + } + public GetTacacsProfileResult build() { + final var _resultValue = new GetTacacsProfileResult(); + _resultValue.description = description; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.sessionAttributes = sessionAttributes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetTacacsProfileSessionAttribute.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetTacacsProfileSessionAttribute.java new file mode 100644 index 0000000..82af7de --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetTacacsProfileSessionAttribute.java @@ -0,0 +1,104 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetTacacsProfileSessionAttribute { + /** + * @return Name + * + */ + private String name; + /** + * @return Type + * + */ + private String type; + /** + * @return Value + * + */ + private String value; + + private GetTacacsProfileSessionAttribute() {} + /** + * @return Name + * + */ + public String name() { + return this.name; + } + /** + * @return Type + * + */ + public String type() { + return this.type; + } + /** + * @return Value + * + */ + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTacacsProfileSessionAttribute defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String type; + private String value; + public Builder() {} + public Builder(GetTacacsProfileSessionAttribute defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.type = defaults.type; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetTacacsProfileSessionAttribute", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetTacacsProfileSessionAttribute", "type"); + } + this.type = type; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("GetTacacsProfileSessionAttribute", "value"); + } + this.value = value; + return this; + } + public GetTacacsProfileSessionAttribute build() { + final var _resultValue = new GetTacacsProfileSessionAttribute(); + _resultValue.name = name; + _resultValue.type = type; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetTimeAndDateConditionResult.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetTimeAndDateConditionResult.java new file mode 100644 index 0000000..f6c5e76 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/GetTimeAndDateConditionResult.java @@ -0,0 +1,365 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetTimeAndDateConditionResult { + /** + * @return Condition description + * + */ + private String description; + /** + * @return End date + * + */ + private String endDate; + /** + * @return End time + * + */ + private String endTime; + /** + * @return Exception end date + * + */ + private String exceptionEndDate; + /** + * @return Exception end time + * + */ + private String exceptionEndTime; + /** + * @return Exception start date + * + */ + private String exceptionStartDate; + /** + * @return Exception start time + * + */ + private String exceptionStartTime; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Condition name + * + */ + private String name; + /** + * @return Start date + * + */ + private String startDate; + /** + * @return Start time + * + */ + private String startTime; + /** + * @return Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + private List weekDays; + /** + * @return Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + private List weekDaysExceptions; + + private GetTimeAndDateConditionResult() {} + /** + * @return Condition description + * + */ + public String description() { + return this.description; + } + /** + * @return End date + * + */ + public String endDate() { + return this.endDate; + } + /** + * @return End time + * + */ + public String endTime() { + return this.endTime; + } + /** + * @return Exception end date + * + */ + public String exceptionEndDate() { + return this.exceptionEndDate; + } + /** + * @return Exception end time + * + */ + public String exceptionEndTime() { + return this.exceptionEndTime; + } + /** + * @return Exception start date + * + */ + public String exceptionStartDate() { + return this.exceptionStartDate; + } + /** + * @return Exception start time + * + */ + public String exceptionStartTime() { + return this.exceptionStartTime; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Condition name + * + */ + public String name() { + return this.name; + } + /** + * @return Start date + * + */ + public String startDate() { + return this.startDate; + } + /** + * @return Start time + * + */ + public String startTime() { + return this.startTime; + } + /** + * @return Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + public List weekDays() { + return this.weekDays; + } + /** + * @return Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + public List weekDaysExceptions() { + return this.weekDaysExceptions; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTimeAndDateConditionResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private String endDate; + private String endTime; + private String exceptionEndDate; + private String exceptionEndTime; + private String exceptionStartDate; + private String exceptionStartTime; + private String id; + private Boolean isNegate; + private String name; + private String startDate; + private String startTime; + private List weekDays; + private List weekDaysExceptions; + public Builder() {} + public Builder(GetTimeAndDateConditionResult defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.endDate = defaults.endDate; + this.endTime = defaults.endTime; + this.exceptionEndDate = defaults.exceptionEndDate; + this.exceptionEndTime = defaults.exceptionEndTime; + this.exceptionStartDate = defaults.exceptionStartDate; + this.exceptionStartTime = defaults.exceptionStartTime; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.name = defaults.name; + this.startDate = defaults.startDate; + this.startTime = defaults.startTime; + this.weekDays = defaults.weekDays; + this.weekDaysExceptions = defaults.weekDaysExceptions; + } + + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder endDate(String endDate) { + if (endDate == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "endDate"); + } + this.endDate = endDate; + return this; + } + @CustomType.Setter + public Builder endTime(String endTime) { + if (endTime == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "endTime"); + } + this.endTime = endTime; + return this; + } + @CustomType.Setter + public Builder exceptionEndDate(String exceptionEndDate) { + if (exceptionEndDate == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "exceptionEndDate"); + } + this.exceptionEndDate = exceptionEndDate; + return this; + } + @CustomType.Setter + public Builder exceptionEndTime(String exceptionEndTime) { + if (exceptionEndTime == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "exceptionEndTime"); + } + this.exceptionEndTime = exceptionEndTime; + return this; + } + @CustomType.Setter + public Builder exceptionStartDate(String exceptionStartDate) { + if (exceptionStartDate == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "exceptionStartDate"); + } + this.exceptionStartDate = exceptionStartDate; + return this; + } + @CustomType.Setter + public Builder exceptionStartTime(String exceptionStartTime) { + if (exceptionStartTime == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "exceptionStartTime"); + } + this.exceptionStartTime = exceptionStartTime; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder startDate(String startDate) { + if (startDate == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "startDate"); + } + this.startDate = startDate; + return this; + } + @CustomType.Setter + public Builder startTime(String startTime) { + if (startTime == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "startTime"); + } + this.startTime = startTime; + return this; + } + @CustomType.Setter + public Builder weekDays(List weekDays) { + if (weekDays == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "weekDays"); + } + this.weekDays = weekDays; + return this; + } + public Builder weekDays(String... weekDays) { + return weekDays(List.of(weekDays)); + } + @CustomType.Setter + public Builder weekDaysExceptions(List weekDaysExceptions) { + if (weekDaysExceptions == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "weekDaysExceptions"); + } + this.weekDaysExceptions = weekDaysExceptions; + return this; + } + public Builder weekDaysExceptions(String... weekDaysExceptions) { + return weekDaysExceptions(List.of(weekDaysExceptions)); + } + public GetTimeAndDateConditionResult build() { + final var _resultValue = new GetTimeAndDateConditionResult(); + _resultValue.description = description; + _resultValue.endDate = endDate; + _resultValue.endTime = endTime; + _resultValue.exceptionEndDate = exceptionEndDate; + _resultValue.exceptionEndTime = exceptionEndTime; + _resultValue.exceptionStartDate = exceptionStartDate; + _resultValue.exceptionStartTime = exceptionStartTime; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.name = name; + _resultValue.startDate = startDate; + _resultValue.startTime = startTime; + _resultValue.weekDays = weekDays; + _resultValue.weekDaysExceptions = weekDaysExceptions; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/PolicySetChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/PolicySetChildren.java new file mode 100644 index 0000000..6ee5cb4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/PolicySetChildren.java @@ -0,0 +1,238 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.deviceadmin.outputs.PolicySetChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class PolicySetChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private @Nullable List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private PolicySetChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens == null ? List.of() : this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PolicySetChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private @Nullable List childrens; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(PolicySetChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(@Nullable List childrens) { + + this.childrens = childrens; + return this; + } + public Builder childrens(PolicySetChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("PolicySetChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public PolicySetChildren build() { + final var _resultValue = new PolicySetChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/PolicySetChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/PolicySetChildrenChildren.java new file mode 100644 index 0000000..2e5f738 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/PolicySetChildrenChildren.java @@ -0,0 +1,212 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class PolicySetChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private PolicySetChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PolicySetChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(PolicySetChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("PolicySetChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public PolicySetChildrenChildren build() { + final var _resultValue = new PolicySetChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/TacacsCommandSetCommand.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/TacacsCommandSetCommand.java new file mode 100644 index 0000000..4edb68a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/TacacsCommandSetCommand.java @@ -0,0 +1,106 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class TacacsCommandSetCommand { + /** + * @return Command arguments + * + */ + private String arguments; + /** + * @return Command + * + */ + private String command; + /** + * @return Grant + * - Choices: `PERMIT`, `DENY`, `DENY_ALWAYS` + * + */ + private String grant; + + private TacacsCommandSetCommand() {} + /** + * @return Command arguments + * + */ + public String arguments() { + return this.arguments; + } + /** + * @return Command + * + */ + public String command() { + return this.command; + } + /** + * @return Grant + * - Choices: `PERMIT`, `DENY`, `DENY_ALWAYS` + * + */ + public String grant() { + return this.grant; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(TacacsCommandSetCommand defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String arguments; + private String command; + private String grant; + public Builder() {} + public Builder(TacacsCommandSetCommand defaults) { + Objects.requireNonNull(defaults); + this.arguments = defaults.arguments; + this.command = defaults.command; + this.grant = defaults.grant; + } + + @CustomType.Setter + public Builder arguments(String arguments) { + if (arguments == null) { + throw new MissingRequiredPropertyException("TacacsCommandSetCommand", "arguments"); + } + this.arguments = arguments; + return this; + } + @CustomType.Setter + public Builder command(String command) { + if (command == null) { + throw new MissingRequiredPropertyException("TacacsCommandSetCommand", "command"); + } + this.command = command; + return this; + } + @CustomType.Setter + public Builder grant(String grant) { + if (grant == null) { + throw new MissingRequiredPropertyException("TacacsCommandSetCommand", "grant"); + } + this.grant = grant; + return this; + } + public TacacsCommandSetCommand build() { + final var _resultValue = new TacacsCommandSetCommand(); + _resultValue.arguments = arguments; + _resultValue.command = command; + _resultValue.grant = grant; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/TacacsProfileSessionAttribute.java b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/TacacsProfileSessionAttribute.java new file mode 100644 index 0000000..608b5fa --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/deviceadmin/outputs/TacacsProfileSessionAttribute.java @@ -0,0 +1,106 @@ +// *** 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.deviceadmin.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class TacacsProfileSessionAttribute { + /** + * @return Name + * + */ + private String name; + /** + * @return Type + * - Choices: `MANDATORY`, `OPTIONAL` + * + */ + private String type; + /** + * @return Value + * + */ + private String value; + + private TacacsProfileSessionAttribute() {} + /** + * @return Name + * + */ + public String name() { + return this.name; + } + /** + * @return Type + * - Choices: `MANDATORY`, `OPTIONAL` + * + */ + public String type() { + return this.type; + } + /** + * @return Value + * + */ + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(TacacsProfileSessionAttribute defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String type; + private String value; + public Builder() {} + public Builder(TacacsProfileSessionAttribute defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.type = defaults.type; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("TacacsProfileSessionAttribute", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("TacacsProfileSessionAttribute", "type"); + } + this.type = type; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("TacacsProfileSessionAttribute", "value"); + } + this.value = value; + return this; + } + public TacacsProfileSessionAttribute build() { + final var _resultValue = new TacacsProfileSessionAttribute(); + _resultValue.name = name; + _resultValue.type = type; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryAddGroups.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryAddGroups.java new file mode 100644 index 0000000..5bf33e9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryAddGroups.java @@ -0,0 +1,219 @@ +// *** 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 --> + * ```java + * 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(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(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(String name, ActiveDirectoryAddGroupsArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/activeDirectoryAddGroups:ActiveDirectoryAddGroups", name, args == null ? ActiveDirectoryAddGroupsArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private ActiveDirectoryAddGroups(String name, Output id, @Nullable ActiveDirectoryAddGroupsState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/activeDirectoryAddGroups:ActiveDirectoryAddGroups", name, state, makeResourceOptions(options, id)); + } + + 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(String name, Output id, @Nullable ActiveDirectoryAddGroupsState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new ActiveDirectoryAddGroups(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryAddGroupsArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryAddGroupsArgs.java new file mode 100644 index 0000000..872108b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryAddGroupsArgs.java @@ -0,0 +1,329 @@ +// *** 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.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryAddGroupsGroupArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ActiveDirectoryAddGroupsArgs extends com.pulumi.resources.ResourceArgs { + + public static final ActiveDirectoryAddGroupsArgs Empty = new ActiveDirectoryAddGroupsArgs(); + + /** + * String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default + * value: `Default_Scope` + * + */ + @Import(name="adScopesNames") + private @Nullable 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 Optional> adScopesNames() { + return Optional.ofNullable(this.adScopesNames); + } + + /** + * Join point Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Join point Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * AD domain associated with the join point + * + */ + @Import(name="domain", required=true) + private Output domain; + + /** + * @return AD domain associated with the join point + * + */ + public Output domain() { + return this.domain; + } + + /** + * - Default value: `true` + * + */ + @Import(name="enableDomainAllowedList") + private @Nullable Output enableDomainAllowedList; + + /** + * @return - Default value: `true` + * + */ + public Optional> enableDomainAllowedList() { + return Optional.ofNullable(this.enableDomainAllowedList); + } + + /** + * List of AD Groups + * + */ + @Import(name="groups") + private @Nullable Output> groups; + + /** + * @return List of AD Groups + * + */ + public Optional>> groups() { + return Optional.ofNullable(this.groups); + } + + /** + * Active Directory Join Point ID + * + */ + @Import(name="joinPointId", required=true) + private Output joinPointId; + + /** + * @return Active Directory Join Point ID + * + */ + public Output joinPointId() { + return this.joinPointId; + } + + /** + * The name of the active directory join point + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the active directory join point + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private ActiveDirectoryAddGroupsArgs() {} + + private ActiveDirectoryAddGroupsArgs(ActiveDirectoryAddGroupsArgs $) { + this.adScopesNames = $.adScopesNames; + this.description = $.description; + this.domain = $.domain; + this.enableDomainAllowedList = $.enableDomainAllowedList; + this.groups = $.groups; + this.joinPointId = $.joinPointId; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ActiveDirectoryAddGroupsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ActiveDirectoryAddGroupsArgs $; + + public Builder() { + $ = new ActiveDirectoryAddGroupsArgs(); + } + + public Builder(ActiveDirectoryAddGroupsArgs defaults) { + $ = new ActiveDirectoryAddGroupsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param adScopesNames String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default + * value: `Default_Scope` + * + * @return builder + * + */ + public Builder adScopesNames(@Nullable Output adScopesNames) { + $.adScopesNames = adScopesNames; + return this; + } + + /** + * @param adScopesNames String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default + * value: `Default_Scope` + * + * @return builder + * + */ + public Builder adScopesNames(String adScopesNames) { + return adScopesNames(Output.of(adScopesNames)); + } + + /** + * @param description Join point Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Join point Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param domain AD domain associated with the join point + * + * @return builder + * + */ + public Builder domain(Output domain) { + $.domain = domain; + return this; + } + + /** + * @param domain AD domain associated with the join point + * + * @return builder + * + */ + public Builder domain(String domain) { + return domain(Output.of(domain)); + } + + /** + * @param enableDomainAllowedList - Default value: `true` + * + * @return builder + * + */ + public Builder enableDomainAllowedList(@Nullable Output enableDomainAllowedList) { + $.enableDomainAllowedList = enableDomainAllowedList; + return this; + } + + /** + * @param enableDomainAllowedList - Default value: `true` + * + * @return builder + * + */ + public Builder enableDomainAllowedList(Boolean enableDomainAllowedList) { + return enableDomainAllowedList(Output.of(enableDomainAllowedList)); + } + + /** + * @param groups List of AD Groups + * + * @return builder + * + */ + public Builder groups(@Nullable Output> groups) { + $.groups = groups; + return this; + } + + /** + * @param groups List of AD Groups + * + * @return builder + * + */ + public Builder groups(List groups) { + return groups(Output.of(groups)); + } + + /** + * @param groups List of AD Groups + * + * @return builder + * + */ + public Builder groups(ActiveDirectoryAddGroupsGroupArgs... groups) { + return groups(List.of(groups)); + } + + /** + * @param joinPointId Active Directory Join Point ID + * + * @return builder + * + */ + public Builder joinPointId(Output joinPointId) { + $.joinPointId = joinPointId; + return this; + } + + /** + * @param joinPointId Active Directory Join Point ID + * + * @return builder + * + */ + public Builder joinPointId(String joinPointId) { + return joinPointId(Output.of(joinPointId)); + } + + /** + * @param name The name of the active directory join point + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the active directory join point + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public ActiveDirectoryAddGroupsArgs build() { + if ($.domain == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryAddGroupsArgs", "domain"); + } + if ($.joinPointId == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryAddGroupsArgs", "joinPointId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryJoinDomainWithAllNodes.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryJoinDomainWithAllNodes.java new file mode 100644 index 0000000..fafa483 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryJoinDomainWithAllNodes.java @@ -0,0 +1,131 @@ +// *** 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.ActiveDirectoryJoinDomainWithAllNodesArgs; +import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryJoinDomainWithAllNodesState; +import com.pulumi.ise.identitymanagement.outputs.ActiveDirectoryJoinDomainWithAllNodesAdditionalData; +import java.lang.String; +import java.util.List; +import javax.annotation.Nullable; + +/** + * This resource can manage an Active Directory Join Domain with All Nodes. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.ActiveDirectoryJoinDomainWithAllNodes; + * import com.pulumi.ise.identitymanagement.ActiveDirectoryJoinDomainWithAllNodesArgs; + * import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs; + * 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 ActiveDirectoryJoinDomainWithAllNodes("example", ActiveDirectoryJoinDomainWithAllNodesArgs.builder() + * .joinPointId("73808580-b6e6-11ee-8960-de6d7692bc40") + * .additionalDatas(ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs.builder() + * .name("username") + * .value("administrator") + * .build()) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ +@ResourceType(type="ise:identitymanagement/activeDirectoryJoinDomainWithAllNodes:ActiveDirectoryJoinDomainWithAllNodes") +public class ActiveDirectoryJoinDomainWithAllNodes extends com.pulumi.resources.CustomResource { + @Export(name="additionalDatas", refs={List.class,ActiveDirectoryJoinDomainWithAllNodesAdditionalData.class}, tree="[0,1]") + private Output> additionalDatas; + + public Output> additionalDatas() { + return this.additionalDatas; + } + /** + * 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; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public ActiveDirectoryJoinDomainWithAllNodes(String name) { + this(name, ActiveDirectoryJoinDomainWithAllNodesArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public ActiveDirectoryJoinDomainWithAllNodes(String name, ActiveDirectoryJoinDomainWithAllNodesArgs 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 ActiveDirectoryJoinDomainWithAllNodes(String name, ActiveDirectoryJoinDomainWithAllNodesArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/activeDirectoryJoinDomainWithAllNodes:ActiveDirectoryJoinDomainWithAllNodes", name, args == null ? ActiveDirectoryJoinDomainWithAllNodesArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private ActiveDirectoryJoinDomainWithAllNodes(String name, Output id, @Nullable ActiveDirectoryJoinDomainWithAllNodesState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/activeDirectoryJoinDomainWithAllNodes:ActiveDirectoryJoinDomainWithAllNodes", name, state, makeResourceOptions(options, id)); + } + + 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 ActiveDirectoryJoinDomainWithAllNodes get(String name, Output id, @Nullable ActiveDirectoryJoinDomainWithAllNodesState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new ActiveDirectoryJoinDomainWithAllNodes(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryJoinDomainWithAllNodesArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryJoinDomainWithAllNodesArgs.java new file mode 100644 index 0000000..ca4ec4d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryJoinDomainWithAllNodesArgs.java @@ -0,0 +1,111 @@ +// *** 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.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class ActiveDirectoryJoinDomainWithAllNodesArgs extends com.pulumi.resources.ResourceArgs { + + public static final ActiveDirectoryJoinDomainWithAllNodesArgs Empty = new ActiveDirectoryJoinDomainWithAllNodesArgs(); + + @Import(name="additionalDatas", required=true) + private Output> additionalDatas; + + public Output> additionalDatas() { + return this.additionalDatas; + } + + /** + * Active Directory Join Point ID + * + */ + @Import(name="joinPointId", required=true) + private Output joinPointId; + + /** + * @return Active Directory Join Point ID + * + */ + public Output joinPointId() { + return this.joinPointId; + } + + private ActiveDirectoryJoinDomainWithAllNodesArgs() {} + + private ActiveDirectoryJoinDomainWithAllNodesArgs(ActiveDirectoryJoinDomainWithAllNodesArgs $) { + this.additionalDatas = $.additionalDatas; + this.joinPointId = $.joinPointId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ActiveDirectoryJoinDomainWithAllNodesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ActiveDirectoryJoinDomainWithAllNodesArgs $; + + public Builder() { + $ = new ActiveDirectoryJoinDomainWithAllNodesArgs(); + } + + public Builder(ActiveDirectoryJoinDomainWithAllNodesArgs defaults) { + $ = new ActiveDirectoryJoinDomainWithAllNodesArgs(Objects.requireNonNull(defaults)); + } + + public Builder additionalDatas(Output> additionalDatas) { + $.additionalDatas = additionalDatas; + return this; + } + + public Builder additionalDatas(List additionalDatas) { + return additionalDatas(Output.of(additionalDatas)); + } + + public Builder additionalDatas(ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs... additionalDatas) { + return additionalDatas(List.of(additionalDatas)); + } + + /** + * @param joinPointId Active Directory Join Point ID + * + * @return builder + * + */ + public Builder joinPointId(Output joinPointId) { + $.joinPointId = joinPointId; + return this; + } + + /** + * @param joinPointId Active Directory Join Point ID + * + * @return builder + * + */ + public Builder joinPointId(String joinPointId) { + return joinPointId(Output.of(joinPointId)); + } + + public ActiveDirectoryJoinDomainWithAllNodesArgs build() { + if ($.additionalDatas == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinDomainWithAllNodesArgs", "additionalDatas"); + } + if ($.joinPointId == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinDomainWithAllNodesArgs", "joinPointId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryJoinPoint.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryJoinPoint.java new file mode 100644 index 0000000..baf94c1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryJoinPoint.java @@ -0,0 +1,629 @@ +// *** 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.ActiveDirectoryJoinPointArgs; +import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryJoinPointState; +import com.pulumi.ise.identitymanagement.outputs.ActiveDirectoryJoinPointAttribute; +import com.pulumi.ise.identitymanagement.outputs.ActiveDirectoryJoinPointGroup; +import com.pulumi.ise.identitymanagement.outputs.ActiveDirectoryJoinPointRewriteRule; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage an Active Directory Join Point. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.ActiveDirectoryJoinPoint; + * import com.pulumi.ise.identitymanagement.ActiveDirectoryJoinPointArgs; + * import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryJoinPointGroupArgs; + * import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryJoinPointAttributeArgs; + * import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryJoinPointRewriteRuleArgs; + * 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 ActiveDirectoryJoinPoint("example", ActiveDirectoryJoinPointArgs.builder() + * .name("cisco.local") + * .description("My AD join point") + * .domain("cisco.local") + * .adScopesNames("Default_Scope") + * .enableDomainAllowedList(true) + * .groups(ActiveDirectoryJoinPointGroupArgs.builder() + * .name("cisco.local/operators") + * .sid("S-1-5-32-548") + * .type("GLOBAL") + * .build()) + * .attributes(ActiveDirectoryJoinPointAttributeArgs.builder() + * .name("Attribute_1") + * .type("STRING") + * .internal_name("internal_name") + * .default_value("default_string") + * .build()) + * .rewriteRules(ActiveDirectoryJoinPointRewriteRuleArgs.builder() + * .row_id("0") + * .rewrite_match("rewrite_match") + * .rewrite_result("rewrite_result") + * .build()) + * .enableRewrites(false) + * .enablePassChange(true) + * .enableMachineAuth(true) + * .enableMachineAccess(true) + * .enableDialinPermissionCheck(false) + * .plaintextAuth(false) + * .agingTime(5) + * .enableCallbackForDialinClient(false) + * .identityNotInAdBehaviour("SEARCH_JOINED_FOREST") + * .unreachableDomainsBehaviour("PROCEED") + * .schema("ACTIVE_DIRECTORY") + * .firstName("givenName") + * .department("department") + * .lastName("sn") + * .organizationalUnit("company") + * .jobTitle("title") + * .locality("l") + * .email("mail") + * .stateOrProvince("st") + * .telephone("telephoneNumber") + * .country("co") + * .streetAddress("streetAddress") + * .enableFailedAuthProtection(false) + * .failedAuthThreshold(5) + * .authProtectionType("WIRELESS") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:identitymanagement/activeDirectoryJoinPoint:ActiveDirectoryJoinPoint example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:identitymanagement/activeDirectoryJoinPoint:ActiveDirectoryJoinPoint") +public class ActiveDirectoryJoinPoint extends com.pulumi.resources.CustomResource { + /** + * String that contains the names of the scopes that the active directory belongs to. Names are separated by comma. - + * 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 comma. - + * Default value: `Default_Scope` + * + */ + public Output adScopesNames() { + return this.adScopesNames; + } + /** + * Aging Time - Default value: `5` + * + */ + @Export(name="agingTime", refs={Integer.class}, tree="[0]") + private Output agingTime; + + /** + * @return Aging Time - Default value: `5` + * + */ + public Output agingTime() { + return this.agingTime; + } + /** + * List of AD attributes + * + */ + @Export(name="attributes", refs={List.class,ActiveDirectoryJoinPointAttribute.class}, tree="[0,1]") + private Output> attributes; + + /** + * @return List of AD attributes + * + */ + public Output>> attributes() { + return Codegen.optional(this.attributes); + } + /** + * Enable prevent AD account lockout for WIRELESS/WIRED/BOTH - Choices: `WIRELESS`, `WIRED`, `BOTH` + * + */ + @Export(name="authProtectionType", refs={String.class}, tree="[0]") + private Output authProtectionType; + + /** + * @return Enable prevent AD account lockout for WIRELESS/WIRED/BOTH - Choices: `WIRELESS`, `WIRED`, `BOTH` + * + */ + public Output> authProtectionType() { + return Codegen.optional(this.authProtectionType); + } + /** + * User info attribute + * + */ + @Export(name="country", refs={String.class}, tree="[0]") + private Output country; + + /** + * @return User info attribute + * + */ + public Output> country() { + return Codegen.optional(this.country); + } + /** + * User info attribute + * + */ + @Export(name="department", refs={String.class}, tree="[0]") + private Output department; + + /** + * @return User info attribute + * + */ + public Output> department() { + return Codegen.optional(this.department); + } + /** + * 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; + } + /** + * User info attribute + * + */ + @Export(name="email", refs={String.class}, tree="[0]") + private Output email; + + /** + * @return User info attribute + * + */ + public Output> email() { + return Codegen.optional(this.email); + } + /** + * Enable Callback For Dial In Client - Default value: `false` + * + */ + @Export(name="enableCallbackForDialinClient", refs={Boolean.class}, tree="[0]") + private Output enableCallbackForDialinClient; + + /** + * @return Enable Callback For Dial In Client - Default value: `false` + * + */ + public Output enableCallbackForDialinClient() { + return this.enableCallbackForDialinClient; + } + /** + * Enable Dial In Permission Check - Default value: `false` + * + */ + @Export(name="enableDialinPermissionCheck", refs={Boolean.class}, tree="[0]") + private Output enableDialinPermissionCheck; + + /** + * @return Enable Dial In Permission Check - Default value: `false` + * + */ + public Output enableDialinPermissionCheck() { + return this.enableDialinPermissionCheck; + } + /** + * - Default value: `true` + * + */ + @Export(name="enableDomainAllowedList", refs={Boolean.class}, tree="[0]") + private Output enableDomainAllowedList; + + /** + * @return - Default value: `true` + * + */ + public Output enableDomainAllowedList() { + return this.enableDomainAllowedList; + } + /** + * Enable prevent AD account lockout due to too many bad password attempts - Default value: `false` + * + */ + @Export(name="enableFailedAuthProtection", refs={Boolean.class}, tree="[0]") + private Output enableFailedAuthProtection; + + /** + * @return Enable prevent AD account lockout due to too many bad password attempts - Default value: `false` + * + */ + public Output enableFailedAuthProtection() { + return this.enableFailedAuthProtection; + } + /** + * Enable Machine Access - Default value: `true` + * + */ + @Export(name="enableMachineAccess", refs={Boolean.class}, tree="[0]") + private Output enableMachineAccess; + + /** + * @return Enable Machine Access - Default value: `true` + * + */ + public Output enableMachineAccess() { + return this.enableMachineAccess; + } + /** + * Enable Machine Authentication - Default value: `true` + * + */ + @Export(name="enableMachineAuth", refs={Boolean.class}, tree="[0]") + private Output enableMachineAuth; + + /** + * @return Enable Machine Authentication - Default value: `true` + * + */ + public Output enableMachineAuth() { + return this.enableMachineAuth; + } + /** + * Enable Password Change - Default value: `true` + * + */ + @Export(name="enablePassChange", refs={Boolean.class}, tree="[0]") + private Output enablePassChange; + + /** + * @return Enable Password Change - Default value: `true` + * + */ + public Output enablePassChange() { + return this.enablePassChange; + } + /** + * Enable Rewrites - Default value: `false` + * + */ + @Export(name="enableRewrites", refs={Boolean.class}, tree="[0]") + private Output enableRewrites; + + /** + * @return Enable Rewrites - Default value: `false` + * + */ + public Output enableRewrites() { + return this.enableRewrites; + } + /** + * Number of bad password attempts - Default value: `5` + * + */ + @Export(name="failedAuthThreshold", refs={Integer.class}, tree="[0]") + private Output failedAuthThreshold; + + /** + * @return Number of bad password attempts - Default value: `5` + * + */ + public Output failedAuthThreshold() { + return this.failedAuthThreshold; + } + /** + * User info attribute + * + */ + @Export(name="firstName", refs={String.class}, tree="[0]") + private Output firstName; + + /** + * @return User info attribute + * + */ + public Output> firstName() { + return Codegen.optional(this.firstName); + } + /** + * List of AD Groups + * + */ + @Export(name="groups", refs={List.class,ActiveDirectoryJoinPointGroup.class}, tree="[0,1]") + private Output> groups; + + /** + * @return List of AD Groups + * + */ + public Output>> groups() { + return Codegen.optional(this.groups); + } + /** + * Identity Not In AD Behaviour - Choices: `REJECT`, `SEARCH_JOINED_FOREST`, `SEARCH_ALL` + * + */ + @Export(name="identityNotInAdBehaviour", refs={String.class}, tree="[0]") + private Output identityNotInAdBehaviour; + + /** + * @return Identity Not In AD Behaviour - Choices: `REJECT`, `SEARCH_JOINED_FOREST`, `SEARCH_ALL` + * + */ + public Output> identityNotInAdBehaviour() { + return Codegen.optional(this.identityNotInAdBehaviour); + } + /** + * User info attribute + * + */ + @Export(name="jobTitle", refs={String.class}, tree="[0]") + private Output jobTitle; + + /** + * @return User info attribute + * + */ + public Output> jobTitle() { + return Codegen.optional(this.jobTitle); + } + /** + * User info attribute + * + */ + @Export(name="lastName", refs={String.class}, tree="[0]") + private Output lastName; + + /** + * @return User info attribute + * + */ + public Output> lastName() { + return Codegen.optional(this.lastName); + } + /** + * User info attribute + * + */ + @Export(name="locality", refs={String.class}, tree="[0]") + private Output locality; + + /** + * @return User info attribute + * + */ + public Output> locality() { + return Codegen.optional(this.locality); + } + /** + * 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; + } + /** + * User info attribute + * + */ + @Export(name="organizationalUnit", refs={String.class}, tree="[0]") + private Output organizationalUnit; + + /** + * @return User info attribute + * + */ + public Output> organizationalUnit() { + return Codegen.optional(this.organizationalUnit); + } + /** + * Plain Text Authentication - Default value: `false` + * + */ + @Export(name="plaintextAuth", refs={Boolean.class}, tree="[0]") + private Output plaintextAuth; + + /** + * @return Plain Text Authentication - Default value: `false` + * + */ + public Output plaintextAuth() { + return this.plaintextAuth; + } + /** + * List of Rewrite rules + * + */ + @Export(name="rewriteRules", refs={List.class,ActiveDirectoryJoinPointRewriteRule.class}, tree="[0,1]") + private Output> rewriteRules; + + /** + * @return List of Rewrite rules + * + */ + public Output>> rewriteRules() { + return Codegen.optional(this.rewriteRules); + } + /** + * Schema - Choices: `ACTIVE_DIRECTORY`, `CUSTOM` + * + */ + @Export(name="schema", refs={String.class}, tree="[0]") + private Output schema; + + /** + * @return Schema - Choices: `ACTIVE_DIRECTORY`, `CUSTOM` + * + */ + public Output> schema() { + return Codegen.optional(this.schema); + } + /** + * User info attribute + * + */ + @Export(name="stateOrProvince", refs={String.class}, tree="[0]") + private Output stateOrProvince; + + /** + * @return User info attribute + * + */ + public Output> stateOrProvince() { + return Codegen.optional(this.stateOrProvince); + } + /** + * User info attribute + * + */ + @Export(name="streetAddress", refs={String.class}, tree="[0]") + private Output streetAddress; + + /** + * @return User info attribute + * + */ + public Output> streetAddress() { + return Codegen.optional(this.streetAddress); + } + /** + * User info attribute + * + */ + @Export(name="telephone", refs={String.class}, tree="[0]") + private Output telephone; + + /** + * @return User info attribute + * + */ + public Output> telephone() { + return Codegen.optional(this.telephone); + } + /** + * Unreachable Domains Behaviour - Choices: `PROCEED`, `DROP` + * + */ + @Export(name="unreachableDomainsBehaviour", refs={String.class}, tree="[0]") + private Output unreachableDomainsBehaviour; + + /** + * @return Unreachable Domains Behaviour - Choices: `PROCEED`, `DROP` + * + */ + public Output> unreachableDomainsBehaviour() { + return Codegen.optional(this.unreachableDomainsBehaviour); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public ActiveDirectoryJoinPoint(String name) { + this(name, ActiveDirectoryJoinPointArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public ActiveDirectoryJoinPoint(String name, ActiveDirectoryJoinPointArgs 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 ActiveDirectoryJoinPoint(String name, ActiveDirectoryJoinPointArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/activeDirectoryJoinPoint:ActiveDirectoryJoinPoint", name, args == null ? ActiveDirectoryJoinPointArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private ActiveDirectoryJoinPoint(String name, Output id, @Nullable ActiveDirectoryJoinPointState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/activeDirectoryJoinPoint:ActiveDirectoryJoinPoint", name, state, makeResourceOptions(options, id)); + } + + 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 ActiveDirectoryJoinPoint get(String name, Output id, @Nullable ActiveDirectoryJoinPointState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new ActiveDirectoryJoinPoint(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryJoinPointArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryJoinPointArgs.java new file mode 100644 index 0000000..4b7ca1b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/ActiveDirectoryJoinPointArgs.java @@ -0,0 +1,1311 @@ +// *** 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.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryJoinPointAttributeArgs; +import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryJoinPointGroupArgs; +import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryJoinPointRewriteRuleArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ActiveDirectoryJoinPointArgs extends com.pulumi.resources.ResourceArgs { + + public static final ActiveDirectoryJoinPointArgs Empty = new ActiveDirectoryJoinPointArgs(); + + /** + * String that contains the names of the scopes that the active directory belongs to. Names are separated by comma. - + * Default value: `Default_Scope` + * + */ + @Import(name="adScopesNames") + private @Nullable Output adScopesNames; + + /** + * @return String that contains the names of the scopes that the active directory belongs to. Names are separated by comma. - + * Default value: `Default_Scope` + * + */ + public Optional> adScopesNames() { + return Optional.ofNullable(this.adScopesNames); + } + + /** + * Aging Time - Default value: `5` + * + */ + @Import(name="agingTime") + private @Nullable Output agingTime; + + /** + * @return Aging Time - Default value: `5` + * + */ + public Optional> agingTime() { + return Optional.ofNullable(this.agingTime); + } + + /** + * List of AD attributes + * + */ + @Import(name="attributes") + private @Nullable Output> attributes; + + /** + * @return List of AD attributes + * + */ + public Optional>> attributes() { + return Optional.ofNullable(this.attributes); + } + + /** + * Enable prevent AD account lockout for WIRELESS/WIRED/BOTH - Choices: `WIRELESS`, `WIRED`, `BOTH` + * + */ + @Import(name="authProtectionType") + private @Nullable Output authProtectionType; + + /** + * @return Enable prevent AD account lockout for WIRELESS/WIRED/BOTH - Choices: `WIRELESS`, `WIRED`, `BOTH` + * + */ + public Optional> authProtectionType() { + return Optional.ofNullable(this.authProtectionType); + } + + /** + * User info attribute + * + */ + @Import(name="country") + private @Nullable Output country; + + /** + * @return User info attribute + * + */ + public Optional> country() { + return Optional.ofNullable(this.country); + } + + /** + * User info attribute + * + */ + @Import(name="department") + private @Nullable Output department; + + /** + * @return User info attribute + * + */ + public Optional> department() { + return Optional.ofNullable(this.department); + } + + /** + * Join point description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Join point description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * AD domain associated with the join point + * + */ + @Import(name="domain", required=true) + private Output domain; + + /** + * @return AD domain associated with the join point + * + */ + public Output domain() { + return this.domain; + } + + /** + * User info attribute + * + */ + @Import(name="email") + private @Nullable Output email; + + /** + * @return User info attribute + * + */ + public Optional> email() { + return Optional.ofNullable(this.email); + } + + /** + * Enable Callback For Dial In Client - Default value: `false` + * + */ + @Import(name="enableCallbackForDialinClient") + private @Nullable Output enableCallbackForDialinClient; + + /** + * @return Enable Callback For Dial In Client - Default value: `false` + * + */ + public Optional> enableCallbackForDialinClient() { + return Optional.ofNullable(this.enableCallbackForDialinClient); + } + + /** + * Enable Dial In Permission Check - Default value: `false` + * + */ + @Import(name="enableDialinPermissionCheck") + private @Nullable Output enableDialinPermissionCheck; + + /** + * @return Enable Dial In Permission Check - Default value: `false` + * + */ + public Optional> enableDialinPermissionCheck() { + return Optional.ofNullable(this.enableDialinPermissionCheck); + } + + /** + * - Default value: `true` + * + */ + @Import(name="enableDomainAllowedList") + private @Nullable Output enableDomainAllowedList; + + /** + * @return - Default value: `true` + * + */ + public Optional> enableDomainAllowedList() { + return Optional.ofNullable(this.enableDomainAllowedList); + } + + /** + * Enable prevent AD account lockout due to too many bad password attempts - Default value: `false` + * + */ + @Import(name="enableFailedAuthProtection") + private @Nullable Output enableFailedAuthProtection; + + /** + * @return Enable prevent AD account lockout due to too many bad password attempts - Default value: `false` + * + */ + public Optional> enableFailedAuthProtection() { + return Optional.ofNullable(this.enableFailedAuthProtection); + } + + /** + * Enable Machine Access - Default value: `true` + * + */ + @Import(name="enableMachineAccess") + private @Nullable Output enableMachineAccess; + + /** + * @return Enable Machine Access - Default value: `true` + * + */ + public Optional> enableMachineAccess() { + return Optional.ofNullable(this.enableMachineAccess); + } + + /** + * Enable Machine Authentication - Default value: `true` + * + */ + @Import(name="enableMachineAuth") + private @Nullable Output enableMachineAuth; + + /** + * @return Enable Machine Authentication - Default value: `true` + * + */ + public Optional> enableMachineAuth() { + return Optional.ofNullable(this.enableMachineAuth); + } + + /** + * Enable Password Change - Default value: `true` + * + */ + @Import(name="enablePassChange") + private @Nullable Output enablePassChange; + + /** + * @return Enable Password Change - Default value: `true` + * + */ + public Optional> enablePassChange() { + return Optional.ofNullable(this.enablePassChange); + } + + /** + * Enable Rewrites - Default value: `false` + * + */ + @Import(name="enableRewrites") + private @Nullable Output enableRewrites; + + /** + * @return Enable Rewrites - Default value: `false` + * + */ + public Optional> enableRewrites() { + return Optional.ofNullable(this.enableRewrites); + } + + /** + * Number of bad password attempts - Default value: `5` + * + */ + @Import(name="failedAuthThreshold") + private @Nullable Output failedAuthThreshold; + + /** + * @return Number of bad password attempts - Default value: `5` + * + */ + public Optional> failedAuthThreshold() { + return Optional.ofNullable(this.failedAuthThreshold); + } + + /** + * User info attribute + * + */ + @Import(name="firstName") + private @Nullable Output firstName; + + /** + * @return User info attribute + * + */ + public Optional> firstName() { + return Optional.ofNullable(this.firstName); + } + + /** + * List of AD Groups + * + */ + @Import(name="groups") + private @Nullable Output> groups; + + /** + * @return List of AD Groups + * + */ + public Optional>> groups() { + return Optional.ofNullable(this.groups); + } + + /** + * Identity Not In AD Behaviour - Choices: `REJECT`, `SEARCH_JOINED_FOREST`, `SEARCH_ALL` + * + */ + @Import(name="identityNotInAdBehaviour") + private @Nullable Output identityNotInAdBehaviour; + + /** + * @return Identity Not In AD Behaviour - Choices: `REJECT`, `SEARCH_JOINED_FOREST`, `SEARCH_ALL` + * + */ + public Optional> identityNotInAdBehaviour() { + return Optional.ofNullable(this.identityNotInAdBehaviour); + } + + /** + * User info attribute + * + */ + @Import(name="jobTitle") + private @Nullable Output jobTitle; + + /** + * @return User info attribute + * + */ + public Optional> jobTitle() { + return Optional.ofNullable(this.jobTitle); + } + + /** + * User info attribute + * + */ + @Import(name="lastName") + private @Nullable Output lastName; + + /** + * @return User info attribute + * + */ + public Optional> lastName() { + return Optional.ofNullable(this.lastName); + } + + /** + * User info attribute + * + */ + @Import(name="locality") + private @Nullable Output locality; + + /** + * @return User info attribute + * + */ + public Optional> locality() { + return Optional.ofNullable(this.locality); + } + + /** + * The name of the active directory join point + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the active directory join point + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * User info attribute + * + */ + @Import(name="organizationalUnit") + private @Nullable Output organizationalUnit; + + /** + * @return User info attribute + * + */ + public Optional> organizationalUnit() { + return Optional.ofNullable(this.organizationalUnit); + } + + /** + * Plain Text Authentication - Default value: `false` + * + */ + @Import(name="plaintextAuth") + private @Nullable Output plaintextAuth; + + /** + * @return Plain Text Authentication - Default value: `false` + * + */ + public Optional> plaintextAuth() { + return Optional.ofNullable(this.plaintextAuth); + } + + /** + * List of Rewrite rules + * + */ + @Import(name="rewriteRules") + private @Nullable Output> rewriteRules; + + /** + * @return List of Rewrite rules + * + */ + public Optional>> rewriteRules() { + return Optional.ofNullable(this.rewriteRules); + } + + /** + * Schema - Choices: `ACTIVE_DIRECTORY`, `CUSTOM` + * + */ + @Import(name="schema") + private @Nullable Output schema; + + /** + * @return Schema - Choices: `ACTIVE_DIRECTORY`, `CUSTOM` + * + */ + public Optional> schema() { + return Optional.ofNullable(this.schema); + } + + /** + * User info attribute + * + */ + @Import(name="stateOrProvince") + private @Nullable Output stateOrProvince; + + /** + * @return User info attribute + * + */ + public Optional> stateOrProvince() { + return Optional.ofNullable(this.stateOrProvince); + } + + /** + * User info attribute + * + */ + @Import(name="streetAddress") + private @Nullable Output streetAddress; + + /** + * @return User info attribute + * + */ + public Optional> streetAddress() { + return Optional.ofNullable(this.streetAddress); + } + + /** + * User info attribute + * + */ + @Import(name="telephone") + private @Nullable Output telephone; + + /** + * @return User info attribute + * + */ + public Optional> telephone() { + return Optional.ofNullable(this.telephone); + } + + /** + * Unreachable Domains Behaviour - Choices: `PROCEED`, `DROP` + * + */ + @Import(name="unreachableDomainsBehaviour") + private @Nullable Output unreachableDomainsBehaviour; + + /** + * @return Unreachable Domains Behaviour - Choices: `PROCEED`, `DROP` + * + */ + public Optional> unreachableDomainsBehaviour() { + return Optional.ofNullable(this.unreachableDomainsBehaviour); + } + + private ActiveDirectoryJoinPointArgs() {} + + private ActiveDirectoryJoinPointArgs(ActiveDirectoryJoinPointArgs $) { + this.adScopesNames = $.adScopesNames; + this.agingTime = $.agingTime; + this.attributes = $.attributes; + this.authProtectionType = $.authProtectionType; + this.country = $.country; + this.department = $.department; + this.description = $.description; + this.domain = $.domain; + this.email = $.email; + this.enableCallbackForDialinClient = $.enableCallbackForDialinClient; + this.enableDialinPermissionCheck = $.enableDialinPermissionCheck; + this.enableDomainAllowedList = $.enableDomainAllowedList; + this.enableFailedAuthProtection = $.enableFailedAuthProtection; + this.enableMachineAccess = $.enableMachineAccess; + this.enableMachineAuth = $.enableMachineAuth; + this.enablePassChange = $.enablePassChange; + this.enableRewrites = $.enableRewrites; + this.failedAuthThreshold = $.failedAuthThreshold; + this.firstName = $.firstName; + this.groups = $.groups; + this.identityNotInAdBehaviour = $.identityNotInAdBehaviour; + this.jobTitle = $.jobTitle; + this.lastName = $.lastName; + this.locality = $.locality; + this.name = $.name; + this.organizationalUnit = $.organizationalUnit; + this.plaintextAuth = $.plaintextAuth; + this.rewriteRules = $.rewriteRules; + this.schema = $.schema; + this.stateOrProvince = $.stateOrProvince; + this.streetAddress = $.streetAddress; + this.telephone = $.telephone; + this.unreachableDomainsBehaviour = $.unreachableDomainsBehaviour; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ActiveDirectoryJoinPointArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ActiveDirectoryJoinPointArgs $; + + public Builder() { + $ = new ActiveDirectoryJoinPointArgs(); + } + + public Builder(ActiveDirectoryJoinPointArgs defaults) { + $ = new ActiveDirectoryJoinPointArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param adScopesNames String that contains the names of the scopes that the active directory belongs to. Names are separated by comma. - + * Default value: `Default_Scope` + * + * @return builder + * + */ + public Builder adScopesNames(@Nullable Output adScopesNames) { + $.adScopesNames = adScopesNames; + return this; + } + + /** + * @param adScopesNames String that contains the names of the scopes that the active directory belongs to. Names are separated by comma. - + * Default value: `Default_Scope` + * + * @return builder + * + */ + public Builder adScopesNames(String adScopesNames) { + return adScopesNames(Output.of(adScopesNames)); + } + + /** + * @param agingTime Aging Time - Default value: `5` + * + * @return builder + * + */ + public Builder agingTime(@Nullable Output agingTime) { + $.agingTime = agingTime; + return this; + } + + /** + * @param agingTime Aging Time - Default value: `5` + * + * @return builder + * + */ + public Builder agingTime(Integer agingTime) { + return agingTime(Output.of(agingTime)); + } + + /** + * @param attributes List of AD attributes + * + * @return builder + * + */ + public Builder attributes(@Nullable Output> attributes) { + $.attributes = attributes; + return this; + } + + /** + * @param attributes List of AD attributes + * + * @return builder + * + */ + public Builder attributes(List attributes) { + return attributes(Output.of(attributes)); + } + + /** + * @param attributes List of AD attributes + * + * @return builder + * + */ + public Builder attributes(ActiveDirectoryJoinPointAttributeArgs... attributes) { + return attributes(List.of(attributes)); + } + + /** + * @param authProtectionType Enable prevent AD account lockout for WIRELESS/WIRED/BOTH - Choices: `WIRELESS`, `WIRED`, `BOTH` + * + * @return builder + * + */ + public Builder authProtectionType(@Nullable Output authProtectionType) { + $.authProtectionType = authProtectionType; + return this; + } + + /** + * @param authProtectionType Enable prevent AD account lockout for WIRELESS/WIRED/BOTH - Choices: `WIRELESS`, `WIRED`, `BOTH` + * + * @return builder + * + */ + public Builder authProtectionType(String authProtectionType) { + return authProtectionType(Output.of(authProtectionType)); + } + + /** + * @param country User info attribute + * + * @return builder + * + */ + public Builder country(@Nullable Output country) { + $.country = country; + return this; + } + + /** + * @param country User info attribute + * + * @return builder + * + */ + public Builder country(String country) { + return country(Output.of(country)); + } + + /** + * @param department User info attribute + * + * @return builder + * + */ + public Builder department(@Nullable Output department) { + $.department = department; + return this; + } + + /** + * @param department User info attribute + * + * @return builder + * + */ + public Builder department(String department) { + return department(Output.of(department)); + } + + /** + * @param description Join point description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Join point description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param domain AD domain associated with the join point + * + * @return builder + * + */ + public Builder domain(Output domain) { + $.domain = domain; + return this; + } + + /** + * @param domain AD domain associated with the join point + * + * @return builder + * + */ + public Builder domain(String domain) { + return domain(Output.of(domain)); + } + + /** + * @param email User info attribute + * + * @return builder + * + */ + public Builder email(@Nullable Output email) { + $.email = email; + return this; + } + + /** + * @param email User info attribute + * + * @return builder + * + */ + public Builder email(String email) { + return email(Output.of(email)); + } + + /** + * @param enableCallbackForDialinClient Enable Callback For Dial In Client - Default value: `false` + * + * @return builder + * + */ + public Builder enableCallbackForDialinClient(@Nullable Output enableCallbackForDialinClient) { + $.enableCallbackForDialinClient = enableCallbackForDialinClient; + return this; + } + + /** + * @param enableCallbackForDialinClient Enable Callback For Dial In Client - Default value: `false` + * + * @return builder + * + */ + public Builder enableCallbackForDialinClient(Boolean enableCallbackForDialinClient) { + return enableCallbackForDialinClient(Output.of(enableCallbackForDialinClient)); + } + + /** + * @param enableDialinPermissionCheck Enable Dial In Permission Check - Default value: `false` + * + * @return builder + * + */ + public Builder enableDialinPermissionCheck(@Nullable Output enableDialinPermissionCheck) { + $.enableDialinPermissionCheck = enableDialinPermissionCheck; + return this; + } + + /** + * @param enableDialinPermissionCheck Enable Dial In Permission Check - Default value: `false` + * + * @return builder + * + */ + public Builder enableDialinPermissionCheck(Boolean enableDialinPermissionCheck) { + return enableDialinPermissionCheck(Output.of(enableDialinPermissionCheck)); + } + + /** + * @param enableDomainAllowedList - Default value: `true` + * + * @return builder + * + */ + public Builder enableDomainAllowedList(@Nullable Output enableDomainAllowedList) { + $.enableDomainAllowedList = enableDomainAllowedList; + return this; + } + + /** + * @param enableDomainAllowedList - Default value: `true` + * + * @return builder + * + */ + public Builder enableDomainAllowedList(Boolean enableDomainAllowedList) { + return enableDomainAllowedList(Output.of(enableDomainAllowedList)); + } + + /** + * @param enableFailedAuthProtection Enable prevent AD account lockout due to too many bad password attempts - Default value: `false` + * + * @return builder + * + */ + public Builder enableFailedAuthProtection(@Nullable Output enableFailedAuthProtection) { + $.enableFailedAuthProtection = enableFailedAuthProtection; + return this; + } + + /** + * @param enableFailedAuthProtection Enable prevent AD account lockout due to too many bad password attempts - Default value: `false` + * + * @return builder + * + */ + public Builder enableFailedAuthProtection(Boolean enableFailedAuthProtection) { + return enableFailedAuthProtection(Output.of(enableFailedAuthProtection)); + } + + /** + * @param enableMachineAccess Enable Machine Access - Default value: `true` + * + * @return builder + * + */ + public Builder enableMachineAccess(@Nullable Output enableMachineAccess) { + $.enableMachineAccess = enableMachineAccess; + return this; + } + + /** + * @param enableMachineAccess Enable Machine Access - Default value: `true` + * + * @return builder + * + */ + public Builder enableMachineAccess(Boolean enableMachineAccess) { + return enableMachineAccess(Output.of(enableMachineAccess)); + } + + /** + * @param enableMachineAuth Enable Machine Authentication - Default value: `true` + * + * @return builder + * + */ + public Builder enableMachineAuth(@Nullable Output enableMachineAuth) { + $.enableMachineAuth = enableMachineAuth; + return this; + } + + /** + * @param enableMachineAuth Enable Machine Authentication - Default value: `true` + * + * @return builder + * + */ + public Builder enableMachineAuth(Boolean enableMachineAuth) { + return enableMachineAuth(Output.of(enableMachineAuth)); + } + + /** + * @param enablePassChange Enable Password Change - Default value: `true` + * + * @return builder + * + */ + public Builder enablePassChange(@Nullable Output enablePassChange) { + $.enablePassChange = enablePassChange; + return this; + } + + /** + * @param enablePassChange Enable Password Change - Default value: `true` + * + * @return builder + * + */ + public Builder enablePassChange(Boolean enablePassChange) { + return enablePassChange(Output.of(enablePassChange)); + } + + /** + * @param enableRewrites Enable Rewrites - Default value: `false` + * + * @return builder + * + */ + public Builder enableRewrites(@Nullable Output enableRewrites) { + $.enableRewrites = enableRewrites; + return this; + } + + /** + * @param enableRewrites Enable Rewrites - Default value: `false` + * + * @return builder + * + */ + public Builder enableRewrites(Boolean enableRewrites) { + return enableRewrites(Output.of(enableRewrites)); + } + + /** + * @param failedAuthThreshold Number of bad password attempts - Default value: `5` + * + * @return builder + * + */ + public Builder failedAuthThreshold(@Nullable Output failedAuthThreshold) { + $.failedAuthThreshold = failedAuthThreshold; + return this; + } + + /** + * @param failedAuthThreshold Number of bad password attempts - Default value: `5` + * + * @return builder + * + */ + public Builder failedAuthThreshold(Integer failedAuthThreshold) { + return failedAuthThreshold(Output.of(failedAuthThreshold)); + } + + /** + * @param firstName User info attribute + * + * @return builder + * + */ + public Builder firstName(@Nullable Output firstName) { + $.firstName = firstName; + return this; + } + + /** + * @param firstName User info attribute + * + * @return builder + * + */ + public Builder firstName(String firstName) { + return firstName(Output.of(firstName)); + } + + /** + * @param groups List of AD Groups + * + * @return builder + * + */ + public Builder groups(@Nullable Output> groups) { + $.groups = groups; + return this; + } + + /** + * @param groups List of AD Groups + * + * @return builder + * + */ + public Builder groups(List groups) { + return groups(Output.of(groups)); + } + + /** + * @param groups List of AD Groups + * + * @return builder + * + */ + public Builder groups(ActiveDirectoryJoinPointGroupArgs... groups) { + return groups(List.of(groups)); + } + + /** + * @param identityNotInAdBehaviour Identity Not In AD Behaviour - Choices: `REJECT`, `SEARCH_JOINED_FOREST`, `SEARCH_ALL` + * + * @return builder + * + */ + public Builder identityNotInAdBehaviour(@Nullable Output identityNotInAdBehaviour) { + $.identityNotInAdBehaviour = identityNotInAdBehaviour; + return this; + } + + /** + * @param identityNotInAdBehaviour Identity Not In AD Behaviour - Choices: `REJECT`, `SEARCH_JOINED_FOREST`, `SEARCH_ALL` + * + * @return builder + * + */ + public Builder identityNotInAdBehaviour(String identityNotInAdBehaviour) { + return identityNotInAdBehaviour(Output.of(identityNotInAdBehaviour)); + } + + /** + * @param jobTitle User info attribute + * + * @return builder + * + */ + public Builder jobTitle(@Nullable Output jobTitle) { + $.jobTitle = jobTitle; + return this; + } + + /** + * @param jobTitle User info attribute + * + * @return builder + * + */ + public Builder jobTitle(String jobTitle) { + return jobTitle(Output.of(jobTitle)); + } + + /** + * @param lastName User info attribute + * + * @return builder + * + */ + public Builder lastName(@Nullable Output lastName) { + $.lastName = lastName; + return this; + } + + /** + * @param lastName User info attribute + * + * @return builder + * + */ + public Builder lastName(String lastName) { + return lastName(Output.of(lastName)); + } + + /** + * @param locality User info attribute + * + * @return builder + * + */ + public Builder locality(@Nullable Output locality) { + $.locality = locality; + return this; + } + + /** + * @param locality User info attribute + * + * @return builder + * + */ + public Builder locality(String locality) { + return locality(Output.of(locality)); + } + + /** + * @param name The name of the active directory join point + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the active directory join point + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param organizationalUnit User info attribute + * + * @return builder + * + */ + public Builder organizationalUnit(@Nullable Output organizationalUnit) { + $.organizationalUnit = organizationalUnit; + return this; + } + + /** + * @param organizationalUnit User info attribute + * + * @return builder + * + */ + public Builder organizationalUnit(String organizationalUnit) { + return organizationalUnit(Output.of(organizationalUnit)); + } + + /** + * @param plaintextAuth Plain Text Authentication - Default value: `false` + * + * @return builder + * + */ + public Builder plaintextAuth(@Nullable Output plaintextAuth) { + $.plaintextAuth = plaintextAuth; + return this; + } + + /** + * @param plaintextAuth Plain Text Authentication - Default value: `false` + * + * @return builder + * + */ + public Builder plaintextAuth(Boolean plaintextAuth) { + return plaintextAuth(Output.of(plaintextAuth)); + } + + /** + * @param rewriteRules List of Rewrite rules + * + * @return builder + * + */ + public Builder rewriteRules(@Nullable Output> rewriteRules) { + $.rewriteRules = rewriteRules; + return this; + } + + /** + * @param rewriteRules List of Rewrite rules + * + * @return builder + * + */ + public Builder rewriteRules(List rewriteRules) { + return rewriteRules(Output.of(rewriteRules)); + } + + /** + * @param rewriteRules List of Rewrite rules + * + * @return builder + * + */ + public Builder rewriteRules(ActiveDirectoryJoinPointRewriteRuleArgs... rewriteRules) { + return rewriteRules(List.of(rewriteRules)); + } + + /** + * @param schema Schema - Choices: `ACTIVE_DIRECTORY`, `CUSTOM` + * + * @return builder + * + */ + public Builder schema(@Nullable Output schema) { + $.schema = schema; + return this; + } + + /** + * @param schema Schema - Choices: `ACTIVE_DIRECTORY`, `CUSTOM` + * + * @return builder + * + */ + public Builder schema(String schema) { + return schema(Output.of(schema)); + } + + /** + * @param stateOrProvince User info attribute + * + * @return builder + * + */ + public Builder stateOrProvince(@Nullable Output stateOrProvince) { + $.stateOrProvince = stateOrProvince; + return this; + } + + /** + * @param stateOrProvince User info attribute + * + * @return builder + * + */ + public Builder stateOrProvince(String stateOrProvince) { + return stateOrProvince(Output.of(stateOrProvince)); + } + + /** + * @param streetAddress User info attribute + * + * @return builder + * + */ + public Builder streetAddress(@Nullable Output streetAddress) { + $.streetAddress = streetAddress; + return this; + } + + /** + * @param streetAddress User info attribute + * + * @return builder + * + */ + public Builder streetAddress(String streetAddress) { + return streetAddress(Output.of(streetAddress)); + } + + /** + * @param telephone User info attribute + * + * @return builder + * + */ + public Builder telephone(@Nullable Output telephone) { + $.telephone = telephone; + return this; + } + + /** + * @param telephone User info attribute + * + * @return builder + * + */ + public Builder telephone(String telephone) { + return telephone(Output.of(telephone)); + } + + /** + * @param unreachableDomainsBehaviour Unreachable Domains Behaviour - Choices: `PROCEED`, `DROP` + * + * @return builder + * + */ + public Builder unreachableDomainsBehaviour(@Nullable Output unreachableDomainsBehaviour) { + $.unreachableDomainsBehaviour = unreachableDomainsBehaviour; + return this; + } + + /** + * @param unreachableDomainsBehaviour Unreachable Domains Behaviour - Choices: `PROCEED`, `DROP` + * + * @return builder + * + */ + public Builder unreachableDomainsBehaviour(String unreachableDomainsBehaviour) { + return unreachableDomainsBehaviour(Output.of(unreachableDomainsBehaviour)); + } + + public ActiveDirectoryJoinPointArgs build() { + if ($.domain == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointArgs", "domain"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/CertificateAuthenticationProfile.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/CertificateAuthenticationProfile.java new file mode 100644 index 0000000..7de8ff6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/CertificateAuthenticationProfile.java @@ -0,0 +1,230 @@ +// *** 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.CertificateAuthenticationProfileArgs; +import com.pulumi.ise.identitymanagement.inputs.CertificateAuthenticationProfileState; +import java.lang.Boolean; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Certificate Authentication Profile. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.CertificateAuthenticationProfile; + * import com.pulumi.ise.identitymanagement.CertificateAuthenticationProfileArgs; + * 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 CertificateAuthenticationProfile("example", CertificateAuthenticationProfileArgs.builder() + * .name("CertProf1") + * .description("My cert profile") + * .allowedAsUserName(false) + * .externalIdentityStoreName("[not applicable]") + * .certificateAttributeName("SUBJECT_COMMON_NAME") + * .matchMode("NEVER") + * .usernameFrom("CERTIFICATE") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:identitymanagement/certificateAuthenticationProfile:CertificateAuthenticationProfile example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:identitymanagement/certificateAuthenticationProfile:CertificateAuthenticationProfile") +public class CertificateAuthenticationProfile extends com.pulumi.resources.CustomResource { + /** + * Allow as username - Default value: `false` + * + */ + @Export(name="allowedAsUserName", refs={Boolean.class}, tree="[0]") + private Output allowedAsUserName; + + /** + * @return Allow as username - Default value: `false` + * + */ + public Output allowedAsUserName() { + return this.allowedAsUserName; + } + /** + * Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices: + * `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`, + * `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value: + * `SUBJECT_COMMON_NAME` + * + */ + @Export(name="certificateAttributeName", refs={String.class}, tree="[0]") + private Output certificateAttributeName; + + /** + * @return Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices: + * `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`, + * `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value: + * `SUBJECT_COMMON_NAME` + * + */ + public Output certificateAttributeName() { + return this.certificateAttributeName; + } + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default + * value: `[not applicable]` + * + */ + @Export(name="externalIdentityStoreName", refs={String.class}, tree="[0]") + private Output externalIdentityStoreName; + + /** + * @return Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default + * value: `[not applicable]` + * + */ + public Output externalIdentityStoreName() { + return this.externalIdentityStoreName; + } + /** + * Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices: + * `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER` + * + */ + @Export(name="matchMode", refs={String.class}, tree="[0]") + private Output matchMode; + + /** + * @return Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices: + * `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER` + * + */ + public Output matchMode() { + return this.matchMode; + } + /** + * The name of the certificate profile + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the certificate profile + * + */ + public Output name() { + return this.name; + } + /** + * The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific + * attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the + * Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE` + * + */ + @Export(name="usernameFrom", refs={String.class}, tree="[0]") + private Output usernameFrom; + + /** + * @return The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific + * attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the + * Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE` + * + */ + public Output usernameFrom() { + return this.usernameFrom; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public CertificateAuthenticationProfile(String name) { + this(name, CertificateAuthenticationProfileArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public CertificateAuthenticationProfile(String name, @Nullable CertificateAuthenticationProfileArgs 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 CertificateAuthenticationProfile(String name, @Nullable CertificateAuthenticationProfileArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/certificateAuthenticationProfile:CertificateAuthenticationProfile", name, args == null ? CertificateAuthenticationProfileArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private CertificateAuthenticationProfile(String name, Output id, @Nullable CertificateAuthenticationProfileState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/certificateAuthenticationProfile:CertificateAuthenticationProfile", name, state, makeResourceOptions(options, id)); + } + + 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 CertificateAuthenticationProfile get(String name, Output id, @Nullable CertificateAuthenticationProfileState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new CertificateAuthenticationProfile(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/CertificateAuthenticationProfileArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/CertificateAuthenticationProfileArgs.java new file mode 100644 index 0000000..09be757 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/CertificateAuthenticationProfileArgs.java @@ -0,0 +1,334 @@ +// *** 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.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CertificateAuthenticationProfileArgs extends com.pulumi.resources.ResourceArgs { + + public static final CertificateAuthenticationProfileArgs Empty = new CertificateAuthenticationProfileArgs(); + + /** + * Allow as username - Default value: `false` + * + */ + @Import(name="allowedAsUserName") + private @Nullable Output allowedAsUserName; + + /** + * @return Allow as username - Default value: `false` + * + */ + public Optional> allowedAsUserName() { + return Optional.ofNullable(this.allowedAsUserName); + } + + /** + * Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices: + * `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`, + * `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value: + * `SUBJECT_COMMON_NAME` + * + */ + @Import(name="certificateAttributeName") + private @Nullable Output certificateAttributeName; + + /** + * @return Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices: + * `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`, + * `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value: + * `SUBJECT_COMMON_NAME` + * + */ + public Optional> certificateAttributeName() { + return Optional.ofNullable(this.certificateAttributeName); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default + * value: `[not applicable]` + * + */ + @Import(name="externalIdentityStoreName") + private @Nullable Output externalIdentityStoreName; + + /** + * @return Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default + * value: `[not applicable]` + * + */ + public Optional> externalIdentityStoreName() { + return Optional.ofNullable(this.externalIdentityStoreName); + } + + /** + * Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices: + * `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER` + * + */ + @Import(name="matchMode") + private @Nullable Output matchMode; + + /** + * @return Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices: + * `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER` + * + */ + public Optional> matchMode() { + return Optional.ofNullable(this.matchMode); + } + + /** + * The name of the certificate profile + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the certificate profile + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific + * attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the + * Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE` + * + */ + @Import(name="usernameFrom") + private @Nullable Output usernameFrom; + + /** + * @return The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific + * attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the + * Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE` + * + */ + public Optional> usernameFrom() { + return Optional.ofNullable(this.usernameFrom); + } + + private CertificateAuthenticationProfileArgs() {} + + private CertificateAuthenticationProfileArgs(CertificateAuthenticationProfileArgs $) { + this.allowedAsUserName = $.allowedAsUserName; + this.certificateAttributeName = $.certificateAttributeName; + this.description = $.description; + this.externalIdentityStoreName = $.externalIdentityStoreName; + this.matchMode = $.matchMode; + this.name = $.name; + this.usernameFrom = $.usernameFrom; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CertificateAuthenticationProfileArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CertificateAuthenticationProfileArgs $; + + public Builder() { + $ = new CertificateAuthenticationProfileArgs(); + } + + public Builder(CertificateAuthenticationProfileArgs defaults) { + $ = new CertificateAuthenticationProfileArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param allowedAsUserName Allow as username - Default value: `false` + * + * @return builder + * + */ + public Builder allowedAsUserName(@Nullable Output allowedAsUserName) { + $.allowedAsUserName = allowedAsUserName; + return this; + } + + /** + * @param allowedAsUserName Allow as username - Default value: `false` + * + * @return builder + * + */ + public Builder allowedAsUserName(Boolean allowedAsUserName) { + return allowedAsUserName(Output.of(allowedAsUserName)); + } + + /** + * @param certificateAttributeName Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices: + * `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`, + * `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value: + * `SUBJECT_COMMON_NAME` + * + * @return builder + * + */ + public Builder certificateAttributeName(@Nullable Output certificateAttributeName) { + $.certificateAttributeName = certificateAttributeName; + return this; + } + + /** + * @param certificateAttributeName Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices: + * `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`, + * `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value: + * `SUBJECT_COMMON_NAME` + * + * @return builder + * + */ + public Builder certificateAttributeName(String certificateAttributeName) { + return certificateAttributeName(Output.of(certificateAttributeName)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param externalIdentityStoreName Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default + * value: `[not applicable]` + * + * @return builder + * + */ + public Builder externalIdentityStoreName(@Nullable Output externalIdentityStoreName) { + $.externalIdentityStoreName = externalIdentityStoreName; + return this; + } + + /** + * @param externalIdentityStoreName Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default + * value: `[not applicable]` + * + * @return builder + * + */ + public Builder externalIdentityStoreName(String externalIdentityStoreName) { + return externalIdentityStoreName(Output.of(externalIdentityStoreName)); + } + + /** + * @param matchMode Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices: + * `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER` + * + * @return builder + * + */ + public Builder matchMode(@Nullable Output matchMode) { + $.matchMode = matchMode; + return this; + } + + /** + * @param matchMode Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices: + * `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER` + * + * @return builder + * + */ + public Builder matchMode(String matchMode) { + return matchMode(Output.of(matchMode)); + } + + /** + * @param name The name of the certificate profile + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the certificate profile + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param usernameFrom The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific + * attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the + * Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE` + * + * @return builder + * + */ + public Builder usernameFrom(@Nullable Output usernameFrom) { + $.usernameFrom = usernameFrom; + return this; + } + + /** + * @param usernameFrom The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific + * attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the + * Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE` + * + * @return builder + * + */ + public Builder usernameFrom(String usernameFrom) { + return usernameFrom(Output.of(usernameFrom)); + } + + public CertificateAuthenticationProfileArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/Endpoint.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/Endpoint.java new file mode 100644 index 0000000..3e76076 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/Endpoint.java @@ -0,0 +1,485 @@ +// *** 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.EndpointArgs; +import com.pulumi.ise.identitymanagement.inputs.EndpointState; +import java.lang.Boolean; +import java.lang.String; +import java.util.Map; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage an Endpoint. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.Endpoint; + * import com.pulumi.ise.identitymanagement.EndpointArgs; + * 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 Endpoint("example", EndpointArgs.builder() + * .name("00:11:22:33:44:55") + * .description("My endpoint") + * .mac("00:11:22:33:44:55") + * .groupId("3a88eec0-8c00-11e6-996c-525400b48521") + * .profileId("3a91a150-8c00-11e6-996c-525400b48521") + * .staticProfileAssignment(true) + * .staticProfileAssignmentDefined(true) + * .staticGroupAssignment(true) + * .staticGroupAssignmentDefined(true) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:identitymanagement/endpoint:Endpoint example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:identitymanagement/endpoint:Endpoint") +public class Endpoint extends com.pulumi.resources.CustomResource { + /** + * Custom Attributes + * + */ + @Export(name="customAttributes", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> customAttributes; + + /** + * @return Custom Attributes + * + */ + public Output>> customAttributes() { + return Codegen.optional(this.customAttributes); + } + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * Identity Group ID + * + */ + @Export(name="groupId", refs={String.class}, tree="[0]") + private Output groupId; + + /** + * @return Identity Group ID + * + */ + public Output> groupId() { + return Codegen.optional(this.groupId); + } + /** + * Identity Store + * + */ + @Export(name="identityStore", refs={String.class}, tree="[0]") + private Output identityStore; + + /** + * @return Identity Store + * + */ + public Output> identityStore() { + return Codegen.optional(this.identityStore); + } + /** + * Identity Store Id + * + */ + @Export(name="identityStoreId", refs={String.class}, tree="[0]") + private Output identityStoreId; + + /** + * @return Identity Store Id + * + */ + public Output> identityStoreId() { + return Codegen.optional(this.identityStoreId); + } + /** + * MAC address of the endpoint + * + */ + @Export(name="mac", refs={String.class}, tree="[0]") + private Output mac; + + /** + * @return MAC address of the endpoint + * + */ + public Output mac() { + return this.mac; + } + /** + * Mdm Compliance Status + * + */ + @Export(name="mdmComplianceStatus", refs={Boolean.class}, tree="[0]") + private Output mdmComplianceStatus; + + /** + * @return Mdm Compliance Status + * + */ + public Output> mdmComplianceStatus() { + return Codegen.optional(this.mdmComplianceStatus); + } + /** + * Mdm Encrypted + * + */ + @Export(name="mdmEncrypted", refs={Boolean.class}, tree="[0]") + private Output mdmEncrypted; + + /** + * @return Mdm Encrypted + * + */ + public Output> mdmEncrypted() { + return Codegen.optional(this.mdmEncrypted); + } + /** + * Mdm Enrolled + * + */ + @Export(name="mdmEnrolled", refs={Boolean.class}, tree="[0]") + private Output mdmEnrolled; + + /** + * @return Mdm Enrolled + * + */ + public Output> mdmEnrolled() { + return Codegen.optional(this.mdmEnrolled); + } + /** + * Mdm IMEI + * + */ + @Export(name="mdmImei", refs={String.class}, tree="[0]") + private Output mdmImei; + + /** + * @return Mdm IMEI + * + */ + public Output> mdmImei() { + return Codegen.optional(this.mdmImei); + } + /** + * Mdm JailBroken + * + */ + @Export(name="mdmJailBroken", refs={Boolean.class}, tree="[0]") + private Output mdmJailBroken; + + /** + * @return Mdm JailBroken + * + */ + public Output> mdmJailBroken() { + return Codegen.optional(this.mdmJailBroken); + } + /** + * Mdm Manufacturer + * + */ + @Export(name="mdmManufacturer", refs={String.class}, tree="[0]") + private Output mdmManufacturer; + + /** + * @return Mdm Manufacturer + * + */ + public Output> mdmManufacturer() { + return Codegen.optional(this.mdmManufacturer); + } + /** + * Mdm Model + * + */ + @Export(name="mdmModel", refs={String.class}, tree="[0]") + private Output mdmModel; + + /** + * @return Mdm Model + * + */ + public Output> mdmModel() { + return Codegen.optional(this.mdmModel); + } + /** + * Mdm OS + * + */ + @Export(name="mdmOs", refs={String.class}, tree="[0]") + private Output mdmOs; + + /** + * @return Mdm OS + * + */ + public Output> mdmOs() { + return Codegen.optional(this.mdmOs); + } + /** + * Mdm PhoneNumber + * + */ + @Export(name="mdmPhoneNumber", refs={String.class}, tree="[0]") + private Output mdmPhoneNumber; + + /** + * @return Mdm PhoneNumber + * + */ + public Output> mdmPhoneNumber() { + return Codegen.optional(this.mdmPhoneNumber); + } + /** + * Mdm Pinlock + * + */ + @Export(name="mdmPinlock", refs={Boolean.class}, tree="[0]") + private Output mdmPinlock; + + /** + * @return Mdm Pinlock + * + */ + public Output> mdmPinlock() { + return Codegen.optional(this.mdmPinlock); + } + /** + * Mdm Reachable + * + */ + @Export(name="mdmReachable", refs={Boolean.class}, tree="[0]") + private Output mdmReachable; + + /** + * @return Mdm Reachable + * + */ + public Output> mdmReachable() { + return Codegen.optional(this.mdmReachable); + } + /** + * Mdm Serial + * + */ + @Export(name="mdmSerial", refs={String.class}, tree="[0]") + private Output mdmSerial; + + /** + * @return Mdm Serial + * + */ + public Output> mdmSerial() { + return Codegen.optional(this.mdmSerial); + } + /** + * Mdm Server Name + * + */ + @Export(name="mdmServerName", refs={String.class}, tree="[0]") + private Output mdmServerName; + + /** + * @return Mdm Server Name + * + */ + public Output> mdmServerName() { + return Codegen.optional(this.mdmServerName); + } + /** + * The name of the endpoint + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the endpoint + * + */ + public Output name() { + return this.name; + } + /** + * Portal User + * + */ + @Export(name="portalUser", refs={String.class}, tree="[0]") + private Output portalUser; + + /** + * @return Portal User + * + */ + public Output> portalUser() { + return Codegen.optional(this.portalUser); + } + /** + * Profile ID + * + */ + @Export(name="profileId", refs={String.class}, tree="[0]") + private Output profileId; + + /** + * @return Profile ID + * + */ + public Output> profileId() { + return Codegen.optional(this.profileId); + } + /** + * Static Group Assignment + * + */ + @Export(name="staticGroupAssignment", refs={Boolean.class}, tree="[0]") + private Output staticGroupAssignment; + + /** + * @return Static Group Assignment + * + */ + public Output staticGroupAssignment() { + return this.staticGroupAssignment; + } + /** + * staticGroupAssignmentDefined - Default value: `true` + * + */ + @Export(name="staticGroupAssignmentDefined", refs={Boolean.class}, tree="[0]") + private Output staticGroupAssignmentDefined; + + /** + * @return staticGroupAssignmentDefined - Default value: `true` + * + */ + public Output staticGroupAssignmentDefined() { + return this.staticGroupAssignmentDefined; + } + /** + * Static Profile Assignment + * + */ + @Export(name="staticProfileAssignment", refs={Boolean.class}, tree="[0]") + private Output staticProfileAssignment; + + /** + * @return Static Profile Assignment + * + */ + public Output staticProfileAssignment() { + return this.staticProfileAssignment; + } + /** + * Static Profile Assignment Defined - Default value: `true` + * + */ + @Export(name="staticProfileAssignmentDefined", refs={Boolean.class}, tree="[0]") + private Output staticProfileAssignmentDefined; + + /** + * @return Static Profile Assignment Defined - Default value: `true` + * + */ + public Output staticProfileAssignmentDefined() { + return this.staticProfileAssignmentDefined; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public Endpoint(String name) { + this(name, EndpointArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public Endpoint(String name, EndpointArgs 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 Endpoint(String name, EndpointArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/endpoint:Endpoint", name, args == null ? EndpointArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private Endpoint(String name, Output id, @Nullable EndpointState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/endpoint:Endpoint", name, state, makeResourceOptions(options, id)); + } + + 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 Endpoint get(String name, Output id, @Nullable EndpointState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new Endpoint(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/EndpointArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/EndpointArgs.java new file mode 100644 index 0000000..590542e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/EndpointArgs.java @@ -0,0 +1,1020 @@ +// *** 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.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class EndpointArgs extends com.pulumi.resources.ResourceArgs { + + public static final EndpointArgs Empty = new EndpointArgs(); + + /** + * Custom Attributes + * + */ + @Import(name="customAttributes") + private @Nullable Output> customAttributes; + + /** + * @return Custom Attributes + * + */ + public Optional>> customAttributes() { + return Optional.ofNullable(this.customAttributes); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Identity Group ID + * + */ + @Import(name="groupId") + private @Nullable Output groupId; + + /** + * @return Identity Group ID + * + */ + public Optional> groupId() { + return Optional.ofNullable(this.groupId); + } + + /** + * Identity Store + * + */ + @Import(name="identityStore") + private @Nullable Output identityStore; + + /** + * @return Identity Store + * + */ + public Optional> identityStore() { + return Optional.ofNullable(this.identityStore); + } + + /** + * Identity Store Id + * + */ + @Import(name="identityStoreId") + private @Nullable Output identityStoreId; + + /** + * @return Identity Store Id + * + */ + public Optional> identityStoreId() { + return Optional.ofNullable(this.identityStoreId); + } + + /** + * MAC address of the endpoint + * + */ + @Import(name="mac", required=true) + private Output mac; + + /** + * @return MAC address of the endpoint + * + */ + public Output mac() { + return this.mac; + } + + /** + * Mdm Compliance Status + * + */ + @Import(name="mdmComplianceStatus") + private @Nullable Output mdmComplianceStatus; + + /** + * @return Mdm Compliance Status + * + */ + public Optional> mdmComplianceStatus() { + return Optional.ofNullable(this.mdmComplianceStatus); + } + + /** + * Mdm Encrypted + * + */ + @Import(name="mdmEncrypted") + private @Nullable Output mdmEncrypted; + + /** + * @return Mdm Encrypted + * + */ + public Optional> mdmEncrypted() { + return Optional.ofNullable(this.mdmEncrypted); + } + + /** + * Mdm Enrolled + * + */ + @Import(name="mdmEnrolled") + private @Nullable Output mdmEnrolled; + + /** + * @return Mdm Enrolled + * + */ + public Optional> mdmEnrolled() { + return Optional.ofNullable(this.mdmEnrolled); + } + + /** + * Mdm IMEI + * + */ + @Import(name="mdmImei") + private @Nullable Output mdmImei; + + /** + * @return Mdm IMEI + * + */ + public Optional> mdmImei() { + return Optional.ofNullable(this.mdmImei); + } + + /** + * Mdm JailBroken + * + */ + @Import(name="mdmJailBroken") + private @Nullable Output mdmJailBroken; + + /** + * @return Mdm JailBroken + * + */ + public Optional> mdmJailBroken() { + return Optional.ofNullable(this.mdmJailBroken); + } + + /** + * Mdm Manufacturer + * + */ + @Import(name="mdmManufacturer") + private @Nullable Output mdmManufacturer; + + /** + * @return Mdm Manufacturer + * + */ + public Optional> mdmManufacturer() { + return Optional.ofNullable(this.mdmManufacturer); + } + + /** + * Mdm Model + * + */ + @Import(name="mdmModel") + private @Nullable Output mdmModel; + + /** + * @return Mdm Model + * + */ + public Optional> mdmModel() { + return Optional.ofNullable(this.mdmModel); + } + + /** + * Mdm OS + * + */ + @Import(name="mdmOs") + private @Nullable Output mdmOs; + + /** + * @return Mdm OS + * + */ + public Optional> mdmOs() { + return Optional.ofNullable(this.mdmOs); + } + + /** + * Mdm PhoneNumber + * + */ + @Import(name="mdmPhoneNumber") + private @Nullable Output mdmPhoneNumber; + + /** + * @return Mdm PhoneNumber + * + */ + public Optional> mdmPhoneNumber() { + return Optional.ofNullable(this.mdmPhoneNumber); + } + + /** + * Mdm Pinlock + * + */ + @Import(name="mdmPinlock") + private @Nullable Output mdmPinlock; + + /** + * @return Mdm Pinlock + * + */ + public Optional> mdmPinlock() { + return Optional.ofNullable(this.mdmPinlock); + } + + /** + * Mdm Reachable + * + */ + @Import(name="mdmReachable") + private @Nullable Output mdmReachable; + + /** + * @return Mdm Reachable + * + */ + public Optional> mdmReachable() { + return Optional.ofNullable(this.mdmReachable); + } + + /** + * Mdm Serial + * + */ + @Import(name="mdmSerial") + private @Nullable Output mdmSerial; + + /** + * @return Mdm Serial + * + */ + public Optional> mdmSerial() { + return Optional.ofNullable(this.mdmSerial); + } + + /** + * Mdm Server Name + * + */ + @Import(name="mdmServerName") + private @Nullable Output mdmServerName; + + /** + * @return Mdm Server Name + * + */ + public Optional> mdmServerName() { + return Optional.ofNullable(this.mdmServerName); + } + + /** + * The name of the endpoint + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the endpoint + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Portal User + * + */ + @Import(name="portalUser") + private @Nullable Output portalUser; + + /** + * @return Portal User + * + */ + public Optional> portalUser() { + return Optional.ofNullable(this.portalUser); + } + + /** + * Profile ID + * + */ + @Import(name="profileId") + private @Nullable Output profileId; + + /** + * @return Profile ID + * + */ + public Optional> profileId() { + return Optional.ofNullable(this.profileId); + } + + /** + * Static Group Assignment + * + */ + @Import(name="staticGroupAssignment", required=true) + private Output staticGroupAssignment; + + /** + * @return Static Group Assignment + * + */ + public Output staticGroupAssignment() { + return this.staticGroupAssignment; + } + + /** + * staticGroupAssignmentDefined - Default value: `true` + * + */ + @Import(name="staticGroupAssignmentDefined") + private @Nullable Output staticGroupAssignmentDefined; + + /** + * @return staticGroupAssignmentDefined - Default value: `true` + * + */ + public Optional> staticGroupAssignmentDefined() { + return Optional.ofNullable(this.staticGroupAssignmentDefined); + } + + /** + * Static Profile Assignment + * + */ + @Import(name="staticProfileAssignment", required=true) + private Output staticProfileAssignment; + + /** + * @return Static Profile Assignment + * + */ + public Output staticProfileAssignment() { + return this.staticProfileAssignment; + } + + /** + * Static Profile Assignment Defined - Default value: `true` + * + */ + @Import(name="staticProfileAssignmentDefined") + private @Nullable Output staticProfileAssignmentDefined; + + /** + * @return Static Profile Assignment Defined - Default value: `true` + * + */ + public Optional> staticProfileAssignmentDefined() { + return Optional.ofNullable(this.staticProfileAssignmentDefined); + } + + private EndpointArgs() {} + + private EndpointArgs(EndpointArgs $) { + this.customAttributes = $.customAttributes; + this.description = $.description; + this.groupId = $.groupId; + this.identityStore = $.identityStore; + this.identityStoreId = $.identityStoreId; + this.mac = $.mac; + this.mdmComplianceStatus = $.mdmComplianceStatus; + this.mdmEncrypted = $.mdmEncrypted; + this.mdmEnrolled = $.mdmEnrolled; + this.mdmImei = $.mdmImei; + this.mdmJailBroken = $.mdmJailBroken; + this.mdmManufacturer = $.mdmManufacturer; + this.mdmModel = $.mdmModel; + this.mdmOs = $.mdmOs; + this.mdmPhoneNumber = $.mdmPhoneNumber; + this.mdmPinlock = $.mdmPinlock; + this.mdmReachable = $.mdmReachable; + this.mdmSerial = $.mdmSerial; + this.mdmServerName = $.mdmServerName; + this.name = $.name; + this.portalUser = $.portalUser; + this.profileId = $.profileId; + this.staticGroupAssignment = $.staticGroupAssignment; + this.staticGroupAssignmentDefined = $.staticGroupAssignmentDefined; + this.staticProfileAssignment = $.staticProfileAssignment; + this.staticProfileAssignmentDefined = $.staticProfileAssignmentDefined; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(EndpointArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private EndpointArgs $; + + public Builder() { + $ = new EndpointArgs(); + } + + public Builder(EndpointArgs defaults) { + $ = new EndpointArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param customAttributes Custom Attributes + * + * @return builder + * + */ + public Builder customAttributes(@Nullable Output> customAttributes) { + $.customAttributes = customAttributes; + return this; + } + + /** + * @param customAttributes Custom Attributes + * + * @return builder + * + */ + public Builder customAttributes(Map customAttributes) { + return customAttributes(Output.of(customAttributes)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param groupId Identity Group ID + * + * @return builder + * + */ + public Builder groupId(@Nullable Output groupId) { + $.groupId = groupId; + return this; + } + + /** + * @param groupId Identity Group ID + * + * @return builder + * + */ + public Builder groupId(String groupId) { + return groupId(Output.of(groupId)); + } + + /** + * @param identityStore Identity Store + * + * @return builder + * + */ + public Builder identityStore(@Nullable Output identityStore) { + $.identityStore = identityStore; + return this; + } + + /** + * @param identityStore Identity Store + * + * @return builder + * + */ + public Builder identityStore(String identityStore) { + return identityStore(Output.of(identityStore)); + } + + /** + * @param identityStoreId Identity Store Id + * + * @return builder + * + */ + public Builder identityStoreId(@Nullable Output identityStoreId) { + $.identityStoreId = identityStoreId; + return this; + } + + /** + * @param identityStoreId Identity Store Id + * + * @return builder + * + */ + public Builder identityStoreId(String identityStoreId) { + return identityStoreId(Output.of(identityStoreId)); + } + + /** + * @param mac MAC address of the endpoint + * + * @return builder + * + */ + public Builder mac(Output mac) { + $.mac = mac; + return this; + } + + /** + * @param mac MAC address of the endpoint + * + * @return builder + * + */ + public Builder mac(String mac) { + return mac(Output.of(mac)); + } + + /** + * @param mdmComplianceStatus Mdm Compliance Status + * + * @return builder + * + */ + public Builder mdmComplianceStatus(@Nullable Output mdmComplianceStatus) { + $.mdmComplianceStatus = mdmComplianceStatus; + return this; + } + + /** + * @param mdmComplianceStatus Mdm Compliance Status + * + * @return builder + * + */ + public Builder mdmComplianceStatus(Boolean mdmComplianceStatus) { + return mdmComplianceStatus(Output.of(mdmComplianceStatus)); + } + + /** + * @param mdmEncrypted Mdm Encrypted + * + * @return builder + * + */ + public Builder mdmEncrypted(@Nullable Output mdmEncrypted) { + $.mdmEncrypted = mdmEncrypted; + return this; + } + + /** + * @param mdmEncrypted Mdm Encrypted + * + * @return builder + * + */ + public Builder mdmEncrypted(Boolean mdmEncrypted) { + return mdmEncrypted(Output.of(mdmEncrypted)); + } + + /** + * @param mdmEnrolled Mdm Enrolled + * + * @return builder + * + */ + public Builder mdmEnrolled(@Nullable Output mdmEnrolled) { + $.mdmEnrolled = mdmEnrolled; + return this; + } + + /** + * @param mdmEnrolled Mdm Enrolled + * + * @return builder + * + */ + public Builder mdmEnrolled(Boolean mdmEnrolled) { + return mdmEnrolled(Output.of(mdmEnrolled)); + } + + /** + * @param mdmImei Mdm IMEI + * + * @return builder + * + */ + public Builder mdmImei(@Nullable Output mdmImei) { + $.mdmImei = mdmImei; + return this; + } + + /** + * @param mdmImei Mdm IMEI + * + * @return builder + * + */ + public Builder mdmImei(String mdmImei) { + return mdmImei(Output.of(mdmImei)); + } + + /** + * @param mdmJailBroken Mdm JailBroken + * + * @return builder + * + */ + public Builder mdmJailBroken(@Nullable Output mdmJailBroken) { + $.mdmJailBroken = mdmJailBroken; + return this; + } + + /** + * @param mdmJailBroken Mdm JailBroken + * + * @return builder + * + */ + public Builder mdmJailBroken(Boolean mdmJailBroken) { + return mdmJailBroken(Output.of(mdmJailBroken)); + } + + /** + * @param mdmManufacturer Mdm Manufacturer + * + * @return builder + * + */ + public Builder mdmManufacturer(@Nullable Output mdmManufacturer) { + $.mdmManufacturer = mdmManufacturer; + return this; + } + + /** + * @param mdmManufacturer Mdm Manufacturer + * + * @return builder + * + */ + public Builder mdmManufacturer(String mdmManufacturer) { + return mdmManufacturer(Output.of(mdmManufacturer)); + } + + /** + * @param mdmModel Mdm Model + * + * @return builder + * + */ + public Builder mdmModel(@Nullable Output mdmModel) { + $.mdmModel = mdmModel; + return this; + } + + /** + * @param mdmModel Mdm Model + * + * @return builder + * + */ + public Builder mdmModel(String mdmModel) { + return mdmModel(Output.of(mdmModel)); + } + + /** + * @param mdmOs Mdm OS + * + * @return builder + * + */ + public Builder mdmOs(@Nullable Output mdmOs) { + $.mdmOs = mdmOs; + return this; + } + + /** + * @param mdmOs Mdm OS + * + * @return builder + * + */ + public Builder mdmOs(String mdmOs) { + return mdmOs(Output.of(mdmOs)); + } + + /** + * @param mdmPhoneNumber Mdm PhoneNumber + * + * @return builder + * + */ + public Builder mdmPhoneNumber(@Nullable Output mdmPhoneNumber) { + $.mdmPhoneNumber = mdmPhoneNumber; + return this; + } + + /** + * @param mdmPhoneNumber Mdm PhoneNumber + * + * @return builder + * + */ + public Builder mdmPhoneNumber(String mdmPhoneNumber) { + return mdmPhoneNumber(Output.of(mdmPhoneNumber)); + } + + /** + * @param mdmPinlock Mdm Pinlock + * + * @return builder + * + */ + public Builder mdmPinlock(@Nullable Output mdmPinlock) { + $.mdmPinlock = mdmPinlock; + return this; + } + + /** + * @param mdmPinlock Mdm Pinlock + * + * @return builder + * + */ + public Builder mdmPinlock(Boolean mdmPinlock) { + return mdmPinlock(Output.of(mdmPinlock)); + } + + /** + * @param mdmReachable Mdm Reachable + * + * @return builder + * + */ + public Builder mdmReachable(@Nullable Output mdmReachable) { + $.mdmReachable = mdmReachable; + return this; + } + + /** + * @param mdmReachable Mdm Reachable + * + * @return builder + * + */ + public Builder mdmReachable(Boolean mdmReachable) { + return mdmReachable(Output.of(mdmReachable)); + } + + /** + * @param mdmSerial Mdm Serial + * + * @return builder + * + */ + public Builder mdmSerial(@Nullable Output mdmSerial) { + $.mdmSerial = mdmSerial; + return this; + } + + /** + * @param mdmSerial Mdm Serial + * + * @return builder + * + */ + public Builder mdmSerial(String mdmSerial) { + return mdmSerial(Output.of(mdmSerial)); + } + + /** + * @param mdmServerName Mdm Server Name + * + * @return builder + * + */ + public Builder mdmServerName(@Nullable Output mdmServerName) { + $.mdmServerName = mdmServerName; + return this; + } + + /** + * @param mdmServerName Mdm Server Name + * + * @return builder + * + */ + public Builder mdmServerName(String mdmServerName) { + return mdmServerName(Output.of(mdmServerName)); + } + + /** + * @param name The name of the endpoint + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the endpoint + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param portalUser Portal User + * + * @return builder + * + */ + public Builder portalUser(@Nullable Output portalUser) { + $.portalUser = portalUser; + return this; + } + + /** + * @param portalUser Portal User + * + * @return builder + * + */ + public Builder portalUser(String portalUser) { + return portalUser(Output.of(portalUser)); + } + + /** + * @param profileId Profile ID + * + * @return builder + * + */ + public Builder profileId(@Nullable Output profileId) { + $.profileId = profileId; + return this; + } + + /** + * @param profileId Profile ID + * + * @return builder + * + */ + public Builder profileId(String profileId) { + return profileId(Output.of(profileId)); + } + + /** + * @param staticGroupAssignment Static Group Assignment + * + * @return builder + * + */ + public Builder staticGroupAssignment(Output staticGroupAssignment) { + $.staticGroupAssignment = staticGroupAssignment; + return this; + } + + /** + * @param staticGroupAssignment Static Group Assignment + * + * @return builder + * + */ + public Builder staticGroupAssignment(Boolean staticGroupAssignment) { + return staticGroupAssignment(Output.of(staticGroupAssignment)); + } + + /** + * @param staticGroupAssignmentDefined staticGroupAssignmentDefined - Default value: `true` + * + * @return builder + * + */ + public Builder staticGroupAssignmentDefined(@Nullable Output staticGroupAssignmentDefined) { + $.staticGroupAssignmentDefined = staticGroupAssignmentDefined; + return this; + } + + /** + * @param staticGroupAssignmentDefined staticGroupAssignmentDefined - Default value: `true` + * + * @return builder + * + */ + public Builder staticGroupAssignmentDefined(Boolean staticGroupAssignmentDefined) { + return staticGroupAssignmentDefined(Output.of(staticGroupAssignmentDefined)); + } + + /** + * @param staticProfileAssignment Static Profile Assignment + * + * @return builder + * + */ + public Builder staticProfileAssignment(Output staticProfileAssignment) { + $.staticProfileAssignment = staticProfileAssignment; + return this; + } + + /** + * @param staticProfileAssignment Static Profile Assignment + * + * @return builder + * + */ + public Builder staticProfileAssignment(Boolean staticProfileAssignment) { + return staticProfileAssignment(Output.of(staticProfileAssignment)); + } + + /** + * @param staticProfileAssignmentDefined Static Profile Assignment Defined - Default value: `true` + * + * @return builder + * + */ + public Builder staticProfileAssignmentDefined(@Nullable Output staticProfileAssignmentDefined) { + $.staticProfileAssignmentDefined = staticProfileAssignmentDefined; + return this; + } + + /** + * @param staticProfileAssignmentDefined Static Profile Assignment Defined - Default value: `true` + * + * @return builder + * + */ + public Builder staticProfileAssignmentDefined(Boolean staticProfileAssignmentDefined) { + return staticProfileAssignmentDefined(Output.of(staticProfileAssignmentDefined)); + } + + public EndpointArgs build() { + if ($.mac == null) { + throw new MissingRequiredPropertyException("EndpointArgs", "mac"); + } + if ($.staticGroupAssignment == null) { + throw new MissingRequiredPropertyException("EndpointArgs", "staticGroupAssignment"); + } + if ($.staticProfileAssignment == null) { + throw new MissingRequiredPropertyException("EndpointArgs", "staticProfileAssignment"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/EndpointIdentityGroup.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/EndpointIdentityGroup.java new file mode 100644 index 0000000..dcccf77 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/EndpointIdentityGroup.java @@ -0,0 +1,170 @@ +// *** 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.EndpointIdentityGroupArgs; +import com.pulumi.ise.identitymanagement.inputs.EndpointIdentityGroupState; +import java.lang.Boolean; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage an Endpoint Identity Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.EndpointIdentityGroup; + * import com.pulumi.ise.identitymanagement.EndpointIdentityGroupArgs; + * 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 EndpointIdentityGroup("example", EndpointIdentityGroupArgs.builder() + * .name("Group1") + * .description("My endpoint identity group") + * .systemDefined(false) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:identitymanagement/endpointIdentityGroup:EndpointIdentityGroup example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:identitymanagement/endpointIdentityGroup:EndpointIdentityGroup") +public class EndpointIdentityGroup extends com.pulumi.resources.CustomResource { + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * The name of the endpoint identity group + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the endpoint identity group + * + */ + public Output name() { + return this.name; + } + /** + * Parent endpoint identity group ID + * + */ + @Export(name="parentEndpointIdentityGroupId", refs={String.class}, tree="[0]") + private Output parentEndpointIdentityGroupId; + + /** + * @return Parent endpoint identity group ID + * + */ + public Output> parentEndpointIdentityGroupId() { + return Codegen.optional(this.parentEndpointIdentityGroupId); + } + /** + * System defined endpoint identity group - Default value: `false` + * + */ + @Export(name="systemDefined", refs={Boolean.class}, tree="[0]") + private Output systemDefined; + + /** + * @return System defined endpoint identity group - Default value: `false` + * + */ + public Output systemDefined() { + return this.systemDefined; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public EndpointIdentityGroup(String name) { + this(name, EndpointIdentityGroupArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public EndpointIdentityGroup(String name, @Nullable EndpointIdentityGroupArgs 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 EndpointIdentityGroup(String name, @Nullable EndpointIdentityGroupArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/endpointIdentityGroup:EndpointIdentityGroup", name, args == null ? EndpointIdentityGroupArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private EndpointIdentityGroup(String name, Output id, @Nullable EndpointIdentityGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/endpointIdentityGroup:EndpointIdentityGroup", name, state, makeResourceOptions(options, id)); + } + + 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 EndpointIdentityGroup get(String name, Output id, @Nullable EndpointIdentityGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new EndpointIdentityGroup(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/EndpointIdentityGroupArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/EndpointIdentityGroupArgs.java new file mode 100644 index 0000000..6a7630d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/EndpointIdentityGroupArgs.java @@ -0,0 +1,195 @@ +// *** 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.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class EndpointIdentityGroupArgs extends com.pulumi.resources.ResourceArgs { + + public static final EndpointIdentityGroupArgs Empty = new EndpointIdentityGroupArgs(); + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the endpoint identity group + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the endpoint identity group + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Parent endpoint identity group ID + * + */ + @Import(name="parentEndpointIdentityGroupId") + private @Nullable Output parentEndpointIdentityGroupId; + + /** + * @return Parent endpoint identity group ID + * + */ + public Optional> parentEndpointIdentityGroupId() { + return Optional.ofNullable(this.parentEndpointIdentityGroupId); + } + + /** + * System defined endpoint identity group - Default value: `false` + * + */ + @Import(name="systemDefined") + private @Nullable Output systemDefined; + + /** + * @return System defined endpoint identity group - Default value: `false` + * + */ + public Optional> systemDefined() { + return Optional.ofNullable(this.systemDefined); + } + + private EndpointIdentityGroupArgs() {} + + private EndpointIdentityGroupArgs(EndpointIdentityGroupArgs $) { + this.description = $.description; + this.name = $.name; + this.parentEndpointIdentityGroupId = $.parentEndpointIdentityGroupId; + this.systemDefined = $.systemDefined; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(EndpointIdentityGroupArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private EndpointIdentityGroupArgs $; + + public Builder() { + $ = new EndpointIdentityGroupArgs(); + } + + public Builder(EndpointIdentityGroupArgs defaults) { + $ = new EndpointIdentityGroupArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the endpoint identity group + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the endpoint identity group + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param parentEndpointIdentityGroupId Parent endpoint identity group ID + * + * @return builder + * + */ + public Builder parentEndpointIdentityGroupId(@Nullable Output parentEndpointIdentityGroupId) { + $.parentEndpointIdentityGroupId = parentEndpointIdentityGroupId; + return this; + } + + /** + * @param parentEndpointIdentityGroupId Parent endpoint identity group ID + * + * @return builder + * + */ + public Builder parentEndpointIdentityGroupId(String parentEndpointIdentityGroupId) { + return parentEndpointIdentityGroupId(Output.of(parentEndpointIdentityGroupId)); + } + + /** + * @param systemDefined System defined endpoint identity group - Default value: `false` + * + * @return builder + * + */ + public Builder systemDefined(@Nullable Output systemDefined) { + $.systemDefined = systemDefined; + return this; + } + + /** + * @param systemDefined System defined endpoint identity group - Default value: `false` + * + * @return builder + * + */ + public Builder systemDefined(Boolean systemDefined) { + return systemDefined(Output.of(systemDefined)); + } + + public EndpointIdentityGroupArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/IdentitySourceSequence.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/IdentitySourceSequence.java new file mode 100644 index 0000000..17a23da --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/IdentitySourceSequence.java @@ -0,0 +1,184 @@ +// *** 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.IdentitySourceSequenceArgs; +import com.pulumi.ise.identitymanagement.inputs.IdentitySourceSequenceState; +import com.pulumi.ise.identitymanagement.outputs.IdentitySourceSequenceIdentitySource; +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 Identity Source Sequence. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitySourceSequence; + * import com.pulumi.ise.identitymanagement.IdentitySourceSequenceArgs; + * import com.pulumi.ise.identitymanagement.inputs.IdentitySourceSequenceIdentitySourceArgs; + * 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 IdentitySourceSequence("example", IdentitySourceSequenceArgs.builder() + * .name("Sequence1") + * .description("My identity source sequence") + * .breakOnStoreFail(true) + * .certificateAuthenticationProfile("Preloaded_Certificate_Profile") + * .identitySources(IdentitySourceSequenceIdentitySourceArgs.builder() + * .name("Internal Users") + * .order(1) + * .build()) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:identitymanagement/identitySourceSequence:IdentitySourceSequence example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:identitymanagement/identitySourceSequence:IdentitySourceSequence") +public class IdentitySourceSequence extends com.pulumi.resources.CustomResource { + /** + * Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication + * + */ + @Export(name="breakOnStoreFail", refs={Boolean.class}, tree="[0]") + private Output breakOnStoreFail; + + /** + * @return Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication + * + */ + public Output breakOnStoreFail() { + return this.breakOnStoreFail; + } + /** + * Certificate Authentication Profile, empty if doesn't exist + * + */ + @Export(name="certificateAuthenticationProfile", refs={String.class}, tree="[0]") + private Output certificateAuthenticationProfile; + + /** + * @return Certificate Authentication Profile, empty if doesn't exist + * + */ + public Output certificateAuthenticationProfile() { + return this.certificateAuthenticationProfile; + } + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + @Export(name="identitySources", refs={List.class,IdentitySourceSequenceIdentitySource.class}, tree="[0,1]") + private Output> identitySources; + + public Output> identitySources() { + return this.identitySources; + } + /** + * The name of the identity source sequence + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the identity source sequence + * + */ + public Output name() { + return this.name; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public IdentitySourceSequence(String name) { + this(name, IdentitySourceSequenceArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public IdentitySourceSequence(String name, IdentitySourceSequenceArgs 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 IdentitySourceSequence(String name, IdentitySourceSequenceArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/identitySourceSequence:IdentitySourceSequence", name, args == null ? IdentitySourceSequenceArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private IdentitySourceSequence(String name, Output id, @Nullable IdentitySourceSequenceState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/identitySourceSequence:IdentitySourceSequence", name, state, makeResourceOptions(options, id)); + } + + 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 IdentitySourceSequence get(String name, Output id, @Nullable IdentitySourceSequenceState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new IdentitySourceSequence(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/IdentitySourceSequenceArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/IdentitySourceSequenceArgs.java new file mode 100644 index 0000000..15d8b3e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/IdentitySourceSequenceArgs.java @@ -0,0 +1,228 @@ +// *** 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.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.identitymanagement.inputs.IdentitySourceSequenceIdentitySourceArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceSequenceArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceSequenceArgs Empty = new IdentitySourceSequenceArgs(); + + /** + * Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication + * + */ + @Import(name="breakOnStoreFail", required=true) + private Output breakOnStoreFail; + + /** + * @return Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication + * + */ + public Output breakOnStoreFail() { + return this.breakOnStoreFail; + } + + /** + * Certificate Authentication Profile, empty if doesn't exist + * + */ + @Import(name="certificateAuthenticationProfile", required=true) + private Output certificateAuthenticationProfile; + + /** + * @return Certificate Authentication Profile, empty if doesn't exist + * + */ + public Output certificateAuthenticationProfile() { + return this.certificateAuthenticationProfile; + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + @Import(name="identitySources", required=true) + private Output> identitySources; + + public Output> identitySources() { + return this.identitySources; + } + + /** + * The name of the identity source sequence + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the identity source sequence + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private IdentitySourceSequenceArgs() {} + + private IdentitySourceSequenceArgs(IdentitySourceSequenceArgs $) { + this.breakOnStoreFail = $.breakOnStoreFail; + this.certificateAuthenticationProfile = $.certificateAuthenticationProfile; + this.description = $.description; + this.identitySources = $.identitySources; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceSequenceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceSequenceArgs $; + + public Builder() { + $ = new IdentitySourceSequenceArgs(); + } + + public Builder(IdentitySourceSequenceArgs defaults) { + $ = new IdentitySourceSequenceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param breakOnStoreFail Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication + * + * @return builder + * + */ + public Builder breakOnStoreFail(Output breakOnStoreFail) { + $.breakOnStoreFail = breakOnStoreFail; + return this; + } + + /** + * @param breakOnStoreFail Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication + * + * @return builder + * + */ + public Builder breakOnStoreFail(Boolean breakOnStoreFail) { + return breakOnStoreFail(Output.of(breakOnStoreFail)); + } + + /** + * @param certificateAuthenticationProfile Certificate Authentication Profile, empty if doesn't exist + * + * @return builder + * + */ + public Builder certificateAuthenticationProfile(Output certificateAuthenticationProfile) { + $.certificateAuthenticationProfile = certificateAuthenticationProfile; + return this; + } + + /** + * @param certificateAuthenticationProfile Certificate Authentication Profile, empty if doesn't exist + * + * @return builder + * + */ + public Builder certificateAuthenticationProfile(String certificateAuthenticationProfile) { + return certificateAuthenticationProfile(Output.of(certificateAuthenticationProfile)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + public Builder identitySources(Output> identitySources) { + $.identitySources = identitySources; + return this; + } + + public Builder identitySources(List identitySources) { + return identitySources(Output.of(identitySources)); + } + + public Builder identitySources(IdentitySourceSequenceIdentitySourceArgs... identitySources) { + return identitySources(List.of(identitySources)); + } + + /** + * @param name The name of the identity source sequence + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the identity source sequence + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public IdentitySourceSequenceArgs build() { + if ($.breakOnStoreFail == null) { + throw new MissingRequiredPropertyException("IdentitySourceSequenceArgs", "breakOnStoreFail"); + } + if ($.certificateAuthenticationProfile == null) { + throw new MissingRequiredPropertyException("IdentitySourceSequenceArgs", "certificateAuthenticationProfile"); + } + if ($.identitySources == null) { + throw new MissingRequiredPropertyException("IdentitySourceSequenceArgs", "identitySources"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/IdentitymanagementFunctions.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/IdentitymanagementFunctions.java new file mode 100644 index 0000000..676273e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/IdentitymanagementFunctions.java @@ -0,0 +1,1814 @@ +// *** 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.TypeShape; +import com.pulumi.deployment.Deployment; +import com.pulumi.deployment.InvokeOptions; +import com.pulumi.ise.Utilities; +import com.pulumi.ise.identitymanagement.inputs.GetActiveDirectoryGroupsByDomainArgs; +import com.pulumi.ise.identitymanagement.inputs.GetActiveDirectoryGroupsByDomainPlainArgs; +import com.pulumi.ise.identitymanagement.inputs.GetActiveDirectoryJoinPointArgs; +import com.pulumi.ise.identitymanagement.inputs.GetActiveDirectoryJoinPointPlainArgs; +import com.pulumi.ise.identitymanagement.inputs.GetCertificateAuthenticationProfileArgs; +import com.pulumi.ise.identitymanagement.inputs.GetCertificateAuthenticationProfilePlainArgs; +import com.pulumi.ise.identitymanagement.inputs.GetEndpointArgs; +import com.pulumi.ise.identitymanagement.inputs.GetEndpointIdentityGroupArgs; +import com.pulumi.ise.identitymanagement.inputs.GetEndpointIdentityGroupPlainArgs; +import com.pulumi.ise.identitymanagement.inputs.GetEndpointPlainArgs; +import com.pulumi.ise.identitymanagement.inputs.GetIdentitySourceSequenceArgs; +import com.pulumi.ise.identitymanagement.inputs.GetIdentitySourceSequencePlainArgs; +import com.pulumi.ise.identitymanagement.inputs.GetInternalUserArgs; +import com.pulumi.ise.identitymanagement.inputs.GetInternalUserPlainArgs; +import com.pulumi.ise.identitymanagement.inputs.GetUserIdentityGroupArgs; +import com.pulumi.ise.identitymanagement.inputs.GetUserIdentityGroupPlainArgs; +import com.pulumi.ise.identitymanagement.outputs.GetActiveDirectoryGroupsByDomainResult; +import com.pulumi.ise.identitymanagement.outputs.GetActiveDirectoryJoinPointResult; +import com.pulumi.ise.identitymanagement.outputs.GetCertificateAuthenticationProfileResult; +import com.pulumi.ise.identitymanagement.outputs.GetEndpointIdentityGroupResult; +import com.pulumi.ise.identitymanagement.outputs.GetEndpointResult; +import com.pulumi.ise.identitymanagement.outputs.GetIdentitySourceSequenceResult; +import com.pulumi.ise.identitymanagement.outputs.GetInternalUserResult; +import com.pulumi.ise.identitymanagement.outputs.GetUserIdentityGroupResult; +import java.util.concurrent.CompletableFuture; + +public final class IdentitymanagementFunctions { + /** + * This data source can read the Active Directory Groups By Domain. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetActiveDirectoryGroupsByDomainArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getActiveDirectoryGroupsByDomain(GetActiveDirectoryGroupsByDomainArgs.builder() + * .joinPointId("73808580-b6e6-11ee-8960-de6d7692bc40") + * .domain("cisco.com") + * .filter("CN=ISE Admins") + * .sidFilter("cisco.com/S-1-5-33-544") + * .typeFilter("UNIVERSAL") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getActiveDirectoryGroupsByDomain(GetActiveDirectoryGroupsByDomainArgs args) { + return getActiveDirectoryGroupsByDomain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Active Directory Groups By Domain. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetActiveDirectoryGroupsByDomainArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getActiveDirectoryGroupsByDomain(GetActiveDirectoryGroupsByDomainArgs.builder() + * .joinPointId("73808580-b6e6-11ee-8960-de6d7692bc40") + * .domain("cisco.com") + * .filter("CN=ISE Admins") + * .sidFilter("cisco.com/S-1-5-33-544") + * .typeFilter("UNIVERSAL") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getActiveDirectoryGroupsByDomainPlain(GetActiveDirectoryGroupsByDomainPlainArgs args) { + return getActiveDirectoryGroupsByDomainPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Active Directory Groups By Domain. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetActiveDirectoryGroupsByDomainArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getActiveDirectoryGroupsByDomain(GetActiveDirectoryGroupsByDomainArgs.builder() + * .joinPointId("73808580-b6e6-11ee-8960-de6d7692bc40") + * .domain("cisco.com") + * .filter("CN=ISE Admins") + * .sidFilter("cisco.com/S-1-5-33-544") + * .typeFilter("UNIVERSAL") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getActiveDirectoryGroupsByDomain(GetActiveDirectoryGroupsByDomainArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:identitymanagement/getActiveDirectoryGroupsByDomain:getActiveDirectoryGroupsByDomain", TypeShape.of(GetActiveDirectoryGroupsByDomainResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Active Directory Groups By Domain. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetActiveDirectoryGroupsByDomainArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getActiveDirectoryGroupsByDomain(GetActiveDirectoryGroupsByDomainArgs.builder() + * .joinPointId("73808580-b6e6-11ee-8960-de6d7692bc40") + * .domain("cisco.com") + * .filter("CN=ISE Admins") + * .sidFilter("cisco.com/S-1-5-33-544") + * .typeFilter("UNIVERSAL") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getActiveDirectoryGroupsByDomainPlain(GetActiveDirectoryGroupsByDomainPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:identitymanagement/getActiveDirectoryGroupsByDomain:getActiveDirectoryGroupsByDomain", TypeShape.of(GetActiveDirectoryGroupsByDomainResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Active Directory Join Point. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetActiveDirectoryJoinPointArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getActiveDirectoryJoinPoint(GetActiveDirectoryJoinPointArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getActiveDirectoryJoinPoint(GetActiveDirectoryJoinPointArgs args) { + return getActiveDirectoryJoinPoint(args, InvokeOptions.Empty); + } + /** + * This data source can read the Active Directory Join Point. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetActiveDirectoryJoinPointArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getActiveDirectoryJoinPoint(GetActiveDirectoryJoinPointArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getActiveDirectoryJoinPointPlain(GetActiveDirectoryJoinPointPlainArgs args) { + return getActiveDirectoryJoinPointPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Active Directory Join Point. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetActiveDirectoryJoinPointArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getActiveDirectoryJoinPoint(GetActiveDirectoryJoinPointArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getActiveDirectoryJoinPoint(GetActiveDirectoryJoinPointArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:identitymanagement/getActiveDirectoryJoinPoint:getActiveDirectoryJoinPoint", TypeShape.of(GetActiveDirectoryJoinPointResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Active Directory Join Point. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetActiveDirectoryJoinPointArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getActiveDirectoryJoinPoint(GetActiveDirectoryJoinPointArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getActiveDirectoryJoinPointPlain(GetActiveDirectoryJoinPointPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:identitymanagement/getActiveDirectoryJoinPoint:getActiveDirectoryJoinPoint", TypeShape.of(GetActiveDirectoryJoinPointResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Certificate Authentication Profile. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetCertificateAuthenticationProfileArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getCertificateAuthenticationProfile(GetCertificateAuthenticationProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getCertificateAuthenticationProfile() { + return getCertificateAuthenticationProfile(GetCertificateAuthenticationProfileArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Certificate Authentication Profile. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetCertificateAuthenticationProfileArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getCertificateAuthenticationProfile(GetCertificateAuthenticationProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getCertificateAuthenticationProfilePlain() { + return getCertificateAuthenticationProfilePlain(GetCertificateAuthenticationProfilePlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Certificate Authentication Profile. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetCertificateAuthenticationProfileArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getCertificateAuthenticationProfile(GetCertificateAuthenticationProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getCertificateAuthenticationProfile(GetCertificateAuthenticationProfileArgs args) { + return getCertificateAuthenticationProfile(args, InvokeOptions.Empty); + } + /** + * This data source can read the Certificate Authentication Profile. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetCertificateAuthenticationProfileArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getCertificateAuthenticationProfile(GetCertificateAuthenticationProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getCertificateAuthenticationProfilePlain(GetCertificateAuthenticationProfilePlainArgs args) { + return getCertificateAuthenticationProfilePlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Certificate Authentication Profile. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetCertificateAuthenticationProfileArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getCertificateAuthenticationProfile(GetCertificateAuthenticationProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getCertificateAuthenticationProfile(GetCertificateAuthenticationProfileArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:identitymanagement/getCertificateAuthenticationProfile:getCertificateAuthenticationProfile", TypeShape.of(GetCertificateAuthenticationProfileResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Certificate Authentication Profile. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetCertificateAuthenticationProfileArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getCertificateAuthenticationProfile(GetCertificateAuthenticationProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getCertificateAuthenticationProfilePlain(GetCertificateAuthenticationProfilePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:identitymanagement/getCertificateAuthenticationProfile:getCertificateAuthenticationProfile", TypeShape.of(GetCertificateAuthenticationProfileResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Endpoint. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetEndpointArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getEndpoint(GetEndpointArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getEndpoint() { + return getEndpoint(GetEndpointArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Endpoint. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetEndpointArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getEndpoint(GetEndpointArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getEndpointPlain() { + return getEndpointPlain(GetEndpointPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Endpoint. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetEndpointArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getEndpoint(GetEndpointArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getEndpoint(GetEndpointArgs args) { + return getEndpoint(args, InvokeOptions.Empty); + } + /** + * This data source can read the Endpoint. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetEndpointArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getEndpoint(GetEndpointArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getEndpointPlain(GetEndpointPlainArgs args) { + return getEndpointPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Endpoint. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetEndpointArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getEndpoint(GetEndpointArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getEndpoint(GetEndpointArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:identitymanagement/getEndpoint:getEndpoint", TypeShape.of(GetEndpointResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Endpoint. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetEndpointArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getEndpoint(GetEndpointArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getEndpointPlain(GetEndpointPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:identitymanagement/getEndpoint:getEndpoint", TypeShape.of(GetEndpointResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Endpoint Identity Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetEndpointIdentityGroupArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getEndpointIdentityGroup(GetEndpointIdentityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getEndpointIdentityGroup() { + return getEndpointIdentityGroup(GetEndpointIdentityGroupArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Endpoint Identity Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetEndpointIdentityGroupArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getEndpointIdentityGroup(GetEndpointIdentityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getEndpointIdentityGroupPlain() { + return getEndpointIdentityGroupPlain(GetEndpointIdentityGroupPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Endpoint Identity Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetEndpointIdentityGroupArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getEndpointIdentityGroup(GetEndpointIdentityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getEndpointIdentityGroup(GetEndpointIdentityGroupArgs args) { + return getEndpointIdentityGroup(args, InvokeOptions.Empty); + } + /** + * This data source can read the Endpoint Identity Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetEndpointIdentityGroupArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getEndpointIdentityGroup(GetEndpointIdentityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getEndpointIdentityGroupPlain(GetEndpointIdentityGroupPlainArgs args) { + return getEndpointIdentityGroupPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Endpoint Identity Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetEndpointIdentityGroupArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getEndpointIdentityGroup(GetEndpointIdentityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getEndpointIdentityGroup(GetEndpointIdentityGroupArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:identitymanagement/getEndpointIdentityGroup:getEndpointIdentityGroup", TypeShape.of(GetEndpointIdentityGroupResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Endpoint Identity Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetEndpointIdentityGroupArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getEndpointIdentityGroup(GetEndpointIdentityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getEndpointIdentityGroupPlain(GetEndpointIdentityGroupPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:identitymanagement/getEndpointIdentityGroup:getEndpointIdentityGroup", TypeShape.of(GetEndpointIdentityGroupResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Identity Source Sequence. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetIdentitySourceSequenceArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getIdentitySourceSequence(GetIdentitySourceSequenceArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getIdentitySourceSequence() { + return getIdentitySourceSequence(GetIdentitySourceSequenceArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Identity Source Sequence. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetIdentitySourceSequenceArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getIdentitySourceSequence(GetIdentitySourceSequenceArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getIdentitySourceSequencePlain() { + return getIdentitySourceSequencePlain(GetIdentitySourceSequencePlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Identity Source Sequence. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetIdentitySourceSequenceArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getIdentitySourceSequence(GetIdentitySourceSequenceArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getIdentitySourceSequence(GetIdentitySourceSequenceArgs args) { + return getIdentitySourceSequence(args, InvokeOptions.Empty); + } + /** + * This data source can read the Identity Source Sequence. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetIdentitySourceSequenceArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getIdentitySourceSequence(GetIdentitySourceSequenceArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getIdentitySourceSequencePlain(GetIdentitySourceSequencePlainArgs args) { + return getIdentitySourceSequencePlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Identity Source Sequence. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetIdentitySourceSequenceArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getIdentitySourceSequence(GetIdentitySourceSequenceArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getIdentitySourceSequence(GetIdentitySourceSequenceArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:identitymanagement/getIdentitySourceSequence:getIdentitySourceSequence", TypeShape.of(GetIdentitySourceSequenceResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Identity Source Sequence. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetIdentitySourceSequenceArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getIdentitySourceSequence(GetIdentitySourceSequenceArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getIdentitySourceSequencePlain(GetIdentitySourceSequencePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:identitymanagement/getIdentitySourceSequence:getIdentitySourceSequence", TypeShape.of(GetIdentitySourceSequenceResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Internal User. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetInternalUserArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getInternalUser(GetInternalUserArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getInternalUser() { + return getInternalUser(GetInternalUserArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Internal User. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetInternalUserArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getInternalUser(GetInternalUserArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getInternalUserPlain() { + return getInternalUserPlain(GetInternalUserPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Internal User. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetInternalUserArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getInternalUser(GetInternalUserArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getInternalUser(GetInternalUserArgs args) { + return getInternalUser(args, InvokeOptions.Empty); + } + /** + * This data source can read the Internal User. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetInternalUserArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getInternalUser(GetInternalUserArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getInternalUserPlain(GetInternalUserPlainArgs args) { + return getInternalUserPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Internal User. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetInternalUserArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getInternalUser(GetInternalUserArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getInternalUser(GetInternalUserArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:identitymanagement/getInternalUser:getInternalUser", TypeShape.of(GetInternalUserResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Internal User. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetInternalUserArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getInternalUser(GetInternalUserArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getInternalUserPlain(GetInternalUserPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:identitymanagement/getInternalUser:getInternalUser", TypeShape.of(GetInternalUserResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the User Identity Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetUserIdentityGroupArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getUserIdentityGroup(GetUserIdentityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getUserIdentityGroup() { + return getUserIdentityGroup(GetUserIdentityGroupArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the User Identity Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetUserIdentityGroupArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getUserIdentityGroup(GetUserIdentityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getUserIdentityGroupPlain() { + return getUserIdentityGroupPlain(GetUserIdentityGroupPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the User Identity Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetUserIdentityGroupArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getUserIdentityGroup(GetUserIdentityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getUserIdentityGroup(GetUserIdentityGroupArgs args) { + return getUserIdentityGroup(args, InvokeOptions.Empty); + } + /** + * This data source can read the User Identity Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetUserIdentityGroupArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getUserIdentityGroup(GetUserIdentityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getUserIdentityGroupPlain(GetUserIdentityGroupPlainArgs args) { + return getUserIdentityGroupPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the User Identity Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetUserIdentityGroupArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getUserIdentityGroup(GetUserIdentityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getUserIdentityGroup(GetUserIdentityGroupArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:identitymanagement/getUserIdentityGroup:getUserIdentityGroup", TypeShape.of(GetUserIdentityGroupResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the User Identity Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions; + * import com.pulumi.ise.identitymanagement.inputs.GetUserIdentityGroupArgs; + * 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) { + * final var example = IdentitymanagementFunctions.getUserIdentityGroup(GetUserIdentityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getUserIdentityGroupPlain(GetUserIdentityGroupPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:identitymanagement/getUserIdentityGroup:getUserIdentityGroup", TypeShape.of(GetUserIdentityGroupResult.class), args, Utilities.withVersion(options)); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/InternalUser.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/InternalUser.java new file mode 100644 index 0000000..d0bacd4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/InternalUser.java @@ -0,0 +1,323 @@ +// *** 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.InternalUserArgs; +import com.pulumi.ise.identitymanagement.inputs.InternalUserState; +import java.lang.Boolean; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage an Internal User. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.InternalUser; + * import com.pulumi.ise.identitymanagement.InternalUserArgs; + * 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 InternalUser("example", InternalUserArgs.builder() + * .name("UserTF") + * .password("Cisco123") + * .changePassword(true) + * .email("aaa@cisco.com") + * .accountNameAlias("User 1") + * .enablePassword("Cisco123") + * .enabled(true) + * .passwordNeverExpires(false) + * .firstName("John") + * .lastName("Doe") + * .passwordIdStore("Internal Users") + * .description("My first Terraform user") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:identitymanagement/internalUser:InternalUser example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:identitymanagement/internalUser:InternalUser") +public class InternalUser extends com.pulumi.resources.CustomResource { + /** + * The Account Name Alias will be used to send email notifications about password expiration. This field is only supported + * from ISE 3.2. + * + */ + @Export(name="accountNameAlias", refs={String.class}, tree="[0]") + private Output accountNameAlias; + + /** + * @return The Account Name Alias will be used to send email notifications about password expiration. This field is only supported + * from ISE 3.2. + * + */ + public Output> accountNameAlias() { + return Codegen.optional(this.accountNameAlias); + } + /** + * Requires the user to change the password - Default value: `true` + * + */ + @Export(name="changePassword", refs={Boolean.class}, tree="[0]") + private Output changePassword; + + /** + * @return Requires the user to change the password - Default value: `true` + * + */ + public Output changePassword() { + return this.changePassword; + } + /** + * Key value map + * + */ + @Export(name="customAttributes", refs={String.class}, tree="[0]") + private Output customAttributes; + + /** + * @return Key value map + * + */ + public Output> customAttributes() { + return Codegen.optional(this.customAttributes); + } + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * Email address + * + */ + @Export(name="email", refs={String.class}, tree="[0]") + private Output email; + + /** + * @return Email address + * + */ + public Output> email() { + return Codegen.optional(this.email); + } + /** + * This field is added in ISE 2.0 to support TACACS+ + * + */ + @Export(name="enablePassword", refs={String.class}, tree="[0]") + private Output enablePassword; + + /** + * @return This field is added in ISE 2.0 to support TACACS+ + * + */ + public Output> enablePassword() { + return Codegen.optional(this.enablePassword); + } + /** + * Whether the user is enabled/disabled + * + */ + @Export(name="enabled", refs={Boolean.class}, tree="[0]") + private Output enabled; + + /** + * @return Whether the user is enabled/disabled + * + */ + public Output> enabled() { + return Codegen.optional(this.enabled); + } + /** + * First name of the internal user + * + */ + @Export(name="firstName", refs={String.class}, tree="[0]") + private Output firstName; + + /** + * @return First name of the internal user + * + */ + public Output> firstName() { + return Codegen.optional(this.firstName); + } + /** + * Comma separated list of identity group IDs. + * + */ + @Export(name="identityGroups", refs={String.class}, tree="[0]") + private Output identityGroups; + + /** + * @return Comma separated list of identity group IDs. + * + */ + public Output> identityGroups() { + return Codegen.optional(this.identityGroups); + } + /** + * Last name of the internal user + * + */ + @Export(name="lastName", refs={String.class}, tree="[0]") + private Output lastName; + + /** + * @return Last name of the internal user + * + */ + public Output> lastName() { + return Codegen.optional(this.lastName); + } + /** + * The name of the internal user + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the internal user + * + */ + public Output name() { + return this.name; + } + /** + * The password of the internal user + * + */ + @Export(name="password", refs={String.class}, tree="[0]") + private Output password; + + /** + * @return The password of the internal user + * + */ + public Output password() { + return this.password; + } + /** + * The ID store where the internal user's password is kept - Default value: `Internal Users` + * + */ + @Export(name="passwordIdStore", refs={String.class}, tree="[0]") + private Output passwordIdStore; + + /** + * @return The ID store where the internal user's password is kept - Default value: `Internal Users` + * + */ + public Output passwordIdStore() { + return this.passwordIdStore; + } + /** + * Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This + * field is only supported from ISE 3.2. - Default value: `false` + * + */ + @Export(name="passwordNeverExpires", refs={Boolean.class}, tree="[0]") + private Output passwordNeverExpires; + + /** + * @return Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This + * field is only supported from ISE 3.2. - Default value: `false` + * + */ + public Output passwordNeverExpires() { + return this.passwordNeverExpires; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public InternalUser(String name) { + this(name, InternalUserArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public InternalUser(String name, InternalUserArgs 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 InternalUser(String name, InternalUserArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/internalUser:InternalUser", name, args == null ? InternalUserArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private InternalUser(String name, Output id, @Nullable InternalUserState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/internalUser:InternalUser", name, state, makeResourceOptions(options, id)); + } + + 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 InternalUser get(String name, Output id, @Nullable InternalUserState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new InternalUser(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/InternalUserArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/InternalUserArgs.java new file mode 100644 index 0000000..43405b7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/InternalUserArgs.java @@ -0,0 +1,577 @@ +// *** 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.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class InternalUserArgs extends com.pulumi.resources.ResourceArgs { + + public static final InternalUserArgs Empty = new InternalUserArgs(); + + /** + * The Account Name Alias will be used to send email notifications about password expiration. This field is only supported + * from ISE 3.2. + * + */ + @Import(name="accountNameAlias") + private @Nullable Output accountNameAlias; + + /** + * @return The Account Name Alias will be used to send email notifications about password expiration. This field is only supported + * from ISE 3.2. + * + */ + public Optional> accountNameAlias() { + return Optional.ofNullable(this.accountNameAlias); + } + + /** + * Requires the user to change the password - Default value: `true` + * + */ + @Import(name="changePassword") + private @Nullable Output changePassword; + + /** + * @return Requires the user to change the password - Default value: `true` + * + */ + public Optional> changePassword() { + return Optional.ofNullable(this.changePassword); + } + + /** + * Key value map + * + */ + @Import(name="customAttributes") + private @Nullable Output customAttributes; + + /** + * @return Key value map + * + */ + public Optional> customAttributes() { + return Optional.ofNullable(this.customAttributes); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Email address + * + */ + @Import(name="email") + private @Nullable Output email; + + /** + * @return Email address + * + */ + public Optional> email() { + return Optional.ofNullable(this.email); + } + + /** + * This field is added in ISE 2.0 to support TACACS+ + * + */ + @Import(name="enablePassword") + private @Nullable Output enablePassword; + + /** + * @return This field is added in ISE 2.0 to support TACACS+ + * + */ + public Optional> enablePassword() { + return Optional.ofNullable(this.enablePassword); + } + + /** + * Whether the user is enabled/disabled + * + */ + @Import(name="enabled") + private @Nullable Output enabled; + + /** + * @return Whether the user is enabled/disabled + * + */ + public Optional> enabled() { + return Optional.ofNullable(this.enabled); + } + + /** + * First name of the internal user + * + */ + @Import(name="firstName") + private @Nullable Output firstName; + + /** + * @return First name of the internal user + * + */ + public Optional> firstName() { + return Optional.ofNullable(this.firstName); + } + + /** + * Comma separated list of identity group IDs. + * + */ + @Import(name="identityGroups") + private @Nullable Output identityGroups; + + /** + * @return Comma separated list of identity group IDs. + * + */ + public Optional> identityGroups() { + return Optional.ofNullable(this.identityGroups); + } + + /** + * Last name of the internal user + * + */ + @Import(name="lastName") + private @Nullable Output lastName; + + /** + * @return Last name of the internal user + * + */ + public Optional> lastName() { + return Optional.ofNullable(this.lastName); + } + + /** + * The name of the internal user + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the internal user + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The password of the internal user + * + */ + @Import(name="password", required=true) + private Output password; + + /** + * @return The password of the internal user + * + */ + public Output password() { + return this.password; + } + + /** + * The ID store where the internal user's password is kept - Default value: `Internal Users` + * + */ + @Import(name="passwordIdStore") + private @Nullable Output passwordIdStore; + + /** + * @return The ID store where the internal user's password is kept - Default value: `Internal Users` + * + */ + public Optional> passwordIdStore() { + return Optional.ofNullable(this.passwordIdStore); + } + + /** + * Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This + * field is only supported from ISE 3.2. - Default value: `false` + * + */ + @Import(name="passwordNeverExpires") + private @Nullable Output passwordNeverExpires; + + /** + * @return Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This + * field is only supported from ISE 3.2. - Default value: `false` + * + */ + public Optional> passwordNeverExpires() { + return Optional.ofNullable(this.passwordNeverExpires); + } + + private InternalUserArgs() {} + + private InternalUserArgs(InternalUserArgs $) { + this.accountNameAlias = $.accountNameAlias; + this.changePassword = $.changePassword; + this.customAttributes = $.customAttributes; + this.description = $.description; + this.email = $.email; + this.enablePassword = $.enablePassword; + this.enabled = $.enabled; + this.firstName = $.firstName; + this.identityGroups = $.identityGroups; + this.lastName = $.lastName; + this.name = $.name; + this.password = $.password; + this.passwordIdStore = $.passwordIdStore; + this.passwordNeverExpires = $.passwordNeverExpires; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(InternalUserArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private InternalUserArgs $; + + public Builder() { + $ = new InternalUserArgs(); + } + + public Builder(InternalUserArgs defaults) { + $ = new InternalUserArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param accountNameAlias The Account Name Alias will be used to send email notifications about password expiration. This field is only supported + * from ISE 3.2. + * + * @return builder + * + */ + public Builder accountNameAlias(@Nullable Output accountNameAlias) { + $.accountNameAlias = accountNameAlias; + return this; + } + + /** + * @param accountNameAlias The Account Name Alias will be used to send email notifications about password expiration. This field is only supported + * from ISE 3.2. + * + * @return builder + * + */ + public Builder accountNameAlias(String accountNameAlias) { + return accountNameAlias(Output.of(accountNameAlias)); + } + + /** + * @param changePassword Requires the user to change the password - Default value: `true` + * + * @return builder + * + */ + public Builder changePassword(@Nullable Output changePassword) { + $.changePassword = changePassword; + return this; + } + + /** + * @param changePassword Requires the user to change the password - Default value: `true` + * + * @return builder + * + */ + public Builder changePassword(Boolean changePassword) { + return changePassword(Output.of(changePassword)); + } + + /** + * @param customAttributes Key value map + * + * @return builder + * + */ + public Builder customAttributes(@Nullable Output customAttributes) { + $.customAttributes = customAttributes; + return this; + } + + /** + * @param customAttributes Key value map + * + * @return builder + * + */ + public Builder customAttributes(String customAttributes) { + return customAttributes(Output.of(customAttributes)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param email Email address + * + * @return builder + * + */ + public Builder email(@Nullable Output email) { + $.email = email; + return this; + } + + /** + * @param email Email address + * + * @return builder + * + */ + public Builder email(String email) { + return email(Output.of(email)); + } + + /** + * @param enablePassword This field is added in ISE 2.0 to support TACACS+ + * + * @return builder + * + */ + public Builder enablePassword(@Nullable Output enablePassword) { + $.enablePassword = enablePassword; + return this; + } + + /** + * @param enablePassword This field is added in ISE 2.0 to support TACACS+ + * + * @return builder + * + */ + public Builder enablePassword(String enablePassword) { + return enablePassword(Output.of(enablePassword)); + } + + /** + * @param enabled Whether the user is enabled/disabled + * + * @return builder + * + */ + public Builder enabled(@Nullable Output enabled) { + $.enabled = enabled; + return this; + } + + /** + * @param enabled Whether the user is enabled/disabled + * + * @return builder + * + */ + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + /** + * @param firstName First name of the internal user + * + * @return builder + * + */ + public Builder firstName(@Nullable Output firstName) { + $.firstName = firstName; + return this; + } + + /** + * @param firstName First name of the internal user + * + * @return builder + * + */ + public Builder firstName(String firstName) { + return firstName(Output.of(firstName)); + } + + /** + * @param identityGroups Comma separated list of identity group IDs. + * + * @return builder + * + */ + public Builder identityGroups(@Nullable Output identityGroups) { + $.identityGroups = identityGroups; + return this; + } + + /** + * @param identityGroups Comma separated list of identity group IDs. + * + * @return builder + * + */ + public Builder identityGroups(String identityGroups) { + return identityGroups(Output.of(identityGroups)); + } + + /** + * @param lastName Last name of the internal user + * + * @return builder + * + */ + public Builder lastName(@Nullable Output lastName) { + $.lastName = lastName; + return this; + } + + /** + * @param lastName Last name of the internal user + * + * @return builder + * + */ + public Builder lastName(String lastName) { + return lastName(Output.of(lastName)); + } + + /** + * @param name The name of the internal user + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the internal user + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param password The password of the internal user + * + * @return builder + * + */ + public Builder password(Output password) { + $.password = password; + return this; + } + + /** + * @param password The password of the internal user + * + * @return builder + * + */ + public Builder password(String password) { + return password(Output.of(password)); + } + + /** + * @param passwordIdStore The ID store where the internal user's password is kept - Default value: `Internal Users` + * + * @return builder + * + */ + public Builder passwordIdStore(@Nullable Output passwordIdStore) { + $.passwordIdStore = passwordIdStore; + return this; + } + + /** + * @param passwordIdStore The ID store where the internal user's password is kept - Default value: `Internal Users` + * + * @return builder + * + */ + public Builder passwordIdStore(String passwordIdStore) { + return passwordIdStore(Output.of(passwordIdStore)); + } + + /** + * @param passwordNeverExpires Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This + * field is only supported from ISE 3.2. - Default value: `false` + * + * @return builder + * + */ + public Builder passwordNeverExpires(@Nullable Output passwordNeverExpires) { + $.passwordNeverExpires = passwordNeverExpires; + return this; + } + + /** + * @param passwordNeverExpires Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This + * field is only supported from ISE 3.2. - Default value: `false` + * + * @return builder + * + */ + public Builder passwordNeverExpires(Boolean passwordNeverExpires) { + return passwordNeverExpires(Output.of(passwordNeverExpires)); + } + + public InternalUserArgs build() { + if ($.password == null) { + throw new MissingRequiredPropertyException("InternalUserArgs", "password"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/UserIdentityGroup.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/UserIdentityGroup.java new file mode 100644 index 0000000..13be1a5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/UserIdentityGroup.java @@ -0,0 +1,155 @@ +// *** 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.UserIdentityGroupArgs; +import com.pulumi.ise.identitymanagement.inputs.UserIdentityGroupState; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage an User Identity Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.identitymanagement.UserIdentityGroup; + * import com.pulumi.ise.identitymanagement.UserIdentityGroupArgs; + * 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 UserIdentityGroup("example", UserIdentityGroupArgs.builder() + * .name("Group1") + * .description("My endpoint identity group") + * .parent("NAC Group:NAC:IdentityGroups:User Identity Groups") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:identitymanagement/userIdentityGroup:UserIdentityGroup example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:identitymanagement/userIdentityGroup:UserIdentityGroup") +public class UserIdentityGroup extends com.pulumi.resources.CustomResource { + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * The name of the user identity group + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the user identity group + * + */ + public Output name() { + return this.name; + } + /** + * Parent user identity group, e.g. `NAC Group:NAC:IdentityGroups:User Identity Groups` + * + */ + @Export(name="parent", refs={String.class}, tree="[0]") + private Output parent; + + /** + * @return Parent user identity group, e.g. `NAC Group:NAC:IdentityGroups:User Identity Groups` + * + */ + public Output> parent() { + return Codegen.optional(this.parent); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public UserIdentityGroup(String name) { + this(name, UserIdentityGroupArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public UserIdentityGroup(String name, @Nullable UserIdentityGroupArgs 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 UserIdentityGroup(String name, @Nullable UserIdentityGroupArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/userIdentityGroup:UserIdentityGroup", name, args == null ? UserIdentityGroupArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private UserIdentityGroup(String name, Output id, @Nullable UserIdentityGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:identitymanagement/userIdentityGroup:UserIdentityGroup", name, state, makeResourceOptions(options, id)); + } + + 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 UserIdentityGroup get(String name, Output id, @Nullable UserIdentityGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new UserIdentityGroup(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/UserIdentityGroupArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/UserIdentityGroupArgs.java new file mode 100644 index 0000000..c3746bb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/UserIdentityGroupArgs.java @@ -0,0 +1,157 @@ +// *** 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.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class UserIdentityGroupArgs extends com.pulumi.resources.ResourceArgs { + + public static final UserIdentityGroupArgs Empty = new UserIdentityGroupArgs(); + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the user identity group + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the user identity group + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Parent user identity group, e.g. `NAC Group:NAC:IdentityGroups:User Identity Groups` + * + */ + @Import(name="parent") + private @Nullable Output parent; + + /** + * @return Parent user identity group, e.g. `NAC Group:NAC:IdentityGroups:User Identity Groups` + * + */ + public Optional> parent() { + return Optional.ofNullable(this.parent); + } + + private UserIdentityGroupArgs() {} + + private UserIdentityGroupArgs(UserIdentityGroupArgs $) { + this.description = $.description; + this.name = $.name; + this.parent = $.parent; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(UserIdentityGroupArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private UserIdentityGroupArgs $; + + public Builder() { + $ = new UserIdentityGroupArgs(); + } + + public Builder(UserIdentityGroupArgs defaults) { + $ = new UserIdentityGroupArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the user identity group + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the user identity group + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param parent Parent user identity group, e.g. `NAC Group:NAC:IdentityGroups:User Identity Groups` + * + * @return builder + * + */ + public Builder parent(@Nullable Output parent) { + $.parent = parent; + return this; + } + + /** + * @param parent Parent user identity group, e.g. `NAC Group:NAC:IdentityGroups:User Identity Groups` + * + * @return builder + * + */ + public Builder parent(String parent) { + return parent(Output.of(parent)); + } + + public UserIdentityGroupArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryAddGroupsGroupArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryAddGroupsGroupArgs.java new file mode 100644 index 0000000..8f80e4d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryAddGroupsGroupArgs.java @@ -0,0 +1,144 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ActiveDirectoryAddGroupsGroupArgs extends com.pulumi.resources.ResourceArgs { + + public static final ActiveDirectoryAddGroupsGroupArgs Empty = new ActiveDirectoryAddGroupsGroupArgs(); + + /** + * Required for each group in the group list with no duplication between groups + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + public Output name() { + return this.name; + } + + /** + * Required for each group in the group list with no duplication between groups + * + */ + @Import(name="sid", required=true) + private Output sid; + + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + public Output sid() { + return this.sid; + } + + @Import(name="type") + private @Nullable Output type; + + public Optional> type() { + return Optional.ofNullable(this.type); + } + + private ActiveDirectoryAddGroupsGroupArgs() {} + + private ActiveDirectoryAddGroupsGroupArgs(ActiveDirectoryAddGroupsGroupArgs $) { + this.name = $.name; + this.sid = $.sid; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ActiveDirectoryAddGroupsGroupArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ActiveDirectoryAddGroupsGroupArgs $; + + public Builder() { + $ = new ActiveDirectoryAddGroupsGroupArgs(); + } + + public Builder(ActiveDirectoryAddGroupsGroupArgs defaults) { + $ = new ActiveDirectoryAddGroupsGroupArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name Required for each group in the group list with no duplication between groups + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Required for each group in the group list with no duplication between groups + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param sid Required for each group in the group list with no duplication between groups + * + * @return builder + * + */ + public Builder sid(Output sid) { + $.sid = sid; + return this; + } + + /** + * @param sid Required for each group in the group list with no duplication between groups + * + * @return builder + * + */ + public Builder sid(String sid) { + return sid(Output.of(sid)); + } + + public Builder type(@Nullable Output type) { + $.type = type; + return this; + } + + public Builder type(String type) { + return type(Output.of(type)); + } + + public ActiveDirectoryAddGroupsGroupArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryAddGroupsGroupArgs", "name"); + } + if ($.sid == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryAddGroupsGroupArgs", "sid"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryAddGroupsState.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryAddGroupsState.java new file mode 100644 index 0000000..e1da1fb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryAddGroupsState.java @@ -0,0 +1,322 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryAddGroupsGroupArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ActiveDirectoryAddGroupsState extends com.pulumi.resources.ResourceArgs { + + public static final ActiveDirectoryAddGroupsState Empty = new ActiveDirectoryAddGroupsState(); + + /** + * String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default + * value: `Default_Scope` + * + */ + @Import(name="adScopesNames") + private @Nullable 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 Optional> adScopesNames() { + return Optional.ofNullable(this.adScopesNames); + } + + /** + * Join point Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Join point Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * AD domain associated with the join point + * + */ + @Import(name="domain") + private @Nullable Output domain; + + /** + * @return AD domain associated with the join point + * + */ + public Optional> domain() { + return Optional.ofNullable(this.domain); + } + + /** + * - Default value: `true` + * + */ + @Import(name="enableDomainAllowedList") + private @Nullable Output enableDomainAllowedList; + + /** + * @return - Default value: `true` + * + */ + public Optional> enableDomainAllowedList() { + return Optional.ofNullable(this.enableDomainAllowedList); + } + + /** + * List of AD Groups + * + */ + @Import(name="groups") + private @Nullable Output> groups; + + /** + * @return List of AD Groups + * + */ + public Optional>> groups() { + return Optional.ofNullable(this.groups); + } + + /** + * Active Directory Join Point ID + * + */ + @Import(name="joinPointId") + private @Nullable Output joinPointId; + + /** + * @return Active Directory Join Point ID + * + */ + public Optional> joinPointId() { + return Optional.ofNullable(this.joinPointId); + } + + /** + * The name of the active directory join point + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the active directory join point + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private ActiveDirectoryAddGroupsState() {} + + private ActiveDirectoryAddGroupsState(ActiveDirectoryAddGroupsState $) { + this.adScopesNames = $.adScopesNames; + this.description = $.description; + this.domain = $.domain; + this.enableDomainAllowedList = $.enableDomainAllowedList; + this.groups = $.groups; + this.joinPointId = $.joinPointId; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ActiveDirectoryAddGroupsState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ActiveDirectoryAddGroupsState $; + + public Builder() { + $ = new ActiveDirectoryAddGroupsState(); + } + + public Builder(ActiveDirectoryAddGroupsState defaults) { + $ = new ActiveDirectoryAddGroupsState(Objects.requireNonNull(defaults)); + } + + /** + * @param adScopesNames String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default + * value: `Default_Scope` + * + * @return builder + * + */ + public Builder adScopesNames(@Nullable Output adScopesNames) { + $.adScopesNames = adScopesNames; + return this; + } + + /** + * @param adScopesNames String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default + * value: `Default_Scope` + * + * @return builder + * + */ + public Builder adScopesNames(String adScopesNames) { + return adScopesNames(Output.of(adScopesNames)); + } + + /** + * @param description Join point Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Join point Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param domain AD domain associated with the join point + * + * @return builder + * + */ + public Builder domain(@Nullable Output domain) { + $.domain = domain; + return this; + } + + /** + * @param domain AD domain associated with the join point + * + * @return builder + * + */ + public Builder domain(String domain) { + return domain(Output.of(domain)); + } + + /** + * @param enableDomainAllowedList - Default value: `true` + * + * @return builder + * + */ + public Builder enableDomainAllowedList(@Nullable Output enableDomainAllowedList) { + $.enableDomainAllowedList = enableDomainAllowedList; + return this; + } + + /** + * @param enableDomainAllowedList - Default value: `true` + * + * @return builder + * + */ + public Builder enableDomainAllowedList(Boolean enableDomainAllowedList) { + return enableDomainAllowedList(Output.of(enableDomainAllowedList)); + } + + /** + * @param groups List of AD Groups + * + * @return builder + * + */ + public Builder groups(@Nullable Output> groups) { + $.groups = groups; + return this; + } + + /** + * @param groups List of AD Groups + * + * @return builder + * + */ + public Builder groups(List groups) { + return groups(Output.of(groups)); + } + + /** + * @param groups List of AD Groups + * + * @return builder + * + */ + public Builder groups(ActiveDirectoryAddGroupsGroupArgs... groups) { + return groups(List.of(groups)); + } + + /** + * @param joinPointId Active Directory Join Point ID + * + * @return builder + * + */ + public Builder joinPointId(@Nullable Output joinPointId) { + $.joinPointId = joinPointId; + return this; + } + + /** + * @param joinPointId Active Directory Join Point ID + * + * @return builder + * + */ + public Builder joinPointId(String joinPointId) { + return joinPointId(Output.of(joinPointId)); + } + + /** + * @param name The name of the active directory join point + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the active directory join point + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public ActiveDirectoryAddGroupsState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs.java new file mode 100644 index 0000000..ebbd75d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs.java @@ -0,0 +1,125 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs extends com.pulumi.resources.ResourceArgs { + + public static final ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs Empty = new ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs(); + + /** + * Additional attribute name + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Additional attribute name + * + */ + public Output name() { + return this.name; + } + + /** + * Additional attribute value + * + */ + @Import(name="value", required=true) + private Output value; + + /** + * @return Additional attribute value + * + */ + public Output value() { + return this.value; + } + + private ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs() {} + + private ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs(ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs $) { + this.name = $.name; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs $; + + public Builder() { + $ = new ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs(); + } + + public Builder(ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs defaults) { + $ = new ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name Additional attribute name + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Additional attribute name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param value Additional attribute value + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value Additional attribute value + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs", "name"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinDomainWithAllNodesState.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinDomainWithAllNodesState.java new file mode 100644 index 0000000..838a7ed --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinDomainWithAllNodesState.java @@ -0,0 +1,106 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ActiveDirectoryJoinDomainWithAllNodesState extends com.pulumi.resources.ResourceArgs { + + public static final ActiveDirectoryJoinDomainWithAllNodesState Empty = new ActiveDirectoryJoinDomainWithAllNodesState(); + + @Import(name="additionalDatas") + private @Nullable Output> additionalDatas; + + public Optional>> additionalDatas() { + return Optional.ofNullable(this.additionalDatas); + } + + /** + * Active Directory Join Point ID + * + */ + @Import(name="joinPointId") + private @Nullable Output joinPointId; + + /** + * @return Active Directory Join Point ID + * + */ + public Optional> joinPointId() { + return Optional.ofNullable(this.joinPointId); + } + + private ActiveDirectoryJoinDomainWithAllNodesState() {} + + private ActiveDirectoryJoinDomainWithAllNodesState(ActiveDirectoryJoinDomainWithAllNodesState $) { + this.additionalDatas = $.additionalDatas; + this.joinPointId = $.joinPointId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ActiveDirectoryJoinDomainWithAllNodesState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ActiveDirectoryJoinDomainWithAllNodesState $; + + public Builder() { + $ = new ActiveDirectoryJoinDomainWithAllNodesState(); + } + + public Builder(ActiveDirectoryJoinDomainWithAllNodesState defaults) { + $ = new ActiveDirectoryJoinDomainWithAllNodesState(Objects.requireNonNull(defaults)); + } + + public Builder additionalDatas(@Nullable Output> additionalDatas) { + $.additionalDatas = additionalDatas; + return this; + } + + public Builder additionalDatas(List additionalDatas) { + return additionalDatas(Output.of(additionalDatas)); + } + + public Builder additionalDatas(ActiveDirectoryJoinDomainWithAllNodesAdditionalDataArgs... additionalDatas) { + return additionalDatas(List.of(additionalDatas)); + } + + /** + * @param joinPointId Active Directory Join Point ID + * + * @return builder + * + */ + public Builder joinPointId(@Nullable Output joinPointId) { + $.joinPointId = joinPointId; + return this; + } + + /** + * @param joinPointId Active Directory Join Point ID + * + * @return builder + * + */ + public Builder joinPointId(String joinPointId) { + return joinPointId(Output.of(joinPointId)); + } + + public ActiveDirectoryJoinDomainWithAllNodesState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinPointAttributeArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinPointAttributeArgs.java new file mode 100644 index 0000000..d0a91e9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinPointAttributeArgs.java @@ -0,0 +1,209 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class ActiveDirectoryJoinPointAttributeArgs extends com.pulumi.resources.ResourceArgs { + + public static final ActiveDirectoryJoinPointAttributeArgs Empty = new ActiveDirectoryJoinPointAttributeArgs(); + + /** + * Required for each attribute in the attribute list. Can contain an empty string. + * + */ + @Import(name="defaultValue", required=true) + private Output defaultValue; + + /** + * @return Required for each attribute in the attribute list. Can contain an empty string. + * + */ + public Output defaultValue() { + return this.defaultValue; + } + + /** + * Required for each attribute in the attribute list + * + */ + @Import(name="internalName", required=true) + private Output internalName; + + /** + * @return Required for each attribute in the attribute list + * + */ + public Output internalName() { + return this.internalName; + } + + /** + * Required for each attribute in the attribute list with no duplication between attributes + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Required for each attribute in the attribute list with no duplication between attributes + * + */ + public Output name() { + return this.name; + } + + /** + * Required for each group in the group list + * - Choices: `STRING`, `IP`, `BOOLEAN`, `INT`, `OCTET_STRING` + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return Required for each group in the group list + * - Choices: `STRING`, `IP`, `BOOLEAN`, `INT`, `OCTET_STRING` + * + */ + public Output type() { + return this.type; + } + + private ActiveDirectoryJoinPointAttributeArgs() {} + + private ActiveDirectoryJoinPointAttributeArgs(ActiveDirectoryJoinPointAttributeArgs $) { + this.defaultValue = $.defaultValue; + this.internalName = $.internalName; + this.name = $.name; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ActiveDirectoryJoinPointAttributeArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ActiveDirectoryJoinPointAttributeArgs $; + + public Builder() { + $ = new ActiveDirectoryJoinPointAttributeArgs(); + } + + public Builder(ActiveDirectoryJoinPointAttributeArgs defaults) { + $ = new ActiveDirectoryJoinPointAttributeArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param defaultValue Required for each attribute in the attribute list. Can contain an empty string. + * + * @return builder + * + */ + public Builder defaultValue(Output defaultValue) { + $.defaultValue = defaultValue; + return this; + } + + /** + * @param defaultValue Required for each attribute in the attribute list. Can contain an empty string. + * + * @return builder + * + */ + public Builder defaultValue(String defaultValue) { + return defaultValue(Output.of(defaultValue)); + } + + /** + * @param internalName Required for each attribute in the attribute list + * + * @return builder + * + */ + public Builder internalName(Output internalName) { + $.internalName = internalName; + return this; + } + + /** + * @param internalName Required for each attribute in the attribute list + * + * @return builder + * + */ + public Builder internalName(String internalName) { + return internalName(Output.of(internalName)); + } + + /** + * @param name Required for each attribute in the attribute list with no duplication between attributes + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Required for each attribute in the attribute list with no duplication between attributes + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param type Required for each group in the group list + * - Choices: `STRING`, `IP`, `BOOLEAN`, `INT`, `OCTET_STRING` + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type Required for each group in the group list + * - Choices: `STRING`, `IP`, `BOOLEAN`, `INT`, `OCTET_STRING` + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public ActiveDirectoryJoinPointAttributeArgs build() { + if ($.defaultValue == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointAttributeArgs", "defaultValue"); + } + if ($.internalName == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointAttributeArgs", "internalName"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointAttributeArgs", "name"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointAttributeArgs", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinPointGroupArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinPointGroupArgs.java new file mode 100644 index 0000000..0e1a0d5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinPointGroupArgs.java @@ -0,0 +1,144 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ActiveDirectoryJoinPointGroupArgs extends com.pulumi.resources.ResourceArgs { + + public static final ActiveDirectoryJoinPointGroupArgs Empty = new ActiveDirectoryJoinPointGroupArgs(); + + /** + * Required for each group in the group list with no duplication between groups + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + public Output name() { + return this.name; + } + + /** + * Required for each group in the group list with no duplication between groups + * + */ + @Import(name="sid", required=true) + private Output sid; + + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + public Output sid() { + return this.sid; + } + + @Import(name="type") + private @Nullable Output type; + + public Optional> type() { + return Optional.ofNullable(this.type); + } + + private ActiveDirectoryJoinPointGroupArgs() {} + + private ActiveDirectoryJoinPointGroupArgs(ActiveDirectoryJoinPointGroupArgs $) { + this.name = $.name; + this.sid = $.sid; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ActiveDirectoryJoinPointGroupArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ActiveDirectoryJoinPointGroupArgs $; + + public Builder() { + $ = new ActiveDirectoryJoinPointGroupArgs(); + } + + public Builder(ActiveDirectoryJoinPointGroupArgs defaults) { + $ = new ActiveDirectoryJoinPointGroupArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name Required for each group in the group list with no duplication between groups + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Required for each group in the group list with no duplication between groups + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param sid Required for each group in the group list with no duplication between groups + * + * @return builder + * + */ + public Builder sid(Output sid) { + $.sid = sid; + return this; + } + + /** + * @param sid Required for each group in the group list with no duplication between groups + * + * @return builder + * + */ + public Builder sid(String sid) { + return sid(Output.of(sid)); + } + + public Builder type(@Nullable Output type) { + $.type = type; + return this; + } + + public Builder type(String type) { + return type(Output.of(type)); + } + + public ActiveDirectoryJoinPointGroupArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointGroupArgs", "name"); + } + if ($.sid == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointGroupArgs", "sid"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinPointRewriteRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinPointRewriteRuleArgs.java new file mode 100644 index 0000000..ae4877c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinPointRewriteRuleArgs.java @@ -0,0 +1,165 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class ActiveDirectoryJoinPointRewriteRuleArgs extends com.pulumi.resources.ResourceArgs { + + public static final ActiveDirectoryJoinPointRewriteRuleArgs Empty = new ActiveDirectoryJoinPointRewriteRuleArgs(); + + /** + * Required for each rule in the list with no duplication between rules + * + */ + @Import(name="rewriteMatch", required=true) + private Output rewriteMatch; + + /** + * @return Required for each rule in the list with no duplication between rules + * + */ + public Output rewriteMatch() { + return this.rewriteMatch; + } + + /** + * Required for each rule in the list + * + */ + @Import(name="rewriteResult", required=true) + private Output rewriteResult; + + /** + * @return Required for each rule in the list + * + */ + public Output rewriteResult() { + return this.rewriteResult; + } + + /** + * Required for each rule in the list in serial order + * + */ + @Import(name="rowId", required=true) + private Output rowId; + + /** + * @return Required for each rule in the list in serial order + * + */ + public Output rowId() { + return this.rowId; + } + + private ActiveDirectoryJoinPointRewriteRuleArgs() {} + + private ActiveDirectoryJoinPointRewriteRuleArgs(ActiveDirectoryJoinPointRewriteRuleArgs $) { + this.rewriteMatch = $.rewriteMatch; + this.rewriteResult = $.rewriteResult; + this.rowId = $.rowId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ActiveDirectoryJoinPointRewriteRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ActiveDirectoryJoinPointRewriteRuleArgs $; + + public Builder() { + $ = new ActiveDirectoryJoinPointRewriteRuleArgs(); + } + + public Builder(ActiveDirectoryJoinPointRewriteRuleArgs defaults) { + $ = new ActiveDirectoryJoinPointRewriteRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param rewriteMatch Required for each rule in the list with no duplication between rules + * + * @return builder + * + */ + public Builder rewriteMatch(Output rewriteMatch) { + $.rewriteMatch = rewriteMatch; + return this; + } + + /** + * @param rewriteMatch Required for each rule in the list with no duplication between rules + * + * @return builder + * + */ + public Builder rewriteMatch(String rewriteMatch) { + return rewriteMatch(Output.of(rewriteMatch)); + } + + /** + * @param rewriteResult Required for each rule in the list + * + * @return builder + * + */ + public Builder rewriteResult(Output rewriteResult) { + $.rewriteResult = rewriteResult; + return this; + } + + /** + * @param rewriteResult Required for each rule in the list + * + * @return builder + * + */ + public Builder rewriteResult(String rewriteResult) { + return rewriteResult(Output.of(rewriteResult)); + } + + /** + * @param rowId Required for each rule in the list in serial order + * + * @return builder + * + */ + public Builder rowId(Output rowId) { + $.rowId = rowId; + return this; + } + + /** + * @param rowId Required for each rule in the list in serial order + * + * @return builder + * + */ + public Builder rowId(String rowId) { + return rowId(Output.of(rowId)); + } + + public ActiveDirectoryJoinPointRewriteRuleArgs build() { + if ($.rewriteMatch == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointRewriteRuleArgs", "rewriteMatch"); + } + if ($.rewriteResult == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointRewriteRuleArgs", "rewriteResult"); + } + if ($.rowId == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointRewriteRuleArgs", "rowId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinPointState.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinPointState.java new file mode 100644 index 0000000..9ed0436 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/ActiveDirectoryJoinPointState.java @@ -0,0 +1,1307 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryJoinPointAttributeArgs; +import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryJoinPointGroupArgs; +import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryJoinPointRewriteRuleArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ActiveDirectoryJoinPointState extends com.pulumi.resources.ResourceArgs { + + public static final ActiveDirectoryJoinPointState Empty = new ActiveDirectoryJoinPointState(); + + /** + * String that contains the names of the scopes that the active directory belongs to. Names are separated by comma. - + * Default value: `Default_Scope` + * + */ + @Import(name="adScopesNames") + private @Nullable Output adScopesNames; + + /** + * @return String that contains the names of the scopes that the active directory belongs to. Names are separated by comma. - + * Default value: `Default_Scope` + * + */ + public Optional> adScopesNames() { + return Optional.ofNullable(this.adScopesNames); + } + + /** + * Aging Time - Default value: `5` + * + */ + @Import(name="agingTime") + private @Nullable Output agingTime; + + /** + * @return Aging Time - Default value: `5` + * + */ + public Optional> agingTime() { + return Optional.ofNullable(this.agingTime); + } + + /** + * List of AD attributes + * + */ + @Import(name="attributes") + private @Nullable Output> attributes; + + /** + * @return List of AD attributes + * + */ + public Optional>> attributes() { + return Optional.ofNullable(this.attributes); + } + + /** + * Enable prevent AD account lockout for WIRELESS/WIRED/BOTH - Choices: `WIRELESS`, `WIRED`, `BOTH` + * + */ + @Import(name="authProtectionType") + private @Nullable Output authProtectionType; + + /** + * @return Enable prevent AD account lockout for WIRELESS/WIRED/BOTH - Choices: `WIRELESS`, `WIRED`, `BOTH` + * + */ + public Optional> authProtectionType() { + return Optional.ofNullable(this.authProtectionType); + } + + /** + * User info attribute + * + */ + @Import(name="country") + private @Nullable Output country; + + /** + * @return User info attribute + * + */ + public Optional> country() { + return Optional.ofNullable(this.country); + } + + /** + * User info attribute + * + */ + @Import(name="department") + private @Nullable Output department; + + /** + * @return User info attribute + * + */ + public Optional> department() { + return Optional.ofNullable(this.department); + } + + /** + * Join point description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Join point description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * AD domain associated with the join point + * + */ + @Import(name="domain") + private @Nullable Output domain; + + /** + * @return AD domain associated with the join point + * + */ + public Optional> domain() { + return Optional.ofNullable(this.domain); + } + + /** + * User info attribute + * + */ + @Import(name="email") + private @Nullable Output email; + + /** + * @return User info attribute + * + */ + public Optional> email() { + return Optional.ofNullable(this.email); + } + + /** + * Enable Callback For Dial In Client - Default value: `false` + * + */ + @Import(name="enableCallbackForDialinClient") + private @Nullable Output enableCallbackForDialinClient; + + /** + * @return Enable Callback For Dial In Client - Default value: `false` + * + */ + public Optional> enableCallbackForDialinClient() { + return Optional.ofNullable(this.enableCallbackForDialinClient); + } + + /** + * Enable Dial In Permission Check - Default value: `false` + * + */ + @Import(name="enableDialinPermissionCheck") + private @Nullable Output enableDialinPermissionCheck; + + /** + * @return Enable Dial In Permission Check - Default value: `false` + * + */ + public Optional> enableDialinPermissionCheck() { + return Optional.ofNullable(this.enableDialinPermissionCheck); + } + + /** + * - Default value: `true` + * + */ + @Import(name="enableDomainAllowedList") + private @Nullable Output enableDomainAllowedList; + + /** + * @return - Default value: `true` + * + */ + public Optional> enableDomainAllowedList() { + return Optional.ofNullable(this.enableDomainAllowedList); + } + + /** + * Enable prevent AD account lockout due to too many bad password attempts - Default value: `false` + * + */ + @Import(name="enableFailedAuthProtection") + private @Nullable Output enableFailedAuthProtection; + + /** + * @return Enable prevent AD account lockout due to too many bad password attempts - Default value: `false` + * + */ + public Optional> enableFailedAuthProtection() { + return Optional.ofNullable(this.enableFailedAuthProtection); + } + + /** + * Enable Machine Access - Default value: `true` + * + */ + @Import(name="enableMachineAccess") + private @Nullable Output enableMachineAccess; + + /** + * @return Enable Machine Access - Default value: `true` + * + */ + public Optional> enableMachineAccess() { + return Optional.ofNullable(this.enableMachineAccess); + } + + /** + * Enable Machine Authentication - Default value: `true` + * + */ + @Import(name="enableMachineAuth") + private @Nullable Output enableMachineAuth; + + /** + * @return Enable Machine Authentication - Default value: `true` + * + */ + public Optional> enableMachineAuth() { + return Optional.ofNullable(this.enableMachineAuth); + } + + /** + * Enable Password Change - Default value: `true` + * + */ + @Import(name="enablePassChange") + private @Nullable Output enablePassChange; + + /** + * @return Enable Password Change - Default value: `true` + * + */ + public Optional> enablePassChange() { + return Optional.ofNullable(this.enablePassChange); + } + + /** + * Enable Rewrites - Default value: `false` + * + */ + @Import(name="enableRewrites") + private @Nullable Output enableRewrites; + + /** + * @return Enable Rewrites - Default value: `false` + * + */ + public Optional> enableRewrites() { + return Optional.ofNullable(this.enableRewrites); + } + + /** + * Number of bad password attempts - Default value: `5` + * + */ + @Import(name="failedAuthThreshold") + private @Nullable Output failedAuthThreshold; + + /** + * @return Number of bad password attempts - Default value: `5` + * + */ + public Optional> failedAuthThreshold() { + return Optional.ofNullable(this.failedAuthThreshold); + } + + /** + * User info attribute + * + */ + @Import(name="firstName") + private @Nullable Output firstName; + + /** + * @return User info attribute + * + */ + public Optional> firstName() { + return Optional.ofNullable(this.firstName); + } + + /** + * List of AD Groups + * + */ + @Import(name="groups") + private @Nullable Output> groups; + + /** + * @return List of AD Groups + * + */ + public Optional>> groups() { + return Optional.ofNullable(this.groups); + } + + /** + * Identity Not In AD Behaviour - Choices: `REJECT`, `SEARCH_JOINED_FOREST`, `SEARCH_ALL` + * + */ + @Import(name="identityNotInAdBehaviour") + private @Nullable Output identityNotInAdBehaviour; + + /** + * @return Identity Not In AD Behaviour - Choices: `REJECT`, `SEARCH_JOINED_FOREST`, `SEARCH_ALL` + * + */ + public Optional> identityNotInAdBehaviour() { + return Optional.ofNullable(this.identityNotInAdBehaviour); + } + + /** + * User info attribute + * + */ + @Import(name="jobTitle") + private @Nullable Output jobTitle; + + /** + * @return User info attribute + * + */ + public Optional> jobTitle() { + return Optional.ofNullable(this.jobTitle); + } + + /** + * User info attribute + * + */ + @Import(name="lastName") + private @Nullable Output lastName; + + /** + * @return User info attribute + * + */ + public Optional> lastName() { + return Optional.ofNullable(this.lastName); + } + + /** + * User info attribute + * + */ + @Import(name="locality") + private @Nullable Output locality; + + /** + * @return User info attribute + * + */ + public Optional> locality() { + return Optional.ofNullable(this.locality); + } + + /** + * The name of the active directory join point + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the active directory join point + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * User info attribute + * + */ + @Import(name="organizationalUnit") + private @Nullable Output organizationalUnit; + + /** + * @return User info attribute + * + */ + public Optional> organizationalUnit() { + return Optional.ofNullable(this.organizationalUnit); + } + + /** + * Plain Text Authentication - Default value: `false` + * + */ + @Import(name="plaintextAuth") + private @Nullable Output plaintextAuth; + + /** + * @return Plain Text Authentication - Default value: `false` + * + */ + public Optional> plaintextAuth() { + return Optional.ofNullable(this.plaintextAuth); + } + + /** + * List of Rewrite rules + * + */ + @Import(name="rewriteRules") + private @Nullable Output> rewriteRules; + + /** + * @return List of Rewrite rules + * + */ + public Optional>> rewriteRules() { + return Optional.ofNullable(this.rewriteRules); + } + + /** + * Schema - Choices: `ACTIVE_DIRECTORY`, `CUSTOM` + * + */ + @Import(name="schema") + private @Nullable Output schema; + + /** + * @return Schema - Choices: `ACTIVE_DIRECTORY`, `CUSTOM` + * + */ + public Optional> schema() { + return Optional.ofNullable(this.schema); + } + + /** + * User info attribute + * + */ + @Import(name="stateOrProvince") + private @Nullable Output stateOrProvince; + + /** + * @return User info attribute + * + */ + public Optional> stateOrProvince() { + return Optional.ofNullable(this.stateOrProvince); + } + + /** + * User info attribute + * + */ + @Import(name="streetAddress") + private @Nullable Output streetAddress; + + /** + * @return User info attribute + * + */ + public Optional> streetAddress() { + return Optional.ofNullable(this.streetAddress); + } + + /** + * User info attribute + * + */ + @Import(name="telephone") + private @Nullable Output telephone; + + /** + * @return User info attribute + * + */ + public Optional> telephone() { + return Optional.ofNullable(this.telephone); + } + + /** + * Unreachable Domains Behaviour - Choices: `PROCEED`, `DROP` + * + */ + @Import(name="unreachableDomainsBehaviour") + private @Nullable Output unreachableDomainsBehaviour; + + /** + * @return Unreachable Domains Behaviour - Choices: `PROCEED`, `DROP` + * + */ + public Optional> unreachableDomainsBehaviour() { + return Optional.ofNullable(this.unreachableDomainsBehaviour); + } + + private ActiveDirectoryJoinPointState() {} + + private ActiveDirectoryJoinPointState(ActiveDirectoryJoinPointState $) { + this.adScopesNames = $.adScopesNames; + this.agingTime = $.agingTime; + this.attributes = $.attributes; + this.authProtectionType = $.authProtectionType; + this.country = $.country; + this.department = $.department; + this.description = $.description; + this.domain = $.domain; + this.email = $.email; + this.enableCallbackForDialinClient = $.enableCallbackForDialinClient; + this.enableDialinPermissionCheck = $.enableDialinPermissionCheck; + this.enableDomainAllowedList = $.enableDomainAllowedList; + this.enableFailedAuthProtection = $.enableFailedAuthProtection; + this.enableMachineAccess = $.enableMachineAccess; + this.enableMachineAuth = $.enableMachineAuth; + this.enablePassChange = $.enablePassChange; + this.enableRewrites = $.enableRewrites; + this.failedAuthThreshold = $.failedAuthThreshold; + this.firstName = $.firstName; + this.groups = $.groups; + this.identityNotInAdBehaviour = $.identityNotInAdBehaviour; + this.jobTitle = $.jobTitle; + this.lastName = $.lastName; + this.locality = $.locality; + this.name = $.name; + this.organizationalUnit = $.organizationalUnit; + this.plaintextAuth = $.plaintextAuth; + this.rewriteRules = $.rewriteRules; + this.schema = $.schema; + this.stateOrProvince = $.stateOrProvince; + this.streetAddress = $.streetAddress; + this.telephone = $.telephone; + this.unreachableDomainsBehaviour = $.unreachableDomainsBehaviour; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ActiveDirectoryJoinPointState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ActiveDirectoryJoinPointState $; + + public Builder() { + $ = new ActiveDirectoryJoinPointState(); + } + + public Builder(ActiveDirectoryJoinPointState defaults) { + $ = new ActiveDirectoryJoinPointState(Objects.requireNonNull(defaults)); + } + + /** + * @param adScopesNames String that contains the names of the scopes that the active directory belongs to. Names are separated by comma. - + * Default value: `Default_Scope` + * + * @return builder + * + */ + public Builder adScopesNames(@Nullable Output adScopesNames) { + $.adScopesNames = adScopesNames; + return this; + } + + /** + * @param adScopesNames String that contains the names of the scopes that the active directory belongs to. Names are separated by comma. - + * Default value: `Default_Scope` + * + * @return builder + * + */ + public Builder adScopesNames(String adScopesNames) { + return adScopesNames(Output.of(adScopesNames)); + } + + /** + * @param agingTime Aging Time - Default value: `5` + * + * @return builder + * + */ + public Builder agingTime(@Nullable Output agingTime) { + $.agingTime = agingTime; + return this; + } + + /** + * @param agingTime Aging Time - Default value: `5` + * + * @return builder + * + */ + public Builder agingTime(Integer agingTime) { + return agingTime(Output.of(agingTime)); + } + + /** + * @param attributes List of AD attributes + * + * @return builder + * + */ + public Builder attributes(@Nullable Output> attributes) { + $.attributes = attributes; + return this; + } + + /** + * @param attributes List of AD attributes + * + * @return builder + * + */ + public Builder attributes(List attributes) { + return attributes(Output.of(attributes)); + } + + /** + * @param attributes List of AD attributes + * + * @return builder + * + */ + public Builder attributes(ActiveDirectoryJoinPointAttributeArgs... attributes) { + return attributes(List.of(attributes)); + } + + /** + * @param authProtectionType Enable prevent AD account lockout for WIRELESS/WIRED/BOTH - Choices: `WIRELESS`, `WIRED`, `BOTH` + * + * @return builder + * + */ + public Builder authProtectionType(@Nullable Output authProtectionType) { + $.authProtectionType = authProtectionType; + return this; + } + + /** + * @param authProtectionType Enable prevent AD account lockout for WIRELESS/WIRED/BOTH - Choices: `WIRELESS`, `WIRED`, `BOTH` + * + * @return builder + * + */ + public Builder authProtectionType(String authProtectionType) { + return authProtectionType(Output.of(authProtectionType)); + } + + /** + * @param country User info attribute + * + * @return builder + * + */ + public Builder country(@Nullable Output country) { + $.country = country; + return this; + } + + /** + * @param country User info attribute + * + * @return builder + * + */ + public Builder country(String country) { + return country(Output.of(country)); + } + + /** + * @param department User info attribute + * + * @return builder + * + */ + public Builder department(@Nullable Output department) { + $.department = department; + return this; + } + + /** + * @param department User info attribute + * + * @return builder + * + */ + public Builder department(String department) { + return department(Output.of(department)); + } + + /** + * @param description Join point description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Join point description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param domain AD domain associated with the join point + * + * @return builder + * + */ + public Builder domain(@Nullable Output domain) { + $.domain = domain; + return this; + } + + /** + * @param domain AD domain associated with the join point + * + * @return builder + * + */ + public Builder domain(String domain) { + return domain(Output.of(domain)); + } + + /** + * @param email User info attribute + * + * @return builder + * + */ + public Builder email(@Nullable Output email) { + $.email = email; + return this; + } + + /** + * @param email User info attribute + * + * @return builder + * + */ + public Builder email(String email) { + return email(Output.of(email)); + } + + /** + * @param enableCallbackForDialinClient Enable Callback For Dial In Client - Default value: `false` + * + * @return builder + * + */ + public Builder enableCallbackForDialinClient(@Nullable Output enableCallbackForDialinClient) { + $.enableCallbackForDialinClient = enableCallbackForDialinClient; + return this; + } + + /** + * @param enableCallbackForDialinClient Enable Callback For Dial In Client - Default value: `false` + * + * @return builder + * + */ + public Builder enableCallbackForDialinClient(Boolean enableCallbackForDialinClient) { + return enableCallbackForDialinClient(Output.of(enableCallbackForDialinClient)); + } + + /** + * @param enableDialinPermissionCheck Enable Dial In Permission Check - Default value: `false` + * + * @return builder + * + */ + public Builder enableDialinPermissionCheck(@Nullable Output enableDialinPermissionCheck) { + $.enableDialinPermissionCheck = enableDialinPermissionCheck; + return this; + } + + /** + * @param enableDialinPermissionCheck Enable Dial In Permission Check - Default value: `false` + * + * @return builder + * + */ + public Builder enableDialinPermissionCheck(Boolean enableDialinPermissionCheck) { + return enableDialinPermissionCheck(Output.of(enableDialinPermissionCheck)); + } + + /** + * @param enableDomainAllowedList - Default value: `true` + * + * @return builder + * + */ + public Builder enableDomainAllowedList(@Nullable Output enableDomainAllowedList) { + $.enableDomainAllowedList = enableDomainAllowedList; + return this; + } + + /** + * @param enableDomainAllowedList - Default value: `true` + * + * @return builder + * + */ + public Builder enableDomainAllowedList(Boolean enableDomainAllowedList) { + return enableDomainAllowedList(Output.of(enableDomainAllowedList)); + } + + /** + * @param enableFailedAuthProtection Enable prevent AD account lockout due to too many bad password attempts - Default value: `false` + * + * @return builder + * + */ + public Builder enableFailedAuthProtection(@Nullable Output enableFailedAuthProtection) { + $.enableFailedAuthProtection = enableFailedAuthProtection; + return this; + } + + /** + * @param enableFailedAuthProtection Enable prevent AD account lockout due to too many bad password attempts - Default value: `false` + * + * @return builder + * + */ + public Builder enableFailedAuthProtection(Boolean enableFailedAuthProtection) { + return enableFailedAuthProtection(Output.of(enableFailedAuthProtection)); + } + + /** + * @param enableMachineAccess Enable Machine Access - Default value: `true` + * + * @return builder + * + */ + public Builder enableMachineAccess(@Nullable Output enableMachineAccess) { + $.enableMachineAccess = enableMachineAccess; + return this; + } + + /** + * @param enableMachineAccess Enable Machine Access - Default value: `true` + * + * @return builder + * + */ + public Builder enableMachineAccess(Boolean enableMachineAccess) { + return enableMachineAccess(Output.of(enableMachineAccess)); + } + + /** + * @param enableMachineAuth Enable Machine Authentication - Default value: `true` + * + * @return builder + * + */ + public Builder enableMachineAuth(@Nullable Output enableMachineAuth) { + $.enableMachineAuth = enableMachineAuth; + return this; + } + + /** + * @param enableMachineAuth Enable Machine Authentication - Default value: `true` + * + * @return builder + * + */ + public Builder enableMachineAuth(Boolean enableMachineAuth) { + return enableMachineAuth(Output.of(enableMachineAuth)); + } + + /** + * @param enablePassChange Enable Password Change - Default value: `true` + * + * @return builder + * + */ + public Builder enablePassChange(@Nullable Output enablePassChange) { + $.enablePassChange = enablePassChange; + return this; + } + + /** + * @param enablePassChange Enable Password Change - Default value: `true` + * + * @return builder + * + */ + public Builder enablePassChange(Boolean enablePassChange) { + return enablePassChange(Output.of(enablePassChange)); + } + + /** + * @param enableRewrites Enable Rewrites - Default value: `false` + * + * @return builder + * + */ + public Builder enableRewrites(@Nullable Output enableRewrites) { + $.enableRewrites = enableRewrites; + return this; + } + + /** + * @param enableRewrites Enable Rewrites - Default value: `false` + * + * @return builder + * + */ + public Builder enableRewrites(Boolean enableRewrites) { + return enableRewrites(Output.of(enableRewrites)); + } + + /** + * @param failedAuthThreshold Number of bad password attempts - Default value: `5` + * + * @return builder + * + */ + public Builder failedAuthThreshold(@Nullable Output failedAuthThreshold) { + $.failedAuthThreshold = failedAuthThreshold; + return this; + } + + /** + * @param failedAuthThreshold Number of bad password attempts - Default value: `5` + * + * @return builder + * + */ + public Builder failedAuthThreshold(Integer failedAuthThreshold) { + return failedAuthThreshold(Output.of(failedAuthThreshold)); + } + + /** + * @param firstName User info attribute + * + * @return builder + * + */ + public Builder firstName(@Nullable Output firstName) { + $.firstName = firstName; + return this; + } + + /** + * @param firstName User info attribute + * + * @return builder + * + */ + public Builder firstName(String firstName) { + return firstName(Output.of(firstName)); + } + + /** + * @param groups List of AD Groups + * + * @return builder + * + */ + public Builder groups(@Nullable Output> groups) { + $.groups = groups; + return this; + } + + /** + * @param groups List of AD Groups + * + * @return builder + * + */ + public Builder groups(List groups) { + return groups(Output.of(groups)); + } + + /** + * @param groups List of AD Groups + * + * @return builder + * + */ + public Builder groups(ActiveDirectoryJoinPointGroupArgs... groups) { + return groups(List.of(groups)); + } + + /** + * @param identityNotInAdBehaviour Identity Not In AD Behaviour - Choices: `REJECT`, `SEARCH_JOINED_FOREST`, `SEARCH_ALL` + * + * @return builder + * + */ + public Builder identityNotInAdBehaviour(@Nullable Output identityNotInAdBehaviour) { + $.identityNotInAdBehaviour = identityNotInAdBehaviour; + return this; + } + + /** + * @param identityNotInAdBehaviour Identity Not In AD Behaviour - Choices: `REJECT`, `SEARCH_JOINED_FOREST`, `SEARCH_ALL` + * + * @return builder + * + */ + public Builder identityNotInAdBehaviour(String identityNotInAdBehaviour) { + return identityNotInAdBehaviour(Output.of(identityNotInAdBehaviour)); + } + + /** + * @param jobTitle User info attribute + * + * @return builder + * + */ + public Builder jobTitle(@Nullable Output jobTitle) { + $.jobTitle = jobTitle; + return this; + } + + /** + * @param jobTitle User info attribute + * + * @return builder + * + */ + public Builder jobTitle(String jobTitle) { + return jobTitle(Output.of(jobTitle)); + } + + /** + * @param lastName User info attribute + * + * @return builder + * + */ + public Builder lastName(@Nullable Output lastName) { + $.lastName = lastName; + return this; + } + + /** + * @param lastName User info attribute + * + * @return builder + * + */ + public Builder lastName(String lastName) { + return lastName(Output.of(lastName)); + } + + /** + * @param locality User info attribute + * + * @return builder + * + */ + public Builder locality(@Nullable Output locality) { + $.locality = locality; + return this; + } + + /** + * @param locality User info attribute + * + * @return builder + * + */ + public Builder locality(String locality) { + return locality(Output.of(locality)); + } + + /** + * @param name The name of the active directory join point + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the active directory join point + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param organizationalUnit User info attribute + * + * @return builder + * + */ + public Builder organizationalUnit(@Nullable Output organizationalUnit) { + $.organizationalUnit = organizationalUnit; + return this; + } + + /** + * @param organizationalUnit User info attribute + * + * @return builder + * + */ + public Builder organizationalUnit(String organizationalUnit) { + return organizationalUnit(Output.of(organizationalUnit)); + } + + /** + * @param plaintextAuth Plain Text Authentication - Default value: `false` + * + * @return builder + * + */ + public Builder plaintextAuth(@Nullable Output plaintextAuth) { + $.plaintextAuth = plaintextAuth; + return this; + } + + /** + * @param plaintextAuth Plain Text Authentication - Default value: `false` + * + * @return builder + * + */ + public Builder plaintextAuth(Boolean plaintextAuth) { + return plaintextAuth(Output.of(plaintextAuth)); + } + + /** + * @param rewriteRules List of Rewrite rules + * + * @return builder + * + */ + public Builder rewriteRules(@Nullable Output> rewriteRules) { + $.rewriteRules = rewriteRules; + return this; + } + + /** + * @param rewriteRules List of Rewrite rules + * + * @return builder + * + */ + public Builder rewriteRules(List rewriteRules) { + return rewriteRules(Output.of(rewriteRules)); + } + + /** + * @param rewriteRules List of Rewrite rules + * + * @return builder + * + */ + public Builder rewriteRules(ActiveDirectoryJoinPointRewriteRuleArgs... rewriteRules) { + return rewriteRules(List.of(rewriteRules)); + } + + /** + * @param schema Schema - Choices: `ACTIVE_DIRECTORY`, `CUSTOM` + * + * @return builder + * + */ + public Builder schema(@Nullable Output schema) { + $.schema = schema; + return this; + } + + /** + * @param schema Schema - Choices: `ACTIVE_DIRECTORY`, `CUSTOM` + * + * @return builder + * + */ + public Builder schema(String schema) { + return schema(Output.of(schema)); + } + + /** + * @param stateOrProvince User info attribute + * + * @return builder + * + */ + public Builder stateOrProvince(@Nullable Output stateOrProvince) { + $.stateOrProvince = stateOrProvince; + return this; + } + + /** + * @param stateOrProvince User info attribute + * + * @return builder + * + */ + public Builder stateOrProvince(String stateOrProvince) { + return stateOrProvince(Output.of(stateOrProvince)); + } + + /** + * @param streetAddress User info attribute + * + * @return builder + * + */ + public Builder streetAddress(@Nullable Output streetAddress) { + $.streetAddress = streetAddress; + return this; + } + + /** + * @param streetAddress User info attribute + * + * @return builder + * + */ + public Builder streetAddress(String streetAddress) { + return streetAddress(Output.of(streetAddress)); + } + + /** + * @param telephone User info attribute + * + * @return builder + * + */ + public Builder telephone(@Nullable Output telephone) { + $.telephone = telephone; + return this; + } + + /** + * @param telephone User info attribute + * + * @return builder + * + */ + public Builder telephone(String telephone) { + return telephone(Output.of(telephone)); + } + + /** + * @param unreachableDomainsBehaviour Unreachable Domains Behaviour - Choices: `PROCEED`, `DROP` + * + * @return builder + * + */ + public Builder unreachableDomainsBehaviour(@Nullable Output unreachableDomainsBehaviour) { + $.unreachableDomainsBehaviour = unreachableDomainsBehaviour; + return this; + } + + /** + * @param unreachableDomainsBehaviour Unreachable Domains Behaviour - Choices: `PROCEED`, `DROP` + * + * @return builder + * + */ + public Builder unreachableDomainsBehaviour(String unreachableDomainsBehaviour) { + return unreachableDomainsBehaviour(Output.of(unreachableDomainsBehaviour)); + } + + public ActiveDirectoryJoinPointState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/CertificateAuthenticationProfileState.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/CertificateAuthenticationProfileState.java new file mode 100644 index 0000000..ec759c0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/CertificateAuthenticationProfileState.java @@ -0,0 +1,334 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CertificateAuthenticationProfileState extends com.pulumi.resources.ResourceArgs { + + public static final CertificateAuthenticationProfileState Empty = new CertificateAuthenticationProfileState(); + + /** + * Allow as username - Default value: `false` + * + */ + @Import(name="allowedAsUserName") + private @Nullable Output allowedAsUserName; + + /** + * @return Allow as username - Default value: `false` + * + */ + public Optional> allowedAsUserName() { + return Optional.ofNullable(this.allowedAsUserName); + } + + /** + * Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices: + * `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`, + * `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value: + * `SUBJECT_COMMON_NAME` + * + */ + @Import(name="certificateAttributeName") + private @Nullable Output certificateAttributeName; + + /** + * @return Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices: + * `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`, + * `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value: + * `SUBJECT_COMMON_NAME` + * + */ + public Optional> certificateAttributeName() { + return Optional.ofNullable(this.certificateAttributeName); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default + * value: `[not applicable]` + * + */ + @Import(name="externalIdentityStoreName") + private @Nullable Output externalIdentityStoreName; + + /** + * @return Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default + * value: `[not applicable]` + * + */ + public Optional> externalIdentityStoreName() { + return Optional.ofNullable(this.externalIdentityStoreName); + } + + /** + * Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices: + * `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER` + * + */ + @Import(name="matchMode") + private @Nullable Output matchMode; + + /** + * @return Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices: + * `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER` + * + */ + public Optional> matchMode() { + return Optional.ofNullable(this.matchMode); + } + + /** + * The name of the certificate profile + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the certificate profile + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific + * attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the + * Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE` + * + */ + @Import(name="usernameFrom") + private @Nullable Output usernameFrom; + + /** + * @return The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific + * attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the + * Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE` + * + */ + public Optional> usernameFrom() { + return Optional.ofNullable(this.usernameFrom); + } + + private CertificateAuthenticationProfileState() {} + + private CertificateAuthenticationProfileState(CertificateAuthenticationProfileState $) { + this.allowedAsUserName = $.allowedAsUserName; + this.certificateAttributeName = $.certificateAttributeName; + this.description = $.description; + this.externalIdentityStoreName = $.externalIdentityStoreName; + this.matchMode = $.matchMode; + this.name = $.name; + this.usernameFrom = $.usernameFrom; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CertificateAuthenticationProfileState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CertificateAuthenticationProfileState $; + + public Builder() { + $ = new CertificateAuthenticationProfileState(); + } + + public Builder(CertificateAuthenticationProfileState defaults) { + $ = new CertificateAuthenticationProfileState(Objects.requireNonNull(defaults)); + } + + /** + * @param allowedAsUserName Allow as username - Default value: `false` + * + * @return builder + * + */ + public Builder allowedAsUserName(@Nullable Output allowedAsUserName) { + $.allowedAsUserName = allowedAsUserName; + return this; + } + + /** + * @param allowedAsUserName Allow as username - Default value: `false` + * + * @return builder + * + */ + public Builder allowedAsUserName(Boolean allowedAsUserName) { + return allowedAsUserName(Output.of(allowedAsUserName)); + } + + /** + * @param certificateAttributeName Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices: + * `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`, + * `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value: + * `SUBJECT_COMMON_NAME` + * + * @return builder + * + */ + public Builder certificateAttributeName(@Nullable Output certificateAttributeName) { + $.certificateAttributeName = certificateAttributeName; + return this; + } + + /** + * @param certificateAttributeName Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices: + * `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`, + * `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value: + * `SUBJECT_COMMON_NAME` + * + * @return builder + * + */ + public Builder certificateAttributeName(String certificateAttributeName) { + return certificateAttributeName(Output.of(certificateAttributeName)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param externalIdentityStoreName Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default + * value: `[not applicable]` + * + * @return builder + * + */ + public Builder externalIdentityStoreName(@Nullable Output externalIdentityStoreName) { + $.externalIdentityStoreName = externalIdentityStoreName; + return this; + } + + /** + * @param externalIdentityStoreName Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default + * value: `[not applicable]` + * + * @return builder + * + */ + public Builder externalIdentityStoreName(String externalIdentityStoreName) { + return externalIdentityStoreName(Output.of(externalIdentityStoreName)); + } + + /** + * @param matchMode Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices: + * `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER` + * + * @return builder + * + */ + public Builder matchMode(@Nullable Output matchMode) { + $.matchMode = matchMode; + return this; + } + + /** + * @param matchMode Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices: + * `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER` + * + * @return builder + * + */ + public Builder matchMode(String matchMode) { + return matchMode(Output.of(matchMode)); + } + + /** + * @param name The name of the certificate profile + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the certificate profile + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param usernameFrom The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific + * attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the + * Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE` + * + * @return builder + * + */ + public Builder usernameFrom(@Nullable Output usernameFrom) { + $.usernameFrom = usernameFrom; + return this; + } + + /** + * @param usernameFrom The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific + * attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the + * Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE` + * + * @return builder + * + */ + public Builder usernameFrom(String usernameFrom) { + return usernameFrom(Output.of(usernameFrom)); + } + + public CertificateAuthenticationProfileState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/EndpointIdentityGroupState.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/EndpointIdentityGroupState.java new file mode 100644 index 0000000..96fff07 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/EndpointIdentityGroupState.java @@ -0,0 +1,195 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class EndpointIdentityGroupState extends com.pulumi.resources.ResourceArgs { + + public static final EndpointIdentityGroupState Empty = new EndpointIdentityGroupState(); + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the endpoint identity group + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the endpoint identity group + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Parent endpoint identity group ID + * + */ + @Import(name="parentEndpointIdentityGroupId") + private @Nullable Output parentEndpointIdentityGroupId; + + /** + * @return Parent endpoint identity group ID + * + */ + public Optional> parentEndpointIdentityGroupId() { + return Optional.ofNullable(this.parentEndpointIdentityGroupId); + } + + /** + * System defined endpoint identity group - Default value: `false` + * + */ + @Import(name="systemDefined") + private @Nullable Output systemDefined; + + /** + * @return System defined endpoint identity group - Default value: `false` + * + */ + public Optional> systemDefined() { + return Optional.ofNullable(this.systemDefined); + } + + private EndpointIdentityGroupState() {} + + private EndpointIdentityGroupState(EndpointIdentityGroupState $) { + this.description = $.description; + this.name = $.name; + this.parentEndpointIdentityGroupId = $.parentEndpointIdentityGroupId; + this.systemDefined = $.systemDefined; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(EndpointIdentityGroupState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private EndpointIdentityGroupState $; + + public Builder() { + $ = new EndpointIdentityGroupState(); + } + + public Builder(EndpointIdentityGroupState defaults) { + $ = new EndpointIdentityGroupState(Objects.requireNonNull(defaults)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the endpoint identity group + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the endpoint identity group + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param parentEndpointIdentityGroupId Parent endpoint identity group ID + * + * @return builder + * + */ + public Builder parentEndpointIdentityGroupId(@Nullable Output parentEndpointIdentityGroupId) { + $.parentEndpointIdentityGroupId = parentEndpointIdentityGroupId; + return this; + } + + /** + * @param parentEndpointIdentityGroupId Parent endpoint identity group ID + * + * @return builder + * + */ + public Builder parentEndpointIdentityGroupId(String parentEndpointIdentityGroupId) { + return parentEndpointIdentityGroupId(Output.of(parentEndpointIdentityGroupId)); + } + + /** + * @param systemDefined System defined endpoint identity group - Default value: `false` + * + * @return builder + * + */ + public Builder systemDefined(@Nullable Output systemDefined) { + $.systemDefined = systemDefined; + return this; + } + + /** + * @param systemDefined System defined endpoint identity group - Default value: `false` + * + * @return builder + * + */ + public Builder systemDefined(Boolean systemDefined) { + return systemDefined(Output.of(systemDefined)); + } + + public EndpointIdentityGroupState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/EndpointState.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/EndpointState.java new file mode 100644 index 0000000..bac925d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/EndpointState.java @@ -0,0 +1,1010 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class EndpointState extends com.pulumi.resources.ResourceArgs { + + public static final EndpointState Empty = new EndpointState(); + + /** + * Custom Attributes + * + */ + @Import(name="customAttributes") + private @Nullable Output> customAttributes; + + /** + * @return Custom Attributes + * + */ + public Optional>> customAttributes() { + return Optional.ofNullable(this.customAttributes); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Identity Group ID + * + */ + @Import(name="groupId") + private @Nullable Output groupId; + + /** + * @return Identity Group ID + * + */ + public Optional> groupId() { + return Optional.ofNullable(this.groupId); + } + + /** + * Identity Store + * + */ + @Import(name="identityStore") + private @Nullable Output identityStore; + + /** + * @return Identity Store + * + */ + public Optional> identityStore() { + return Optional.ofNullable(this.identityStore); + } + + /** + * Identity Store Id + * + */ + @Import(name="identityStoreId") + private @Nullable Output identityStoreId; + + /** + * @return Identity Store Id + * + */ + public Optional> identityStoreId() { + return Optional.ofNullable(this.identityStoreId); + } + + /** + * MAC address of the endpoint + * + */ + @Import(name="mac") + private @Nullable Output mac; + + /** + * @return MAC address of the endpoint + * + */ + public Optional> mac() { + return Optional.ofNullable(this.mac); + } + + /** + * Mdm Compliance Status + * + */ + @Import(name="mdmComplianceStatus") + private @Nullable Output mdmComplianceStatus; + + /** + * @return Mdm Compliance Status + * + */ + public Optional> mdmComplianceStatus() { + return Optional.ofNullable(this.mdmComplianceStatus); + } + + /** + * Mdm Encrypted + * + */ + @Import(name="mdmEncrypted") + private @Nullable Output mdmEncrypted; + + /** + * @return Mdm Encrypted + * + */ + public Optional> mdmEncrypted() { + return Optional.ofNullable(this.mdmEncrypted); + } + + /** + * Mdm Enrolled + * + */ + @Import(name="mdmEnrolled") + private @Nullable Output mdmEnrolled; + + /** + * @return Mdm Enrolled + * + */ + public Optional> mdmEnrolled() { + return Optional.ofNullable(this.mdmEnrolled); + } + + /** + * Mdm IMEI + * + */ + @Import(name="mdmImei") + private @Nullable Output mdmImei; + + /** + * @return Mdm IMEI + * + */ + public Optional> mdmImei() { + return Optional.ofNullable(this.mdmImei); + } + + /** + * Mdm JailBroken + * + */ + @Import(name="mdmJailBroken") + private @Nullable Output mdmJailBroken; + + /** + * @return Mdm JailBroken + * + */ + public Optional> mdmJailBroken() { + return Optional.ofNullable(this.mdmJailBroken); + } + + /** + * Mdm Manufacturer + * + */ + @Import(name="mdmManufacturer") + private @Nullable Output mdmManufacturer; + + /** + * @return Mdm Manufacturer + * + */ + public Optional> mdmManufacturer() { + return Optional.ofNullable(this.mdmManufacturer); + } + + /** + * Mdm Model + * + */ + @Import(name="mdmModel") + private @Nullable Output mdmModel; + + /** + * @return Mdm Model + * + */ + public Optional> mdmModel() { + return Optional.ofNullable(this.mdmModel); + } + + /** + * Mdm OS + * + */ + @Import(name="mdmOs") + private @Nullable Output mdmOs; + + /** + * @return Mdm OS + * + */ + public Optional> mdmOs() { + return Optional.ofNullable(this.mdmOs); + } + + /** + * Mdm PhoneNumber + * + */ + @Import(name="mdmPhoneNumber") + private @Nullable Output mdmPhoneNumber; + + /** + * @return Mdm PhoneNumber + * + */ + public Optional> mdmPhoneNumber() { + return Optional.ofNullable(this.mdmPhoneNumber); + } + + /** + * Mdm Pinlock + * + */ + @Import(name="mdmPinlock") + private @Nullable Output mdmPinlock; + + /** + * @return Mdm Pinlock + * + */ + public Optional> mdmPinlock() { + return Optional.ofNullable(this.mdmPinlock); + } + + /** + * Mdm Reachable + * + */ + @Import(name="mdmReachable") + private @Nullable Output mdmReachable; + + /** + * @return Mdm Reachable + * + */ + public Optional> mdmReachable() { + return Optional.ofNullable(this.mdmReachable); + } + + /** + * Mdm Serial + * + */ + @Import(name="mdmSerial") + private @Nullable Output mdmSerial; + + /** + * @return Mdm Serial + * + */ + public Optional> mdmSerial() { + return Optional.ofNullable(this.mdmSerial); + } + + /** + * Mdm Server Name + * + */ + @Import(name="mdmServerName") + private @Nullable Output mdmServerName; + + /** + * @return Mdm Server Name + * + */ + public Optional> mdmServerName() { + return Optional.ofNullable(this.mdmServerName); + } + + /** + * The name of the endpoint + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the endpoint + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Portal User + * + */ + @Import(name="portalUser") + private @Nullable Output portalUser; + + /** + * @return Portal User + * + */ + public Optional> portalUser() { + return Optional.ofNullable(this.portalUser); + } + + /** + * Profile ID + * + */ + @Import(name="profileId") + private @Nullable Output profileId; + + /** + * @return Profile ID + * + */ + public Optional> profileId() { + return Optional.ofNullable(this.profileId); + } + + /** + * Static Group Assignment + * + */ + @Import(name="staticGroupAssignment") + private @Nullable Output staticGroupAssignment; + + /** + * @return Static Group Assignment + * + */ + public Optional> staticGroupAssignment() { + return Optional.ofNullable(this.staticGroupAssignment); + } + + /** + * staticGroupAssignmentDefined - Default value: `true` + * + */ + @Import(name="staticGroupAssignmentDefined") + private @Nullable Output staticGroupAssignmentDefined; + + /** + * @return staticGroupAssignmentDefined - Default value: `true` + * + */ + public Optional> staticGroupAssignmentDefined() { + return Optional.ofNullable(this.staticGroupAssignmentDefined); + } + + /** + * Static Profile Assignment + * + */ + @Import(name="staticProfileAssignment") + private @Nullable Output staticProfileAssignment; + + /** + * @return Static Profile Assignment + * + */ + public Optional> staticProfileAssignment() { + return Optional.ofNullable(this.staticProfileAssignment); + } + + /** + * Static Profile Assignment Defined - Default value: `true` + * + */ + @Import(name="staticProfileAssignmentDefined") + private @Nullable Output staticProfileAssignmentDefined; + + /** + * @return Static Profile Assignment Defined - Default value: `true` + * + */ + public Optional> staticProfileAssignmentDefined() { + return Optional.ofNullable(this.staticProfileAssignmentDefined); + } + + private EndpointState() {} + + private EndpointState(EndpointState $) { + this.customAttributes = $.customAttributes; + this.description = $.description; + this.groupId = $.groupId; + this.identityStore = $.identityStore; + this.identityStoreId = $.identityStoreId; + this.mac = $.mac; + this.mdmComplianceStatus = $.mdmComplianceStatus; + this.mdmEncrypted = $.mdmEncrypted; + this.mdmEnrolled = $.mdmEnrolled; + this.mdmImei = $.mdmImei; + this.mdmJailBroken = $.mdmJailBroken; + this.mdmManufacturer = $.mdmManufacturer; + this.mdmModel = $.mdmModel; + this.mdmOs = $.mdmOs; + this.mdmPhoneNumber = $.mdmPhoneNumber; + this.mdmPinlock = $.mdmPinlock; + this.mdmReachable = $.mdmReachable; + this.mdmSerial = $.mdmSerial; + this.mdmServerName = $.mdmServerName; + this.name = $.name; + this.portalUser = $.portalUser; + this.profileId = $.profileId; + this.staticGroupAssignment = $.staticGroupAssignment; + this.staticGroupAssignmentDefined = $.staticGroupAssignmentDefined; + this.staticProfileAssignment = $.staticProfileAssignment; + this.staticProfileAssignmentDefined = $.staticProfileAssignmentDefined; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(EndpointState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private EndpointState $; + + public Builder() { + $ = new EndpointState(); + } + + public Builder(EndpointState defaults) { + $ = new EndpointState(Objects.requireNonNull(defaults)); + } + + /** + * @param customAttributes Custom Attributes + * + * @return builder + * + */ + public Builder customAttributes(@Nullable Output> customAttributes) { + $.customAttributes = customAttributes; + return this; + } + + /** + * @param customAttributes Custom Attributes + * + * @return builder + * + */ + public Builder customAttributes(Map customAttributes) { + return customAttributes(Output.of(customAttributes)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param groupId Identity Group ID + * + * @return builder + * + */ + public Builder groupId(@Nullable Output groupId) { + $.groupId = groupId; + return this; + } + + /** + * @param groupId Identity Group ID + * + * @return builder + * + */ + public Builder groupId(String groupId) { + return groupId(Output.of(groupId)); + } + + /** + * @param identityStore Identity Store + * + * @return builder + * + */ + public Builder identityStore(@Nullable Output identityStore) { + $.identityStore = identityStore; + return this; + } + + /** + * @param identityStore Identity Store + * + * @return builder + * + */ + public Builder identityStore(String identityStore) { + return identityStore(Output.of(identityStore)); + } + + /** + * @param identityStoreId Identity Store Id + * + * @return builder + * + */ + public Builder identityStoreId(@Nullable Output identityStoreId) { + $.identityStoreId = identityStoreId; + return this; + } + + /** + * @param identityStoreId Identity Store Id + * + * @return builder + * + */ + public Builder identityStoreId(String identityStoreId) { + return identityStoreId(Output.of(identityStoreId)); + } + + /** + * @param mac MAC address of the endpoint + * + * @return builder + * + */ + public Builder mac(@Nullable Output mac) { + $.mac = mac; + return this; + } + + /** + * @param mac MAC address of the endpoint + * + * @return builder + * + */ + public Builder mac(String mac) { + return mac(Output.of(mac)); + } + + /** + * @param mdmComplianceStatus Mdm Compliance Status + * + * @return builder + * + */ + public Builder mdmComplianceStatus(@Nullable Output mdmComplianceStatus) { + $.mdmComplianceStatus = mdmComplianceStatus; + return this; + } + + /** + * @param mdmComplianceStatus Mdm Compliance Status + * + * @return builder + * + */ + public Builder mdmComplianceStatus(Boolean mdmComplianceStatus) { + return mdmComplianceStatus(Output.of(mdmComplianceStatus)); + } + + /** + * @param mdmEncrypted Mdm Encrypted + * + * @return builder + * + */ + public Builder mdmEncrypted(@Nullable Output mdmEncrypted) { + $.mdmEncrypted = mdmEncrypted; + return this; + } + + /** + * @param mdmEncrypted Mdm Encrypted + * + * @return builder + * + */ + public Builder mdmEncrypted(Boolean mdmEncrypted) { + return mdmEncrypted(Output.of(mdmEncrypted)); + } + + /** + * @param mdmEnrolled Mdm Enrolled + * + * @return builder + * + */ + public Builder mdmEnrolled(@Nullable Output mdmEnrolled) { + $.mdmEnrolled = mdmEnrolled; + return this; + } + + /** + * @param mdmEnrolled Mdm Enrolled + * + * @return builder + * + */ + public Builder mdmEnrolled(Boolean mdmEnrolled) { + return mdmEnrolled(Output.of(mdmEnrolled)); + } + + /** + * @param mdmImei Mdm IMEI + * + * @return builder + * + */ + public Builder mdmImei(@Nullable Output mdmImei) { + $.mdmImei = mdmImei; + return this; + } + + /** + * @param mdmImei Mdm IMEI + * + * @return builder + * + */ + public Builder mdmImei(String mdmImei) { + return mdmImei(Output.of(mdmImei)); + } + + /** + * @param mdmJailBroken Mdm JailBroken + * + * @return builder + * + */ + public Builder mdmJailBroken(@Nullable Output mdmJailBroken) { + $.mdmJailBroken = mdmJailBroken; + return this; + } + + /** + * @param mdmJailBroken Mdm JailBroken + * + * @return builder + * + */ + public Builder mdmJailBroken(Boolean mdmJailBroken) { + return mdmJailBroken(Output.of(mdmJailBroken)); + } + + /** + * @param mdmManufacturer Mdm Manufacturer + * + * @return builder + * + */ + public Builder mdmManufacturer(@Nullable Output mdmManufacturer) { + $.mdmManufacturer = mdmManufacturer; + return this; + } + + /** + * @param mdmManufacturer Mdm Manufacturer + * + * @return builder + * + */ + public Builder mdmManufacturer(String mdmManufacturer) { + return mdmManufacturer(Output.of(mdmManufacturer)); + } + + /** + * @param mdmModel Mdm Model + * + * @return builder + * + */ + public Builder mdmModel(@Nullable Output mdmModel) { + $.mdmModel = mdmModel; + return this; + } + + /** + * @param mdmModel Mdm Model + * + * @return builder + * + */ + public Builder mdmModel(String mdmModel) { + return mdmModel(Output.of(mdmModel)); + } + + /** + * @param mdmOs Mdm OS + * + * @return builder + * + */ + public Builder mdmOs(@Nullable Output mdmOs) { + $.mdmOs = mdmOs; + return this; + } + + /** + * @param mdmOs Mdm OS + * + * @return builder + * + */ + public Builder mdmOs(String mdmOs) { + return mdmOs(Output.of(mdmOs)); + } + + /** + * @param mdmPhoneNumber Mdm PhoneNumber + * + * @return builder + * + */ + public Builder mdmPhoneNumber(@Nullable Output mdmPhoneNumber) { + $.mdmPhoneNumber = mdmPhoneNumber; + return this; + } + + /** + * @param mdmPhoneNumber Mdm PhoneNumber + * + * @return builder + * + */ + public Builder mdmPhoneNumber(String mdmPhoneNumber) { + return mdmPhoneNumber(Output.of(mdmPhoneNumber)); + } + + /** + * @param mdmPinlock Mdm Pinlock + * + * @return builder + * + */ + public Builder mdmPinlock(@Nullable Output mdmPinlock) { + $.mdmPinlock = mdmPinlock; + return this; + } + + /** + * @param mdmPinlock Mdm Pinlock + * + * @return builder + * + */ + public Builder mdmPinlock(Boolean mdmPinlock) { + return mdmPinlock(Output.of(mdmPinlock)); + } + + /** + * @param mdmReachable Mdm Reachable + * + * @return builder + * + */ + public Builder mdmReachable(@Nullable Output mdmReachable) { + $.mdmReachable = mdmReachable; + return this; + } + + /** + * @param mdmReachable Mdm Reachable + * + * @return builder + * + */ + public Builder mdmReachable(Boolean mdmReachable) { + return mdmReachable(Output.of(mdmReachable)); + } + + /** + * @param mdmSerial Mdm Serial + * + * @return builder + * + */ + public Builder mdmSerial(@Nullable Output mdmSerial) { + $.mdmSerial = mdmSerial; + return this; + } + + /** + * @param mdmSerial Mdm Serial + * + * @return builder + * + */ + public Builder mdmSerial(String mdmSerial) { + return mdmSerial(Output.of(mdmSerial)); + } + + /** + * @param mdmServerName Mdm Server Name + * + * @return builder + * + */ + public Builder mdmServerName(@Nullable Output mdmServerName) { + $.mdmServerName = mdmServerName; + return this; + } + + /** + * @param mdmServerName Mdm Server Name + * + * @return builder + * + */ + public Builder mdmServerName(String mdmServerName) { + return mdmServerName(Output.of(mdmServerName)); + } + + /** + * @param name The name of the endpoint + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the endpoint + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param portalUser Portal User + * + * @return builder + * + */ + public Builder portalUser(@Nullable Output portalUser) { + $.portalUser = portalUser; + return this; + } + + /** + * @param portalUser Portal User + * + * @return builder + * + */ + public Builder portalUser(String portalUser) { + return portalUser(Output.of(portalUser)); + } + + /** + * @param profileId Profile ID + * + * @return builder + * + */ + public Builder profileId(@Nullable Output profileId) { + $.profileId = profileId; + return this; + } + + /** + * @param profileId Profile ID + * + * @return builder + * + */ + public Builder profileId(String profileId) { + return profileId(Output.of(profileId)); + } + + /** + * @param staticGroupAssignment Static Group Assignment + * + * @return builder + * + */ + public Builder staticGroupAssignment(@Nullable Output staticGroupAssignment) { + $.staticGroupAssignment = staticGroupAssignment; + return this; + } + + /** + * @param staticGroupAssignment Static Group Assignment + * + * @return builder + * + */ + public Builder staticGroupAssignment(Boolean staticGroupAssignment) { + return staticGroupAssignment(Output.of(staticGroupAssignment)); + } + + /** + * @param staticGroupAssignmentDefined staticGroupAssignmentDefined - Default value: `true` + * + * @return builder + * + */ + public Builder staticGroupAssignmentDefined(@Nullable Output staticGroupAssignmentDefined) { + $.staticGroupAssignmentDefined = staticGroupAssignmentDefined; + return this; + } + + /** + * @param staticGroupAssignmentDefined staticGroupAssignmentDefined - Default value: `true` + * + * @return builder + * + */ + public Builder staticGroupAssignmentDefined(Boolean staticGroupAssignmentDefined) { + return staticGroupAssignmentDefined(Output.of(staticGroupAssignmentDefined)); + } + + /** + * @param staticProfileAssignment Static Profile Assignment + * + * @return builder + * + */ + public Builder staticProfileAssignment(@Nullable Output staticProfileAssignment) { + $.staticProfileAssignment = staticProfileAssignment; + return this; + } + + /** + * @param staticProfileAssignment Static Profile Assignment + * + * @return builder + * + */ + public Builder staticProfileAssignment(Boolean staticProfileAssignment) { + return staticProfileAssignment(Output.of(staticProfileAssignment)); + } + + /** + * @param staticProfileAssignmentDefined Static Profile Assignment Defined - Default value: `true` + * + * @return builder + * + */ + public Builder staticProfileAssignmentDefined(@Nullable Output staticProfileAssignmentDefined) { + $.staticProfileAssignmentDefined = staticProfileAssignmentDefined; + return this; + } + + /** + * @param staticProfileAssignmentDefined Static Profile Assignment Defined - Default value: `true` + * + * @return builder + * + */ + public Builder staticProfileAssignmentDefined(Boolean staticProfileAssignmentDefined) { + return staticProfileAssignmentDefined(Output.of(staticProfileAssignmentDefined)); + } + + public EndpointState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetActiveDirectoryGroupsByDomainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetActiveDirectoryGroupsByDomainArgs.java new file mode 100644 index 0000000..ea50730 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetActiveDirectoryGroupsByDomainArgs.java @@ -0,0 +1,238 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetActiveDirectoryGroupsByDomainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetActiveDirectoryGroupsByDomainArgs Empty = new GetActiveDirectoryGroupsByDomainArgs(); + + /** + * The domain whose groups we want to fetch + * + */ + @Import(name="domain", required=true) + private Output domain; + + /** + * @return The domain whose groups we want to fetch + * + */ + public Output domain() { + return this.domain; + } + + /** + * Exact match filter on group's CN + * + */ + @Import(name="filter") + private @Nullable Output filter; + + /** + * @return Exact match filter on group's CN + * + */ + public Optional> filter() { + return Optional.ofNullable(this.filter); + } + + /** + * Active Directory Join Point ID + * + */ + @Import(name="joinPointId", required=true) + private Output joinPointId; + + /** + * @return Active Directory Join Point ID + * + */ + public Output joinPointId() { + return this.joinPointId; + } + + /** + * Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal. + * + */ + @Import(name="sidFilter") + private @Nullable Output sidFilter; + + /** + * @return Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal. + * + */ + public Optional> sidFilter() { + return Optional.ofNullable(this.sidFilter); + } + + /** + * Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL. + * + */ + @Import(name="typeFilter") + private @Nullable Output typeFilter; + + /** + * @return Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL. + * + */ + public Optional> typeFilter() { + return Optional.ofNullable(this.typeFilter); + } + + private GetActiveDirectoryGroupsByDomainArgs() {} + + private GetActiveDirectoryGroupsByDomainArgs(GetActiveDirectoryGroupsByDomainArgs $) { + this.domain = $.domain; + this.filter = $.filter; + this.joinPointId = $.joinPointId; + this.sidFilter = $.sidFilter; + this.typeFilter = $.typeFilter; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetActiveDirectoryGroupsByDomainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetActiveDirectoryGroupsByDomainArgs $; + + public Builder() { + $ = new GetActiveDirectoryGroupsByDomainArgs(); + } + + public Builder(GetActiveDirectoryGroupsByDomainArgs defaults) { + $ = new GetActiveDirectoryGroupsByDomainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param domain The domain whose groups we want to fetch + * + * @return builder + * + */ + public Builder domain(Output domain) { + $.domain = domain; + return this; + } + + /** + * @param domain The domain whose groups we want to fetch + * + * @return builder + * + */ + public Builder domain(String domain) { + return domain(Output.of(domain)); + } + + /** + * @param filter Exact match filter on group's CN + * + * @return builder + * + */ + public Builder filter(@Nullable Output filter) { + $.filter = filter; + return this; + } + + /** + * @param filter Exact match filter on group's CN + * + * @return builder + * + */ + public Builder filter(String filter) { + return filter(Output.of(filter)); + } + + /** + * @param joinPointId Active Directory Join Point ID + * + * @return builder + * + */ + public Builder joinPointId(Output joinPointId) { + $.joinPointId = joinPointId; + return this; + } + + /** + * @param joinPointId Active Directory Join Point ID + * + * @return builder + * + */ + public Builder joinPointId(String joinPointId) { + return joinPointId(Output.of(joinPointId)); + } + + /** + * @param sidFilter Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal. + * + * @return builder + * + */ + public Builder sidFilter(@Nullable Output sidFilter) { + $.sidFilter = sidFilter; + return this; + } + + /** + * @param sidFilter Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal. + * + * @return builder + * + */ + public Builder sidFilter(String sidFilter) { + return sidFilter(Output.of(sidFilter)); + } + + /** + * @param typeFilter Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL. + * + * @return builder + * + */ + public Builder typeFilter(@Nullable Output typeFilter) { + $.typeFilter = typeFilter; + return this; + } + + /** + * @param typeFilter Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL. + * + * @return builder + * + */ + public Builder typeFilter(String typeFilter) { + return typeFilter(Output.of(typeFilter)); + } + + public GetActiveDirectoryGroupsByDomainArgs build() { + if ($.domain == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryGroupsByDomainArgs", "domain"); + } + if ($.joinPointId == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryGroupsByDomainArgs", "joinPointId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetActiveDirectoryGroupsByDomainPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetActiveDirectoryGroupsByDomainPlainArgs.java new file mode 100644 index 0000000..5a3a7af --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetActiveDirectoryGroupsByDomainPlainArgs.java @@ -0,0 +1,187 @@ +// *** 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.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetActiveDirectoryGroupsByDomainPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetActiveDirectoryGroupsByDomainPlainArgs Empty = new GetActiveDirectoryGroupsByDomainPlainArgs(); + + /** + * The domain whose groups we want to fetch + * + */ + @Import(name="domain", required=true) + private String domain; + + /** + * @return The domain whose groups we want to fetch + * + */ + public String domain() { + return this.domain; + } + + /** + * Exact match filter on group's CN + * + */ + @Import(name="filter") + private @Nullable String filter; + + /** + * @return Exact match filter on group's CN + * + */ + public Optional filter() { + return Optional.ofNullable(this.filter); + } + + /** + * Active Directory Join Point ID + * + */ + @Import(name="joinPointId", required=true) + private String joinPointId; + + /** + * @return Active Directory Join Point ID + * + */ + public String joinPointId() { + return this.joinPointId; + } + + /** + * Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal. + * + */ + @Import(name="sidFilter") + private @Nullable String sidFilter; + + /** + * @return Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal. + * + */ + public Optional sidFilter() { + return Optional.ofNullable(this.sidFilter); + } + + /** + * Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL. + * + */ + @Import(name="typeFilter") + private @Nullable String typeFilter; + + /** + * @return Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL. + * + */ + public Optional typeFilter() { + return Optional.ofNullable(this.typeFilter); + } + + private GetActiveDirectoryGroupsByDomainPlainArgs() {} + + private GetActiveDirectoryGroupsByDomainPlainArgs(GetActiveDirectoryGroupsByDomainPlainArgs $) { + this.domain = $.domain; + this.filter = $.filter; + this.joinPointId = $.joinPointId; + this.sidFilter = $.sidFilter; + this.typeFilter = $.typeFilter; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetActiveDirectoryGroupsByDomainPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetActiveDirectoryGroupsByDomainPlainArgs $; + + public Builder() { + $ = new GetActiveDirectoryGroupsByDomainPlainArgs(); + } + + public Builder(GetActiveDirectoryGroupsByDomainPlainArgs defaults) { + $ = new GetActiveDirectoryGroupsByDomainPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param domain The domain whose groups we want to fetch + * + * @return builder + * + */ + public Builder domain(String domain) { + $.domain = domain; + return this; + } + + /** + * @param filter Exact match filter on group's CN + * + * @return builder + * + */ + public Builder filter(@Nullable String filter) { + $.filter = filter; + return this; + } + + /** + * @param joinPointId Active Directory Join Point ID + * + * @return builder + * + */ + public Builder joinPointId(String joinPointId) { + $.joinPointId = joinPointId; + return this; + } + + /** + * @param sidFilter Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal. + * + * @return builder + * + */ + public Builder sidFilter(@Nullable String sidFilter) { + $.sidFilter = sidFilter; + return this; + } + + /** + * @param typeFilter Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL. + * + * @return builder + * + */ + public Builder typeFilter(@Nullable String typeFilter) { + $.typeFilter = typeFilter; + return this; + } + + public GetActiveDirectoryGroupsByDomainPlainArgs build() { + if ($.domain == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryGroupsByDomainPlainArgs", "domain"); + } + if ($.joinPointId == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryGroupsByDomainPlainArgs", "joinPointId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetActiveDirectoryJoinPointArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetActiveDirectoryJoinPointArgs.java new file mode 100644 index 0000000..eb7f4bc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetActiveDirectoryJoinPointArgs.java @@ -0,0 +1,85 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetActiveDirectoryJoinPointArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetActiveDirectoryJoinPointArgs Empty = new GetActiveDirectoryJoinPointArgs(); + + /** + * The id of the object + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return The id of the object + * + */ + public Output id() { + return this.id; + } + + private GetActiveDirectoryJoinPointArgs() {} + + private GetActiveDirectoryJoinPointArgs(GetActiveDirectoryJoinPointArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetActiveDirectoryJoinPointArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetActiveDirectoryJoinPointArgs $; + + public Builder() { + $ = new GetActiveDirectoryJoinPointArgs(); + } + + public Builder(GetActiveDirectoryJoinPointArgs defaults) { + $ = new GetActiveDirectoryJoinPointArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + public GetActiveDirectoryJoinPointArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointArgs", "id"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetActiveDirectoryJoinPointPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetActiveDirectoryJoinPointPlainArgs.java new file mode 100644 index 0000000..ae28591 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetActiveDirectoryJoinPointPlainArgs.java @@ -0,0 +1,74 @@ +// *** 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.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetActiveDirectoryJoinPointPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetActiveDirectoryJoinPointPlainArgs Empty = new GetActiveDirectoryJoinPointPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id", required=true) + private String id; + + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + + private GetActiveDirectoryJoinPointPlainArgs() {} + + private GetActiveDirectoryJoinPointPlainArgs(GetActiveDirectoryJoinPointPlainArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetActiveDirectoryJoinPointPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetActiveDirectoryJoinPointPlainArgs $; + + public Builder() { + $ = new GetActiveDirectoryJoinPointPlainArgs(); + } + + public Builder(GetActiveDirectoryJoinPointPlainArgs defaults) { + $ = new GetActiveDirectoryJoinPointPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + $.id = id; + return this; + } + + public GetActiveDirectoryJoinPointPlainArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointPlainArgs", "id"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetCertificateAuthenticationProfileArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetCertificateAuthenticationProfileArgs.java new file mode 100644 index 0000000..b4688a7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetCertificateAuthenticationProfileArgs.java @@ -0,0 +1,120 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetCertificateAuthenticationProfileArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetCertificateAuthenticationProfileArgs Empty = new GetCertificateAuthenticationProfileArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the certificate profile + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the certificate profile + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetCertificateAuthenticationProfileArgs() {} + + private GetCertificateAuthenticationProfileArgs(GetCertificateAuthenticationProfileArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetCertificateAuthenticationProfileArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetCertificateAuthenticationProfileArgs $; + + public Builder() { + $ = new GetCertificateAuthenticationProfileArgs(); + } + + public Builder(GetCertificateAuthenticationProfileArgs defaults) { + $ = new GetCertificateAuthenticationProfileArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the certificate profile + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the certificate profile + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetCertificateAuthenticationProfileArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetCertificateAuthenticationProfilePlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetCertificateAuthenticationProfilePlainArgs.java new file mode 100644 index 0000000..c09323e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetCertificateAuthenticationProfilePlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetCertificateAuthenticationProfilePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetCertificateAuthenticationProfilePlainArgs Empty = new GetCertificateAuthenticationProfilePlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the certificate profile + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the certificate profile + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetCertificateAuthenticationProfilePlainArgs() {} + + private GetCertificateAuthenticationProfilePlainArgs(GetCertificateAuthenticationProfilePlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetCertificateAuthenticationProfilePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetCertificateAuthenticationProfilePlainArgs $; + + public Builder() { + $ = new GetCertificateAuthenticationProfilePlainArgs(); + } + + public Builder(GetCertificateAuthenticationProfilePlainArgs defaults) { + $ = new GetCertificateAuthenticationProfilePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the certificate profile + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetCertificateAuthenticationProfilePlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetEndpointArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetEndpointArgs.java new file mode 100644 index 0000000..16380d3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetEndpointArgs.java @@ -0,0 +1,120 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetEndpointArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetEndpointArgs Empty = new GetEndpointArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the endpoint + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the endpoint + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetEndpointArgs() {} + + private GetEndpointArgs(GetEndpointArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetEndpointArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetEndpointArgs $; + + public Builder() { + $ = new GetEndpointArgs(); + } + + public Builder(GetEndpointArgs defaults) { + $ = new GetEndpointArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the endpoint + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the endpoint + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetEndpointArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetEndpointIdentityGroupArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetEndpointIdentityGroupArgs.java new file mode 100644 index 0000000..01414f0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetEndpointIdentityGroupArgs.java @@ -0,0 +1,120 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetEndpointIdentityGroupArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetEndpointIdentityGroupArgs Empty = new GetEndpointIdentityGroupArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the endpoint identity group + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the endpoint identity group + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetEndpointIdentityGroupArgs() {} + + private GetEndpointIdentityGroupArgs(GetEndpointIdentityGroupArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetEndpointIdentityGroupArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetEndpointIdentityGroupArgs $; + + public Builder() { + $ = new GetEndpointIdentityGroupArgs(); + } + + public Builder(GetEndpointIdentityGroupArgs defaults) { + $ = new GetEndpointIdentityGroupArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the endpoint identity group + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the endpoint identity group + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetEndpointIdentityGroupArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetEndpointIdentityGroupPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetEndpointIdentityGroupPlainArgs.java new file mode 100644 index 0000000..b634cfc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetEndpointIdentityGroupPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetEndpointIdentityGroupPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetEndpointIdentityGroupPlainArgs Empty = new GetEndpointIdentityGroupPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the endpoint identity group + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the endpoint identity group + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetEndpointIdentityGroupPlainArgs() {} + + private GetEndpointIdentityGroupPlainArgs(GetEndpointIdentityGroupPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetEndpointIdentityGroupPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetEndpointIdentityGroupPlainArgs $; + + public Builder() { + $ = new GetEndpointIdentityGroupPlainArgs(); + } + + public Builder(GetEndpointIdentityGroupPlainArgs defaults) { + $ = new GetEndpointIdentityGroupPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the endpoint identity group + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetEndpointIdentityGroupPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetEndpointPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetEndpointPlainArgs.java new file mode 100644 index 0000000..65d075b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetEndpointPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetEndpointPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetEndpointPlainArgs Empty = new GetEndpointPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the endpoint + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the endpoint + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetEndpointPlainArgs() {} + + private GetEndpointPlainArgs(GetEndpointPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetEndpointPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetEndpointPlainArgs $; + + public Builder() { + $ = new GetEndpointPlainArgs(); + } + + public Builder(GetEndpointPlainArgs defaults) { + $ = new GetEndpointPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the endpoint + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetEndpointPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetIdentitySourceSequenceArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetIdentitySourceSequenceArgs.java new file mode 100644 index 0000000..91fe686 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetIdentitySourceSequenceArgs.java @@ -0,0 +1,120 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetIdentitySourceSequenceArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIdentitySourceSequenceArgs Empty = new GetIdentitySourceSequenceArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the identity source sequence + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the identity source sequence + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetIdentitySourceSequenceArgs() {} + + private GetIdentitySourceSequenceArgs(GetIdentitySourceSequenceArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIdentitySourceSequenceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIdentitySourceSequenceArgs $; + + public Builder() { + $ = new GetIdentitySourceSequenceArgs(); + } + + public Builder(GetIdentitySourceSequenceArgs defaults) { + $ = new GetIdentitySourceSequenceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the identity source sequence + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the identity source sequence + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetIdentitySourceSequenceArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetIdentitySourceSequencePlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetIdentitySourceSequencePlainArgs.java new file mode 100644 index 0000000..4679c54 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetIdentitySourceSequencePlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetIdentitySourceSequencePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIdentitySourceSequencePlainArgs Empty = new GetIdentitySourceSequencePlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the identity source sequence + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the identity source sequence + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetIdentitySourceSequencePlainArgs() {} + + private GetIdentitySourceSequencePlainArgs(GetIdentitySourceSequencePlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIdentitySourceSequencePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIdentitySourceSequencePlainArgs $; + + public Builder() { + $ = new GetIdentitySourceSequencePlainArgs(); + } + + public Builder(GetIdentitySourceSequencePlainArgs defaults) { + $ = new GetIdentitySourceSequencePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the identity source sequence + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetIdentitySourceSequencePlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetInternalUserArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetInternalUserArgs.java new file mode 100644 index 0000000..a069cee --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetInternalUserArgs.java @@ -0,0 +1,120 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetInternalUserArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetInternalUserArgs Empty = new GetInternalUserArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the internal user + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the internal user + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetInternalUserArgs() {} + + private GetInternalUserArgs(GetInternalUserArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetInternalUserArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetInternalUserArgs $; + + public Builder() { + $ = new GetInternalUserArgs(); + } + + public Builder(GetInternalUserArgs defaults) { + $ = new GetInternalUserArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the internal user + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the internal user + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetInternalUserArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetInternalUserPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetInternalUserPlainArgs.java new file mode 100644 index 0000000..6905805 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetInternalUserPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetInternalUserPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetInternalUserPlainArgs Empty = new GetInternalUserPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the internal user + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the internal user + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetInternalUserPlainArgs() {} + + private GetInternalUserPlainArgs(GetInternalUserPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetInternalUserPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetInternalUserPlainArgs $; + + public Builder() { + $ = new GetInternalUserPlainArgs(); + } + + public Builder(GetInternalUserPlainArgs defaults) { + $ = new GetInternalUserPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the internal user + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetInternalUserPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetUserIdentityGroupArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetUserIdentityGroupArgs.java new file mode 100644 index 0000000..c41860c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetUserIdentityGroupArgs.java @@ -0,0 +1,120 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetUserIdentityGroupArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetUserIdentityGroupArgs Empty = new GetUserIdentityGroupArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the user identity group + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the user identity group + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetUserIdentityGroupArgs() {} + + private GetUserIdentityGroupArgs(GetUserIdentityGroupArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetUserIdentityGroupArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetUserIdentityGroupArgs $; + + public Builder() { + $ = new GetUserIdentityGroupArgs(); + } + + public Builder(GetUserIdentityGroupArgs defaults) { + $ = new GetUserIdentityGroupArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the user identity group + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the user identity group + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetUserIdentityGroupArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetUserIdentityGroupPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetUserIdentityGroupPlainArgs.java new file mode 100644 index 0000000..7d46130 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/GetUserIdentityGroupPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetUserIdentityGroupPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetUserIdentityGroupPlainArgs Empty = new GetUserIdentityGroupPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the user identity group + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the user identity group + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetUserIdentityGroupPlainArgs() {} + + private GetUserIdentityGroupPlainArgs(GetUserIdentityGroupPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetUserIdentityGroupPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetUserIdentityGroupPlainArgs $; + + public Builder() { + $ = new GetUserIdentityGroupPlainArgs(); + } + + public Builder(GetUserIdentityGroupPlainArgs defaults) { + $ = new GetUserIdentityGroupPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the user identity group + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetUserIdentityGroupPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/IdentitySourceSequenceIdentitySourceArgs.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/IdentitySourceSequenceIdentitySourceArgs.java new file mode 100644 index 0000000..959c3c0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/IdentitySourceSequenceIdentitySourceArgs.java @@ -0,0 +1,126 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + + +public final class IdentitySourceSequenceIdentitySourceArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceSequenceIdentitySourceArgs Empty = new IdentitySourceSequenceIdentitySourceArgs(); + + /** + * Name of the identity source + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Name of the identity source + * + */ + public Output name() { + return this.name; + } + + /** + * Order of the identity source in the sequence + * + */ + @Import(name="order", required=true) + private Output order; + + /** + * @return Order of the identity source in the sequence + * + */ + public Output order() { + return this.order; + } + + private IdentitySourceSequenceIdentitySourceArgs() {} + + private IdentitySourceSequenceIdentitySourceArgs(IdentitySourceSequenceIdentitySourceArgs $) { + this.name = $.name; + this.order = $.order; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceSequenceIdentitySourceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceSequenceIdentitySourceArgs $; + + public Builder() { + $ = new IdentitySourceSequenceIdentitySourceArgs(); + } + + public Builder(IdentitySourceSequenceIdentitySourceArgs defaults) { + $ = new IdentitySourceSequenceIdentitySourceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name Name of the identity source + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Name of the identity source + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param order Order of the identity source in the sequence + * + * @return builder + * + */ + public Builder order(Output order) { + $.order = order; + return this; + } + + /** + * @param order Order of the identity source in the sequence + * + * @return builder + * + */ + public Builder order(Integer order) { + return order(Output.of(order)); + } + + public IdentitySourceSequenceIdentitySourceArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("IdentitySourceSequenceIdentitySourceArgs", "name"); + } + if ($.order == null) { + throw new MissingRequiredPropertyException("IdentitySourceSequenceIdentitySourceArgs", "order"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/IdentitySourceSequenceState.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/IdentitySourceSequenceState.java new file mode 100644 index 0000000..f95edf9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/IdentitySourceSequenceState.java @@ -0,0 +1,218 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.identitymanagement.inputs.IdentitySourceSequenceIdentitySourceArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceSequenceState extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceSequenceState Empty = new IdentitySourceSequenceState(); + + /** + * Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication + * + */ + @Import(name="breakOnStoreFail") + private @Nullable Output breakOnStoreFail; + + /** + * @return Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication + * + */ + public Optional> breakOnStoreFail() { + return Optional.ofNullable(this.breakOnStoreFail); + } + + /** + * Certificate Authentication Profile, empty if doesn't exist + * + */ + @Import(name="certificateAuthenticationProfile") + private @Nullable Output certificateAuthenticationProfile; + + /** + * @return Certificate Authentication Profile, empty if doesn't exist + * + */ + public Optional> certificateAuthenticationProfile() { + return Optional.ofNullable(this.certificateAuthenticationProfile); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + @Import(name="identitySources") + private @Nullable Output> identitySources; + + public Optional>> identitySources() { + return Optional.ofNullable(this.identitySources); + } + + /** + * The name of the identity source sequence + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the identity source sequence + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private IdentitySourceSequenceState() {} + + private IdentitySourceSequenceState(IdentitySourceSequenceState $) { + this.breakOnStoreFail = $.breakOnStoreFail; + this.certificateAuthenticationProfile = $.certificateAuthenticationProfile; + this.description = $.description; + this.identitySources = $.identitySources; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceSequenceState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceSequenceState $; + + public Builder() { + $ = new IdentitySourceSequenceState(); + } + + public Builder(IdentitySourceSequenceState defaults) { + $ = new IdentitySourceSequenceState(Objects.requireNonNull(defaults)); + } + + /** + * @param breakOnStoreFail Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication + * + * @return builder + * + */ + public Builder breakOnStoreFail(@Nullable Output breakOnStoreFail) { + $.breakOnStoreFail = breakOnStoreFail; + return this; + } + + /** + * @param breakOnStoreFail Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication + * + * @return builder + * + */ + public Builder breakOnStoreFail(Boolean breakOnStoreFail) { + return breakOnStoreFail(Output.of(breakOnStoreFail)); + } + + /** + * @param certificateAuthenticationProfile Certificate Authentication Profile, empty if doesn't exist + * + * @return builder + * + */ + public Builder certificateAuthenticationProfile(@Nullable Output certificateAuthenticationProfile) { + $.certificateAuthenticationProfile = certificateAuthenticationProfile; + return this; + } + + /** + * @param certificateAuthenticationProfile Certificate Authentication Profile, empty if doesn't exist + * + * @return builder + * + */ + public Builder certificateAuthenticationProfile(String certificateAuthenticationProfile) { + return certificateAuthenticationProfile(Output.of(certificateAuthenticationProfile)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + public Builder identitySources(@Nullable Output> identitySources) { + $.identitySources = identitySources; + return this; + } + + public Builder identitySources(List identitySources) { + return identitySources(Output.of(identitySources)); + } + + public Builder identitySources(IdentitySourceSequenceIdentitySourceArgs... identitySources) { + return identitySources(List.of(identitySources)); + } + + /** + * @param name The name of the identity source sequence + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the identity source sequence + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public IdentitySourceSequenceState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/InternalUserState.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/InternalUserState.java new file mode 100644 index 0000000..cb8e17e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/InternalUserState.java @@ -0,0 +1,573 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class InternalUserState extends com.pulumi.resources.ResourceArgs { + + public static final InternalUserState Empty = new InternalUserState(); + + /** + * The Account Name Alias will be used to send email notifications about password expiration. This field is only supported + * from ISE 3.2. + * + */ + @Import(name="accountNameAlias") + private @Nullable Output accountNameAlias; + + /** + * @return The Account Name Alias will be used to send email notifications about password expiration. This field is only supported + * from ISE 3.2. + * + */ + public Optional> accountNameAlias() { + return Optional.ofNullable(this.accountNameAlias); + } + + /** + * Requires the user to change the password - Default value: `true` + * + */ + @Import(name="changePassword") + private @Nullable Output changePassword; + + /** + * @return Requires the user to change the password - Default value: `true` + * + */ + public Optional> changePassword() { + return Optional.ofNullable(this.changePassword); + } + + /** + * Key value map + * + */ + @Import(name="customAttributes") + private @Nullable Output customAttributes; + + /** + * @return Key value map + * + */ + public Optional> customAttributes() { + return Optional.ofNullable(this.customAttributes); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Email address + * + */ + @Import(name="email") + private @Nullable Output email; + + /** + * @return Email address + * + */ + public Optional> email() { + return Optional.ofNullable(this.email); + } + + /** + * This field is added in ISE 2.0 to support TACACS+ + * + */ + @Import(name="enablePassword") + private @Nullable Output enablePassword; + + /** + * @return This field is added in ISE 2.0 to support TACACS+ + * + */ + public Optional> enablePassword() { + return Optional.ofNullable(this.enablePassword); + } + + /** + * Whether the user is enabled/disabled + * + */ + @Import(name="enabled") + private @Nullable Output enabled; + + /** + * @return Whether the user is enabled/disabled + * + */ + public Optional> enabled() { + return Optional.ofNullable(this.enabled); + } + + /** + * First name of the internal user + * + */ + @Import(name="firstName") + private @Nullable Output firstName; + + /** + * @return First name of the internal user + * + */ + public Optional> firstName() { + return Optional.ofNullable(this.firstName); + } + + /** + * Comma separated list of identity group IDs. + * + */ + @Import(name="identityGroups") + private @Nullable Output identityGroups; + + /** + * @return Comma separated list of identity group IDs. + * + */ + public Optional> identityGroups() { + return Optional.ofNullable(this.identityGroups); + } + + /** + * Last name of the internal user + * + */ + @Import(name="lastName") + private @Nullable Output lastName; + + /** + * @return Last name of the internal user + * + */ + public Optional> lastName() { + return Optional.ofNullable(this.lastName); + } + + /** + * The name of the internal user + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the internal user + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The password of the internal user + * + */ + @Import(name="password") + private @Nullable Output password; + + /** + * @return The password of the internal user + * + */ + public Optional> password() { + return Optional.ofNullable(this.password); + } + + /** + * The ID store where the internal user's password is kept - Default value: `Internal Users` + * + */ + @Import(name="passwordIdStore") + private @Nullable Output passwordIdStore; + + /** + * @return The ID store where the internal user's password is kept - Default value: `Internal Users` + * + */ + public Optional> passwordIdStore() { + return Optional.ofNullable(this.passwordIdStore); + } + + /** + * Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This + * field is only supported from ISE 3.2. - Default value: `false` + * + */ + @Import(name="passwordNeverExpires") + private @Nullable Output passwordNeverExpires; + + /** + * @return Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This + * field is only supported from ISE 3.2. - Default value: `false` + * + */ + public Optional> passwordNeverExpires() { + return Optional.ofNullable(this.passwordNeverExpires); + } + + private InternalUserState() {} + + private InternalUserState(InternalUserState $) { + this.accountNameAlias = $.accountNameAlias; + this.changePassword = $.changePassword; + this.customAttributes = $.customAttributes; + this.description = $.description; + this.email = $.email; + this.enablePassword = $.enablePassword; + this.enabled = $.enabled; + this.firstName = $.firstName; + this.identityGroups = $.identityGroups; + this.lastName = $.lastName; + this.name = $.name; + this.password = $.password; + this.passwordIdStore = $.passwordIdStore; + this.passwordNeverExpires = $.passwordNeverExpires; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(InternalUserState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private InternalUserState $; + + public Builder() { + $ = new InternalUserState(); + } + + public Builder(InternalUserState defaults) { + $ = new InternalUserState(Objects.requireNonNull(defaults)); + } + + /** + * @param accountNameAlias The Account Name Alias will be used to send email notifications about password expiration. This field is only supported + * from ISE 3.2. + * + * @return builder + * + */ + public Builder accountNameAlias(@Nullable Output accountNameAlias) { + $.accountNameAlias = accountNameAlias; + return this; + } + + /** + * @param accountNameAlias The Account Name Alias will be used to send email notifications about password expiration. This field is only supported + * from ISE 3.2. + * + * @return builder + * + */ + public Builder accountNameAlias(String accountNameAlias) { + return accountNameAlias(Output.of(accountNameAlias)); + } + + /** + * @param changePassword Requires the user to change the password - Default value: `true` + * + * @return builder + * + */ + public Builder changePassword(@Nullable Output changePassword) { + $.changePassword = changePassword; + return this; + } + + /** + * @param changePassword Requires the user to change the password - Default value: `true` + * + * @return builder + * + */ + public Builder changePassword(Boolean changePassword) { + return changePassword(Output.of(changePassword)); + } + + /** + * @param customAttributes Key value map + * + * @return builder + * + */ + public Builder customAttributes(@Nullable Output customAttributes) { + $.customAttributes = customAttributes; + return this; + } + + /** + * @param customAttributes Key value map + * + * @return builder + * + */ + public Builder customAttributes(String customAttributes) { + return customAttributes(Output.of(customAttributes)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param email Email address + * + * @return builder + * + */ + public Builder email(@Nullable Output email) { + $.email = email; + return this; + } + + /** + * @param email Email address + * + * @return builder + * + */ + public Builder email(String email) { + return email(Output.of(email)); + } + + /** + * @param enablePassword This field is added in ISE 2.0 to support TACACS+ + * + * @return builder + * + */ + public Builder enablePassword(@Nullable Output enablePassword) { + $.enablePassword = enablePassword; + return this; + } + + /** + * @param enablePassword This field is added in ISE 2.0 to support TACACS+ + * + * @return builder + * + */ + public Builder enablePassword(String enablePassword) { + return enablePassword(Output.of(enablePassword)); + } + + /** + * @param enabled Whether the user is enabled/disabled + * + * @return builder + * + */ + public Builder enabled(@Nullable Output enabled) { + $.enabled = enabled; + return this; + } + + /** + * @param enabled Whether the user is enabled/disabled + * + * @return builder + * + */ + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + /** + * @param firstName First name of the internal user + * + * @return builder + * + */ + public Builder firstName(@Nullable Output firstName) { + $.firstName = firstName; + return this; + } + + /** + * @param firstName First name of the internal user + * + * @return builder + * + */ + public Builder firstName(String firstName) { + return firstName(Output.of(firstName)); + } + + /** + * @param identityGroups Comma separated list of identity group IDs. + * + * @return builder + * + */ + public Builder identityGroups(@Nullable Output identityGroups) { + $.identityGroups = identityGroups; + return this; + } + + /** + * @param identityGroups Comma separated list of identity group IDs. + * + * @return builder + * + */ + public Builder identityGroups(String identityGroups) { + return identityGroups(Output.of(identityGroups)); + } + + /** + * @param lastName Last name of the internal user + * + * @return builder + * + */ + public Builder lastName(@Nullable Output lastName) { + $.lastName = lastName; + return this; + } + + /** + * @param lastName Last name of the internal user + * + * @return builder + * + */ + public Builder lastName(String lastName) { + return lastName(Output.of(lastName)); + } + + /** + * @param name The name of the internal user + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the internal user + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param password The password of the internal user + * + * @return builder + * + */ + public Builder password(@Nullable Output password) { + $.password = password; + return this; + } + + /** + * @param password The password of the internal user + * + * @return builder + * + */ + public Builder password(String password) { + return password(Output.of(password)); + } + + /** + * @param passwordIdStore The ID store where the internal user's password is kept - Default value: `Internal Users` + * + * @return builder + * + */ + public Builder passwordIdStore(@Nullable Output passwordIdStore) { + $.passwordIdStore = passwordIdStore; + return this; + } + + /** + * @param passwordIdStore The ID store where the internal user's password is kept - Default value: `Internal Users` + * + * @return builder + * + */ + public Builder passwordIdStore(String passwordIdStore) { + return passwordIdStore(Output.of(passwordIdStore)); + } + + /** + * @param passwordNeverExpires Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This + * field is only supported from ISE 3.2. - Default value: `false` + * + * @return builder + * + */ + public Builder passwordNeverExpires(@Nullable Output passwordNeverExpires) { + $.passwordNeverExpires = passwordNeverExpires; + return this; + } + + /** + * @param passwordNeverExpires Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This + * field is only supported from ISE 3.2. - Default value: `false` + * + * @return builder + * + */ + public Builder passwordNeverExpires(Boolean passwordNeverExpires) { + return passwordNeverExpires(Output.of(passwordNeverExpires)); + } + + public InternalUserState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/UserIdentityGroupState.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/UserIdentityGroupState.java new file mode 100644 index 0000000..7ae7458 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/inputs/UserIdentityGroupState.java @@ -0,0 +1,157 @@ +// *** 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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class UserIdentityGroupState extends com.pulumi.resources.ResourceArgs { + + public static final UserIdentityGroupState Empty = new UserIdentityGroupState(); + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the user identity group + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the user identity group + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Parent user identity group, e.g. `NAC Group:NAC:IdentityGroups:User Identity Groups` + * + */ + @Import(name="parent") + private @Nullable Output parent; + + /** + * @return Parent user identity group, e.g. `NAC Group:NAC:IdentityGroups:User Identity Groups` + * + */ + public Optional> parent() { + return Optional.ofNullable(this.parent); + } + + private UserIdentityGroupState() {} + + private UserIdentityGroupState(UserIdentityGroupState $) { + this.description = $.description; + this.name = $.name; + this.parent = $.parent; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(UserIdentityGroupState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private UserIdentityGroupState $; + + public Builder() { + $ = new UserIdentityGroupState(); + } + + public Builder(UserIdentityGroupState defaults) { + $ = new UserIdentityGroupState(Objects.requireNonNull(defaults)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the user identity group + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the user identity group + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param parent Parent user identity group, e.g. `NAC Group:NAC:IdentityGroups:User Identity Groups` + * + * @return builder + * + */ + public Builder parent(@Nullable Output parent) { + $.parent = parent; + return this; + } + + /** + * @param parent Parent user identity group, e.g. `NAC Group:NAC:IdentityGroups:User Identity Groups` + * + * @return builder + * + */ + public Builder parent(String parent) { + return parent(Output.of(parent)); + } + + public UserIdentityGroupState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/ActiveDirectoryAddGroupsGroup.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/ActiveDirectoryAddGroupsGroup.java new file mode 100644 index 0000000..876059d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/ActiveDirectoryAddGroupsGroup.java @@ -0,0 +1,96 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ActiveDirectoryAddGroupsGroup { + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + private String name; + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + private String sid; + private @Nullable String type; + + private ActiveDirectoryAddGroupsGroup() {} + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + public String name() { + return this.name; + } + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + public String sid() { + return this.sid; + } + public Optional type() { + return Optional.ofNullable(this.type); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ActiveDirectoryAddGroupsGroup defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String sid; + private @Nullable String type; + public Builder() {} + public Builder(ActiveDirectoryAddGroupsGroup defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.sid = defaults.sid; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryAddGroupsGroup", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder sid(String sid) { + if (sid == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryAddGroupsGroup", "sid"); + } + this.sid = sid; + return this; + } + @CustomType.Setter + public Builder type(@Nullable String type) { + + this.type = type; + return this; + } + public ActiveDirectoryAddGroupsGroup build() { + final var _resultValue = new ActiveDirectoryAddGroupsGroup(); + _resultValue.name = name; + _resultValue.sid = sid; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/ActiveDirectoryJoinDomainWithAllNodesAdditionalData.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/ActiveDirectoryJoinDomainWithAllNodesAdditionalData.java new file mode 100644 index 0000000..033ca91 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/ActiveDirectoryJoinDomainWithAllNodesAdditionalData.java @@ -0,0 +1,81 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class ActiveDirectoryJoinDomainWithAllNodesAdditionalData { + /** + * @return Additional attribute name + * + */ + private String name; + /** + * @return Additional attribute value + * + */ + private String value; + + private ActiveDirectoryJoinDomainWithAllNodesAdditionalData() {} + /** + * @return Additional attribute name + * + */ + public String name() { + return this.name; + } + /** + * @return Additional attribute value + * + */ + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ActiveDirectoryJoinDomainWithAllNodesAdditionalData defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String value; + public Builder() {} + public Builder(ActiveDirectoryJoinDomainWithAllNodesAdditionalData defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinDomainWithAllNodesAdditionalData", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinDomainWithAllNodesAdditionalData", "value"); + } + this.value = value; + return this; + } + public ActiveDirectoryJoinDomainWithAllNodesAdditionalData build() { + final var _resultValue = new ActiveDirectoryJoinDomainWithAllNodesAdditionalData(); + _resultValue.name = name; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/ActiveDirectoryJoinPointAttribute.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/ActiveDirectoryJoinPointAttribute.java new file mode 100644 index 0000000..47a08a4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/ActiveDirectoryJoinPointAttribute.java @@ -0,0 +1,129 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class ActiveDirectoryJoinPointAttribute { + /** + * @return Required for each attribute in the attribute list. Can contain an empty string. + * + */ + private String defaultValue; + /** + * @return Required for each attribute in the attribute list + * + */ + private String internalName; + /** + * @return Required for each attribute in the attribute list with no duplication between attributes + * + */ + private String name; + /** + * @return Required for each group in the group list + * - Choices: `STRING`, `IP`, `BOOLEAN`, `INT`, `OCTET_STRING` + * + */ + private String type; + + private ActiveDirectoryJoinPointAttribute() {} + /** + * @return Required for each attribute in the attribute list. Can contain an empty string. + * + */ + public String defaultValue() { + return this.defaultValue; + } + /** + * @return Required for each attribute in the attribute list + * + */ + public String internalName() { + return this.internalName; + } + /** + * @return Required for each attribute in the attribute list with no duplication between attributes + * + */ + public String name() { + return this.name; + } + /** + * @return Required for each group in the group list + * - Choices: `STRING`, `IP`, `BOOLEAN`, `INT`, `OCTET_STRING` + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ActiveDirectoryJoinPointAttribute defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String defaultValue; + private String internalName; + private String name; + private String type; + public Builder() {} + public Builder(ActiveDirectoryJoinPointAttribute defaults) { + Objects.requireNonNull(defaults); + this.defaultValue = defaults.defaultValue; + this.internalName = defaults.internalName; + this.name = defaults.name; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder defaultValue(String defaultValue) { + if (defaultValue == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointAttribute", "defaultValue"); + } + this.defaultValue = defaultValue; + return this; + } + @CustomType.Setter + public Builder internalName(String internalName) { + if (internalName == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointAttribute", "internalName"); + } + this.internalName = internalName; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointAttribute", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointAttribute", "type"); + } + this.type = type; + return this; + } + public ActiveDirectoryJoinPointAttribute build() { + final var _resultValue = new ActiveDirectoryJoinPointAttribute(); + _resultValue.defaultValue = defaultValue; + _resultValue.internalName = internalName; + _resultValue.name = name; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/ActiveDirectoryJoinPointGroup.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/ActiveDirectoryJoinPointGroup.java new file mode 100644 index 0000000..27d2a09 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/ActiveDirectoryJoinPointGroup.java @@ -0,0 +1,96 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ActiveDirectoryJoinPointGroup { + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + private String name; + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + private String sid; + private @Nullable String type; + + private ActiveDirectoryJoinPointGroup() {} + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + public String name() { + return this.name; + } + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + public String sid() { + return this.sid; + } + public Optional type() { + return Optional.ofNullable(this.type); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ActiveDirectoryJoinPointGroup defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String sid; + private @Nullable String type; + public Builder() {} + public Builder(ActiveDirectoryJoinPointGroup defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.sid = defaults.sid; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointGroup", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder sid(String sid) { + if (sid == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointGroup", "sid"); + } + this.sid = sid; + return this; + } + @CustomType.Setter + public Builder type(@Nullable String type) { + + this.type = type; + return this; + } + public ActiveDirectoryJoinPointGroup build() { + final var _resultValue = new ActiveDirectoryJoinPointGroup(); + _resultValue.name = name; + _resultValue.sid = sid; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/ActiveDirectoryJoinPointRewriteRule.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/ActiveDirectoryJoinPointRewriteRule.java new file mode 100644 index 0000000..65274a0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/ActiveDirectoryJoinPointRewriteRule.java @@ -0,0 +1,104 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class ActiveDirectoryJoinPointRewriteRule { + /** + * @return Required for each rule in the list with no duplication between rules + * + */ + private String rewriteMatch; + /** + * @return Required for each rule in the list + * + */ + private String rewriteResult; + /** + * @return Required for each rule in the list in serial order + * + */ + private String rowId; + + private ActiveDirectoryJoinPointRewriteRule() {} + /** + * @return Required for each rule in the list with no duplication between rules + * + */ + public String rewriteMatch() { + return this.rewriteMatch; + } + /** + * @return Required for each rule in the list + * + */ + public String rewriteResult() { + return this.rewriteResult; + } + /** + * @return Required for each rule in the list in serial order + * + */ + public String rowId() { + return this.rowId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ActiveDirectoryJoinPointRewriteRule defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String rewriteMatch; + private String rewriteResult; + private String rowId; + public Builder() {} + public Builder(ActiveDirectoryJoinPointRewriteRule defaults) { + Objects.requireNonNull(defaults); + this.rewriteMatch = defaults.rewriteMatch; + this.rewriteResult = defaults.rewriteResult; + this.rowId = defaults.rowId; + } + + @CustomType.Setter + public Builder rewriteMatch(String rewriteMatch) { + if (rewriteMatch == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointRewriteRule", "rewriteMatch"); + } + this.rewriteMatch = rewriteMatch; + return this; + } + @CustomType.Setter + public Builder rewriteResult(String rewriteResult) { + if (rewriteResult == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointRewriteRule", "rewriteResult"); + } + this.rewriteResult = rewriteResult; + return this; + } + @CustomType.Setter + public Builder rowId(String rowId) { + if (rowId == null) { + throw new MissingRequiredPropertyException("ActiveDirectoryJoinPointRewriteRule", "rowId"); + } + this.rowId = rowId; + return this; + } + public ActiveDirectoryJoinPointRewriteRule build() { + final var _resultValue = new ActiveDirectoryJoinPointRewriteRule(); + _resultValue.rewriteMatch = rewriteMatch; + _resultValue.rewriteResult = rewriteResult; + _resultValue.rowId = rowId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryGroupsByDomainGroup.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryGroupsByDomainGroup.java new file mode 100644 index 0000000..da05b31 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryGroupsByDomainGroup.java @@ -0,0 +1,104 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetActiveDirectoryGroupsByDomainGroup { + /** + * @return Group name + * + */ + private String name; + /** + * @return Group SID + * + */ + private String sid; + /** + * @return Group type + * + */ + private String type; + + private GetActiveDirectoryGroupsByDomainGroup() {} + /** + * @return Group name + * + */ + public String name() { + return this.name; + } + /** + * @return Group SID + * + */ + public String sid() { + return this.sid; + } + /** + * @return Group type + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetActiveDirectoryGroupsByDomainGroup defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String sid; + private String type; + public Builder() {} + public Builder(GetActiveDirectoryGroupsByDomainGroup defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.sid = defaults.sid; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryGroupsByDomainGroup", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder sid(String sid) { + if (sid == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryGroupsByDomainGroup", "sid"); + } + this.sid = sid; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryGroupsByDomainGroup", "type"); + } + this.type = type; + return this; + } + public GetActiveDirectoryGroupsByDomainGroup build() { + final var _resultValue = new GetActiveDirectoryGroupsByDomainGroup(); + _resultValue.name = name; + _resultValue.sid = sid; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryGroupsByDomainResult.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryGroupsByDomainResult.java new file mode 100644 index 0000000..c47dcc3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryGroupsByDomainResult.java @@ -0,0 +1,197 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.identitymanagement.outputs.GetActiveDirectoryGroupsByDomainGroup; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetActiveDirectoryGroupsByDomainResult { + /** + * @return The domain whose groups we want to fetch + * + */ + private String domain; + /** + * @return Exact match filter on group's CN + * + */ + private @Nullable String filter; + /** + * @return List of groups + * + */ + private List groups; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Active Directory Join Point ID + * + */ + private String joinPointId; + /** + * @return Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal. + * + */ + private @Nullable String sidFilter; + /** + * @return Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL. + * + */ + private @Nullable String typeFilter; + + private GetActiveDirectoryGroupsByDomainResult() {} + /** + * @return The domain whose groups we want to fetch + * + */ + public String domain() { + return this.domain; + } + /** + * @return Exact match filter on group's CN + * + */ + public Optional filter() { + return Optional.ofNullable(this.filter); + } + /** + * @return List of groups + * + */ + public List groups() { + return this.groups; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return Active Directory Join Point ID + * + */ + public String joinPointId() { + return this.joinPointId; + } + /** + * @return Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal. + * + */ + public Optional sidFilter() { + return Optional.ofNullable(this.sidFilter); + } + /** + * @return Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL. + * + */ + public Optional typeFilter() { + return Optional.ofNullable(this.typeFilter); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetActiveDirectoryGroupsByDomainResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String domain; + private @Nullable String filter; + private List groups; + private String id; + private String joinPointId; + private @Nullable String sidFilter; + private @Nullable String typeFilter; + public Builder() {} + public Builder(GetActiveDirectoryGroupsByDomainResult defaults) { + Objects.requireNonNull(defaults); + this.domain = defaults.domain; + this.filter = defaults.filter; + this.groups = defaults.groups; + this.id = defaults.id; + this.joinPointId = defaults.joinPointId; + this.sidFilter = defaults.sidFilter; + this.typeFilter = defaults.typeFilter; + } + + @CustomType.Setter + public Builder domain(String domain) { + if (domain == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryGroupsByDomainResult", "domain"); + } + this.domain = domain; + return this; + } + @CustomType.Setter + public Builder filter(@Nullable String filter) { + + this.filter = filter; + return this; + } + @CustomType.Setter + public Builder groups(List groups) { + if (groups == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryGroupsByDomainResult", "groups"); + } + this.groups = groups; + return this; + } + public Builder groups(GetActiveDirectoryGroupsByDomainGroup... groups) { + return groups(List.of(groups)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryGroupsByDomainResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder joinPointId(String joinPointId) { + if (joinPointId == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryGroupsByDomainResult", "joinPointId"); + } + this.joinPointId = joinPointId; + return this; + } + @CustomType.Setter + public Builder sidFilter(@Nullable String sidFilter) { + + this.sidFilter = sidFilter; + return this; + } + @CustomType.Setter + public Builder typeFilter(@Nullable String typeFilter) { + + this.typeFilter = typeFilter; + return this; + } + public GetActiveDirectoryGroupsByDomainResult build() { + final var _resultValue = new GetActiveDirectoryGroupsByDomainResult(); + _resultValue.domain = domain; + _resultValue.filter = filter; + _resultValue.groups = groups; + _resultValue.id = id; + _resultValue.joinPointId = joinPointId; + _resultValue.sidFilter = sidFilter; + _resultValue.typeFilter = typeFilter; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryJoinPointAttribute.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryJoinPointAttribute.java new file mode 100644 index 0000000..f8bccbd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryJoinPointAttribute.java @@ -0,0 +1,127 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetActiveDirectoryJoinPointAttribute { + /** + * @return Required for each attribute in the attribute list. Can contain an empty string. + * + */ + private String defaultValue; + /** + * @return Required for each attribute in the attribute list + * + */ + private String internalName; + /** + * @return Required for each attribute in the attribute list with no duplication between attributes + * + */ + private String name; + /** + * @return Required for each group in the group list + * + */ + private String type; + + private GetActiveDirectoryJoinPointAttribute() {} + /** + * @return Required for each attribute in the attribute list. Can contain an empty string. + * + */ + public String defaultValue() { + return this.defaultValue; + } + /** + * @return Required for each attribute in the attribute list + * + */ + public String internalName() { + return this.internalName; + } + /** + * @return Required for each attribute in the attribute list with no duplication between attributes + * + */ + public String name() { + return this.name; + } + /** + * @return Required for each group in the group list + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetActiveDirectoryJoinPointAttribute defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String defaultValue; + private String internalName; + private String name; + private String type; + public Builder() {} + public Builder(GetActiveDirectoryJoinPointAttribute defaults) { + Objects.requireNonNull(defaults); + this.defaultValue = defaults.defaultValue; + this.internalName = defaults.internalName; + this.name = defaults.name; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder defaultValue(String defaultValue) { + if (defaultValue == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointAttribute", "defaultValue"); + } + this.defaultValue = defaultValue; + return this; + } + @CustomType.Setter + public Builder internalName(String internalName) { + if (internalName == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointAttribute", "internalName"); + } + this.internalName = internalName; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointAttribute", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointAttribute", "type"); + } + this.type = type; + return this; + } + public GetActiveDirectoryJoinPointAttribute build() { + final var _resultValue = new GetActiveDirectoryJoinPointAttribute(); + _resultValue.defaultValue = defaultValue; + _resultValue.internalName = internalName; + _resultValue.name = name; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryJoinPointGroup.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryJoinPointGroup.java new file mode 100644 index 0000000..a4455db --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryJoinPointGroup.java @@ -0,0 +1,96 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetActiveDirectoryJoinPointGroup { + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + private String name; + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + private String sid; + private String type; + + private GetActiveDirectoryJoinPointGroup() {} + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + public String name() { + return this.name; + } + /** + * @return Required for each group in the group list with no duplication between groups + * + */ + public String sid() { + return this.sid; + } + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetActiveDirectoryJoinPointGroup defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String sid; + private String type; + public Builder() {} + public Builder(GetActiveDirectoryJoinPointGroup defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.sid = defaults.sid; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointGroup", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder sid(String sid) { + if (sid == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointGroup", "sid"); + } + this.sid = sid; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointGroup", "type"); + } + this.type = type; + return this; + } + public GetActiveDirectoryJoinPointGroup build() { + final var _resultValue = new GetActiveDirectoryJoinPointGroup(); + _resultValue.name = name; + _resultValue.sid = sid; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryJoinPointResult.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryJoinPointResult.java new file mode 100644 index 0000000..3596b71 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryJoinPointResult.java @@ -0,0 +1,824 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.identitymanagement.outputs.GetActiveDirectoryJoinPointAttribute; +import com.pulumi.ise.identitymanagement.outputs.GetActiveDirectoryJoinPointGroup; +import com.pulumi.ise.identitymanagement.outputs.GetActiveDirectoryJoinPointRewriteRule; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetActiveDirectoryJoinPointResult { + /** + * @return String that contains the names of the scopes that the active directory belongs to. Names are separated by comma. + * + */ + private String adScopesNames; + /** + * @return Aging Time + * + */ + private Integer agingTime; + /** + * @return List of AD attributes + * + */ + private List attributes; + /** + * @return Enable prevent AD account lockout for WIRELESS/WIRED/BOTH + * + */ + private String authProtectionType; + /** + * @return User info attribute + * + */ + private String country; + /** + * @return User info attribute + * + */ + private String department; + /** + * @return Join point description + * + */ + private String description; + /** + * @return AD domain associated with the join point + * + */ + private String domain; + /** + * @return User info attribute + * + */ + private String email; + /** + * @return Enable Callback For Dial In Client + * + */ + private Boolean enableCallbackForDialinClient; + /** + * @return Enable Dial In Permission Check + * + */ + private Boolean enableDialinPermissionCheck; + private Boolean enableDomainAllowedList; + /** + * @return Enable prevent AD account lockout due to too many bad password attempts + * + */ + private Boolean enableFailedAuthProtection; + /** + * @return Enable Machine Access + * + */ + private Boolean enableMachineAccess; + /** + * @return Enable Machine Authentication + * + */ + private Boolean enableMachineAuth; + /** + * @return Enable Password Change + * + */ + private Boolean enablePassChange; + /** + * @return Enable Rewrites + * + */ + private Boolean enableRewrites; + /** + * @return Number of bad password attempts + * + */ + private Integer failedAuthThreshold; + /** + * @return User info attribute + * + */ + private String firstName; + /** + * @return List of AD Groups + * + */ + private List groups; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Identity Not In AD Behaviour + * + */ + private String identityNotInAdBehaviour; + /** + * @return User info attribute + * + */ + private String jobTitle; + /** + * @return User info attribute + * + */ + private String lastName; + /** + * @return User info attribute + * + */ + private String locality; + /** + * @return The name of the active directory join point + * + */ + private String name; + /** + * @return User info attribute + * + */ + private String organizationalUnit; + /** + * @return Plain Text Authentication + * + */ + private Boolean plaintextAuth; + /** + * @return List of Rewrite rules + * + */ + private List rewriteRules; + /** + * @return Schema + * + */ + private String schema; + /** + * @return User info attribute + * + */ + private String stateOrProvince; + /** + * @return User info attribute + * + */ + private String streetAddress; + /** + * @return User info attribute + * + */ + private String telephone; + /** + * @return Unreachable Domains Behaviour + * + */ + private String unreachableDomainsBehaviour; + + private GetActiveDirectoryJoinPointResult() {} + /** + * @return String that contains the names of the scopes that the active directory belongs to. Names are separated by comma. + * + */ + public String adScopesNames() { + return this.adScopesNames; + } + /** + * @return Aging Time + * + */ + public Integer agingTime() { + return this.agingTime; + } + /** + * @return List of AD attributes + * + */ + public List attributes() { + return this.attributes; + } + /** + * @return Enable prevent AD account lockout for WIRELESS/WIRED/BOTH + * + */ + public String authProtectionType() { + return this.authProtectionType; + } + /** + * @return User info attribute + * + */ + public String country() { + return this.country; + } + /** + * @return User info attribute + * + */ + public String department() { + return this.department; + } + /** + * @return Join point description + * + */ + public String description() { + return this.description; + } + /** + * @return AD domain associated with the join point + * + */ + public String domain() { + return this.domain; + } + /** + * @return User info attribute + * + */ + public String email() { + return this.email; + } + /** + * @return Enable Callback For Dial In Client + * + */ + public Boolean enableCallbackForDialinClient() { + return this.enableCallbackForDialinClient; + } + /** + * @return Enable Dial In Permission Check + * + */ + public Boolean enableDialinPermissionCheck() { + return this.enableDialinPermissionCheck; + } + public Boolean enableDomainAllowedList() { + return this.enableDomainAllowedList; + } + /** + * @return Enable prevent AD account lockout due to too many bad password attempts + * + */ + public Boolean enableFailedAuthProtection() { + return this.enableFailedAuthProtection; + } + /** + * @return Enable Machine Access + * + */ + public Boolean enableMachineAccess() { + return this.enableMachineAccess; + } + /** + * @return Enable Machine Authentication + * + */ + public Boolean enableMachineAuth() { + return this.enableMachineAuth; + } + /** + * @return Enable Password Change + * + */ + public Boolean enablePassChange() { + return this.enablePassChange; + } + /** + * @return Enable Rewrites + * + */ + public Boolean enableRewrites() { + return this.enableRewrites; + } + /** + * @return Number of bad password attempts + * + */ + public Integer failedAuthThreshold() { + return this.failedAuthThreshold; + } + /** + * @return User info attribute + * + */ + public String firstName() { + return this.firstName; + } + /** + * @return List of AD Groups + * + */ + public List groups() { + return this.groups; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Identity Not In AD Behaviour + * + */ + public String identityNotInAdBehaviour() { + return this.identityNotInAdBehaviour; + } + /** + * @return User info attribute + * + */ + public String jobTitle() { + return this.jobTitle; + } + /** + * @return User info attribute + * + */ + public String lastName() { + return this.lastName; + } + /** + * @return User info attribute + * + */ + public String locality() { + return this.locality; + } + /** + * @return The name of the active directory join point + * + */ + public String name() { + return this.name; + } + /** + * @return User info attribute + * + */ + public String organizationalUnit() { + return this.organizationalUnit; + } + /** + * @return Plain Text Authentication + * + */ + public Boolean plaintextAuth() { + return this.plaintextAuth; + } + /** + * @return List of Rewrite rules + * + */ + public List rewriteRules() { + return this.rewriteRules; + } + /** + * @return Schema + * + */ + public String schema() { + return this.schema; + } + /** + * @return User info attribute + * + */ + public String stateOrProvince() { + return this.stateOrProvince; + } + /** + * @return User info attribute + * + */ + public String streetAddress() { + return this.streetAddress; + } + /** + * @return User info attribute + * + */ + public String telephone() { + return this.telephone; + } + /** + * @return Unreachable Domains Behaviour + * + */ + public String unreachableDomainsBehaviour() { + return this.unreachableDomainsBehaviour; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetActiveDirectoryJoinPointResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String adScopesNames; + private Integer agingTime; + private List attributes; + private String authProtectionType; + private String country; + private String department; + private String description; + private String domain; + private String email; + private Boolean enableCallbackForDialinClient; + private Boolean enableDialinPermissionCheck; + private Boolean enableDomainAllowedList; + private Boolean enableFailedAuthProtection; + private Boolean enableMachineAccess; + private Boolean enableMachineAuth; + private Boolean enablePassChange; + private Boolean enableRewrites; + private Integer failedAuthThreshold; + private String firstName; + private List groups; + private String id; + private String identityNotInAdBehaviour; + private String jobTitle; + private String lastName; + private String locality; + private String name; + private String organizationalUnit; + private Boolean plaintextAuth; + private List rewriteRules; + private String schema; + private String stateOrProvince; + private String streetAddress; + private String telephone; + private String unreachableDomainsBehaviour; + public Builder() {} + public Builder(GetActiveDirectoryJoinPointResult defaults) { + Objects.requireNonNull(defaults); + this.adScopesNames = defaults.adScopesNames; + this.agingTime = defaults.agingTime; + this.attributes = defaults.attributes; + this.authProtectionType = defaults.authProtectionType; + this.country = defaults.country; + this.department = defaults.department; + this.description = defaults.description; + this.domain = defaults.domain; + this.email = defaults.email; + this.enableCallbackForDialinClient = defaults.enableCallbackForDialinClient; + this.enableDialinPermissionCheck = defaults.enableDialinPermissionCheck; + this.enableDomainAllowedList = defaults.enableDomainAllowedList; + this.enableFailedAuthProtection = defaults.enableFailedAuthProtection; + this.enableMachineAccess = defaults.enableMachineAccess; + this.enableMachineAuth = defaults.enableMachineAuth; + this.enablePassChange = defaults.enablePassChange; + this.enableRewrites = defaults.enableRewrites; + this.failedAuthThreshold = defaults.failedAuthThreshold; + this.firstName = defaults.firstName; + this.groups = defaults.groups; + this.id = defaults.id; + this.identityNotInAdBehaviour = defaults.identityNotInAdBehaviour; + this.jobTitle = defaults.jobTitle; + this.lastName = defaults.lastName; + this.locality = defaults.locality; + this.name = defaults.name; + this.organizationalUnit = defaults.organizationalUnit; + this.plaintextAuth = defaults.plaintextAuth; + this.rewriteRules = defaults.rewriteRules; + this.schema = defaults.schema; + this.stateOrProvince = defaults.stateOrProvince; + this.streetAddress = defaults.streetAddress; + this.telephone = defaults.telephone; + this.unreachableDomainsBehaviour = defaults.unreachableDomainsBehaviour; + } + + @CustomType.Setter + public Builder adScopesNames(String adScopesNames) { + if (adScopesNames == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "adScopesNames"); + } + this.adScopesNames = adScopesNames; + return this; + } + @CustomType.Setter + public Builder agingTime(Integer agingTime) { + if (agingTime == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "agingTime"); + } + this.agingTime = agingTime; + return this; + } + @CustomType.Setter + public Builder attributes(List attributes) { + if (attributes == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "attributes"); + } + this.attributes = attributes; + return this; + } + public Builder attributes(GetActiveDirectoryJoinPointAttribute... attributes) { + return attributes(List.of(attributes)); + } + @CustomType.Setter + public Builder authProtectionType(String authProtectionType) { + if (authProtectionType == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "authProtectionType"); + } + this.authProtectionType = authProtectionType; + return this; + } + @CustomType.Setter + public Builder country(String country) { + if (country == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "country"); + } + this.country = country; + return this; + } + @CustomType.Setter + public Builder department(String department) { + if (department == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "department"); + } + this.department = department; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder domain(String domain) { + if (domain == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "domain"); + } + this.domain = domain; + return this; + } + @CustomType.Setter + public Builder email(String email) { + if (email == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "email"); + } + this.email = email; + return this; + } + @CustomType.Setter + public Builder enableCallbackForDialinClient(Boolean enableCallbackForDialinClient) { + if (enableCallbackForDialinClient == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "enableCallbackForDialinClient"); + } + this.enableCallbackForDialinClient = enableCallbackForDialinClient; + return this; + } + @CustomType.Setter + public Builder enableDialinPermissionCheck(Boolean enableDialinPermissionCheck) { + if (enableDialinPermissionCheck == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "enableDialinPermissionCheck"); + } + this.enableDialinPermissionCheck = enableDialinPermissionCheck; + return this; + } + @CustomType.Setter + public Builder enableDomainAllowedList(Boolean enableDomainAllowedList) { + if (enableDomainAllowedList == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "enableDomainAllowedList"); + } + this.enableDomainAllowedList = enableDomainAllowedList; + return this; + } + @CustomType.Setter + public Builder enableFailedAuthProtection(Boolean enableFailedAuthProtection) { + if (enableFailedAuthProtection == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "enableFailedAuthProtection"); + } + this.enableFailedAuthProtection = enableFailedAuthProtection; + return this; + } + @CustomType.Setter + public Builder enableMachineAccess(Boolean enableMachineAccess) { + if (enableMachineAccess == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "enableMachineAccess"); + } + this.enableMachineAccess = enableMachineAccess; + return this; + } + @CustomType.Setter + public Builder enableMachineAuth(Boolean enableMachineAuth) { + if (enableMachineAuth == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "enableMachineAuth"); + } + this.enableMachineAuth = enableMachineAuth; + return this; + } + @CustomType.Setter + public Builder enablePassChange(Boolean enablePassChange) { + if (enablePassChange == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "enablePassChange"); + } + this.enablePassChange = enablePassChange; + return this; + } + @CustomType.Setter + public Builder enableRewrites(Boolean enableRewrites) { + if (enableRewrites == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "enableRewrites"); + } + this.enableRewrites = enableRewrites; + return this; + } + @CustomType.Setter + public Builder failedAuthThreshold(Integer failedAuthThreshold) { + if (failedAuthThreshold == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "failedAuthThreshold"); + } + this.failedAuthThreshold = failedAuthThreshold; + return this; + } + @CustomType.Setter + public Builder firstName(String firstName) { + if (firstName == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "firstName"); + } + this.firstName = firstName; + return this; + } + @CustomType.Setter + public Builder groups(List groups) { + if (groups == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "groups"); + } + this.groups = groups; + return this; + } + public Builder groups(GetActiveDirectoryJoinPointGroup... groups) { + return groups(List.of(groups)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder identityNotInAdBehaviour(String identityNotInAdBehaviour) { + if (identityNotInAdBehaviour == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "identityNotInAdBehaviour"); + } + this.identityNotInAdBehaviour = identityNotInAdBehaviour; + return this; + } + @CustomType.Setter + public Builder jobTitle(String jobTitle) { + if (jobTitle == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "jobTitle"); + } + this.jobTitle = jobTitle; + return this; + } + @CustomType.Setter + public Builder lastName(String lastName) { + if (lastName == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "lastName"); + } + this.lastName = lastName; + return this; + } + @CustomType.Setter + public Builder locality(String locality) { + if (locality == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "locality"); + } + this.locality = locality; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder organizationalUnit(String organizationalUnit) { + if (organizationalUnit == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "organizationalUnit"); + } + this.organizationalUnit = organizationalUnit; + return this; + } + @CustomType.Setter + public Builder plaintextAuth(Boolean plaintextAuth) { + if (plaintextAuth == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "plaintextAuth"); + } + this.plaintextAuth = plaintextAuth; + return this; + } + @CustomType.Setter + public Builder rewriteRules(List rewriteRules) { + if (rewriteRules == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "rewriteRules"); + } + this.rewriteRules = rewriteRules; + return this; + } + public Builder rewriteRules(GetActiveDirectoryJoinPointRewriteRule... rewriteRules) { + return rewriteRules(List.of(rewriteRules)); + } + @CustomType.Setter + public Builder schema(String schema) { + if (schema == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "schema"); + } + this.schema = schema; + return this; + } + @CustomType.Setter + public Builder stateOrProvince(String stateOrProvince) { + if (stateOrProvince == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "stateOrProvince"); + } + this.stateOrProvince = stateOrProvince; + return this; + } + @CustomType.Setter + public Builder streetAddress(String streetAddress) { + if (streetAddress == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "streetAddress"); + } + this.streetAddress = streetAddress; + return this; + } + @CustomType.Setter + public Builder telephone(String telephone) { + if (telephone == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "telephone"); + } + this.telephone = telephone; + return this; + } + @CustomType.Setter + public Builder unreachableDomainsBehaviour(String unreachableDomainsBehaviour) { + if (unreachableDomainsBehaviour == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointResult", "unreachableDomainsBehaviour"); + } + this.unreachableDomainsBehaviour = unreachableDomainsBehaviour; + return this; + } + public GetActiveDirectoryJoinPointResult build() { + final var _resultValue = new GetActiveDirectoryJoinPointResult(); + _resultValue.adScopesNames = adScopesNames; + _resultValue.agingTime = agingTime; + _resultValue.attributes = attributes; + _resultValue.authProtectionType = authProtectionType; + _resultValue.country = country; + _resultValue.department = department; + _resultValue.description = description; + _resultValue.domain = domain; + _resultValue.email = email; + _resultValue.enableCallbackForDialinClient = enableCallbackForDialinClient; + _resultValue.enableDialinPermissionCheck = enableDialinPermissionCheck; + _resultValue.enableDomainAllowedList = enableDomainAllowedList; + _resultValue.enableFailedAuthProtection = enableFailedAuthProtection; + _resultValue.enableMachineAccess = enableMachineAccess; + _resultValue.enableMachineAuth = enableMachineAuth; + _resultValue.enablePassChange = enablePassChange; + _resultValue.enableRewrites = enableRewrites; + _resultValue.failedAuthThreshold = failedAuthThreshold; + _resultValue.firstName = firstName; + _resultValue.groups = groups; + _resultValue.id = id; + _resultValue.identityNotInAdBehaviour = identityNotInAdBehaviour; + _resultValue.jobTitle = jobTitle; + _resultValue.lastName = lastName; + _resultValue.locality = locality; + _resultValue.name = name; + _resultValue.organizationalUnit = organizationalUnit; + _resultValue.plaintextAuth = plaintextAuth; + _resultValue.rewriteRules = rewriteRules; + _resultValue.schema = schema; + _resultValue.stateOrProvince = stateOrProvince; + _resultValue.streetAddress = streetAddress; + _resultValue.telephone = telephone; + _resultValue.unreachableDomainsBehaviour = unreachableDomainsBehaviour; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryJoinPointRewriteRule.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryJoinPointRewriteRule.java new file mode 100644 index 0000000..510a2db --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetActiveDirectoryJoinPointRewriteRule.java @@ -0,0 +1,104 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetActiveDirectoryJoinPointRewriteRule { + /** + * @return Required for each rule in the list with no duplication between rules + * + */ + private String rewriteMatch; + /** + * @return Required for each rule in the list + * + */ + private String rewriteResult; + /** + * @return Required for each rule in the list in serial order + * + */ + private String rowId; + + private GetActiveDirectoryJoinPointRewriteRule() {} + /** + * @return Required for each rule in the list with no duplication between rules + * + */ + public String rewriteMatch() { + return this.rewriteMatch; + } + /** + * @return Required for each rule in the list + * + */ + public String rewriteResult() { + return this.rewriteResult; + } + /** + * @return Required for each rule in the list in serial order + * + */ + public String rowId() { + return this.rowId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetActiveDirectoryJoinPointRewriteRule defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String rewriteMatch; + private String rewriteResult; + private String rowId; + public Builder() {} + public Builder(GetActiveDirectoryJoinPointRewriteRule defaults) { + Objects.requireNonNull(defaults); + this.rewriteMatch = defaults.rewriteMatch; + this.rewriteResult = defaults.rewriteResult; + this.rowId = defaults.rowId; + } + + @CustomType.Setter + public Builder rewriteMatch(String rewriteMatch) { + if (rewriteMatch == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointRewriteRule", "rewriteMatch"); + } + this.rewriteMatch = rewriteMatch; + return this; + } + @CustomType.Setter + public Builder rewriteResult(String rewriteResult) { + if (rewriteResult == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointRewriteRule", "rewriteResult"); + } + this.rewriteResult = rewriteResult; + return this; + } + @CustomType.Setter + public Builder rowId(String rowId) { + if (rowId == null) { + throw new MissingRequiredPropertyException("GetActiveDirectoryJoinPointRewriteRule", "rowId"); + } + this.rowId = rowId; + return this; + } + public GetActiveDirectoryJoinPointRewriteRule build() { + final var _resultValue = new GetActiveDirectoryJoinPointRewriteRule(); + _resultValue.rewriteMatch = rewriteMatch; + _resultValue.rewriteResult = rewriteResult; + _resultValue.rowId = rowId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetCertificateAuthenticationProfileResult.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetCertificateAuthenticationProfileResult.java new file mode 100644 index 0000000..85d9acb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetCertificateAuthenticationProfileResult.java @@ -0,0 +1,220 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetCertificateAuthenticationProfileResult { + /** + * @return Allow as username + * + */ + private Boolean allowedAsUserName; + /** + * @return Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. + * + */ + private String certificateAttributeName; + /** + * @return Description + * + */ + private String description; + /** + * @return Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen + * + */ + private String externalIdentityStoreName; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE*IDENTITY*AMBIGUITY, BINARY_COMPARISON + * + */ + private String matchMode; + /** + * @return The name of the certificate profile + * + */ + private String name; + /** + * @return The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the Certificate - an option only in AD) + * + */ + private String usernameFrom; + + private GetCertificateAuthenticationProfileResult() {} + /** + * @return Allow as username + * + */ + public Boolean allowedAsUserName() { + return this.allowedAsUserName; + } + /** + * @return Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. + * + */ + public String certificateAttributeName() { + return this.certificateAttributeName; + } + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen + * + */ + public String externalIdentityStoreName() { + return this.externalIdentityStoreName; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE*IDENTITY*AMBIGUITY, BINARY_COMPARISON + * + */ + public String matchMode() { + return this.matchMode; + } + /** + * @return The name of the certificate profile + * + */ + public String name() { + return this.name; + } + /** + * @return The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the Certificate - an option only in AD) + * + */ + public String usernameFrom() { + return this.usernameFrom; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCertificateAuthenticationProfileResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean allowedAsUserName; + private String certificateAttributeName; + private String description; + private String externalIdentityStoreName; + private String id; + private String matchMode; + private String name; + private String usernameFrom; + public Builder() {} + public Builder(GetCertificateAuthenticationProfileResult defaults) { + Objects.requireNonNull(defaults); + this.allowedAsUserName = defaults.allowedAsUserName; + this.certificateAttributeName = defaults.certificateAttributeName; + this.description = defaults.description; + this.externalIdentityStoreName = defaults.externalIdentityStoreName; + this.id = defaults.id; + this.matchMode = defaults.matchMode; + this.name = defaults.name; + this.usernameFrom = defaults.usernameFrom; + } + + @CustomType.Setter + public Builder allowedAsUserName(Boolean allowedAsUserName) { + if (allowedAsUserName == null) { + throw new MissingRequiredPropertyException("GetCertificateAuthenticationProfileResult", "allowedAsUserName"); + } + this.allowedAsUserName = allowedAsUserName; + return this; + } + @CustomType.Setter + public Builder certificateAttributeName(String certificateAttributeName) { + if (certificateAttributeName == null) { + throw new MissingRequiredPropertyException("GetCertificateAuthenticationProfileResult", "certificateAttributeName"); + } + this.certificateAttributeName = certificateAttributeName; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetCertificateAuthenticationProfileResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder externalIdentityStoreName(String externalIdentityStoreName) { + if (externalIdentityStoreName == null) { + throw new MissingRequiredPropertyException("GetCertificateAuthenticationProfileResult", "externalIdentityStoreName"); + } + this.externalIdentityStoreName = externalIdentityStoreName; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetCertificateAuthenticationProfileResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder matchMode(String matchMode) { + if (matchMode == null) { + throw new MissingRequiredPropertyException("GetCertificateAuthenticationProfileResult", "matchMode"); + } + this.matchMode = matchMode; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetCertificateAuthenticationProfileResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder usernameFrom(String usernameFrom) { + if (usernameFrom == null) { + throw new MissingRequiredPropertyException("GetCertificateAuthenticationProfileResult", "usernameFrom"); + } + this.usernameFrom = usernameFrom; + return this; + } + public GetCertificateAuthenticationProfileResult build() { + final var _resultValue = new GetCertificateAuthenticationProfileResult(); + _resultValue.allowedAsUserName = allowedAsUserName; + _resultValue.certificateAttributeName = certificateAttributeName; + _resultValue.description = description; + _resultValue.externalIdentityStoreName = externalIdentityStoreName; + _resultValue.id = id; + _resultValue.matchMode = matchMode; + _resultValue.name = name; + _resultValue.usernameFrom = usernameFrom; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetEndpointIdentityGroupResult.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetEndpointIdentityGroupResult.java new file mode 100644 index 0000000..f2a2b16 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetEndpointIdentityGroupResult.java @@ -0,0 +1,151 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetEndpointIdentityGroupResult { + /** + * @return Description + * + */ + private String description; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return The name of the endpoint identity group + * + */ + private String name; + /** + * @return Parent endpoint identity group ID + * + */ + private String parentEndpointIdentityGroupId; + /** + * @return System defined endpoint identity group + * + */ + private Boolean systemDefined; + + private GetEndpointIdentityGroupResult() {} + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return The name of the endpoint identity group + * + */ + public String name() { + return this.name; + } + /** + * @return Parent endpoint identity group ID + * + */ + public String parentEndpointIdentityGroupId() { + return this.parentEndpointIdentityGroupId; + } + /** + * @return System defined endpoint identity group + * + */ + public Boolean systemDefined() { + return this.systemDefined; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetEndpointIdentityGroupResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private String id; + private String name; + private String parentEndpointIdentityGroupId; + private Boolean systemDefined; + public Builder() {} + public Builder(GetEndpointIdentityGroupResult defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.id = defaults.id; + this.name = defaults.name; + this.parentEndpointIdentityGroupId = defaults.parentEndpointIdentityGroupId; + this.systemDefined = defaults.systemDefined; + } + + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetEndpointIdentityGroupResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetEndpointIdentityGroupResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetEndpointIdentityGroupResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder parentEndpointIdentityGroupId(String parentEndpointIdentityGroupId) { + if (parentEndpointIdentityGroupId == null) { + throw new MissingRequiredPropertyException("GetEndpointIdentityGroupResult", "parentEndpointIdentityGroupId"); + } + this.parentEndpointIdentityGroupId = parentEndpointIdentityGroupId; + return this; + } + @CustomType.Setter + public Builder systemDefined(Boolean systemDefined) { + if (systemDefined == null) { + throw new MissingRequiredPropertyException("GetEndpointIdentityGroupResult", "systemDefined"); + } + this.systemDefined = systemDefined; + return this; + } + public GetEndpointIdentityGroupResult build() { + final var _resultValue = new GetEndpointIdentityGroupResult(); + _resultValue.description = description; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.parentEndpointIdentityGroupId = parentEndpointIdentityGroupId; + _resultValue.systemDefined = systemDefined; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetEndpointResult.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetEndpointResult.java new file mode 100644 index 0000000..03d6061 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetEndpointResult.java @@ -0,0 +1,658 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetEndpointResult { + /** + * @return Custom Attributes + * + */ + private Map customAttributes; + /** + * @return Description + * + */ + private String description; + /** + * @return Identity Group ID + * + */ + private String groupId; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Identity Store + * + */ + private String identityStore; + /** + * @return Identity Store Id + * + */ + private String identityStoreId; + /** + * @return MAC address of the endpoint + * + */ + private String mac; + /** + * @return Mdm Compliance Status + * + */ + private Boolean mdmComplianceStatus; + /** + * @return Mdm Encrypted + * + */ + private Boolean mdmEncrypted; + /** + * @return Mdm Enrolled + * + */ + private Boolean mdmEnrolled; + /** + * @return Mdm IMEI + * + */ + private String mdmImei; + /** + * @return Mdm JailBroken + * + */ + private Boolean mdmJailBroken; + /** + * @return Mdm Manufacturer + * + */ + private String mdmManufacturer; + /** + * @return Mdm Model + * + */ + private String mdmModel; + /** + * @return Mdm OS + * + */ + private String mdmOs; + /** + * @return Mdm PhoneNumber + * + */ + private String mdmPhoneNumber; + /** + * @return Mdm Pinlock + * + */ + private Boolean mdmPinlock; + /** + * @return Mdm Reachable + * + */ + private Boolean mdmReachable; + /** + * @return Mdm Serial + * + */ + private String mdmSerial; + /** + * @return Mdm Server Name + * + */ + private String mdmServerName; + /** + * @return The name of the endpoint + * + */ + private String name; + /** + * @return Portal User + * + */ + private String portalUser; + /** + * @return Profile ID + * + */ + private String profileId; + /** + * @return Static Group Assignment + * + */ + private Boolean staticGroupAssignment; + /** + * @return staticGroupAssignmentDefined + * + */ + private Boolean staticGroupAssignmentDefined; + /** + * @return Static Profile Assignment + * + */ + private Boolean staticProfileAssignment; + /** + * @return Static Profile Assignment Defined + * + */ + private Boolean staticProfileAssignmentDefined; + + private GetEndpointResult() {} + /** + * @return Custom Attributes + * + */ + public Map customAttributes() { + return this.customAttributes; + } + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return Identity Group ID + * + */ + public String groupId() { + return this.groupId; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Identity Store + * + */ + public String identityStore() { + return this.identityStore; + } + /** + * @return Identity Store Id + * + */ + public String identityStoreId() { + return this.identityStoreId; + } + /** + * @return MAC address of the endpoint + * + */ + public String mac() { + return this.mac; + } + /** + * @return Mdm Compliance Status + * + */ + public Boolean mdmComplianceStatus() { + return this.mdmComplianceStatus; + } + /** + * @return Mdm Encrypted + * + */ + public Boolean mdmEncrypted() { + return this.mdmEncrypted; + } + /** + * @return Mdm Enrolled + * + */ + public Boolean mdmEnrolled() { + return this.mdmEnrolled; + } + /** + * @return Mdm IMEI + * + */ + public String mdmImei() { + return this.mdmImei; + } + /** + * @return Mdm JailBroken + * + */ + public Boolean mdmJailBroken() { + return this.mdmJailBroken; + } + /** + * @return Mdm Manufacturer + * + */ + public String mdmManufacturer() { + return this.mdmManufacturer; + } + /** + * @return Mdm Model + * + */ + public String mdmModel() { + return this.mdmModel; + } + /** + * @return Mdm OS + * + */ + public String mdmOs() { + return this.mdmOs; + } + /** + * @return Mdm PhoneNumber + * + */ + public String mdmPhoneNumber() { + return this.mdmPhoneNumber; + } + /** + * @return Mdm Pinlock + * + */ + public Boolean mdmPinlock() { + return this.mdmPinlock; + } + /** + * @return Mdm Reachable + * + */ + public Boolean mdmReachable() { + return this.mdmReachable; + } + /** + * @return Mdm Serial + * + */ + public String mdmSerial() { + return this.mdmSerial; + } + /** + * @return Mdm Server Name + * + */ + public String mdmServerName() { + return this.mdmServerName; + } + /** + * @return The name of the endpoint + * + */ + public String name() { + return this.name; + } + /** + * @return Portal User + * + */ + public String portalUser() { + return this.portalUser; + } + /** + * @return Profile ID + * + */ + public String profileId() { + return this.profileId; + } + /** + * @return Static Group Assignment + * + */ + public Boolean staticGroupAssignment() { + return this.staticGroupAssignment; + } + /** + * @return staticGroupAssignmentDefined + * + */ + public Boolean staticGroupAssignmentDefined() { + return this.staticGroupAssignmentDefined; + } + /** + * @return Static Profile Assignment + * + */ + public Boolean staticProfileAssignment() { + return this.staticProfileAssignment; + } + /** + * @return Static Profile Assignment Defined + * + */ + public Boolean staticProfileAssignmentDefined() { + return this.staticProfileAssignmentDefined; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetEndpointResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Map customAttributes; + private String description; + private String groupId; + private String id; + private String identityStore; + private String identityStoreId; + private String mac; + private Boolean mdmComplianceStatus; + private Boolean mdmEncrypted; + private Boolean mdmEnrolled; + private String mdmImei; + private Boolean mdmJailBroken; + private String mdmManufacturer; + private String mdmModel; + private String mdmOs; + private String mdmPhoneNumber; + private Boolean mdmPinlock; + private Boolean mdmReachable; + private String mdmSerial; + private String mdmServerName; + private String name; + private String portalUser; + private String profileId; + private Boolean staticGroupAssignment; + private Boolean staticGroupAssignmentDefined; + private Boolean staticProfileAssignment; + private Boolean staticProfileAssignmentDefined; + public Builder() {} + public Builder(GetEndpointResult defaults) { + Objects.requireNonNull(defaults); + this.customAttributes = defaults.customAttributes; + this.description = defaults.description; + this.groupId = defaults.groupId; + this.id = defaults.id; + this.identityStore = defaults.identityStore; + this.identityStoreId = defaults.identityStoreId; + this.mac = defaults.mac; + this.mdmComplianceStatus = defaults.mdmComplianceStatus; + this.mdmEncrypted = defaults.mdmEncrypted; + this.mdmEnrolled = defaults.mdmEnrolled; + this.mdmImei = defaults.mdmImei; + this.mdmJailBroken = defaults.mdmJailBroken; + this.mdmManufacturer = defaults.mdmManufacturer; + this.mdmModel = defaults.mdmModel; + this.mdmOs = defaults.mdmOs; + this.mdmPhoneNumber = defaults.mdmPhoneNumber; + this.mdmPinlock = defaults.mdmPinlock; + this.mdmReachable = defaults.mdmReachable; + this.mdmSerial = defaults.mdmSerial; + this.mdmServerName = defaults.mdmServerName; + this.name = defaults.name; + this.portalUser = defaults.portalUser; + this.profileId = defaults.profileId; + this.staticGroupAssignment = defaults.staticGroupAssignment; + this.staticGroupAssignmentDefined = defaults.staticGroupAssignmentDefined; + this.staticProfileAssignment = defaults.staticProfileAssignment; + this.staticProfileAssignmentDefined = defaults.staticProfileAssignmentDefined; + } + + @CustomType.Setter + public Builder customAttributes(Map customAttributes) { + if (customAttributes == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "customAttributes"); + } + this.customAttributes = customAttributes; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder groupId(String groupId) { + if (groupId == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "groupId"); + } + this.groupId = groupId; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder identityStore(String identityStore) { + if (identityStore == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "identityStore"); + } + this.identityStore = identityStore; + return this; + } + @CustomType.Setter + public Builder identityStoreId(String identityStoreId) { + if (identityStoreId == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "identityStoreId"); + } + this.identityStoreId = identityStoreId; + return this; + } + @CustomType.Setter + public Builder mac(String mac) { + if (mac == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "mac"); + } + this.mac = mac; + return this; + } + @CustomType.Setter + public Builder mdmComplianceStatus(Boolean mdmComplianceStatus) { + if (mdmComplianceStatus == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "mdmComplianceStatus"); + } + this.mdmComplianceStatus = mdmComplianceStatus; + return this; + } + @CustomType.Setter + public Builder mdmEncrypted(Boolean mdmEncrypted) { + if (mdmEncrypted == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "mdmEncrypted"); + } + this.mdmEncrypted = mdmEncrypted; + return this; + } + @CustomType.Setter + public Builder mdmEnrolled(Boolean mdmEnrolled) { + if (mdmEnrolled == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "mdmEnrolled"); + } + this.mdmEnrolled = mdmEnrolled; + return this; + } + @CustomType.Setter + public Builder mdmImei(String mdmImei) { + if (mdmImei == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "mdmImei"); + } + this.mdmImei = mdmImei; + return this; + } + @CustomType.Setter + public Builder mdmJailBroken(Boolean mdmJailBroken) { + if (mdmJailBroken == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "mdmJailBroken"); + } + this.mdmJailBroken = mdmJailBroken; + return this; + } + @CustomType.Setter + public Builder mdmManufacturer(String mdmManufacturer) { + if (mdmManufacturer == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "mdmManufacturer"); + } + this.mdmManufacturer = mdmManufacturer; + return this; + } + @CustomType.Setter + public Builder mdmModel(String mdmModel) { + if (mdmModel == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "mdmModel"); + } + this.mdmModel = mdmModel; + return this; + } + @CustomType.Setter + public Builder mdmOs(String mdmOs) { + if (mdmOs == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "mdmOs"); + } + this.mdmOs = mdmOs; + return this; + } + @CustomType.Setter + public Builder mdmPhoneNumber(String mdmPhoneNumber) { + if (mdmPhoneNumber == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "mdmPhoneNumber"); + } + this.mdmPhoneNumber = mdmPhoneNumber; + return this; + } + @CustomType.Setter + public Builder mdmPinlock(Boolean mdmPinlock) { + if (mdmPinlock == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "mdmPinlock"); + } + this.mdmPinlock = mdmPinlock; + return this; + } + @CustomType.Setter + public Builder mdmReachable(Boolean mdmReachable) { + if (mdmReachable == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "mdmReachable"); + } + this.mdmReachable = mdmReachable; + return this; + } + @CustomType.Setter + public Builder mdmSerial(String mdmSerial) { + if (mdmSerial == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "mdmSerial"); + } + this.mdmSerial = mdmSerial; + return this; + } + @CustomType.Setter + public Builder mdmServerName(String mdmServerName) { + if (mdmServerName == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "mdmServerName"); + } + this.mdmServerName = mdmServerName; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder portalUser(String portalUser) { + if (portalUser == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "portalUser"); + } + this.portalUser = portalUser; + return this; + } + @CustomType.Setter + public Builder profileId(String profileId) { + if (profileId == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "profileId"); + } + this.profileId = profileId; + return this; + } + @CustomType.Setter + public Builder staticGroupAssignment(Boolean staticGroupAssignment) { + if (staticGroupAssignment == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "staticGroupAssignment"); + } + this.staticGroupAssignment = staticGroupAssignment; + return this; + } + @CustomType.Setter + public Builder staticGroupAssignmentDefined(Boolean staticGroupAssignmentDefined) { + if (staticGroupAssignmentDefined == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "staticGroupAssignmentDefined"); + } + this.staticGroupAssignmentDefined = staticGroupAssignmentDefined; + return this; + } + @CustomType.Setter + public Builder staticProfileAssignment(Boolean staticProfileAssignment) { + if (staticProfileAssignment == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "staticProfileAssignment"); + } + this.staticProfileAssignment = staticProfileAssignment; + return this; + } + @CustomType.Setter + public Builder staticProfileAssignmentDefined(Boolean staticProfileAssignmentDefined) { + if (staticProfileAssignmentDefined == null) { + throw new MissingRequiredPropertyException("GetEndpointResult", "staticProfileAssignmentDefined"); + } + this.staticProfileAssignmentDefined = staticProfileAssignmentDefined; + return this; + } + public GetEndpointResult build() { + final var _resultValue = new GetEndpointResult(); + _resultValue.customAttributes = customAttributes; + _resultValue.description = description; + _resultValue.groupId = groupId; + _resultValue.id = id; + _resultValue.identityStore = identityStore; + _resultValue.identityStoreId = identityStoreId; + _resultValue.mac = mac; + _resultValue.mdmComplianceStatus = mdmComplianceStatus; + _resultValue.mdmEncrypted = mdmEncrypted; + _resultValue.mdmEnrolled = mdmEnrolled; + _resultValue.mdmImei = mdmImei; + _resultValue.mdmJailBroken = mdmJailBroken; + _resultValue.mdmManufacturer = mdmManufacturer; + _resultValue.mdmModel = mdmModel; + _resultValue.mdmOs = mdmOs; + _resultValue.mdmPhoneNumber = mdmPhoneNumber; + _resultValue.mdmPinlock = mdmPinlock; + _resultValue.mdmReachable = mdmReachable; + _resultValue.mdmSerial = mdmSerial; + _resultValue.mdmServerName = mdmServerName; + _resultValue.name = name; + _resultValue.portalUser = portalUser; + _resultValue.profileId = profileId; + _resultValue.staticGroupAssignment = staticGroupAssignment; + _resultValue.staticGroupAssignmentDefined = staticGroupAssignmentDefined; + _resultValue.staticProfileAssignment = staticProfileAssignment; + _resultValue.staticProfileAssignmentDefined = staticProfileAssignmentDefined; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetIdentitySourceSequenceIdentitySource.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetIdentitySourceSequenceIdentitySource.java new file mode 100644 index 0000000..3e9d687 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetIdentitySourceSequenceIdentitySource.java @@ -0,0 +1,82 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetIdentitySourceSequenceIdentitySource { + /** + * @return Name of the identity source + * + */ + private String name; + /** + * @return Order of the identity source in the sequence + * + */ + private Integer order; + + private GetIdentitySourceSequenceIdentitySource() {} + /** + * @return Name of the identity source + * + */ + public String name() { + return this.name; + } + /** + * @return Order of the identity source in the sequence + * + */ + public Integer order() { + return this.order; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetIdentitySourceSequenceIdentitySource defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private Integer order; + public Builder() {} + public Builder(GetIdentitySourceSequenceIdentitySource defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.order = defaults.order; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSequenceIdentitySource", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder order(Integer order) { + if (order == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSequenceIdentitySource", "order"); + } + this.order = order; + return this; + } + public GetIdentitySourceSequenceIdentitySource build() { + final var _resultValue = new GetIdentitySourceSequenceIdentitySource(); + _resultValue.name = name; + _resultValue.order = order; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetIdentitySourceSequenceResult.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetIdentitySourceSequenceResult.java new file mode 100644 index 0000000..9bbc82e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetIdentitySourceSequenceResult.java @@ -0,0 +1,171 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.identitymanagement.outputs.GetIdentitySourceSequenceIdentitySource; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetIdentitySourceSequenceResult { + /** + * @return Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication + * + */ + private Boolean breakOnStoreFail; + /** + * @return Certificate Authentication Profile, empty if doesn't exist + * + */ + private String certificateAuthenticationProfile; + /** + * @return Description + * + */ + private String description; + /** + * @return The id of the object + * + */ + private String id; + private List identitySources; + /** + * @return The name of the identity source sequence + * + */ + private String name; + + private GetIdentitySourceSequenceResult() {} + /** + * @return Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication + * + */ + public Boolean breakOnStoreFail() { + return this.breakOnStoreFail; + } + /** + * @return Certificate Authentication Profile, empty if doesn't exist + * + */ + public String certificateAuthenticationProfile() { + return this.certificateAuthenticationProfile; + } + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + public List identitySources() { + return this.identitySources; + } + /** + * @return The name of the identity source sequence + * + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetIdentitySourceSequenceResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean breakOnStoreFail; + private String certificateAuthenticationProfile; + private String description; + private String id; + private List identitySources; + private String name; + public Builder() {} + public Builder(GetIdentitySourceSequenceResult defaults) { + Objects.requireNonNull(defaults); + this.breakOnStoreFail = defaults.breakOnStoreFail; + this.certificateAuthenticationProfile = defaults.certificateAuthenticationProfile; + this.description = defaults.description; + this.id = defaults.id; + this.identitySources = defaults.identitySources; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder breakOnStoreFail(Boolean breakOnStoreFail) { + if (breakOnStoreFail == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSequenceResult", "breakOnStoreFail"); + } + this.breakOnStoreFail = breakOnStoreFail; + return this; + } + @CustomType.Setter + public Builder certificateAuthenticationProfile(String certificateAuthenticationProfile) { + if (certificateAuthenticationProfile == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSequenceResult", "certificateAuthenticationProfile"); + } + this.certificateAuthenticationProfile = certificateAuthenticationProfile; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSequenceResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSequenceResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder identitySources(List identitySources) { + if (identitySources == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSequenceResult", "identitySources"); + } + this.identitySources = identitySources; + return this; + } + public Builder identitySources(GetIdentitySourceSequenceIdentitySource... identitySources) { + return identitySources(List.of(identitySources)); + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSequenceResult", "name"); + } + this.name = name; + return this; + } + public GetIdentitySourceSequenceResult build() { + final var _resultValue = new GetIdentitySourceSequenceResult(); + _resultValue.breakOnStoreFail = breakOnStoreFail; + _resultValue.certificateAuthenticationProfile = certificateAuthenticationProfile; + _resultValue.description = description; + _resultValue.id = id; + _resultValue.identitySources = identitySources; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetInternalUserResult.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetInternalUserResult.java new file mode 100644 index 0000000..088df8d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetInternalUserResult.java @@ -0,0 +1,381 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetInternalUserResult { + /** + * @return The Account Name Alias will be used to send email notifications about password expiration. This field is only supported from ISE 3.2. + * + */ + private String accountNameAlias; + /** + * @return Requires the user to change the password + * + */ + private Boolean changePassword; + /** + * @return Key value map + * + */ + private String customAttributes; + /** + * @return Description + * + */ + private String description; + /** + * @return Email address + * + */ + private String email; + /** + * @return This field is added in ISE 2.0 to support TACACS+ + * + */ + private String enablePassword; + /** + * @return Whether the user is enabled/disabled + * + */ + private Boolean enabled; + /** + * @return First name of the internal user + * + */ + private String firstName; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Comma separated list of identity group IDs. + * + */ + private String identityGroups; + /** + * @return Last name of the internal user + * + */ + private String lastName; + /** + * @return The name of the internal user + * + */ + private String name; + /** + * @return The password of the internal user + * + */ + private String password; + /** + * @return The ID store where the internal user's password is kept + * + */ + private String passwordIdStore; + /** + * @return Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This field is only supported from ISE 3.2. + * + */ + private Boolean passwordNeverExpires; + + private GetInternalUserResult() {} + /** + * @return The Account Name Alias will be used to send email notifications about password expiration. This field is only supported from ISE 3.2. + * + */ + public String accountNameAlias() { + return this.accountNameAlias; + } + /** + * @return Requires the user to change the password + * + */ + public Boolean changePassword() { + return this.changePassword; + } + /** + * @return Key value map + * + */ + public String customAttributes() { + return this.customAttributes; + } + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return Email address + * + */ + public String email() { + return this.email; + } + /** + * @return This field is added in ISE 2.0 to support TACACS+ + * + */ + public String enablePassword() { + return this.enablePassword; + } + /** + * @return Whether the user is enabled/disabled + * + */ + public Boolean enabled() { + return this.enabled; + } + /** + * @return First name of the internal user + * + */ + public String firstName() { + return this.firstName; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Comma separated list of identity group IDs. + * + */ + public String identityGroups() { + return this.identityGroups; + } + /** + * @return Last name of the internal user + * + */ + public String lastName() { + return this.lastName; + } + /** + * @return The name of the internal user + * + */ + public String name() { + return this.name; + } + /** + * @return The password of the internal user + * + */ + public String password() { + return this.password; + } + /** + * @return The ID store where the internal user's password is kept + * + */ + public String passwordIdStore() { + return this.passwordIdStore; + } + /** + * @return Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This field is only supported from ISE 3.2. + * + */ + public Boolean passwordNeverExpires() { + return this.passwordNeverExpires; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetInternalUserResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String accountNameAlias; + private Boolean changePassword; + private String customAttributes; + private String description; + private String email; + private String enablePassword; + private Boolean enabled; + private String firstName; + private String id; + private String identityGroups; + private String lastName; + private String name; + private String password; + private String passwordIdStore; + private Boolean passwordNeverExpires; + public Builder() {} + public Builder(GetInternalUserResult defaults) { + Objects.requireNonNull(defaults); + this.accountNameAlias = defaults.accountNameAlias; + this.changePassword = defaults.changePassword; + this.customAttributes = defaults.customAttributes; + this.description = defaults.description; + this.email = defaults.email; + this.enablePassword = defaults.enablePassword; + this.enabled = defaults.enabled; + this.firstName = defaults.firstName; + this.id = defaults.id; + this.identityGroups = defaults.identityGroups; + this.lastName = defaults.lastName; + this.name = defaults.name; + this.password = defaults.password; + this.passwordIdStore = defaults.passwordIdStore; + this.passwordNeverExpires = defaults.passwordNeverExpires; + } + + @CustomType.Setter + public Builder accountNameAlias(String accountNameAlias) { + if (accountNameAlias == null) { + throw new MissingRequiredPropertyException("GetInternalUserResult", "accountNameAlias"); + } + this.accountNameAlias = accountNameAlias; + return this; + } + @CustomType.Setter + public Builder changePassword(Boolean changePassword) { + if (changePassword == null) { + throw new MissingRequiredPropertyException("GetInternalUserResult", "changePassword"); + } + this.changePassword = changePassword; + return this; + } + @CustomType.Setter + public Builder customAttributes(String customAttributes) { + if (customAttributes == null) { + throw new MissingRequiredPropertyException("GetInternalUserResult", "customAttributes"); + } + this.customAttributes = customAttributes; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetInternalUserResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder email(String email) { + if (email == null) { + throw new MissingRequiredPropertyException("GetInternalUserResult", "email"); + } + this.email = email; + return this; + } + @CustomType.Setter + public Builder enablePassword(String enablePassword) { + if (enablePassword == null) { + throw new MissingRequiredPropertyException("GetInternalUserResult", "enablePassword"); + } + this.enablePassword = enablePassword; + return this; + } + @CustomType.Setter + public Builder enabled(Boolean enabled) { + if (enabled == null) { + throw new MissingRequiredPropertyException("GetInternalUserResult", "enabled"); + } + this.enabled = enabled; + return this; + } + @CustomType.Setter + public Builder firstName(String firstName) { + if (firstName == null) { + throw new MissingRequiredPropertyException("GetInternalUserResult", "firstName"); + } + this.firstName = firstName; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetInternalUserResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder identityGroups(String identityGroups) { + if (identityGroups == null) { + throw new MissingRequiredPropertyException("GetInternalUserResult", "identityGroups"); + } + this.identityGroups = identityGroups; + return this; + } + @CustomType.Setter + public Builder lastName(String lastName) { + if (lastName == null) { + throw new MissingRequiredPropertyException("GetInternalUserResult", "lastName"); + } + this.lastName = lastName; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetInternalUserResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder password(String password) { + if (password == null) { + throw new MissingRequiredPropertyException("GetInternalUserResult", "password"); + } + this.password = password; + return this; + } + @CustomType.Setter + public Builder passwordIdStore(String passwordIdStore) { + if (passwordIdStore == null) { + throw new MissingRequiredPropertyException("GetInternalUserResult", "passwordIdStore"); + } + this.passwordIdStore = passwordIdStore; + return this; + } + @CustomType.Setter + public Builder passwordNeverExpires(Boolean passwordNeverExpires) { + if (passwordNeverExpires == null) { + throw new MissingRequiredPropertyException("GetInternalUserResult", "passwordNeverExpires"); + } + this.passwordNeverExpires = passwordNeverExpires; + return this; + } + public GetInternalUserResult build() { + final var _resultValue = new GetInternalUserResult(); + _resultValue.accountNameAlias = accountNameAlias; + _resultValue.changePassword = changePassword; + _resultValue.customAttributes = customAttributes; + _resultValue.description = description; + _resultValue.email = email; + _resultValue.enablePassword = enablePassword; + _resultValue.enabled = enabled; + _resultValue.firstName = firstName; + _resultValue.id = id; + _resultValue.identityGroups = identityGroups; + _resultValue.lastName = lastName; + _resultValue.name = name; + _resultValue.password = password; + _resultValue.passwordIdStore = passwordIdStore; + _resultValue.passwordNeverExpires = passwordNeverExpires; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetUserIdentityGroupResult.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetUserIdentityGroupResult.java new file mode 100644 index 0000000..0567aba --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/GetUserIdentityGroupResult.java @@ -0,0 +1,127 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetUserIdentityGroupResult { + /** + * @return Description + * + */ + private String description; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return The name of the user identity group + * + */ + private String name; + /** + * @return Parent user identity group, e.g. `NAC Group:NAC:IdentityGroups:User Identity Groups` + * + */ + private String parent; + + private GetUserIdentityGroupResult() {} + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return The name of the user identity group + * + */ + public String name() { + return this.name; + } + /** + * @return Parent user identity group, e.g. `NAC Group:NAC:IdentityGroups:User Identity Groups` + * + */ + public String parent() { + return this.parent; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetUserIdentityGroupResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private String id; + private String name; + private String parent; + public Builder() {} + public Builder(GetUserIdentityGroupResult defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.id = defaults.id; + this.name = defaults.name; + this.parent = defaults.parent; + } + + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetUserIdentityGroupResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetUserIdentityGroupResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetUserIdentityGroupResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder parent(String parent) { + if (parent == null) { + throw new MissingRequiredPropertyException("GetUserIdentityGroupResult", "parent"); + } + this.parent = parent; + return this; + } + public GetUserIdentityGroupResult build() { + final var _resultValue = new GetUserIdentityGroupResult(); + _resultValue.description = description; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.parent = parent; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/IdentitySourceSequenceIdentitySource.java b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/IdentitySourceSequenceIdentitySource.java new file mode 100644 index 0000000..dbf977d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/identitymanagement/outputs/IdentitySourceSequenceIdentitySource.java @@ -0,0 +1,82 @@ +// *** 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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class IdentitySourceSequenceIdentitySource { + /** + * @return Name of the identity source + * + */ + private String name; + /** + * @return Order of the identity source in the sequence + * + */ + private Integer order; + + private IdentitySourceSequenceIdentitySource() {} + /** + * @return Name of the identity source + * + */ + public String name() { + return this.name; + } + /** + * @return Order of the identity source in the sequence + * + */ + public Integer order() { + return this.order; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceSequenceIdentitySource defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private Integer order; + public Builder() {} + public Builder(IdentitySourceSequenceIdentitySource defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.order = defaults.order; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("IdentitySourceSequenceIdentitySource", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder order(Integer order) { + if (order == null) { + throw new MissingRequiredPropertyException("IdentitySourceSequenceIdentitySource", "order"); + } + this.order = order; + return this; + } + public IdentitySourceSequenceIdentitySource build() { + final var _resultValue = new IdentitySourceSequenceIdentitySource(); + _resultValue.name = name; + _resultValue.order = order; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/Device.java b/sdk/java/src/main/java/com/pulumi/ise/network/Device.java new file mode 100644 index 0000000..df247f4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/Device.java @@ -0,0 +1,745 @@ +// *** 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.network; + +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.network.DeviceArgs; +import com.pulumi.ise.network.inputs.DeviceState; +import com.pulumi.ise.network.outputs.DeviceIp; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Network Device. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.network.Device; + * import com.pulumi.ise.network.DeviceArgs; + * import com.pulumi.ise.network.inputs.DeviceIpArgs; + * 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 Device("example", DeviceArgs.builder() + * .name("Device1") + * .description("My device") + * .authenticationEnableKeyWrap(true) + * .authenticationEncryptionKey("cisco123cisco123") + * .authenticationEncryptionKeyFormat("ASCII") + * .authenticationMessageAuthenticatorCodeKey("cisco123cisco1235678") + * .authenticationNetworkProtocol("RADIUS") + * .authenticationRadiusSharedSecret("cisco123") + * .authenticationEnableMultiSecret(true) + * .authenticationSecondRadiusSharedSecret("cisco12345") + * .authenticationDtlsRequired(true) + * .coaPort(12345) + * .dtlsDnsName("cisco.com") + * .ips(DeviceIpArgs.builder() + * .ipaddress("2.3.4.5") + * .mask("32") + * .build()) + * .modelName("Unknown") + * .softwareVersion("Unknown") + * .profileName("Cisco") + * .snmpLinkTrapQuery(true) + * .snmpMacTrapQuery(true) + * .snmpPollingInterval(1200) + * .snmpRoCommunity("rocom") + * .snmpVersion("TWO_C") + * .tacacsConnectModeOptions("OFF") + * .tacacsSharedSecret("cisco123") + * .trustsecDeviceId("device123") + * .trustsecDevicePassword("cisco123") + * .trustsecRestApiUsername("user123") + * .trustsecRestApiPassword("Cisco123") + * .trustsecEnableModePassword("cisco123") + * .trustsecExecModePassword("cisco123") + * .trustsecExecModeUsername("user456") + * .trustsecIncludeWhenDeployingSgtUpdates(true) + * .trustsecDownloadEnviromentDataEveryXSeconds(1000) + * .trustsecDownloadPeerAuthorizationPolicyEveryXSeconds(1000) + * .trustsecDownloadSgaclListsEveryXSeconds(1000) + * .trustsecOtherSgaDevicesToTrustThisDevice(true) + * .trustsecReAuthenticationEveryXSeconds(1000) + * .trustsecSendConfigurationToDevice(true) + * .trustsecSendConfigurationToDeviceUsing("ENABLE_USING_COA") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:network/device:Device example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:network/device:Device") +public class Device extends com.pulumi.resources.CustomResource { + /** + * Enforce use of DTLS + * + */ + @Export(name="authenticationDtlsRequired", refs={Boolean.class}, tree="[0]") + private Output authenticationDtlsRequired; + + /** + * @return Enforce use of DTLS + * + */ + public Output> authenticationDtlsRequired() { + return Codegen.optional(this.authenticationDtlsRequired); + } + /** + * Enable key wrap + * + */ + @Export(name="authenticationEnableKeyWrap", refs={Boolean.class}, tree="[0]") + private Output authenticationEnableKeyWrap; + + /** + * @return Enable key wrap + * + */ + public Output> authenticationEnableKeyWrap() { + return Codegen.optional(this.authenticationEnableKeyWrap); + } + /** + * Enable multiple RADIUS shared secrets + * + */ + @Export(name="authenticationEnableMultiSecret", refs={Boolean.class}, tree="[0]") + private Output authenticationEnableMultiSecret; + + /** + * @return Enable multiple RADIUS shared secrets + * + */ + public Output> authenticationEnableMultiSecret() { + return Codegen.optional(this.authenticationEnableMultiSecret); + } + /** + * Encryption key + * + */ + @Export(name="authenticationEncryptionKey", refs={String.class}, tree="[0]") + private Output authenticationEncryptionKey; + + /** + * @return Encryption key + * + */ + public Output> authenticationEncryptionKey() { + return Codegen.optional(this.authenticationEncryptionKey); + } + /** + * Key input format - Choices: `ASCII`, `HEXADECIMAL` + * + */ + @Export(name="authenticationEncryptionKeyFormat", refs={String.class}, tree="[0]") + private Output authenticationEncryptionKeyFormat; + + /** + * @return Key input format - Choices: `ASCII`, `HEXADECIMAL` + * + */ + public Output> authenticationEncryptionKeyFormat() { + return Codegen.optional(this.authenticationEncryptionKeyFormat); + } + /** + * Message authenticator code key + * + */ + @Export(name="authenticationMessageAuthenticatorCodeKey", refs={String.class}, tree="[0]") + private Output authenticationMessageAuthenticatorCodeKey; + + /** + * @return Message authenticator code key + * + */ + public Output> authenticationMessageAuthenticatorCodeKey() { + return Codegen.optional(this.authenticationMessageAuthenticatorCodeKey); + } + /** + * Network protocol - Choices: `RADIUS`, `TACACS_PLUS` + * + */ + @Export(name="authenticationNetworkProtocol", refs={String.class}, tree="[0]") + private Output authenticationNetworkProtocol; + + /** + * @return Network protocol - Choices: `RADIUS`, `TACACS_PLUS` + * + */ + public Output> authenticationNetworkProtocol() { + return Codegen.optional(this.authenticationNetworkProtocol); + } + /** + * RADIUS shared secret + * + */ + @Export(name="authenticationRadiusSharedSecret", refs={String.class}, tree="[0]") + private Output authenticationRadiusSharedSecret; + + /** + * @return RADIUS shared secret + * + */ + public Output> authenticationRadiusSharedSecret() { + return Codegen.optional(this.authenticationRadiusSharedSecret); + } + /** + * Second RADIUS shared secret + * + */ + @Export(name="authenticationSecondRadiusSharedSecret", refs={String.class}, tree="[0]") + private Output authenticationSecondRadiusSharedSecret; + + /** + * @return Second RADIUS shared secret + * + */ + public Output> authenticationSecondRadiusSharedSecret() { + return Codegen.optional(this.authenticationSecondRadiusSharedSecret); + } + /** + * CoA port - Default value: `1700` + * + */ + @Export(name="coaPort", refs={Integer.class}, tree="[0]") + private Output coaPort; + + /** + * @return CoA port - Default value: `1700` + * + */ + public Output coaPort() { + return this.coaPort; + } + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate + * + */ + @Export(name="dtlsDnsName", refs={String.class}, tree="[0]") + private Output dtlsDnsName; + + /** + * @return This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate + * + */ + public Output> dtlsDnsName() { + return Codegen.optional(this.dtlsDnsName); + } + /** + * List of IP subnets + * + */ + @Export(name="ips", refs={List.class,DeviceIp.class}, tree="[0,1]") + private Output> ips; + + /** + * @return List of IP subnets + * + */ + public Output> ips() { + return this.ips; + } + /** + * Model name + * + */ + @Export(name="modelName", refs={String.class}, tree="[0]") + private Output modelName; + + /** + * @return Model name + * + */ + public Output> modelName() { + return Codegen.optional(this.modelName); + } + /** + * The name of the network device + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the network device + * + */ + public Output name() { + return this.name; + } + /** + * List of network device groups, e.g. `Device Type#All Device Types#ACCESS` + * + */ + @Export(name="networkDeviceGroups", refs={List.class,String.class}, tree="[0,1]") + private Output> networkDeviceGroups; + + /** + * @return List of network device groups, e.g. `Device Type#All Device Types#ACCESS` + * + */ + public Output>> networkDeviceGroups() { + return Codegen.optional(this.networkDeviceGroups); + } + /** + * Profile name - Default value: `Cisco` + * + */ + @Export(name="profileName", refs={String.class}, tree="[0]") + private Output profileName; + + /** + * @return Profile name - Default value: `Cisco` + * + */ + public Output profileName() { + return this.profileName; + } + /** + * SNMP link Trap Query + * + */ + @Export(name="snmpLinkTrapQuery", refs={Boolean.class}, tree="[0]") + private Output snmpLinkTrapQuery; + + /** + * @return SNMP link Trap Query + * + */ + public Output> snmpLinkTrapQuery() { + return Codegen.optional(this.snmpLinkTrapQuery); + } + /** + * SNMP MAC Trap Query + * + */ + @Export(name="snmpMacTrapQuery", refs={Boolean.class}, tree="[0]") + private Output snmpMacTrapQuery; + + /** + * @return SNMP MAC Trap Query + * + */ + public Output> snmpMacTrapQuery() { + return Codegen.optional(this.snmpMacTrapQuery); + } + /** + * Originating Policy Services Node + * + */ + @Export(name="snmpOriginatingPolicyServiceNode", refs={String.class}, tree="[0]") + private Output snmpOriginatingPolicyServiceNode; + + /** + * @return Originating Policy Services Node + * + */ + public Output> snmpOriginatingPolicyServiceNode() { + return Codegen.optional(this.snmpOriginatingPolicyServiceNode); + } + /** + * SNMP Polling Interval in seconds - Range: `600`-`86400` + * + */ + @Export(name="snmpPollingInterval", refs={Integer.class}, tree="[0]") + private Output snmpPollingInterval; + + /** + * @return SNMP Polling Interval in seconds - Range: `600`-`86400` + * + */ + public Output> snmpPollingInterval() { + return Codegen.optional(this.snmpPollingInterval); + } + /** + * SNMP RO Community + * + */ + @Export(name="snmpRoCommunity", refs={String.class}, tree="[0]") + private Output snmpRoCommunity; + + /** + * @return SNMP RO Community + * + */ + public Output> snmpRoCommunity() { + return Codegen.optional(this.snmpRoCommunity); + } + /** + * SNMP version - Choices: `ONE`, `TWO_C`, `THREE` + * + */ + @Export(name="snmpVersion", refs={String.class}, tree="[0]") + private Output snmpVersion; + + /** + * @return SNMP version - Choices: `ONE`, `TWO_C`, `THREE` + * + */ + public Output> snmpVersion() { + return Codegen.optional(this.snmpVersion); + } + /** + * Software version + * + */ + @Export(name="softwareVersion", refs={String.class}, tree="[0]") + private Output softwareVersion; + + /** + * @return Software version + * + */ + public Output> softwareVersion() { + return Codegen.optional(this.softwareVersion); + } + /** + * Connect mode options - Choices: `OFF`, `ON_LEGACY`, `ON_DRAFT_COMPLIANT` + * + */ + @Export(name="tacacsConnectModeOptions", refs={String.class}, tree="[0]") + private Output tacacsConnectModeOptions; + + /** + * @return Connect mode options - Choices: `OFF`, `ON_LEGACY`, `ON_DRAFT_COMPLIANT` + * + */ + public Output> tacacsConnectModeOptions() { + return Codegen.optional(this.tacacsConnectModeOptions); + } + /** + * Shared secret + * + */ + @Export(name="tacacsSharedSecret", refs={String.class}, tree="[0]") + private Output tacacsSharedSecret; + + /** + * @return Shared secret + * + */ + public Output> tacacsSharedSecret() { + return Codegen.optional(this.tacacsSharedSecret); + } + /** + * CoA source host + * + */ + @Export(name="trustsecCoaSourceHost", refs={String.class}, tree="[0]") + private Output trustsecCoaSourceHost; + + /** + * @return CoA source host + * + */ + public Output> trustsecCoaSourceHost() { + return Codegen.optional(this.trustsecCoaSourceHost); + } + /** + * TrustSec device ID + * + */ + @Export(name="trustsecDeviceId", refs={String.class}, tree="[0]") + private Output trustsecDeviceId; + + /** + * @return TrustSec device ID + * + */ + public Output> trustsecDeviceId() { + return Codegen.optional(this.trustsecDeviceId); + } + /** + * TrustSec device password + * + */ + @Export(name="trustsecDevicePassword", refs={String.class}, tree="[0]") + private Output trustsecDevicePassword; + + /** + * @return TrustSec device password + * + */ + public Output> trustsecDevicePassword() { + return Codegen.optional(this.trustsecDevicePassword); + } + /** + * Download environment data every X seconds + * + */ + @Export(name="trustsecDownloadEnviromentDataEveryXSeconds", refs={Integer.class}, tree="[0]") + private Output trustsecDownloadEnviromentDataEveryXSeconds; + + /** + * @return Download environment data every X seconds + * + */ + public Output> trustsecDownloadEnviromentDataEveryXSeconds() { + return Codegen.optional(this.trustsecDownloadEnviromentDataEveryXSeconds); + } + /** + * Download peer authorization policy every X seconds + * + */ + @Export(name="trustsecDownloadPeerAuthorizationPolicyEveryXSeconds", refs={Integer.class}, tree="[0]") + private Output trustsecDownloadPeerAuthorizationPolicyEveryXSeconds; + + /** + * @return Download peer authorization policy every X seconds + * + */ + public Output> trustsecDownloadPeerAuthorizationPolicyEveryXSeconds() { + return Codegen.optional(this.trustsecDownloadPeerAuthorizationPolicyEveryXSeconds); + } + /** + * Download SGACL lists every X seconds + * + */ + @Export(name="trustsecDownloadSgaclListsEveryXSeconds", refs={Integer.class}, tree="[0]") + private Output trustsecDownloadSgaclListsEveryXSeconds; + + /** + * @return Download SGACL lists every X seconds + * + */ + public Output> trustsecDownloadSgaclListsEveryXSeconds() { + return Codegen.optional(this.trustsecDownloadSgaclListsEveryXSeconds); + } + /** + * Enable mode password + * + */ + @Export(name="trustsecEnableModePassword", refs={String.class}, tree="[0]") + private Output trustsecEnableModePassword; + + /** + * @return Enable mode password + * + */ + public Output> trustsecEnableModePassword() { + return Codegen.optional(this.trustsecEnableModePassword); + } + /** + * EXEC mode password + * + */ + @Export(name="trustsecExecModePassword", refs={String.class}, tree="[0]") + private Output trustsecExecModePassword; + + /** + * @return EXEC mode password + * + */ + public Output> trustsecExecModePassword() { + return Codegen.optional(this.trustsecExecModePassword); + } + /** + * EXEC mode username + * + */ + @Export(name="trustsecExecModeUsername", refs={String.class}, tree="[0]") + private Output trustsecExecModeUsername; + + /** + * @return EXEC mode username + * + */ + public Output> trustsecExecModeUsername() { + return Codegen.optional(this.trustsecExecModeUsername); + } + /** + * Include this device when deploying Security Group Tag Mapping Updates + * + */ + @Export(name="trustsecIncludeWhenDeployingSgtUpdates", refs={Boolean.class}, tree="[0]") + private Output trustsecIncludeWhenDeployingSgtUpdates; + + /** + * @return Include this device when deploying Security Group Tag Mapping Updates + * + */ + public Output> trustsecIncludeWhenDeployingSgtUpdates() { + return Codegen.optional(this.trustsecIncludeWhenDeployingSgtUpdates); + } + /** + * Other TrustSec devices to trust this device + * + */ + @Export(name="trustsecOtherSgaDevicesToTrustThisDevice", refs={Boolean.class}, tree="[0]") + private Output trustsecOtherSgaDevicesToTrustThisDevice; + + /** + * @return Other TrustSec devices to trust this device + * + */ + public Output> trustsecOtherSgaDevicesToTrustThisDevice() { + return Codegen.optional(this.trustsecOtherSgaDevicesToTrustThisDevice); + } + /** + * Re-authenticate every X seconds + * + */ + @Export(name="trustsecReAuthenticationEveryXSeconds", refs={Integer.class}, tree="[0]") + private Output trustsecReAuthenticationEveryXSeconds; + + /** + * @return Re-authenticate every X seconds + * + */ + public Output> trustsecReAuthenticationEveryXSeconds() { + return Codegen.optional(this.trustsecReAuthenticationEveryXSeconds); + } + /** + * REST API password + * + */ + @Export(name="trustsecRestApiPassword", refs={String.class}, tree="[0]") + private Output trustsecRestApiPassword; + + /** + * @return REST API password + * + */ + public Output> trustsecRestApiPassword() { + return Codegen.optional(this.trustsecRestApiPassword); + } + /** + * REST API username + * + */ + @Export(name="trustsecRestApiUsername", refs={String.class}, tree="[0]") + private Output trustsecRestApiUsername; + + /** + * @return REST API username + * + */ + public Output> trustsecRestApiUsername() { + return Codegen.optional(this.trustsecRestApiUsername); + } + /** + * Send configuration to device + * + */ + @Export(name="trustsecSendConfigurationToDevice", refs={Boolean.class}, tree="[0]") + private Output trustsecSendConfigurationToDevice; + + /** + * @return Send configuration to device + * + */ + public Output> trustsecSendConfigurationToDevice() { + return Codegen.optional(this.trustsecSendConfigurationToDevice); + } + /** + * Send configuration to device using - Choices: `DISABLE_ALL`, `ENABLE_USING_CLI`, `ENABLE_USING_COA` + * + */ + @Export(name="trustsecSendConfigurationToDeviceUsing", refs={String.class}, tree="[0]") + private Output trustsecSendConfigurationToDeviceUsing; + + /** + * @return Send configuration to device using - Choices: `DISABLE_ALL`, `ENABLE_USING_CLI`, `ENABLE_USING_COA` + * + */ + public Output> trustsecSendConfigurationToDeviceUsing() { + return Codegen.optional(this.trustsecSendConfigurationToDeviceUsing); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public Device(String name) { + this(name, DeviceArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public Device(String name, DeviceArgs 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 Device(String name, DeviceArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:network/device:Device", name, args == null ? DeviceArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private Device(String name, Output id, @Nullable DeviceState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:network/device:Device", name, state, makeResourceOptions(options, id)); + } + + 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 Device get(String name, Output id, @Nullable DeviceState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new Device(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/DeviceArgs.java b/sdk/java/src/main/java/com/pulumi/ise/network/DeviceArgs.java new file mode 100644 index 0000000..0e7c41d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/DeviceArgs.java @@ -0,0 +1,1628 @@ +// *** 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.network; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.network.inputs.DeviceIpArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DeviceArgs extends com.pulumi.resources.ResourceArgs { + + public static final DeviceArgs Empty = new DeviceArgs(); + + /** + * Enforce use of DTLS + * + */ + @Import(name="authenticationDtlsRequired") + private @Nullable Output authenticationDtlsRequired; + + /** + * @return Enforce use of DTLS + * + */ + public Optional> authenticationDtlsRequired() { + return Optional.ofNullable(this.authenticationDtlsRequired); + } + + /** + * Enable key wrap + * + */ + @Import(name="authenticationEnableKeyWrap") + private @Nullable Output authenticationEnableKeyWrap; + + /** + * @return Enable key wrap + * + */ + public Optional> authenticationEnableKeyWrap() { + return Optional.ofNullable(this.authenticationEnableKeyWrap); + } + + /** + * Enable multiple RADIUS shared secrets + * + */ + @Import(name="authenticationEnableMultiSecret") + private @Nullable Output authenticationEnableMultiSecret; + + /** + * @return Enable multiple RADIUS shared secrets + * + */ + public Optional> authenticationEnableMultiSecret() { + return Optional.ofNullable(this.authenticationEnableMultiSecret); + } + + /** + * Encryption key + * + */ + @Import(name="authenticationEncryptionKey") + private @Nullable Output authenticationEncryptionKey; + + /** + * @return Encryption key + * + */ + public Optional> authenticationEncryptionKey() { + return Optional.ofNullable(this.authenticationEncryptionKey); + } + + /** + * Key input format - Choices: `ASCII`, `HEXADECIMAL` + * + */ + @Import(name="authenticationEncryptionKeyFormat") + private @Nullable Output authenticationEncryptionKeyFormat; + + /** + * @return Key input format - Choices: `ASCII`, `HEXADECIMAL` + * + */ + public Optional> authenticationEncryptionKeyFormat() { + return Optional.ofNullable(this.authenticationEncryptionKeyFormat); + } + + /** + * Message authenticator code key + * + */ + @Import(name="authenticationMessageAuthenticatorCodeKey") + private @Nullable Output authenticationMessageAuthenticatorCodeKey; + + /** + * @return Message authenticator code key + * + */ + public Optional> authenticationMessageAuthenticatorCodeKey() { + return Optional.ofNullable(this.authenticationMessageAuthenticatorCodeKey); + } + + /** + * Network protocol - Choices: `RADIUS`, `TACACS_PLUS` + * + */ + @Import(name="authenticationNetworkProtocol") + private @Nullable Output authenticationNetworkProtocol; + + /** + * @return Network protocol - Choices: `RADIUS`, `TACACS_PLUS` + * + */ + public Optional> authenticationNetworkProtocol() { + return Optional.ofNullable(this.authenticationNetworkProtocol); + } + + /** + * RADIUS shared secret + * + */ + @Import(name="authenticationRadiusSharedSecret") + private @Nullable Output authenticationRadiusSharedSecret; + + /** + * @return RADIUS shared secret + * + */ + public Optional> authenticationRadiusSharedSecret() { + return Optional.ofNullable(this.authenticationRadiusSharedSecret); + } + + /** + * Second RADIUS shared secret + * + */ + @Import(name="authenticationSecondRadiusSharedSecret") + private @Nullable Output authenticationSecondRadiusSharedSecret; + + /** + * @return Second RADIUS shared secret + * + */ + public Optional> authenticationSecondRadiusSharedSecret() { + return Optional.ofNullable(this.authenticationSecondRadiusSharedSecret); + } + + /** + * CoA port - Default value: `1700` + * + */ + @Import(name="coaPort") + private @Nullable Output coaPort; + + /** + * @return CoA port - Default value: `1700` + * + */ + public Optional> coaPort() { + return Optional.ofNullable(this.coaPort); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate + * + */ + @Import(name="dtlsDnsName") + private @Nullable Output dtlsDnsName; + + /** + * @return This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate + * + */ + public Optional> dtlsDnsName() { + return Optional.ofNullable(this.dtlsDnsName); + } + + /** + * List of IP subnets + * + */ + @Import(name="ips", required=true) + private Output> ips; + + /** + * @return List of IP subnets + * + */ + public Output> ips() { + return this.ips; + } + + /** + * Model name + * + */ + @Import(name="modelName") + private @Nullable Output modelName; + + /** + * @return Model name + * + */ + public Optional> modelName() { + return Optional.ofNullable(this.modelName); + } + + /** + * The name of the network device + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the network device + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * List of network device groups, e.g. `Device Type#All Device Types#ACCESS` + * + */ + @Import(name="networkDeviceGroups") + private @Nullable Output> networkDeviceGroups; + + /** + * @return List of network device groups, e.g. `Device Type#All Device Types#ACCESS` + * + */ + public Optional>> networkDeviceGroups() { + return Optional.ofNullable(this.networkDeviceGroups); + } + + /** + * Profile name - Default value: `Cisco` + * + */ + @Import(name="profileName") + private @Nullable Output profileName; + + /** + * @return Profile name - Default value: `Cisco` + * + */ + public Optional> profileName() { + return Optional.ofNullable(this.profileName); + } + + /** + * SNMP link Trap Query + * + */ + @Import(name="snmpLinkTrapQuery") + private @Nullable Output snmpLinkTrapQuery; + + /** + * @return SNMP link Trap Query + * + */ + public Optional> snmpLinkTrapQuery() { + return Optional.ofNullable(this.snmpLinkTrapQuery); + } + + /** + * SNMP MAC Trap Query + * + */ + @Import(name="snmpMacTrapQuery") + private @Nullable Output snmpMacTrapQuery; + + /** + * @return SNMP MAC Trap Query + * + */ + public Optional> snmpMacTrapQuery() { + return Optional.ofNullable(this.snmpMacTrapQuery); + } + + /** + * Originating Policy Services Node + * + */ + @Import(name="snmpOriginatingPolicyServiceNode") + private @Nullable Output snmpOriginatingPolicyServiceNode; + + /** + * @return Originating Policy Services Node + * + */ + public Optional> snmpOriginatingPolicyServiceNode() { + return Optional.ofNullable(this.snmpOriginatingPolicyServiceNode); + } + + /** + * SNMP Polling Interval in seconds - Range: `600`-`86400` + * + */ + @Import(name="snmpPollingInterval") + private @Nullable Output snmpPollingInterval; + + /** + * @return SNMP Polling Interval in seconds - Range: `600`-`86400` + * + */ + public Optional> snmpPollingInterval() { + return Optional.ofNullable(this.snmpPollingInterval); + } + + /** + * SNMP RO Community + * + */ + @Import(name="snmpRoCommunity") + private @Nullable Output snmpRoCommunity; + + /** + * @return SNMP RO Community + * + */ + public Optional> snmpRoCommunity() { + return Optional.ofNullable(this.snmpRoCommunity); + } + + /** + * SNMP version - Choices: `ONE`, `TWO_C`, `THREE` + * + */ + @Import(name="snmpVersion") + private @Nullable Output snmpVersion; + + /** + * @return SNMP version - Choices: `ONE`, `TWO_C`, `THREE` + * + */ + public Optional> snmpVersion() { + return Optional.ofNullable(this.snmpVersion); + } + + /** + * Software version + * + */ + @Import(name="softwareVersion") + private @Nullable Output softwareVersion; + + /** + * @return Software version + * + */ + public Optional> softwareVersion() { + return Optional.ofNullable(this.softwareVersion); + } + + /** + * Connect mode options - Choices: `OFF`, `ON_LEGACY`, `ON_DRAFT_COMPLIANT` + * + */ + @Import(name="tacacsConnectModeOptions") + private @Nullable Output tacacsConnectModeOptions; + + /** + * @return Connect mode options - Choices: `OFF`, `ON_LEGACY`, `ON_DRAFT_COMPLIANT` + * + */ + public Optional> tacacsConnectModeOptions() { + return Optional.ofNullable(this.tacacsConnectModeOptions); + } + + /** + * Shared secret + * + */ + @Import(name="tacacsSharedSecret") + private @Nullable Output tacacsSharedSecret; + + /** + * @return Shared secret + * + */ + public Optional> tacacsSharedSecret() { + return Optional.ofNullable(this.tacacsSharedSecret); + } + + /** + * CoA source host + * + */ + @Import(name="trustsecCoaSourceHost") + private @Nullable Output trustsecCoaSourceHost; + + /** + * @return CoA source host + * + */ + public Optional> trustsecCoaSourceHost() { + return Optional.ofNullable(this.trustsecCoaSourceHost); + } + + /** + * TrustSec device ID + * + */ + @Import(name="trustsecDeviceId") + private @Nullable Output trustsecDeviceId; + + /** + * @return TrustSec device ID + * + */ + public Optional> trustsecDeviceId() { + return Optional.ofNullable(this.trustsecDeviceId); + } + + /** + * TrustSec device password + * + */ + @Import(name="trustsecDevicePassword") + private @Nullable Output trustsecDevicePassword; + + /** + * @return TrustSec device password + * + */ + public Optional> trustsecDevicePassword() { + return Optional.ofNullable(this.trustsecDevicePassword); + } + + /** + * Download environment data every X seconds + * + */ + @Import(name="trustsecDownloadEnviromentDataEveryXSeconds") + private @Nullable Output trustsecDownloadEnviromentDataEveryXSeconds; + + /** + * @return Download environment data every X seconds + * + */ + public Optional> trustsecDownloadEnviromentDataEveryXSeconds() { + return Optional.ofNullable(this.trustsecDownloadEnviromentDataEveryXSeconds); + } + + /** + * Download peer authorization policy every X seconds + * + */ + @Import(name="trustsecDownloadPeerAuthorizationPolicyEveryXSeconds") + private @Nullable Output trustsecDownloadPeerAuthorizationPolicyEveryXSeconds; + + /** + * @return Download peer authorization policy every X seconds + * + */ + public Optional> trustsecDownloadPeerAuthorizationPolicyEveryXSeconds() { + return Optional.ofNullable(this.trustsecDownloadPeerAuthorizationPolicyEveryXSeconds); + } + + /** + * Download SGACL lists every X seconds + * + */ + @Import(name="trustsecDownloadSgaclListsEveryXSeconds") + private @Nullable Output trustsecDownloadSgaclListsEveryXSeconds; + + /** + * @return Download SGACL lists every X seconds + * + */ + public Optional> trustsecDownloadSgaclListsEveryXSeconds() { + return Optional.ofNullable(this.trustsecDownloadSgaclListsEveryXSeconds); + } + + /** + * Enable mode password + * + */ + @Import(name="trustsecEnableModePassword") + private @Nullable Output trustsecEnableModePassword; + + /** + * @return Enable mode password + * + */ + public Optional> trustsecEnableModePassword() { + return Optional.ofNullable(this.trustsecEnableModePassword); + } + + /** + * EXEC mode password + * + */ + @Import(name="trustsecExecModePassword") + private @Nullable Output trustsecExecModePassword; + + /** + * @return EXEC mode password + * + */ + public Optional> trustsecExecModePassword() { + return Optional.ofNullable(this.trustsecExecModePassword); + } + + /** + * EXEC mode username + * + */ + @Import(name="trustsecExecModeUsername") + private @Nullable Output trustsecExecModeUsername; + + /** + * @return EXEC mode username + * + */ + public Optional> trustsecExecModeUsername() { + return Optional.ofNullable(this.trustsecExecModeUsername); + } + + /** + * Include this device when deploying Security Group Tag Mapping Updates + * + */ + @Import(name="trustsecIncludeWhenDeployingSgtUpdates") + private @Nullable Output trustsecIncludeWhenDeployingSgtUpdates; + + /** + * @return Include this device when deploying Security Group Tag Mapping Updates + * + */ + public Optional> trustsecIncludeWhenDeployingSgtUpdates() { + return Optional.ofNullable(this.trustsecIncludeWhenDeployingSgtUpdates); + } + + /** + * Other TrustSec devices to trust this device + * + */ + @Import(name="trustsecOtherSgaDevicesToTrustThisDevice") + private @Nullable Output trustsecOtherSgaDevicesToTrustThisDevice; + + /** + * @return Other TrustSec devices to trust this device + * + */ + public Optional> trustsecOtherSgaDevicesToTrustThisDevice() { + return Optional.ofNullable(this.trustsecOtherSgaDevicesToTrustThisDevice); + } + + /** + * Re-authenticate every X seconds + * + */ + @Import(name="trustsecReAuthenticationEveryXSeconds") + private @Nullable Output trustsecReAuthenticationEveryXSeconds; + + /** + * @return Re-authenticate every X seconds + * + */ + public Optional> trustsecReAuthenticationEveryXSeconds() { + return Optional.ofNullable(this.trustsecReAuthenticationEveryXSeconds); + } + + /** + * REST API password + * + */ + @Import(name="trustsecRestApiPassword") + private @Nullable Output trustsecRestApiPassword; + + /** + * @return REST API password + * + */ + public Optional> trustsecRestApiPassword() { + return Optional.ofNullable(this.trustsecRestApiPassword); + } + + /** + * REST API username + * + */ + @Import(name="trustsecRestApiUsername") + private @Nullable Output trustsecRestApiUsername; + + /** + * @return REST API username + * + */ + public Optional> trustsecRestApiUsername() { + return Optional.ofNullable(this.trustsecRestApiUsername); + } + + /** + * Send configuration to device + * + */ + @Import(name="trustsecSendConfigurationToDevice") + private @Nullable Output trustsecSendConfigurationToDevice; + + /** + * @return Send configuration to device + * + */ + public Optional> trustsecSendConfigurationToDevice() { + return Optional.ofNullable(this.trustsecSendConfigurationToDevice); + } + + /** + * Send configuration to device using - Choices: `DISABLE_ALL`, `ENABLE_USING_CLI`, `ENABLE_USING_COA` + * + */ + @Import(name="trustsecSendConfigurationToDeviceUsing") + private @Nullable Output trustsecSendConfigurationToDeviceUsing; + + /** + * @return Send configuration to device using - Choices: `DISABLE_ALL`, `ENABLE_USING_CLI`, `ENABLE_USING_COA` + * + */ + public Optional> trustsecSendConfigurationToDeviceUsing() { + return Optional.ofNullable(this.trustsecSendConfigurationToDeviceUsing); + } + + private DeviceArgs() {} + + private DeviceArgs(DeviceArgs $) { + this.authenticationDtlsRequired = $.authenticationDtlsRequired; + this.authenticationEnableKeyWrap = $.authenticationEnableKeyWrap; + this.authenticationEnableMultiSecret = $.authenticationEnableMultiSecret; + this.authenticationEncryptionKey = $.authenticationEncryptionKey; + this.authenticationEncryptionKeyFormat = $.authenticationEncryptionKeyFormat; + this.authenticationMessageAuthenticatorCodeKey = $.authenticationMessageAuthenticatorCodeKey; + this.authenticationNetworkProtocol = $.authenticationNetworkProtocol; + this.authenticationRadiusSharedSecret = $.authenticationRadiusSharedSecret; + this.authenticationSecondRadiusSharedSecret = $.authenticationSecondRadiusSharedSecret; + this.coaPort = $.coaPort; + this.description = $.description; + this.dtlsDnsName = $.dtlsDnsName; + this.ips = $.ips; + this.modelName = $.modelName; + this.name = $.name; + this.networkDeviceGroups = $.networkDeviceGroups; + this.profileName = $.profileName; + this.snmpLinkTrapQuery = $.snmpLinkTrapQuery; + this.snmpMacTrapQuery = $.snmpMacTrapQuery; + this.snmpOriginatingPolicyServiceNode = $.snmpOriginatingPolicyServiceNode; + this.snmpPollingInterval = $.snmpPollingInterval; + this.snmpRoCommunity = $.snmpRoCommunity; + this.snmpVersion = $.snmpVersion; + this.softwareVersion = $.softwareVersion; + this.tacacsConnectModeOptions = $.tacacsConnectModeOptions; + this.tacacsSharedSecret = $.tacacsSharedSecret; + this.trustsecCoaSourceHost = $.trustsecCoaSourceHost; + this.trustsecDeviceId = $.trustsecDeviceId; + this.trustsecDevicePassword = $.trustsecDevicePassword; + this.trustsecDownloadEnviromentDataEveryXSeconds = $.trustsecDownloadEnviromentDataEveryXSeconds; + this.trustsecDownloadPeerAuthorizationPolicyEveryXSeconds = $.trustsecDownloadPeerAuthorizationPolicyEveryXSeconds; + this.trustsecDownloadSgaclListsEveryXSeconds = $.trustsecDownloadSgaclListsEveryXSeconds; + this.trustsecEnableModePassword = $.trustsecEnableModePassword; + this.trustsecExecModePassword = $.trustsecExecModePassword; + this.trustsecExecModeUsername = $.trustsecExecModeUsername; + this.trustsecIncludeWhenDeployingSgtUpdates = $.trustsecIncludeWhenDeployingSgtUpdates; + this.trustsecOtherSgaDevicesToTrustThisDevice = $.trustsecOtherSgaDevicesToTrustThisDevice; + this.trustsecReAuthenticationEveryXSeconds = $.trustsecReAuthenticationEveryXSeconds; + this.trustsecRestApiPassword = $.trustsecRestApiPassword; + this.trustsecRestApiUsername = $.trustsecRestApiUsername; + this.trustsecSendConfigurationToDevice = $.trustsecSendConfigurationToDevice; + this.trustsecSendConfigurationToDeviceUsing = $.trustsecSendConfigurationToDeviceUsing; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DeviceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DeviceArgs $; + + public Builder() { + $ = new DeviceArgs(); + } + + public Builder(DeviceArgs defaults) { + $ = new DeviceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param authenticationDtlsRequired Enforce use of DTLS + * + * @return builder + * + */ + public Builder authenticationDtlsRequired(@Nullable Output authenticationDtlsRequired) { + $.authenticationDtlsRequired = authenticationDtlsRequired; + return this; + } + + /** + * @param authenticationDtlsRequired Enforce use of DTLS + * + * @return builder + * + */ + public Builder authenticationDtlsRequired(Boolean authenticationDtlsRequired) { + return authenticationDtlsRequired(Output.of(authenticationDtlsRequired)); + } + + /** + * @param authenticationEnableKeyWrap Enable key wrap + * + * @return builder + * + */ + public Builder authenticationEnableKeyWrap(@Nullable Output authenticationEnableKeyWrap) { + $.authenticationEnableKeyWrap = authenticationEnableKeyWrap; + return this; + } + + /** + * @param authenticationEnableKeyWrap Enable key wrap + * + * @return builder + * + */ + public Builder authenticationEnableKeyWrap(Boolean authenticationEnableKeyWrap) { + return authenticationEnableKeyWrap(Output.of(authenticationEnableKeyWrap)); + } + + /** + * @param authenticationEnableMultiSecret Enable multiple RADIUS shared secrets + * + * @return builder + * + */ + public Builder authenticationEnableMultiSecret(@Nullable Output authenticationEnableMultiSecret) { + $.authenticationEnableMultiSecret = authenticationEnableMultiSecret; + return this; + } + + /** + * @param authenticationEnableMultiSecret Enable multiple RADIUS shared secrets + * + * @return builder + * + */ + public Builder authenticationEnableMultiSecret(Boolean authenticationEnableMultiSecret) { + return authenticationEnableMultiSecret(Output.of(authenticationEnableMultiSecret)); + } + + /** + * @param authenticationEncryptionKey Encryption key + * + * @return builder + * + */ + public Builder authenticationEncryptionKey(@Nullable Output authenticationEncryptionKey) { + $.authenticationEncryptionKey = authenticationEncryptionKey; + return this; + } + + /** + * @param authenticationEncryptionKey Encryption key + * + * @return builder + * + */ + public Builder authenticationEncryptionKey(String authenticationEncryptionKey) { + return authenticationEncryptionKey(Output.of(authenticationEncryptionKey)); + } + + /** + * @param authenticationEncryptionKeyFormat Key input format - Choices: `ASCII`, `HEXADECIMAL` + * + * @return builder + * + */ + public Builder authenticationEncryptionKeyFormat(@Nullable Output authenticationEncryptionKeyFormat) { + $.authenticationEncryptionKeyFormat = authenticationEncryptionKeyFormat; + return this; + } + + /** + * @param authenticationEncryptionKeyFormat Key input format - Choices: `ASCII`, `HEXADECIMAL` + * + * @return builder + * + */ + public Builder authenticationEncryptionKeyFormat(String authenticationEncryptionKeyFormat) { + return authenticationEncryptionKeyFormat(Output.of(authenticationEncryptionKeyFormat)); + } + + /** + * @param authenticationMessageAuthenticatorCodeKey Message authenticator code key + * + * @return builder + * + */ + public Builder authenticationMessageAuthenticatorCodeKey(@Nullable Output authenticationMessageAuthenticatorCodeKey) { + $.authenticationMessageAuthenticatorCodeKey = authenticationMessageAuthenticatorCodeKey; + return this; + } + + /** + * @param authenticationMessageAuthenticatorCodeKey Message authenticator code key + * + * @return builder + * + */ + public Builder authenticationMessageAuthenticatorCodeKey(String authenticationMessageAuthenticatorCodeKey) { + return authenticationMessageAuthenticatorCodeKey(Output.of(authenticationMessageAuthenticatorCodeKey)); + } + + /** + * @param authenticationNetworkProtocol Network protocol - Choices: `RADIUS`, `TACACS_PLUS` + * + * @return builder + * + */ + public Builder authenticationNetworkProtocol(@Nullable Output authenticationNetworkProtocol) { + $.authenticationNetworkProtocol = authenticationNetworkProtocol; + return this; + } + + /** + * @param authenticationNetworkProtocol Network protocol - Choices: `RADIUS`, `TACACS_PLUS` + * + * @return builder + * + */ + public Builder authenticationNetworkProtocol(String authenticationNetworkProtocol) { + return authenticationNetworkProtocol(Output.of(authenticationNetworkProtocol)); + } + + /** + * @param authenticationRadiusSharedSecret RADIUS shared secret + * + * @return builder + * + */ + public Builder authenticationRadiusSharedSecret(@Nullable Output authenticationRadiusSharedSecret) { + $.authenticationRadiusSharedSecret = authenticationRadiusSharedSecret; + return this; + } + + /** + * @param authenticationRadiusSharedSecret RADIUS shared secret + * + * @return builder + * + */ + public Builder authenticationRadiusSharedSecret(String authenticationRadiusSharedSecret) { + return authenticationRadiusSharedSecret(Output.of(authenticationRadiusSharedSecret)); + } + + /** + * @param authenticationSecondRadiusSharedSecret Second RADIUS shared secret + * + * @return builder + * + */ + public Builder authenticationSecondRadiusSharedSecret(@Nullable Output authenticationSecondRadiusSharedSecret) { + $.authenticationSecondRadiusSharedSecret = authenticationSecondRadiusSharedSecret; + return this; + } + + /** + * @param authenticationSecondRadiusSharedSecret Second RADIUS shared secret + * + * @return builder + * + */ + public Builder authenticationSecondRadiusSharedSecret(String authenticationSecondRadiusSharedSecret) { + return authenticationSecondRadiusSharedSecret(Output.of(authenticationSecondRadiusSharedSecret)); + } + + /** + * @param coaPort CoA port - Default value: `1700` + * + * @return builder + * + */ + public Builder coaPort(@Nullable Output coaPort) { + $.coaPort = coaPort; + return this; + } + + /** + * @param coaPort CoA port - Default value: `1700` + * + * @return builder + * + */ + public Builder coaPort(Integer coaPort) { + return coaPort(Output.of(coaPort)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param dtlsDnsName This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate + * + * @return builder + * + */ + public Builder dtlsDnsName(@Nullable Output dtlsDnsName) { + $.dtlsDnsName = dtlsDnsName; + return this; + } + + /** + * @param dtlsDnsName This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate + * + * @return builder + * + */ + public Builder dtlsDnsName(String dtlsDnsName) { + return dtlsDnsName(Output.of(dtlsDnsName)); + } + + /** + * @param ips List of IP subnets + * + * @return builder + * + */ + public Builder ips(Output> ips) { + $.ips = ips; + return this; + } + + /** + * @param ips List of IP subnets + * + * @return builder + * + */ + public Builder ips(List ips) { + return ips(Output.of(ips)); + } + + /** + * @param ips List of IP subnets + * + * @return builder + * + */ + public Builder ips(DeviceIpArgs... ips) { + return ips(List.of(ips)); + } + + /** + * @param modelName Model name + * + * @return builder + * + */ + public Builder modelName(@Nullable Output modelName) { + $.modelName = modelName; + return this; + } + + /** + * @param modelName Model name + * + * @return builder + * + */ + public Builder modelName(String modelName) { + return modelName(Output.of(modelName)); + } + + /** + * @param name The name of the network device + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the network device + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param networkDeviceGroups List of network device groups, e.g. `Device Type#All Device Types#ACCESS` + * + * @return builder + * + */ + public Builder networkDeviceGroups(@Nullable Output> networkDeviceGroups) { + $.networkDeviceGroups = networkDeviceGroups; + return this; + } + + /** + * @param networkDeviceGroups List of network device groups, e.g. `Device Type#All Device Types#ACCESS` + * + * @return builder + * + */ + public Builder networkDeviceGroups(List networkDeviceGroups) { + return networkDeviceGroups(Output.of(networkDeviceGroups)); + } + + /** + * @param networkDeviceGroups List of network device groups, e.g. `Device Type#All Device Types#ACCESS` + * + * @return builder + * + */ + public Builder networkDeviceGroups(String... networkDeviceGroups) { + return networkDeviceGroups(List.of(networkDeviceGroups)); + } + + /** + * @param profileName Profile name - Default value: `Cisco` + * + * @return builder + * + */ + public Builder profileName(@Nullable Output profileName) { + $.profileName = profileName; + return this; + } + + /** + * @param profileName Profile name - Default value: `Cisco` + * + * @return builder + * + */ + public Builder profileName(String profileName) { + return profileName(Output.of(profileName)); + } + + /** + * @param snmpLinkTrapQuery SNMP link Trap Query + * + * @return builder + * + */ + public Builder snmpLinkTrapQuery(@Nullable Output snmpLinkTrapQuery) { + $.snmpLinkTrapQuery = snmpLinkTrapQuery; + return this; + } + + /** + * @param snmpLinkTrapQuery SNMP link Trap Query + * + * @return builder + * + */ + public Builder snmpLinkTrapQuery(Boolean snmpLinkTrapQuery) { + return snmpLinkTrapQuery(Output.of(snmpLinkTrapQuery)); + } + + /** + * @param snmpMacTrapQuery SNMP MAC Trap Query + * + * @return builder + * + */ + public Builder snmpMacTrapQuery(@Nullable Output snmpMacTrapQuery) { + $.snmpMacTrapQuery = snmpMacTrapQuery; + return this; + } + + /** + * @param snmpMacTrapQuery SNMP MAC Trap Query + * + * @return builder + * + */ + public Builder snmpMacTrapQuery(Boolean snmpMacTrapQuery) { + return snmpMacTrapQuery(Output.of(snmpMacTrapQuery)); + } + + /** + * @param snmpOriginatingPolicyServiceNode Originating Policy Services Node + * + * @return builder + * + */ + public Builder snmpOriginatingPolicyServiceNode(@Nullable Output snmpOriginatingPolicyServiceNode) { + $.snmpOriginatingPolicyServiceNode = snmpOriginatingPolicyServiceNode; + return this; + } + + /** + * @param snmpOriginatingPolicyServiceNode Originating Policy Services Node + * + * @return builder + * + */ + public Builder snmpOriginatingPolicyServiceNode(String snmpOriginatingPolicyServiceNode) { + return snmpOriginatingPolicyServiceNode(Output.of(snmpOriginatingPolicyServiceNode)); + } + + /** + * @param snmpPollingInterval SNMP Polling Interval in seconds - Range: `600`-`86400` + * + * @return builder + * + */ + public Builder snmpPollingInterval(@Nullable Output snmpPollingInterval) { + $.snmpPollingInterval = snmpPollingInterval; + return this; + } + + /** + * @param snmpPollingInterval SNMP Polling Interval in seconds - Range: `600`-`86400` + * + * @return builder + * + */ + public Builder snmpPollingInterval(Integer snmpPollingInterval) { + return snmpPollingInterval(Output.of(snmpPollingInterval)); + } + + /** + * @param snmpRoCommunity SNMP RO Community + * + * @return builder + * + */ + public Builder snmpRoCommunity(@Nullable Output snmpRoCommunity) { + $.snmpRoCommunity = snmpRoCommunity; + return this; + } + + /** + * @param snmpRoCommunity SNMP RO Community + * + * @return builder + * + */ + public Builder snmpRoCommunity(String snmpRoCommunity) { + return snmpRoCommunity(Output.of(snmpRoCommunity)); + } + + /** + * @param snmpVersion SNMP version - Choices: `ONE`, `TWO_C`, `THREE` + * + * @return builder + * + */ + public Builder snmpVersion(@Nullable Output snmpVersion) { + $.snmpVersion = snmpVersion; + return this; + } + + /** + * @param snmpVersion SNMP version - Choices: `ONE`, `TWO_C`, `THREE` + * + * @return builder + * + */ + public Builder snmpVersion(String snmpVersion) { + return snmpVersion(Output.of(snmpVersion)); + } + + /** + * @param softwareVersion Software version + * + * @return builder + * + */ + public Builder softwareVersion(@Nullable Output softwareVersion) { + $.softwareVersion = softwareVersion; + return this; + } + + /** + * @param softwareVersion Software version + * + * @return builder + * + */ + public Builder softwareVersion(String softwareVersion) { + return softwareVersion(Output.of(softwareVersion)); + } + + /** + * @param tacacsConnectModeOptions Connect mode options - Choices: `OFF`, `ON_LEGACY`, `ON_DRAFT_COMPLIANT` + * + * @return builder + * + */ + public Builder tacacsConnectModeOptions(@Nullable Output tacacsConnectModeOptions) { + $.tacacsConnectModeOptions = tacacsConnectModeOptions; + return this; + } + + /** + * @param tacacsConnectModeOptions Connect mode options - Choices: `OFF`, `ON_LEGACY`, `ON_DRAFT_COMPLIANT` + * + * @return builder + * + */ + public Builder tacacsConnectModeOptions(String tacacsConnectModeOptions) { + return tacacsConnectModeOptions(Output.of(tacacsConnectModeOptions)); + } + + /** + * @param tacacsSharedSecret Shared secret + * + * @return builder + * + */ + public Builder tacacsSharedSecret(@Nullable Output tacacsSharedSecret) { + $.tacacsSharedSecret = tacacsSharedSecret; + return this; + } + + /** + * @param tacacsSharedSecret Shared secret + * + * @return builder + * + */ + public Builder tacacsSharedSecret(String tacacsSharedSecret) { + return tacacsSharedSecret(Output.of(tacacsSharedSecret)); + } + + /** + * @param trustsecCoaSourceHost CoA source host + * + * @return builder + * + */ + public Builder trustsecCoaSourceHost(@Nullable Output trustsecCoaSourceHost) { + $.trustsecCoaSourceHost = trustsecCoaSourceHost; + return this; + } + + /** + * @param trustsecCoaSourceHost CoA source host + * + * @return builder + * + */ + public Builder trustsecCoaSourceHost(String trustsecCoaSourceHost) { + return trustsecCoaSourceHost(Output.of(trustsecCoaSourceHost)); + } + + /** + * @param trustsecDeviceId TrustSec device ID + * + * @return builder + * + */ + public Builder trustsecDeviceId(@Nullable Output trustsecDeviceId) { + $.trustsecDeviceId = trustsecDeviceId; + return this; + } + + /** + * @param trustsecDeviceId TrustSec device ID + * + * @return builder + * + */ + public Builder trustsecDeviceId(String trustsecDeviceId) { + return trustsecDeviceId(Output.of(trustsecDeviceId)); + } + + /** + * @param trustsecDevicePassword TrustSec device password + * + * @return builder + * + */ + public Builder trustsecDevicePassword(@Nullable Output trustsecDevicePassword) { + $.trustsecDevicePassword = trustsecDevicePassword; + return this; + } + + /** + * @param trustsecDevicePassword TrustSec device password + * + * @return builder + * + */ + public Builder trustsecDevicePassword(String trustsecDevicePassword) { + return trustsecDevicePassword(Output.of(trustsecDevicePassword)); + } + + /** + * @param trustsecDownloadEnviromentDataEveryXSeconds Download environment data every X seconds + * + * @return builder + * + */ + public Builder trustsecDownloadEnviromentDataEveryXSeconds(@Nullable Output trustsecDownloadEnviromentDataEveryXSeconds) { + $.trustsecDownloadEnviromentDataEveryXSeconds = trustsecDownloadEnviromentDataEveryXSeconds; + return this; + } + + /** + * @param trustsecDownloadEnviromentDataEveryXSeconds Download environment data every X seconds + * + * @return builder + * + */ + public Builder trustsecDownloadEnviromentDataEveryXSeconds(Integer trustsecDownloadEnviromentDataEveryXSeconds) { + return trustsecDownloadEnviromentDataEveryXSeconds(Output.of(trustsecDownloadEnviromentDataEveryXSeconds)); + } + + /** + * @param trustsecDownloadPeerAuthorizationPolicyEveryXSeconds Download peer authorization policy every X seconds + * + * @return builder + * + */ + public Builder trustsecDownloadPeerAuthorizationPolicyEveryXSeconds(@Nullable Output trustsecDownloadPeerAuthorizationPolicyEveryXSeconds) { + $.trustsecDownloadPeerAuthorizationPolicyEveryXSeconds = trustsecDownloadPeerAuthorizationPolicyEveryXSeconds; + return this; + } + + /** + * @param trustsecDownloadPeerAuthorizationPolicyEveryXSeconds Download peer authorization policy every X seconds + * + * @return builder + * + */ + public Builder trustsecDownloadPeerAuthorizationPolicyEveryXSeconds(Integer trustsecDownloadPeerAuthorizationPolicyEveryXSeconds) { + return trustsecDownloadPeerAuthorizationPolicyEveryXSeconds(Output.of(trustsecDownloadPeerAuthorizationPolicyEveryXSeconds)); + } + + /** + * @param trustsecDownloadSgaclListsEveryXSeconds Download SGACL lists every X seconds + * + * @return builder + * + */ + public Builder trustsecDownloadSgaclListsEveryXSeconds(@Nullable Output trustsecDownloadSgaclListsEveryXSeconds) { + $.trustsecDownloadSgaclListsEveryXSeconds = trustsecDownloadSgaclListsEveryXSeconds; + return this; + } + + /** + * @param trustsecDownloadSgaclListsEveryXSeconds Download SGACL lists every X seconds + * + * @return builder + * + */ + public Builder trustsecDownloadSgaclListsEveryXSeconds(Integer trustsecDownloadSgaclListsEveryXSeconds) { + return trustsecDownloadSgaclListsEveryXSeconds(Output.of(trustsecDownloadSgaclListsEveryXSeconds)); + } + + /** + * @param trustsecEnableModePassword Enable mode password + * + * @return builder + * + */ + public Builder trustsecEnableModePassword(@Nullable Output trustsecEnableModePassword) { + $.trustsecEnableModePassword = trustsecEnableModePassword; + return this; + } + + /** + * @param trustsecEnableModePassword Enable mode password + * + * @return builder + * + */ + public Builder trustsecEnableModePassword(String trustsecEnableModePassword) { + return trustsecEnableModePassword(Output.of(trustsecEnableModePassword)); + } + + /** + * @param trustsecExecModePassword EXEC mode password + * + * @return builder + * + */ + public Builder trustsecExecModePassword(@Nullable Output trustsecExecModePassword) { + $.trustsecExecModePassword = trustsecExecModePassword; + return this; + } + + /** + * @param trustsecExecModePassword EXEC mode password + * + * @return builder + * + */ + public Builder trustsecExecModePassword(String trustsecExecModePassword) { + return trustsecExecModePassword(Output.of(trustsecExecModePassword)); + } + + /** + * @param trustsecExecModeUsername EXEC mode username + * + * @return builder + * + */ + public Builder trustsecExecModeUsername(@Nullable Output trustsecExecModeUsername) { + $.trustsecExecModeUsername = trustsecExecModeUsername; + return this; + } + + /** + * @param trustsecExecModeUsername EXEC mode username + * + * @return builder + * + */ + public Builder trustsecExecModeUsername(String trustsecExecModeUsername) { + return trustsecExecModeUsername(Output.of(trustsecExecModeUsername)); + } + + /** + * @param trustsecIncludeWhenDeployingSgtUpdates Include this device when deploying Security Group Tag Mapping Updates + * + * @return builder + * + */ + public Builder trustsecIncludeWhenDeployingSgtUpdates(@Nullable Output trustsecIncludeWhenDeployingSgtUpdates) { + $.trustsecIncludeWhenDeployingSgtUpdates = trustsecIncludeWhenDeployingSgtUpdates; + return this; + } + + /** + * @param trustsecIncludeWhenDeployingSgtUpdates Include this device when deploying Security Group Tag Mapping Updates + * + * @return builder + * + */ + public Builder trustsecIncludeWhenDeployingSgtUpdates(Boolean trustsecIncludeWhenDeployingSgtUpdates) { + return trustsecIncludeWhenDeployingSgtUpdates(Output.of(trustsecIncludeWhenDeployingSgtUpdates)); + } + + /** + * @param trustsecOtherSgaDevicesToTrustThisDevice Other TrustSec devices to trust this device + * + * @return builder + * + */ + public Builder trustsecOtherSgaDevicesToTrustThisDevice(@Nullable Output trustsecOtherSgaDevicesToTrustThisDevice) { + $.trustsecOtherSgaDevicesToTrustThisDevice = trustsecOtherSgaDevicesToTrustThisDevice; + return this; + } + + /** + * @param trustsecOtherSgaDevicesToTrustThisDevice Other TrustSec devices to trust this device + * + * @return builder + * + */ + public Builder trustsecOtherSgaDevicesToTrustThisDevice(Boolean trustsecOtherSgaDevicesToTrustThisDevice) { + return trustsecOtherSgaDevicesToTrustThisDevice(Output.of(trustsecOtherSgaDevicesToTrustThisDevice)); + } + + /** + * @param trustsecReAuthenticationEveryXSeconds Re-authenticate every X seconds + * + * @return builder + * + */ + public Builder trustsecReAuthenticationEveryXSeconds(@Nullable Output trustsecReAuthenticationEveryXSeconds) { + $.trustsecReAuthenticationEveryXSeconds = trustsecReAuthenticationEveryXSeconds; + return this; + } + + /** + * @param trustsecReAuthenticationEveryXSeconds Re-authenticate every X seconds + * + * @return builder + * + */ + public Builder trustsecReAuthenticationEveryXSeconds(Integer trustsecReAuthenticationEveryXSeconds) { + return trustsecReAuthenticationEveryXSeconds(Output.of(trustsecReAuthenticationEveryXSeconds)); + } + + /** + * @param trustsecRestApiPassword REST API password + * + * @return builder + * + */ + public Builder trustsecRestApiPassword(@Nullable Output trustsecRestApiPassword) { + $.trustsecRestApiPassword = trustsecRestApiPassword; + return this; + } + + /** + * @param trustsecRestApiPassword REST API password + * + * @return builder + * + */ + public Builder trustsecRestApiPassword(String trustsecRestApiPassword) { + return trustsecRestApiPassword(Output.of(trustsecRestApiPassword)); + } + + /** + * @param trustsecRestApiUsername REST API username + * + * @return builder + * + */ + public Builder trustsecRestApiUsername(@Nullable Output trustsecRestApiUsername) { + $.trustsecRestApiUsername = trustsecRestApiUsername; + return this; + } + + /** + * @param trustsecRestApiUsername REST API username + * + * @return builder + * + */ + public Builder trustsecRestApiUsername(String trustsecRestApiUsername) { + return trustsecRestApiUsername(Output.of(trustsecRestApiUsername)); + } + + /** + * @param trustsecSendConfigurationToDevice Send configuration to device + * + * @return builder + * + */ + public Builder trustsecSendConfigurationToDevice(@Nullable Output trustsecSendConfigurationToDevice) { + $.trustsecSendConfigurationToDevice = trustsecSendConfigurationToDevice; + return this; + } + + /** + * @param trustsecSendConfigurationToDevice Send configuration to device + * + * @return builder + * + */ + public Builder trustsecSendConfigurationToDevice(Boolean trustsecSendConfigurationToDevice) { + return trustsecSendConfigurationToDevice(Output.of(trustsecSendConfigurationToDevice)); + } + + /** + * @param trustsecSendConfigurationToDeviceUsing Send configuration to device using - Choices: `DISABLE_ALL`, `ENABLE_USING_CLI`, `ENABLE_USING_COA` + * + * @return builder + * + */ + public Builder trustsecSendConfigurationToDeviceUsing(@Nullable Output trustsecSendConfigurationToDeviceUsing) { + $.trustsecSendConfigurationToDeviceUsing = trustsecSendConfigurationToDeviceUsing; + return this; + } + + /** + * @param trustsecSendConfigurationToDeviceUsing Send configuration to device using - Choices: `DISABLE_ALL`, `ENABLE_USING_CLI`, `ENABLE_USING_COA` + * + * @return builder + * + */ + public Builder trustsecSendConfigurationToDeviceUsing(String trustsecSendConfigurationToDeviceUsing) { + return trustsecSendConfigurationToDeviceUsing(Output.of(trustsecSendConfigurationToDeviceUsing)); + } + + public DeviceArgs build() { + if ($.ips == null) { + throw new MissingRequiredPropertyException("DeviceArgs", "ips"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/DeviceGroup.java b/sdk/java/src/main/java/com/pulumi/ise/network/DeviceGroup.java new file mode 100644 index 0000000..ca1e981 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/DeviceGroup.java @@ -0,0 +1,155 @@ +// *** 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.network; + +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.network.DeviceGroupArgs; +import com.pulumi.ise.network.inputs.DeviceGroupState; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Network Device Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.network.DeviceGroup; + * import com.pulumi.ise.network.DeviceGroupArgs; + * 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 DeviceGroup("example", DeviceGroupArgs.builder() + * .name("Device Type#All Device Types#Group1") + * .description("My network device group") + * .rootGroup("Device Type") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:network/deviceGroup:DeviceGroup example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:network/deviceGroup:DeviceGroup") +public class DeviceGroup extends com.pulumi.resources.CustomResource { + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + */ + public Output name() { + return this.name; + } + /** + * The name of the root device group. + * + */ + @Export(name="rootGroup", refs={String.class}, tree="[0]") + private Output rootGroup; + + /** + * @return The name of the root device group. + * + */ + public Output rootGroup() { + return this.rootGroup; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public DeviceGroup(String name) { + this(name, DeviceGroupArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public DeviceGroup(String name, DeviceGroupArgs 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 DeviceGroup(String name, DeviceGroupArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:network/deviceGroup:DeviceGroup", name, args == null ? DeviceGroupArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private DeviceGroup(String name, Output id, @Nullable DeviceGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:network/deviceGroup:DeviceGroup", name, state, makeResourceOptions(options, id)); + } + + 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 DeviceGroup get(String name, Output id, @Nullable DeviceGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new DeviceGroup(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/DeviceGroupArgs.java b/sdk/java/src/main/java/com/pulumi/ise/network/DeviceGroupArgs.java new file mode 100644 index 0000000..8f335a8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/DeviceGroupArgs.java @@ -0,0 +1,161 @@ +// *** 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.network; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DeviceGroupArgs extends com.pulumi.resources.ResourceArgs { + + public static final DeviceGroupArgs Empty = new DeviceGroupArgs(); + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The name of the root device group. + * + */ + @Import(name="rootGroup", required=true) + private Output rootGroup; + + /** + * @return The name of the root device group. + * + */ + public Output rootGroup() { + return this.rootGroup; + } + + private DeviceGroupArgs() {} + + private DeviceGroupArgs(DeviceGroupArgs $) { + this.description = $.description; + this.name = $.name; + this.rootGroup = $.rootGroup; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DeviceGroupArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DeviceGroupArgs $; + + public Builder() { + $ = new DeviceGroupArgs(); + } + + public Builder(DeviceGroupArgs defaults) { + $ = new DeviceGroupArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param rootGroup The name of the root device group. + * + * @return builder + * + */ + public Builder rootGroup(Output rootGroup) { + $.rootGroup = rootGroup; + return this; + } + + /** + * @param rootGroup The name of the root device group. + * + * @return builder + * + */ + public Builder rootGroup(String rootGroup) { + return rootGroup(Output.of(rootGroup)); + } + + public DeviceGroupArgs build() { + if ($.rootGroup == null) { + throw new MissingRequiredPropertyException("DeviceGroupArgs", "rootGroup"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/NetworkFunctions.java b/sdk/java/src/main/java/com/pulumi/ise/network/NetworkFunctions.java new file mode 100644 index 0000000..ffb7a13 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/NetworkFunctions.java @@ -0,0 +1,500 @@ +// *** 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.network; + +import com.pulumi.core.Output; +import com.pulumi.core.TypeShape; +import com.pulumi.deployment.Deployment; +import com.pulumi.deployment.InvokeOptions; +import com.pulumi.ise.Utilities; +import com.pulumi.ise.network.inputs.GetDeviceArgs; +import com.pulumi.ise.network.inputs.GetDeviceGroupArgs; +import com.pulumi.ise.network.inputs.GetDeviceGroupPlainArgs; +import com.pulumi.ise.network.inputs.GetDevicePlainArgs; +import com.pulumi.ise.network.outputs.GetDeviceGroupResult; +import com.pulumi.ise.network.outputs.GetDeviceResult; +import java.util.concurrent.CompletableFuture; + +public final class NetworkFunctions { + /** + * This data source can read the Network Device. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.network.NetworkFunctions; + * import com.pulumi.ise.network.inputs.GetDeviceArgs; + * 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) { + * final var example = NetworkFunctions.getDevice(GetDeviceArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getDevice() { + return getDevice(GetDeviceArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Network Device. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.network.NetworkFunctions; + * import com.pulumi.ise.network.inputs.GetDeviceArgs; + * 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) { + * final var example = NetworkFunctions.getDevice(GetDeviceArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDevicePlain() { + return getDevicePlain(GetDevicePlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Network Device. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.network.NetworkFunctions; + * import com.pulumi.ise.network.inputs.GetDeviceArgs; + * 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) { + * final var example = NetworkFunctions.getDevice(GetDeviceArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getDevice(GetDeviceArgs args) { + return getDevice(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Device. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.network.NetworkFunctions; + * import com.pulumi.ise.network.inputs.GetDeviceArgs; + * 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) { + * final var example = NetworkFunctions.getDevice(GetDeviceArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDevicePlain(GetDevicePlainArgs args) { + return getDevicePlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Device. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.network.NetworkFunctions; + * import com.pulumi.ise.network.inputs.GetDeviceArgs; + * 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) { + * final var example = NetworkFunctions.getDevice(GetDeviceArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getDevice(GetDeviceArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:network/getDevice:getDevice", TypeShape.of(GetDeviceResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Device. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.network.NetworkFunctions; + * import com.pulumi.ise.network.inputs.GetDeviceArgs; + * 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) { + * final var example = NetworkFunctions.getDevice(GetDeviceArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDevicePlain(GetDevicePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:network/getDevice:getDevice", TypeShape.of(GetDeviceResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Device Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.network.NetworkFunctions; + * import com.pulumi.ise.network.inputs.GetDeviceGroupArgs; + * 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) { + * final var example = NetworkFunctions.getDeviceGroup(GetDeviceGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getDeviceGroup() { + return getDeviceGroup(GetDeviceGroupArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Network Device Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.network.NetworkFunctions; + * import com.pulumi.ise.network.inputs.GetDeviceGroupArgs; + * 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) { + * final var example = NetworkFunctions.getDeviceGroup(GetDeviceGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDeviceGroupPlain() { + return getDeviceGroupPlain(GetDeviceGroupPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Network Device Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.network.NetworkFunctions; + * import com.pulumi.ise.network.inputs.GetDeviceGroupArgs; + * 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) { + * final var example = NetworkFunctions.getDeviceGroup(GetDeviceGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getDeviceGroup(GetDeviceGroupArgs args) { + return getDeviceGroup(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Device Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.network.NetworkFunctions; + * import com.pulumi.ise.network.inputs.GetDeviceGroupArgs; + * 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) { + * final var example = NetworkFunctions.getDeviceGroup(GetDeviceGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDeviceGroupPlain(GetDeviceGroupPlainArgs args) { + return getDeviceGroupPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Device Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.network.NetworkFunctions; + * import com.pulumi.ise.network.inputs.GetDeviceGroupArgs; + * 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) { + * final var example = NetworkFunctions.getDeviceGroup(GetDeviceGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getDeviceGroup(GetDeviceGroupArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:network/getDeviceGroup:getDeviceGroup", TypeShape.of(GetDeviceGroupResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Device Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.network.NetworkFunctions; + * import com.pulumi.ise.network.inputs.GetDeviceGroupArgs; + * 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) { + * final var example = NetworkFunctions.getDeviceGroup(GetDeviceGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDeviceGroupPlain(GetDeviceGroupPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:network/getDeviceGroup:getDeviceGroup", TypeShape.of(GetDeviceGroupResult.class), args, Utilities.withVersion(options)); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/inputs/DeviceGroupState.java b/sdk/java/src/main/java/com/pulumi/ise/network/inputs/DeviceGroupState.java new file mode 100644 index 0000000..d425b5d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/inputs/DeviceGroupState.java @@ -0,0 +1,157 @@ +// *** 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.network.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DeviceGroupState extends com.pulumi.resources.ResourceArgs { + + public static final DeviceGroupState Empty = new DeviceGroupState(); + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The name of the root device group. + * + */ + @Import(name="rootGroup") + private @Nullable Output rootGroup; + + /** + * @return The name of the root device group. + * + */ + public Optional> rootGroup() { + return Optional.ofNullable(this.rootGroup); + } + + private DeviceGroupState() {} + + private DeviceGroupState(DeviceGroupState $) { + this.description = $.description; + this.name = $.name; + this.rootGroup = $.rootGroup; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DeviceGroupState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DeviceGroupState $; + + public Builder() { + $ = new DeviceGroupState(); + } + + public Builder(DeviceGroupState defaults) { + $ = new DeviceGroupState(Objects.requireNonNull(defaults)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param rootGroup The name of the root device group. + * + * @return builder + * + */ + public Builder rootGroup(@Nullable Output rootGroup) { + $.rootGroup = rootGroup; + return this; + } + + /** + * @param rootGroup The name of the root device group. + * + * @return builder + * + */ + public Builder rootGroup(String rootGroup) { + return rootGroup(Output.of(rootGroup)); + } + + public DeviceGroupState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/inputs/DeviceIpArgs.java b/sdk/java/src/main/java/com/pulumi/ise/network/inputs/DeviceIpArgs.java new file mode 100644 index 0000000..98bcd76 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/inputs/DeviceIpArgs.java @@ -0,0 +1,161 @@ +// *** 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.network.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DeviceIpArgs extends com.pulumi.resources.ResourceArgs { + + public static final DeviceIpArgs Empty = new DeviceIpArgs(); + + /** + * It can be either single ip address or ip range address + * + */ + @Import(name="ipaddress", required=true) + private Output ipaddress; + + /** + * @return It can be either single ip address or ip range address + * + */ + public Output ipaddress() { + return this.ipaddress; + } + + /** + * It can be either single ip address or ip range address + * + */ + @Import(name="ipaddressExclude") + private @Nullable Output ipaddressExclude; + + /** + * @return It can be either single ip address or ip range address + * + */ + public Optional> ipaddressExclude() { + return Optional.ofNullable(this.ipaddressExclude); + } + + /** + * Subnet mask length + * + */ + @Import(name="mask") + private @Nullable Output mask; + + /** + * @return Subnet mask length + * + */ + public Optional> mask() { + return Optional.ofNullable(this.mask); + } + + private DeviceIpArgs() {} + + private DeviceIpArgs(DeviceIpArgs $) { + this.ipaddress = $.ipaddress; + this.ipaddressExclude = $.ipaddressExclude; + this.mask = $.mask; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DeviceIpArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DeviceIpArgs $; + + public Builder() { + $ = new DeviceIpArgs(); + } + + public Builder(DeviceIpArgs defaults) { + $ = new DeviceIpArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param ipaddress It can be either single ip address or ip range address + * + * @return builder + * + */ + public Builder ipaddress(Output ipaddress) { + $.ipaddress = ipaddress; + return this; + } + + /** + * @param ipaddress It can be either single ip address or ip range address + * + * @return builder + * + */ + public Builder ipaddress(String ipaddress) { + return ipaddress(Output.of(ipaddress)); + } + + /** + * @param ipaddressExclude It can be either single ip address or ip range address + * + * @return builder + * + */ + public Builder ipaddressExclude(@Nullable Output ipaddressExclude) { + $.ipaddressExclude = ipaddressExclude; + return this; + } + + /** + * @param ipaddressExclude It can be either single ip address or ip range address + * + * @return builder + * + */ + public Builder ipaddressExclude(String ipaddressExclude) { + return ipaddressExclude(Output.of(ipaddressExclude)); + } + + /** + * @param mask Subnet mask length + * + * @return builder + * + */ + public Builder mask(@Nullable Output mask) { + $.mask = mask; + return this; + } + + /** + * @param mask Subnet mask length + * + * @return builder + * + */ + public Builder mask(String mask) { + return mask(Output.of(mask)); + } + + public DeviceIpArgs build() { + if ($.ipaddress == null) { + throw new MissingRequiredPropertyException("DeviceIpArgs", "ipaddress"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/inputs/DeviceState.java b/sdk/java/src/main/java/com/pulumi/ise/network/inputs/DeviceState.java new file mode 100644 index 0000000..4305542 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/inputs/DeviceState.java @@ -0,0 +1,1624 @@ +// *** 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.network.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.network.inputs.DeviceIpArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DeviceState extends com.pulumi.resources.ResourceArgs { + + public static final DeviceState Empty = new DeviceState(); + + /** + * Enforce use of DTLS + * + */ + @Import(name="authenticationDtlsRequired") + private @Nullable Output authenticationDtlsRequired; + + /** + * @return Enforce use of DTLS + * + */ + public Optional> authenticationDtlsRequired() { + return Optional.ofNullable(this.authenticationDtlsRequired); + } + + /** + * Enable key wrap + * + */ + @Import(name="authenticationEnableKeyWrap") + private @Nullable Output authenticationEnableKeyWrap; + + /** + * @return Enable key wrap + * + */ + public Optional> authenticationEnableKeyWrap() { + return Optional.ofNullable(this.authenticationEnableKeyWrap); + } + + /** + * Enable multiple RADIUS shared secrets + * + */ + @Import(name="authenticationEnableMultiSecret") + private @Nullable Output authenticationEnableMultiSecret; + + /** + * @return Enable multiple RADIUS shared secrets + * + */ + public Optional> authenticationEnableMultiSecret() { + return Optional.ofNullable(this.authenticationEnableMultiSecret); + } + + /** + * Encryption key + * + */ + @Import(name="authenticationEncryptionKey") + private @Nullable Output authenticationEncryptionKey; + + /** + * @return Encryption key + * + */ + public Optional> authenticationEncryptionKey() { + return Optional.ofNullable(this.authenticationEncryptionKey); + } + + /** + * Key input format - Choices: `ASCII`, `HEXADECIMAL` + * + */ + @Import(name="authenticationEncryptionKeyFormat") + private @Nullable Output authenticationEncryptionKeyFormat; + + /** + * @return Key input format - Choices: `ASCII`, `HEXADECIMAL` + * + */ + public Optional> authenticationEncryptionKeyFormat() { + return Optional.ofNullable(this.authenticationEncryptionKeyFormat); + } + + /** + * Message authenticator code key + * + */ + @Import(name="authenticationMessageAuthenticatorCodeKey") + private @Nullable Output authenticationMessageAuthenticatorCodeKey; + + /** + * @return Message authenticator code key + * + */ + public Optional> authenticationMessageAuthenticatorCodeKey() { + return Optional.ofNullable(this.authenticationMessageAuthenticatorCodeKey); + } + + /** + * Network protocol - Choices: `RADIUS`, `TACACS_PLUS` + * + */ + @Import(name="authenticationNetworkProtocol") + private @Nullable Output authenticationNetworkProtocol; + + /** + * @return Network protocol - Choices: `RADIUS`, `TACACS_PLUS` + * + */ + public Optional> authenticationNetworkProtocol() { + return Optional.ofNullable(this.authenticationNetworkProtocol); + } + + /** + * RADIUS shared secret + * + */ + @Import(name="authenticationRadiusSharedSecret") + private @Nullable Output authenticationRadiusSharedSecret; + + /** + * @return RADIUS shared secret + * + */ + public Optional> authenticationRadiusSharedSecret() { + return Optional.ofNullable(this.authenticationRadiusSharedSecret); + } + + /** + * Second RADIUS shared secret + * + */ + @Import(name="authenticationSecondRadiusSharedSecret") + private @Nullable Output authenticationSecondRadiusSharedSecret; + + /** + * @return Second RADIUS shared secret + * + */ + public Optional> authenticationSecondRadiusSharedSecret() { + return Optional.ofNullable(this.authenticationSecondRadiusSharedSecret); + } + + /** + * CoA port - Default value: `1700` + * + */ + @Import(name="coaPort") + private @Nullable Output coaPort; + + /** + * @return CoA port - Default value: `1700` + * + */ + public Optional> coaPort() { + return Optional.ofNullable(this.coaPort); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate + * + */ + @Import(name="dtlsDnsName") + private @Nullable Output dtlsDnsName; + + /** + * @return This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate + * + */ + public Optional> dtlsDnsName() { + return Optional.ofNullable(this.dtlsDnsName); + } + + /** + * List of IP subnets + * + */ + @Import(name="ips") + private @Nullable Output> ips; + + /** + * @return List of IP subnets + * + */ + public Optional>> ips() { + return Optional.ofNullable(this.ips); + } + + /** + * Model name + * + */ + @Import(name="modelName") + private @Nullable Output modelName; + + /** + * @return Model name + * + */ + public Optional> modelName() { + return Optional.ofNullable(this.modelName); + } + + /** + * The name of the network device + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the network device + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * List of network device groups, e.g. `Device Type#All Device Types#ACCESS` + * + */ + @Import(name="networkDeviceGroups") + private @Nullable Output> networkDeviceGroups; + + /** + * @return List of network device groups, e.g. `Device Type#All Device Types#ACCESS` + * + */ + public Optional>> networkDeviceGroups() { + return Optional.ofNullable(this.networkDeviceGroups); + } + + /** + * Profile name - Default value: `Cisco` + * + */ + @Import(name="profileName") + private @Nullable Output profileName; + + /** + * @return Profile name - Default value: `Cisco` + * + */ + public Optional> profileName() { + return Optional.ofNullable(this.profileName); + } + + /** + * SNMP link Trap Query + * + */ + @Import(name="snmpLinkTrapQuery") + private @Nullable Output snmpLinkTrapQuery; + + /** + * @return SNMP link Trap Query + * + */ + public Optional> snmpLinkTrapQuery() { + return Optional.ofNullable(this.snmpLinkTrapQuery); + } + + /** + * SNMP MAC Trap Query + * + */ + @Import(name="snmpMacTrapQuery") + private @Nullable Output snmpMacTrapQuery; + + /** + * @return SNMP MAC Trap Query + * + */ + public Optional> snmpMacTrapQuery() { + return Optional.ofNullable(this.snmpMacTrapQuery); + } + + /** + * Originating Policy Services Node + * + */ + @Import(name="snmpOriginatingPolicyServiceNode") + private @Nullable Output snmpOriginatingPolicyServiceNode; + + /** + * @return Originating Policy Services Node + * + */ + public Optional> snmpOriginatingPolicyServiceNode() { + return Optional.ofNullable(this.snmpOriginatingPolicyServiceNode); + } + + /** + * SNMP Polling Interval in seconds - Range: `600`-`86400` + * + */ + @Import(name="snmpPollingInterval") + private @Nullable Output snmpPollingInterval; + + /** + * @return SNMP Polling Interval in seconds - Range: `600`-`86400` + * + */ + public Optional> snmpPollingInterval() { + return Optional.ofNullable(this.snmpPollingInterval); + } + + /** + * SNMP RO Community + * + */ + @Import(name="snmpRoCommunity") + private @Nullable Output snmpRoCommunity; + + /** + * @return SNMP RO Community + * + */ + public Optional> snmpRoCommunity() { + return Optional.ofNullable(this.snmpRoCommunity); + } + + /** + * SNMP version - Choices: `ONE`, `TWO_C`, `THREE` + * + */ + @Import(name="snmpVersion") + private @Nullable Output snmpVersion; + + /** + * @return SNMP version - Choices: `ONE`, `TWO_C`, `THREE` + * + */ + public Optional> snmpVersion() { + return Optional.ofNullable(this.snmpVersion); + } + + /** + * Software version + * + */ + @Import(name="softwareVersion") + private @Nullable Output softwareVersion; + + /** + * @return Software version + * + */ + public Optional> softwareVersion() { + return Optional.ofNullable(this.softwareVersion); + } + + /** + * Connect mode options - Choices: `OFF`, `ON_LEGACY`, `ON_DRAFT_COMPLIANT` + * + */ + @Import(name="tacacsConnectModeOptions") + private @Nullable Output tacacsConnectModeOptions; + + /** + * @return Connect mode options - Choices: `OFF`, `ON_LEGACY`, `ON_DRAFT_COMPLIANT` + * + */ + public Optional> tacacsConnectModeOptions() { + return Optional.ofNullable(this.tacacsConnectModeOptions); + } + + /** + * Shared secret + * + */ + @Import(name="tacacsSharedSecret") + private @Nullable Output tacacsSharedSecret; + + /** + * @return Shared secret + * + */ + public Optional> tacacsSharedSecret() { + return Optional.ofNullable(this.tacacsSharedSecret); + } + + /** + * CoA source host + * + */ + @Import(name="trustsecCoaSourceHost") + private @Nullable Output trustsecCoaSourceHost; + + /** + * @return CoA source host + * + */ + public Optional> trustsecCoaSourceHost() { + return Optional.ofNullable(this.trustsecCoaSourceHost); + } + + /** + * TrustSec device ID + * + */ + @Import(name="trustsecDeviceId") + private @Nullable Output trustsecDeviceId; + + /** + * @return TrustSec device ID + * + */ + public Optional> trustsecDeviceId() { + return Optional.ofNullable(this.trustsecDeviceId); + } + + /** + * TrustSec device password + * + */ + @Import(name="trustsecDevicePassword") + private @Nullable Output trustsecDevicePassword; + + /** + * @return TrustSec device password + * + */ + public Optional> trustsecDevicePassword() { + return Optional.ofNullable(this.trustsecDevicePassword); + } + + /** + * Download environment data every X seconds + * + */ + @Import(name="trustsecDownloadEnviromentDataEveryXSeconds") + private @Nullable Output trustsecDownloadEnviromentDataEveryXSeconds; + + /** + * @return Download environment data every X seconds + * + */ + public Optional> trustsecDownloadEnviromentDataEveryXSeconds() { + return Optional.ofNullable(this.trustsecDownloadEnviromentDataEveryXSeconds); + } + + /** + * Download peer authorization policy every X seconds + * + */ + @Import(name="trustsecDownloadPeerAuthorizationPolicyEveryXSeconds") + private @Nullable Output trustsecDownloadPeerAuthorizationPolicyEveryXSeconds; + + /** + * @return Download peer authorization policy every X seconds + * + */ + public Optional> trustsecDownloadPeerAuthorizationPolicyEveryXSeconds() { + return Optional.ofNullable(this.trustsecDownloadPeerAuthorizationPolicyEveryXSeconds); + } + + /** + * Download SGACL lists every X seconds + * + */ + @Import(name="trustsecDownloadSgaclListsEveryXSeconds") + private @Nullable Output trustsecDownloadSgaclListsEveryXSeconds; + + /** + * @return Download SGACL lists every X seconds + * + */ + public Optional> trustsecDownloadSgaclListsEveryXSeconds() { + return Optional.ofNullable(this.trustsecDownloadSgaclListsEveryXSeconds); + } + + /** + * Enable mode password + * + */ + @Import(name="trustsecEnableModePassword") + private @Nullable Output trustsecEnableModePassword; + + /** + * @return Enable mode password + * + */ + public Optional> trustsecEnableModePassword() { + return Optional.ofNullable(this.trustsecEnableModePassword); + } + + /** + * EXEC mode password + * + */ + @Import(name="trustsecExecModePassword") + private @Nullable Output trustsecExecModePassword; + + /** + * @return EXEC mode password + * + */ + public Optional> trustsecExecModePassword() { + return Optional.ofNullable(this.trustsecExecModePassword); + } + + /** + * EXEC mode username + * + */ + @Import(name="trustsecExecModeUsername") + private @Nullable Output trustsecExecModeUsername; + + /** + * @return EXEC mode username + * + */ + public Optional> trustsecExecModeUsername() { + return Optional.ofNullable(this.trustsecExecModeUsername); + } + + /** + * Include this device when deploying Security Group Tag Mapping Updates + * + */ + @Import(name="trustsecIncludeWhenDeployingSgtUpdates") + private @Nullable Output trustsecIncludeWhenDeployingSgtUpdates; + + /** + * @return Include this device when deploying Security Group Tag Mapping Updates + * + */ + public Optional> trustsecIncludeWhenDeployingSgtUpdates() { + return Optional.ofNullable(this.trustsecIncludeWhenDeployingSgtUpdates); + } + + /** + * Other TrustSec devices to trust this device + * + */ + @Import(name="trustsecOtherSgaDevicesToTrustThisDevice") + private @Nullable Output trustsecOtherSgaDevicesToTrustThisDevice; + + /** + * @return Other TrustSec devices to trust this device + * + */ + public Optional> trustsecOtherSgaDevicesToTrustThisDevice() { + return Optional.ofNullable(this.trustsecOtherSgaDevicesToTrustThisDevice); + } + + /** + * Re-authenticate every X seconds + * + */ + @Import(name="trustsecReAuthenticationEveryXSeconds") + private @Nullable Output trustsecReAuthenticationEveryXSeconds; + + /** + * @return Re-authenticate every X seconds + * + */ + public Optional> trustsecReAuthenticationEveryXSeconds() { + return Optional.ofNullable(this.trustsecReAuthenticationEveryXSeconds); + } + + /** + * REST API password + * + */ + @Import(name="trustsecRestApiPassword") + private @Nullable Output trustsecRestApiPassword; + + /** + * @return REST API password + * + */ + public Optional> trustsecRestApiPassword() { + return Optional.ofNullable(this.trustsecRestApiPassword); + } + + /** + * REST API username + * + */ + @Import(name="trustsecRestApiUsername") + private @Nullable Output trustsecRestApiUsername; + + /** + * @return REST API username + * + */ + public Optional> trustsecRestApiUsername() { + return Optional.ofNullable(this.trustsecRestApiUsername); + } + + /** + * Send configuration to device + * + */ + @Import(name="trustsecSendConfigurationToDevice") + private @Nullable Output trustsecSendConfigurationToDevice; + + /** + * @return Send configuration to device + * + */ + public Optional> trustsecSendConfigurationToDevice() { + return Optional.ofNullable(this.trustsecSendConfigurationToDevice); + } + + /** + * Send configuration to device using - Choices: `DISABLE_ALL`, `ENABLE_USING_CLI`, `ENABLE_USING_COA` + * + */ + @Import(name="trustsecSendConfigurationToDeviceUsing") + private @Nullable Output trustsecSendConfigurationToDeviceUsing; + + /** + * @return Send configuration to device using - Choices: `DISABLE_ALL`, `ENABLE_USING_CLI`, `ENABLE_USING_COA` + * + */ + public Optional> trustsecSendConfigurationToDeviceUsing() { + return Optional.ofNullable(this.trustsecSendConfigurationToDeviceUsing); + } + + private DeviceState() {} + + private DeviceState(DeviceState $) { + this.authenticationDtlsRequired = $.authenticationDtlsRequired; + this.authenticationEnableKeyWrap = $.authenticationEnableKeyWrap; + this.authenticationEnableMultiSecret = $.authenticationEnableMultiSecret; + this.authenticationEncryptionKey = $.authenticationEncryptionKey; + this.authenticationEncryptionKeyFormat = $.authenticationEncryptionKeyFormat; + this.authenticationMessageAuthenticatorCodeKey = $.authenticationMessageAuthenticatorCodeKey; + this.authenticationNetworkProtocol = $.authenticationNetworkProtocol; + this.authenticationRadiusSharedSecret = $.authenticationRadiusSharedSecret; + this.authenticationSecondRadiusSharedSecret = $.authenticationSecondRadiusSharedSecret; + this.coaPort = $.coaPort; + this.description = $.description; + this.dtlsDnsName = $.dtlsDnsName; + this.ips = $.ips; + this.modelName = $.modelName; + this.name = $.name; + this.networkDeviceGroups = $.networkDeviceGroups; + this.profileName = $.profileName; + this.snmpLinkTrapQuery = $.snmpLinkTrapQuery; + this.snmpMacTrapQuery = $.snmpMacTrapQuery; + this.snmpOriginatingPolicyServiceNode = $.snmpOriginatingPolicyServiceNode; + this.snmpPollingInterval = $.snmpPollingInterval; + this.snmpRoCommunity = $.snmpRoCommunity; + this.snmpVersion = $.snmpVersion; + this.softwareVersion = $.softwareVersion; + this.tacacsConnectModeOptions = $.tacacsConnectModeOptions; + this.tacacsSharedSecret = $.tacacsSharedSecret; + this.trustsecCoaSourceHost = $.trustsecCoaSourceHost; + this.trustsecDeviceId = $.trustsecDeviceId; + this.trustsecDevicePassword = $.trustsecDevicePassword; + this.trustsecDownloadEnviromentDataEveryXSeconds = $.trustsecDownloadEnviromentDataEveryXSeconds; + this.trustsecDownloadPeerAuthorizationPolicyEveryXSeconds = $.trustsecDownloadPeerAuthorizationPolicyEveryXSeconds; + this.trustsecDownloadSgaclListsEveryXSeconds = $.trustsecDownloadSgaclListsEveryXSeconds; + this.trustsecEnableModePassword = $.trustsecEnableModePassword; + this.trustsecExecModePassword = $.trustsecExecModePassword; + this.trustsecExecModeUsername = $.trustsecExecModeUsername; + this.trustsecIncludeWhenDeployingSgtUpdates = $.trustsecIncludeWhenDeployingSgtUpdates; + this.trustsecOtherSgaDevicesToTrustThisDevice = $.trustsecOtherSgaDevicesToTrustThisDevice; + this.trustsecReAuthenticationEveryXSeconds = $.trustsecReAuthenticationEveryXSeconds; + this.trustsecRestApiPassword = $.trustsecRestApiPassword; + this.trustsecRestApiUsername = $.trustsecRestApiUsername; + this.trustsecSendConfigurationToDevice = $.trustsecSendConfigurationToDevice; + this.trustsecSendConfigurationToDeviceUsing = $.trustsecSendConfigurationToDeviceUsing; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DeviceState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DeviceState $; + + public Builder() { + $ = new DeviceState(); + } + + public Builder(DeviceState defaults) { + $ = new DeviceState(Objects.requireNonNull(defaults)); + } + + /** + * @param authenticationDtlsRequired Enforce use of DTLS + * + * @return builder + * + */ + public Builder authenticationDtlsRequired(@Nullable Output authenticationDtlsRequired) { + $.authenticationDtlsRequired = authenticationDtlsRequired; + return this; + } + + /** + * @param authenticationDtlsRequired Enforce use of DTLS + * + * @return builder + * + */ + public Builder authenticationDtlsRequired(Boolean authenticationDtlsRequired) { + return authenticationDtlsRequired(Output.of(authenticationDtlsRequired)); + } + + /** + * @param authenticationEnableKeyWrap Enable key wrap + * + * @return builder + * + */ + public Builder authenticationEnableKeyWrap(@Nullable Output authenticationEnableKeyWrap) { + $.authenticationEnableKeyWrap = authenticationEnableKeyWrap; + return this; + } + + /** + * @param authenticationEnableKeyWrap Enable key wrap + * + * @return builder + * + */ + public Builder authenticationEnableKeyWrap(Boolean authenticationEnableKeyWrap) { + return authenticationEnableKeyWrap(Output.of(authenticationEnableKeyWrap)); + } + + /** + * @param authenticationEnableMultiSecret Enable multiple RADIUS shared secrets + * + * @return builder + * + */ + public Builder authenticationEnableMultiSecret(@Nullable Output authenticationEnableMultiSecret) { + $.authenticationEnableMultiSecret = authenticationEnableMultiSecret; + return this; + } + + /** + * @param authenticationEnableMultiSecret Enable multiple RADIUS shared secrets + * + * @return builder + * + */ + public Builder authenticationEnableMultiSecret(Boolean authenticationEnableMultiSecret) { + return authenticationEnableMultiSecret(Output.of(authenticationEnableMultiSecret)); + } + + /** + * @param authenticationEncryptionKey Encryption key + * + * @return builder + * + */ + public Builder authenticationEncryptionKey(@Nullable Output authenticationEncryptionKey) { + $.authenticationEncryptionKey = authenticationEncryptionKey; + return this; + } + + /** + * @param authenticationEncryptionKey Encryption key + * + * @return builder + * + */ + public Builder authenticationEncryptionKey(String authenticationEncryptionKey) { + return authenticationEncryptionKey(Output.of(authenticationEncryptionKey)); + } + + /** + * @param authenticationEncryptionKeyFormat Key input format - Choices: `ASCII`, `HEXADECIMAL` + * + * @return builder + * + */ + public Builder authenticationEncryptionKeyFormat(@Nullable Output authenticationEncryptionKeyFormat) { + $.authenticationEncryptionKeyFormat = authenticationEncryptionKeyFormat; + return this; + } + + /** + * @param authenticationEncryptionKeyFormat Key input format - Choices: `ASCII`, `HEXADECIMAL` + * + * @return builder + * + */ + public Builder authenticationEncryptionKeyFormat(String authenticationEncryptionKeyFormat) { + return authenticationEncryptionKeyFormat(Output.of(authenticationEncryptionKeyFormat)); + } + + /** + * @param authenticationMessageAuthenticatorCodeKey Message authenticator code key + * + * @return builder + * + */ + public Builder authenticationMessageAuthenticatorCodeKey(@Nullable Output authenticationMessageAuthenticatorCodeKey) { + $.authenticationMessageAuthenticatorCodeKey = authenticationMessageAuthenticatorCodeKey; + return this; + } + + /** + * @param authenticationMessageAuthenticatorCodeKey Message authenticator code key + * + * @return builder + * + */ + public Builder authenticationMessageAuthenticatorCodeKey(String authenticationMessageAuthenticatorCodeKey) { + return authenticationMessageAuthenticatorCodeKey(Output.of(authenticationMessageAuthenticatorCodeKey)); + } + + /** + * @param authenticationNetworkProtocol Network protocol - Choices: `RADIUS`, `TACACS_PLUS` + * + * @return builder + * + */ + public Builder authenticationNetworkProtocol(@Nullable Output authenticationNetworkProtocol) { + $.authenticationNetworkProtocol = authenticationNetworkProtocol; + return this; + } + + /** + * @param authenticationNetworkProtocol Network protocol - Choices: `RADIUS`, `TACACS_PLUS` + * + * @return builder + * + */ + public Builder authenticationNetworkProtocol(String authenticationNetworkProtocol) { + return authenticationNetworkProtocol(Output.of(authenticationNetworkProtocol)); + } + + /** + * @param authenticationRadiusSharedSecret RADIUS shared secret + * + * @return builder + * + */ + public Builder authenticationRadiusSharedSecret(@Nullable Output authenticationRadiusSharedSecret) { + $.authenticationRadiusSharedSecret = authenticationRadiusSharedSecret; + return this; + } + + /** + * @param authenticationRadiusSharedSecret RADIUS shared secret + * + * @return builder + * + */ + public Builder authenticationRadiusSharedSecret(String authenticationRadiusSharedSecret) { + return authenticationRadiusSharedSecret(Output.of(authenticationRadiusSharedSecret)); + } + + /** + * @param authenticationSecondRadiusSharedSecret Second RADIUS shared secret + * + * @return builder + * + */ + public Builder authenticationSecondRadiusSharedSecret(@Nullable Output authenticationSecondRadiusSharedSecret) { + $.authenticationSecondRadiusSharedSecret = authenticationSecondRadiusSharedSecret; + return this; + } + + /** + * @param authenticationSecondRadiusSharedSecret Second RADIUS shared secret + * + * @return builder + * + */ + public Builder authenticationSecondRadiusSharedSecret(String authenticationSecondRadiusSharedSecret) { + return authenticationSecondRadiusSharedSecret(Output.of(authenticationSecondRadiusSharedSecret)); + } + + /** + * @param coaPort CoA port - Default value: `1700` + * + * @return builder + * + */ + public Builder coaPort(@Nullable Output coaPort) { + $.coaPort = coaPort; + return this; + } + + /** + * @param coaPort CoA port - Default value: `1700` + * + * @return builder + * + */ + public Builder coaPort(Integer coaPort) { + return coaPort(Output.of(coaPort)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param dtlsDnsName This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate + * + * @return builder + * + */ + public Builder dtlsDnsName(@Nullable Output dtlsDnsName) { + $.dtlsDnsName = dtlsDnsName; + return this; + } + + /** + * @param dtlsDnsName This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate + * + * @return builder + * + */ + public Builder dtlsDnsName(String dtlsDnsName) { + return dtlsDnsName(Output.of(dtlsDnsName)); + } + + /** + * @param ips List of IP subnets + * + * @return builder + * + */ + public Builder ips(@Nullable Output> ips) { + $.ips = ips; + return this; + } + + /** + * @param ips List of IP subnets + * + * @return builder + * + */ + public Builder ips(List ips) { + return ips(Output.of(ips)); + } + + /** + * @param ips List of IP subnets + * + * @return builder + * + */ + public Builder ips(DeviceIpArgs... ips) { + return ips(List.of(ips)); + } + + /** + * @param modelName Model name + * + * @return builder + * + */ + public Builder modelName(@Nullable Output modelName) { + $.modelName = modelName; + return this; + } + + /** + * @param modelName Model name + * + * @return builder + * + */ + public Builder modelName(String modelName) { + return modelName(Output.of(modelName)); + } + + /** + * @param name The name of the network device + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the network device + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param networkDeviceGroups List of network device groups, e.g. `Device Type#All Device Types#ACCESS` + * + * @return builder + * + */ + public Builder networkDeviceGroups(@Nullable Output> networkDeviceGroups) { + $.networkDeviceGroups = networkDeviceGroups; + return this; + } + + /** + * @param networkDeviceGroups List of network device groups, e.g. `Device Type#All Device Types#ACCESS` + * + * @return builder + * + */ + public Builder networkDeviceGroups(List networkDeviceGroups) { + return networkDeviceGroups(Output.of(networkDeviceGroups)); + } + + /** + * @param networkDeviceGroups List of network device groups, e.g. `Device Type#All Device Types#ACCESS` + * + * @return builder + * + */ + public Builder networkDeviceGroups(String... networkDeviceGroups) { + return networkDeviceGroups(List.of(networkDeviceGroups)); + } + + /** + * @param profileName Profile name - Default value: `Cisco` + * + * @return builder + * + */ + public Builder profileName(@Nullable Output profileName) { + $.profileName = profileName; + return this; + } + + /** + * @param profileName Profile name - Default value: `Cisco` + * + * @return builder + * + */ + public Builder profileName(String profileName) { + return profileName(Output.of(profileName)); + } + + /** + * @param snmpLinkTrapQuery SNMP link Trap Query + * + * @return builder + * + */ + public Builder snmpLinkTrapQuery(@Nullable Output snmpLinkTrapQuery) { + $.snmpLinkTrapQuery = snmpLinkTrapQuery; + return this; + } + + /** + * @param snmpLinkTrapQuery SNMP link Trap Query + * + * @return builder + * + */ + public Builder snmpLinkTrapQuery(Boolean snmpLinkTrapQuery) { + return snmpLinkTrapQuery(Output.of(snmpLinkTrapQuery)); + } + + /** + * @param snmpMacTrapQuery SNMP MAC Trap Query + * + * @return builder + * + */ + public Builder snmpMacTrapQuery(@Nullable Output snmpMacTrapQuery) { + $.snmpMacTrapQuery = snmpMacTrapQuery; + return this; + } + + /** + * @param snmpMacTrapQuery SNMP MAC Trap Query + * + * @return builder + * + */ + public Builder snmpMacTrapQuery(Boolean snmpMacTrapQuery) { + return snmpMacTrapQuery(Output.of(snmpMacTrapQuery)); + } + + /** + * @param snmpOriginatingPolicyServiceNode Originating Policy Services Node + * + * @return builder + * + */ + public Builder snmpOriginatingPolicyServiceNode(@Nullable Output snmpOriginatingPolicyServiceNode) { + $.snmpOriginatingPolicyServiceNode = snmpOriginatingPolicyServiceNode; + return this; + } + + /** + * @param snmpOriginatingPolicyServiceNode Originating Policy Services Node + * + * @return builder + * + */ + public Builder snmpOriginatingPolicyServiceNode(String snmpOriginatingPolicyServiceNode) { + return snmpOriginatingPolicyServiceNode(Output.of(snmpOriginatingPolicyServiceNode)); + } + + /** + * @param snmpPollingInterval SNMP Polling Interval in seconds - Range: `600`-`86400` + * + * @return builder + * + */ + public Builder snmpPollingInterval(@Nullable Output snmpPollingInterval) { + $.snmpPollingInterval = snmpPollingInterval; + return this; + } + + /** + * @param snmpPollingInterval SNMP Polling Interval in seconds - Range: `600`-`86400` + * + * @return builder + * + */ + public Builder snmpPollingInterval(Integer snmpPollingInterval) { + return snmpPollingInterval(Output.of(snmpPollingInterval)); + } + + /** + * @param snmpRoCommunity SNMP RO Community + * + * @return builder + * + */ + public Builder snmpRoCommunity(@Nullable Output snmpRoCommunity) { + $.snmpRoCommunity = snmpRoCommunity; + return this; + } + + /** + * @param snmpRoCommunity SNMP RO Community + * + * @return builder + * + */ + public Builder snmpRoCommunity(String snmpRoCommunity) { + return snmpRoCommunity(Output.of(snmpRoCommunity)); + } + + /** + * @param snmpVersion SNMP version - Choices: `ONE`, `TWO_C`, `THREE` + * + * @return builder + * + */ + public Builder snmpVersion(@Nullable Output snmpVersion) { + $.snmpVersion = snmpVersion; + return this; + } + + /** + * @param snmpVersion SNMP version - Choices: `ONE`, `TWO_C`, `THREE` + * + * @return builder + * + */ + public Builder snmpVersion(String snmpVersion) { + return snmpVersion(Output.of(snmpVersion)); + } + + /** + * @param softwareVersion Software version + * + * @return builder + * + */ + public Builder softwareVersion(@Nullable Output softwareVersion) { + $.softwareVersion = softwareVersion; + return this; + } + + /** + * @param softwareVersion Software version + * + * @return builder + * + */ + public Builder softwareVersion(String softwareVersion) { + return softwareVersion(Output.of(softwareVersion)); + } + + /** + * @param tacacsConnectModeOptions Connect mode options - Choices: `OFF`, `ON_LEGACY`, `ON_DRAFT_COMPLIANT` + * + * @return builder + * + */ + public Builder tacacsConnectModeOptions(@Nullable Output tacacsConnectModeOptions) { + $.tacacsConnectModeOptions = tacacsConnectModeOptions; + return this; + } + + /** + * @param tacacsConnectModeOptions Connect mode options - Choices: `OFF`, `ON_LEGACY`, `ON_DRAFT_COMPLIANT` + * + * @return builder + * + */ + public Builder tacacsConnectModeOptions(String tacacsConnectModeOptions) { + return tacacsConnectModeOptions(Output.of(tacacsConnectModeOptions)); + } + + /** + * @param tacacsSharedSecret Shared secret + * + * @return builder + * + */ + public Builder tacacsSharedSecret(@Nullable Output tacacsSharedSecret) { + $.tacacsSharedSecret = tacacsSharedSecret; + return this; + } + + /** + * @param tacacsSharedSecret Shared secret + * + * @return builder + * + */ + public Builder tacacsSharedSecret(String tacacsSharedSecret) { + return tacacsSharedSecret(Output.of(tacacsSharedSecret)); + } + + /** + * @param trustsecCoaSourceHost CoA source host + * + * @return builder + * + */ + public Builder trustsecCoaSourceHost(@Nullable Output trustsecCoaSourceHost) { + $.trustsecCoaSourceHost = trustsecCoaSourceHost; + return this; + } + + /** + * @param trustsecCoaSourceHost CoA source host + * + * @return builder + * + */ + public Builder trustsecCoaSourceHost(String trustsecCoaSourceHost) { + return trustsecCoaSourceHost(Output.of(trustsecCoaSourceHost)); + } + + /** + * @param trustsecDeviceId TrustSec device ID + * + * @return builder + * + */ + public Builder trustsecDeviceId(@Nullable Output trustsecDeviceId) { + $.trustsecDeviceId = trustsecDeviceId; + return this; + } + + /** + * @param trustsecDeviceId TrustSec device ID + * + * @return builder + * + */ + public Builder trustsecDeviceId(String trustsecDeviceId) { + return trustsecDeviceId(Output.of(trustsecDeviceId)); + } + + /** + * @param trustsecDevicePassword TrustSec device password + * + * @return builder + * + */ + public Builder trustsecDevicePassword(@Nullable Output trustsecDevicePassword) { + $.trustsecDevicePassword = trustsecDevicePassword; + return this; + } + + /** + * @param trustsecDevicePassword TrustSec device password + * + * @return builder + * + */ + public Builder trustsecDevicePassword(String trustsecDevicePassword) { + return trustsecDevicePassword(Output.of(trustsecDevicePassword)); + } + + /** + * @param trustsecDownloadEnviromentDataEveryXSeconds Download environment data every X seconds + * + * @return builder + * + */ + public Builder trustsecDownloadEnviromentDataEveryXSeconds(@Nullable Output trustsecDownloadEnviromentDataEveryXSeconds) { + $.trustsecDownloadEnviromentDataEveryXSeconds = trustsecDownloadEnviromentDataEveryXSeconds; + return this; + } + + /** + * @param trustsecDownloadEnviromentDataEveryXSeconds Download environment data every X seconds + * + * @return builder + * + */ + public Builder trustsecDownloadEnviromentDataEveryXSeconds(Integer trustsecDownloadEnviromentDataEveryXSeconds) { + return trustsecDownloadEnviromentDataEveryXSeconds(Output.of(trustsecDownloadEnviromentDataEveryXSeconds)); + } + + /** + * @param trustsecDownloadPeerAuthorizationPolicyEveryXSeconds Download peer authorization policy every X seconds + * + * @return builder + * + */ + public Builder trustsecDownloadPeerAuthorizationPolicyEveryXSeconds(@Nullable Output trustsecDownloadPeerAuthorizationPolicyEveryXSeconds) { + $.trustsecDownloadPeerAuthorizationPolicyEveryXSeconds = trustsecDownloadPeerAuthorizationPolicyEveryXSeconds; + return this; + } + + /** + * @param trustsecDownloadPeerAuthorizationPolicyEveryXSeconds Download peer authorization policy every X seconds + * + * @return builder + * + */ + public Builder trustsecDownloadPeerAuthorizationPolicyEveryXSeconds(Integer trustsecDownloadPeerAuthorizationPolicyEveryXSeconds) { + return trustsecDownloadPeerAuthorizationPolicyEveryXSeconds(Output.of(trustsecDownloadPeerAuthorizationPolicyEveryXSeconds)); + } + + /** + * @param trustsecDownloadSgaclListsEveryXSeconds Download SGACL lists every X seconds + * + * @return builder + * + */ + public Builder trustsecDownloadSgaclListsEveryXSeconds(@Nullable Output trustsecDownloadSgaclListsEveryXSeconds) { + $.trustsecDownloadSgaclListsEveryXSeconds = trustsecDownloadSgaclListsEveryXSeconds; + return this; + } + + /** + * @param trustsecDownloadSgaclListsEveryXSeconds Download SGACL lists every X seconds + * + * @return builder + * + */ + public Builder trustsecDownloadSgaclListsEveryXSeconds(Integer trustsecDownloadSgaclListsEveryXSeconds) { + return trustsecDownloadSgaclListsEveryXSeconds(Output.of(trustsecDownloadSgaclListsEveryXSeconds)); + } + + /** + * @param trustsecEnableModePassword Enable mode password + * + * @return builder + * + */ + public Builder trustsecEnableModePassword(@Nullable Output trustsecEnableModePassword) { + $.trustsecEnableModePassword = trustsecEnableModePassword; + return this; + } + + /** + * @param trustsecEnableModePassword Enable mode password + * + * @return builder + * + */ + public Builder trustsecEnableModePassword(String trustsecEnableModePassword) { + return trustsecEnableModePassword(Output.of(trustsecEnableModePassword)); + } + + /** + * @param trustsecExecModePassword EXEC mode password + * + * @return builder + * + */ + public Builder trustsecExecModePassword(@Nullable Output trustsecExecModePassword) { + $.trustsecExecModePassword = trustsecExecModePassword; + return this; + } + + /** + * @param trustsecExecModePassword EXEC mode password + * + * @return builder + * + */ + public Builder trustsecExecModePassword(String trustsecExecModePassword) { + return trustsecExecModePassword(Output.of(trustsecExecModePassword)); + } + + /** + * @param trustsecExecModeUsername EXEC mode username + * + * @return builder + * + */ + public Builder trustsecExecModeUsername(@Nullable Output trustsecExecModeUsername) { + $.trustsecExecModeUsername = trustsecExecModeUsername; + return this; + } + + /** + * @param trustsecExecModeUsername EXEC mode username + * + * @return builder + * + */ + public Builder trustsecExecModeUsername(String trustsecExecModeUsername) { + return trustsecExecModeUsername(Output.of(trustsecExecModeUsername)); + } + + /** + * @param trustsecIncludeWhenDeployingSgtUpdates Include this device when deploying Security Group Tag Mapping Updates + * + * @return builder + * + */ + public Builder trustsecIncludeWhenDeployingSgtUpdates(@Nullable Output trustsecIncludeWhenDeployingSgtUpdates) { + $.trustsecIncludeWhenDeployingSgtUpdates = trustsecIncludeWhenDeployingSgtUpdates; + return this; + } + + /** + * @param trustsecIncludeWhenDeployingSgtUpdates Include this device when deploying Security Group Tag Mapping Updates + * + * @return builder + * + */ + public Builder trustsecIncludeWhenDeployingSgtUpdates(Boolean trustsecIncludeWhenDeployingSgtUpdates) { + return trustsecIncludeWhenDeployingSgtUpdates(Output.of(trustsecIncludeWhenDeployingSgtUpdates)); + } + + /** + * @param trustsecOtherSgaDevicesToTrustThisDevice Other TrustSec devices to trust this device + * + * @return builder + * + */ + public Builder trustsecOtherSgaDevicesToTrustThisDevice(@Nullable Output trustsecOtherSgaDevicesToTrustThisDevice) { + $.trustsecOtherSgaDevicesToTrustThisDevice = trustsecOtherSgaDevicesToTrustThisDevice; + return this; + } + + /** + * @param trustsecOtherSgaDevicesToTrustThisDevice Other TrustSec devices to trust this device + * + * @return builder + * + */ + public Builder trustsecOtherSgaDevicesToTrustThisDevice(Boolean trustsecOtherSgaDevicesToTrustThisDevice) { + return trustsecOtherSgaDevicesToTrustThisDevice(Output.of(trustsecOtherSgaDevicesToTrustThisDevice)); + } + + /** + * @param trustsecReAuthenticationEveryXSeconds Re-authenticate every X seconds + * + * @return builder + * + */ + public Builder trustsecReAuthenticationEveryXSeconds(@Nullable Output trustsecReAuthenticationEveryXSeconds) { + $.trustsecReAuthenticationEveryXSeconds = trustsecReAuthenticationEveryXSeconds; + return this; + } + + /** + * @param trustsecReAuthenticationEveryXSeconds Re-authenticate every X seconds + * + * @return builder + * + */ + public Builder trustsecReAuthenticationEveryXSeconds(Integer trustsecReAuthenticationEveryXSeconds) { + return trustsecReAuthenticationEveryXSeconds(Output.of(trustsecReAuthenticationEveryXSeconds)); + } + + /** + * @param trustsecRestApiPassword REST API password + * + * @return builder + * + */ + public Builder trustsecRestApiPassword(@Nullable Output trustsecRestApiPassword) { + $.trustsecRestApiPassword = trustsecRestApiPassword; + return this; + } + + /** + * @param trustsecRestApiPassword REST API password + * + * @return builder + * + */ + public Builder trustsecRestApiPassword(String trustsecRestApiPassword) { + return trustsecRestApiPassword(Output.of(trustsecRestApiPassword)); + } + + /** + * @param trustsecRestApiUsername REST API username + * + * @return builder + * + */ + public Builder trustsecRestApiUsername(@Nullable Output trustsecRestApiUsername) { + $.trustsecRestApiUsername = trustsecRestApiUsername; + return this; + } + + /** + * @param trustsecRestApiUsername REST API username + * + * @return builder + * + */ + public Builder trustsecRestApiUsername(String trustsecRestApiUsername) { + return trustsecRestApiUsername(Output.of(trustsecRestApiUsername)); + } + + /** + * @param trustsecSendConfigurationToDevice Send configuration to device + * + * @return builder + * + */ + public Builder trustsecSendConfigurationToDevice(@Nullable Output trustsecSendConfigurationToDevice) { + $.trustsecSendConfigurationToDevice = trustsecSendConfigurationToDevice; + return this; + } + + /** + * @param trustsecSendConfigurationToDevice Send configuration to device + * + * @return builder + * + */ + public Builder trustsecSendConfigurationToDevice(Boolean trustsecSendConfigurationToDevice) { + return trustsecSendConfigurationToDevice(Output.of(trustsecSendConfigurationToDevice)); + } + + /** + * @param trustsecSendConfigurationToDeviceUsing Send configuration to device using - Choices: `DISABLE_ALL`, `ENABLE_USING_CLI`, `ENABLE_USING_COA` + * + * @return builder + * + */ + public Builder trustsecSendConfigurationToDeviceUsing(@Nullable Output trustsecSendConfigurationToDeviceUsing) { + $.trustsecSendConfigurationToDeviceUsing = trustsecSendConfigurationToDeviceUsing; + return this; + } + + /** + * @param trustsecSendConfigurationToDeviceUsing Send configuration to device using - Choices: `DISABLE_ALL`, `ENABLE_USING_CLI`, `ENABLE_USING_COA` + * + * @return builder + * + */ + public Builder trustsecSendConfigurationToDeviceUsing(String trustsecSendConfigurationToDeviceUsing) { + return trustsecSendConfigurationToDeviceUsing(Output.of(trustsecSendConfigurationToDeviceUsing)); + } + + public DeviceState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/inputs/GetDeviceArgs.java b/sdk/java/src/main/java/com/pulumi/ise/network/inputs/GetDeviceArgs.java new file mode 100644 index 0000000..b580202 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/inputs/GetDeviceArgs.java @@ -0,0 +1,120 @@ +// *** 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.network.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDeviceArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDeviceArgs Empty = new GetDeviceArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the network device + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the network device + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetDeviceArgs() {} + + private GetDeviceArgs(GetDeviceArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDeviceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDeviceArgs $; + + public Builder() { + $ = new GetDeviceArgs(); + } + + public Builder(GetDeviceArgs defaults) { + $ = new GetDeviceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the network device + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the network device + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetDeviceArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/inputs/GetDeviceGroupArgs.java b/sdk/java/src/main/java/com/pulumi/ise/network/inputs/GetDeviceGroupArgs.java new file mode 100644 index 0000000..432c654 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/inputs/GetDeviceGroupArgs.java @@ -0,0 +1,120 @@ +// *** 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.network.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDeviceGroupArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDeviceGroupArgs Empty = new GetDeviceGroupArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetDeviceGroupArgs() {} + + private GetDeviceGroupArgs(GetDeviceGroupArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDeviceGroupArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDeviceGroupArgs $; + + public Builder() { + $ = new GetDeviceGroupArgs(); + } + + public Builder(GetDeviceGroupArgs defaults) { + $ = new GetDeviceGroupArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetDeviceGroupArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/inputs/GetDeviceGroupPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/network/inputs/GetDeviceGroupPlainArgs.java new file mode 100644 index 0000000..b85f856 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/inputs/GetDeviceGroupPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.network.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDeviceGroupPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDeviceGroupPlainArgs Empty = new GetDeviceGroupPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetDeviceGroupPlainArgs() {} + + private GetDeviceGroupPlainArgs(GetDeviceGroupPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDeviceGroupPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDeviceGroupPlainArgs $; + + public Builder() { + $ = new GetDeviceGroupPlainArgs(); + } + + public Builder(GetDeviceGroupPlainArgs defaults) { + $ = new GetDeviceGroupPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetDeviceGroupPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/inputs/GetDevicePlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/network/inputs/GetDevicePlainArgs.java new file mode 100644 index 0000000..416dc0d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/inputs/GetDevicePlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.network.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDevicePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDevicePlainArgs Empty = new GetDevicePlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the network device + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the network device + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetDevicePlainArgs() {} + + private GetDevicePlainArgs(GetDevicePlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDevicePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDevicePlainArgs $; + + public Builder() { + $ = new GetDevicePlainArgs(); + } + + public Builder(GetDevicePlainArgs defaults) { + $ = new GetDevicePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the network device + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetDevicePlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/outputs/DeviceIp.java b/sdk/java/src/main/java/com/pulumi/ise/network/outputs/DeviceIp.java new file mode 100644 index 0000000..ac7dad2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/outputs/DeviceIp.java @@ -0,0 +1,102 @@ +// *** 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.network.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class DeviceIp { + /** + * @return It can be either single ip address or ip range address + * + */ + private String ipaddress; + /** + * @return It can be either single ip address or ip range address + * + */ + private @Nullable String ipaddressExclude; + /** + * @return Subnet mask length + * + */ + private @Nullable String mask; + + private DeviceIp() {} + /** + * @return It can be either single ip address or ip range address + * + */ + public String ipaddress() { + return this.ipaddress; + } + /** + * @return It can be either single ip address or ip range address + * + */ + public Optional ipaddressExclude() { + return Optional.ofNullable(this.ipaddressExclude); + } + /** + * @return Subnet mask length + * + */ + public Optional mask() { + return Optional.ofNullable(this.mask); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(DeviceIp defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String ipaddress; + private @Nullable String ipaddressExclude; + private @Nullable String mask; + public Builder() {} + public Builder(DeviceIp defaults) { + Objects.requireNonNull(defaults); + this.ipaddress = defaults.ipaddress; + this.ipaddressExclude = defaults.ipaddressExclude; + this.mask = defaults.mask; + } + + @CustomType.Setter + public Builder ipaddress(String ipaddress) { + if (ipaddress == null) { + throw new MissingRequiredPropertyException("DeviceIp", "ipaddress"); + } + this.ipaddress = ipaddress; + return this; + } + @CustomType.Setter + public Builder ipaddressExclude(@Nullable String ipaddressExclude) { + + this.ipaddressExclude = ipaddressExclude; + return this; + } + @CustomType.Setter + public Builder mask(@Nullable String mask) { + + this.mask = mask; + return this; + } + public DeviceIp build() { + final var _resultValue = new DeviceIp(); + _resultValue.ipaddress = ipaddress; + _resultValue.ipaddressExclude = ipaddressExclude; + _resultValue.mask = mask; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/outputs/GetDeviceGroupResult.java b/sdk/java/src/main/java/com/pulumi/ise/network/outputs/GetDeviceGroupResult.java new file mode 100644 index 0000000..ff55a69 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/outputs/GetDeviceGroupResult.java @@ -0,0 +1,127 @@ +// *** 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.network.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDeviceGroupResult { + /** + * @return Description + * + */ + private String description; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + */ + private String name; + /** + * @return The name of the root device group. + * + */ + private String rootGroup; + + private GetDeviceGroupResult() {} + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return The name of the network device group including its hierarchy, e.g. `Device Type#All Device Types#ACCESS`. + * + */ + public String name() { + return this.name; + } + /** + * @return The name of the root device group. + * + */ + public String rootGroup() { + return this.rootGroup; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeviceGroupResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private String id; + private String name; + private String rootGroup; + public Builder() {} + public Builder(GetDeviceGroupResult defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.id = defaults.id; + this.name = defaults.name; + this.rootGroup = defaults.rootGroup; + } + + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetDeviceGroupResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDeviceGroupResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetDeviceGroupResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder rootGroup(String rootGroup) { + if (rootGroup == null) { + throw new MissingRequiredPropertyException("GetDeviceGroupResult", "rootGroup"); + } + this.rootGroup = rootGroup; + return this; + } + public GetDeviceGroupResult build() { + final var _resultValue = new GetDeviceGroupResult(); + _resultValue.description = description; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.rootGroup = rootGroup; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/outputs/GetDeviceIp.java b/sdk/java/src/main/java/com/pulumi/ise/network/outputs/GetDeviceIp.java new file mode 100644 index 0000000..2a7b4f5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/outputs/GetDeviceIp.java @@ -0,0 +1,104 @@ +// *** 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.network.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDeviceIp { + /** + * @return It can be either single ip address or ip range address + * + */ + private String ipaddress; + /** + * @return It can be either single ip address or ip range address + * + */ + private String ipaddressExclude; + /** + * @return Subnet mask length + * + */ + private String mask; + + private GetDeviceIp() {} + /** + * @return It can be either single ip address or ip range address + * + */ + public String ipaddress() { + return this.ipaddress; + } + /** + * @return It can be either single ip address or ip range address + * + */ + public String ipaddressExclude() { + return this.ipaddressExclude; + } + /** + * @return Subnet mask length + * + */ + public String mask() { + return this.mask; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeviceIp defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String ipaddress; + private String ipaddressExclude; + private String mask; + public Builder() {} + public Builder(GetDeviceIp defaults) { + Objects.requireNonNull(defaults); + this.ipaddress = defaults.ipaddress; + this.ipaddressExclude = defaults.ipaddressExclude; + this.mask = defaults.mask; + } + + @CustomType.Setter + public Builder ipaddress(String ipaddress) { + if (ipaddress == null) { + throw new MissingRequiredPropertyException("GetDeviceIp", "ipaddress"); + } + this.ipaddress = ipaddress; + return this; + } + @CustomType.Setter + public Builder ipaddressExclude(String ipaddressExclude) { + if (ipaddressExclude == null) { + throw new MissingRequiredPropertyException("GetDeviceIp", "ipaddressExclude"); + } + this.ipaddressExclude = ipaddressExclude; + return this; + } + @CustomType.Setter + public Builder mask(String mask) { + if (mask == null) { + throw new MissingRequiredPropertyException("GetDeviceIp", "mask"); + } + this.mask = mask; + return this; + } + public GetDeviceIp build() { + final var _resultValue = new GetDeviceIp(); + _resultValue.ipaddress = ipaddress; + _resultValue.ipaddressExclude = ipaddressExclude; + _resultValue.mask = mask; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/network/outputs/GetDeviceResult.java b/sdk/java/src/main/java/com/pulumi/ise/network/outputs/GetDeviceResult.java new file mode 100644 index 0000000..d642392 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/network/outputs/GetDeviceResult.java @@ -0,0 +1,1034 @@ +// *** 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.network.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.network.outputs.GetDeviceIp; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDeviceResult { + /** + * @return Enforce use of DTLS + * + */ + private Boolean authenticationDtlsRequired; + /** + * @return Enable key wrap + * + */ + private Boolean authenticationEnableKeyWrap; + /** + * @return Enable multiple RADIUS shared secrets + * + */ + private Boolean authenticationEnableMultiSecret; + /** + * @return Encryption key + * + */ + private String authenticationEncryptionKey; + /** + * @return Key input format + * + */ + private String authenticationEncryptionKeyFormat; + /** + * @return Message authenticator code key + * + */ + private String authenticationMessageAuthenticatorCodeKey; + /** + * @return Network protocol + * + */ + private String authenticationNetworkProtocol; + /** + * @return RADIUS shared secret + * + */ + private String authenticationRadiusSharedSecret; + /** + * @return Second RADIUS shared secret + * + */ + private String authenticationSecondRadiusSharedSecret; + /** + * @return CoA port + * + */ + private Integer coaPort; + /** + * @return Description + * + */ + private String description; + /** + * @return This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate + * + */ + private String dtlsDnsName; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return List of IP subnets + * + */ + private List ips; + /** + * @return Model name + * + */ + private String modelName; + /** + * @return The name of the network device + * + */ + private String name; + /** + * @return List of network device groups, e.g. `Device Type#All Device Types#ACCESS` + * + */ + private List networkDeviceGroups; + /** + * @return Profile name + * + */ + private String profileName; + /** + * @return SNMP link Trap Query + * + */ + private Boolean snmpLinkTrapQuery; + /** + * @return SNMP MAC Trap Query + * + */ + private Boolean snmpMacTrapQuery; + /** + * @return Originating Policy Services Node + * + */ + private String snmpOriginatingPolicyServiceNode; + /** + * @return SNMP Polling Interval in seconds + * + */ + private Integer snmpPollingInterval; + /** + * @return SNMP RO Community + * + */ + private String snmpRoCommunity; + /** + * @return SNMP version + * + */ + private String snmpVersion; + /** + * @return Software version + * + */ + private String softwareVersion; + /** + * @return Connect mode options + * + */ + private String tacacsConnectModeOptions; + /** + * @return Shared secret + * + */ + private String tacacsSharedSecret; + /** + * @return CoA source host + * + */ + private String trustsecCoaSourceHost; + /** + * @return TrustSec device ID + * + */ + private String trustsecDeviceId; + /** + * @return TrustSec device password + * + */ + private String trustsecDevicePassword; + /** + * @return Download environment data every X seconds + * + */ + private Integer trustsecDownloadEnviromentDataEveryXSeconds; + /** + * @return Download peer authorization policy every X seconds + * + */ + private Integer trustsecDownloadPeerAuthorizationPolicyEveryXSeconds; + /** + * @return Download SGACL lists every X seconds + * + */ + private Integer trustsecDownloadSgaclListsEveryXSeconds; + /** + * @return Enable mode password + * + */ + private String trustsecEnableModePassword; + /** + * @return EXEC mode password + * + */ + private String trustsecExecModePassword; + /** + * @return EXEC mode username + * + */ + private String trustsecExecModeUsername; + /** + * @return Include this device when deploying Security Group Tag Mapping Updates + * + */ + private Boolean trustsecIncludeWhenDeployingSgtUpdates; + /** + * @return Other TrustSec devices to trust this device + * + */ + private Boolean trustsecOtherSgaDevicesToTrustThisDevice; + /** + * @return Re-authenticate every X seconds + * + */ + private Integer trustsecReAuthenticationEveryXSeconds; + /** + * @return REST API password + * + */ + private String trustsecRestApiPassword; + /** + * @return REST API username + * + */ + private String trustsecRestApiUsername; + /** + * @return Send configuration to device + * + */ + private Boolean trustsecSendConfigurationToDevice; + /** + * @return Send configuration to device using + * + */ + private String trustsecSendConfigurationToDeviceUsing; + + private GetDeviceResult() {} + /** + * @return Enforce use of DTLS + * + */ + public Boolean authenticationDtlsRequired() { + return this.authenticationDtlsRequired; + } + /** + * @return Enable key wrap + * + */ + public Boolean authenticationEnableKeyWrap() { + return this.authenticationEnableKeyWrap; + } + /** + * @return Enable multiple RADIUS shared secrets + * + */ + public Boolean authenticationEnableMultiSecret() { + return this.authenticationEnableMultiSecret; + } + /** + * @return Encryption key + * + */ + public String authenticationEncryptionKey() { + return this.authenticationEncryptionKey; + } + /** + * @return Key input format + * + */ + public String authenticationEncryptionKeyFormat() { + return this.authenticationEncryptionKeyFormat; + } + /** + * @return Message authenticator code key + * + */ + public String authenticationMessageAuthenticatorCodeKey() { + return this.authenticationMessageAuthenticatorCodeKey; + } + /** + * @return Network protocol + * + */ + public String authenticationNetworkProtocol() { + return this.authenticationNetworkProtocol; + } + /** + * @return RADIUS shared secret + * + */ + public String authenticationRadiusSharedSecret() { + return this.authenticationRadiusSharedSecret; + } + /** + * @return Second RADIUS shared secret + * + */ + public String authenticationSecondRadiusSharedSecret() { + return this.authenticationSecondRadiusSharedSecret; + } + /** + * @return CoA port + * + */ + public Integer coaPort() { + return this.coaPort; + } + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate + * + */ + public String dtlsDnsName() { + return this.dtlsDnsName; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return List of IP subnets + * + */ + public List ips() { + return this.ips; + } + /** + * @return Model name + * + */ + public String modelName() { + return this.modelName; + } + /** + * @return The name of the network device + * + */ + public String name() { + return this.name; + } + /** + * @return List of network device groups, e.g. `Device Type#All Device Types#ACCESS` + * + */ + public List networkDeviceGroups() { + return this.networkDeviceGroups; + } + /** + * @return Profile name + * + */ + public String profileName() { + return this.profileName; + } + /** + * @return SNMP link Trap Query + * + */ + public Boolean snmpLinkTrapQuery() { + return this.snmpLinkTrapQuery; + } + /** + * @return SNMP MAC Trap Query + * + */ + public Boolean snmpMacTrapQuery() { + return this.snmpMacTrapQuery; + } + /** + * @return Originating Policy Services Node + * + */ + public String snmpOriginatingPolicyServiceNode() { + return this.snmpOriginatingPolicyServiceNode; + } + /** + * @return SNMP Polling Interval in seconds + * + */ + public Integer snmpPollingInterval() { + return this.snmpPollingInterval; + } + /** + * @return SNMP RO Community + * + */ + public String snmpRoCommunity() { + return this.snmpRoCommunity; + } + /** + * @return SNMP version + * + */ + public String snmpVersion() { + return this.snmpVersion; + } + /** + * @return Software version + * + */ + public String softwareVersion() { + return this.softwareVersion; + } + /** + * @return Connect mode options + * + */ + public String tacacsConnectModeOptions() { + return this.tacacsConnectModeOptions; + } + /** + * @return Shared secret + * + */ + public String tacacsSharedSecret() { + return this.tacacsSharedSecret; + } + /** + * @return CoA source host + * + */ + public String trustsecCoaSourceHost() { + return this.trustsecCoaSourceHost; + } + /** + * @return TrustSec device ID + * + */ + public String trustsecDeviceId() { + return this.trustsecDeviceId; + } + /** + * @return TrustSec device password + * + */ + public String trustsecDevicePassword() { + return this.trustsecDevicePassword; + } + /** + * @return Download environment data every X seconds + * + */ + public Integer trustsecDownloadEnviromentDataEveryXSeconds() { + return this.trustsecDownloadEnviromentDataEveryXSeconds; + } + /** + * @return Download peer authorization policy every X seconds + * + */ + public Integer trustsecDownloadPeerAuthorizationPolicyEveryXSeconds() { + return this.trustsecDownloadPeerAuthorizationPolicyEveryXSeconds; + } + /** + * @return Download SGACL lists every X seconds + * + */ + public Integer trustsecDownloadSgaclListsEveryXSeconds() { + return this.trustsecDownloadSgaclListsEveryXSeconds; + } + /** + * @return Enable mode password + * + */ + public String trustsecEnableModePassword() { + return this.trustsecEnableModePassword; + } + /** + * @return EXEC mode password + * + */ + public String trustsecExecModePassword() { + return this.trustsecExecModePassword; + } + /** + * @return EXEC mode username + * + */ + public String trustsecExecModeUsername() { + return this.trustsecExecModeUsername; + } + /** + * @return Include this device when deploying Security Group Tag Mapping Updates + * + */ + public Boolean trustsecIncludeWhenDeployingSgtUpdates() { + return this.trustsecIncludeWhenDeployingSgtUpdates; + } + /** + * @return Other TrustSec devices to trust this device + * + */ + public Boolean trustsecOtherSgaDevicesToTrustThisDevice() { + return this.trustsecOtherSgaDevicesToTrustThisDevice; + } + /** + * @return Re-authenticate every X seconds + * + */ + public Integer trustsecReAuthenticationEveryXSeconds() { + return this.trustsecReAuthenticationEveryXSeconds; + } + /** + * @return REST API password + * + */ + public String trustsecRestApiPassword() { + return this.trustsecRestApiPassword; + } + /** + * @return REST API username + * + */ + public String trustsecRestApiUsername() { + return this.trustsecRestApiUsername; + } + /** + * @return Send configuration to device + * + */ + public Boolean trustsecSendConfigurationToDevice() { + return this.trustsecSendConfigurationToDevice; + } + /** + * @return Send configuration to device using + * + */ + public String trustsecSendConfigurationToDeviceUsing() { + return this.trustsecSendConfigurationToDeviceUsing; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeviceResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean authenticationDtlsRequired; + private Boolean authenticationEnableKeyWrap; + private Boolean authenticationEnableMultiSecret; + private String authenticationEncryptionKey; + private String authenticationEncryptionKeyFormat; + private String authenticationMessageAuthenticatorCodeKey; + private String authenticationNetworkProtocol; + private String authenticationRadiusSharedSecret; + private String authenticationSecondRadiusSharedSecret; + private Integer coaPort; + private String description; + private String dtlsDnsName; + private String id; + private List ips; + private String modelName; + private String name; + private List networkDeviceGroups; + private String profileName; + private Boolean snmpLinkTrapQuery; + private Boolean snmpMacTrapQuery; + private String snmpOriginatingPolicyServiceNode; + private Integer snmpPollingInterval; + private String snmpRoCommunity; + private String snmpVersion; + private String softwareVersion; + private String tacacsConnectModeOptions; + private String tacacsSharedSecret; + private String trustsecCoaSourceHost; + private String trustsecDeviceId; + private String trustsecDevicePassword; + private Integer trustsecDownloadEnviromentDataEveryXSeconds; + private Integer trustsecDownloadPeerAuthorizationPolicyEveryXSeconds; + private Integer trustsecDownloadSgaclListsEveryXSeconds; + private String trustsecEnableModePassword; + private String trustsecExecModePassword; + private String trustsecExecModeUsername; + private Boolean trustsecIncludeWhenDeployingSgtUpdates; + private Boolean trustsecOtherSgaDevicesToTrustThisDevice; + private Integer trustsecReAuthenticationEveryXSeconds; + private String trustsecRestApiPassword; + private String trustsecRestApiUsername; + private Boolean trustsecSendConfigurationToDevice; + private String trustsecSendConfigurationToDeviceUsing; + public Builder() {} + public Builder(GetDeviceResult defaults) { + Objects.requireNonNull(defaults); + this.authenticationDtlsRequired = defaults.authenticationDtlsRequired; + this.authenticationEnableKeyWrap = defaults.authenticationEnableKeyWrap; + this.authenticationEnableMultiSecret = defaults.authenticationEnableMultiSecret; + this.authenticationEncryptionKey = defaults.authenticationEncryptionKey; + this.authenticationEncryptionKeyFormat = defaults.authenticationEncryptionKeyFormat; + this.authenticationMessageAuthenticatorCodeKey = defaults.authenticationMessageAuthenticatorCodeKey; + this.authenticationNetworkProtocol = defaults.authenticationNetworkProtocol; + this.authenticationRadiusSharedSecret = defaults.authenticationRadiusSharedSecret; + this.authenticationSecondRadiusSharedSecret = defaults.authenticationSecondRadiusSharedSecret; + this.coaPort = defaults.coaPort; + this.description = defaults.description; + this.dtlsDnsName = defaults.dtlsDnsName; + this.id = defaults.id; + this.ips = defaults.ips; + this.modelName = defaults.modelName; + this.name = defaults.name; + this.networkDeviceGroups = defaults.networkDeviceGroups; + this.profileName = defaults.profileName; + this.snmpLinkTrapQuery = defaults.snmpLinkTrapQuery; + this.snmpMacTrapQuery = defaults.snmpMacTrapQuery; + this.snmpOriginatingPolicyServiceNode = defaults.snmpOriginatingPolicyServiceNode; + this.snmpPollingInterval = defaults.snmpPollingInterval; + this.snmpRoCommunity = defaults.snmpRoCommunity; + this.snmpVersion = defaults.snmpVersion; + this.softwareVersion = defaults.softwareVersion; + this.tacacsConnectModeOptions = defaults.tacacsConnectModeOptions; + this.tacacsSharedSecret = defaults.tacacsSharedSecret; + this.trustsecCoaSourceHost = defaults.trustsecCoaSourceHost; + this.trustsecDeviceId = defaults.trustsecDeviceId; + this.trustsecDevicePassword = defaults.trustsecDevicePassword; + this.trustsecDownloadEnviromentDataEveryXSeconds = defaults.trustsecDownloadEnviromentDataEveryXSeconds; + this.trustsecDownloadPeerAuthorizationPolicyEveryXSeconds = defaults.trustsecDownloadPeerAuthorizationPolicyEveryXSeconds; + this.trustsecDownloadSgaclListsEveryXSeconds = defaults.trustsecDownloadSgaclListsEveryXSeconds; + this.trustsecEnableModePassword = defaults.trustsecEnableModePassword; + this.trustsecExecModePassword = defaults.trustsecExecModePassword; + this.trustsecExecModeUsername = defaults.trustsecExecModeUsername; + this.trustsecIncludeWhenDeployingSgtUpdates = defaults.trustsecIncludeWhenDeployingSgtUpdates; + this.trustsecOtherSgaDevicesToTrustThisDevice = defaults.trustsecOtherSgaDevicesToTrustThisDevice; + this.trustsecReAuthenticationEveryXSeconds = defaults.trustsecReAuthenticationEveryXSeconds; + this.trustsecRestApiPassword = defaults.trustsecRestApiPassword; + this.trustsecRestApiUsername = defaults.trustsecRestApiUsername; + this.trustsecSendConfigurationToDevice = defaults.trustsecSendConfigurationToDevice; + this.trustsecSendConfigurationToDeviceUsing = defaults.trustsecSendConfigurationToDeviceUsing; + } + + @CustomType.Setter + public Builder authenticationDtlsRequired(Boolean authenticationDtlsRequired) { + if (authenticationDtlsRequired == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "authenticationDtlsRequired"); + } + this.authenticationDtlsRequired = authenticationDtlsRequired; + return this; + } + @CustomType.Setter + public Builder authenticationEnableKeyWrap(Boolean authenticationEnableKeyWrap) { + if (authenticationEnableKeyWrap == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "authenticationEnableKeyWrap"); + } + this.authenticationEnableKeyWrap = authenticationEnableKeyWrap; + return this; + } + @CustomType.Setter + public Builder authenticationEnableMultiSecret(Boolean authenticationEnableMultiSecret) { + if (authenticationEnableMultiSecret == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "authenticationEnableMultiSecret"); + } + this.authenticationEnableMultiSecret = authenticationEnableMultiSecret; + return this; + } + @CustomType.Setter + public Builder authenticationEncryptionKey(String authenticationEncryptionKey) { + if (authenticationEncryptionKey == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "authenticationEncryptionKey"); + } + this.authenticationEncryptionKey = authenticationEncryptionKey; + return this; + } + @CustomType.Setter + public Builder authenticationEncryptionKeyFormat(String authenticationEncryptionKeyFormat) { + if (authenticationEncryptionKeyFormat == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "authenticationEncryptionKeyFormat"); + } + this.authenticationEncryptionKeyFormat = authenticationEncryptionKeyFormat; + return this; + } + @CustomType.Setter + public Builder authenticationMessageAuthenticatorCodeKey(String authenticationMessageAuthenticatorCodeKey) { + if (authenticationMessageAuthenticatorCodeKey == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "authenticationMessageAuthenticatorCodeKey"); + } + this.authenticationMessageAuthenticatorCodeKey = authenticationMessageAuthenticatorCodeKey; + return this; + } + @CustomType.Setter + public Builder authenticationNetworkProtocol(String authenticationNetworkProtocol) { + if (authenticationNetworkProtocol == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "authenticationNetworkProtocol"); + } + this.authenticationNetworkProtocol = authenticationNetworkProtocol; + return this; + } + @CustomType.Setter + public Builder authenticationRadiusSharedSecret(String authenticationRadiusSharedSecret) { + if (authenticationRadiusSharedSecret == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "authenticationRadiusSharedSecret"); + } + this.authenticationRadiusSharedSecret = authenticationRadiusSharedSecret; + return this; + } + @CustomType.Setter + public Builder authenticationSecondRadiusSharedSecret(String authenticationSecondRadiusSharedSecret) { + if (authenticationSecondRadiusSharedSecret == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "authenticationSecondRadiusSharedSecret"); + } + this.authenticationSecondRadiusSharedSecret = authenticationSecondRadiusSharedSecret; + return this; + } + @CustomType.Setter + public Builder coaPort(Integer coaPort) { + if (coaPort == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "coaPort"); + } + this.coaPort = coaPort; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder dtlsDnsName(String dtlsDnsName) { + if (dtlsDnsName == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "dtlsDnsName"); + } + this.dtlsDnsName = dtlsDnsName; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder ips(List ips) { + if (ips == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "ips"); + } + this.ips = ips; + return this; + } + public Builder ips(GetDeviceIp... ips) { + return ips(List.of(ips)); + } + @CustomType.Setter + public Builder modelName(String modelName) { + if (modelName == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "modelName"); + } + this.modelName = modelName; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder networkDeviceGroups(List networkDeviceGroups) { + if (networkDeviceGroups == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "networkDeviceGroups"); + } + this.networkDeviceGroups = networkDeviceGroups; + return this; + } + public Builder networkDeviceGroups(String... networkDeviceGroups) { + return networkDeviceGroups(List.of(networkDeviceGroups)); + } + @CustomType.Setter + public Builder profileName(String profileName) { + if (profileName == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "profileName"); + } + this.profileName = profileName; + return this; + } + @CustomType.Setter + public Builder snmpLinkTrapQuery(Boolean snmpLinkTrapQuery) { + if (snmpLinkTrapQuery == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "snmpLinkTrapQuery"); + } + this.snmpLinkTrapQuery = snmpLinkTrapQuery; + return this; + } + @CustomType.Setter + public Builder snmpMacTrapQuery(Boolean snmpMacTrapQuery) { + if (snmpMacTrapQuery == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "snmpMacTrapQuery"); + } + this.snmpMacTrapQuery = snmpMacTrapQuery; + return this; + } + @CustomType.Setter + public Builder snmpOriginatingPolicyServiceNode(String snmpOriginatingPolicyServiceNode) { + if (snmpOriginatingPolicyServiceNode == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "snmpOriginatingPolicyServiceNode"); + } + this.snmpOriginatingPolicyServiceNode = snmpOriginatingPolicyServiceNode; + return this; + } + @CustomType.Setter + public Builder snmpPollingInterval(Integer snmpPollingInterval) { + if (snmpPollingInterval == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "snmpPollingInterval"); + } + this.snmpPollingInterval = snmpPollingInterval; + return this; + } + @CustomType.Setter + public Builder snmpRoCommunity(String snmpRoCommunity) { + if (snmpRoCommunity == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "snmpRoCommunity"); + } + this.snmpRoCommunity = snmpRoCommunity; + return this; + } + @CustomType.Setter + public Builder snmpVersion(String snmpVersion) { + if (snmpVersion == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "snmpVersion"); + } + this.snmpVersion = snmpVersion; + return this; + } + @CustomType.Setter + public Builder softwareVersion(String softwareVersion) { + if (softwareVersion == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "softwareVersion"); + } + this.softwareVersion = softwareVersion; + return this; + } + @CustomType.Setter + public Builder tacacsConnectModeOptions(String tacacsConnectModeOptions) { + if (tacacsConnectModeOptions == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "tacacsConnectModeOptions"); + } + this.tacacsConnectModeOptions = tacacsConnectModeOptions; + return this; + } + @CustomType.Setter + public Builder tacacsSharedSecret(String tacacsSharedSecret) { + if (tacacsSharedSecret == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "tacacsSharedSecret"); + } + this.tacacsSharedSecret = tacacsSharedSecret; + return this; + } + @CustomType.Setter + public Builder trustsecCoaSourceHost(String trustsecCoaSourceHost) { + if (trustsecCoaSourceHost == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecCoaSourceHost"); + } + this.trustsecCoaSourceHost = trustsecCoaSourceHost; + return this; + } + @CustomType.Setter + public Builder trustsecDeviceId(String trustsecDeviceId) { + if (trustsecDeviceId == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecDeviceId"); + } + this.trustsecDeviceId = trustsecDeviceId; + return this; + } + @CustomType.Setter + public Builder trustsecDevicePassword(String trustsecDevicePassword) { + if (trustsecDevicePassword == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecDevicePassword"); + } + this.trustsecDevicePassword = trustsecDevicePassword; + return this; + } + @CustomType.Setter + public Builder trustsecDownloadEnviromentDataEveryXSeconds(Integer trustsecDownloadEnviromentDataEveryXSeconds) { + if (trustsecDownloadEnviromentDataEveryXSeconds == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecDownloadEnviromentDataEveryXSeconds"); + } + this.trustsecDownloadEnviromentDataEveryXSeconds = trustsecDownloadEnviromentDataEveryXSeconds; + return this; + } + @CustomType.Setter + public Builder trustsecDownloadPeerAuthorizationPolicyEveryXSeconds(Integer trustsecDownloadPeerAuthorizationPolicyEveryXSeconds) { + if (trustsecDownloadPeerAuthorizationPolicyEveryXSeconds == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecDownloadPeerAuthorizationPolicyEveryXSeconds"); + } + this.trustsecDownloadPeerAuthorizationPolicyEveryXSeconds = trustsecDownloadPeerAuthorizationPolicyEveryXSeconds; + return this; + } + @CustomType.Setter + public Builder trustsecDownloadSgaclListsEveryXSeconds(Integer trustsecDownloadSgaclListsEveryXSeconds) { + if (trustsecDownloadSgaclListsEveryXSeconds == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecDownloadSgaclListsEveryXSeconds"); + } + this.trustsecDownloadSgaclListsEveryXSeconds = trustsecDownloadSgaclListsEveryXSeconds; + return this; + } + @CustomType.Setter + public Builder trustsecEnableModePassword(String trustsecEnableModePassword) { + if (trustsecEnableModePassword == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecEnableModePassword"); + } + this.trustsecEnableModePassword = trustsecEnableModePassword; + return this; + } + @CustomType.Setter + public Builder trustsecExecModePassword(String trustsecExecModePassword) { + if (trustsecExecModePassword == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecExecModePassword"); + } + this.trustsecExecModePassword = trustsecExecModePassword; + return this; + } + @CustomType.Setter + public Builder trustsecExecModeUsername(String trustsecExecModeUsername) { + if (trustsecExecModeUsername == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecExecModeUsername"); + } + this.trustsecExecModeUsername = trustsecExecModeUsername; + return this; + } + @CustomType.Setter + public Builder trustsecIncludeWhenDeployingSgtUpdates(Boolean trustsecIncludeWhenDeployingSgtUpdates) { + if (trustsecIncludeWhenDeployingSgtUpdates == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecIncludeWhenDeployingSgtUpdates"); + } + this.trustsecIncludeWhenDeployingSgtUpdates = trustsecIncludeWhenDeployingSgtUpdates; + return this; + } + @CustomType.Setter + public Builder trustsecOtherSgaDevicesToTrustThisDevice(Boolean trustsecOtherSgaDevicesToTrustThisDevice) { + if (trustsecOtherSgaDevicesToTrustThisDevice == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecOtherSgaDevicesToTrustThisDevice"); + } + this.trustsecOtherSgaDevicesToTrustThisDevice = trustsecOtherSgaDevicesToTrustThisDevice; + return this; + } + @CustomType.Setter + public Builder trustsecReAuthenticationEveryXSeconds(Integer trustsecReAuthenticationEveryXSeconds) { + if (trustsecReAuthenticationEveryXSeconds == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecReAuthenticationEveryXSeconds"); + } + this.trustsecReAuthenticationEveryXSeconds = trustsecReAuthenticationEveryXSeconds; + return this; + } + @CustomType.Setter + public Builder trustsecRestApiPassword(String trustsecRestApiPassword) { + if (trustsecRestApiPassword == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecRestApiPassword"); + } + this.trustsecRestApiPassword = trustsecRestApiPassword; + return this; + } + @CustomType.Setter + public Builder trustsecRestApiUsername(String trustsecRestApiUsername) { + if (trustsecRestApiUsername == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecRestApiUsername"); + } + this.trustsecRestApiUsername = trustsecRestApiUsername; + return this; + } + @CustomType.Setter + public Builder trustsecSendConfigurationToDevice(Boolean trustsecSendConfigurationToDevice) { + if (trustsecSendConfigurationToDevice == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecSendConfigurationToDevice"); + } + this.trustsecSendConfigurationToDevice = trustsecSendConfigurationToDevice; + return this; + } + @CustomType.Setter + public Builder trustsecSendConfigurationToDeviceUsing(String trustsecSendConfigurationToDeviceUsing) { + if (trustsecSendConfigurationToDeviceUsing == null) { + throw new MissingRequiredPropertyException("GetDeviceResult", "trustsecSendConfigurationToDeviceUsing"); + } + this.trustsecSendConfigurationToDeviceUsing = trustsecSendConfigurationToDeviceUsing; + return this; + } + public GetDeviceResult build() { + final var _resultValue = new GetDeviceResult(); + _resultValue.authenticationDtlsRequired = authenticationDtlsRequired; + _resultValue.authenticationEnableKeyWrap = authenticationEnableKeyWrap; + _resultValue.authenticationEnableMultiSecret = authenticationEnableMultiSecret; + _resultValue.authenticationEncryptionKey = authenticationEncryptionKey; + _resultValue.authenticationEncryptionKeyFormat = authenticationEncryptionKeyFormat; + _resultValue.authenticationMessageAuthenticatorCodeKey = authenticationMessageAuthenticatorCodeKey; + _resultValue.authenticationNetworkProtocol = authenticationNetworkProtocol; + _resultValue.authenticationRadiusSharedSecret = authenticationRadiusSharedSecret; + _resultValue.authenticationSecondRadiusSharedSecret = authenticationSecondRadiusSharedSecret; + _resultValue.coaPort = coaPort; + _resultValue.description = description; + _resultValue.dtlsDnsName = dtlsDnsName; + _resultValue.id = id; + _resultValue.ips = ips; + _resultValue.modelName = modelName; + _resultValue.name = name; + _resultValue.networkDeviceGroups = networkDeviceGroups; + _resultValue.profileName = profileName; + _resultValue.snmpLinkTrapQuery = snmpLinkTrapQuery; + _resultValue.snmpMacTrapQuery = snmpMacTrapQuery; + _resultValue.snmpOriginatingPolicyServiceNode = snmpOriginatingPolicyServiceNode; + _resultValue.snmpPollingInterval = snmpPollingInterval; + _resultValue.snmpRoCommunity = snmpRoCommunity; + _resultValue.snmpVersion = snmpVersion; + _resultValue.softwareVersion = softwareVersion; + _resultValue.tacacsConnectModeOptions = tacacsConnectModeOptions; + _resultValue.tacacsSharedSecret = tacacsSharedSecret; + _resultValue.trustsecCoaSourceHost = trustsecCoaSourceHost; + _resultValue.trustsecDeviceId = trustsecDeviceId; + _resultValue.trustsecDevicePassword = trustsecDevicePassword; + _resultValue.trustsecDownloadEnviromentDataEveryXSeconds = trustsecDownloadEnviromentDataEveryXSeconds; + _resultValue.trustsecDownloadPeerAuthorizationPolicyEveryXSeconds = trustsecDownloadPeerAuthorizationPolicyEveryXSeconds; + _resultValue.trustsecDownloadSgaclListsEveryXSeconds = trustsecDownloadSgaclListsEveryXSeconds; + _resultValue.trustsecEnableModePassword = trustsecEnableModePassword; + _resultValue.trustsecExecModePassword = trustsecExecModePassword; + _resultValue.trustsecExecModeUsername = trustsecExecModeUsername; + _resultValue.trustsecIncludeWhenDeployingSgtUpdates = trustsecIncludeWhenDeployingSgtUpdates; + _resultValue.trustsecOtherSgaDevicesToTrustThisDevice = trustsecOtherSgaDevicesToTrustThisDevice; + _resultValue.trustsecReAuthenticationEveryXSeconds = trustsecReAuthenticationEveryXSeconds; + _resultValue.trustsecRestApiPassword = trustsecRestApiPassword; + _resultValue.trustsecRestApiUsername = trustsecRestApiUsername; + _resultValue.trustsecSendConfigurationToDevice = trustsecSendConfigurationToDevice; + _resultValue.trustsecSendConfigurationToDeviceUsing = trustsecSendConfigurationToDeviceUsing; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AllowedProtocols.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AllowedProtocols.java new file mode 100644 index 0000000..fddfada --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AllowedProtocols.java @@ -0,0 +1,1279 @@ +// *** 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.networkaccess; + +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.networkaccess.AllowedProtocolsArgs; +import com.pulumi.ise.networkaccess.inputs.AllowedProtocolsState; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage an allowed protocols policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.AllowedProtocols; + * import com.pulumi.ise.networkaccess.AllowedProtocolsArgs; + * 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 AllowedProtocols("example", AllowedProtocolsArgs.builder() + * .name("Protocols1") + * .description("My allowed protocols") + * .processHostLookup(true) + * .allowPapAscii(true) + * .allowChap(true) + * .allowMsChapV1(true) + * .allowMsChapV2(true) + * .allowEapMd5(true) + * .allowLeap(true) + * .allowEapTls(true) + * .allowEapTtls(true) + * .allowEapFast(true) + * .allowPeap(true) + * .allowTeap(true) + * .allowPreferredEapProtocol(true) + * .preferredEapProtocol("LEAP") + * .eapTlsLBit(true) + * .allowWeakCiphersForEap(true) + * .requireMessageAuth(true) + * .eapTlsAllowAuthOfExpiredCerts(true) + * .eapTlsEnableStatelessSessionResume(true) + * .eapTlsSessionTicketTtl(5) + * .eapTlsSessionTicketTtlUnit("DAYS") + * .eapTlsSessionTicketPercentage(5) + * .peapAllowPeapEapMsChapV2(true) + * .peapAllowPeapEapMsChapV2PwdChange(true) + * .peapAllowPeapEapMsChapV2PwdChangeRetries(3) + * .peapAllowPeapEapGtc(true) + * .peapAllowPeapEapGtcPwdChange(true) + * .peapAllowPeapEapGtcPwdChangeRetries(3) + * .peapAllowPeapEapTls(true) + * .peapAllowPeapEapTlsAuthOfExpiredCerts(true) + * .requireCryptobinding(true) + * .peapPeapV0(true) + * .eapTtlsPapAscii(true) + * .eapTtlsChap(true) + * .eapTtlsMsChapV1(true) + * .eapTtlsMsChapV2(true) + * .eapTtlsEapMd5(true) + * .eapTtlsEapMsChapV2(true) + * .eapTtlsEapMsChapV2PwdChange(true) + * .eapTtlsEapMsChapV2PwdChangeRetries(3) + * .eapFastEapMsChapV2(true) + * .eapFastEapMsChapV2PwdChange(true) + * .eapFastEapMsChapV2PwdChangeRetries(3) + * .eapFastEapGtc(true) + * .eapFastEapGtcPwdChange(true) + * .eapFastEapGtcPwdChangeRetries(3) + * .eapFastEapTls(true) + * .eapFastEapTlsAuthOfExpiredCerts(true) + * .eapFastEnableEapChaining(true) + * .eapFastUsePacs(true) + * .eapFastPacsTunnelPacTtl(5) + * .eapFastPacsTunnelPacTtlUnit("DAYS") + * .eapFastPacsUseProactivePacUpdatePercentage(5) + * .eapFastPacsAllowAnonymousProvisioning(true) + * .eapFastPacsAllowAuthenticatedProvisioning(true) + * .eapFastPacsServerReturns(true) + * .eapFastPacsAllowClientCert(true) + * .eapFastPacsAllowMachineAuthentication(true) + * .eapFastPacsMachinePacTtl(5) + * .eapFastPacsMachinePacTtlUnit("DAYS") + * .eapFastPacsStatelessSessionResume(true) + * .eapFastPacsAuthorizationPacTtl(5) + * .eapFastPacsAuthorizationPacTtlUnit("HOURS") + * .teapEapMsChapV2(true) + * .teapEapMsChapV2PwdChange(true) + * .teapEapMsChapV2PwdChangeRetries(3) + * .teapEapTls(true) + * .teapEapTlsAuthOfExpiredCerts(true) + * .teapEapAcceptClientCertDuringTunnelEst(true) + * .teapEapChaining(true) + * .teapDowngradeMsk(true) + * .teapRequestBasicPwdAuth(true) + * .allow5g(true) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:networkaccess/allowedProtocols:AllowedProtocols example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:networkaccess/allowedProtocols:AllowedProtocols") +public class AllowedProtocols extends com.pulumi.resources.CustomResource { + /** + * Allow 5G. This field is only supported from ISE 3.2. + * + */ + @Export(name="allow5g", refs={Boolean.class}, tree="[0]") + private Output allow5g; + + /** + * @return Allow 5G. This field is only supported from ISE 3.2. + * + */ + public Output> allow5g() { + return Codegen.optional(this.allow5g); + } + /** + * Allow CHAP + * + */ + @Export(name="allowChap", refs={Boolean.class}, tree="[0]") + private Output allowChap; + + /** + * @return Allow CHAP + * + */ + public Output allowChap() { + return this.allowChap; + } + /** + * Allow EAP Fast + * + */ + @Export(name="allowEapFast", refs={Boolean.class}, tree="[0]") + private Output allowEapFast; + + /** + * @return Allow EAP Fast + * + */ + public Output allowEapFast() { + return this.allowEapFast; + } + /** + * Allow EAP MD5 + * + */ + @Export(name="allowEapMd5", refs={Boolean.class}, tree="[0]") + private Output allowEapMd5; + + /** + * @return Allow EAP MD5 + * + */ + public Output allowEapMd5() { + return this.allowEapMd5; + } + /** + * Allow EAP TLS + * + */ + @Export(name="allowEapTls", refs={Boolean.class}, tree="[0]") + private Output allowEapTls; + + /** + * @return Allow EAP TLS + * + */ + public Output allowEapTls() { + return this.allowEapTls; + } + /** + * Allow EAP TTLS + * + */ + @Export(name="allowEapTtls", refs={Boolean.class}, tree="[0]") + private Output allowEapTtls; + + /** + * @return Allow EAP TTLS + * + */ + public Output allowEapTtls() { + return this.allowEapTtls; + } + /** + * Allow LEAP + * + */ + @Export(name="allowLeap", refs={Boolean.class}, tree="[0]") + private Output allowLeap; + + /** + * @return Allow LEAP + * + */ + public Output allowLeap() { + return this.allowLeap; + } + /** + * Allow MS CHAP v1 + * + */ + @Export(name="allowMsChapV1", refs={Boolean.class}, tree="[0]") + private Output allowMsChapV1; + + /** + * @return Allow MS CHAP v1 + * + */ + public Output allowMsChapV1() { + return this.allowMsChapV1; + } + /** + * Allow MS CHAP v2 + * + */ + @Export(name="allowMsChapV2", refs={Boolean.class}, tree="[0]") + private Output allowMsChapV2; + + /** + * @return Allow MS CHAP v2 + * + */ + public Output allowMsChapV2() { + return this.allowMsChapV2; + } + /** + * Allow PAP ASCII + * + */ + @Export(name="allowPapAscii", refs={Boolean.class}, tree="[0]") + private Output allowPapAscii; + + /** + * @return Allow PAP ASCII + * + */ + public Output allowPapAscii() { + return this.allowPapAscii; + } + /** + * Allow PEAP + * + */ + @Export(name="allowPeap", refs={Boolean.class}, tree="[0]") + private Output allowPeap; + + /** + * @return Allow PEAP + * + */ + public Output allowPeap() { + return this.allowPeap; + } + /** + * Allow preferred EAP protocol + * + */ + @Export(name="allowPreferredEapProtocol", refs={Boolean.class}, tree="[0]") + private Output allowPreferredEapProtocol; + + /** + * @return Allow preferred EAP protocol + * + */ + public Output allowPreferredEapProtocol() { + return this.allowPreferredEapProtocol; + } + /** + * Allow TEAP + * + */ + @Export(name="allowTeap", refs={Boolean.class}, tree="[0]") + private Output allowTeap; + + /** + * @return Allow TEAP + * + */ + public Output allowTeap() { + return this.allowTeap; + } + /** + * Allow weak ciphers for EAP + * + */ + @Export(name="allowWeakCiphersForEap", refs={Boolean.class}, tree="[0]") + private Output allowWeakCiphersForEap; + + /** + * @return Allow weak ciphers for EAP + * + */ + public Output allowWeakCiphersForEap() { + return this.allowWeakCiphersForEap; + } + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * Accept client certificates. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + @Export(name="eapFastAcceptClientCert", refs={Boolean.class}, tree="[0]") + private Output eapFastAcceptClientCert; + + /** + * @return Accept client certificates. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + public Output> eapFastAcceptClientCert() { + return Codegen.optional(this.eapFastAcceptClientCert); + } + /** + * Allow machine authentication. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + @Export(name="eapFastAllowMachineAuthentication", refs={Boolean.class}, tree="[0]") + private Output eapFastAllowMachineAuthentication; + + /** + * @return Allow machine authentication. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + public Output> eapFastAllowMachineAuthentication() { + return Codegen.optional(this.eapFastAllowMachineAuthentication); + } + /** + * Allow EAP GTC + * + */ + @Export(name="eapFastEapGtc", refs={Boolean.class}, tree="[0]") + private Output eapFastEapGtc; + + /** + * @return Allow EAP GTC + * + */ + public Output> eapFastEapGtc() { + return Codegen.optional(this.eapFastEapGtc); + } + /** + * Allow EAP GTC password change. Is required only if `eap_fast_eap_gtc` is `true`. + * + */ + @Export(name="eapFastEapGtcPwdChange", refs={Boolean.class}, tree="[0]") + private Output eapFastEapGtcPwdChange; + + /** + * @return Allow EAP GTC password change. Is required only if `eap_fast_eap_gtc` is `true`. + * + */ + public Output> eapFastEapGtcPwdChange() { + return Codegen.optional(this.eapFastEapGtcPwdChange); + } + /** + * EAP GTC password change retries. Is required only if `eap_fast_eap_gtc` is `true`. - Range: `0`-`3` + * + */ + @Export(name="eapFastEapGtcPwdChangeRetries", refs={Integer.class}, tree="[0]") + private Output eapFastEapGtcPwdChangeRetries; + + /** + * @return EAP GTC password change retries. Is required only if `eap_fast_eap_gtc` is `true`. - Range: `0`-`3` + * + */ + public Output> eapFastEapGtcPwdChangeRetries() { + return Codegen.optional(this.eapFastEapGtcPwdChangeRetries); + } + /** + * Allow EAP MS CHAP v2 + * + */ + @Export(name="eapFastEapMsChapV2", refs={Boolean.class}, tree="[0]") + private Output eapFastEapMsChapV2; + + /** + * @return Allow EAP MS CHAP v2 + * + */ + public Output> eapFastEapMsChapV2() { + return Codegen.optional(this.eapFastEapMsChapV2); + } + /** + * Allow EAP MS CHAP v2 password change. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. + * + */ + @Export(name="eapFastEapMsChapV2PwdChange", refs={Boolean.class}, tree="[0]") + private Output eapFastEapMsChapV2PwdChange; + + /** + * @return Allow EAP MS CHAP v2 password change. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. + * + */ + public Output> eapFastEapMsChapV2PwdChange() { + return Codegen.optional(this.eapFastEapMsChapV2PwdChange); + } + /** + * EAP MS CHAP v2 password change retries. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + @Export(name="eapFastEapMsChapV2PwdChangeRetries", refs={Integer.class}, tree="[0]") + private Output eapFastEapMsChapV2PwdChangeRetries; + + /** + * @return EAP MS CHAP v2 password change retries. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + public Output> eapFastEapMsChapV2PwdChangeRetries() { + return Codegen.optional(this.eapFastEapMsChapV2PwdChangeRetries); + } + /** + * Allow EAP TLS + * + */ + @Export(name="eapFastEapTls", refs={Boolean.class}, tree="[0]") + private Output eapFastEapTls; + + /** + * @return Allow EAP TLS + * + */ + public Output> eapFastEapTls() { + return Codegen.optional(this.eapFastEapTls); + } + /** + * Allow EAP TLS authentication of expired certificates. Is required only if `eap_fast_eap_tls` is `true`. + * + */ + @Export(name="eapFastEapTlsAuthOfExpiredCerts", refs={Boolean.class}, tree="[0]") + private Output eapFastEapTlsAuthOfExpiredCerts; + + /** + * @return Allow EAP TLS authentication of expired certificates. Is required only if `eap_fast_eap_tls` is `true`. + * + */ + public Output> eapFastEapTlsAuthOfExpiredCerts() { + return Codegen.optional(this.eapFastEapTlsAuthOfExpiredCerts); + } + /** + * Enable EAP chaining + * + */ + @Export(name="eapFastEnableEapChaining", refs={Boolean.class}, tree="[0]") + private Output eapFastEnableEapChaining; + + /** + * @return Enable EAP chaining + * + */ + public Output> eapFastEnableEapChaining() { + return Codegen.optional(this.eapFastEnableEapChaining); + } + /** + * Allow anonymous provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + @Export(name="eapFastPacsAllowAnonymousProvisioning", refs={Boolean.class}, tree="[0]") + private Output eapFastPacsAllowAnonymousProvisioning; + + /** + * @return Allow anonymous provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Output> eapFastPacsAllowAnonymousProvisioning() { + return Codegen.optional(this.eapFastPacsAllowAnonymousProvisioning); + } + /** + * Allow authenticated provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + @Export(name="eapFastPacsAllowAuthenticatedProvisioning", refs={Boolean.class}, tree="[0]") + private Output eapFastPacsAllowAuthenticatedProvisioning; + + /** + * @return Allow authenticated provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Output> eapFastPacsAllowAuthenticatedProvisioning() { + return Codegen.optional(this.eapFastPacsAllowAuthenticatedProvisioning); + } + /** + * Accept client certification for provisioning. Is required only if `eap_fast_pacs_allow_authenticated_provisioning` is + * `true`. + * + */ + @Export(name="eapFastPacsAllowClientCert", refs={Boolean.class}, tree="[0]") + private Output eapFastPacsAllowClientCert; + + /** + * @return Accept client certification for provisioning. Is required only if `eap_fast_pacs_allow_authenticated_provisioning` is + * `true`. + * + */ + public Output> eapFastPacsAllowClientCert() { + return Codegen.optional(this.eapFastPacsAllowClientCert); + } + /** + * Allow machine authentication. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + @Export(name="eapFastPacsAllowMachineAuthentication", refs={Boolean.class}, tree="[0]") + private Output eapFastPacsAllowMachineAuthentication; + + /** + * @return Allow machine authentication. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Output> eapFastPacsAllowMachineAuthentication() { + return Codegen.optional(this.eapFastPacsAllowMachineAuthentication); + } + /** + * Authorization PAC TTL. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. + * + */ + @Export(name="eapFastPacsAuthorizationPacTtl", refs={Integer.class}, tree="[0]") + private Output eapFastPacsAuthorizationPacTtl; + + /** + * @return Authorization PAC TTL. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. + * + */ + public Output> eapFastPacsAuthorizationPacTtl() { + return Codegen.optional(this.eapFastPacsAuthorizationPacTtl); + } + /** + * Authorization PAC TTL unit. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. - Choices: + * `SECONDS`, `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + @Export(name="eapFastPacsAuthorizationPacTtlUnit", refs={String.class}, tree="[0]") + private Output eapFastPacsAuthorizationPacTtlUnit; + + /** + * @return Authorization PAC TTL unit. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. - Choices: + * `SECONDS`, `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + public Output> eapFastPacsAuthorizationPacTtlUnit() { + return Codegen.optional(this.eapFastPacsAuthorizationPacTtlUnit); + } + /** + * Machine PAC TTL. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. + * + */ + @Export(name="eapFastPacsMachinePacTtl", refs={Integer.class}, tree="[0]") + private Output eapFastPacsMachinePacTtl; + + /** + * @return Machine PAC TTL. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. + * + */ + public Output> eapFastPacsMachinePacTtl() { + return Codegen.optional(this.eapFastPacsMachinePacTtl); + } + /** + * Machine PAC TTL unit. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + @Export(name="eapFastPacsMachinePacTtlUnit", refs={String.class}, tree="[0]") + private Output eapFastPacsMachinePacTtlUnit; + + /** + * @return Machine PAC TTL unit. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + public Output> eapFastPacsMachinePacTtlUnit() { + return Codegen.optional(this.eapFastPacsMachinePacTtlUnit); + } + /** + * Server returns access accept after authenticated provisioning. Is required only if + * `eap_fast_pacs_allow_authenticated_provisioning` is `true`. + * + */ + @Export(name="eapFastPacsServerReturns", refs={Boolean.class}, tree="[0]") + private Output eapFastPacsServerReturns; + + /** + * @return Server returns access accept after authenticated provisioning. Is required only if + * `eap_fast_pacs_allow_authenticated_provisioning` is `true`. + * + */ + public Output> eapFastPacsServerReturns() { + return Codegen.optional(this.eapFastPacsServerReturns); + } + /** + * Stateless session resume. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + @Export(name="eapFastPacsStatelessSessionResume", refs={Boolean.class}, tree="[0]") + private Output eapFastPacsStatelessSessionResume; + + /** + * @return Stateless session resume. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Output> eapFastPacsStatelessSessionResume() { + return Codegen.optional(this.eapFastPacsStatelessSessionResume); + } + /** + * PACs tunnel PAC time to live. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + @Export(name="eapFastPacsTunnelPacTtl", refs={Integer.class}, tree="[0]") + private Output eapFastPacsTunnelPacTtl; + + /** + * @return PACs tunnel PAC time to live. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Output> eapFastPacsTunnelPacTtl() { + return Codegen.optional(this.eapFastPacsTunnelPacTtl); + } + /** + * PACs tunnel PAC time to live unit. Is required only if `eap_fast_use_pacs` is `true`. - Choices: `SECONDS`, `MINUTES`, + * `HOURS`, `DAYS`, `WEEKS` + * + */ + @Export(name="eapFastPacsTunnelPacTtlUnit", refs={String.class}, tree="[0]") + private Output eapFastPacsTunnelPacTtlUnit; + + /** + * @return PACs tunnel PAC time to live unit. Is required only if `eap_fast_use_pacs` is `true`. - Choices: `SECONDS`, `MINUTES`, + * `HOURS`, `DAYS`, `WEEKS` + * + */ + public Output> eapFastPacsTunnelPacTtlUnit() { + return Codegen.optional(this.eapFastPacsTunnelPacTtlUnit); + } + /** + * Use proactive pac update percentage. Is required only if `eap_fast_use_pacs` is `true`. - Range: `1`-`100` + * + */ + @Export(name="eapFastPacsUseProactivePacUpdatePercentage", refs={Integer.class}, tree="[0]") + private Output eapFastPacsUseProactivePacUpdatePercentage; + + /** + * @return Use proactive pac update percentage. Is required only if `eap_fast_use_pacs` is `true`. - Range: `1`-`100` + * + */ + public Output> eapFastPacsUseProactivePacUpdatePercentage() { + return Codegen.optional(this.eapFastPacsUseProactivePacUpdatePercentage); + } + /** + * Use PACs + * + */ + @Export(name="eapFastUsePacs", refs={Boolean.class}, tree="[0]") + private Output eapFastUsePacs; + + /** + * @return Use PACs + * + */ + public Output> eapFastUsePacs() { + return Codegen.optional(this.eapFastUsePacs); + } + /** + * Allow authentication of expired certificates + * + */ + @Export(name="eapTlsAllowAuthOfExpiredCerts", refs={Boolean.class}, tree="[0]") + private Output eapTlsAllowAuthOfExpiredCerts; + + /** + * @return Allow authentication of expired certificates + * + */ + public Output> eapTlsAllowAuthOfExpiredCerts() { + return Codegen.optional(this.eapTlsAllowAuthOfExpiredCerts); + } + /** + * Enable stateless session resume + * + */ + @Export(name="eapTlsEnableStatelessSessionResume", refs={Boolean.class}, tree="[0]") + private Output eapTlsEnableStatelessSessionResume; + + /** + * @return Enable stateless session resume + * + */ + public Output> eapTlsEnableStatelessSessionResume() { + return Codegen.optional(this.eapTlsEnableStatelessSessionResume); + } + /** + * EAP TLS L-Bit + * + */ + @Export(name="eapTlsLBit", refs={Boolean.class}, tree="[0]") + private Output eapTlsLBit; + + /** + * @return EAP TLS L-Bit + * + */ + public Output eapTlsLBit() { + return this.eapTlsLBit; + } + /** + * Session ticket percentage. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Range: `1`-`100` + * + */ + @Export(name="eapTlsSessionTicketPercentage", refs={Integer.class}, tree="[0]") + private Output eapTlsSessionTicketPercentage; + + /** + * @return Session ticket percentage. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Range: `1`-`100` + * + */ + public Output> eapTlsSessionTicketPercentage() { + return Codegen.optional(this.eapTlsSessionTicketPercentage); + } + /** + * Session ticket TTL. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + */ + @Export(name="eapTlsSessionTicketTtl", refs={Integer.class}, tree="[0]") + private Output eapTlsSessionTicketTtl; + + /** + * @return Session ticket TTL. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + */ + public Output> eapTlsSessionTicketTtl() { + return Codegen.optional(this.eapTlsSessionTicketTtl); + } + /** + * Session ticket TTL unit. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + @Export(name="eapTlsSessionTicketTtlUnit", refs={String.class}, tree="[0]") + private Output eapTlsSessionTicketTtlUnit; + + /** + * @return Session ticket TTL unit. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + public Output> eapTlsSessionTicketTtlUnit() { + return Codegen.optional(this.eapTlsSessionTicketTtlUnit); + } + /** + * Allow CHAP + * + */ + @Export(name="eapTtlsChap", refs={Boolean.class}, tree="[0]") + private Output eapTtlsChap; + + /** + * @return Allow CHAP + * + */ + public Output> eapTtlsChap() { + return Codegen.optional(this.eapTtlsChap); + } + /** + * Allow EAP MD5 + * + */ + @Export(name="eapTtlsEapMd5", refs={Boolean.class}, tree="[0]") + private Output eapTtlsEapMd5; + + /** + * @return Allow EAP MD5 + * + */ + public Output> eapTtlsEapMd5() { + return Codegen.optional(this.eapTtlsEapMd5); + } + /** + * Allow EAP MS CHAP v2 + * + */ + @Export(name="eapTtlsEapMsChapV2", refs={Boolean.class}, tree="[0]") + private Output eapTtlsEapMsChapV2; + + /** + * @return Allow EAP MS CHAP v2 + * + */ + public Output> eapTtlsEapMsChapV2() { + return Codegen.optional(this.eapTtlsEapMsChapV2); + } + /** + * Allow EAP MS CHAP v2 password change. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. + * + */ + @Export(name="eapTtlsEapMsChapV2PwdChange", refs={Boolean.class}, tree="[0]") + private Output eapTtlsEapMsChapV2PwdChange; + + /** + * @return Allow EAP MS CHAP v2 password change. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. + * + */ + public Output> eapTtlsEapMsChapV2PwdChange() { + return Codegen.optional(this.eapTtlsEapMsChapV2PwdChange); + } + /** + * EAP MS CHAP v2 password change retries. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + @Export(name="eapTtlsEapMsChapV2PwdChangeRetries", refs={Integer.class}, tree="[0]") + private Output eapTtlsEapMsChapV2PwdChangeRetries; + + /** + * @return EAP MS CHAP v2 password change retries. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + public Output> eapTtlsEapMsChapV2PwdChangeRetries() { + return Codegen.optional(this.eapTtlsEapMsChapV2PwdChangeRetries); + } + /** + * Allow MS CHAP v1 + * + */ + @Export(name="eapTtlsMsChapV1", refs={Boolean.class}, tree="[0]") + private Output eapTtlsMsChapV1; + + /** + * @return Allow MS CHAP v1 + * + */ + public Output> eapTtlsMsChapV1() { + return Codegen.optional(this.eapTtlsMsChapV1); + } + /** + * Allow MS CHAP v2 + * + */ + @Export(name="eapTtlsMsChapV2", refs={Boolean.class}, tree="[0]") + private Output eapTtlsMsChapV2; + + /** + * @return Allow MS CHAP v2 + * + */ + public Output> eapTtlsMsChapV2() { + return Codegen.optional(this.eapTtlsMsChapV2); + } + /** + * Allow PAP ASCII + * + */ + @Export(name="eapTtlsPapAscii", refs={Boolean.class}, tree="[0]") + private Output eapTtlsPapAscii; + + /** + * @return Allow PAP ASCII + * + */ + public Output> eapTtlsPapAscii() { + return Codegen.optional(this.eapTtlsPapAscii); + } + /** + * The name of the allowed protocols + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the allowed protocols + * + */ + public Output name() { + return this.name; + } + /** + * Allow PEAP EAP GTC + * + */ + @Export(name="peapAllowPeapEapGtc", refs={Boolean.class}, tree="[0]") + private Output peapAllowPeapEapGtc; + + /** + * @return Allow PEAP EAP GTC + * + */ + public Output> peapAllowPeapEapGtc() { + return Codegen.optional(this.peapAllowPeapEapGtc); + } + /** + * Allow PEAP EAP GTC password change. Is required only if `allow_peap_eap_gtc` is `true`. + * + */ + @Export(name="peapAllowPeapEapGtcPwdChange", refs={Boolean.class}, tree="[0]") + private Output peapAllowPeapEapGtcPwdChange; + + /** + * @return Allow PEAP EAP GTC password change. Is required only if `allow_peap_eap_gtc` is `true`. + * + */ + public Output> peapAllowPeapEapGtcPwdChange() { + return Codegen.optional(this.peapAllowPeapEapGtcPwdChange); + } + /** + * PEAP EAP GTC password change retries. Is required only if `allow_peap_eap_gtc` is `true`. - Range: `0`-`3` + * + */ + @Export(name="peapAllowPeapEapGtcPwdChangeRetries", refs={Integer.class}, tree="[0]") + private Output peapAllowPeapEapGtcPwdChangeRetries; + + /** + * @return PEAP EAP GTC password change retries. Is required only if `allow_peap_eap_gtc` is `true`. - Range: `0`-`3` + * + */ + public Output> peapAllowPeapEapGtcPwdChangeRetries() { + return Codegen.optional(this.peapAllowPeapEapGtcPwdChangeRetries); + } + /** + * Allow PEAP EAP MS CHAP v2 + * + */ + @Export(name="peapAllowPeapEapMsChapV2", refs={Boolean.class}, tree="[0]") + private Output peapAllowPeapEapMsChapV2; + + /** + * @return Allow PEAP EAP MS CHAP v2 + * + */ + public Output> peapAllowPeapEapMsChapV2() { + return Codegen.optional(this.peapAllowPeapEapMsChapV2); + } + /** + * Allow PEAP EAP MS CHAP v2 password change. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. + * + */ + @Export(name="peapAllowPeapEapMsChapV2PwdChange", refs={Boolean.class}, tree="[0]") + private Output peapAllowPeapEapMsChapV2PwdChange; + + /** + * @return Allow PEAP EAP MS CHAP v2 password change. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. + * + */ + public Output> peapAllowPeapEapMsChapV2PwdChange() { + return Codegen.optional(this.peapAllowPeapEapMsChapV2PwdChange); + } + /** + * Allow PEAP EAP MS CHAP v2 password change retries. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. - Range: + * `0`-`3` + * + */ + @Export(name="peapAllowPeapEapMsChapV2PwdChangeRetries", refs={Integer.class}, tree="[0]") + private Output peapAllowPeapEapMsChapV2PwdChangeRetries; + + /** + * @return Allow PEAP EAP MS CHAP v2 password change retries. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. - Range: + * `0`-`3` + * + */ + public Output> peapAllowPeapEapMsChapV2PwdChangeRetries() { + return Codegen.optional(this.peapAllowPeapEapMsChapV2PwdChangeRetries); + } + /** + * Allow PEAP EAP TLS + * + */ + @Export(name="peapAllowPeapEapTls", refs={Boolean.class}, tree="[0]") + private Output peapAllowPeapEapTls; + + /** + * @return Allow PEAP EAP TLS + * + */ + public Output> peapAllowPeapEapTls() { + return Codegen.optional(this.peapAllowPeapEapTls); + } + /** + * Allow PEAP EAP TLS authentication of expired certificates. Is required only if `peap_allow_peap_eap_tls` is `true`. + * + */ + @Export(name="peapAllowPeapEapTlsAuthOfExpiredCerts", refs={Boolean.class}, tree="[0]") + private Output peapAllowPeapEapTlsAuthOfExpiredCerts; + + /** + * @return Allow PEAP EAP TLS authentication of expired certificates. Is required only if `peap_allow_peap_eap_tls` is `true`. + * + */ + public Output> peapAllowPeapEapTlsAuthOfExpiredCerts() { + return Codegen.optional(this.peapAllowPeapEapTlsAuthOfExpiredCerts); + } + /** + * Allow PEAP v0 + * + */ + @Export(name="peapPeapV0", refs={Boolean.class}, tree="[0]") + private Output peapPeapV0; + + /** + * @return Allow PEAP v0 + * + */ + public Output> peapPeapV0() { + return Codegen.optional(this.peapPeapV0); + } + /** + * Preferred EAP protocol - Choices: `EAP_FAST`, `PEAP`, `LEAP`, `EAP_MD5`, `EAP_TLS`, `EAP_TTLS`, `TEAP` + * + */ + @Export(name="preferredEapProtocol", refs={String.class}, tree="[0]") + private Output preferredEapProtocol; + + /** + * @return Preferred EAP protocol - Choices: `EAP_FAST`, `PEAP`, `LEAP`, `EAP_MD5`, `EAP_TLS`, `EAP_TTLS`, `TEAP` + * + */ + public Output> preferredEapProtocol() { + return Codegen.optional(this.preferredEapProtocol); + } + /** + * Process host lookup + * + */ + @Export(name="processHostLookup", refs={Boolean.class}, tree="[0]") + private Output processHostLookup; + + /** + * @return Process host lookup + * + */ + public Output processHostLookup() { + return this.processHostLookup; + } + /** + * Require cryptobinding + * + */ + @Export(name="requireCryptobinding", refs={Boolean.class}, tree="[0]") + private Output requireCryptobinding; + + /** + * @return Require cryptobinding + * + */ + public Output> requireCryptobinding() { + return Codegen.optional(this.requireCryptobinding); + } + /** + * Require message authentication + * + */ + @Export(name="requireMessageAuth", refs={Boolean.class}, tree="[0]") + private Output requireMessageAuth; + + /** + * @return Require message authentication + * + */ + public Output requireMessageAuth() { + return this.requireMessageAuth; + } + /** + * Allow downgrade to MSK + * + */ + @Export(name="teapDowngradeMsk", refs={Boolean.class}, tree="[0]") + private Output teapDowngradeMsk; + + /** + * @return Allow downgrade to MSK + * + */ + public Output> teapDowngradeMsk() { + return Codegen.optional(this.teapDowngradeMsk); + } + /** + * Accept client certificate during tunnel establishment + * + */ + @Export(name="teapEapAcceptClientCertDuringTunnelEst", refs={Boolean.class}, tree="[0]") + private Output teapEapAcceptClientCertDuringTunnelEst; + + /** + * @return Accept client certificate during tunnel establishment + * + */ + public Output> teapEapAcceptClientCertDuringTunnelEst() { + return Codegen.optional(this.teapEapAcceptClientCertDuringTunnelEst); + } + /** + * Allow EAP chaining + * + */ + @Export(name="teapEapChaining", refs={Boolean.class}, tree="[0]") + private Output teapEapChaining; + + /** + * @return Allow EAP chaining + * + */ + public Output> teapEapChaining() { + return Codegen.optional(this.teapEapChaining); + } + /** + * Allow EAP MS CHAP v2 + * + */ + @Export(name="teapEapMsChapV2", refs={Boolean.class}, tree="[0]") + private Output teapEapMsChapV2; + + /** + * @return Allow EAP MS CHAP v2 + * + */ + public Output> teapEapMsChapV2() { + return Codegen.optional(this.teapEapMsChapV2); + } + /** + * Allow EAP MS CHAP v2 password change. Is required only if `teap_eap_ms_chap_v2` is `true`. + * + */ + @Export(name="teapEapMsChapV2PwdChange", refs={Boolean.class}, tree="[0]") + private Output teapEapMsChapV2PwdChange; + + /** + * @return Allow EAP MS CHAP v2 password change. Is required only if `teap_eap_ms_chap_v2` is `true`. + * + */ + public Output> teapEapMsChapV2PwdChange() { + return Codegen.optional(this.teapEapMsChapV2PwdChange); + } + /** + * EAP MS CHAP v2 password change retries. Is required only if `teap_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + @Export(name="teapEapMsChapV2PwdChangeRetries", refs={Integer.class}, tree="[0]") + private Output teapEapMsChapV2PwdChangeRetries; + + /** + * @return EAP MS CHAP v2 password change retries. Is required only if `teap_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + public Output> teapEapMsChapV2PwdChangeRetries() { + return Codegen.optional(this.teapEapMsChapV2PwdChangeRetries); + } + /** + * Allow EAP TLS + * + */ + @Export(name="teapEapTls", refs={Boolean.class}, tree="[0]") + private Output teapEapTls; + + /** + * @return Allow EAP TLS + * + */ + public Output> teapEapTls() { + return Codegen.optional(this.teapEapTls); + } + /** + * Allow EAP TLS authentication of expired certs. Is required only if `teap_eap_tls` is `true`. + * + */ + @Export(name="teapEapTlsAuthOfExpiredCerts", refs={Boolean.class}, tree="[0]") + private Output teapEapTlsAuthOfExpiredCerts; + + /** + * @return Allow EAP TLS authentication of expired certs. Is required only if `teap_eap_tls` is `true`. + * + */ + public Output> teapEapTlsAuthOfExpiredCerts() { + return Codegen.optional(this.teapEapTlsAuthOfExpiredCerts); + } + /** + * Request basic password authentication + * + */ + @Export(name="teapRequestBasicPwdAuth", refs={Boolean.class}, tree="[0]") + private Output teapRequestBasicPwdAuth; + + /** + * @return Request basic password authentication + * + */ + public Output> teapRequestBasicPwdAuth() { + return Codegen.optional(this.teapRequestBasicPwdAuth); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AllowedProtocols(String name) { + this(name, AllowedProtocolsArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AllowedProtocols(String name, AllowedProtocolsArgs 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 AllowedProtocols(String name, AllowedProtocolsArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/allowedProtocols:AllowedProtocols", name, args == null ? AllowedProtocolsArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private AllowedProtocols(String name, Output id, @Nullable AllowedProtocolsState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/allowedProtocols:AllowedProtocols", name, state, makeResourceOptions(options, id)); + } + + 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 AllowedProtocols get(String name, Output id, @Nullable AllowedProtocolsState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AllowedProtocols(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AllowedProtocolsArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AllowedProtocolsArgs.java new file mode 100644 index 0000000..a8e18af --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AllowedProtocolsArgs.java @@ -0,0 +1,2974 @@ +// *** 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.networkaccess; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AllowedProtocolsArgs extends com.pulumi.resources.ResourceArgs { + + public static final AllowedProtocolsArgs Empty = new AllowedProtocolsArgs(); + + /** + * Allow 5G. This field is only supported from ISE 3.2. + * + */ + @Import(name="allow5g") + private @Nullable Output allow5g; + + /** + * @return Allow 5G. This field is only supported from ISE 3.2. + * + */ + public Optional> allow5g() { + return Optional.ofNullable(this.allow5g); + } + + /** + * Allow CHAP + * + */ + @Import(name="allowChap", required=true) + private Output allowChap; + + /** + * @return Allow CHAP + * + */ + public Output allowChap() { + return this.allowChap; + } + + /** + * Allow EAP Fast + * + */ + @Import(name="allowEapFast", required=true) + private Output allowEapFast; + + /** + * @return Allow EAP Fast + * + */ + public Output allowEapFast() { + return this.allowEapFast; + } + + /** + * Allow EAP MD5 + * + */ + @Import(name="allowEapMd5", required=true) + private Output allowEapMd5; + + /** + * @return Allow EAP MD5 + * + */ + public Output allowEapMd5() { + return this.allowEapMd5; + } + + /** + * Allow EAP TLS + * + */ + @Import(name="allowEapTls", required=true) + private Output allowEapTls; + + /** + * @return Allow EAP TLS + * + */ + public Output allowEapTls() { + return this.allowEapTls; + } + + /** + * Allow EAP TTLS + * + */ + @Import(name="allowEapTtls", required=true) + private Output allowEapTtls; + + /** + * @return Allow EAP TTLS + * + */ + public Output allowEapTtls() { + return this.allowEapTtls; + } + + /** + * Allow LEAP + * + */ + @Import(name="allowLeap", required=true) + private Output allowLeap; + + /** + * @return Allow LEAP + * + */ + public Output allowLeap() { + return this.allowLeap; + } + + /** + * Allow MS CHAP v1 + * + */ + @Import(name="allowMsChapV1", required=true) + private Output allowMsChapV1; + + /** + * @return Allow MS CHAP v1 + * + */ + public Output allowMsChapV1() { + return this.allowMsChapV1; + } + + /** + * Allow MS CHAP v2 + * + */ + @Import(name="allowMsChapV2", required=true) + private Output allowMsChapV2; + + /** + * @return Allow MS CHAP v2 + * + */ + public Output allowMsChapV2() { + return this.allowMsChapV2; + } + + /** + * Allow PAP ASCII + * + */ + @Import(name="allowPapAscii", required=true) + private Output allowPapAscii; + + /** + * @return Allow PAP ASCII + * + */ + public Output allowPapAscii() { + return this.allowPapAscii; + } + + /** + * Allow PEAP + * + */ + @Import(name="allowPeap", required=true) + private Output allowPeap; + + /** + * @return Allow PEAP + * + */ + public Output allowPeap() { + return this.allowPeap; + } + + /** + * Allow preferred EAP protocol + * + */ + @Import(name="allowPreferredEapProtocol", required=true) + private Output allowPreferredEapProtocol; + + /** + * @return Allow preferred EAP protocol + * + */ + public Output allowPreferredEapProtocol() { + return this.allowPreferredEapProtocol; + } + + /** + * Allow TEAP + * + */ + @Import(name="allowTeap", required=true) + private Output allowTeap; + + /** + * @return Allow TEAP + * + */ + public Output allowTeap() { + return this.allowTeap; + } + + /** + * Allow weak ciphers for EAP + * + */ + @Import(name="allowWeakCiphersForEap", required=true) + private Output allowWeakCiphersForEap; + + /** + * @return Allow weak ciphers for EAP + * + */ + public Output allowWeakCiphersForEap() { + return this.allowWeakCiphersForEap; + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Accept client certificates. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + @Import(name="eapFastAcceptClientCert") + private @Nullable Output eapFastAcceptClientCert; + + /** + * @return Accept client certificates. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + public Optional> eapFastAcceptClientCert() { + return Optional.ofNullable(this.eapFastAcceptClientCert); + } + + /** + * Allow machine authentication. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + @Import(name="eapFastAllowMachineAuthentication") + private @Nullable Output eapFastAllowMachineAuthentication; + + /** + * @return Allow machine authentication. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + public Optional> eapFastAllowMachineAuthentication() { + return Optional.ofNullable(this.eapFastAllowMachineAuthentication); + } + + /** + * Allow EAP GTC + * + */ + @Import(name="eapFastEapGtc") + private @Nullable Output eapFastEapGtc; + + /** + * @return Allow EAP GTC + * + */ + public Optional> eapFastEapGtc() { + return Optional.ofNullable(this.eapFastEapGtc); + } + + /** + * Allow EAP GTC password change. Is required only if `eap_fast_eap_gtc` is `true`. + * + */ + @Import(name="eapFastEapGtcPwdChange") + private @Nullable Output eapFastEapGtcPwdChange; + + /** + * @return Allow EAP GTC password change. Is required only if `eap_fast_eap_gtc` is `true`. + * + */ + public Optional> eapFastEapGtcPwdChange() { + return Optional.ofNullable(this.eapFastEapGtcPwdChange); + } + + /** + * EAP GTC password change retries. Is required only if `eap_fast_eap_gtc` is `true`. - Range: `0`-`3` + * + */ + @Import(name="eapFastEapGtcPwdChangeRetries") + private @Nullable Output eapFastEapGtcPwdChangeRetries; + + /** + * @return EAP GTC password change retries. Is required only if `eap_fast_eap_gtc` is `true`. - Range: `0`-`3` + * + */ + public Optional> eapFastEapGtcPwdChangeRetries() { + return Optional.ofNullable(this.eapFastEapGtcPwdChangeRetries); + } + + /** + * Allow EAP MS CHAP v2 + * + */ + @Import(name="eapFastEapMsChapV2") + private @Nullable Output eapFastEapMsChapV2; + + /** + * @return Allow EAP MS CHAP v2 + * + */ + public Optional> eapFastEapMsChapV2() { + return Optional.ofNullable(this.eapFastEapMsChapV2); + } + + /** + * Allow EAP MS CHAP v2 password change. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. + * + */ + @Import(name="eapFastEapMsChapV2PwdChange") + private @Nullable Output eapFastEapMsChapV2PwdChange; + + /** + * @return Allow EAP MS CHAP v2 password change. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. + * + */ + public Optional> eapFastEapMsChapV2PwdChange() { + return Optional.ofNullable(this.eapFastEapMsChapV2PwdChange); + } + + /** + * EAP MS CHAP v2 password change retries. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + @Import(name="eapFastEapMsChapV2PwdChangeRetries") + private @Nullable Output eapFastEapMsChapV2PwdChangeRetries; + + /** + * @return EAP MS CHAP v2 password change retries. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + public Optional> eapFastEapMsChapV2PwdChangeRetries() { + return Optional.ofNullable(this.eapFastEapMsChapV2PwdChangeRetries); + } + + /** + * Allow EAP TLS + * + */ + @Import(name="eapFastEapTls") + private @Nullable Output eapFastEapTls; + + /** + * @return Allow EAP TLS + * + */ + public Optional> eapFastEapTls() { + return Optional.ofNullable(this.eapFastEapTls); + } + + /** + * Allow EAP TLS authentication of expired certificates. Is required only if `eap_fast_eap_tls` is `true`. + * + */ + @Import(name="eapFastEapTlsAuthOfExpiredCerts") + private @Nullable Output eapFastEapTlsAuthOfExpiredCerts; + + /** + * @return Allow EAP TLS authentication of expired certificates. Is required only if `eap_fast_eap_tls` is `true`. + * + */ + public Optional> eapFastEapTlsAuthOfExpiredCerts() { + return Optional.ofNullable(this.eapFastEapTlsAuthOfExpiredCerts); + } + + /** + * Enable EAP chaining + * + */ + @Import(name="eapFastEnableEapChaining") + private @Nullable Output eapFastEnableEapChaining; + + /** + * @return Enable EAP chaining + * + */ + public Optional> eapFastEnableEapChaining() { + return Optional.ofNullable(this.eapFastEnableEapChaining); + } + + /** + * Allow anonymous provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + @Import(name="eapFastPacsAllowAnonymousProvisioning") + private @Nullable Output eapFastPacsAllowAnonymousProvisioning; + + /** + * @return Allow anonymous provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Optional> eapFastPacsAllowAnonymousProvisioning() { + return Optional.ofNullable(this.eapFastPacsAllowAnonymousProvisioning); + } + + /** + * Allow authenticated provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + @Import(name="eapFastPacsAllowAuthenticatedProvisioning") + private @Nullable Output eapFastPacsAllowAuthenticatedProvisioning; + + /** + * @return Allow authenticated provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Optional> eapFastPacsAllowAuthenticatedProvisioning() { + return Optional.ofNullable(this.eapFastPacsAllowAuthenticatedProvisioning); + } + + /** + * Accept client certification for provisioning. Is required only if `eap_fast_pacs_allow_authenticated_provisioning` is + * `true`. + * + */ + @Import(name="eapFastPacsAllowClientCert") + private @Nullable Output eapFastPacsAllowClientCert; + + /** + * @return Accept client certification for provisioning. Is required only if `eap_fast_pacs_allow_authenticated_provisioning` is + * `true`. + * + */ + public Optional> eapFastPacsAllowClientCert() { + return Optional.ofNullable(this.eapFastPacsAllowClientCert); + } + + /** + * Allow machine authentication. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + @Import(name="eapFastPacsAllowMachineAuthentication") + private @Nullable Output eapFastPacsAllowMachineAuthentication; + + /** + * @return Allow machine authentication. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Optional> eapFastPacsAllowMachineAuthentication() { + return Optional.ofNullable(this.eapFastPacsAllowMachineAuthentication); + } + + /** + * Authorization PAC TTL. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. + * + */ + @Import(name="eapFastPacsAuthorizationPacTtl") + private @Nullable Output eapFastPacsAuthorizationPacTtl; + + /** + * @return Authorization PAC TTL. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. + * + */ + public Optional> eapFastPacsAuthorizationPacTtl() { + return Optional.ofNullable(this.eapFastPacsAuthorizationPacTtl); + } + + /** + * Authorization PAC TTL unit. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. - Choices: + * `SECONDS`, `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + @Import(name="eapFastPacsAuthorizationPacTtlUnit") + private @Nullable Output eapFastPacsAuthorizationPacTtlUnit; + + /** + * @return Authorization PAC TTL unit. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. - Choices: + * `SECONDS`, `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + public Optional> eapFastPacsAuthorizationPacTtlUnit() { + return Optional.ofNullable(this.eapFastPacsAuthorizationPacTtlUnit); + } + + /** + * Machine PAC TTL. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. + * + */ + @Import(name="eapFastPacsMachinePacTtl") + private @Nullable Output eapFastPacsMachinePacTtl; + + /** + * @return Machine PAC TTL. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. + * + */ + public Optional> eapFastPacsMachinePacTtl() { + return Optional.ofNullable(this.eapFastPacsMachinePacTtl); + } + + /** + * Machine PAC TTL unit. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + @Import(name="eapFastPacsMachinePacTtlUnit") + private @Nullable Output eapFastPacsMachinePacTtlUnit; + + /** + * @return Machine PAC TTL unit. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + public Optional> eapFastPacsMachinePacTtlUnit() { + return Optional.ofNullable(this.eapFastPacsMachinePacTtlUnit); + } + + /** + * Server returns access accept after authenticated provisioning. Is required only if + * `eap_fast_pacs_allow_authenticated_provisioning` is `true`. + * + */ + @Import(name="eapFastPacsServerReturns") + private @Nullable Output eapFastPacsServerReturns; + + /** + * @return Server returns access accept after authenticated provisioning. Is required only if + * `eap_fast_pacs_allow_authenticated_provisioning` is `true`. + * + */ + public Optional> eapFastPacsServerReturns() { + return Optional.ofNullable(this.eapFastPacsServerReturns); + } + + /** + * Stateless session resume. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + @Import(name="eapFastPacsStatelessSessionResume") + private @Nullable Output eapFastPacsStatelessSessionResume; + + /** + * @return Stateless session resume. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Optional> eapFastPacsStatelessSessionResume() { + return Optional.ofNullable(this.eapFastPacsStatelessSessionResume); + } + + /** + * PACs tunnel PAC time to live. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + @Import(name="eapFastPacsTunnelPacTtl") + private @Nullable Output eapFastPacsTunnelPacTtl; + + /** + * @return PACs tunnel PAC time to live. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Optional> eapFastPacsTunnelPacTtl() { + return Optional.ofNullable(this.eapFastPacsTunnelPacTtl); + } + + /** + * PACs tunnel PAC time to live unit. Is required only if `eap_fast_use_pacs` is `true`. - Choices: `SECONDS`, `MINUTES`, + * `HOURS`, `DAYS`, `WEEKS` + * + */ + @Import(name="eapFastPacsTunnelPacTtlUnit") + private @Nullable Output eapFastPacsTunnelPacTtlUnit; + + /** + * @return PACs tunnel PAC time to live unit. Is required only if `eap_fast_use_pacs` is `true`. - Choices: `SECONDS`, `MINUTES`, + * `HOURS`, `DAYS`, `WEEKS` + * + */ + public Optional> eapFastPacsTunnelPacTtlUnit() { + return Optional.ofNullable(this.eapFastPacsTunnelPacTtlUnit); + } + + /** + * Use proactive pac update percentage. Is required only if `eap_fast_use_pacs` is `true`. - Range: `1`-`100` + * + */ + @Import(name="eapFastPacsUseProactivePacUpdatePercentage") + private @Nullable Output eapFastPacsUseProactivePacUpdatePercentage; + + /** + * @return Use proactive pac update percentage. Is required only if `eap_fast_use_pacs` is `true`. - Range: `1`-`100` + * + */ + public Optional> eapFastPacsUseProactivePacUpdatePercentage() { + return Optional.ofNullable(this.eapFastPacsUseProactivePacUpdatePercentage); + } + + /** + * Use PACs + * + */ + @Import(name="eapFastUsePacs") + private @Nullable Output eapFastUsePacs; + + /** + * @return Use PACs + * + */ + public Optional> eapFastUsePacs() { + return Optional.ofNullable(this.eapFastUsePacs); + } + + /** + * Allow authentication of expired certificates + * + */ + @Import(name="eapTlsAllowAuthOfExpiredCerts") + private @Nullable Output eapTlsAllowAuthOfExpiredCerts; + + /** + * @return Allow authentication of expired certificates + * + */ + public Optional> eapTlsAllowAuthOfExpiredCerts() { + return Optional.ofNullable(this.eapTlsAllowAuthOfExpiredCerts); + } + + /** + * Enable stateless session resume + * + */ + @Import(name="eapTlsEnableStatelessSessionResume") + private @Nullable Output eapTlsEnableStatelessSessionResume; + + /** + * @return Enable stateless session resume + * + */ + public Optional> eapTlsEnableStatelessSessionResume() { + return Optional.ofNullable(this.eapTlsEnableStatelessSessionResume); + } + + /** + * EAP TLS L-Bit + * + */ + @Import(name="eapTlsLBit", required=true) + private Output eapTlsLBit; + + /** + * @return EAP TLS L-Bit + * + */ + public Output eapTlsLBit() { + return this.eapTlsLBit; + } + + /** + * Session ticket percentage. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Range: `1`-`100` + * + */ + @Import(name="eapTlsSessionTicketPercentage") + private @Nullable Output eapTlsSessionTicketPercentage; + + /** + * @return Session ticket percentage. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Range: `1`-`100` + * + */ + public Optional> eapTlsSessionTicketPercentage() { + return Optional.ofNullable(this.eapTlsSessionTicketPercentage); + } + + /** + * Session ticket TTL. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + */ + @Import(name="eapTlsSessionTicketTtl") + private @Nullable Output eapTlsSessionTicketTtl; + + /** + * @return Session ticket TTL. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + */ + public Optional> eapTlsSessionTicketTtl() { + return Optional.ofNullable(this.eapTlsSessionTicketTtl); + } + + /** + * Session ticket TTL unit. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + @Import(name="eapTlsSessionTicketTtlUnit") + private @Nullable Output eapTlsSessionTicketTtlUnit; + + /** + * @return Session ticket TTL unit. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + public Optional> eapTlsSessionTicketTtlUnit() { + return Optional.ofNullable(this.eapTlsSessionTicketTtlUnit); + } + + /** + * Allow CHAP + * + */ + @Import(name="eapTtlsChap") + private @Nullable Output eapTtlsChap; + + /** + * @return Allow CHAP + * + */ + public Optional> eapTtlsChap() { + return Optional.ofNullable(this.eapTtlsChap); + } + + /** + * Allow EAP MD5 + * + */ + @Import(name="eapTtlsEapMd5") + private @Nullable Output eapTtlsEapMd5; + + /** + * @return Allow EAP MD5 + * + */ + public Optional> eapTtlsEapMd5() { + return Optional.ofNullable(this.eapTtlsEapMd5); + } + + /** + * Allow EAP MS CHAP v2 + * + */ + @Import(name="eapTtlsEapMsChapV2") + private @Nullable Output eapTtlsEapMsChapV2; + + /** + * @return Allow EAP MS CHAP v2 + * + */ + public Optional> eapTtlsEapMsChapV2() { + return Optional.ofNullable(this.eapTtlsEapMsChapV2); + } + + /** + * Allow EAP MS CHAP v2 password change. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. + * + */ + @Import(name="eapTtlsEapMsChapV2PwdChange") + private @Nullable Output eapTtlsEapMsChapV2PwdChange; + + /** + * @return Allow EAP MS CHAP v2 password change. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. + * + */ + public Optional> eapTtlsEapMsChapV2PwdChange() { + return Optional.ofNullable(this.eapTtlsEapMsChapV2PwdChange); + } + + /** + * EAP MS CHAP v2 password change retries. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + @Import(name="eapTtlsEapMsChapV2PwdChangeRetries") + private @Nullable Output eapTtlsEapMsChapV2PwdChangeRetries; + + /** + * @return EAP MS CHAP v2 password change retries. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + public Optional> eapTtlsEapMsChapV2PwdChangeRetries() { + return Optional.ofNullable(this.eapTtlsEapMsChapV2PwdChangeRetries); + } + + /** + * Allow MS CHAP v1 + * + */ + @Import(name="eapTtlsMsChapV1") + private @Nullable Output eapTtlsMsChapV1; + + /** + * @return Allow MS CHAP v1 + * + */ + public Optional> eapTtlsMsChapV1() { + return Optional.ofNullable(this.eapTtlsMsChapV1); + } + + /** + * Allow MS CHAP v2 + * + */ + @Import(name="eapTtlsMsChapV2") + private @Nullable Output eapTtlsMsChapV2; + + /** + * @return Allow MS CHAP v2 + * + */ + public Optional> eapTtlsMsChapV2() { + return Optional.ofNullable(this.eapTtlsMsChapV2); + } + + /** + * Allow PAP ASCII + * + */ + @Import(name="eapTtlsPapAscii") + private @Nullable Output eapTtlsPapAscii; + + /** + * @return Allow PAP ASCII + * + */ + public Optional> eapTtlsPapAscii() { + return Optional.ofNullable(this.eapTtlsPapAscii); + } + + /** + * The name of the allowed protocols + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the allowed protocols + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Allow PEAP EAP GTC + * + */ + @Import(name="peapAllowPeapEapGtc") + private @Nullable Output peapAllowPeapEapGtc; + + /** + * @return Allow PEAP EAP GTC + * + */ + public Optional> peapAllowPeapEapGtc() { + return Optional.ofNullable(this.peapAllowPeapEapGtc); + } + + /** + * Allow PEAP EAP GTC password change. Is required only if `allow_peap_eap_gtc` is `true`. + * + */ + @Import(name="peapAllowPeapEapGtcPwdChange") + private @Nullable Output peapAllowPeapEapGtcPwdChange; + + /** + * @return Allow PEAP EAP GTC password change. Is required only if `allow_peap_eap_gtc` is `true`. + * + */ + public Optional> peapAllowPeapEapGtcPwdChange() { + return Optional.ofNullable(this.peapAllowPeapEapGtcPwdChange); + } + + /** + * PEAP EAP GTC password change retries. Is required only if `allow_peap_eap_gtc` is `true`. - Range: `0`-`3` + * + */ + @Import(name="peapAllowPeapEapGtcPwdChangeRetries") + private @Nullable Output peapAllowPeapEapGtcPwdChangeRetries; + + /** + * @return PEAP EAP GTC password change retries. Is required only if `allow_peap_eap_gtc` is `true`. - Range: `0`-`3` + * + */ + public Optional> peapAllowPeapEapGtcPwdChangeRetries() { + return Optional.ofNullable(this.peapAllowPeapEapGtcPwdChangeRetries); + } + + /** + * Allow PEAP EAP MS CHAP v2 + * + */ + @Import(name="peapAllowPeapEapMsChapV2") + private @Nullable Output peapAllowPeapEapMsChapV2; + + /** + * @return Allow PEAP EAP MS CHAP v2 + * + */ + public Optional> peapAllowPeapEapMsChapV2() { + return Optional.ofNullable(this.peapAllowPeapEapMsChapV2); + } + + /** + * Allow PEAP EAP MS CHAP v2 password change. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. + * + */ + @Import(name="peapAllowPeapEapMsChapV2PwdChange") + private @Nullable Output peapAllowPeapEapMsChapV2PwdChange; + + /** + * @return Allow PEAP EAP MS CHAP v2 password change. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. + * + */ + public Optional> peapAllowPeapEapMsChapV2PwdChange() { + return Optional.ofNullable(this.peapAllowPeapEapMsChapV2PwdChange); + } + + /** + * Allow PEAP EAP MS CHAP v2 password change retries. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. - Range: + * `0`-`3` + * + */ + @Import(name="peapAllowPeapEapMsChapV2PwdChangeRetries") + private @Nullable Output peapAllowPeapEapMsChapV2PwdChangeRetries; + + /** + * @return Allow PEAP EAP MS CHAP v2 password change retries. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. - Range: + * `0`-`3` + * + */ + public Optional> peapAllowPeapEapMsChapV2PwdChangeRetries() { + return Optional.ofNullable(this.peapAllowPeapEapMsChapV2PwdChangeRetries); + } + + /** + * Allow PEAP EAP TLS + * + */ + @Import(name="peapAllowPeapEapTls") + private @Nullable Output peapAllowPeapEapTls; + + /** + * @return Allow PEAP EAP TLS + * + */ + public Optional> peapAllowPeapEapTls() { + return Optional.ofNullable(this.peapAllowPeapEapTls); + } + + /** + * Allow PEAP EAP TLS authentication of expired certificates. Is required only if `peap_allow_peap_eap_tls` is `true`. + * + */ + @Import(name="peapAllowPeapEapTlsAuthOfExpiredCerts") + private @Nullable Output peapAllowPeapEapTlsAuthOfExpiredCerts; + + /** + * @return Allow PEAP EAP TLS authentication of expired certificates. Is required only if `peap_allow_peap_eap_tls` is `true`. + * + */ + public Optional> peapAllowPeapEapTlsAuthOfExpiredCerts() { + return Optional.ofNullable(this.peapAllowPeapEapTlsAuthOfExpiredCerts); + } + + /** + * Allow PEAP v0 + * + */ + @Import(name="peapPeapV0") + private @Nullable Output peapPeapV0; + + /** + * @return Allow PEAP v0 + * + */ + public Optional> peapPeapV0() { + return Optional.ofNullable(this.peapPeapV0); + } + + /** + * Preferred EAP protocol - Choices: `EAP_FAST`, `PEAP`, `LEAP`, `EAP_MD5`, `EAP_TLS`, `EAP_TTLS`, `TEAP` + * + */ + @Import(name="preferredEapProtocol") + private @Nullable Output preferredEapProtocol; + + /** + * @return Preferred EAP protocol - Choices: `EAP_FAST`, `PEAP`, `LEAP`, `EAP_MD5`, `EAP_TLS`, `EAP_TTLS`, `TEAP` + * + */ + public Optional> preferredEapProtocol() { + return Optional.ofNullable(this.preferredEapProtocol); + } + + /** + * Process host lookup + * + */ + @Import(name="processHostLookup", required=true) + private Output processHostLookup; + + /** + * @return Process host lookup + * + */ + public Output processHostLookup() { + return this.processHostLookup; + } + + /** + * Require cryptobinding + * + */ + @Import(name="requireCryptobinding") + private @Nullable Output requireCryptobinding; + + /** + * @return Require cryptobinding + * + */ + public Optional> requireCryptobinding() { + return Optional.ofNullable(this.requireCryptobinding); + } + + /** + * Require message authentication + * + */ + @Import(name="requireMessageAuth", required=true) + private Output requireMessageAuth; + + /** + * @return Require message authentication + * + */ + public Output requireMessageAuth() { + return this.requireMessageAuth; + } + + /** + * Allow downgrade to MSK + * + */ + @Import(name="teapDowngradeMsk") + private @Nullable Output teapDowngradeMsk; + + /** + * @return Allow downgrade to MSK + * + */ + public Optional> teapDowngradeMsk() { + return Optional.ofNullable(this.teapDowngradeMsk); + } + + /** + * Accept client certificate during tunnel establishment + * + */ + @Import(name="teapEapAcceptClientCertDuringTunnelEst") + private @Nullable Output teapEapAcceptClientCertDuringTunnelEst; + + /** + * @return Accept client certificate during tunnel establishment + * + */ + public Optional> teapEapAcceptClientCertDuringTunnelEst() { + return Optional.ofNullable(this.teapEapAcceptClientCertDuringTunnelEst); + } + + /** + * Allow EAP chaining + * + */ + @Import(name="teapEapChaining") + private @Nullable Output teapEapChaining; + + /** + * @return Allow EAP chaining + * + */ + public Optional> teapEapChaining() { + return Optional.ofNullable(this.teapEapChaining); + } + + /** + * Allow EAP MS CHAP v2 + * + */ + @Import(name="teapEapMsChapV2") + private @Nullable Output teapEapMsChapV2; + + /** + * @return Allow EAP MS CHAP v2 + * + */ + public Optional> teapEapMsChapV2() { + return Optional.ofNullable(this.teapEapMsChapV2); + } + + /** + * Allow EAP MS CHAP v2 password change. Is required only if `teap_eap_ms_chap_v2` is `true`. + * + */ + @Import(name="teapEapMsChapV2PwdChange") + private @Nullable Output teapEapMsChapV2PwdChange; + + /** + * @return Allow EAP MS CHAP v2 password change. Is required only if `teap_eap_ms_chap_v2` is `true`. + * + */ + public Optional> teapEapMsChapV2PwdChange() { + return Optional.ofNullable(this.teapEapMsChapV2PwdChange); + } + + /** + * EAP MS CHAP v2 password change retries. Is required only if `teap_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + @Import(name="teapEapMsChapV2PwdChangeRetries") + private @Nullable Output teapEapMsChapV2PwdChangeRetries; + + /** + * @return EAP MS CHAP v2 password change retries. Is required only if `teap_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + public Optional> teapEapMsChapV2PwdChangeRetries() { + return Optional.ofNullable(this.teapEapMsChapV2PwdChangeRetries); + } + + /** + * Allow EAP TLS + * + */ + @Import(name="teapEapTls") + private @Nullable Output teapEapTls; + + /** + * @return Allow EAP TLS + * + */ + public Optional> teapEapTls() { + return Optional.ofNullable(this.teapEapTls); + } + + /** + * Allow EAP TLS authentication of expired certs. Is required only if `teap_eap_tls` is `true`. + * + */ + @Import(name="teapEapTlsAuthOfExpiredCerts") + private @Nullable Output teapEapTlsAuthOfExpiredCerts; + + /** + * @return Allow EAP TLS authentication of expired certs. Is required only if `teap_eap_tls` is `true`. + * + */ + public Optional> teapEapTlsAuthOfExpiredCerts() { + return Optional.ofNullable(this.teapEapTlsAuthOfExpiredCerts); + } + + /** + * Request basic password authentication + * + */ + @Import(name="teapRequestBasicPwdAuth") + private @Nullable Output teapRequestBasicPwdAuth; + + /** + * @return Request basic password authentication + * + */ + public Optional> teapRequestBasicPwdAuth() { + return Optional.ofNullable(this.teapRequestBasicPwdAuth); + } + + private AllowedProtocolsArgs() {} + + private AllowedProtocolsArgs(AllowedProtocolsArgs $) { + this.allow5g = $.allow5g; + this.allowChap = $.allowChap; + this.allowEapFast = $.allowEapFast; + this.allowEapMd5 = $.allowEapMd5; + this.allowEapTls = $.allowEapTls; + this.allowEapTtls = $.allowEapTtls; + this.allowLeap = $.allowLeap; + this.allowMsChapV1 = $.allowMsChapV1; + this.allowMsChapV2 = $.allowMsChapV2; + this.allowPapAscii = $.allowPapAscii; + this.allowPeap = $.allowPeap; + this.allowPreferredEapProtocol = $.allowPreferredEapProtocol; + this.allowTeap = $.allowTeap; + this.allowWeakCiphersForEap = $.allowWeakCiphersForEap; + this.description = $.description; + this.eapFastAcceptClientCert = $.eapFastAcceptClientCert; + this.eapFastAllowMachineAuthentication = $.eapFastAllowMachineAuthentication; + this.eapFastEapGtc = $.eapFastEapGtc; + this.eapFastEapGtcPwdChange = $.eapFastEapGtcPwdChange; + this.eapFastEapGtcPwdChangeRetries = $.eapFastEapGtcPwdChangeRetries; + this.eapFastEapMsChapV2 = $.eapFastEapMsChapV2; + this.eapFastEapMsChapV2PwdChange = $.eapFastEapMsChapV2PwdChange; + this.eapFastEapMsChapV2PwdChangeRetries = $.eapFastEapMsChapV2PwdChangeRetries; + this.eapFastEapTls = $.eapFastEapTls; + this.eapFastEapTlsAuthOfExpiredCerts = $.eapFastEapTlsAuthOfExpiredCerts; + this.eapFastEnableEapChaining = $.eapFastEnableEapChaining; + this.eapFastPacsAllowAnonymousProvisioning = $.eapFastPacsAllowAnonymousProvisioning; + this.eapFastPacsAllowAuthenticatedProvisioning = $.eapFastPacsAllowAuthenticatedProvisioning; + this.eapFastPacsAllowClientCert = $.eapFastPacsAllowClientCert; + this.eapFastPacsAllowMachineAuthentication = $.eapFastPacsAllowMachineAuthentication; + this.eapFastPacsAuthorizationPacTtl = $.eapFastPacsAuthorizationPacTtl; + this.eapFastPacsAuthorizationPacTtlUnit = $.eapFastPacsAuthorizationPacTtlUnit; + this.eapFastPacsMachinePacTtl = $.eapFastPacsMachinePacTtl; + this.eapFastPacsMachinePacTtlUnit = $.eapFastPacsMachinePacTtlUnit; + this.eapFastPacsServerReturns = $.eapFastPacsServerReturns; + this.eapFastPacsStatelessSessionResume = $.eapFastPacsStatelessSessionResume; + this.eapFastPacsTunnelPacTtl = $.eapFastPacsTunnelPacTtl; + this.eapFastPacsTunnelPacTtlUnit = $.eapFastPacsTunnelPacTtlUnit; + this.eapFastPacsUseProactivePacUpdatePercentage = $.eapFastPacsUseProactivePacUpdatePercentage; + this.eapFastUsePacs = $.eapFastUsePacs; + this.eapTlsAllowAuthOfExpiredCerts = $.eapTlsAllowAuthOfExpiredCerts; + this.eapTlsEnableStatelessSessionResume = $.eapTlsEnableStatelessSessionResume; + this.eapTlsLBit = $.eapTlsLBit; + this.eapTlsSessionTicketPercentage = $.eapTlsSessionTicketPercentage; + this.eapTlsSessionTicketTtl = $.eapTlsSessionTicketTtl; + this.eapTlsSessionTicketTtlUnit = $.eapTlsSessionTicketTtlUnit; + this.eapTtlsChap = $.eapTtlsChap; + this.eapTtlsEapMd5 = $.eapTtlsEapMd5; + this.eapTtlsEapMsChapV2 = $.eapTtlsEapMsChapV2; + this.eapTtlsEapMsChapV2PwdChange = $.eapTtlsEapMsChapV2PwdChange; + this.eapTtlsEapMsChapV2PwdChangeRetries = $.eapTtlsEapMsChapV2PwdChangeRetries; + this.eapTtlsMsChapV1 = $.eapTtlsMsChapV1; + this.eapTtlsMsChapV2 = $.eapTtlsMsChapV2; + this.eapTtlsPapAscii = $.eapTtlsPapAscii; + this.name = $.name; + this.peapAllowPeapEapGtc = $.peapAllowPeapEapGtc; + this.peapAllowPeapEapGtcPwdChange = $.peapAllowPeapEapGtcPwdChange; + this.peapAllowPeapEapGtcPwdChangeRetries = $.peapAllowPeapEapGtcPwdChangeRetries; + this.peapAllowPeapEapMsChapV2 = $.peapAllowPeapEapMsChapV2; + this.peapAllowPeapEapMsChapV2PwdChange = $.peapAllowPeapEapMsChapV2PwdChange; + this.peapAllowPeapEapMsChapV2PwdChangeRetries = $.peapAllowPeapEapMsChapV2PwdChangeRetries; + this.peapAllowPeapEapTls = $.peapAllowPeapEapTls; + this.peapAllowPeapEapTlsAuthOfExpiredCerts = $.peapAllowPeapEapTlsAuthOfExpiredCerts; + this.peapPeapV0 = $.peapPeapV0; + this.preferredEapProtocol = $.preferredEapProtocol; + this.processHostLookup = $.processHostLookup; + this.requireCryptobinding = $.requireCryptobinding; + this.requireMessageAuth = $.requireMessageAuth; + this.teapDowngradeMsk = $.teapDowngradeMsk; + this.teapEapAcceptClientCertDuringTunnelEst = $.teapEapAcceptClientCertDuringTunnelEst; + this.teapEapChaining = $.teapEapChaining; + this.teapEapMsChapV2 = $.teapEapMsChapV2; + this.teapEapMsChapV2PwdChange = $.teapEapMsChapV2PwdChange; + this.teapEapMsChapV2PwdChangeRetries = $.teapEapMsChapV2PwdChangeRetries; + this.teapEapTls = $.teapEapTls; + this.teapEapTlsAuthOfExpiredCerts = $.teapEapTlsAuthOfExpiredCerts; + this.teapRequestBasicPwdAuth = $.teapRequestBasicPwdAuth; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AllowedProtocolsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AllowedProtocolsArgs $; + + public Builder() { + $ = new AllowedProtocolsArgs(); + } + + public Builder(AllowedProtocolsArgs defaults) { + $ = new AllowedProtocolsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param allow5g Allow 5G. This field is only supported from ISE 3.2. + * + * @return builder + * + */ + public Builder allow5g(@Nullable Output allow5g) { + $.allow5g = allow5g; + return this; + } + + /** + * @param allow5g Allow 5G. This field is only supported from ISE 3.2. + * + * @return builder + * + */ + public Builder allow5g(Boolean allow5g) { + return allow5g(Output.of(allow5g)); + } + + /** + * @param allowChap Allow CHAP + * + * @return builder + * + */ + public Builder allowChap(Output allowChap) { + $.allowChap = allowChap; + return this; + } + + /** + * @param allowChap Allow CHAP + * + * @return builder + * + */ + public Builder allowChap(Boolean allowChap) { + return allowChap(Output.of(allowChap)); + } + + /** + * @param allowEapFast Allow EAP Fast + * + * @return builder + * + */ + public Builder allowEapFast(Output allowEapFast) { + $.allowEapFast = allowEapFast; + return this; + } + + /** + * @param allowEapFast Allow EAP Fast + * + * @return builder + * + */ + public Builder allowEapFast(Boolean allowEapFast) { + return allowEapFast(Output.of(allowEapFast)); + } + + /** + * @param allowEapMd5 Allow EAP MD5 + * + * @return builder + * + */ + public Builder allowEapMd5(Output allowEapMd5) { + $.allowEapMd5 = allowEapMd5; + return this; + } + + /** + * @param allowEapMd5 Allow EAP MD5 + * + * @return builder + * + */ + public Builder allowEapMd5(Boolean allowEapMd5) { + return allowEapMd5(Output.of(allowEapMd5)); + } + + /** + * @param allowEapTls Allow EAP TLS + * + * @return builder + * + */ + public Builder allowEapTls(Output allowEapTls) { + $.allowEapTls = allowEapTls; + return this; + } + + /** + * @param allowEapTls Allow EAP TLS + * + * @return builder + * + */ + public Builder allowEapTls(Boolean allowEapTls) { + return allowEapTls(Output.of(allowEapTls)); + } + + /** + * @param allowEapTtls Allow EAP TTLS + * + * @return builder + * + */ + public Builder allowEapTtls(Output allowEapTtls) { + $.allowEapTtls = allowEapTtls; + return this; + } + + /** + * @param allowEapTtls Allow EAP TTLS + * + * @return builder + * + */ + public Builder allowEapTtls(Boolean allowEapTtls) { + return allowEapTtls(Output.of(allowEapTtls)); + } + + /** + * @param allowLeap Allow LEAP + * + * @return builder + * + */ + public Builder allowLeap(Output allowLeap) { + $.allowLeap = allowLeap; + return this; + } + + /** + * @param allowLeap Allow LEAP + * + * @return builder + * + */ + public Builder allowLeap(Boolean allowLeap) { + return allowLeap(Output.of(allowLeap)); + } + + /** + * @param allowMsChapV1 Allow MS CHAP v1 + * + * @return builder + * + */ + public Builder allowMsChapV1(Output allowMsChapV1) { + $.allowMsChapV1 = allowMsChapV1; + return this; + } + + /** + * @param allowMsChapV1 Allow MS CHAP v1 + * + * @return builder + * + */ + public Builder allowMsChapV1(Boolean allowMsChapV1) { + return allowMsChapV1(Output.of(allowMsChapV1)); + } + + /** + * @param allowMsChapV2 Allow MS CHAP v2 + * + * @return builder + * + */ + public Builder allowMsChapV2(Output allowMsChapV2) { + $.allowMsChapV2 = allowMsChapV2; + return this; + } + + /** + * @param allowMsChapV2 Allow MS CHAP v2 + * + * @return builder + * + */ + public Builder allowMsChapV2(Boolean allowMsChapV2) { + return allowMsChapV2(Output.of(allowMsChapV2)); + } + + /** + * @param allowPapAscii Allow PAP ASCII + * + * @return builder + * + */ + public Builder allowPapAscii(Output allowPapAscii) { + $.allowPapAscii = allowPapAscii; + return this; + } + + /** + * @param allowPapAscii Allow PAP ASCII + * + * @return builder + * + */ + public Builder allowPapAscii(Boolean allowPapAscii) { + return allowPapAscii(Output.of(allowPapAscii)); + } + + /** + * @param allowPeap Allow PEAP + * + * @return builder + * + */ + public Builder allowPeap(Output allowPeap) { + $.allowPeap = allowPeap; + return this; + } + + /** + * @param allowPeap Allow PEAP + * + * @return builder + * + */ + public Builder allowPeap(Boolean allowPeap) { + return allowPeap(Output.of(allowPeap)); + } + + /** + * @param allowPreferredEapProtocol Allow preferred EAP protocol + * + * @return builder + * + */ + public Builder allowPreferredEapProtocol(Output allowPreferredEapProtocol) { + $.allowPreferredEapProtocol = allowPreferredEapProtocol; + return this; + } + + /** + * @param allowPreferredEapProtocol Allow preferred EAP protocol + * + * @return builder + * + */ + public Builder allowPreferredEapProtocol(Boolean allowPreferredEapProtocol) { + return allowPreferredEapProtocol(Output.of(allowPreferredEapProtocol)); + } + + /** + * @param allowTeap Allow TEAP + * + * @return builder + * + */ + public Builder allowTeap(Output allowTeap) { + $.allowTeap = allowTeap; + return this; + } + + /** + * @param allowTeap Allow TEAP + * + * @return builder + * + */ + public Builder allowTeap(Boolean allowTeap) { + return allowTeap(Output.of(allowTeap)); + } + + /** + * @param allowWeakCiphersForEap Allow weak ciphers for EAP + * + * @return builder + * + */ + public Builder allowWeakCiphersForEap(Output allowWeakCiphersForEap) { + $.allowWeakCiphersForEap = allowWeakCiphersForEap; + return this; + } + + /** + * @param allowWeakCiphersForEap Allow weak ciphers for EAP + * + * @return builder + * + */ + public Builder allowWeakCiphersForEap(Boolean allowWeakCiphersForEap) { + return allowWeakCiphersForEap(Output.of(allowWeakCiphersForEap)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param eapFastAcceptClientCert Accept client certificates. Is required only if `eap_fast_use_pacs` is `false`. + * + * @return builder + * + */ + public Builder eapFastAcceptClientCert(@Nullable Output eapFastAcceptClientCert) { + $.eapFastAcceptClientCert = eapFastAcceptClientCert; + return this; + } + + /** + * @param eapFastAcceptClientCert Accept client certificates. Is required only if `eap_fast_use_pacs` is `false`. + * + * @return builder + * + */ + public Builder eapFastAcceptClientCert(Boolean eapFastAcceptClientCert) { + return eapFastAcceptClientCert(Output.of(eapFastAcceptClientCert)); + } + + /** + * @param eapFastAllowMachineAuthentication Allow machine authentication. Is required only if `eap_fast_use_pacs` is `false`. + * + * @return builder + * + */ + public Builder eapFastAllowMachineAuthentication(@Nullable Output eapFastAllowMachineAuthentication) { + $.eapFastAllowMachineAuthentication = eapFastAllowMachineAuthentication; + return this; + } + + /** + * @param eapFastAllowMachineAuthentication Allow machine authentication. Is required only if `eap_fast_use_pacs` is `false`. + * + * @return builder + * + */ + public Builder eapFastAllowMachineAuthentication(Boolean eapFastAllowMachineAuthentication) { + return eapFastAllowMachineAuthentication(Output.of(eapFastAllowMachineAuthentication)); + } + + /** + * @param eapFastEapGtc Allow EAP GTC + * + * @return builder + * + */ + public Builder eapFastEapGtc(@Nullable Output eapFastEapGtc) { + $.eapFastEapGtc = eapFastEapGtc; + return this; + } + + /** + * @param eapFastEapGtc Allow EAP GTC + * + * @return builder + * + */ + public Builder eapFastEapGtc(Boolean eapFastEapGtc) { + return eapFastEapGtc(Output.of(eapFastEapGtc)); + } + + /** + * @param eapFastEapGtcPwdChange Allow EAP GTC password change. Is required only if `eap_fast_eap_gtc` is `true`. + * + * @return builder + * + */ + public Builder eapFastEapGtcPwdChange(@Nullable Output eapFastEapGtcPwdChange) { + $.eapFastEapGtcPwdChange = eapFastEapGtcPwdChange; + return this; + } + + /** + * @param eapFastEapGtcPwdChange Allow EAP GTC password change. Is required only if `eap_fast_eap_gtc` is `true`. + * + * @return builder + * + */ + public Builder eapFastEapGtcPwdChange(Boolean eapFastEapGtcPwdChange) { + return eapFastEapGtcPwdChange(Output.of(eapFastEapGtcPwdChange)); + } + + /** + * @param eapFastEapGtcPwdChangeRetries EAP GTC password change retries. Is required only if `eap_fast_eap_gtc` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder eapFastEapGtcPwdChangeRetries(@Nullable Output eapFastEapGtcPwdChangeRetries) { + $.eapFastEapGtcPwdChangeRetries = eapFastEapGtcPwdChangeRetries; + return this; + } + + /** + * @param eapFastEapGtcPwdChangeRetries EAP GTC password change retries. Is required only if `eap_fast_eap_gtc` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder eapFastEapGtcPwdChangeRetries(Integer eapFastEapGtcPwdChangeRetries) { + return eapFastEapGtcPwdChangeRetries(Output.of(eapFastEapGtcPwdChangeRetries)); + } + + /** + * @param eapFastEapMsChapV2 Allow EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder eapFastEapMsChapV2(@Nullable Output eapFastEapMsChapV2) { + $.eapFastEapMsChapV2 = eapFastEapMsChapV2; + return this; + } + + /** + * @param eapFastEapMsChapV2 Allow EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder eapFastEapMsChapV2(Boolean eapFastEapMsChapV2) { + return eapFastEapMsChapV2(Output.of(eapFastEapMsChapV2)); + } + + /** + * @param eapFastEapMsChapV2PwdChange Allow EAP MS CHAP v2 password change. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder eapFastEapMsChapV2PwdChange(@Nullable Output eapFastEapMsChapV2PwdChange) { + $.eapFastEapMsChapV2PwdChange = eapFastEapMsChapV2PwdChange; + return this; + } + + /** + * @param eapFastEapMsChapV2PwdChange Allow EAP MS CHAP v2 password change. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder eapFastEapMsChapV2PwdChange(Boolean eapFastEapMsChapV2PwdChange) { + return eapFastEapMsChapV2PwdChange(Output.of(eapFastEapMsChapV2PwdChange)); + } + + /** + * @param eapFastEapMsChapV2PwdChangeRetries EAP MS CHAP v2 password change retries. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder eapFastEapMsChapV2PwdChangeRetries(@Nullable Output eapFastEapMsChapV2PwdChangeRetries) { + $.eapFastEapMsChapV2PwdChangeRetries = eapFastEapMsChapV2PwdChangeRetries; + return this; + } + + /** + * @param eapFastEapMsChapV2PwdChangeRetries EAP MS CHAP v2 password change retries. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder eapFastEapMsChapV2PwdChangeRetries(Integer eapFastEapMsChapV2PwdChangeRetries) { + return eapFastEapMsChapV2PwdChangeRetries(Output.of(eapFastEapMsChapV2PwdChangeRetries)); + } + + /** + * @param eapFastEapTls Allow EAP TLS + * + * @return builder + * + */ + public Builder eapFastEapTls(@Nullable Output eapFastEapTls) { + $.eapFastEapTls = eapFastEapTls; + return this; + } + + /** + * @param eapFastEapTls Allow EAP TLS + * + * @return builder + * + */ + public Builder eapFastEapTls(Boolean eapFastEapTls) { + return eapFastEapTls(Output.of(eapFastEapTls)); + } + + /** + * @param eapFastEapTlsAuthOfExpiredCerts Allow EAP TLS authentication of expired certificates. Is required only if `eap_fast_eap_tls` is `true`. + * + * @return builder + * + */ + public Builder eapFastEapTlsAuthOfExpiredCerts(@Nullable Output eapFastEapTlsAuthOfExpiredCerts) { + $.eapFastEapTlsAuthOfExpiredCerts = eapFastEapTlsAuthOfExpiredCerts; + return this; + } + + /** + * @param eapFastEapTlsAuthOfExpiredCerts Allow EAP TLS authentication of expired certificates. Is required only if `eap_fast_eap_tls` is `true`. + * + * @return builder + * + */ + public Builder eapFastEapTlsAuthOfExpiredCerts(Boolean eapFastEapTlsAuthOfExpiredCerts) { + return eapFastEapTlsAuthOfExpiredCerts(Output.of(eapFastEapTlsAuthOfExpiredCerts)); + } + + /** + * @param eapFastEnableEapChaining Enable EAP chaining + * + * @return builder + * + */ + public Builder eapFastEnableEapChaining(@Nullable Output eapFastEnableEapChaining) { + $.eapFastEnableEapChaining = eapFastEnableEapChaining; + return this; + } + + /** + * @param eapFastEnableEapChaining Enable EAP chaining + * + * @return builder + * + */ + public Builder eapFastEnableEapChaining(Boolean eapFastEnableEapChaining) { + return eapFastEnableEapChaining(Output.of(eapFastEnableEapChaining)); + } + + /** + * @param eapFastPacsAllowAnonymousProvisioning Allow anonymous provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowAnonymousProvisioning(@Nullable Output eapFastPacsAllowAnonymousProvisioning) { + $.eapFastPacsAllowAnonymousProvisioning = eapFastPacsAllowAnonymousProvisioning; + return this; + } + + /** + * @param eapFastPacsAllowAnonymousProvisioning Allow anonymous provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowAnonymousProvisioning(Boolean eapFastPacsAllowAnonymousProvisioning) { + return eapFastPacsAllowAnonymousProvisioning(Output.of(eapFastPacsAllowAnonymousProvisioning)); + } + + /** + * @param eapFastPacsAllowAuthenticatedProvisioning Allow authenticated provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowAuthenticatedProvisioning(@Nullable Output eapFastPacsAllowAuthenticatedProvisioning) { + $.eapFastPacsAllowAuthenticatedProvisioning = eapFastPacsAllowAuthenticatedProvisioning; + return this; + } + + /** + * @param eapFastPacsAllowAuthenticatedProvisioning Allow authenticated provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowAuthenticatedProvisioning(Boolean eapFastPacsAllowAuthenticatedProvisioning) { + return eapFastPacsAllowAuthenticatedProvisioning(Output.of(eapFastPacsAllowAuthenticatedProvisioning)); + } + + /** + * @param eapFastPacsAllowClientCert Accept client certification for provisioning. Is required only if `eap_fast_pacs_allow_authenticated_provisioning` is + * `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowClientCert(@Nullable Output eapFastPacsAllowClientCert) { + $.eapFastPacsAllowClientCert = eapFastPacsAllowClientCert; + return this; + } + + /** + * @param eapFastPacsAllowClientCert Accept client certification for provisioning. Is required only if `eap_fast_pacs_allow_authenticated_provisioning` is + * `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowClientCert(Boolean eapFastPacsAllowClientCert) { + return eapFastPacsAllowClientCert(Output.of(eapFastPacsAllowClientCert)); + } + + /** + * @param eapFastPacsAllowMachineAuthentication Allow machine authentication. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowMachineAuthentication(@Nullable Output eapFastPacsAllowMachineAuthentication) { + $.eapFastPacsAllowMachineAuthentication = eapFastPacsAllowMachineAuthentication; + return this; + } + + /** + * @param eapFastPacsAllowMachineAuthentication Allow machine authentication. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowMachineAuthentication(Boolean eapFastPacsAllowMachineAuthentication) { + return eapFastPacsAllowMachineAuthentication(Output.of(eapFastPacsAllowMachineAuthentication)); + } + + /** + * @param eapFastPacsAuthorizationPacTtl Authorization PAC TTL. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAuthorizationPacTtl(@Nullable Output eapFastPacsAuthorizationPacTtl) { + $.eapFastPacsAuthorizationPacTtl = eapFastPacsAuthorizationPacTtl; + return this; + } + + /** + * @param eapFastPacsAuthorizationPacTtl Authorization PAC TTL. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAuthorizationPacTtl(Integer eapFastPacsAuthorizationPacTtl) { + return eapFastPacsAuthorizationPacTtl(Output.of(eapFastPacsAuthorizationPacTtl)); + } + + /** + * @param eapFastPacsAuthorizationPacTtlUnit Authorization PAC TTL unit. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. - Choices: + * `SECONDS`, `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapFastPacsAuthorizationPacTtlUnit(@Nullable Output eapFastPacsAuthorizationPacTtlUnit) { + $.eapFastPacsAuthorizationPacTtlUnit = eapFastPacsAuthorizationPacTtlUnit; + return this; + } + + /** + * @param eapFastPacsAuthorizationPacTtlUnit Authorization PAC TTL unit. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. - Choices: + * `SECONDS`, `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapFastPacsAuthorizationPacTtlUnit(String eapFastPacsAuthorizationPacTtlUnit) { + return eapFastPacsAuthorizationPacTtlUnit(Output.of(eapFastPacsAuthorizationPacTtlUnit)); + } + + /** + * @param eapFastPacsMachinePacTtl Machine PAC TTL. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsMachinePacTtl(@Nullable Output eapFastPacsMachinePacTtl) { + $.eapFastPacsMachinePacTtl = eapFastPacsMachinePacTtl; + return this; + } + + /** + * @param eapFastPacsMachinePacTtl Machine PAC TTL. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsMachinePacTtl(Integer eapFastPacsMachinePacTtl) { + return eapFastPacsMachinePacTtl(Output.of(eapFastPacsMachinePacTtl)); + } + + /** + * @param eapFastPacsMachinePacTtlUnit Machine PAC TTL unit. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapFastPacsMachinePacTtlUnit(@Nullable Output eapFastPacsMachinePacTtlUnit) { + $.eapFastPacsMachinePacTtlUnit = eapFastPacsMachinePacTtlUnit; + return this; + } + + /** + * @param eapFastPacsMachinePacTtlUnit Machine PAC TTL unit. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapFastPacsMachinePacTtlUnit(String eapFastPacsMachinePacTtlUnit) { + return eapFastPacsMachinePacTtlUnit(Output.of(eapFastPacsMachinePacTtlUnit)); + } + + /** + * @param eapFastPacsServerReturns Server returns access accept after authenticated provisioning. Is required only if + * `eap_fast_pacs_allow_authenticated_provisioning` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsServerReturns(@Nullable Output eapFastPacsServerReturns) { + $.eapFastPacsServerReturns = eapFastPacsServerReturns; + return this; + } + + /** + * @param eapFastPacsServerReturns Server returns access accept after authenticated provisioning. Is required only if + * `eap_fast_pacs_allow_authenticated_provisioning` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsServerReturns(Boolean eapFastPacsServerReturns) { + return eapFastPacsServerReturns(Output.of(eapFastPacsServerReturns)); + } + + /** + * @param eapFastPacsStatelessSessionResume Stateless session resume. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsStatelessSessionResume(@Nullable Output eapFastPacsStatelessSessionResume) { + $.eapFastPacsStatelessSessionResume = eapFastPacsStatelessSessionResume; + return this; + } + + /** + * @param eapFastPacsStatelessSessionResume Stateless session resume. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsStatelessSessionResume(Boolean eapFastPacsStatelessSessionResume) { + return eapFastPacsStatelessSessionResume(Output.of(eapFastPacsStatelessSessionResume)); + } + + /** + * @param eapFastPacsTunnelPacTtl PACs tunnel PAC time to live. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsTunnelPacTtl(@Nullable Output eapFastPacsTunnelPacTtl) { + $.eapFastPacsTunnelPacTtl = eapFastPacsTunnelPacTtl; + return this; + } + + /** + * @param eapFastPacsTunnelPacTtl PACs tunnel PAC time to live. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsTunnelPacTtl(Integer eapFastPacsTunnelPacTtl) { + return eapFastPacsTunnelPacTtl(Output.of(eapFastPacsTunnelPacTtl)); + } + + /** + * @param eapFastPacsTunnelPacTtlUnit PACs tunnel PAC time to live unit. Is required only if `eap_fast_use_pacs` is `true`. - Choices: `SECONDS`, `MINUTES`, + * `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapFastPacsTunnelPacTtlUnit(@Nullable Output eapFastPacsTunnelPacTtlUnit) { + $.eapFastPacsTunnelPacTtlUnit = eapFastPacsTunnelPacTtlUnit; + return this; + } + + /** + * @param eapFastPacsTunnelPacTtlUnit PACs tunnel PAC time to live unit. Is required only if `eap_fast_use_pacs` is `true`. - Choices: `SECONDS`, `MINUTES`, + * `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapFastPacsTunnelPacTtlUnit(String eapFastPacsTunnelPacTtlUnit) { + return eapFastPacsTunnelPacTtlUnit(Output.of(eapFastPacsTunnelPacTtlUnit)); + } + + /** + * @param eapFastPacsUseProactivePacUpdatePercentage Use proactive pac update percentage. Is required only if `eap_fast_use_pacs` is `true`. - Range: `1`-`100` + * + * @return builder + * + */ + public Builder eapFastPacsUseProactivePacUpdatePercentage(@Nullable Output eapFastPacsUseProactivePacUpdatePercentage) { + $.eapFastPacsUseProactivePacUpdatePercentage = eapFastPacsUseProactivePacUpdatePercentage; + return this; + } + + /** + * @param eapFastPacsUseProactivePacUpdatePercentage Use proactive pac update percentage. Is required only if `eap_fast_use_pacs` is `true`. - Range: `1`-`100` + * + * @return builder + * + */ + public Builder eapFastPacsUseProactivePacUpdatePercentage(Integer eapFastPacsUseProactivePacUpdatePercentage) { + return eapFastPacsUseProactivePacUpdatePercentage(Output.of(eapFastPacsUseProactivePacUpdatePercentage)); + } + + /** + * @param eapFastUsePacs Use PACs + * + * @return builder + * + */ + public Builder eapFastUsePacs(@Nullable Output eapFastUsePacs) { + $.eapFastUsePacs = eapFastUsePacs; + return this; + } + + /** + * @param eapFastUsePacs Use PACs + * + * @return builder + * + */ + public Builder eapFastUsePacs(Boolean eapFastUsePacs) { + return eapFastUsePacs(Output.of(eapFastUsePacs)); + } + + /** + * @param eapTlsAllowAuthOfExpiredCerts Allow authentication of expired certificates + * + * @return builder + * + */ + public Builder eapTlsAllowAuthOfExpiredCerts(@Nullable Output eapTlsAllowAuthOfExpiredCerts) { + $.eapTlsAllowAuthOfExpiredCerts = eapTlsAllowAuthOfExpiredCerts; + return this; + } + + /** + * @param eapTlsAllowAuthOfExpiredCerts Allow authentication of expired certificates + * + * @return builder + * + */ + public Builder eapTlsAllowAuthOfExpiredCerts(Boolean eapTlsAllowAuthOfExpiredCerts) { + return eapTlsAllowAuthOfExpiredCerts(Output.of(eapTlsAllowAuthOfExpiredCerts)); + } + + /** + * @param eapTlsEnableStatelessSessionResume Enable stateless session resume + * + * @return builder + * + */ + public Builder eapTlsEnableStatelessSessionResume(@Nullable Output eapTlsEnableStatelessSessionResume) { + $.eapTlsEnableStatelessSessionResume = eapTlsEnableStatelessSessionResume; + return this; + } + + /** + * @param eapTlsEnableStatelessSessionResume Enable stateless session resume + * + * @return builder + * + */ + public Builder eapTlsEnableStatelessSessionResume(Boolean eapTlsEnableStatelessSessionResume) { + return eapTlsEnableStatelessSessionResume(Output.of(eapTlsEnableStatelessSessionResume)); + } + + /** + * @param eapTlsLBit EAP TLS L-Bit + * + * @return builder + * + */ + public Builder eapTlsLBit(Output eapTlsLBit) { + $.eapTlsLBit = eapTlsLBit; + return this; + } + + /** + * @param eapTlsLBit EAP TLS L-Bit + * + * @return builder + * + */ + public Builder eapTlsLBit(Boolean eapTlsLBit) { + return eapTlsLBit(Output.of(eapTlsLBit)); + } + + /** + * @param eapTlsSessionTicketPercentage Session ticket percentage. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Range: `1`-`100` + * + * @return builder + * + */ + public Builder eapTlsSessionTicketPercentage(@Nullable Output eapTlsSessionTicketPercentage) { + $.eapTlsSessionTicketPercentage = eapTlsSessionTicketPercentage; + return this; + } + + /** + * @param eapTlsSessionTicketPercentage Session ticket percentage. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Range: `1`-`100` + * + * @return builder + * + */ + public Builder eapTlsSessionTicketPercentage(Integer eapTlsSessionTicketPercentage) { + return eapTlsSessionTicketPercentage(Output.of(eapTlsSessionTicketPercentage)); + } + + /** + * @param eapTlsSessionTicketTtl Session ticket TTL. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + * @return builder + * + */ + public Builder eapTlsSessionTicketTtl(@Nullable Output eapTlsSessionTicketTtl) { + $.eapTlsSessionTicketTtl = eapTlsSessionTicketTtl; + return this; + } + + /** + * @param eapTlsSessionTicketTtl Session ticket TTL. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + * @return builder + * + */ + public Builder eapTlsSessionTicketTtl(Integer eapTlsSessionTicketTtl) { + return eapTlsSessionTicketTtl(Output.of(eapTlsSessionTicketTtl)); + } + + /** + * @param eapTlsSessionTicketTtlUnit Session ticket TTL unit. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapTlsSessionTicketTtlUnit(@Nullable Output eapTlsSessionTicketTtlUnit) { + $.eapTlsSessionTicketTtlUnit = eapTlsSessionTicketTtlUnit; + return this; + } + + /** + * @param eapTlsSessionTicketTtlUnit Session ticket TTL unit. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapTlsSessionTicketTtlUnit(String eapTlsSessionTicketTtlUnit) { + return eapTlsSessionTicketTtlUnit(Output.of(eapTlsSessionTicketTtlUnit)); + } + + /** + * @param eapTtlsChap Allow CHAP + * + * @return builder + * + */ + public Builder eapTtlsChap(@Nullable Output eapTtlsChap) { + $.eapTtlsChap = eapTtlsChap; + return this; + } + + /** + * @param eapTtlsChap Allow CHAP + * + * @return builder + * + */ + public Builder eapTtlsChap(Boolean eapTtlsChap) { + return eapTtlsChap(Output.of(eapTtlsChap)); + } + + /** + * @param eapTtlsEapMd5 Allow EAP MD5 + * + * @return builder + * + */ + public Builder eapTtlsEapMd5(@Nullable Output eapTtlsEapMd5) { + $.eapTtlsEapMd5 = eapTtlsEapMd5; + return this; + } + + /** + * @param eapTtlsEapMd5 Allow EAP MD5 + * + * @return builder + * + */ + public Builder eapTtlsEapMd5(Boolean eapTtlsEapMd5) { + return eapTtlsEapMd5(Output.of(eapTtlsEapMd5)); + } + + /** + * @param eapTtlsEapMsChapV2 Allow EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder eapTtlsEapMsChapV2(@Nullable Output eapTtlsEapMsChapV2) { + $.eapTtlsEapMsChapV2 = eapTtlsEapMsChapV2; + return this; + } + + /** + * @param eapTtlsEapMsChapV2 Allow EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder eapTtlsEapMsChapV2(Boolean eapTtlsEapMsChapV2) { + return eapTtlsEapMsChapV2(Output.of(eapTtlsEapMsChapV2)); + } + + /** + * @param eapTtlsEapMsChapV2PwdChange Allow EAP MS CHAP v2 password change. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder eapTtlsEapMsChapV2PwdChange(@Nullable Output eapTtlsEapMsChapV2PwdChange) { + $.eapTtlsEapMsChapV2PwdChange = eapTtlsEapMsChapV2PwdChange; + return this; + } + + /** + * @param eapTtlsEapMsChapV2PwdChange Allow EAP MS CHAP v2 password change. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder eapTtlsEapMsChapV2PwdChange(Boolean eapTtlsEapMsChapV2PwdChange) { + return eapTtlsEapMsChapV2PwdChange(Output.of(eapTtlsEapMsChapV2PwdChange)); + } + + /** + * @param eapTtlsEapMsChapV2PwdChangeRetries EAP MS CHAP v2 password change retries. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder eapTtlsEapMsChapV2PwdChangeRetries(@Nullable Output eapTtlsEapMsChapV2PwdChangeRetries) { + $.eapTtlsEapMsChapV2PwdChangeRetries = eapTtlsEapMsChapV2PwdChangeRetries; + return this; + } + + /** + * @param eapTtlsEapMsChapV2PwdChangeRetries EAP MS CHAP v2 password change retries. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder eapTtlsEapMsChapV2PwdChangeRetries(Integer eapTtlsEapMsChapV2PwdChangeRetries) { + return eapTtlsEapMsChapV2PwdChangeRetries(Output.of(eapTtlsEapMsChapV2PwdChangeRetries)); + } + + /** + * @param eapTtlsMsChapV1 Allow MS CHAP v1 + * + * @return builder + * + */ + public Builder eapTtlsMsChapV1(@Nullable Output eapTtlsMsChapV1) { + $.eapTtlsMsChapV1 = eapTtlsMsChapV1; + return this; + } + + /** + * @param eapTtlsMsChapV1 Allow MS CHAP v1 + * + * @return builder + * + */ + public Builder eapTtlsMsChapV1(Boolean eapTtlsMsChapV1) { + return eapTtlsMsChapV1(Output.of(eapTtlsMsChapV1)); + } + + /** + * @param eapTtlsMsChapV2 Allow MS CHAP v2 + * + * @return builder + * + */ + public Builder eapTtlsMsChapV2(@Nullable Output eapTtlsMsChapV2) { + $.eapTtlsMsChapV2 = eapTtlsMsChapV2; + return this; + } + + /** + * @param eapTtlsMsChapV2 Allow MS CHAP v2 + * + * @return builder + * + */ + public Builder eapTtlsMsChapV2(Boolean eapTtlsMsChapV2) { + return eapTtlsMsChapV2(Output.of(eapTtlsMsChapV2)); + } + + /** + * @param eapTtlsPapAscii Allow PAP ASCII + * + * @return builder + * + */ + public Builder eapTtlsPapAscii(@Nullable Output eapTtlsPapAscii) { + $.eapTtlsPapAscii = eapTtlsPapAscii; + return this; + } + + /** + * @param eapTtlsPapAscii Allow PAP ASCII + * + * @return builder + * + */ + public Builder eapTtlsPapAscii(Boolean eapTtlsPapAscii) { + return eapTtlsPapAscii(Output.of(eapTtlsPapAscii)); + } + + /** + * @param name The name of the allowed protocols + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the allowed protocols + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param peapAllowPeapEapGtc Allow PEAP EAP GTC + * + * @return builder + * + */ + public Builder peapAllowPeapEapGtc(@Nullable Output peapAllowPeapEapGtc) { + $.peapAllowPeapEapGtc = peapAllowPeapEapGtc; + return this; + } + + /** + * @param peapAllowPeapEapGtc Allow PEAP EAP GTC + * + * @return builder + * + */ + public Builder peapAllowPeapEapGtc(Boolean peapAllowPeapEapGtc) { + return peapAllowPeapEapGtc(Output.of(peapAllowPeapEapGtc)); + } + + /** + * @param peapAllowPeapEapGtcPwdChange Allow PEAP EAP GTC password change. Is required only if `allow_peap_eap_gtc` is `true`. + * + * @return builder + * + */ + public Builder peapAllowPeapEapGtcPwdChange(@Nullable Output peapAllowPeapEapGtcPwdChange) { + $.peapAllowPeapEapGtcPwdChange = peapAllowPeapEapGtcPwdChange; + return this; + } + + /** + * @param peapAllowPeapEapGtcPwdChange Allow PEAP EAP GTC password change. Is required only if `allow_peap_eap_gtc` is `true`. + * + * @return builder + * + */ + public Builder peapAllowPeapEapGtcPwdChange(Boolean peapAllowPeapEapGtcPwdChange) { + return peapAllowPeapEapGtcPwdChange(Output.of(peapAllowPeapEapGtcPwdChange)); + } + + /** + * @param peapAllowPeapEapGtcPwdChangeRetries PEAP EAP GTC password change retries. Is required only if `allow_peap_eap_gtc` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder peapAllowPeapEapGtcPwdChangeRetries(@Nullable Output peapAllowPeapEapGtcPwdChangeRetries) { + $.peapAllowPeapEapGtcPwdChangeRetries = peapAllowPeapEapGtcPwdChangeRetries; + return this; + } + + /** + * @param peapAllowPeapEapGtcPwdChangeRetries PEAP EAP GTC password change retries. Is required only if `allow_peap_eap_gtc` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder peapAllowPeapEapGtcPwdChangeRetries(Integer peapAllowPeapEapGtcPwdChangeRetries) { + return peapAllowPeapEapGtcPwdChangeRetries(Output.of(peapAllowPeapEapGtcPwdChangeRetries)); + } + + /** + * @param peapAllowPeapEapMsChapV2 Allow PEAP EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder peapAllowPeapEapMsChapV2(@Nullable Output peapAllowPeapEapMsChapV2) { + $.peapAllowPeapEapMsChapV2 = peapAllowPeapEapMsChapV2; + return this; + } + + /** + * @param peapAllowPeapEapMsChapV2 Allow PEAP EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder peapAllowPeapEapMsChapV2(Boolean peapAllowPeapEapMsChapV2) { + return peapAllowPeapEapMsChapV2(Output.of(peapAllowPeapEapMsChapV2)); + } + + /** + * @param peapAllowPeapEapMsChapV2PwdChange Allow PEAP EAP MS CHAP v2 password change. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder peapAllowPeapEapMsChapV2PwdChange(@Nullable Output peapAllowPeapEapMsChapV2PwdChange) { + $.peapAllowPeapEapMsChapV2PwdChange = peapAllowPeapEapMsChapV2PwdChange; + return this; + } + + /** + * @param peapAllowPeapEapMsChapV2PwdChange Allow PEAP EAP MS CHAP v2 password change. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder peapAllowPeapEapMsChapV2PwdChange(Boolean peapAllowPeapEapMsChapV2PwdChange) { + return peapAllowPeapEapMsChapV2PwdChange(Output.of(peapAllowPeapEapMsChapV2PwdChange)); + } + + /** + * @param peapAllowPeapEapMsChapV2PwdChangeRetries Allow PEAP EAP MS CHAP v2 password change retries. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. - Range: + * `0`-`3` + * + * @return builder + * + */ + public Builder peapAllowPeapEapMsChapV2PwdChangeRetries(@Nullable Output peapAllowPeapEapMsChapV2PwdChangeRetries) { + $.peapAllowPeapEapMsChapV2PwdChangeRetries = peapAllowPeapEapMsChapV2PwdChangeRetries; + return this; + } + + /** + * @param peapAllowPeapEapMsChapV2PwdChangeRetries Allow PEAP EAP MS CHAP v2 password change retries. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. - Range: + * `0`-`3` + * + * @return builder + * + */ + public Builder peapAllowPeapEapMsChapV2PwdChangeRetries(Integer peapAllowPeapEapMsChapV2PwdChangeRetries) { + return peapAllowPeapEapMsChapV2PwdChangeRetries(Output.of(peapAllowPeapEapMsChapV2PwdChangeRetries)); + } + + /** + * @param peapAllowPeapEapTls Allow PEAP EAP TLS + * + * @return builder + * + */ + public Builder peapAllowPeapEapTls(@Nullable Output peapAllowPeapEapTls) { + $.peapAllowPeapEapTls = peapAllowPeapEapTls; + return this; + } + + /** + * @param peapAllowPeapEapTls Allow PEAP EAP TLS + * + * @return builder + * + */ + public Builder peapAllowPeapEapTls(Boolean peapAllowPeapEapTls) { + return peapAllowPeapEapTls(Output.of(peapAllowPeapEapTls)); + } + + /** + * @param peapAllowPeapEapTlsAuthOfExpiredCerts Allow PEAP EAP TLS authentication of expired certificates. Is required only if `peap_allow_peap_eap_tls` is `true`. + * + * @return builder + * + */ + public Builder peapAllowPeapEapTlsAuthOfExpiredCerts(@Nullable Output peapAllowPeapEapTlsAuthOfExpiredCerts) { + $.peapAllowPeapEapTlsAuthOfExpiredCerts = peapAllowPeapEapTlsAuthOfExpiredCerts; + return this; + } + + /** + * @param peapAllowPeapEapTlsAuthOfExpiredCerts Allow PEAP EAP TLS authentication of expired certificates. Is required only if `peap_allow_peap_eap_tls` is `true`. + * + * @return builder + * + */ + public Builder peapAllowPeapEapTlsAuthOfExpiredCerts(Boolean peapAllowPeapEapTlsAuthOfExpiredCerts) { + return peapAllowPeapEapTlsAuthOfExpiredCerts(Output.of(peapAllowPeapEapTlsAuthOfExpiredCerts)); + } + + /** + * @param peapPeapV0 Allow PEAP v0 + * + * @return builder + * + */ + public Builder peapPeapV0(@Nullable Output peapPeapV0) { + $.peapPeapV0 = peapPeapV0; + return this; + } + + /** + * @param peapPeapV0 Allow PEAP v0 + * + * @return builder + * + */ + public Builder peapPeapV0(Boolean peapPeapV0) { + return peapPeapV0(Output.of(peapPeapV0)); + } + + /** + * @param preferredEapProtocol Preferred EAP protocol - Choices: `EAP_FAST`, `PEAP`, `LEAP`, `EAP_MD5`, `EAP_TLS`, `EAP_TTLS`, `TEAP` + * + * @return builder + * + */ + public Builder preferredEapProtocol(@Nullable Output preferredEapProtocol) { + $.preferredEapProtocol = preferredEapProtocol; + return this; + } + + /** + * @param preferredEapProtocol Preferred EAP protocol - Choices: `EAP_FAST`, `PEAP`, `LEAP`, `EAP_MD5`, `EAP_TLS`, `EAP_TTLS`, `TEAP` + * + * @return builder + * + */ + public Builder preferredEapProtocol(String preferredEapProtocol) { + return preferredEapProtocol(Output.of(preferredEapProtocol)); + } + + /** + * @param processHostLookup Process host lookup + * + * @return builder + * + */ + public Builder processHostLookup(Output processHostLookup) { + $.processHostLookup = processHostLookup; + return this; + } + + /** + * @param processHostLookup Process host lookup + * + * @return builder + * + */ + public Builder processHostLookup(Boolean processHostLookup) { + return processHostLookup(Output.of(processHostLookup)); + } + + /** + * @param requireCryptobinding Require cryptobinding + * + * @return builder + * + */ + public Builder requireCryptobinding(@Nullable Output requireCryptobinding) { + $.requireCryptobinding = requireCryptobinding; + return this; + } + + /** + * @param requireCryptobinding Require cryptobinding + * + * @return builder + * + */ + public Builder requireCryptobinding(Boolean requireCryptobinding) { + return requireCryptobinding(Output.of(requireCryptobinding)); + } + + /** + * @param requireMessageAuth Require message authentication + * + * @return builder + * + */ + public Builder requireMessageAuth(Output requireMessageAuth) { + $.requireMessageAuth = requireMessageAuth; + return this; + } + + /** + * @param requireMessageAuth Require message authentication + * + * @return builder + * + */ + public Builder requireMessageAuth(Boolean requireMessageAuth) { + return requireMessageAuth(Output.of(requireMessageAuth)); + } + + /** + * @param teapDowngradeMsk Allow downgrade to MSK + * + * @return builder + * + */ + public Builder teapDowngradeMsk(@Nullable Output teapDowngradeMsk) { + $.teapDowngradeMsk = teapDowngradeMsk; + return this; + } + + /** + * @param teapDowngradeMsk Allow downgrade to MSK + * + * @return builder + * + */ + public Builder teapDowngradeMsk(Boolean teapDowngradeMsk) { + return teapDowngradeMsk(Output.of(teapDowngradeMsk)); + } + + /** + * @param teapEapAcceptClientCertDuringTunnelEst Accept client certificate during tunnel establishment + * + * @return builder + * + */ + public Builder teapEapAcceptClientCertDuringTunnelEst(@Nullable Output teapEapAcceptClientCertDuringTunnelEst) { + $.teapEapAcceptClientCertDuringTunnelEst = teapEapAcceptClientCertDuringTunnelEst; + return this; + } + + /** + * @param teapEapAcceptClientCertDuringTunnelEst Accept client certificate during tunnel establishment + * + * @return builder + * + */ + public Builder teapEapAcceptClientCertDuringTunnelEst(Boolean teapEapAcceptClientCertDuringTunnelEst) { + return teapEapAcceptClientCertDuringTunnelEst(Output.of(teapEapAcceptClientCertDuringTunnelEst)); + } + + /** + * @param teapEapChaining Allow EAP chaining + * + * @return builder + * + */ + public Builder teapEapChaining(@Nullable Output teapEapChaining) { + $.teapEapChaining = teapEapChaining; + return this; + } + + /** + * @param teapEapChaining Allow EAP chaining + * + * @return builder + * + */ + public Builder teapEapChaining(Boolean teapEapChaining) { + return teapEapChaining(Output.of(teapEapChaining)); + } + + /** + * @param teapEapMsChapV2 Allow EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder teapEapMsChapV2(@Nullable Output teapEapMsChapV2) { + $.teapEapMsChapV2 = teapEapMsChapV2; + return this; + } + + /** + * @param teapEapMsChapV2 Allow EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder teapEapMsChapV2(Boolean teapEapMsChapV2) { + return teapEapMsChapV2(Output.of(teapEapMsChapV2)); + } + + /** + * @param teapEapMsChapV2PwdChange Allow EAP MS CHAP v2 password change. Is required only if `teap_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder teapEapMsChapV2PwdChange(@Nullable Output teapEapMsChapV2PwdChange) { + $.teapEapMsChapV2PwdChange = teapEapMsChapV2PwdChange; + return this; + } + + /** + * @param teapEapMsChapV2PwdChange Allow EAP MS CHAP v2 password change. Is required only if `teap_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder teapEapMsChapV2PwdChange(Boolean teapEapMsChapV2PwdChange) { + return teapEapMsChapV2PwdChange(Output.of(teapEapMsChapV2PwdChange)); + } + + /** + * @param teapEapMsChapV2PwdChangeRetries EAP MS CHAP v2 password change retries. Is required only if `teap_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder teapEapMsChapV2PwdChangeRetries(@Nullable Output teapEapMsChapV2PwdChangeRetries) { + $.teapEapMsChapV2PwdChangeRetries = teapEapMsChapV2PwdChangeRetries; + return this; + } + + /** + * @param teapEapMsChapV2PwdChangeRetries EAP MS CHAP v2 password change retries. Is required only if `teap_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder teapEapMsChapV2PwdChangeRetries(Integer teapEapMsChapV2PwdChangeRetries) { + return teapEapMsChapV2PwdChangeRetries(Output.of(teapEapMsChapV2PwdChangeRetries)); + } + + /** + * @param teapEapTls Allow EAP TLS + * + * @return builder + * + */ + public Builder teapEapTls(@Nullable Output teapEapTls) { + $.teapEapTls = teapEapTls; + return this; + } + + /** + * @param teapEapTls Allow EAP TLS + * + * @return builder + * + */ + public Builder teapEapTls(Boolean teapEapTls) { + return teapEapTls(Output.of(teapEapTls)); + } + + /** + * @param teapEapTlsAuthOfExpiredCerts Allow EAP TLS authentication of expired certs. Is required only if `teap_eap_tls` is `true`. + * + * @return builder + * + */ + public Builder teapEapTlsAuthOfExpiredCerts(@Nullable Output teapEapTlsAuthOfExpiredCerts) { + $.teapEapTlsAuthOfExpiredCerts = teapEapTlsAuthOfExpiredCerts; + return this; + } + + /** + * @param teapEapTlsAuthOfExpiredCerts Allow EAP TLS authentication of expired certs. Is required only if `teap_eap_tls` is `true`. + * + * @return builder + * + */ + public Builder teapEapTlsAuthOfExpiredCerts(Boolean teapEapTlsAuthOfExpiredCerts) { + return teapEapTlsAuthOfExpiredCerts(Output.of(teapEapTlsAuthOfExpiredCerts)); + } + + /** + * @param teapRequestBasicPwdAuth Request basic password authentication + * + * @return builder + * + */ + public Builder teapRequestBasicPwdAuth(@Nullable Output teapRequestBasicPwdAuth) { + $.teapRequestBasicPwdAuth = teapRequestBasicPwdAuth; + return this; + } + + /** + * @param teapRequestBasicPwdAuth Request basic password authentication + * + * @return builder + * + */ + public Builder teapRequestBasicPwdAuth(Boolean teapRequestBasicPwdAuth) { + return teapRequestBasicPwdAuth(Output.of(teapRequestBasicPwdAuth)); + } + + public AllowedProtocolsArgs build() { + if ($.allowChap == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "allowChap"); + } + if ($.allowEapFast == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "allowEapFast"); + } + if ($.allowEapMd5 == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "allowEapMd5"); + } + if ($.allowEapTls == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "allowEapTls"); + } + if ($.allowEapTtls == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "allowEapTtls"); + } + if ($.allowLeap == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "allowLeap"); + } + if ($.allowMsChapV1 == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "allowMsChapV1"); + } + if ($.allowMsChapV2 == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "allowMsChapV2"); + } + if ($.allowPapAscii == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "allowPapAscii"); + } + if ($.allowPeap == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "allowPeap"); + } + if ($.allowPreferredEapProtocol == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "allowPreferredEapProtocol"); + } + if ($.allowTeap == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "allowTeap"); + } + if ($.allowWeakCiphersForEap == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "allowWeakCiphersForEap"); + } + if ($.eapTlsLBit == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "eapTlsLBit"); + } + if ($.processHostLookup == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "processHostLookup"); + } + if ($.requireMessageAuth == null) { + throw new MissingRequiredPropertyException("AllowedProtocolsArgs", "requireMessageAuth"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthenticationRule.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthenticationRule.java new file mode 100644 index 0000000..75487ef --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthenticationRule.java @@ -0,0 +1,391 @@ +// *** 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.networkaccess; + +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.networkaccess.AuthenticationRuleArgs; +import com.pulumi.ise.networkaccess.inputs.AuthenticationRuleState; +import com.pulumi.ise.networkaccess.outputs.AuthenticationRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Network Access Authentication Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.AuthenticationRule; + * import com.pulumi.ise.networkaccess.AuthenticationRuleArgs; + * 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 AuthenticationRule("example", AuthenticationRuleArgs.builder() + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .name("Rule1") + * .default_(false) + * .rank(0) + * .state("enabled") + * .conditionType("ConditionAttributes") + * .conditionIsNegate(false) + * .conditionAttributeName("Location") + * .conditionAttributeValue("All Locations") + * .conditionDictionaryName("DEVICE") + * .conditionOperator("equals") + * .identitySourceName("Internal Endpoints") + * .ifAuthFail("REJECT") + * .ifProcessFail("DROP") + * .ifUserNotFound("REJECT") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:networkaccess/authenticationRule:AuthenticationRule example "76d24097-41c4-4558-a4d0-a8c07ac08470,76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:networkaccess/authenticationRule:AuthenticationRule") +public class AuthenticationRule extends com.pulumi.resources.CustomResource { + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Export(name="childrens", refs={List.class,AuthenticationRuleChildren.class}, tree="[0,1]") + private Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Output>> childrens() { + return Codegen.optional(this.childrens); + } + /** + * Dictionary attribute name + * + */ + @Export(name="conditionAttributeName", refs={String.class}, tree="[0]") + private Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Output> conditionAttributeName() { + return Codegen.optional(this.conditionAttributeName); + } + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Export(name="conditionAttributeValue", refs={String.class}, tree="[0]") + private Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Output> conditionAttributeValue() { + return Codegen.optional(this.conditionAttributeValue); + } + /** + * Dictionary name + * + */ + @Export(name="conditionDictionaryName", refs={String.class}, tree="[0]") + private Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Output> conditionDictionaryName() { + return Codegen.optional(this.conditionDictionaryName); + } + /** + * Dictionary value + * + */ + @Export(name="conditionDictionaryValue", refs={String.class}, tree="[0]") + private Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Output> conditionDictionaryValue() { + return Codegen.optional(this.conditionDictionaryValue); + } + /** + * UUID for condition + * + */ + @Export(name="conditionId", refs={String.class}, tree="[0]") + private Output conditionId; + + /** + * @return UUID for condition + * + */ + public Output> conditionId() { + return Codegen.optional(this.conditionId); + } + /** + * Indicates whereas this condition is in negate mode + * + */ + @Export(name="conditionIsNegate", refs={Boolean.class}, tree="[0]") + private Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Output> conditionIsNegate() { + return Codegen.optional(this.conditionIsNegate); + } + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Export(name="conditionOperator", refs={String.class}, tree="[0]") + private Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Output> conditionOperator() { + return Codegen.optional(this.conditionOperator); + } + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Export(name="conditionType", refs={String.class}, tree="[0]") + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Output> conditionType() { + return Codegen.optional(this.conditionType); + } + /** + * Indicates if this rule is the default one + * + */ + @Export(name="default", refs={Boolean.class}, tree="[0]") + private Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Output> default_() { + return Codegen.optional(this.default_); + } + /** + * Identity source name from the identity stores + * + */ + @Export(name="identitySourceName", refs={String.class}, tree="[0]") + private Output identitySourceName; + + /** + * @return Identity source name from the identity stores + * + */ + public Output> identitySourceName() { + return Codegen.optional(this.identitySourceName); + } + /** + * Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + */ + @Export(name="ifAuthFail", refs={String.class}, tree="[0]") + private Output ifAuthFail; + + /** + * @return Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + */ + public Output ifAuthFail() { + return this.ifAuthFail; + } + /** + * Action to perform when ISE is uanble to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + @Export(name="ifProcessFail", refs={String.class}, tree="[0]") + private Output ifProcessFail; + + /** + * @return Action to perform when ISE is uanble to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + public Output ifProcessFail() { + return this.ifProcessFail; + } + /** + * Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + @Export(name="ifUserNotFound", refs={String.class}, tree="[0]") + private Output ifUserNotFound; + + /** + * @return Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + public Output ifUserNotFound() { + return this.ifUserNotFound; + } + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Output name() { + return this.name; + } + /** + * Policy set ID + * + */ + @Export(name="policySetId", refs={String.class}, tree="[0]") + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Export(name="rank", refs={Integer.class}, tree="[0]") + private Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Output> rank() { + return Codegen.optional(this.rank); + } + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Output> state() { + return Codegen.optional(this.state); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AuthenticationRule(String name) { + this(name, AuthenticationRuleArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AuthenticationRule(String name, AuthenticationRuleArgs 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 AuthenticationRule(String name, AuthenticationRuleArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/authenticationRule:AuthenticationRule", name, args == null ? AuthenticationRuleArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private AuthenticationRule(String name, Output id, @Nullable AuthenticationRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/authenticationRule:AuthenticationRule", name, state, makeResourceOptions(options, id)); + } + + 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 AuthenticationRule get(String name, Output id, @Nullable AuthenticationRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AuthenticationRule(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthenticationRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthenticationRuleArgs.java new file mode 100644 index 0000000..069e65d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthenticationRuleArgs.java @@ -0,0 +1,759 @@ +// *** 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.networkaccess; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.inputs.AuthenticationRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticationRuleArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticationRuleArgs Empty = new AuthenticationRuleArgs(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Identity source name from the identity stores + * + */ + @Import(name="identitySourceName") + private @Nullable Output identitySourceName; + + /** + * @return Identity source name from the identity stores + * + */ + public Optional> identitySourceName() { + return Optional.ofNullable(this.identitySourceName); + } + + /** + * Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + */ + @Import(name="ifAuthFail", required=true) + private Output ifAuthFail; + + /** + * @return Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + */ + public Output ifAuthFail() { + return this.ifAuthFail; + } + + /** + * Action to perform when ISE is uanble to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + @Import(name="ifProcessFail", required=true) + private Output ifProcessFail; + + /** + * @return Action to perform when ISE is uanble to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + public Output ifProcessFail() { + return this.ifProcessFail; + } + + /** + * Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + @Import(name="ifUserNotFound", required=true) + private Output ifUserNotFound; + + /** + * @return Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + public Output ifUserNotFound() { + return this.ifUserNotFound; + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthenticationRuleArgs() {} + + private AuthenticationRuleArgs(AuthenticationRuleArgs $) { + this.childrens = $.childrens; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.identitySourceName = $.identitySourceName; + this.ifAuthFail = $.ifAuthFail; + this.ifProcessFail = $.ifProcessFail; + this.ifUserNotFound = $.ifUserNotFound; + this.name = $.name; + this.policySetId = $.policySetId; + this.rank = $.rank; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticationRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticationRuleArgs $; + + public Builder() { + $ = new AuthenticationRuleArgs(); + } + + public Builder(AuthenticationRuleArgs defaults) { + $ = new AuthenticationRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthenticationRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param identitySourceName Identity source name from the identity stores + * + * @return builder + * + */ + public Builder identitySourceName(@Nullable Output identitySourceName) { + $.identitySourceName = identitySourceName; + return this; + } + + /** + * @param identitySourceName Identity source name from the identity stores + * + * @return builder + * + */ + public Builder identitySourceName(String identitySourceName) { + return identitySourceName(Output.of(identitySourceName)); + } + + /** + * @param ifAuthFail Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifAuthFail(Output ifAuthFail) { + $.ifAuthFail = ifAuthFail; + return this; + } + + /** + * @param ifAuthFail Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifAuthFail(String ifAuthFail) { + return ifAuthFail(Output.of(ifAuthFail)); + } + + /** + * @param ifProcessFail Action to perform when ISE is uanble to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifProcessFail(Output ifProcessFail) { + $.ifProcessFail = ifProcessFail; + return this; + } + + /** + * @param ifProcessFail Action to perform when ISE is uanble to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifProcessFail(String ifProcessFail) { + return ifProcessFail(Output.of(ifProcessFail)); + } + + /** + * @param ifUserNotFound Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifUserNotFound(Output ifUserNotFound) { + $.ifUserNotFound = ifUserNotFound; + return this; + } + + /** + * @param ifUserNotFound Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifUserNotFound(String ifUserNotFound) { + return ifUserNotFound(Output.of(ifUserNotFound)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthenticationRuleArgs build() { + if ($.ifAuthFail == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleArgs", "ifAuthFail"); + } + if ($.ifProcessFail == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleArgs", "ifProcessFail"); + } + if ($.ifUserNotFound == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleArgs", "ifUserNotFound"); + } + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationExceptionRule.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationExceptionRule.java new file mode 100644 index 0000000..6248f0b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationExceptionRule.java @@ -0,0 +1,359 @@ +// *** 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.networkaccess; + +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.networkaccess.AuthorizationExceptionRuleArgs; +import com.pulumi.ise.networkaccess.inputs.AuthorizationExceptionRuleState; +import com.pulumi.ise.networkaccess.outputs.AuthorizationExceptionRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Network Access Authorization Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.AuthorizationExceptionRule; + * import com.pulumi.ise.networkaccess.AuthorizationExceptionRuleArgs; + * 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 AuthorizationExceptionRule("example", AuthorizationExceptionRuleArgs.builder() + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .name("Rule1") + * .default_(false) + * .rank(0) + * .state("enabled") + * .conditionType("ConditionAttributes") + * .conditionIsNegate(false) + * .conditionAttributeName("Location") + * .conditionAttributeValue("All Locations") + * .conditionDictionaryName("DEVICE") + * .conditionOperator("equals") + * .profiles("PermitAccess") + * .securityGroup("BYOD") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:networkaccess/authorizationExceptionRule:AuthorizationExceptionRule example "76d24097-41c4-4558-a4d0-a8c07ac08470,76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:networkaccess/authorizationExceptionRule:AuthorizationExceptionRule") +public class AuthorizationExceptionRule extends com.pulumi.resources.CustomResource { + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Export(name="childrens", refs={List.class,AuthorizationExceptionRuleChildren.class}, tree="[0,1]") + private Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Output>> childrens() { + return Codegen.optional(this.childrens); + } + /** + * Dictionary attribute name + * + */ + @Export(name="conditionAttributeName", refs={String.class}, tree="[0]") + private Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Output> conditionAttributeName() { + return Codegen.optional(this.conditionAttributeName); + } + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Export(name="conditionAttributeValue", refs={String.class}, tree="[0]") + private Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Output> conditionAttributeValue() { + return Codegen.optional(this.conditionAttributeValue); + } + /** + * Dictionary name + * + */ + @Export(name="conditionDictionaryName", refs={String.class}, tree="[0]") + private Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Output> conditionDictionaryName() { + return Codegen.optional(this.conditionDictionaryName); + } + /** + * Dictionary value + * + */ + @Export(name="conditionDictionaryValue", refs={String.class}, tree="[0]") + private Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Output> conditionDictionaryValue() { + return Codegen.optional(this.conditionDictionaryValue); + } + /** + * UUID for condition + * + */ + @Export(name="conditionId", refs={String.class}, tree="[0]") + private Output conditionId; + + /** + * @return UUID for condition + * + */ + public Output> conditionId() { + return Codegen.optional(this.conditionId); + } + /** + * Indicates whereas this condition is in negate mode + * + */ + @Export(name="conditionIsNegate", refs={Boolean.class}, tree="[0]") + private Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Output> conditionIsNegate() { + return Codegen.optional(this.conditionIsNegate); + } + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Export(name="conditionOperator", refs={String.class}, tree="[0]") + private Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Output> conditionOperator() { + return Codegen.optional(this.conditionOperator); + } + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Export(name="conditionType", refs={String.class}, tree="[0]") + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Output> conditionType() { + return Codegen.optional(this.conditionType); + } + /** + * Indicates if this rule is the default one + * + */ + @Export(name="default", refs={Boolean.class}, tree="[0]") + private Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Output> default_() { + return Codegen.optional(this.default_); + } + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Output name() { + return this.name; + } + /** + * Policy set ID + * + */ + @Export(name="policySetId", refs={String.class}, tree="[0]") + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + /** + * The authorization profile(s) + * + */ + @Export(name="profiles", refs={List.class,String.class}, tree="[0,1]") + private Output> profiles; + + /** + * @return The authorization profile(s) + * + */ + public Output>> profiles() { + return Codegen.optional(this.profiles); + } + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Export(name="rank", refs={Integer.class}, tree="[0]") + private Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Output> rank() { + return Codegen.optional(this.rank); + } + /** + * Security group used in authorization policies + * + */ + @Export(name="securityGroup", refs={String.class}, tree="[0]") + private Output securityGroup; + + /** + * @return Security group used in authorization policies + * + */ + public Output> securityGroup() { + return Codegen.optional(this.securityGroup); + } + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Output> state() { + return Codegen.optional(this.state); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AuthorizationExceptionRule(String name) { + this(name, AuthorizationExceptionRuleArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AuthorizationExceptionRule(String name, AuthorizationExceptionRuleArgs 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 AuthorizationExceptionRule(String name, AuthorizationExceptionRuleArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/authorizationExceptionRule:AuthorizationExceptionRule", name, args == null ? AuthorizationExceptionRuleArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private AuthorizationExceptionRule(String name, Output id, @Nullable AuthorizationExceptionRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/authorizationExceptionRule:AuthorizationExceptionRule", name, state, makeResourceOptions(options, id)); + } + + 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 AuthorizationExceptionRule get(String name, Output id, @Nullable AuthorizationExceptionRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AuthorizationExceptionRule(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationExceptionRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationExceptionRuleArgs.java new file mode 100644 index 0000000..bfac4cb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationExceptionRuleArgs.java @@ -0,0 +1,682 @@ +// *** 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.networkaccess; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.inputs.AuthorizationExceptionRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationExceptionRuleArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationExceptionRuleArgs Empty = new AuthorizationExceptionRuleArgs(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + + /** + * The authorization profile(s) + * + */ + @Import(name="profiles") + private @Nullable Output> profiles; + + /** + * @return The authorization profile(s) + * + */ + public Optional>> profiles() { + return Optional.ofNullable(this.profiles); + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * Security group used in authorization policies + * + */ + @Import(name="securityGroup") + private @Nullable Output securityGroup; + + /** + * @return Security group used in authorization policies + * + */ + public Optional> securityGroup() { + return Optional.ofNullable(this.securityGroup); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthorizationExceptionRuleArgs() {} + + private AuthorizationExceptionRuleArgs(AuthorizationExceptionRuleArgs $) { + this.childrens = $.childrens; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.name = $.name; + this.policySetId = $.policySetId; + this.profiles = $.profiles; + this.rank = $.rank; + this.securityGroup = $.securityGroup; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationExceptionRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationExceptionRuleArgs $; + + public Builder() { + $ = new AuthorizationExceptionRuleArgs(); + } + + public Builder(AuthorizationExceptionRuleArgs defaults) { + $ = new AuthorizationExceptionRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationExceptionRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(@Nullable Output> profiles) { + $.profiles = profiles; + return this; + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(List profiles) { + return profiles(Output.of(profiles)); + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(String... profiles) { + return profiles(List.of(profiles)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param securityGroup Security group used in authorization policies + * + * @return builder + * + */ + public Builder securityGroup(@Nullable Output securityGroup) { + $.securityGroup = securityGroup; + return this; + } + + /** + * @param securityGroup Security group used in authorization policies + * + * @return builder + * + */ + public Builder securityGroup(String securityGroup) { + return securityGroup(Output.of(securityGroup)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthorizationExceptionRuleArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("AuthorizationExceptionRuleArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationGlobalExceptionRule.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationGlobalExceptionRule.java new file mode 100644 index 0000000..254179e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationGlobalExceptionRule.java @@ -0,0 +1,344 @@ +// *** 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.networkaccess; + +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.networkaccess.AuthorizationGlobalExceptionRuleArgs; +import com.pulumi.ise.networkaccess.inputs.AuthorizationGlobalExceptionRuleState; +import com.pulumi.ise.networkaccess.outputs.AuthorizationGlobalExceptionRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Network Access Authorization Global Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.AuthorizationGlobalExceptionRule; + * import com.pulumi.ise.networkaccess.AuthorizationGlobalExceptionRuleArgs; + * 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 AuthorizationGlobalExceptionRule("example", AuthorizationGlobalExceptionRuleArgs.builder() + * .name("Rule1") + * .default_(false) + * .rank(0) + * .state("enabled") + * .conditionType("ConditionAttributes") + * .conditionIsNegate(false) + * .conditionAttributeName("Location") + * .conditionAttributeValue("All Locations") + * .conditionDictionaryName("DEVICE") + * .conditionOperator("equals") + * .profiles("PermitAccess") + * .securityGroup("BYOD") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:networkaccess/authorizationGlobalExceptionRule:AuthorizationGlobalExceptionRule example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:networkaccess/authorizationGlobalExceptionRule:AuthorizationGlobalExceptionRule") +public class AuthorizationGlobalExceptionRule extends com.pulumi.resources.CustomResource { + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Export(name="childrens", refs={List.class,AuthorizationGlobalExceptionRuleChildren.class}, tree="[0,1]") + private Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Output>> childrens() { + return Codegen.optional(this.childrens); + } + /** + * Dictionary attribute name + * + */ + @Export(name="conditionAttributeName", refs={String.class}, tree="[0]") + private Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Output> conditionAttributeName() { + return Codegen.optional(this.conditionAttributeName); + } + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Export(name="conditionAttributeValue", refs={String.class}, tree="[0]") + private Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Output> conditionAttributeValue() { + return Codegen.optional(this.conditionAttributeValue); + } + /** + * Dictionary name + * + */ + @Export(name="conditionDictionaryName", refs={String.class}, tree="[0]") + private Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Output> conditionDictionaryName() { + return Codegen.optional(this.conditionDictionaryName); + } + /** + * Dictionary value + * + */ + @Export(name="conditionDictionaryValue", refs={String.class}, tree="[0]") + private Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Output> conditionDictionaryValue() { + return Codegen.optional(this.conditionDictionaryValue); + } + /** + * UUID for condition + * + */ + @Export(name="conditionId", refs={String.class}, tree="[0]") + private Output conditionId; + + /** + * @return UUID for condition + * + */ + public Output> conditionId() { + return Codegen.optional(this.conditionId); + } + /** + * Indicates whereas this condition is in negate mode + * + */ + @Export(name="conditionIsNegate", refs={Boolean.class}, tree="[0]") + private Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Output> conditionIsNegate() { + return Codegen.optional(this.conditionIsNegate); + } + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Export(name="conditionOperator", refs={String.class}, tree="[0]") + private Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Output> conditionOperator() { + return Codegen.optional(this.conditionOperator); + } + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Export(name="conditionType", refs={String.class}, tree="[0]") + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Output> conditionType() { + return Codegen.optional(this.conditionType); + } + /** + * Indicates if this rule is the default one + * + */ + @Export(name="default", refs={Boolean.class}, tree="[0]") + private Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Output> default_() { + return Codegen.optional(this.default_); + } + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Output name() { + return this.name; + } + /** + * The authorization profile(s) + * + */ + @Export(name="profiles", refs={List.class,String.class}, tree="[0,1]") + private Output> profiles; + + /** + * @return The authorization profile(s) + * + */ + public Output>> profiles() { + return Codegen.optional(this.profiles); + } + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Export(name="rank", refs={Integer.class}, tree="[0]") + private Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Output> rank() { + return Codegen.optional(this.rank); + } + /** + * Security group used in authorization policies + * + */ + @Export(name="securityGroup", refs={String.class}, tree="[0]") + private Output securityGroup; + + /** + * @return Security group used in authorization policies + * + */ + public Output> securityGroup() { + return Codegen.optional(this.securityGroup); + } + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Output> state() { + return Codegen.optional(this.state); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AuthorizationGlobalExceptionRule(String name) { + this(name, AuthorizationGlobalExceptionRuleArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AuthorizationGlobalExceptionRule(String name, @Nullable AuthorizationGlobalExceptionRuleArgs 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 AuthorizationGlobalExceptionRule(String name, @Nullable AuthorizationGlobalExceptionRuleArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/authorizationGlobalExceptionRule:AuthorizationGlobalExceptionRule", name, args == null ? AuthorizationGlobalExceptionRuleArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private AuthorizationGlobalExceptionRule(String name, Output id, @Nullable AuthorizationGlobalExceptionRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/authorizationGlobalExceptionRule:AuthorizationGlobalExceptionRule", name, state, makeResourceOptions(options, id)); + } + + 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 AuthorizationGlobalExceptionRule get(String name, Output id, @Nullable AuthorizationGlobalExceptionRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AuthorizationGlobalExceptionRule(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationGlobalExceptionRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationGlobalExceptionRuleArgs.java new file mode 100644 index 0000000..e41c176 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationGlobalExceptionRuleArgs.java @@ -0,0 +1,641 @@ +// *** 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.networkaccess; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.networkaccess.inputs.AuthorizationGlobalExceptionRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationGlobalExceptionRuleArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationGlobalExceptionRuleArgs Empty = new AuthorizationGlobalExceptionRuleArgs(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The authorization profile(s) + * + */ + @Import(name="profiles") + private @Nullable Output> profiles; + + /** + * @return The authorization profile(s) + * + */ + public Optional>> profiles() { + return Optional.ofNullable(this.profiles); + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * Security group used in authorization policies + * + */ + @Import(name="securityGroup") + private @Nullable Output securityGroup; + + /** + * @return Security group used in authorization policies + * + */ + public Optional> securityGroup() { + return Optional.ofNullable(this.securityGroup); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthorizationGlobalExceptionRuleArgs() {} + + private AuthorizationGlobalExceptionRuleArgs(AuthorizationGlobalExceptionRuleArgs $) { + this.childrens = $.childrens; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.name = $.name; + this.profiles = $.profiles; + this.rank = $.rank; + this.securityGroup = $.securityGroup; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationGlobalExceptionRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationGlobalExceptionRuleArgs $; + + public Builder() { + $ = new AuthorizationGlobalExceptionRuleArgs(); + } + + public Builder(AuthorizationGlobalExceptionRuleArgs defaults) { + $ = new AuthorizationGlobalExceptionRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationGlobalExceptionRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(@Nullable Output> profiles) { + $.profiles = profiles; + return this; + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(List profiles) { + return profiles(Output.of(profiles)); + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(String... profiles) { + return profiles(List.of(profiles)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param securityGroup Security group used in authorization policies + * + * @return builder + * + */ + public Builder securityGroup(@Nullable Output securityGroup) { + $.securityGroup = securityGroup; + return this; + } + + /** + * @param securityGroup Security group used in authorization policies + * + * @return builder + * + */ + public Builder securityGroup(String securityGroup) { + return securityGroup(Output.of(securityGroup)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthorizationGlobalExceptionRuleArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationProfile.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationProfile.java new file mode 100644 index 0000000..2936381 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationProfile.java @@ -0,0 +1,617 @@ +// *** 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.networkaccess; + +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.networkaccess.AuthorizationProfileArgs; +import com.pulumi.ise.networkaccess.inputs.AuthorizationProfileState; +import com.pulumi.ise.networkaccess.outputs.AuthorizationProfileAdvancedAttribute; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage an authorization profiles policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.AuthorizationProfile; + * import com.pulumi.ise.networkaccess.AuthorizationProfileArgs; + * import com.pulumi.ise.networkaccess.inputs.AuthorizationProfileAdvancedAttributeArgs; + * 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 AuthorizationProfile("example", AuthorizationProfileArgs.builder() + * .name("AuthzProfile1") + * .description("My Authorization Profile") + * .vlanNameId("VLAN10") + * .vlanTagId(0) + * .webRedirectionType("CentralizedWebAuth") + * .webRedirectionAcl("TEST_ACL") + * .webRedirectionPortalName("Sponsored Guest Portal (default)") + * .webRedirectionStaticIpHostNameFqdn("1.2.3.4") + * .webRedirectionDisplayCertificatesRenewalMessages(true) + * .agentlessPosture(false) + * .accessType("ACCESS_ACCEPT") + * .profileName("Cisco") + * .airespaceAcl("ACL1") + * .acl("ACL1") + * .autoSmartPort("PROFILE1") + * .interfaceTemplate("TEMP1") + * .ipv6AclFilter("ACL1") + * .avcProfile("PROF1") + * .asaVpn("1") + * .uniqueIdentifier("ID1234") + * .trackMovement(false) + * .serviceTemplate(false) + * .easywiredSessionCandidate(false) + * .voiceDomainPermission(false) + * .neat(false) + * .webAuth(false) + * .macSecPolicy("MUST_SECURE") + * .reauthenticationConnectivity("DEFAULT") + * .reauthenticationTimer(1) + * .advancedAttributes(AuthorizationProfileAdvancedAttributeArgs.builder() + * .attribute_left_dictionary_name("Cisco") + * .attribute_left_name("cisco-av-pair") + * .attribute_right_value_type("AttributeValue") + * .attribute_right_value("set_nadprofile_vlan=true,vlan=TEST,tag=1") + * .build()) + * .airespaceIpv6Acl("ACL1") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:networkaccess/authorizationProfile:AuthorizationProfile example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:networkaccess/authorizationProfile:AuthorizationProfile") +public class AuthorizationProfile extends com.pulumi.resources.CustomResource { + /** + * Access type - Choices: `ACCESS_ACCEPT`, `ACCESS_REJECT` - Default value: `ACCESS_ACCEPT` + * + */ + @Export(name="accessType", refs={String.class}, tree="[0]") + private Output accessType; + + /** + * @return Access type - Choices: `ACCESS_ACCEPT`, `ACCESS_REJECT` - Default value: `ACCESS_ACCEPT` + * + */ + public Output accessType() { + return this.accessType; + } + /** + * ACL + * + */ + @Export(name="acl", refs={String.class}, tree="[0]") + private Output acl; + + /** + * @return ACL + * + */ + public Output> acl() { + return Codegen.optional(this.acl); + } + /** + * List of advanced attributes + * + */ + @Export(name="advancedAttributes", refs={List.class,AuthorizationProfileAdvancedAttribute.class}, tree="[0,1]") + private Output> advancedAttributes; + + /** + * @return List of advanced attributes + * + */ + public Output>> advancedAttributes() { + return Codegen.optional(this.advancedAttributes); + } + /** + * Agentless Posture. + * + */ + @Export(name="agentlessPosture", refs={Boolean.class}, tree="[0]") + private Output agentlessPosture; + + /** + * @return Agentless Posture. + * + */ + public Output> agentlessPosture() { + return Codegen.optional(this.agentlessPosture); + } + /** + * Airespace ACL + * + */ + @Export(name="airespaceAcl", refs={String.class}, tree="[0]") + private Output airespaceAcl; + + /** + * @return Airespace ACL + * + */ + public Output> airespaceAcl() { + return Codegen.optional(this.airespaceAcl); + } + /** + * Airespace IPv6 ACL + * + */ + @Export(name="airespaceIpv6Acl", refs={String.class}, tree="[0]") + private Output airespaceIpv6Acl; + + /** + * @return Airespace IPv6 ACL + * + */ + public Output> airespaceIpv6Acl() { + return Codegen.optional(this.airespaceIpv6Acl); + } + /** + * ASA VPN + * + */ + @Export(name="asaVpn", refs={String.class}, tree="[0]") + private Output asaVpn; + + /** + * @return ASA VPN + * + */ + public Output> asaVpn() { + return Codegen.optional(this.asaVpn); + } + /** + * Auto smart port + * + */ + @Export(name="autoSmartPort", refs={String.class}, tree="[0]") + private Output autoSmartPort; + + /** + * @return Auto smart port + * + */ + public Output> autoSmartPort() { + return Codegen.optional(this.autoSmartPort); + } + /** + * AVC profile + * + */ + @Export(name="avcProfile", refs={String.class}, tree="[0]") + private Output avcProfile; + + /** + * @return AVC profile + * + */ + public Output> avcProfile() { + return Codegen.optional(this.avcProfile); + } + /** + * DACL name + * + */ + @Export(name="daclName", refs={String.class}, tree="[0]") + private Output daclName; + + /** + * @return DACL name + * + */ + public Output> daclName() { + return Codegen.optional(this.daclName); + } + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * Easy wired session candidate - Default value: `false` + * + */ + @Export(name="easywiredSessionCandidate", refs={Boolean.class}, tree="[0]") + private Output easywiredSessionCandidate; + + /** + * @return Easy wired session candidate - Default value: `false` + * + */ + public Output easywiredSessionCandidate() { + return this.easywiredSessionCandidate; + } + /** + * Interface template + * + */ + @Export(name="interfaceTemplate", refs={String.class}, tree="[0]") + private Output interfaceTemplate; + + /** + * @return Interface template + * + */ + public Output> interfaceTemplate() { + return Codegen.optional(this.interfaceTemplate); + } + /** + * IPv6 ACL + * + */ + @Export(name="ipv6AclFilter", refs={String.class}, tree="[0]") + private Output ipv6AclFilter; + + /** + * @return IPv6 ACL + * + */ + public Output> ipv6AclFilter() { + return Codegen.optional(this.ipv6AclFilter); + } + /** + * IPv6 DACL name + * + */ + @Export(name="ipv6DaclName", refs={String.class}, tree="[0]") + private Output ipv6DaclName; + + /** + * @return IPv6 DACL name + * + */ + public Output> ipv6DaclName() { + return Codegen.optional(this.ipv6DaclName); + } + /** + * MacSec policy - Choices: `MUST_SECURE`, `MUST_NOT_SECURE`, `SHOULD_SECURE` + * + */ + @Export(name="macSecPolicy", refs={String.class}, tree="[0]") + private Output macSecPolicy; + + /** + * @return MacSec policy - Choices: `MUST_SECURE`, `MUST_NOT_SECURE`, `SHOULD_SECURE` + * + */ + public Output> macSecPolicy() { + return Codegen.optional(this.macSecPolicy); + } + /** + * The name of the authorization profile + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the authorization profile + * + */ + public Output name() { + return this.name; + } + /** + * NEAT - Default value: `false` + * + */ + @Export(name="neat", refs={Boolean.class}, tree="[0]") + private Output neat; + + /** + * @return NEAT - Default value: `false` + * + */ + public Output neat() { + return this.neat; + } + /** + * Value needs to be an existing Network Device Profile - Default value: `Cisco` + * + */ + @Export(name="profileName", refs={String.class}, tree="[0]") + private Output profileName; + + /** + * @return Value needs to be an existing Network Device Profile - Default value: `Cisco` + * + */ + public Output profileName() { + return this.profileName; + } + /** + * Maintain Connectivity During Reauthentication - Choices: `DEFAULT`, `RADIUS_REQUEST` + * + */ + @Export(name="reauthenticationConnectivity", refs={String.class}, tree="[0]") + private Output reauthenticationConnectivity; + + /** + * @return Maintain Connectivity During Reauthentication - Choices: `DEFAULT`, `RADIUS_REQUEST` + * + */ + public Output> reauthenticationConnectivity() { + return Codegen.optional(this.reauthenticationConnectivity); + } + /** + * Reauthentication timer - Range: `1`-`65535` + * + */ + @Export(name="reauthenticationTimer", refs={Integer.class}, tree="[0]") + private Output reauthenticationTimer; + + /** + * @return Reauthentication timer - Range: `1`-`65535` + * + */ + public Output> reauthenticationTimer() { + return Codegen.optional(this.reauthenticationTimer); + } + /** + * Service template - Default value: `false` + * + */ + @Export(name="serviceTemplate", refs={Boolean.class}, tree="[0]") + private Output serviceTemplate; + + /** + * @return Service template - Default value: `false` + * + */ + public Output serviceTemplate() { + return this.serviceTemplate; + } + /** + * Track movement - Default value: `false` + * + */ + @Export(name="trackMovement", refs={Boolean.class}, tree="[0]") + private Output trackMovement; + + /** + * @return Track movement - Default value: `false` + * + */ + public Output trackMovement() { + return this.trackMovement; + } + /** + * Unique identifier + * + */ + @Export(name="uniqueIdentifier", refs={String.class}, tree="[0]") + private Output uniqueIdentifier; + + /** + * @return Unique identifier + * + */ + public Output> uniqueIdentifier() { + return Codegen.optional(this.uniqueIdentifier); + } + /** + * Vlan name or ID + * + */ + @Export(name="vlanNameId", refs={String.class}, tree="[0]") + private Output vlanNameId; + + /** + * @return Vlan name or ID + * + */ + public Output> vlanNameId() { + return Codegen.optional(this.vlanNameId); + } + /** + * Vlan tag ID - Range: `0`-`31` + * + */ + @Export(name="vlanTagId", refs={Integer.class}, tree="[0]") + private Output vlanTagId; + + /** + * @return Vlan tag ID - Range: `0`-`31` + * + */ + public Output> vlanTagId() { + return Codegen.optional(this.vlanTagId); + } + /** + * Voice domain permission - Default value: `false` + * + */ + @Export(name="voiceDomainPermission", refs={Boolean.class}, tree="[0]") + private Output voiceDomainPermission; + + /** + * @return Voice domain permission - Default value: `false` + * + */ + public Output voiceDomainPermission() { + return this.voiceDomainPermission; + } + /** + * Web authentication (local) - Default value: `false` + * + */ + @Export(name="webAuth", refs={Boolean.class}, tree="[0]") + private Output webAuth; + + /** + * @return Web authentication (local) - Default value: `false` + * + */ + public Output webAuth() { + return this.webAuth; + } + /** + * Web redirection ACL + * + */ + @Export(name="webRedirectionAcl", refs={String.class}, tree="[0]") + private Output webRedirectionAcl; + + /** + * @return Web redirection ACL + * + */ + public Output> webRedirectionAcl() { + return Codegen.optional(this.webRedirectionAcl); + } + /** + * This attribute is mandatory when `web_redirection_type` value is `CentralizedWebAuth`. For all other + * `web_redirection_type` values the field must be ignored. + * + */ + @Export(name="webRedirectionDisplayCertificatesRenewalMessages", refs={Boolean.class}, tree="[0]") + private Output webRedirectionDisplayCertificatesRenewalMessages; + + /** + * @return This attribute is mandatory when `web_redirection_type` value is `CentralizedWebAuth`. For all other + * `web_redirection_type` values the field must be ignored. + * + */ + public Output> webRedirectionDisplayCertificatesRenewalMessages() { + return Codegen.optional(this.webRedirectionDisplayCertificatesRenewalMessages); + } + /** + * A portal that exist in the DB and fits the `web_redirection_type` + * + */ + @Export(name="webRedirectionPortalName", refs={String.class}, tree="[0]") + private Output webRedirectionPortalName; + + /** + * @return A portal that exist in the DB and fits the `web_redirection_type` + * + */ + public Output> webRedirectionPortalName() { + return Codegen.optional(this.webRedirectionPortalName); + } + /** + * IP, hostname or FQDN + * + */ + @Export(name="webRedirectionStaticIpHostNameFqdn", refs={String.class}, tree="[0]") + private Output webRedirectionStaticIpHostNameFqdn; + + /** + * @return IP, hostname or FQDN + * + */ + public Output> webRedirectionStaticIpHostNameFqdn() { + return Codegen.optional(this.webRedirectionStaticIpHostNameFqdn); + } + /** + * This type must fit the `web_redirection_portal_name` - Choices: `CentralizedWebAuth`, `HotSpot`, + * `NativeSupplicanProvisioning`, `ClientProvisioning` + * + */ + @Export(name="webRedirectionType", refs={String.class}, tree="[0]") + private Output webRedirectionType; + + /** + * @return This type must fit the `web_redirection_portal_name` - Choices: `CentralizedWebAuth`, `HotSpot`, + * `NativeSupplicanProvisioning`, `ClientProvisioning` + * + */ + public Output> webRedirectionType() { + return Codegen.optional(this.webRedirectionType); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AuthorizationProfile(String name) { + this(name, AuthorizationProfileArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AuthorizationProfile(String name, @Nullable AuthorizationProfileArgs 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 AuthorizationProfile(String name, @Nullable AuthorizationProfileArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/authorizationProfile:AuthorizationProfile", name, args == null ? AuthorizationProfileArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private AuthorizationProfile(String name, Output id, @Nullable AuthorizationProfileState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/authorizationProfile:AuthorizationProfile", name, state, makeResourceOptions(options, id)); + } + + 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 AuthorizationProfile get(String name, Output id, @Nullable AuthorizationProfileState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AuthorizationProfile(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationProfileArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationProfileArgs.java new file mode 100644 index 0000000..38f1a2b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationProfileArgs.java @@ -0,0 +1,1289 @@ +// *** 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.networkaccess; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.networkaccess.inputs.AuthorizationProfileAdvancedAttributeArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationProfileArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationProfileArgs Empty = new AuthorizationProfileArgs(); + + /** + * Access type - Choices: `ACCESS_ACCEPT`, `ACCESS_REJECT` - Default value: `ACCESS_ACCEPT` + * + */ + @Import(name="accessType") + private @Nullable Output accessType; + + /** + * @return Access type - Choices: `ACCESS_ACCEPT`, `ACCESS_REJECT` - Default value: `ACCESS_ACCEPT` + * + */ + public Optional> accessType() { + return Optional.ofNullable(this.accessType); + } + + /** + * ACL + * + */ + @Import(name="acl") + private @Nullable Output acl; + + /** + * @return ACL + * + */ + public Optional> acl() { + return Optional.ofNullable(this.acl); + } + + /** + * List of advanced attributes + * + */ + @Import(name="advancedAttributes") + private @Nullable Output> advancedAttributes; + + /** + * @return List of advanced attributes + * + */ + public Optional>> advancedAttributes() { + return Optional.ofNullable(this.advancedAttributes); + } + + /** + * Agentless Posture. + * + */ + @Import(name="agentlessPosture") + private @Nullable Output agentlessPosture; + + /** + * @return Agentless Posture. + * + */ + public Optional> agentlessPosture() { + return Optional.ofNullable(this.agentlessPosture); + } + + /** + * Airespace ACL + * + */ + @Import(name="airespaceAcl") + private @Nullable Output airespaceAcl; + + /** + * @return Airespace ACL + * + */ + public Optional> airespaceAcl() { + return Optional.ofNullable(this.airespaceAcl); + } + + /** + * Airespace IPv6 ACL + * + */ + @Import(name="airespaceIpv6Acl") + private @Nullable Output airespaceIpv6Acl; + + /** + * @return Airespace IPv6 ACL + * + */ + public Optional> airespaceIpv6Acl() { + return Optional.ofNullable(this.airespaceIpv6Acl); + } + + /** + * ASA VPN + * + */ + @Import(name="asaVpn") + private @Nullable Output asaVpn; + + /** + * @return ASA VPN + * + */ + public Optional> asaVpn() { + return Optional.ofNullable(this.asaVpn); + } + + /** + * Auto smart port + * + */ + @Import(name="autoSmartPort") + private @Nullable Output autoSmartPort; + + /** + * @return Auto smart port + * + */ + public Optional> autoSmartPort() { + return Optional.ofNullable(this.autoSmartPort); + } + + /** + * AVC profile + * + */ + @Import(name="avcProfile") + private @Nullable Output avcProfile; + + /** + * @return AVC profile + * + */ + public Optional> avcProfile() { + return Optional.ofNullable(this.avcProfile); + } + + /** + * DACL name + * + */ + @Import(name="daclName") + private @Nullable Output daclName; + + /** + * @return DACL name + * + */ + public Optional> daclName() { + return Optional.ofNullable(this.daclName); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Easy wired session candidate - Default value: `false` + * + */ + @Import(name="easywiredSessionCandidate") + private @Nullable Output easywiredSessionCandidate; + + /** + * @return Easy wired session candidate - Default value: `false` + * + */ + public Optional> easywiredSessionCandidate() { + return Optional.ofNullable(this.easywiredSessionCandidate); + } + + /** + * Interface template + * + */ + @Import(name="interfaceTemplate") + private @Nullable Output interfaceTemplate; + + /** + * @return Interface template + * + */ + public Optional> interfaceTemplate() { + return Optional.ofNullable(this.interfaceTemplate); + } + + /** + * IPv6 ACL + * + */ + @Import(name="ipv6AclFilter") + private @Nullable Output ipv6AclFilter; + + /** + * @return IPv6 ACL + * + */ + public Optional> ipv6AclFilter() { + return Optional.ofNullable(this.ipv6AclFilter); + } + + /** + * IPv6 DACL name + * + */ + @Import(name="ipv6DaclName") + private @Nullable Output ipv6DaclName; + + /** + * @return IPv6 DACL name + * + */ + public Optional> ipv6DaclName() { + return Optional.ofNullable(this.ipv6DaclName); + } + + /** + * MacSec policy - Choices: `MUST_SECURE`, `MUST_NOT_SECURE`, `SHOULD_SECURE` + * + */ + @Import(name="macSecPolicy") + private @Nullable Output macSecPolicy; + + /** + * @return MacSec policy - Choices: `MUST_SECURE`, `MUST_NOT_SECURE`, `SHOULD_SECURE` + * + */ + public Optional> macSecPolicy() { + return Optional.ofNullable(this.macSecPolicy); + } + + /** + * The name of the authorization profile + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the authorization profile + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * NEAT - Default value: `false` + * + */ + @Import(name="neat") + private @Nullable Output neat; + + /** + * @return NEAT - Default value: `false` + * + */ + public Optional> neat() { + return Optional.ofNullable(this.neat); + } + + /** + * Value needs to be an existing Network Device Profile - Default value: `Cisco` + * + */ + @Import(name="profileName") + private @Nullable Output profileName; + + /** + * @return Value needs to be an existing Network Device Profile - Default value: `Cisco` + * + */ + public Optional> profileName() { + return Optional.ofNullable(this.profileName); + } + + /** + * Maintain Connectivity During Reauthentication - Choices: `DEFAULT`, `RADIUS_REQUEST` + * + */ + @Import(name="reauthenticationConnectivity") + private @Nullable Output reauthenticationConnectivity; + + /** + * @return Maintain Connectivity During Reauthentication - Choices: `DEFAULT`, `RADIUS_REQUEST` + * + */ + public Optional> reauthenticationConnectivity() { + return Optional.ofNullable(this.reauthenticationConnectivity); + } + + /** + * Reauthentication timer - Range: `1`-`65535` + * + */ + @Import(name="reauthenticationTimer") + private @Nullable Output reauthenticationTimer; + + /** + * @return Reauthentication timer - Range: `1`-`65535` + * + */ + public Optional> reauthenticationTimer() { + return Optional.ofNullable(this.reauthenticationTimer); + } + + /** + * Service template - Default value: `false` + * + */ + @Import(name="serviceTemplate") + private @Nullable Output serviceTemplate; + + /** + * @return Service template - Default value: `false` + * + */ + public Optional> serviceTemplate() { + return Optional.ofNullable(this.serviceTemplate); + } + + /** + * Track movement - Default value: `false` + * + */ + @Import(name="trackMovement") + private @Nullable Output trackMovement; + + /** + * @return Track movement - Default value: `false` + * + */ + public Optional> trackMovement() { + return Optional.ofNullable(this.trackMovement); + } + + /** + * Unique identifier + * + */ + @Import(name="uniqueIdentifier") + private @Nullable Output uniqueIdentifier; + + /** + * @return Unique identifier + * + */ + public Optional> uniqueIdentifier() { + return Optional.ofNullable(this.uniqueIdentifier); + } + + /** + * Vlan name or ID + * + */ + @Import(name="vlanNameId") + private @Nullable Output vlanNameId; + + /** + * @return Vlan name or ID + * + */ + public Optional> vlanNameId() { + return Optional.ofNullable(this.vlanNameId); + } + + /** + * Vlan tag ID - Range: `0`-`31` + * + */ + @Import(name="vlanTagId") + private @Nullable Output vlanTagId; + + /** + * @return Vlan tag ID - Range: `0`-`31` + * + */ + public Optional> vlanTagId() { + return Optional.ofNullable(this.vlanTagId); + } + + /** + * Voice domain permission - Default value: `false` + * + */ + @Import(name="voiceDomainPermission") + private @Nullable Output voiceDomainPermission; + + /** + * @return Voice domain permission - Default value: `false` + * + */ + public Optional> voiceDomainPermission() { + return Optional.ofNullable(this.voiceDomainPermission); + } + + /** + * Web authentication (local) - Default value: `false` + * + */ + @Import(name="webAuth") + private @Nullable Output webAuth; + + /** + * @return Web authentication (local) - Default value: `false` + * + */ + public Optional> webAuth() { + return Optional.ofNullable(this.webAuth); + } + + /** + * Web redirection ACL + * + */ + @Import(name="webRedirectionAcl") + private @Nullable Output webRedirectionAcl; + + /** + * @return Web redirection ACL + * + */ + public Optional> webRedirectionAcl() { + return Optional.ofNullable(this.webRedirectionAcl); + } + + /** + * This attribute is mandatory when `web_redirection_type` value is `CentralizedWebAuth`. For all other + * `web_redirection_type` values the field must be ignored. + * + */ + @Import(name="webRedirectionDisplayCertificatesRenewalMessages") + private @Nullable Output webRedirectionDisplayCertificatesRenewalMessages; + + /** + * @return This attribute is mandatory when `web_redirection_type` value is `CentralizedWebAuth`. For all other + * `web_redirection_type` values the field must be ignored. + * + */ + public Optional> webRedirectionDisplayCertificatesRenewalMessages() { + return Optional.ofNullable(this.webRedirectionDisplayCertificatesRenewalMessages); + } + + /** + * A portal that exist in the DB and fits the `web_redirection_type` + * + */ + @Import(name="webRedirectionPortalName") + private @Nullable Output webRedirectionPortalName; + + /** + * @return A portal that exist in the DB and fits the `web_redirection_type` + * + */ + public Optional> webRedirectionPortalName() { + return Optional.ofNullable(this.webRedirectionPortalName); + } + + /** + * IP, hostname or FQDN + * + */ + @Import(name="webRedirectionStaticIpHostNameFqdn") + private @Nullable Output webRedirectionStaticIpHostNameFqdn; + + /** + * @return IP, hostname or FQDN + * + */ + public Optional> webRedirectionStaticIpHostNameFqdn() { + return Optional.ofNullable(this.webRedirectionStaticIpHostNameFqdn); + } + + /** + * This type must fit the `web_redirection_portal_name` - Choices: `CentralizedWebAuth`, `HotSpot`, + * `NativeSupplicanProvisioning`, `ClientProvisioning` + * + */ + @Import(name="webRedirectionType") + private @Nullable Output webRedirectionType; + + /** + * @return This type must fit the `web_redirection_portal_name` - Choices: `CentralizedWebAuth`, `HotSpot`, + * `NativeSupplicanProvisioning`, `ClientProvisioning` + * + */ + public Optional> webRedirectionType() { + return Optional.ofNullable(this.webRedirectionType); + } + + private AuthorizationProfileArgs() {} + + private AuthorizationProfileArgs(AuthorizationProfileArgs $) { + this.accessType = $.accessType; + this.acl = $.acl; + this.advancedAttributes = $.advancedAttributes; + this.agentlessPosture = $.agentlessPosture; + this.airespaceAcl = $.airespaceAcl; + this.airespaceIpv6Acl = $.airespaceIpv6Acl; + this.asaVpn = $.asaVpn; + this.autoSmartPort = $.autoSmartPort; + this.avcProfile = $.avcProfile; + this.daclName = $.daclName; + this.description = $.description; + this.easywiredSessionCandidate = $.easywiredSessionCandidate; + this.interfaceTemplate = $.interfaceTemplate; + this.ipv6AclFilter = $.ipv6AclFilter; + this.ipv6DaclName = $.ipv6DaclName; + this.macSecPolicy = $.macSecPolicy; + this.name = $.name; + this.neat = $.neat; + this.profileName = $.profileName; + this.reauthenticationConnectivity = $.reauthenticationConnectivity; + this.reauthenticationTimer = $.reauthenticationTimer; + this.serviceTemplate = $.serviceTemplate; + this.trackMovement = $.trackMovement; + this.uniqueIdentifier = $.uniqueIdentifier; + this.vlanNameId = $.vlanNameId; + this.vlanTagId = $.vlanTagId; + this.voiceDomainPermission = $.voiceDomainPermission; + this.webAuth = $.webAuth; + this.webRedirectionAcl = $.webRedirectionAcl; + this.webRedirectionDisplayCertificatesRenewalMessages = $.webRedirectionDisplayCertificatesRenewalMessages; + this.webRedirectionPortalName = $.webRedirectionPortalName; + this.webRedirectionStaticIpHostNameFqdn = $.webRedirectionStaticIpHostNameFqdn; + this.webRedirectionType = $.webRedirectionType; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationProfileArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationProfileArgs $; + + public Builder() { + $ = new AuthorizationProfileArgs(); + } + + public Builder(AuthorizationProfileArgs defaults) { + $ = new AuthorizationProfileArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param accessType Access type - Choices: `ACCESS_ACCEPT`, `ACCESS_REJECT` - Default value: `ACCESS_ACCEPT` + * + * @return builder + * + */ + public Builder accessType(@Nullable Output accessType) { + $.accessType = accessType; + return this; + } + + /** + * @param accessType Access type - Choices: `ACCESS_ACCEPT`, `ACCESS_REJECT` - Default value: `ACCESS_ACCEPT` + * + * @return builder + * + */ + public Builder accessType(String accessType) { + return accessType(Output.of(accessType)); + } + + /** + * @param acl ACL + * + * @return builder + * + */ + public Builder acl(@Nullable Output acl) { + $.acl = acl; + return this; + } + + /** + * @param acl ACL + * + * @return builder + * + */ + public Builder acl(String acl) { + return acl(Output.of(acl)); + } + + /** + * @param advancedAttributes List of advanced attributes + * + * @return builder + * + */ + public Builder advancedAttributes(@Nullable Output> advancedAttributes) { + $.advancedAttributes = advancedAttributes; + return this; + } + + /** + * @param advancedAttributes List of advanced attributes + * + * @return builder + * + */ + public Builder advancedAttributes(List advancedAttributes) { + return advancedAttributes(Output.of(advancedAttributes)); + } + + /** + * @param advancedAttributes List of advanced attributes + * + * @return builder + * + */ + public Builder advancedAttributes(AuthorizationProfileAdvancedAttributeArgs... advancedAttributes) { + return advancedAttributes(List.of(advancedAttributes)); + } + + /** + * @param agentlessPosture Agentless Posture. + * + * @return builder + * + */ + public Builder agentlessPosture(@Nullable Output agentlessPosture) { + $.agentlessPosture = agentlessPosture; + return this; + } + + /** + * @param agentlessPosture Agentless Posture. + * + * @return builder + * + */ + public Builder agentlessPosture(Boolean agentlessPosture) { + return agentlessPosture(Output.of(agentlessPosture)); + } + + /** + * @param airespaceAcl Airespace ACL + * + * @return builder + * + */ + public Builder airespaceAcl(@Nullable Output airespaceAcl) { + $.airespaceAcl = airespaceAcl; + return this; + } + + /** + * @param airespaceAcl Airespace ACL + * + * @return builder + * + */ + public Builder airespaceAcl(String airespaceAcl) { + return airespaceAcl(Output.of(airespaceAcl)); + } + + /** + * @param airespaceIpv6Acl Airespace IPv6 ACL + * + * @return builder + * + */ + public Builder airespaceIpv6Acl(@Nullable Output airespaceIpv6Acl) { + $.airespaceIpv6Acl = airespaceIpv6Acl; + return this; + } + + /** + * @param airespaceIpv6Acl Airespace IPv6 ACL + * + * @return builder + * + */ + public Builder airespaceIpv6Acl(String airespaceIpv6Acl) { + return airespaceIpv6Acl(Output.of(airespaceIpv6Acl)); + } + + /** + * @param asaVpn ASA VPN + * + * @return builder + * + */ + public Builder asaVpn(@Nullable Output asaVpn) { + $.asaVpn = asaVpn; + return this; + } + + /** + * @param asaVpn ASA VPN + * + * @return builder + * + */ + public Builder asaVpn(String asaVpn) { + return asaVpn(Output.of(asaVpn)); + } + + /** + * @param autoSmartPort Auto smart port + * + * @return builder + * + */ + public Builder autoSmartPort(@Nullable Output autoSmartPort) { + $.autoSmartPort = autoSmartPort; + return this; + } + + /** + * @param autoSmartPort Auto smart port + * + * @return builder + * + */ + public Builder autoSmartPort(String autoSmartPort) { + return autoSmartPort(Output.of(autoSmartPort)); + } + + /** + * @param avcProfile AVC profile + * + * @return builder + * + */ + public Builder avcProfile(@Nullable Output avcProfile) { + $.avcProfile = avcProfile; + return this; + } + + /** + * @param avcProfile AVC profile + * + * @return builder + * + */ + public Builder avcProfile(String avcProfile) { + return avcProfile(Output.of(avcProfile)); + } + + /** + * @param daclName DACL name + * + * @return builder + * + */ + public Builder daclName(@Nullable Output daclName) { + $.daclName = daclName; + return this; + } + + /** + * @param daclName DACL name + * + * @return builder + * + */ + public Builder daclName(String daclName) { + return daclName(Output.of(daclName)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param easywiredSessionCandidate Easy wired session candidate - Default value: `false` + * + * @return builder + * + */ + public Builder easywiredSessionCandidate(@Nullable Output easywiredSessionCandidate) { + $.easywiredSessionCandidate = easywiredSessionCandidate; + return this; + } + + /** + * @param easywiredSessionCandidate Easy wired session candidate - Default value: `false` + * + * @return builder + * + */ + public Builder easywiredSessionCandidate(Boolean easywiredSessionCandidate) { + return easywiredSessionCandidate(Output.of(easywiredSessionCandidate)); + } + + /** + * @param interfaceTemplate Interface template + * + * @return builder + * + */ + public Builder interfaceTemplate(@Nullable Output interfaceTemplate) { + $.interfaceTemplate = interfaceTemplate; + return this; + } + + /** + * @param interfaceTemplate Interface template + * + * @return builder + * + */ + public Builder interfaceTemplate(String interfaceTemplate) { + return interfaceTemplate(Output.of(interfaceTemplate)); + } + + /** + * @param ipv6AclFilter IPv6 ACL + * + * @return builder + * + */ + public Builder ipv6AclFilter(@Nullable Output ipv6AclFilter) { + $.ipv6AclFilter = ipv6AclFilter; + return this; + } + + /** + * @param ipv6AclFilter IPv6 ACL + * + * @return builder + * + */ + public Builder ipv6AclFilter(String ipv6AclFilter) { + return ipv6AclFilter(Output.of(ipv6AclFilter)); + } + + /** + * @param ipv6DaclName IPv6 DACL name + * + * @return builder + * + */ + public Builder ipv6DaclName(@Nullable Output ipv6DaclName) { + $.ipv6DaclName = ipv6DaclName; + return this; + } + + /** + * @param ipv6DaclName IPv6 DACL name + * + * @return builder + * + */ + public Builder ipv6DaclName(String ipv6DaclName) { + return ipv6DaclName(Output.of(ipv6DaclName)); + } + + /** + * @param macSecPolicy MacSec policy - Choices: `MUST_SECURE`, `MUST_NOT_SECURE`, `SHOULD_SECURE` + * + * @return builder + * + */ + public Builder macSecPolicy(@Nullable Output macSecPolicy) { + $.macSecPolicy = macSecPolicy; + return this; + } + + /** + * @param macSecPolicy MacSec policy - Choices: `MUST_SECURE`, `MUST_NOT_SECURE`, `SHOULD_SECURE` + * + * @return builder + * + */ + public Builder macSecPolicy(String macSecPolicy) { + return macSecPolicy(Output.of(macSecPolicy)); + } + + /** + * @param name The name of the authorization profile + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the authorization profile + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param neat NEAT - Default value: `false` + * + * @return builder + * + */ + public Builder neat(@Nullable Output neat) { + $.neat = neat; + return this; + } + + /** + * @param neat NEAT - Default value: `false` + * + * @return builder + * + */ + public Builder neat(Boolean neat) { + return neat(Output.of(neat)); + } + + /** + * @param profileName Value needs to be an existing Network Device Profile - Default value: `Cisco` + * + * @return builder + * + */ + public Builder profileName(@Nullable Output profileName) { + $.profileName = profileName; + return this; + } + + /** + * @param profileName Value needs to be an existing Network Device Profile - Default value: `Cisco` + * + * @return builder + * + */ + public Builder profileName(String profileName) { + return profileName(Output.of(profileName)); + } + + /** + * @param reauthenticationConnectivity Maintain Connectivity During Reauthentication - Choices: `DEFAULT`, `RADIUS_REQUEST` + * + * @return builder + * + */ + public Builder reauthenticationConnectivity(@Nullable Output reauthenticationConnectivity) { + $.reauthenticationConnectivity = reauthenticationConnectivity; + return this; + } + + /** + * @param reauthenticationConnectivity Maintain Connectivity During Reauthentication - Choices: `DEFAULT`, `RADIUS_REQUEST` + * + * @return builder + * + */ + public Builder reauthenticationConnectivity(String reauthenticationConnectivity) { + return reauthenticationConnectivity(Output.of(reauthenticationConnectivity)); + } + + /** + * @param reauthenticationTimer Reauthentication timer - Range: `1`-`65535` + * + * @return builder + * + */ + public Builder reauthenticationTimer(@Nullable Output reauthenticationTimer) { + $.reauthenticationTimer = reauthenticationTimer; + return this; + } + + /** + * @param reauthenticationTimer Reauthentication timer - Range: `1`-`65535` + * + * @return builder + * + */ + public Builder reauthenticationTimer(Integer reauthenticationTimer) { + return reauthenticationTimer(Output.of(reauthenticationTimer)); + } + + /** + * @param serviceTemplate Service template - Default value: `false` + * + * @return builder + * + */ + public Builder serviceTemplate(@Nullable Output serviceTemplate) { + $.serviceTemplate = serviceTemplate; + return this; + } + + /** + * @param serviceTemplate Service template - Default value: `false` + * + * @return builder + * + */ + public Builder serviceTemplate(Boolean serviceTemplate) { + return serviceTemplate(Output.of(serviceTemplate)); + } + + /** + * @param trackMovement Track movement - Default value: `false` + * + * @return builder + * + */ + public Builder trackMovement(@Nullable Output trackMovement) { + $.trackMovement = trackMovement; + return this; + } + + /** + * @param trackMovement Track movement - Default value: `false` + * + * @return builder + * + */ + public Builder trackMovement(Boolean trackMovement) { + return trackMovement(Output.of(trackMovement)); + } + + /** + * @param uniqueIdentifier Unique identifier + * + * @return builder + * + */ + public Builder uniqueIdentifier(@Nullable Output uniqueIdentifier) { + $.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * @param uniqueIdentifier Unique identifier + * + * @return builder + * + */ + public Builder uniqueIdentifier(String uniqueIdentifier) { + return uniqueIdentifier(Output.of(uniqueIdentifier)); + } + + /** + * @param vlanNameId Vlan name or ID + * + * @return builder + * + */ + public Builder vlanNameId(@Nullable Output vlanNameId) { + $.vlanNameId = vlanNameId; + return this; + } + + /** + * @param vlanNameId Vlan name or ID + * + * @return builder + * + */ + public Builder vlanNameId(String vlanNameId) { + return vlanNameId(Output.of(vlanNameId)); + } + + /** + * @param vlanTagId Vlan tag ID - Range: `0`-`31` + * + * @return builder + * + */ + public Builder vlanTagId(@Nullable Output vlanTagId) { + $.vlanTagId = vlanTagId; + return this; + } + + /** + * @param vlanTagId Vlan tag ID - Range: `0`-`31` + * + * @return builder + * + */ + public Builder vlanTagId(Integer vlanTagId) { + return vlanTagId(Output.of(vlanTagId)); + } + + /** + * @param voiceDomainPermission Voice domain permission - Default value: `false` + * + * @return builder + * + */ + public Builder voiceDomainPermission(@Nullable Output voiceDomainPermission) { + $.voiceDomainPermission = voiceDomainPermission; + return this; + } + + /** + * @param voiceDomainPermission Voice domain permission - Default value: `false` + * + * @return builder + * + */ + public Builder voiceDomainPermission(Boolean voiceDomainPermission) { + return voiceDomainPermission(Output.of(voiceDomainPermission)); + } + + /** + * @param webAuth Web authentication (local) - Default value: `false` + * + * @return builder + * + */ + public Builder webAuth(@Nullable Output webAuth) { + $.webAuth = webAuth; + return this; + } + + /** + * @param webAuth Web authentication (local) - Default value: `false` + * + * @return builder + * + */ + public Builder webAuth(Boolean webAuth) { + return webAuth(Output.of(webAuth)); + } + + /** + * @param webRedirectionAcl Web redirection ACL + * + * @return builder + * + */ + public Builder webRedirectionAcl(@Nullable Output webRedirectionAcl) { + $.webRedirectionAcl = webRedirectionAcl; + return this; + } + + /** + * @param webRedirectionAcl Web redirection ACL + * + * @return builder + * + */ + public Builder webRedirectionAcl(String webRedirectionAcl) { + return webRedirectionAcl(Output.of(webRedirectionAcl)); + } + + /** + * @param webRedirectionDisplayCertificatesRenewalMessages This attribute is mandatory when `web_redirection_type` value is `CentralizedWebAuth`. For all other + * `web_redirection_type` values the field must be ignored. + * + * @return builder + * + */ + public Builder webRedirectionDisplayCertificatesRenewalMessages(@Nullable Output webRedirectionDisplayCertificatesRenewalMessages) { + $.webRedirectionDisplayCertificatesRenewalMessages = webRedirectionDisplayCertificatesRenewalMessages; + return this; + } + + /** + * @param webRedirectionDisplayCertificatesRenewalMessages This attribute is mandatory when `web_redirection_type` value is `CentralizedWebAuth`. For all other + * `web_redirection_type` values the field must be ignored. + * + * @return builder + * + */ + public Builder webRedirectionDisplayCertificatesRenewalMessages(Boolean webRedirectionDisplayCertificatesRenewalMessages) { + return webRedirectionDisplayCertificatesRenewalMessages(Output.of(webRedirectionDisplayCertificatesRenewalMessages)); + } + + /** + * @param webRedirectionPortalName A portal that exist in the DB and fits the `web_redirection_type` + * + * @return builder + * + */ + public Builder webRedirectionPortalName(@Nullable Output webRedirectionPortalName) { + $.webRedirectionPortalName = webRedirectionPortalName; + return this; + } + + /** + * @param webRedirectionPortalName A portal that exist in the DB and fits the `web_redirection_type` + * + * @return builder + * + */ + public Builder webRedirectionPortalName(String webRedirectionPortalName) { + return webRedirectionPortalName(Output.of(webRedirectionPortalName)); + } + + /** + * @param webRedirectionStaticIpHostNameFqdn IP, hostname or FQDN + * + * @return builder + * + */ + public Builder webRedirectionStaticIpHostNameFqdn(@Nullable Output webRedirectionStaticIpHostNameFqdn) { + $.webRedirectionStaticIpHostNameFqdn = webRedirectionStaticIpHostNameFqdn; + return this; + } + + /** + * @param webRedirectionStaticIpHostNameFqdn IP, hostname or FQDN + * + * @return builder + * + */ + public Builder webRedirectionStaticIpHostNameFqdn(String webRedirectionStaticIpHostNameFqdn) { + return webRedirectionStaticIpHostNameFqdn(Output.of(webRedirectionStaticIpHostNameFqdn)); + } + + /** + * @param webRedirectionType This type must fit the `web_redirection_portal_name` - Choices: `CentralizedWebAuth`, `HotSpot`, + * `NativeSupplicanProvisioning`, `ClientProvisioning` + * + * @return builder + * + */ + public Builder webRedirectionType(@Nullable Output webRedirectionType) { + $.webRedirectionType = webRedirectionType; + return this; + } + + /** + * @param webRedirectionType This type must fit the `web_redirection_portal_name` - Choices: `CentralizedWebAuth`, `HotSpot`, + * `NativeSupplicanProvisioning`, `ClientProvisioning` + * + * @return builder + * + */ + public Builder webRedirectionType(String webRedirectionType) { + return webRedirectionType(Output.of(webRedirectionType)); + } + + public AuthorizationProfileArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationRule.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationRule.java new file mode 100644 index 0000000..cbfeb05 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationRule.java @@ -0,0 +1,359 @@ +// *** 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.networkaccess; + +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.networkaccess.AuthorizationRuleArgs; +import com.pulumi.ise.networkaccess.inputs.AuthorizationRuleState; +import com.pulumi.ise.networkaccess.outputs.AuthorizationRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Network Access Authorization Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.AuthorizationRule; + * import com.pulumi.ise.networkaccess.AuthorizationRuleArgs; + * 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 AuthorizationRule("example", AuthorizationRuleArgs.builder() + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .name("Rule1") + * .default_(false) + * .rank(0) + * .state("enabled") + * .conditionType("ConditionAttributes") + * .conditionIsNegate(false) + * .conditionAttributeName("Location") + * .conditionAttributeValue("All Locations") + * .conditionDictionaryName("DEVICE") + * .conditionOperator("equals") + * .profiles("PermitAccess") + * .securityGroup("BYOD") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:networkaccess/authorizationRule:AuthorizationRule example "76d24097-41c4-4558-a4d0-a8c07ac08470,76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:networkaccess/authorizationRule:AuthorizationRule") +public class AuthorizationRule extends com.pulumi.resources.CustomResource { + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Export(name="childrens", refs={List.class,AuthorizationRuleChildren.class}, tree="[0,1]") + private Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Output>> childrens() { + return Codegen.optional(this.childrens); + } + /** + * Dictionary attribute name + * + */ + @Export(name="conditionAttributeName", refs={String.class}, tree="[0]") + private Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Output> conditionAttributeName() { + return Codegen.optional(this.conditionAttributeName); + } + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Export(name="conditionAttributeValue", refs={String.class}, tree="[0]") + private Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Output> conditionAttributeValue() { + return Codegen.optional(this.conditionAttributeValue); + } + /** + * Dictionary name + * + */ + @Export(name="conditionDictionaryName", refs={String.class}, tree="[0]") + private Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Output> conditionDictionaryName() { + return Codegen.optional(this.conditionDictionaryName); + } + /** + * Dictionary value + * + */ + @Export(name="conditionDictionaryValue", refs={String.class}, tree="[0]") + private Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Output> conditionDictionaryValue() { + return Codegen.optional(this.conditionDictionaryValue); + } + /** + * UUID for condition + * + */ + @Export(name="conditionId", refs={String.class}, tree="[0]") + private Output conditionId; + + /** + * @return UUID for condition + * + */ + public Output> conditionId() { + return Codegen.optional(this.conditionId); + } + /** + * Indicates whereas this condition is in negate mode + * + */ + @Export(name="conditionIsNegate", refs={Boolean.class}, tree="[0]") + private Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Output> conditionIsNegate() { + return Codegen.optional(this.conditionIsNegate); + } + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Export(name="conditionOperator", refs={String.class}, tree="[0]") + private Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Output> conditionOperator() { + return Codegen.optional(this.conditionOperator); + } + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Export(name="conditionType", refs={String.class}, tree="[0]") + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Output> conditionType() { + return Codegen.optional(this.conditionType); + } + /** + * Indicates if this rule is the default one + * + */ + @Export(name="default", refs={Boolean.class}, tree="[0]") + private Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Output> default_() { + return Codegen.optional(this.default_); + } + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Output name() { + return this.name; + } + /** + * Policy set ID + * + */ + @Export(name="policySetId", refs={String.class}, tree="[0]") + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + /** + * The authorization profile(s) + * + */ + @Export(name="profiles", refs={List.class,String.class}, tree="[0,1]") + private Output> profiles; + + /** + * @return The authorization profile(s) + * + */ + public Output>> profiles() { + return Codegen.optional(this.profiles); + } + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Export(name="rank", refs={Integer.class}, tree="[0]") + private Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Output> rank() { + return Codegen.optional(this.rank); + } + /** + * Security group used in authorization policies + * + */ + @Export(name="securityGroup", refs={String.class}, tree="[0]") + private Output securityGroup; + + /** + * @return Security group used in authorization policies + * + */ + public Output> securityGroup() { + return Codegen.optional(this.securityGroup); + } + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Output> state() { + return Codegen.optional(this.state); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AuthorizationRule(String name) { + this(name, AuthorizationRuleArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AuthorizationRule(String name, AuthorizationRuleArgs 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 AuthorizationRule(String name, AuthorizationRuleArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/authorizationRule:AuthorizationRule", name, args == null ? AuthorizationRuleArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private AuthorizationRule(String name, Output id, @Nullable AuthorizationRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/authorizationRule:AuthorizationRule", name, state, makeResourceOptions(options, id)); + } + + 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 AuthorizationRule get(String name, Output id, @Nullable AuthorizationRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AuthorizationRule(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationRuleArgs.java new file mode 100644 index 0000000..638e0d0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/AuthorizationRuleArgs.java @@ -0,0 +1,682 @@ +// *** 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.networkaccess; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.inputs.AuthorizationRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationRuleArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationRuleArgs Empty = new AuthorizationRuleArgs(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + + /** + * The authorization profile(s) + * + */ + @Import(name="profiles") + private @Nullable Output> profiles; + + /** + * @return The authorization profile(s) + * + */ + public Optional>> profiles() { + return Optional.ofNullable(this.profiles); + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * Security group used in authorization policies + * + */ + @Import(name="securityGroup") + private @Nullable Output securityGroup; + + /** + * @return Security group used in authorization policies + * + */ + public Optional> securityGroup() { + return Optional.ofNullable(this.securityGroup); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthorizationRuleArgs() {} + + private AuthorizationRuleArgs(AuthorizationRuleArgs $) { + this.childrens = $.childrens; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.name = $.name; + this.policySetId = $.policySetId; + this.profiles = $.profiles; + this.rank = $.rank; + this.securityGroup = $.securityGroup; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationRuleArgs $; + + public Builder() { + $ = new AuthorizationRuleArgs(); + } + + public Builder(AuthorizationRuleArgs defaults) { + $ = new AuthorizationRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(@Nullable Output> profiles) { + $.profiles = profiles; + return this; + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(List profiles) { + return profiles(Output.of(profiles)); + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(String... profiles) { + return profiles(List.of(profiles)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param securityGroup Security group used in authorization policies + * + * @return builder + * + */ + public Builder securityGroup(@Nullable Output securityGroup) { + $.securityGroup = securityGroup; + return this; + } + + /** + * @param securityGroup Security group used in authorization policies + * + * @return builder + * + */ + public Builder securityGroup(String securityGroup) { + return securityGroup(Output.of(securityGroup)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthorizationRuleArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("AuthorizationRuleArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/Condition.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/Condition.java new file mode 100644 index 0000000..ff11b44 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/Condition.java @@ -0,0 +1,269 @@ +// *** 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.networkaccess; + +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.networkaccess.ConditionArgs; +import com.pulumi.ise.networkaccess.inputs.ConditionState; +import com.pulumi.ise.networkaccess.outputs.ConditionChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Network Access Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.Condition; + * import com.pulumi.ise.networkaccess.ConditionArgs; + * 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 Condition("example", ConditionArgs.builder() + * .name("Cond1") + * .description("My description") + * .conditionType("LibraryConditionAttributes") + * .isNegate(false) + * .attributeName("EapAuthentication") + * .attributeValue("EAP-TLS") + * .dictionaryName("Network Access") + * .operator("equals") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:networkaccess/condition:Condition example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:networkaccess/condition:Condition") +public class Condition extends com.pulumi.resources.CustomResource { + /** + * Dictionary attribute name + * + */ + @Export(name="attributeName", refs={String.class}, tree="[0]") + private Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Output> attributeName() { + return Codegen.optional(this.attributeName); + } + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Export(name="attributeValue", refs={String.class}, tree="[0]") + private Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Output> attributeValue() { + return Codegen.optional(this.attributeValue); + } + /** + * List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + @Export(name="childrens", refs={List.class,ConditionChildren.class}, tree="[0,1]") + private Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + public Output>> childrens() { + return Codegen.optional(this.childrens); + } + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + */ + @Export(name="conditionType", refs={String.class}, tree="[0]") + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + */ + public Output conditionType() { + return this.conditionType; + } + /** + * Condition description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Condition description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * Dictionary name + * + */ + @Export(name="dictionaryName", refs={String.class}, tree="[0]") + private Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Output> dictionaryName() { + return Codegen.optional(this.dictionaryName); + } + /** + * Dictionary value + * + */ + @Export(name="dictionaryValue", refs={String.class}, tree="[0]") + private Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Output> dictionaryValue() { + return Codegen.optional(this.dictionaryValue); + } + /** + * Indicates whereas this condition is in negate mode + * + */ + @Export(name="isNegate", refs={Boolean.class}, tree="[0]") + private Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Output> isNegate() { + return Codegen.optional(this.isNegate); + } + /** + * Condition name + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Condition name + * + */ + public Output name() { + return this.name; + } + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Export(name="operator", refs={String.class}, tree="[0]") + private Output operator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Output> operator() { + return Codegen.optional(this.operator); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public Condition(String name) { + this(name, ConditionArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public Condition(String name, ConditionArgs 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 Condition(String name, ConditionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/condition:Condition", name, args == null ? ConditionArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private Condition(String name, Output id, @Nullable ConditionState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/condition:Condition", name, state, makeResourceOptions(options, id)); + } + + 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 Condition get(String name, Output id, @Nullable ConditionState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new Condition(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/ConditionArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/ConditionArgs.java new file mode 100644 index 0000000..5e06d16 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/ConditionArgs.java @@ -0,0 +1,449 @@ +// *** 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.networkaccess; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.inputs.ConditionChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ConditionArgs extends com.pulumi.resources.ResourceArgs { + + public static final ConditionArgs Empty = new ConditionArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Condition description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Condition description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private ConditionArgs() {} + + private ConditionArgs(ConditionArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.description = $.description; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.isNegate = $.isNegate; + this.name = $.name; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ConditionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ConditionArgs $; + + public Builder() { + $ = new ConditionArgs(); + } + + public Builder(ConditionArgs defaults) { + $ = new ConditionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(ConditionChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param operator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public ConditionArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("ConditionArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/Dictionary.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/Dictionary.java new file mode 100644 index 0000000..6d0a665 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/Dictionary.java @@ -0,0 +1,170 @@ +// *** 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.networkaccess; + +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.networkaccess.DictionaryArgs; +import com.pulumi.ise.networkaccess.inputs.DictionaryState; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Network Access Dictionary. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.Dictionary; + * import com.pulumi.ise.networkaccess.DictionaryArgs; + * 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 Dictionary("example", DictionaryArgs.builder() + * .name("Dict1") + * .description("My description") + * .version("1.1") + * .dictionaryAttrType("ENTITY_ATTR") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:networkaccess/dictionary:Dictionary example "Dict1" + * ``` + * + */ +@ResourceType(type="ise:networkaccess/dictionary:Dictionary") +public class Dictionary extends com.pulumi.resources.CustomResource { + /** + * The description of the dictionary + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return The description of the dictionary + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * The dictionary attribute type - Choices: `ENTITY_ATTR`, `MSG_ATTR`, `PIP_ATTR` + * + */ + @Export(name="dictionaryAttrType", refs={String.class}, tree="[0]") + private Output dictionaryAttrType; + + /** + * @return The dictionary attribute type - Choices: `ENTITY_ATTR`, `MSG_ATTR`, `PIP_ATTR` + * + */ + public Output dictionaryAttrType() { + return this.dictionaryAttrType; + } + /** + * The dictionary name + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The dictionary name + * + */ + public Output name() { + return this.name; + } + /** + * The version of the dictionary + * + */ + @Export(name="version", refs={String.class}, tree="[0]") + private Output version; + + /** + * @return The version of the dictionary + * + */ + public Output version() { + return this.version; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public Dictionary(String name) { + this(name, DictionaryArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public Dictionary(String name, DictionaryArgs 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 Dictionary(String name, DictionaryArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/dictionary:Dictionary", name, args == null ? DictionaryArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private Dictionary(String name, Output id, @Nullable DictionaryState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/dictionary:Dictionary", name, state, makeResourceOptions(options, id)); + } + + 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 Dictionary get(String name, Output id, @Nullable DictionaryState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new Dictionary(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/DictionaryArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/DictionaryArgs.java new file mode 100644 index 0000000..eea2f6d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/DictionaryArgs.java @@ -0,0 +1,201 @@ +// *** 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.networkaccess; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DictionaryArgs extends com.pulumi.resources.ResourceArgs { + + public static final DictionaryArgs Empty = new DictionaryArgs(); + + /** + * The description of the dictionary + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return The description of the dictionary + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The dictionary attribute type - Choices: `ENTITY_ATTR`, `MSG_ATTR`, `PIP_ATTR` + * + */ + @Import(name="dictionaryAttrType", required=true) + private Output dictionaryAttrType; + + /** + * @return The dictionary attribute type - Choices: `ENTITY_ATTR`, `MSG_ATTR`, `PIP_ATTR` + * + */ + public Output dictionaryAttrType() { + return this.dictionaryAttrType; + } + + /** + * The dictionary name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The dictionary name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The version of the dictionary + * + */ + @Import(name="version", required=true) + private Output version; + + /** + * @return The version of the dictionary + * + */ + public Output version() { + return this.version; + } + + private DictionaryArgs() {} + + private DictionaryArgs(DictionaryArgs $) { + this.description = $.description; + this.dictionaryAttrType = $.dictionaryAttrType; + this.name = $.name; + this.version = $.version; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DictionaryArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DictionaryArgs $; + + public Builder() { + $ = new DictionaryArgs(); + } + + public Builder(DictionaryArgs defaults) { + $ = new DictionaryArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description The description of the dictionary + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description The description of the dictionary + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param dictionaryAttrType The dictionary attribute type - Choices: `ENTITY_ATTR`, `MSG_ATTR`, `PIP_ATTR` + * + * @return builder + * + */ + public Builder dictionaryAttrType(Output dictionaryAttrType) { + $.dictionaryAttrType = dictionaryAttrType; + return this; + } + + /** + * @param dictionaryAttrType The dictionary attribute type - Choices: `ENTITY_ATTR`, `MSG_ATTR`, `PIP_ATTR` + * + * @return builder + * + */ + public Builder dictionaryAttrType(String dictionaryAttrType) { + return dictionaryAttrType(Output.of(dictionaryAttrType)); + } + + /** + * @param name The dictionary name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The dictionary name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param version The version of the dictionary + * + * @return builder + * + */ + public Builder version(Output version) { + $.version = version; + return this; + } + + /** + * @param version The version of the dictionary + * + * @return builder + * + */ + public Builder version(String version) { + return version(Output.of(version)); + } + + public DictionaryArgs build() { + if ($.dictionaryAttrType == null) { + throw new MissingRequiredPropertyException("DictionaryArgs", "dictionaryAttrType"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("DictionaryArgs", "version"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/DownloadableAcl.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/DownloadableAcl.java new file mode 100644 index 0000000..50a8283 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/DownloadableAcl.java @@ -0,0 +1,170 @@ +// *** 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.networkaccess; + +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.networkaccess.DownloadableAclArgs; +import com.pulumi.ise.networkaccess.inputs.DownloadableAclState; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Downloadable ACL. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.DownloadableAcl; + * import com.pulumi.ise.networkaccess.DownloadableAclArgs; + * 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 DownloadableAcl("example", DownloadableAclArgs.builder() + * .name("MyACL") + * .description("My first downloadable ACL") + * .dacl("permit ip any any") + * .daclType("IPV4") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:networkaccess/downloadableAcl:DownloadableAcl example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:networkaccess/downloadableAcl:DownloadableAcl") +public class DownloadableAcl extends com.pulumi.resources.CustomResource { + /** + * The DACL content + * + */ + @Export(name="dacl", refs={String.class}, tree="[0]") + private Output dacl; + + /** + * @return The DACL content + * + */ + public Output dacl() { + return this.dacl; + } + /** + * The type of ACL - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IPV4` + * + */ + @Export(name="daclType", refs={String.class}, tree="[0]") + private Output daclType; + + /** + * @return The type of ACL - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IPV4` + * + */ + public Output daclType() { + return this.daclType; + } + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * The name of the downloadable ACL + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the downloadable ACL + * + */ + public Output name() { + return this.name; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public DownloadableAcl(String name) { + this(name, DownloadableAclArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public DownloadableAcl(String name, DownloadableAclArgs 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 DownloadableAcl(String name, DownloadableAclArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/downloadableAcl:DownloadableAcl", name, args == null ? DownloadableAclArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private DownloadableAcl(String name, Output id, @Nullable DownloadableAclState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/downloadableAcl:DownloadableAcl", name, state, makeResourceOptions(options, id)); + } + + 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 DownloadableAcl get(String name, Output id, @Nullable DownloadableAclState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new DownloadableAcl(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/DownloadableAclArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/DownloadableAclArgs.java new file mode 100644 index 0000000..25b1e1b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/DownloadableAclArgs.java @@ -0,0 +1,198 @@ +// *** 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.networkaccess; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DownloadableAclArgs extends com.pulumi.resources.ResourceArgs { + + public static final DownloadableAclArgs Empty = new DownloadableAclArgs(); + + /** + * The DACL content + * + */ + @Import(name="dacl", required=true) + private Output dacl; + + /** + * @return The DACL content + * + */ + public Output dacl() { + return this.dacl; + } + + /** + * The type of ACL - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IPV4` + * + */ + @Import(name="daclType") + private @Nullable Output daclType; + + /** + * @return The type of ACL - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IPV4` + * + */ + public Optional> daclType() { + return Optional.ofNullable(this.daclType); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the downloadable ACL + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the downloadable ACL + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private DownloadableAclArgs() {} + + private DownloadableAclArgs(DownloadableAclArgs $) { + this.dacl = $.dacl; + this.daclType = $.daclType; + this.description = $.description; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DownloadableAclArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DownloadableAclArgs $; + + public Builder() { + $ = new DownloadableAclArgs(); + } + + public Builder(DownloadableAclArgs defaults) { + $ = new DownloadableAclArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param dacl The DACL content + * + * @return builder + * + */ + public Builder dacl(Output dacl) { + $.dacl = dacl; + return this; + } + + /** + * @param dacl The DACL content + * + * @return builder + * + */ + public Builder dacl(String dacl) { + return dacl(Output.of(dacl)); + } + + /** + * @param daclType The type of ACL - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IPV4` + * + * @return builder + * + */ + public Builder daclType(@Nullable Output daclType) { + $.daclType = daclType; + return this; + } + + /** + * @param daclType The type of ACL - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IPV4` + * + * @return builder + * + */ + public Builder daclType(String daclType) { + return daclType(Output.of(daclType)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the downloadable ACL + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the downloadable ACL + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public DownloadableAclArgs build() { + if ($.dacl == null) { + throw new MissingRequiredPropertyException("DownloadableAclArgs", "dacl"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/NetworkaccessFunctions.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/NetworkaccessFunctions.java new file mode 100644 index 0000000..75a99bf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/NetworkaccessFunctions.java @@ -0,0 +1,2459 @@ +// *** 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.networkaccess; + +import com.pulumi.core.Output; +import com.pulumi.core.TypeShape; +import com.pulumi.deployment.Deployment; +import com.pulumi.deployment.InvokeOptions; +import com.pulumi.ise.Utilities; +import com.pulumi.ise.networkaccess.inputs.GetAllowedProtocolsArgs; +import com.pulumi.ise.networkaccess.inputs.GetAllowedProtocolsPlainArgs; +import com.pulumi.ise.networkaccess.inputs.GetAuthenticationRuleArgs; +import com.pulumi.ise.networkaccess.inputs.GetAuthenticationRulePlainArgs; +import com.pulumi.ise.networkaccess.inputs.GetAuthorizationExceptionRuleArgs; +import com.pulumi.ise.networkaccess.inputs.GetAuthorizationExceptionRulePlainArgs; +import com.pulumi.ise.networkaccess.inputs.GetAuthorizationGlobalExceptionRuleArgs; +import com.pulumi.ise.networkaccess.inputs.GetAuthorizationGlobalExceptionRulePlainArgs; +import com.pulumi.ise.networkaccess.inputs.GetAuthorizationProfileArgs; +import com.pulumi.ise.networkaccess.inputs.GetAuthorizationProfilePlainArgs; +import com.pulumi.ise.networkaccess.inputs.GetAuthorizationRuleArgs; +import com.pulumi.ise.networkaccess.inputs.GetAuthorizationRulePlainArgs; +import com.pulumi.ise.networkaccess.inputs.GetConditionArgs; +import com.pulumi.ise.networkaccess.inputs.GetConditionPlainArgs; +import com.pulumi.ise.networkaccess.inputs.GetDictionaryArgs; +import com.pulumi.ise.networkaccess.inputs.GetDictionaryPlainArgs; +import com.pulumi.ise.networkaccess.inputs.GetDownloadableAclArgs; +import com.pulumi.ise.networkaccess.inputs.GetDownloadableAclPlainArgs; +import com.pulumi.ise.networkaccess.inputs.GetPolicySetArgs; +import com.pulumi.ise.networkaccess.inputs.GetPolicySetPlainArgs; +import com.pulumi.ise.networkaccess.inputs.GetTimeAndDateConditionArgs; +import com.pulumi.ise.networkaccess.inputs.GetTimeAndDateConditionPlainArgs; +import com.pulumi.ise.networkaccess.outputs.GetAllowedProtocolsResult; +import com.pulumi.ise.networkaccess.outputs.GetAuthenticationRuleResult; +import com.pulumi.ise.networkaccess.outputs.GetAuthorizationExceptionRuleResult; +import com.pulumi.ise.networkaccess.outputs.GetAuthorizationGlobalExceptionRuleResult; +import com.pulumi.ise.networkaccess.outputs.GetAuthorizationProfileResult; +import com.pulumi.ise.networkaccess.outputs.GetAuthorizationRuleResult; +import com.pulumi.ise.networkaccess.outputs.GetConditionResult; +import com.pulumi.ise.networkaccess.outputs.GetDictionaryResult; +import com.pulumi.ise.networkaccess.outputs.GetDownloadableAclResult; +import com.pulumi.ise.networkaccess.outputs.GetPolicySetResult; +import com.pulumi.ise.networkaccess.outputs.GetTimeAndDateConditionResult; +import java.util.concurrent.CompletableFuture; + +public final class NetworkaccessFunctions { + /** + * This data source can read an allowed protocols policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAllowedProtocolsArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAllowedProtocols(GetAllowedProtocolsArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAllowedProtocols() { + return getAllowedProtocols(GetAllowedProtocolsArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read an allowed protocols policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAllowedProtocolsArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAllowedProtocols(GetAllowedProtocolsArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAllowedProtocolsPlain() { + return getAllowedProtocolsPlain(GetAllowedProtocolsPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read an allowed protocols policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAllowedProtocolsArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAllowedProtocols(GetAllowedProtocolsArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAllowedProtocols(GetAllowedProtocolsArgs args) { + return getAllowedProtocols(args, InvokeOptions.Empty); + } + /** + * This data source can read an allowed protocols policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAllowedProtocolsArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAllowedProtocols(GetAllowedProtocolsArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAllowedProtocolsPlain(GetAllowedProtocolsPlainArgs args) { + return getAllowedProtocolsPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read an allowed protocols policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAllowedProtocolsArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAllowedProtocols(GetAllowedProtocolsArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAllowedProtocols(GetAllowedProtocolsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:networkaccess/getAllowedProtocols:getAllowedProtocols", TypeShape.of(GetAllowedProtocolsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read an allowed protocols policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAllowedProtocolsArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAllowedProtocols(GetAllowedProtocolsArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAllowedProtocolsPlain(GetAllowedProtocolsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:networkaccess/getAllowedProtocols:getAllowedProtocols", TypeShape.of(GetAllowedProtocolsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Authentication Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthenticationRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthenticationRule(GetAuthenticationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthenticationRule(GetAuthenticationRuleArgs args) { + return getAuthenticationRule(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Authentication Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthenticationRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthenticationRule(GetAuthenticationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthenticationRulePlain(GetAuthenticationRulePlainArgs args) { + return getAuthenticationRulePlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Authentication Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthenticationRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthenticationRule(GetAuthenticationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthenticationRule(GetAuthenticationRuleArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:networkaccess/getAuthenticationRule:getAuthenticationRule", TypeShape.of(GetAuthenticationRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Authentication Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthenticationRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthenticationRule(GetAuthenticationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthenticationRulePlain(GetAuthenticationRulePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:networkaccess/getAuthenticationRule:getAuthenticationRule", TypeShape.of(GetAuthenticationRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Authorization Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationExceptionRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationExceptionRule(GetAuthorizationExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationExceptionRule(GetAuthorizationExceptionRuleArgs args) { + return getAuthorizationExceptionRule(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Authorization Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationExceptionRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationExceptionRule(GetAuthorizationExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationExceptionRulePlain(GetAuthorizationExceptionRulePlainArgs args) { + return getAuthorizationExceptionRulePlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Authorization Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationExceptionRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationExceptionRule(GetAuthorizationExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationExceptionRule(GetAuthorizationExceptionRuleArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:networkaccess/getAuthorizationExceptionRule:getAuthorizationExceptionRule", TypeShape.of(GetAuthorizationExceptionRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Authorization Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationExceptionRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationExceptionRule(GetAuthorizationExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationExceptionRulePlain(GetAuthorizationExceptionRulePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:networkaccess/getAuthorizationExceptionRule:getAuthorizationExceptionRule", TypeShape.of(GetAuthorizationExceptionRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Authorization Global Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationGlobalExceptionRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationGlobalExceptionRule() { + return getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Authorization Global Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationGlobalExceptionRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationGlobalExceptionRulePlain() { + return getAuthorizationGlobalExceptionRulePlain(GetAuthorizationGlobalExceptionRulePlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Authorization Global Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationGlobalExceptionRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs args) { + return getAuthorizationGlobalExceptionRule(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Authorization Global Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationGlobalExceptionRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationGlobalExceptionRulePlain(GetAuthorizationGlobalExceptionRulePlainArgs args) { + return getAuthorizationGlobalExceptionRulePlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Authorization Global Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationGlobalExceptionRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:networkaccess/getAuthorizationGlobalExceptionRule:getAuthorizationGlobalExceptionRule", TypeShape.of(GetAuthorizationGlobalExceptionRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Authorization Global Exception Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationGlobalExceptionRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationGlobalExceptionRule(GetAuthorizationGlobalExceptionRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationGlobalExceptionRulePlain(GetAuthorizationGlobalExceptionRulePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:networkaccess/getAuthorizationGlobalExceptionRule:getAuthorizationGlobalExceptionRule", TypeShape.of(GetAuthorizationGlobalExceptionRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read an authorization profiles policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationProfileArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationProfile(GetAuthorizationProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationProfile() { + return getAuthorizationProfile(GetAuthorizationProfileArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read an authorization profiles policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationProfileArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationProfile(GetAuthorizationProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationProfilePlain() { + return getAuthorizationProfilePlain(GetAuthorizationProfilePlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read an authorization profiles policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationProfileArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationProfile(GetAuthorizationProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationProfile(GetAuthorizationProfileArgs args) { + return getAuthorizationProfile(args, InvokeOptions.Empty); + } + /** + * This data source can read an authorization profiles policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationProfileArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationProfile(GetAuthorizationProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationProfilePlain(GetAuthorizationProfilePlainArgs args) { + return getAuthorizationProfilePlain(args, InvokeOptions.Empty); + } + /** + * This data source can read an authorization profiles policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationProfileArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationProfile(GetAuthorizationProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationProfile(GetAuthorizationProfileArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:networkaccess/getAuthorizationProfile:getAuthorizationProfile", TypeShape.of(GetAuthorizationProfileResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read an authorization profiles policy element. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationProfileArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationProfile(GetAuthorizationProfileArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationProfilePlain(GetAuthorizationProfilePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:networkaccess/getAuthorizationProfile:getAuthorizationProfile", TypeShape.of(GetAuthorizationProfileResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Authorization Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationRule(GetAuthorizationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationRule(GetAuthorizationRuleArgs args) { + return getAuthorizationRule(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Authorization Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationRule(GetAuthorizationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationRulePlain(GetAuthorizationRulePlainArgs args) { + return getAuthorizationRulePlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Authorization Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationRule(GetAuthorizationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getAuthorizationRule(GetAuthorizationRuleArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:networkaccess/getAuthorizationRule:getAuthorizationRule", TypeShape.of(GetAuthorizationRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Authorization Rule. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetAuthorizationRuleArgs; + * 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) { + * final var example = NetworkaccessFunctions.getAuthorizationRule(GetAuthorizationRuleArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAuthorizationRulePlain(GetAuthorizationRulePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:networkaccess/getAuthorizationRule:getAuthorizationRule", TypeShape.of(GetAuthorizationRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetConditionArgs; + * 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) { + * final var example = NetworkaccessFunctions.getCondition(GetConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getCondition() { + return getCondition(GetConditionArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetConditionArgs; + * 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) { + * final var example = NetworkaccessFunctions.getCondition(GetConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getConditionPlain() { + return getConditionPlain(GetConditionPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetConditionArgs; + * 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) { + * final var example = NetworkaccessFunctions.getCondition(GetConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getCondition(GetConditionArgs args) { + return getCondition(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetConditionArgs; + * 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) { + * final var example = NetworkaccessFunctions.getCondition(GetConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getConditionPlain(GetConditionPlainArgs args) { + return getConditionPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetConditionArgs; + * 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) { + * final var example = NetworkaccessFunctions.getCondition(GetConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getCondition(GetConditionArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:networkaccess/getCondition:getCondition", TypeShape.of(GetConditionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetConditionArgs; + * 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) { + * final var example = NetworkaccessFunctions.getCondition(GetConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getConditionPlain(GetConditionPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:networkaccess/getCondition:getCondition", TypeShape.of(GetConditionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Dictionary. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetDictionaryArgs; + * 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) { + * final var example = NetworkaccessFunctions.getDictionary(GetDictionaryArgs.builder() + * .id("Dict1") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getDictionary() { + return getDictionary(GetDictionaryArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Dictionary. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetDictionaryArgs; + * 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) { + * final var example = NetworkaccessFunctions.getDictionary(GetDictionaryArgs.builder() + * .id("Dict1") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDictionaryPlain() { + return getDictionaryPlain(GetDictionaryPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Dictionary. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetDictionaryArgs; + * 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) { + * final var example = NetworkaccessFunctions.getDictionary(GetDictionaryArgs.builder() + * .id("Dict1") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getDictionary(GetDictionaryArgs args) { + return getDictionary(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Dictionary. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetDictionaryArgs; + * 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) { + * final var example = NetworkaccessFunctions.getDictionary(GetDictionaryArgs.builder() + * .id("Dict1") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDictionaryPlain(GetDictionaryPlainArgs args) { + return getDictionaryPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Dictionary. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetDictionaryArgs; + * 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) { + * final var example = NetworkaccessFunctions.getDictionary(GetDictionaryArgs.builder() + * .id("Dict1") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getDictionary(GetDictionaryArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:networkaccess/getDictionary:getDictionary", TypeShape.of(GetDictionaryResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Dictionary. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetDictionaryArgs; + * 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) { + * final var example = NetworkaccessFunctions.getDictionary(GetDictionaryArgs.builder() + * .id("Dict1") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDictionaryPlain(GetDictionaryPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:networkaccess/getDictionary:getDictionary", TypeShape.of(GetDictionaryResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Downloadable ACL. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetDownloadableAclArgs; + * 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) { + * final var example = NetworkaccessFunctions.getDownloadableAcl(GetDownloadableAclArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getDownloadableAcl() { + return getDownloadableAcl(GetDownloadableAclArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Downloadable ACL. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetDownloadableAclArgs; + * 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) { + * final var example = NetworkaccessFunctions.getDownloadableAcl(GetDownloadableAclArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDownloadableAclPlain() { + return getDownloadableAclPlain(GetDownloadableAclPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Downloadable ACL. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetDownloadableAclArgs; + * 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) { + * final var example = NetworkaccessFunctions.getDownloadableAcl(GetDownloadableAclArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getDownloadableAcl(GetDownloadableAclArgs args) { + return getDownloadableAcl(args, InvokeOptions.Empty); + } + /** + * This data source can read the Downloadable ACL. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetDownloadableAclArgs; + * 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) { + * final var example = NetworkaccessFunctions.getDownloadableAcl(GetDownloadableAclArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDownloadableAclPlain(GetDownloadableAclPlainArgs args) { + return getDownloadableAclPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Downloadable ACL. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetDownloadableAclArgs; + * 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) { + * final var example = NetworkaccessFunctions.getDownloadableAcl(GetDownloadableAclArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getDownloadableAcl(GetDownloadableAclArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:networkaccess/getDownloadableAcl:getDownloadableAcl", TypeShape.of(GetDownloadableAclResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Downloadable ACL. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetDownloadableAclArgs; + * 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) { + * final var example = NetworkaccessFunctions.getDownloadableAcl(GetDownloadableAclArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDownloadableAclPlain(GetDownloadableAclPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:networkaccess/getDownloadableAcl:getDownloadableAcl", TypeShape.of(GetDownloadableAclResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Policy Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetPolicySetArgs; + * 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) { + * final var example = NetworkaccessFunctions.getPolicySet(GetPolicySetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getPolicySet() { + return getPolicySet(GetPolicySetArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Policy Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetPolicySetArgs; + * 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) { + * final var example = NetworkaccessFunctions.getPolicySet(GetPolicySetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getPolicySetPlain() { + return getPolicySetPlain(GetPolicySetPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Policy Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetPolicySetArgs; + * 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) { + * final var example = NetworkaccessFunctions.getPolicySet(GetPolicySetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getPolicySet(GetPolicySetArgs args) { + return getPolicySet(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Policy Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetPolicySetArgs; + * 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) { + * final var example = NetworkaccessFunctions.getPolicySet(GetPolicySetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getPolicySetPlain(GetPolicySetPlainArgs args) { + return getPolicySetPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Policy Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetPolicySetArgs; + * 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) { + * final var example = NetworkaccessFunctions.getPolicySet(GetPolicySetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getPolicySet(GetPolicySetArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:networkaccess/getPolicySet:getPolicySet", TypeShape.of(GetPolicySetResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Policy Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetPolicySetArgs; + * 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) { + * final var example = NetworkaccessFunctions.getPolicySet(GetPolicySetArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getPolicySetPlain(GetPolicySetPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:networkaccess/getPolicySet:getPolicySet", TypeShape.of(GetPolicySetResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Time And Date Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetTimeAndDateConditionArgs; + * 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) { + * final var example = NetworkaccessFunctions.getTimeAndDateCondition(GetTimeAndDateConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getTimeAndDateCondition() { + return getTimeAndDateCondition(GetTimeAndDateConditionArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Time And Date Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetTimeAndDateConditionArgs; + * 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) { + * final var example = NetworkaccessFunctions.getTimeAndDateCondition(GetTimeAndDateConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getTimeAndDateConditionPlain() { + return getTimeAndDateConditionPlain(GetTimeAndDateConditionPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Time And Date Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetTimeAndDateConditionArgs; + * 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) { + * final var example = NetworkaccessFunctions.getTimeAndDateCondition(GetTimeAndDateConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getTimeAndDateCondition(GetTimeAndDateConditionArgs args) { + return getTimeAndDateCondition(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Time And Date Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetTimeAndDateConditionArgs; + * 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) { + * final var example = NetworkaccessFunctions.getTimeAndDateCondition(GetTimeAndDateConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getTimeAndDateConditionPlain(GetTimeAndDateConditionPlainArgs args) { + return getTimeAndDateConditionPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Network Access Time And Date Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetTimeAndDateConditionArgs; + * 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) { + * final var example = NetworkaccessFunctions.getTimeAndDateCondition(GetTimeAndDateConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getTimeAndDateCondition(GetTimeAndDateConditionArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:networkaccess/getTimeAndDateCondition:getTimeAndDateCondition", TypeShape.of(GetTimeAndDateConditionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Network Access Time And Date Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.NetworkaccessFunctions; + * import com.pulumi.ise.networkaccess.inputs.GetTimeAndDateConditionArgs; + * 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) { + * final var example = NetworkaccessFunctions.getTimeAndDateCondition(GetTimeAndDateConditionArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getTimeAndDateConditionPlain(GetTimeAndDateConditionPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:networkaccess/getTimeAndDateCondition:getTimeAndDateCondition", TypeShape.of(GetTimeAndDateConditionResult.class), args, Utilities.withVersion(options)); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/PolicySet.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/PolicySet.java new file mode 100644 index 0000000..eee486d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/PolicySet.java @@ -0,0 +1,360 @@ +// *** 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.networkaccess; + +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.networkaccess.PolicySetArgs; +import com.pulumi.ise.networkaccess.inputs.PolicySetState; +import com.pulumi.ise.networkaccess.outputs.PolicySetChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Network Access Policy Set. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.PolicySet; + * import com.pulumi.ise.networkaccess.PolicySetArgs; + * 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 PolicySet("example", PolicySetArgs.builder() + * .name("PolicySet1") + * .description("My description") + * .isProxy(false) + * .rank(0) + * .serviceName("Default Network Access") + * .state("enabled") + * .conditionType("ConditionAttributes") + * .conditionIsNegate(false) + * .conditionAttributeName("Location") + * .conditionAttributeValue("All Locations") + * .conditionDictionaryName("DEVICE") + * .conditionOperator("equals") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:networkaccess/policySet:PolicySet example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:networkaccess/policySet:PolicySet") +public class PolicySet extends com.pulumi.resources.CustomResource { + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Export(name="childrens", refs={List.class,PolicySetChildren.class}, tree="[0,1]") + private Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Output>> childrens() { + return Codegen.optional(this.childrens); + } + /** + * Dictionary attribute name + * + */ + @Export(name="conditionAttributeName", refs={String.class}, tree="[0]") + private Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Output> conditionAttributeName() { + return Codegen.optional(this.conditionAttributeName); + } + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Export(name="conditionAttributeValue", refs={String.class}, tree="[0]") + private Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Output> conditionAttributeValue() { + return Codegen.optional(this.conditionAttributeValue); + } + /** + * Dictionary name + * + */ + @Export(name="conditionDictionaryName", refs={String.class}, tree="[0]") + private Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Output> conditionDictionaryName() { + return Codegen.optional(this.conditionDictionaryName); + } + /** + * Dictionary value + * + */ + @Export(name="conditionDictionaryValue", refs={String.class}, tree="[0]") + private Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Output> conditionDictionaryValue() { + return Codegen.optional(this.conditionDictionaryValue); + } + /** + * UUID for condition + * + */ + @Export(name="conditionId", refs={String.class}, tree="[0]") + private Output conditionId; + + /** + * @return UUID for condition + * + */ + public Output> conditionId() { + return Codegen.optional(this.conditionId); + } + /** + * Indicates whereas this condition is in negate mode + * + */ + @Export(name="conditionIsNegate", refs={Boolean.class}, tree="[0]") + private Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Output> conditionIsNegate() { + return Codegen.optional(this.conditionIsNegate); + } + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Export(name="conditionOperator", refs={String.class}, tree="[0]") + private Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Output> conditionOperator() { + return Codegen.optional(this.conditionOperator); + } + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Export(name="conditionType", refs={String.class}, tree="[0]") + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Output> conditionType() { + return Codegen.optional(this.conditionType); + } + /** + * Indicates if this policy set is the default one + * + */ + @Export(name="default", refs={Boolean.class}, tree="[0]") + private Output default_; + + /** + * @return Indicates if this policy set is the default one + * + */ + public Output> default_() { + return Codegen.optional(this.default_); + } + /** + * The description of the policy set + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return The description of the policy set + * + */ + public Output description() { + return this.description; + } + /** + * Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + @Export(name="isProxy", refs={Boolean.class}, tree="[0]") + private Output isProxy; + + /** + * @return Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + public Output> isProxy() { + return Codegen.optional(this.isProxy); + } + /** + * Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Output name() { + return this.name; + } + /** + * The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + @Export(name="rank", refs={Integer.class}, tree="[0]") + private Output rank; + + /** + * @return The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + public Output rank() { + return this.rank; + } + /** + * Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + @Export(name="serviceName", refs={String.class}, tree="[0]") + private Output serviceName; + + /** + * @return Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + public Output serviceName() { + return this.serviceName; + } + /** + * The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + */ + public Output> state() { + return Codegen.optional(this.state); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public PolicySet(String name) { + this(name, PolicySetArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public PolicySet(String name, PolicySetArgs 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 PolicySet(String name, PolicySetArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/policySet:PolicySet", name, args == null ? PolicySetArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private PolicySet(String name, Output id, @Nullable PolicySetState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/policySet:PolicySet", name, state, makeResourceOptions(options, id)); + } + + 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 PolicySet get(String name, Output id, @Nullable PolicySetState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new PolicySet(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/PolicySetArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/PolicySetArgs.java new file mode 100644 index 0000000..f8608f2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/PolicySetArgs.java @@ -0,0 +1,676 @@ +// *** 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.networkaccess; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.inputs.PolicySetChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PolicySetArgs extends com.pulumi.resources.ResourceArgs { + + public static final PolicySetArgs Empty = new PolicySetArgs(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this policy set is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this policy set is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * The description of the policy set + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return The description of the policy set + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + @Import(name="isProxy") + private @Nullable Output isProxy; + + /** + * @return Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + public Optional> isProxy() { + return Optional.ofNullable(this.isProxy); + } + + /** + * Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + @Import(name="serviceName", required=true) + private Output serviceName; + + /** + * @return Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + public Output serviceName() { + return this.serviceName; + } + + /** + * The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private PolicySetArgs() {} + + private PolicySetArgs(PolicySetArgs $) { + this.childrens = $.childrens; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.description = $.description; + this.isProxy = $.isProxy; + this.name = $.name; + this.rank = $.rank; + this.serviceName = $.serviceName; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PolicySetArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PolicySetArgs $; + + public Builder() { + $ = new PolicySetArgs(); + } + + public Builder(PolicySetArgs defaults) { + $ = new PolicySetArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(PolicySetChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this policy set is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this policy set is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param description The description of the policy set + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description The description of the policy set + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param isProxy Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + * @return builder + * + */ + public Builder isProxy(@Nullable Output isProxy) { + $.isProxy = isProxy; + return this; + } + + /** + * @param isProxy Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + * @return builder + * + */ + public Builder isProxy(Boolean isProxy) { + return isProxy(Output.of(isProxy)); + } + + /** + * @param name Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param rank The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param serviceName Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + * @return builder + * + */ + public Builder serviceName(Output serviceName) { + $.serviceName = serviceName; + return this; + } + + /** + * @param serviceName Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + * @return builder + * + */ + public Builder serviceName(String serviceName) { + return serviceName(Output.of(serviceName)); + } + + /** + * @param state The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public PolicySetArgs build() { + if ($.serviceName == null) { + throw new MissingRequiredPropertyException("PolicySetArgs", "serviceName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/TimeAndDateCondition.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/TimeAndDateCondition.java new file mode 100644 index 0000000..be8814b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/TimeAndDateCondition.java @@ -0,0 +1,307 @@ +// *** 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.networkaccess; + +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.networkaccess.TimeAndDateConditionArgs; +import com.pulumi.ise.networkaccess.inputs.TimeAndDateConditionState; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Network Access Time And Date Condition. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.networkaccess.TimeAndDateCondition; + * import com.pulumi.ise.networkaccess.TimeAndDateConditionArgs; + * 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 TimeAndDateCondition("example", TimeAndDateConditionArgs.builder() + * .name("Cond1") + * .description("My description") + * .isNegate(false) + * .weekDays("Monday") + * .weekDaysExceptions("Tuesday") + * .startDate("2022-05-06") + * .endDate("2022-05-10") + * .exceptionStartDate("2022-06-06") + * .exceptionEndDate("2022-06-10") + * .startTime("08:00") + * .endTime("15:00") + * .exceptionStartTime("20:00") + * .exceptionEndTime("22:00") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:networkaccess/timeAndDateCondition:TimeAndDateCondition example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:networkaccess/timeAndDateCondition:TimeAndDateCondition") +public class TimeAndDateCondition extends com.pulumi.resources.CustomResource { + /** + * Condition description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Condition description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * End date + * + */ + @Export(name="endDate", refs={String.class}, tree="[0]") + private Output endDate; + + /** + * @return End date + * + */ + public Output> endDate() { + return Codegen.optional(this.endDate); + } + /** + * End time + * + */ + @Export(name="endTime", refs={String.class}, tree="[0]") + private Output endTime; + + /** + * @return End time + * + */ + public Output> endTime() { + return Codegen.optional(this.endTime); + } + /** + * Exception end date + * + */ + @Export(name="exceptionEndDate", refs={String.class}, tree="[0]") + private Output exceptionEndDate; + + /** + * @return Exception end date + * + */ + public Output> exceptionEndDate() { + return Codegen.optional(this.exceptionEndDate); + } + /** + * Exception end time + * + */ + @Export(name="exceptionEndTime", refs={String.class}, tree="[0]") + private Output exceptionEndTime; + + /** + * @return Exception end time + * + */ + public Output> exceptionEndTime() { + return Codegen.optional(this.exceptionEndTime); + } + /** + * Exception start date + * + */ + @Export(name="exceptionStartDate", refs={String.class}, tree="[0]") + private Output exceptionStartDate; + + /** + * @return Exception start date + * + */ + public Output> exceptionStartDate() { + return Codegen.optional(this.exceptionStartDate); + } + /** + * Exception start time + * + */ + @Export(name="exceptionStartTime", refs={String.class}, tree="[0]") + private Output exceptionStartTime; + + /** + * @return Exception start time + * + */ + public Output> exceptionStartTime() { + return Codegen.optional(this.exceptionStartTime); + } + /** + * Indicates whereas this condition is in negate mode + * + */ + @Export(name="isNegate", refs={Boolean.class}, tree="[0]") + private Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Output> isNegate() { + return Codegen.optional(this.isNegate); + } + /** + * Condition name + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Condition name + * + */ + public Output name() { + return this.name; + } + /** + * Start date + * + */ + @Export(name="startDate", refs={String.class}, tree="[0]") + private Output startDate; + + /** + * @return Start date + * + */ + public Output> startDate() { + return Codegen.optional(this.startDate); + } + /** + * Start time + * + */ + @Export(name="startTime", refs={String.class}, tree="[0]") + private Output startTime; + + /** + * @return Start time + * + */ + public Output> startTime() { + return Codegen.optional(this.startTime); + } + /** + * Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + @Export(name="weekDays", refs={List.class,String.class}, tree="[0,1]") + private Output> weekDays; + + /** + * @return Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + public Output>> weekDays() { + return Codegen.optional(this.weekDays); + } + /** + * Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + @Export(name="weekDaysExceptions", refs={List.class,String.class}, tree="[0,1]") + private Output> weekDaysExceptions; + + /** + * @return Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + public Output>> weekDaysExceptions() { + return Codegen.optional(this.weekDaysExceptions); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public TimeAndDateCondition(String name) { + this(name, TimeAndDateConditionArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public TimeAndDateCondition(String name, @Nullable TimeAndDateConditionArgs 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 TimeAndDateCondition(String name, @Nullable TimeAndDateConditionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/timeAndDateCondition:TimeAndDateCondition", name, args == null ? TimeAndDateConditionArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private TimeAndDateCondition(String name, Output id, @Nullable TimeAndDateConditionState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:networkaccess/timeAndDateCondition:TimeAndDateCondition", name, state, makeResourceOptions(options, id)); + } + + 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 TimeAndDateCondition get(String name, Output id, @Nullable TimeAndDateConditionState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new TimeAndDateCondition(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/TimeAndDateConditionArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/TimeAndDateConditionArgs.java new file mode 100644 index 0000000..3ab4694 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/TimeAndDateConditionArgs.java @@ -0,0 +1,549 @@ +// *** 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.networkaccess; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class TimeAndDateConditionArgs extends com.pulumi.resources.ResourceArgs { + + public static final TimeAndDateConditionArgs Empty = new TimeAndDateConditionArgs(); + + /** + * Condition description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Condition description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * End date + * + */ + @Import(name="endDate") + private @Nullable Output endDate; + + /** + * @return End date + * + */ + public Optional> endDate() { + return Optional.ofNullable(this.endDate); + } + + /** + * End time + * + */ + @Import(name="endTime") + private @Nullable Output endTime; + + /** + * @return End time + * + */ + public Optional> endTime() { + return Optional.ofNullable(this.endTime); + } + + /** + * Exception end date + * + */ + @Import(name="exceptionEndDate") + private @Nullable Output exceptionEndDate; + + /** + * @return Exception end date + * + */ + public Optional> exceptionEndDate() { + return Optional.ofNullable(this.exceptionEndDate); + } + + /** + * Exception end time + * + */ + @Import(name="exceptionEndTime") + private @Nullable Output exceptionEndTime; + + /** + * @return Exception end time + * + */ + public Optional> exceptionEndTime() { + return Optional.ofNullable(this.exceptionEndTime); + } + + /** + * Exception start date + * + */ + @Import(name="exceptionStartDate") + private @Nullable Output exceptionStartDate; + + /** + * @return Exception start date + * + */ + public Optional> exceptionStartDate() { + return Optional.ofNullable(this.exceptionStartDate); + } + + /** + * Exception start time + * + */ + @Import(name="exceptionStartTime") + private @Nullable Output exceptionStartTime; + + /** + * @return Exception start time + * + */ + public Optional> exceptionStartTime() { + return Optional.ofNullable(this.exceptionStartTime); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Start date + * + */ + @Import(name="startDate") + private @Nullable Output startDate; + + /** + * @return Start date + * + */ + public Optional> startDate() { + return Optional.ofNullable(this.startDate); + } + + /** + * Start time + * + */ + @Import(name="startTime") + private @Nullable Output startTime; + + /** + * @return Start time + * + */ + public Optional> startTime() { + return Optional.ofNullable(this.startTime); + } + + /** + * Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + @Import(name="weekDays") + private @Nullable Output> weekDays; + + /** + * @return Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + public Optional>> weekDays() { + return Optional.ofNullable(this.weekDays); + } + + /** + * Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + @Import(name="weekDaysExceptions") + private @Nullable Output> weekDaysExceptions; + + /** + * @return Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + public Optional>> weekDaysExceptions() { + return Optional.ofNullable(this.weekDaysExceptions); + } + + private TimeAndDateConditionArgs() {} + + private TimeAndDateConditionArgs(TimeAndDateConditionArgs $) { + this.description = $.description; + this.endDate = $.endDate; + this.endTime = $.endTime; + this.exceptionEndDate = $.exceptionEndDate; + this.exceptionEndTime = $.exceptionEndTime; + this.exceptionStartDate = $.exceptionStartDate; + this.exceptionStartTime = $.exceptionStartTime; + this.isNegate = $.isNegate; + this.name = $.name; + this.startDate = $.startDate; + this.startTime = $.startTime; + this.weekDays = $.weekDays; + this.weekDaysExceptions = $.weekDaysExceptions; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(TimeAndDateConditionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private TimeAndDateConditionArgs $; + + public Builder() { + $ = new TimeAndDateConditionArgs(); + } + + public Builder(TimeAndDateConditionArgs defaults) { + $ = new TimeAndDateConditionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param endDate End date + * + * @return builder + * + */ + public Builder endDate(@Nullable Output endDate) { + $.endDate = endDate; + return this; + } + + /** + * @param endDate End date + * + * @return builder + * + */ + public Builder endDate(String endDate) { + return endDate(Output.of(endDate)); + } + + /** + * @param endTime End time + * + * @return builder + * + */ + public Builder endTime(@Nullable Output endTime) { + $.endTime = endTime; + return this; + } + + /** + * @param endTime End time + * + * @return builder + * + */ + public Builder endTime(String endTime) { + return endTime(Output.of(endTime)); + } + + /** + * @param exceptionEndDate Exception end date + * + * @return builder + * + */ + public Builder exceptionEndDate(@Nullable Output exceptionEndDate) { + $.exceptionEndDate = exceptionEndDate; + return this; + } + + /** + * @param exceptionEndDate Exception end date + * + * @return builder + * + */ + public Builder exceptionEndDate(String exceptionEndDate) { + return exceptionEndDate(Output.of(exceptionEndDate)); + } + + /** + * @param exceptionEndTime Exception end time + * + * @return builder + * + */ + public Builder exceptionEndTime(@Nullable Output exceptionEndTime) { + $.exceptionEndTime = exceptionEndTime; + return this; + } + + /** + * @param exceptionEndTime Exception end time + * + * @return builder + * + */ + public Builder exceptionEndTime(String exceptionEndTime) { + return exceptionEndTime(Output.of(exceptionEndTime)); + } + + /** + * @param exceptionStartDate Exception start date + * + * @return builder + * + */ + public Builder exceptionStartDate(@Nullable Output exceptionStartDate) { + $.exceptionStartDate = exceptionStartDate; + return this; + } + + /** + * @param exceptionStartDate Exception start date + * + * @return builder + * + */ + public Builder exceptionStartDate(String exceptionStartDate) { + return exceptionStartDate(Output.of(exceptionStartDate)); + } + + /** + * @param exceptionStartTime Exception start time + * + * @return builder + * + */ + public Builder exceptionStartTime(@Nullable Output exceptionStartTime) { + $.exceptionStartTime = exceptionStartTime; + return this; + } + + /** + * @param exceptionStartTime Exception start time + * + * @return builder + * + */ + public Builder exceptionStartTime(String exceptionStartTime) { + return exceptionStartTime(Output.of(exceptionStartTime)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param startDate Start date + * + * @return builder + * + */ + public Builder startDate(@Nullable Output startDate) { + $.startDate = startDate; + return this; + } + + /** + * @param startDate Start date + * + * @return builder + * + */ + public Builder startDate(String startDate) { + return startDate(Output.of(startDate)); + } + + /** + * @param startTime Start time + * + * @return builder + * + */ + public Builder startTime(@Nullable Output startTime) { + $.startTime = startTime; + return this; + } + + /** + * @param startTime Start time + * + * @return builder + * + */ + public Builder startTime(String startTime) { + return startTime(Output.of(startTime)); + } + + /** + * @param weekDays Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + * @return builder + * + */ + public Builder weekDays(@Nullable Output> weekDays) { + $.weekDays = weekDays; + return this; + } + + /** + * @param weekDays Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + * @return builder + * + */ + public Builder weekDays(List weekDays) { + return weekDays(Output.of(weekDays)); + } + + /** + * @param weekDays Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + * @return builder + * + */ + public Builder weekDays(String... weekDays) { + return weekDays(List.of(weekDays)); + } + + /** + * @param weekDaysExceptions Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + * @return builder + * + */ + public Builder weekDaysExceptions(@Nullable Output> weekDaysExceptions) { + $.weekDaysExceptions = weekDaysExceptions; + return this; + } + + /** + * @param weekDaysExceptions Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + * @return builder + * + */ + public Builder weekDaysExceptions(List weekDaysExceptions) { + return weekDaysExceptions(Output.of(weekDaysExceptions)); + } + + /** + * @param weekDaysExceptions Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + * @return builder + * + */ + public Builder weekDaysExceptions(String... weekDaysExceptions) { + return weekDaysExceptions(List.of(weekDaysExceptions)); + } + + public TimeAndDateConditionArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AllowedProtocolsState.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AllowedProtocolsState.java new file mode 100644 index 0000000..633b06d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AllowedProtocolsState.java @@ -0,0 +1,2925 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AllowedProtocolsState extends com.pulumi.resources.ResourceArgs { + + public static final AllowedProtocolsState Empty = new AllowedProtocolsState(); + + /** + * Allow 5G. This field is only supported from ISE 3.2. + * + */ + @Import(name="allow5g") + private @Nullable Output allow5g; + + /** + * @return Allow 5G. This field is only supported from ISE 3.2. + * + */ + public Optional> allow5g() { + return Optional.ofNullable(this.allow5g); + } + + /** + * Allow CHAP + * + */ + @Import(name="allowChap") + private @Nullable Output allowChap; + + /** + * @return Allow CHAP + * + */ + public Optional> allowChap() { + return Optional.ofNullable(this.allowChap); + } + + /** + * Allow EAP Fast + * + */ + @Import(name="allowEapFast") + private @Nullable Output allowEapFast; + + /** + * @return Allow EAP Fast + * + */ + public Optional> allowEapFast() { + return Optional.ofNullable(this.allowEapFast); + } + + /** + * Allow EAP MD5 + * + */ + @Import(name="allowEapMd5") + private @Nullable Output allowEapMd5; + + /** + * @return Allow EAP MD5 + * + */ + public Optional> allowEapMd5() { + return Optional.ofNullable(this.allowEapMd5); + } + + /** + * Allow EAP TLS + * + */ + @Import(name="allowEapTls") + private @Nullable Output allowEapTls; + + /** + * @return Allow EAP TLS + * + */ + public Optional> allowEapTls() { + return Optional.ofNullable(this.allowEapTls); + } + + /** + * Allow EAP TTLS + * + */ + @Import(name="allowEapTtls") + private @Nullable Output allowEapTtls; + + /** + * @return Allow EAP TTLS + * + */ + public Optional> allowEapTtls() { + return Optional.ofNullable(this.allowEapTtls); + } + + /** + * Allow LEAP + * + */ + @Import(name="allowLeap") + private @Nullable Output allowLeap; + + /** + * @return Allow LEAP + * + */ + public Optional> allowLeap() { + return Optional.ofNullable(this.allowLeap); + } + + /** + * Allow MS CHAP v1 + * + */ + @Import(name="allowMsChapV1") + private @Nullable Output allowMsChapV1; + + /** + * @return Allow MS CHAP v1 + * + */ + public Optional> allowMsChapV1() { + return Optional.ofNullable(this.allowMsChapV1); + } + + /** + * Allow MS CHAP v2 + * + */ + @Import(name="allowMsChapV2") + private @Nullable Output allowMsChapV2; + + /** + * @return Allow MS CHAP v2 + * + */ + public Optional> allowMsChapV2() { + return Optional.ofNullable(this.allowMsChapV2); + } + + /** + * Allow PAP ASCII + * + */ + @Import(name="allowPapAscii") + private @Nullable Output allowPapAscii; + + /** + * @return Allow PAP ASCII + * + */ + public Optional> allowPapAscii() { + return Optional.ofNullable(this.allowPapAscii); + } + + /** + * Allow PEAP + * + */ + @Import(name="allowPeap") + private @Nullable Output allowPeap; + + /** + * @return Allow PEAP + * + */ + public Optional> allowPeap() { + return Optional.ofNullable(this.allowPeap); + } + + /** + * Allow preferred EAP protocol + * + */ + @Import(name="allowPreferredEapProtocol") + private @Nullable Output allowPreferredEapProtocol; + + /** + * @return Allow preferred EAP protocol + * + */ + public Optional> allowPreferredEapProtocol() { + return Optional.ofNullable(this.allowPreferredEapProtocol); + } + + /** + * Allow TEAP + * + */ + @Import(name="allowTeap") + private @Nullable Output allowTeap; + + /** + * @return Allow TEAP + * + */ + public Optional> allowTeap() { + return Optional.ofNullable(this.allowTeap); + } + + /** + * Allow weak ciphers for EAP + * + */ + @Import(name="allowWeakCiphersForEap") + private @Nullable Output allowWeakCiphersForEap; + + /** + * @return Allow weak ciphers for EAP + * + */ + public Optional> allowWeakCiphersForEap() { + return Optional.ofNullable(this.allowWeakCiphersForEap); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Accept client certificates. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + @Import(name="eapFastAcceptClientCert") + private @Nullable Output eapFastAcceptClientCert; + + /** + * @return Accept client certificates. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + public Optional> eapFastAcceptClientCert() { + return Optional.ofNullable(this.eapFastAcceptClientCert); + } + + /** + * Allow machine authentication. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + @Import(name="eapFastAllowMachineAuthentication") + private @Nullable Output eapFastAllowMachineAuthentication; + + /** + * @return Allow machine authentication. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + public Optional> eapFastAllowMachineAuthentication() { + return Optional.ofNullable(this.eapFastAllowMachineAuthentication); + } + + /** + * Allow EAP GTC + * + */ + @Import(name="eapFastEapGtc") + private @Nullable Output eapFastEapGtc; + + /** + * @return Allow EAP GTC + * + */ + public Optional> eapFastEapGtc() { + return Optional.ofNullable(this.eapFastEapGtc); + } + + /** + * Allow EAP GTC password change. Is required only if `eap_fast_eap_gtc` is `true`. + * + */ + @Import(name="eapFastEapGtcPwdChange") + private @Nullable Output eapFastEapGtcPwdChange; + + /** + * @return Allow EAP GTC password change. Is required only if `eap_fast_eap_gtc` is `true`. + * + */ + public Optional> eapFastEapGtcPwdChange() { + return Optional.ofNullable(this.eapFastEapGtcPwdChange); + } + + /** + * EAP GTC password change retries. Is required only if `eap_fast_eap_gtc` is `true`. - Range: `0`-`3` + * + */ + @Import(name="eapFastEapGtcPwdChangeRetries") + private @Nullable Output eapFastEapGtcPwdChangeRetries; + + /** + * @return EAP GTC password change retries. Is required only if `eap_fast_eap_gtc` is `true`. - Range: `0`-`3` + * + */ + public Optional> eapFastEapGtcPwdChangeRetries() { + return Optional.ofNullable(this.eapFastEapGtcPwdChangeRetries); + } + + /** + * Allow EAP MS CHAP v2 + * + */ + @Import(name="eapFastEapMsChapV2") + private @Nullable Output eapFastEapMsChapV2; + + /** + * @return Allow EAP MS CHAP v2 + * + */ + public Optional> eapFastEapMsChapV2() { + return Optional.ofNullable(this.eapFastEapMsChapV2); + } + + /** + * Allow EAP MS CHAP v2 password change. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. + * + */ + @Import(name="eapFastEapMsChapV2PwdChange") + private @Nullable Output eapFastEapMsChapV2PwdChange; + + /** + * @return Allow EAP MS CHAP v2 password change. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. + * + */ + public Optional> eapFastEapMsChapV2PwdChange() { + return Optional.ofNullable(this.eapFastEapMsChapV2PwdChange); + } + + /** + * EAP MS CHAP v2 password change retries. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + @Import(name="eapFastEapMsChapV2PwdChangeRetries") + private @Nullable Output eapFastEapMsChapV2PwdChangeRetries; + + /** + * @return EAP MS CHAP v2 password change retries. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + public Optional> eapFastEapMsChapV2PwdChangeRetries() { + return Optional.ofNullable(this.eapFastEapMsChapV2PwdChangeRetries); + } + + /** + * Allow EAP TLS + * + */ + @Import(name="eapFastEapTls") + private @Nullable Output eapFastEapTls; + + /** + * @return Allow EAP TLS + * + */ + public Optional> eapFastEapTls() { + return Optional.ofNullable(this.eapFastEapTls); + } + + /** + * Allow EAP TLS authentication of expired certificates. Is required only if `eap_fast_eap_tls` is `true`. + * + */ + @Import(name="eapFastEapTlsAuthOfExpiredCerts") + private @Nullable Output eapFastEapTlsAuthOfExpiredCerts; + + /** + * @return Allow EAP TLS authentication of expired certificates. Is required only if `eap_fast_eap_tls` is `true`. + * + */ + public Optional> eapFastEapTlsAuthOfExpiredCerts() { + return Optional.ofNullable(this.eapFastEapTlsAuthOfExpiredCerts); + } + + /** + * Enable EAP chaining + * + */ + @Import(name="eapFastEnableEapChaining") + private @Nullable Output eapFastEnableEapChaining; + + /** + * @return Enable EAP chaining + * + */ + public Optional> eapFastEnableEapChaining() { + return Optional.ofNullable(this.eapFastEnableEapChaining); + } + + /** + * Allow anonymous provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + @Import(name="eapFastPacsAllowAnonymousProvisioning") + private @Nullable Output eapFastPacsAllowAnonymousProvisioning; + + /** + * @return Allow anonymous provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Optional> eapFastPacsAllowAnonymousProvisioning() { + return Optional.ofNullable(this.eapFastPacsAllowAnonymousProvisioning); + } + + /** + * Allow authenticated provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + @Import(name="eapFastPacsAllowAuthenticatedProvisioning") + private @Nullable Output eapFastPacsAllowAuthenticatedProvisioning; + + /** + * @return Allow authenticated provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Optional> eapFastPacsAllowAuthenticatedProvisioning() { + return Optional.ofNullable(this.eapFastPacsAllowAuthenticatedProvisioning); + } + + /** + * Accept client certification for provisioning. Is required only if `eap_fast_pacs_allow_authenticated_provisioning` is + * `true`. + * + */ + @Import(name="eapFastPacsAllowClientCert") + private @Nullable Output eapFastPacsAllowClientCert; + + /** + * @return Accept client certification for provisioning. Is required only if `eap_fast_pacs_allow_authenticated_provisioning` is + * `true`. + * + */ + public Optional> eapFastPacsAllowClientCert() { + return Optional.ofNullable(this.eapFastPacsAllowClientCert); + } + + /** + * Allow machine authentication. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + @Import(name="eapFastPacsAllowMachineAuthentication") + private @Nullable Output eapFastPacsAllowMachineAuthentication; + + /** + * @return Allow machine authentication. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Optional> eapFastPacsAllowMachineAuthentication() { + return Optional.ofNullable(this.eapFastPacsAllowMachineAuthentication); + } + + /** + * Authorization PAC TTL. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. + * + */ + @Import(name="eapFastPacsAuthorizationPacTtl") + private @Nullable Output eapFastPacsAuthorizationPacTtl; + + /** + * @return Authorization PAC TTL. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. + * + */ + public Optional> eapFastPacsAuthorizationPacTtl() { + return Optional.ofNullable(this.eapFastPacsAuthorizationPacTtl); + } + + /** + * Authorization PAC TTL unit. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. - Choices: + * `SECONDS`, `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + @Import(name="eapFastPacsAuthorizationPacTtlUnit") + private @Nullable Output eapFastPacsAuthorizationPacTtlUnit; + + /** + * @return Authorization PAC TTL unit. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. - Choices: + * `SECONDS`, `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + public Optional> eapFastPacsAuthorizationPacTtlUnit() { + return Optional.ofNullable(this.eapFastPacsAuthorizationPacTtlUnit); + } + + /** + * Machine PAC TTL. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. + * + */ + @Import(name="eapFastPacsMachinePacTtl") + private @Nullable Output eapFastPacsMachinePacTtl; + + /** + * @return Machine PAC TTL. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. + * + */ + public Optional> eapFastPacsMachinePacTtl() { + return Optional.ofNullable(this.eapFastPacsMachinePacTtl); + } + + /** + * Machine PAC TTL unit. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + @Import(name="eapFastPacsMachinePacTtlUnit") + private @Nullable Output eapFastPacsMachinePacTtlUnit; + + /** + * @return Machine PAC TTL unit. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + public Optional> eapFastPacsMachinePacTtlUnit() { + return Optional.ofNullable(this.eapFastPacsMachinePacTtlUnit); + } + + /** + * Server returns access accept after authenticated provisioning. Is required only if + * `eap_fast_pacs_allow_authenticated_provisioning` is `true`. + * + */ + @Import(name="eapFastPacsServerReturns") + private @Nullable Output eapFastPacsServerReturns; + + /** + * @return Server returns access accept after authenticated provisioning. Is required only if + * `eap_fast_pacs_allow_authenticated_provisioning` is `true`. + * + */ + public Optional> eapFastPacsServerReturns() { + return Optional.ofNullable(this.eapFastPacsServerReturns); + } + + /** + * Stateless session resume. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + @Import(name="eapFastPacsStatelessSessionResume") + private @Nullable Output eapFastPacsStatelessSessionResume; + + /** + * @return Stateless session resume. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Optional> eapFastPacsStatelessSessionResume() { + return Optional.ofNullable(this.eapFastPacsStatelessSessionResume); + } + + /** + * PACs tunnel PAC time to live. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + @Import(name="eapFastPacsTunnelPacTtl") + private @Nullable Output eapFastPacsTunnelPacTtl; + + /** + * @return PACs tunnel PAC time to live. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Optional> eapFastPacsTunnelPacTtl() { + return Optional.ofNullable(this.eapFastPacsTunnelPacTtl); + } + + /** + * PACs tunnel PAC time to live unit. Is required only if `eap_fast_use_pacs` is `true`. - Choices: `SECONDS`, `MINUTES`, + * `HOURS`, `DAYS`, `WEEKS` + * + */ + @Import(name="eapFastPacsTunnelPacTtlUnit") + private @Nullable Output eapFastPacsTunnelPacTtlUnit; + + /** + * @return PACs tunnel PAC time to live unit. Is required only if `eap_fast_use_pacs` is `true`. - Choices: `SECONDS`, `MINUTES`, + * `HOURS`, `DAYS`, `WEEKS` + * + */ + public Optional> eapFastPacsTunnelPacTtlUnit() { + return Optional.ofNullable(this.eapFastPacsTunnelPacTtlUnit); + } + + /** + * Use proactive pac update percentage. Is required only if `eap_fast_use_pacs` is `true`. - Range: `1`-`100` + * + */ + @Import(name="eapFastPacsUseProactivePacUpdatePercentage") + private @Nullable Output eapFastPacsUseProactivePacUpdatePercentage; + + /** + * @return Use proactive pac update percentage. Is required only if `eap_fast_use_pacs` is `true`. - Range: `1`-`100` + * + */ + public Optional> eapFastPacsUseProactivePacUpdatePercentage() { + return Optional.ofNullable(this.eapFastPacsUseProactivePacUpdatePercentage); + } + + /** + * Use PACs + * + */ + @Import(name="eapFastUsePacs") + private @Nullable Output eapFastUsePacs; + + /** + * @return Use PACs + * + */ + public Optional> eapFastUsePacs() { + return Optional.ofNullable(this.eapFastUsePacs); + } + + /** + * Allow authentication of expired certificates + * + */ + @Import(name="eapTlsAllowAuthOfExpiredCerts") + private @Nullable Output eapTlsAllowAuthOfExpiredCerts; + + /** + * @return Allow authentication of expired certificates + * + */ + public Optional> eapTlsAllowAuthOfExpiredCerts() { + return Optional.ofNullable(this.eapTlsAllowAuthOfExpiredCerts); + } + + /** + * Enable stateless session resume + * + */ + @Import(name="eapTlsEnableStatelessSessionResume") + private @Nullable Output eapTlsEnableStatelessSessionResume; + + /** + * @return Enable stateless session resume + * + */ + public Optional> eapTlsEnableStatelessSessionResume() { + return Optional.ofNullable(this.eapTlsEnableStatelessSessionResume); + } + + /** + * EAP TLS L-Bit + * + */ + @Import(name="eapTlsLBit") + private @Nullable Output eapTlsLBit; + + /** + * @return EAP TLS L-Bit + * + */ + public Optional> eapTlsLBit() { + return Optional.ofNullable(this.eapTlsLBit); + } + + /** + * Session ticket percentage. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Range: `1`-`100` + * + */ + @Import(name="eapTlsSessionTicketPercentage") + private @Nullable Output eapTlsSessionTicketPercentage; + + /** + * @return Session ticket percentage. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Range: `1`-`100` + * + */ + public Optional> eapTlsSessionTicketPercentage() { + return Optional.ofNullable(this.eapTlsSessionTicketPercentage); + } + + /** + * Session ticket TTL. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + */ + @Import(name="eapTlsSessionTicketTtl") + private @Nullable Output eapTlsSessionTicketTtl; + + /** + * @return Session ticket TTL. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + */ + public Optional> eapTlsSessionTicketTtl() { + return Optional.ofNullable(this.eapTlsSessionTicketTtl); + } + + /** + * Session ticket TTL unit. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + @Import(name="eapTlsSessionTicketTtlUnit") + private @Nullable Output eapTlsSessionTicketTtlUnit; + + /** + * @return Session ticket TTL unit. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + */ + public Optional> eapTlsSessionTicketTtlUnit() { + return Optional.ofNullable(this.eapTlsSessionTicketTtlUnit); + } + + /** + * Allow CHAP + * + */ + @Import(name="eapTtlsChap") + private @Nullable Output eapTtlsChap; + + /** + * @return Allow CHAP + * + */ + public Optional> eapTtlsChap() { + return Optional.ofNullable(this.eapTtlsChap); + } + + /** + * Allow EAP MD5 + * + */ + @Import(name="eapTtlsEapMd5") + private @Nullable Output eapTtlsEapMd5; + + /** + * @return Allow EAP MD5 + * + */ + public Optional> eapTtlsEapMd5() { + return Optional.ofNullable(this.eapTtlsEapMd5); + } + + /** + * Allow EAP MS CHAP v2 + * + */ + @Import(name="eapTtlsEapMsChapV2") + private @Nullable Output eapTtlsEapMsChapV2; + + /** + * @return Allow EAP MS CHAP v2 + * + */ + public Optional> eapTtlsEapMsChapV2() { + return Optional.ofNullable(this.eapTtlsEapMsChapV2); + } + + /** + * Allow EAP MS CHAP v2 password change. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. + * + */ + @Import(name="eapTtlsEapMsChapV2PwdChange") + private @Nullable Output eapTtlsEapMsChapV2PwdChange; + + /** + * @return Allow EAP MS CHAP v2 password change. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. + * + */ + public Optional> eapTtlsEapMsChapV2PwdChange() { + return Optional.ofNullable(this.eapTtlsEapMsChapV2PwdChange); + } + + /** + * EAP MS CHAP v2 password change retries. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + @Import(name="eapTtlsEapMsChapV2PwdChangeRetries") + private @Nullable Output eapTtlsEapMsChapV2PwdChangeRetries; + + /** + * @return EAP MS CHAP v2 password change retries. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + public Optional> eapTtlsEapMsChapV2PwdChangeRetries() { + return Optional.ofNullable(this.eapTtlsEapMsChapV2PwdChangeRetries); + } + + /** + * Allow MS CHAP v1 + * + */ + @Import(name="eapTtlsMsChapV1") + private @Nullable Output eapTtlsMsChapV1; + + /** + * @return Allow MS CHAP v1 + * + */ + public Optional> eapTtlsMsChapV1() { + return Optional.ofNullable(this.eapTtlsMsChapV1); + } + + /** + * Allow MS CHAP v2 + * + */ + @Import(name="eapTtlsMsChapV2") + private @Nullable Output eapTtlsMsChapV2; + + /** + * @return Allow MS CHAP v2 + * + */ + public Optional> eapTtlsMsChapV2() { + return Optional.ofNullable(this.eapTtlsMsChapV2); + } + + /** + * Allow PAP ASCII + * + */ + @Import(name="eapTtlsPapAscii") + private @Nullable Output eapTtlsPapAscii; + + /** + * @return Allow PAP ASCII + * + */ + public Optional> eapTtlsPapAscii() { + return Optional.ofNullable(this.eapTtlsPapAscii); + } + + /** + * The name of the allowed protocols + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the allowed protocols + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Allow PEAP EAP GTC + * + */ + @Import(name="peapAllowPeapEapGtc") + private @Nullable Output peapAllowPeapEapGtc; + + /** + * @return Allow PEAP EAP GTC + * + */ + public Optional> peapAllowPeapEapGtc() { + return Optional.ofNullable(this.peapAllowPeapEapGtc); + } + + /** + * Allow PEAP EAP GTC password change. Is required only if `allow_peap_eap_gtc` is `true`. + * + */ + @Import(name="peapAllowPeapEapGtcPwdChange") + private @Nullable Output peapAllowPeapEapGtcPwdChange; + + /** + * @return Allow PEAP EAP GTC password change. Is required only if `allow_peap_eap_gtc` is `true`. + * + */ + public Optional> peapAllowPeapEapGtcPwdChange() { + return Optional.ofNullable(this.peapAllowPeapEapGtcPwdChange); + } + + /** + * PEAP EAP GTC password change retries. Is required only if `allow_peap_eap_gtc` is `true`. - Range: `0`-`3` + * + */ + @Import(name="peapAllowPeapEapGtcPwdChangeRetries") + private @Nullable Output peapAllowPeapEapGtcPwdChangeRetries; + + /** + * @return PEAP EAP GTC password change retries. Is required only if `allow_peap_eap_gtc` is `true`. - Range: `0`-`3` + * + */ + public Optional> peapAllowPeapEapGtcPwdChangeRetries() { + return Optional.ofNullable(this.peapAllowPeapEapGtcPwdChangeRetries); + } + + /** + * Allow PEAP EAP MS CHAP v2 + * + */ + @Import(name="peapAllowPeapEapMsChapV2") + private @Nullable Output peapAllowPeapEapMsChapV2; + + /** + * @return Allow PEAP EAP MS CHAP v2 + * + */ + public Optional> peapAllowPeapEapMsChapV2() { + return Optional.ofNullable(this.peapAllowPeapEapMsChapV2); + } + + /** + * Allow PEAP EAP MS CHAP v2 password change. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. + * + */ + @Import(name="peapAllowPeapEapMsChapV2PwdChange") + private @Nullable Output peapAllowPeapEapMsChapV2PwdChange; + + /** + * @return Allow PEAP EAP MS CHAP v2 password change. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. + * + */ + public Optional> peapAllowPeapEapMsChapV2PwdChange() { + return Optional.ofNullable(this.peapAllowPeapEapMsChapV2PwdChange); + } + + /** + * Allow PEAP EAP MS CHAP v2 password change retries. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. - Range: + * `0`-`3` + * + */ + @Import(name="peapAllowPeapEapMsChapV2PwdChangeRetries") + private @Nullable Output peapAllowPeapEapMsChapV2PwdChangeRetries; + + /** + * @return Allow PEAP EAP MS CHAP v2 password change retries. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. - Range: + * `0`-`3` + * + */ + public Optional> peapAllowPeapEapMsChapV2PwdChangeRetries() { + return Optional.ofNullable(this.peapAllowPeapEapMsChapV2PwdChangeRetries); + } + + /** + * Allow PEAP EAP TLS + * + */ + @Import(name="peapAllowPeapEapTls") + private @Nullable Output peapAllowPeapEapTls; + + /** + * @return Allow PEAP EAP TLS + * + */ + public Optional> peapAllowPeapEapTls() { + return Optional.ofNullable(this.peapAllowPeapEapTls); + } + + /** + * Allow PEAP EAP TLS authentication of expired certificates. Is required only if `peap_allow_peap_eap_tls` is `true`. + * + */ + @Import(name="peapAllowPeapEapTlsAuthOfExpiredCerts") + private @Nullable Output peapAllowPeapEapTlsAuthOfExpiredCerts; + + /** + * @return Allow PEAP EAP TLS authentication of expired certificates. Is required only if `peap_allow_peap_eap_tls` is `true`. + * + */ + public Optional> peapAllowPeapEapTlsAuthOfExpiredCerts() { + return Optional.ofNullable(this.peapAllowPeapEapTlsAuthOfExpiredCerts); + } + + /** + * Allow PEAP v0 + * + */ + @Import(name="peapPeapV0") + private @Nullable Output peapPeapV0; + + /** + * @return Allow PEAP v0 + * + */ + public Optional> peapPeapV0() { + return Optional.ofNullable(this.peapPeapV0); + } + + /** + * Preferred EAP protocol - Choices: `EAP_FAST`, `PEAP`, `LEAP`, `EAP_MD5`, `EAP_TLS`, `EAP_TTLS`, `TEAP` + * + */ + @Import(name="preferredEapProtocol") + private @Nullable Output preferredEapProtocol; + + /** + * @return Preferred EAP protocol - Choices: `EAP_FAST`, `PEAP`, `LEAP`, `EAP_MD5`, `EAP_TLS`, `EAP_TTLS`, `TEAP` + * + */ + public Optional> preferredEapProtocol() { + return Optional.ofNullable(this.preferredEapProtocol); + } + + /** + * Process host lookup + * + */ + @Import(name="processHostLookup") + private @Nullable Output processHostLookup; + + /** + * @return Process host lookup + * + */ + public Optional> processHostLookup() { + return Optional.ofNullable(this.processHostLookup); + } + + /** + * Require cryptobinding + * + */ + @Import(name="requireCryptobinding") + private @Nullable Output requireCryptobinding; + + /** + * @return Require cryptobinding + * + */ + public Optional> requireCryptobinding() { + return Optional.ofNullable(this.requireCryptobinding); + } + + /** + * Require message authentication + * + */ + @Import(name="requireMessageAuth") + private @Nullable Output requireMessageAuth; + + /** + * @return Require message authentication + * + */ + public Optional> requireMessageAuth() { + return Optional.ofNullable(this.requireMessageAuth); + } + + /** + * Allow downgrade to MSK + * + */ + @Import(name="teapDowngradeMsk") + private @Nullable Output teapDowngradeMsk; + + /** + * @return Allow downgrade to MSK + * + */ + public Optional> teapDowngradeMsk() { + return Optional.ofNullable(this.teapDowngradeMsk); + } + + /** + * Accept client certificate during tunnel establishment + * + */ + @Import(name="teapEapAcceptClientCertDuringTunnelEst") + private @Nullable Output teapEapAcceptClientCertDuringTunnelEst; + + /** + * @return Accept client certificate during tunnel establishment + * + */ + public Optional> teapEapAcceptClientCertDuringTunnelEst() { + return Optional.ofNullable(this.teapEapAcceptClientCertDuringTunnelEst); + } + + /** + * Allow EAP chaining + * + */ + @Import(name="teapEapChaining") + private @Nullable Output teapEapChaining; + + /** + * @return Allow EAP chaining + * + */ + public Optional> teapEapChaining() { + return Optional.ofNullable(this.teapEapChaining); + } + + /** + * Allow EAP MS CHAP v2 + * + */ + @Import(name="teapEapMsChapV2") + private @Nullable Output teapEapMsChapV2; + + /** + * @return Allow EAP MS CHAP v2 + * + */ + public Optional> teapEapMsChapV2() { + return Optional.ofNullable(this.teapEapMsChapV2); + } + + /** + * Allow EAP MS CHAP v2 password change. Is required only if `teap_eap_ms_chap_v2` is `true`. + * + */ + @Import(name="teapEapMsChapV2PwdChange") + private @Nullable Output teapEapMsChapV2PwdChange; + + /** + * @return Allow EAP MS CHAP v2 password change. Is required only if `teap_eap_ms_chap_v2` is `true`. + * + */ + public Optional> teapEapMsChapV2PwdChange() { + return Optional.ofNullable(this.teapEapMsChapV2PwdChange); + } + + /** + * EAP MS CHAP v2 password change retries. Is required only if `teap_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + @Import(name="teapEapMsChapV2PwdChangeRetries") + private @Nullable Output teapEapMsChapV2PwdChangeRetries; + + /** + * @return EAP MS CHAP v2 password change retries. Is required only if `teap_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + */ + public Optional> teapEapMsChapV2PwdChangeRetries() { + return Optional.ofNullable(this.teapEapMsChapV2PwdChangeRetries); + } + + /** + * Allow EAP TLS + * + */ + @Import(name="teapEapTls") + private @Nullable Output teapEapTls; + + /** + * @return Allow EAP TLS + * + */ + public Optional> teapEapTls() { + return Optional.ofNullable(this.teapEapTls); + } + + /** + * Allow EAP TLS authentication of expired certs. Is required only if `teap_eap_tls` is `true`. + * + */ + @Import(name="teapEapTlsAuthOfExpiredCerts") + private @Nullable Output teapEapTlsAuthOfExpiredCerts; + + /** + * @return Allow EAP TLS authentication of expired certs. Is required only if `teap_eap_tls` is `true`. + * + */ + public Optional> teapEapTlsAuthOfExpiredCerts() { + return Optional.ofNullable(this.teapEapTlsAuthOfExpiredCerts); + } + + /** + * Request basic password authentication + * + */ + @Import(name="teapRequestBasicPwdAuth") + private @Nullable Output teapRequestBasicPwdAuth; + + /** + * @return Request basic password authentication + * + */ + public Optional> teapRequestBasicPwdAuth() { + return Optional.ofNullable(this.teapRequestBasicPwdAuth); + } + + private AllowedProtocolsState() {} + + private AllowedProtocolsState(AllowedProtocolsState $) { + this.allow5g = $.allow5g; + this.allowChap = $.allowChap; + this.allowEapFast = $.allowEapFast; + this.allowEapMd5 = $.allowEapMd5; + this.allowEapTls = $.allowEapTls; + this.allowEapTtls = $.allowEapTtls; + this.allowLeap = $.allowLeap; + this.allowMsChapV1 = $.allowMsChapV1; + this.allowMsChapV2 = $.allowMsChapV2; + this.allowPapAscii = $.allowPapAscii; + this.allowPeap = $.allowPeap; + this.allowPreferredEapProtocol = $.allowPreferredEapProtocol; + this.allowTeap = $.allowTeap; + this.allowWeakCiphersForEap = $.allowWeakCiphersForEap; + this.description = $.description; + this.eapFastAcceptClientCert = $.eapFastAcceptClientCert; + this.eapFastAllowMachineAuthentication = $.eapFastAllowMachineAuthentication; + this.eapFastEapGtc = $.eapFastEapGtc; + this.eapFastEapGtcPwdChange = $.eapFastEapGtcPwdChange; + this.eapFastEapGtcPwdChangeRetries = $.eapFastEapGtcPwdChangeRetries; + this.eapFastEapMsChapV2 = $.eapFastEapMsChapV2; + this.eapFastEapMsChapV2PwdChange = $.eapFastEapMsChapV2PwdChange; + this.eapFastEapMsChapV2PwdChangeRetries = $.eapFastEapMsChapV2PwdChangeRetries; + this.eapFastEapTls = $.eapFastEapTls; + this.eapFastEapTlsAuthOfExpiredCerts = $.eapFastEapTlsAuthOfExpiredCerts; + this.eapFastEnableEapChaining = $.eapFastEnableEapChaining; + this.eapFastPacsAllowAnonymousProvisioning = $.eapFastPacsAllowAnonymousProvisioning; + this.eapFastPacsAllowAuthenticatedProvisioning = $.eapFastPacsAllowAuthenticatedProvisioning; + this.eapFastPacsAllowClientCert = $.eapFastPacsAllowClientCert; + this.eapFastPacsAllowMachineAuthentication = $.eapFastPacsAllowMachineAuthentication; + this.eapFastPacsAuthorizationPacTtl = $.eapFastPacsAuthorizationPacTtl; + this.eapFastPacsAuthorizationPacTtlUnit = $.eapFastPacsAuthorizationPacTtlUnit; + this.eapFastPacsMachinePacTtl = $.eapFastPacsMachinePacTtl; + this.eapFastPacsMachinePacTtlUnit = $.eapFastPacsMachinePacTtlUnit; + this.eapFastPacsServerReturns = $.eapFastPacsServerReturns; + this.eapFastPacsStatelessSessionResume = $.eapFastPacsStatelessSessionResume; + this.eapFastPacsTunnelPacTtl = $.eapFastPacsTunnelPacTtl; + this.eapFastPacsTunnelPacTtlUnit = $.eapFastPacsTunnelPacTtlUnit; + this.eapFastPacsUseProactivePacUpdatePercentage = $.eapFastPacsUseProactivePacUpdatePercentage; + this.eapFastUsePacs = $.eapFastUsePacs; + this.eapTlsAllowAuthOfExpiredCerts = $.eapTlsAllowAuthOfExpiredCerts; + this.eapTlsEnableStatelessSessionResume = $.eapTlsEnableStatelessSessionResume; + this.eapTlsLBit = $.eapTlsLBit; + this.eapTlsSessionTicketPercentage = $.eapTlsSessionTicketPercentage; + this.eapTlsSessionTicketTtl = $.eapTlsSessionTicketTtl; + this.eapTlsSessionTicketTtlUnit = $.eapTlsSessionTicketTtlUnit; + this.eapTtlsChap = $.eapTtlsChap; + this.eapTtlsEapMd5 = $.eapTtlsEapMd5; + this.eapTtlsEapMsChapV2 = $.eapTtlsEapMsChapV2; + this.eapTtlsEapMsChapV2PwdChange = $.eapTtlsEapMsChapV2PwdChange; + this.eapTtlsEapMsChapV2PwdChangeRetries = $.eapTtlsEapMsChapV2PwdChangeRetries; + this.eapTtlsMsChapV1 = $.eapTtlsMsChapV1; + this.eapTtlsMsChapV2 = $.eapTtlsMsChapV2; + this.eapTtlsPapAscii = $.eapTtlsPapAscii; + this.name = $.name; + this.peapAllowPeapEapGtc = $.peapAllowPeapEapGtc; + this.peapAllowPeapEapGtcPwdChange = $.peapAllowPeapEapGtcPwdChange; + this.peapAllowPeapEapGtcPwdChangeRetries = $.peapAllowPeapEapGtcPwdChangeRetries; + this.peapAllowPeapEapMsChapV2 = $.peapAllowPeapEapMsChapV2; + this.peapAllowPeapEapMsChapV2PwdChange = $.peapAllowPeapEapMsChapV2PwdChange; + this.peapAllowPeapEapMsChapV2PwdChangeRetries = $.peapAllowPeapEapMsChapV2PwdChangeRetries; + this.peapAllowPeapEapTls = $.peapAllowPeapEapTls; + this.peapAllowPeapEapTlsAuthOfExpiredCerts = $.peapAllowPeapEapTlsAuthOfExpiredCerts; + this.peapPeapV0 = $.peapPeapV0; + this.preferredEapProtocol = $.preferredEapProtocol; + this.processHostLookup = $.processHostLookup; + this.requireCryptobinding = $.requireCryptobinding; + this.requireMessageAuth = $.requireMessageAuth; + this.teapDowngradeMsk = $.teapDowngradeMsk; + this.teapEapAcceptClientCertDuringTunnelEst = $.teapEapAcceptClientCertDuringTunnelEst; + this.teapEapChaining = $.teapEapChaining; + this.teapEapMsChapV2 = $.teapEapMsChapV2; + this.teapEapMsChapV2PwdChange = $.teapEapMsChapV2PwdChange; + this.teapEapMsChapV2PwdChangeRetries = $.teapEapMsChapV2PwdChangeRetries; + this.teapEapTls = $.teapEapTls; + this.teapEapTlsAuthOfExpiredCerts = $.teapEapTlsAuthOfExpiredCerts; + this.teapRequestBasicPwdAuth = $.teapRequestBasicPwdAuth; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AllowedProtocolsState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AllowedProtocolsState $; + + public Builder() { + $ = new AllowedProtocolsState(); + } + + public Builder(AllowedProtocolsState defaults) { + $ = new AllowedProtocolsState(Objects.requireNonNull(defaults)); + } + + /** + * @param allow5g Allow 5G. This field is only supported from ISE 3.2. + * + * @return builder + * + */ + public Builder allow5g(@Nullable Output allow5g) { + $.allow5g = allow5g; + return this; + } + + /** + * @param allow5g Allow 5G. This field is only supported from ISE 3.2. + * + * @return builder + * + */ + public Builder allow5g(Boolean allow5g) { + return allow5g(Output.of(allow5g)); + } + + /** + * @param allowChap Allow CHAP + * + * @return builder + * + */ + public Builder allowChap(@Nullable Output allowChap) { + $.allowChap = allowChap; + return this; + } + + /** + * @param allowChap Allow CHAP + * + * @return builder + * + */ + public Builder allowChap(Boolean allowChap) { + return allowChap(Output.of(allowChap)); + } + + /** + * @param allowEapFast Allow EAP Fast + * + * @return builder + * + */ + public Builder allowEapFast(@Nullable Output allowEapFast) { + $.allowEapFast = allowEapFast; + return this; + } + + /** + * @param allowEapFast Allow EAP Fast + * + * @return builder + * + */ + public Builder allowEapFast(Boolean allowEapFast) { + return allowEapFast(Output.of(allowEapFast)); + } + + /** + * @param allowEapMd5 Allow EAP MD5 + * + * @return builder + * + */ + public Builder allowEapMd5(@Nullable Output allowEapMd5) { + $.allowEapMd5 = allowEapMd5; + return this; + } + + /** + * @param allowEapMd5 Allow EAP MD5 + * + * @return builder + * + */ + public Builder allowEapMd5(Boolean allowEapMd5) { + return allowEapMd5(Output.of(allowEapMd5)); + } + + /** + * @param allowEapTls Allow EAP TLS + * + * @return builder + * + */ + public Builder allowEapTls(@Nullable Output allowEapTls) { + $.allowEapTls = allowEapTls; + return this; + } + + /** + * @param allowEapTls Allow EAP TLS + * + * @return builder + * + */ + public Builder allowEapTls(Boolean allowEapTls) { + return allowEapTls(Output.of(allowEapTls)); + } + + /** + * @param allowEapTtls Allow EAP TTLS + * + * @return builder + * + */ + public Builder allowEapTtls(@Nullable Output allowEapTtls) { + $.allowEapTtls = allowEapTtls; + return this; + } + + /** + * @param allowEapTtls Allow EAP TTLS + * + * @return builder + * + */ + public Builder allowEapTtls(Boolean allowEapTtls) { + return allowEapTtls(Output.of(allowEapTtls)); + } + + /** + * @param allowLeap Allow LEAP + * + * @return builder + * + */ + public Builder allowLeap(@Nullable Output allowLeap) { + $.allowLeap = allowLeap; + return this; + } + + /** + * @param allowLeap Allow LEAP + * + * @return builder + * + */ + public Builder allowLeap(Boolean allowLeap) { + return allowLeap(Output.of(allowLeap)); + } + + /** + * @param allowMsChapV1 Allow MS CHAP v1 + * + * @return builder + * + */ + public Builder allowMsChapV1(@Nullable Output allowMsChapV1) { + $.allowMsChapV1 = allowMsChapV1; + return this; + } + + /** + * @param allowMsChapV1 Allow MS CHAP v1 + * + * @return builder + * + */ + public Builder allowMsChapV1(Boolean allowMsChapV1) { + return allowMsChapV1(Output.of(allowMsChapV1)); + } + + /** + * @param allowMsChapV2 Allow MS CHAP v2 + * + * @return builder + * + */ + public Builder allowMsChapV2(@Nullable Output allowMsChapV2) { + $.allowMsChapV2 = allowMsChapV2; + return this; + } + + /** + * @param allowMsChapV2 Allow MS CHAP v2 + * + * @return builder + * + */ + public Builder allowMsChapV2(Boolean allowMsChapV2) { + return allowMsChapV2(Output.of(allowMsChapV2)); + } + + /** + * @param allowPapAscii Allow PAP ASCII + * + * @return builder + * + */ + public Builder allowPapAscii(@Nullable Output allowPapAscii) { + $.allowPapAscii = allowPapAscii; + return this; + } + + /** + * @param allowPapAscii Allow PAP ASCII + * + * @return builder + * + */ + public Builder allowPapAscii(Boolean allowPapAscii) { + return allowPapAscii(Output.of(allowPapAscii)); + } + + /** + * @param allowPeap Allow PEAP + * + * @return builder + * + */ + public Builder allowPeap(@Nullable Output allowPeap) { + $.allowPeap = allowPeap; + return this; + } + + /** + * @param allowPeap Allow PEAP + * + * @return builder + * + */ + public Builder allowPeap(Boolean allowPeap) { + return allowPeap(Output.of(allowPeap)); + } + + /** + * @param allowPreferredEapProtocol Allow preferred EAP protocol + * + * @return builder + * + */ + public Builder allowPreferredEapProtocol(@Nullable Output allowPreferredEapProtocol) { + $.allowPreferredEapProtocol = allowPreferredEapProtocol; + return this; + } + + /** + * @param allowPreferredEapProtocol Allow preferred EAP protocol + * + * @return builder + * + */ + public Builder allowPreferredEapProtocol(Boolean allowPreferredEapProtocol) { + return allowPreferredEapProtocol(Output.of(allowPreferredEapProtocol)); + } + + /** + * @param allowTeap Allow TEAP + * + * @return builder + * + */ + public Builder allowTeap(@Nullable Output allowTeap) { + $.allowTeap = allowTeap; + return this; + } + + /** + * @param allowTeap Allow TEAP + * + * @return builder + * + */ + public Builder allowTeap(Boolean allowTeap) { + return allowTeap(Output.of(allowTeap)); + } + + /** + * @param allowWeakCiphersForEap Allow weak ciphers for EAP + * + * @return builder + * + */ + public Builder allowWeakCiphersForEap(@Nullable Output allowWeakCiphersForEap) { + $.allowWeakCiphersForEap = allowWeakCiphersForEap; + return this; + } + + /** + * @param allowWeakCiphersForEap Allow weak ciphers for EAP + * + * @return builder + * + */ + public Builder allowWeakCiphersForEap(Boolean allowWeakCiphersForEap) { + return allowWeakCiphersForEap(Output.of(allowWeakCiphersForEap)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param eapFastAcceptClientCert Accept client certificates. Is required only if `eap_fast_use_pacs` is `false`. + * + * @return builder + * + */ + public Builder eapFastAcceptClientCert(@Nullable Output eapFastAcceptClientCert) { + $.eapFastAcceptClientCert = eapFastAcceptClientCert; + return this; + } + + /** + * @param eapFastAcceptClientCert Accept client certificates. Is required only if `eap_fast_use_pacs` is `false`. + * + * @return builder + * + */ + public Builder eapFastAcceptClientCert(Boolean eapFastAcceptClientCert) { + return eapFastAcceptClientCert(Output.of(eapFastAcceptClientCert)); + } + + /** + * @param eapFastAllowMachineAuthentication Allow machine authentication. Is required only if `eap_fast_use_pacs` is `false`. + * + * @return builder + * + */ + public Builder eapFastAllowMachineAuthentication(@Nullable Output eapFastAllowMachineAuthentication) { + $.eapFastAllowMachineAuthentication = eapFastAllowMachineAuthentication; + return this; + } + + /** + * @param eapFastAllowMachineAuthentication Allow machine authentication. Is required only if `eap_fast_use_pacs` is `false`. + * + * @return builder + * + */ + public Builder eapFastAllowMachineAuthentication(Boolean eapFastAllowMachineAuthentication) { + return eapFastAllowMachineAuthentication(Output.of(eapFastAllowMachineAuthentication)); + } + + /** + * @param eapFastEapGtc Allow EAP GTC + * + * @return builder + * + */ + public Builder eapFastEapGtc(@Nullable Output eapFastEapGtc) { + $.eapFastEapGtc = eapFastEapGtc; + return this; + } + + /** + * @param eapFastEapGtc Allow EAP GTC + * + * @return builder + * + */ + public Builder eapFastEapGtc(Boolean eapFastEapGtc) { + return eapFastEapGtc(Output.of(eapFastEapGtc)); + } + + /** + * @param eapFastEapGtcPwdChange Allow EAP GTC password change. Is required only if `eap_fast_eap_gtc` is `true`. + * + * @return builder + * + */ + public Builder eapFastEapGtcPwdChange(@Nullable Output eapFastEapGtcPwdChange) { + $.eapFastEapGtcPwdChange = eapFastEapGtcPwdChange; + return this; + } + + /** + * @param eapFastEapGtcPwdChange Allow EAP GTC password change. Is required only if `eap_fast_eap_gtc` is `true`. + * + * @return builder + * + */ + public Builder eapFastEapGtcPwdChange(Boolean eapFastEapGtcPwdChange) { + return eapFastEapGtcPwdChange(Output.of(eapFastEapGtcPwdChange)); + } + + /** + * @param eapFastEapGtcPwdChangeRetries EAP GTC password change retries. Is required only if `eap_fast_eap_gtc` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder eapFastEapGtcPwdChangeRetries(@Nullable Output eapFastEapGtcPwdChangeRetries) { + $.eapFastEapGtcPwdChangeRetries = eapFastEapGtcPwdChangeRetries; + return this; + } + + /** + * @param eapFastEapGtcPwdChangeRetries EAP GTC password change retries. Is required only if `eap_fast_eap_gtc` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder eapFastEapGtcPwdChangeRetries(Integer eapFastEapGtcPwdChangeRetries) { + return eapFastEapGtcPwdChangeRetries(Output.of(eapFastEapGtcPwdChangeRetries)); + } + + /** + * @param eapFastEapMsChapV2 Allow EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder eapFastEapMsChapV2(@Nullable Output eapFastEapMsChapV2) { + $.eapFastEapMsChapV2 = eapFastEapMsChapV2; + return this; + } + + /** + * @param eapFastEapMsChapV2 Allow EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder eapFastEapMsChapV2(Boolean eapFastEapMsChapV2) { + return eapFastEapMsChapV2(Output.of(eapFastEapMsChapV2)); + } + + /** + * @param eapFastEapMsChapV2PwdChange Allow EAP MS CHAP v2 password change. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder eapFastEapMsChapV2PwdChange(@Nullable Output eapFastEapMsChapV2PwdChange) { + $.eapFastEapMsChapV2PwdChange = eapFastEapMsChapV2PwdChange; + return this; + } + + /** + * @param eapFastEapMsChapV2PwdChange Allow EAP MS CHAP v2 password change. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder eapFastEapMsChapV2PwdChange(Boolean eapFastEapMsChapV2PwdChange) { + return eapFastEapMsChapV2PwdChange(Output.of(eapFastEapMsChapV2PwdChange)); + } + + /** + * @param eapFastEapMsChapV2PwdChangeRetries EAP MS CHAP v2 password change retries. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder eapFastEapMsChapV2PwdChangeRetries(@Nullable Output eapFastEapMsChapV2PwdChangeRetries) { + $.eapFastEapMsChapV2PwdChangeRetries = eapFastEapMsChapV2PwdChangeRetries; + return this; + } + + /** + * @param eapFastEapMsChapV2PwdChangeRetries EAP MS CHAP v2 password change retries. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder eapFastEapMsChapV2PwdChangeRetries(Integer eapFastEapMsChapV2PwdChangeRetries) { + return eapFastEapMsChapV2PwdChangeRetries(Output.of(eapFastEapMsChapV2PwdChangeRetries)); + } + + /** + * @param eapFastEapTls Allow EAP TLS + * + * @return builder + * + */ + public Builder eapFastEapTls(@Nullable Output eapFastEapTls) { + $.eapFastEapTls = eapFastEapTls; + return this; + } + + /** + * @param eapFastEapTls Allow EAP TLS + * + * @return builder + * + */ + public Builder eapFastEapTls(Boolean eapFastEapTls) { + return eapFastEapTls(Output.of(eapFastEapTls)); + } + + /** + * @param eapFastEapTlsAuthOfExpiredCerts Allow EAP TLS authentication of expired certificates. Is required only if `eap_fast_eap_tls` is `true`. + * + * @return builder + * + */ + public Builder eapFastEapTlsAuthOfExpiredCerts(@Nullable Output eapFastEapTlsAuthOfExpiredCerts) { + $.eapFastEapTlsAuthOfExpiredCerts = eapFastEapTlsAuthOfExpiredCerts; + return this; + } + + /** + * @param eapFastEapTlsAuthOfExpiredCerts Allow EAP TLS authentication of expired certificates. Is required only if `eap_fast_eap_tls` is `true`. + * + * @return builder + * + */ + public Builder eapFastEapTlsAuthOfExpiredCerts(Boolean eapFastEapTlsAuthOfExpiredCerts) { + return eapFastEapTlsAuthOfExpiredCerts(Output.of(eapFastEapTlsAuthOfExpiredCerts)); + } + + /** + * @param eapFastEnableEapChaining Enable EAP chaining + * + * @return builder + * + */ + public Builder eapFastEnableEapChaining(@Nullable Output eapFastEnableEapChaining) { + $.eapFastEnableEapChaining = eapFastEnableEapChaining; + return this; + } + + /** + * @param eapFastEnableEapChaining Enable EAP chaining + * + * @return builder + * + */ + public Builder eapFastEnableEapChaining(Boolean eapFastEnableEapChaining) { + return eapFastEnableEapChaining(Output.of(eapFastEnableEapChaining)); + } + + /** + * @param eapFastPacsAllowAnonymousProvisioning Allow anonymous provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowAnonymousProvisioning(@Nullable Output eapFastPacsAllowAnonymousProvisioning) { + $.eapFastPacsAllowAnonymousProvisioning = eapFastPacsAllowAnonymousProvisioning; + return this; + } + + /** + * @param eapFastPacsAllowAnonymousProvisioning Allow anonymous provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowAnonymousProvisioning(Boolean eapFastPacsAllowAnonymousProvisioning) { + return eapFastPacsAllowAnonymousProvisioning(Output.of(eapFastPacsAllowAnonymousProvisioning)); + } + + /** + * @param eapFastPacsAllowAuthenticatedProvisioning Allow authenticated provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowAuthenticatedProvisioning(@Nullable Output eapFastPacsAllowAuthenticatedProvisioning) { + $.eapFastPacsAllowAuthenticatedProvisioning = eapFastPacsAllowAuthenticatedProvisioning; + return this; + } + + /** + * @param eapFastPacsAllowAuthenticatedProvisioning Allow authenticated provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowAuthenticatedProvisioning(Boolean eapFastPacsAllowAuthenticatedProvisioning) { + return eapFastPacsAllowAuthenticatedProvisioning(Output.of(eapFastPacsAllowAuthenticatedProvisioning)); + } + + /** + * @param eapFastPacsAllowClientCert Accept client certification for provisioning. Is required only if `eap_fast_pacs_allow_authenticated_provisioning` is + * `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowClientCert(@Nullable Output eapFastPacsAllowClientCert) { + $.eapFastPacsAllowClientCert = eapFastPacsAllowClientCert; + return this; + } + + /** + * @param eapFastPacsAllowClientCert Accept client certification for provisioning. Is required only if `eap_fast_pacs_allow_authenticated_provisioning` is + * `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowClientCert(Boolean eapFastPacsAllowClientCert) { + return eapFastPacsAllowClientCert(Output.of(eapFastPacsAllowClientCert)); + } + + /** + * @param eapFastPacsAllowMachineAuthentication Allow machine authentication. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowMachineAuthentication(@Nullable Output eapFastPacsAllowMachineAuthentication) { + $.eapFastPacsAllowMachineAuthentication = eapFastPacsAllowMachineAuthentication; + return this; + } + + /** + * @param eapFastPacsAllowMachineAuthentication Allow machine authentication. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAllowMachineAuthentication(Boolean eapFastPacsAllowMachineAuthentication) { + return eapFastPacsAllowMachineAuthentication(Output.of(eapFastPacsAllowMachineAuthentication)); + } + + /** + * @param eapFastPacsAuthorizationPacTtl Authorization PAC TTL. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAuthorizationPacTtl(@Nullable Output eapFastPacsAuthorizationPacTtl) { + $.eapFastPacsAuthorizationPacTtl = eapFastPacsAuthorizationPacTtl; + return this; + } + + /** + * @param eapFastPacsAuthorizationPacTtl Authorization PAC TTL. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsAuthorizationPacTtl(Integer eapFastPacsAuthorizationPacTtl) { + return eapFastPacsAuthorizationPacTtl(Output.of(eapFastPacsAuthorizationPacTtl)); + } + + /** + * @param eapFastPacsAuthorizationPacTtlUnit Authorization PAC TTL unit. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. - Choices: + * `SECONDS`, `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapFastPacsAuthorizationPacTtlUnit(@Nullable Output eapFastPacsAuthorizationPacTtlUnit) { + $.eapFastPacsAuthorizationPacTtlUnit = eapFastPacsAuthorizationPacTtlUnit; + return this; + } + + /** + * @param eapFastPacsAuthorizationPacTtlUnit Authorization PAC TTL unit. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. - Choices: + * `SECONDS`, `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapFastPacsAuthorizationPacTtlUnit(String eapFastPacsAuthorizationPacTtlUnit) { + return eapFastPacsAuthorizationPacTtlUnit(Output.of(eapFastPacsAuthorizationPacTtlUnit)); + } + + /** + * @param eapFastPacsMachinePacTtl Machine PAC TTL. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsMachinePacTtl(@Nullable Output eapFastPacsMachinePacTtl) { + $.eapFastPacsMachinePacTtl = eapFastPacsMachinePacTtl; + return this; + } + + /** + * @param eapFastPacsMachinePacTtl Machine PAC TTL. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsMachinePacTtl(Integer eapFastPacsMachinePacTtl) { + return eapFastPacsMachinePacTtl(Output.of(eapFastPacsMachinePacTtl)); + } + + /** + * @param eapFastPacsMachinePacTtlUnit Machine PAC TTL unit. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapFastPacsMachinePacTtlUnit(@Nullable Output eapFastPacsMachinePacTtlUnit) { + $.eapFastPacsMachinePacTtlUnit = eapFastPacsMachinePacTtlUnit; + return this; + } + + /** + * @param eapFastPacsMachinePacTtlUnit Machine PAC TTL unit. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapFastPacsMachinePacTtlUnit(String eapFastPacsMachinePacTtlUnit) { + return eapFastPacsMachinePacTtlUnit(Output.of(eapFastPacsMachinePacTtlUnit)); + } + + /** + * @param eapFastPacsServerReturns Server returns access accept after authenticated provisioning. Is required only if + * `eap_fast_pacs_allow_authenticated_provisioning` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsServerReturns(@Nullable Output eapFastPacsServerReturns) { + $.eapFastPacsServerReturns = eapFastPacsServerReturns; + return this; + } + + /** + * @param eapFastPacsServerReturns Server returns access accept after authenticated provisioning. Is required only if + * `eap_fast_pacs_allow_authenticated_provisioning` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsServerReturns(Boolean eapFastPacsServerReturns) { + return eapFastPacsServerReturns(Output.of(eapFastPacsServerReturns)); + } + + /** + * @param eapFastPacsStatelessSessionResume Stateless session resume. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsStatelessSessionResume(@Nullable Output eapFastPacsStatelessSessionResume) { + $.eapFastPacsStatelessSessionResume = eapFastPacsStatelessSessionResume; + return this; + } + + /** + * @param eapFastPacsStatelessSessionResume Stateless session resume. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsStatelessSessionResume(Boolean eapFastPacsStatelessSessionResume) { + return eapFastPacsStatelessSessionResume(Output.of(eapFastPacsStatelessSessionResume)); + } + + /** + * @param eapFastPacsTunnelPacTtl PACs tunnel PAC time to live. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsTunnelPacTtl(@Nullable Output eapFastPacsTunnelPacTtl) { + $.eapFastPacsTunnelPacTtl = eapFastPacsTunnelPacTtl; + return this; + } + + /** + * @param eapFastPacsTunnelPacTtl PACs tunnel PAC time to live. Is required only if `eap_fast_use_pacs` is `true`. + * + * @return builder + * + */ + public Builder eapFastPacsTunnelPacTtl(Integer eapFastPacsTunnelPacTtl) { + return eapFastPacsTunnelPacTtl(Output.of(eapFastPacsTunnelPacTtl)); + } + + /** + * @param eapFastPacsTunnelPacTtlUnit PACs tunnel PAC time to live unit. Is required only if `eap_fast_use_pacs` is `true`. - Choices: `SECONDS`, `MINUTES`, + * `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapFastPacsTunnelPacTtlUnit(@Nullable Output eapFastPacsTunnelPacTtlUnit) { + $.eapFastPacsTunnelPacTtlUnit = eapFastPacsTunnelPacTtlUnit; + return this; + } + + /** + * @param eapFastPacsTunnelPacTtlUnit PACs tunnel PAC time to live unit. Is required only if `eap_fast_use_pacs` is `true`. - Choices: `SECONDS`, `MINUTES`, + * `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapFastPacsTunnelPacTtlUnit(String eapFastPacsTunnelPacTtlUnit) { + return eapFastPacsTunnelPacTtlUnit(Output.of(eapFastPacsTunnelPacTtlUnit)); + } + + /** + * @param eapFastPacsUseProactivePacUpdatePercentage Use proactive pac update percentage. Is required only if `eap_fast_use_pacs` is `true`. - Range: `1`-`100` + * + * @return builder + * + */ + public Builder eapFastPacsUseProactivePacUpdatePercentage(@Nullable Output eapFastPacsUseProactivePacUpdatePercentage) { + $.eapFastPacsUseProactivePacUpdatePercentage = eapFastPacsUseProactivePacUpdatePercentage; + return this; + } + + /** + * @param eapFastPacsUseProactivePacUpdatePercentage Use proactive pac update percentage. Is required only if `eap_fast_use_pacs` is `true`. - Range: `1`-`100` + * + * @return builder + * + */ + public Builder eapFastPacsUseProactivePacUpdatePercentage(Integer eapFastPacsUseProactivePacUpdatePercentage) { + return eapFastPacsUseProactivePacUpdatePercentage(Output.of(eapFastPacsUseProactivePacUpdatePercentage)); + } + + /** + * @param eapFastUsePacs Use PACs + * + * @return builder + * + */ + public Builder eapFastUsePacs(@Nullable Output eapFastUsePacs) { + $.eapFastUsePacs = eapFastUsePacs; + return this; + } + + /** + * @param eapFastUsePacs Use PACs + * + * @return builder + * + */ + public Builder eapFastUsePacs(Boolean eapFastUsePacs) { + return eapFastUsePacs(Output.of(eapFastUsePacs)); + } + + /** + * @param eapTlsAllowAuthOfExpiredCerts Allow authentication of expired certificates + * + * @return builder + * + */ + public Builder eapTlsAllowAuthOfExpiredCerts(@Nullable Output eapTlsAllowAuthOfExpiredCerts) { + $.eapTlsAllowAuthOfExpiredCerts = eapTlsAllowAuthOfExpiredCerts; + return this; + } + + /** + * @param eapTlsAllowAuthOfExpiredCerts Allow authentication of expired certificates + * + * @return builder + * + */ + public Builder eapTlsAllowAuthOfExpiredCerts(Boolean eapTlsAllowAuthOfExpiredCerts) { + return eapTlsAllowAuthOfExpiredCerts(Output.of(eapTlsAllowAuthOfExpiredCerts)); + } + + /** + * @param eapTlsEnableStatelessSessionResume Enable stateless session resume + * + * @return builder + * + */ + public Builder eapTlsEnableStatelessSessionResume(@Nullable Output eapTlsEnableStatelessSessionResume) { + $.eapTlsEnableStatelessSessionResume = eapTlsEnableStatelessSessionResume; + return this; + } + + /** + * @param eapTlsEnableStatelessSessionResume Enable stateless session resume + * + * @return builder + * + */ + public Builder eapTlsEnableStatelessSessionResume(Boolean eapTlsEnableStatelessSessionResume) { + return eapTlsEnableStatelessSessionResume(Output.of(eapTlsEnableStatelessSessionResume)); + } + + /** + * @param eapTlsLBit EAP TLS L-Bit + * + * @return builder + * + */ + public Builder eapTlsLBit(@Nullable Output eapTlsLBit) { + $.eapTlsLBit = eapTlsLBit; + return this; + } + + /** + * @param eapTlsLBit EAP TLS L-Bit + * + * @return builder + * + */ + public Builder eapTlsLBit(Boolean eapTlsLBit) { + return eapTlsLBit(Output.of(eapTlsLBit)); + } + + /** + * @param eapTlsSessionTicketPercentage Session ticket percentage. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Range: `1`-`100` + * + * @return builder + * + */ + public Builder eapTlsSessionTicketPercentage(@Nullable Output eapTlsSessionTicketPercentage) { + $.eapTlsSessionTicketPercentage = eapTlsSessionTicketPercentage; + return this; + } + + /** + * @param eapTlsSessionTicketPercentage Session ticket percentage. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Range: `1`-`100` + * + * @return builder + * + */ + public Builder eapTlsSessionTicketPercentage(Integer eapTlsSessionTicketPercentage) { + return eapTlsSessionTicketPercentage(Output.of(eapTlsSessionTicketPercentage)); + } + + /** + * @param eapTlsSessionTicketTtl Session ticket TTL. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + * @return builder + * + */ + public Builder eapTlsSessionTicketTtl(@Nullable Output eapTlsSessionTicketTtl) { + $.eapTlsSessionTicketTtl = eapTlsSessionTicketTtl; + return this; + } + + /** + * @param eapTlsSessionTicketTtl Session ticket TTL. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + * @return builder + * + */ + public Builder eapTlsSessionTicketTtl(Integer eapTlsSessionTicketTtl) { + return eapTlsSessionTicketTtl(Output.of(eapTlsSessionTicketTtl)); + } + + /** + * @param eapTlsSessionTicketTtlUnit Session ticket TTL unit. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapTlsSessionTicketTtlUnit(@Nullable Output eapTlsSessionTicketTtlUnit) { + $.eapTlsSessionTicketTtlUnit = eapTlsSessionTicketTtlUnit; + return this; + } + + /** + * @param eapTlsSessionTicketTtlUnit Session ticket TTL unit. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. - Choices: `SECONDS`, + * `MINUTES`, `HOURS`, `DAYS`, `WEEKS` + * + * @return builder + * + */ + public Builder eapTlsSessionTicketTtlUnit(String eapTlsSessionTicketTtlUnit) { + return eapTlsSessionTicketTtlUnit(Output.of(eapTlsSessionTicketTtlUnit)); + } + + /** + * @param eapTtlsChap Allow CHAP + * + * @return builder + * + */ + public Builder eapTtlsChap(@Nullable Output eapTtlsChap) { + $.eapTtlsChap = eapTtlsChap; + return this; + } + + /** + * @param eapTtlsChap Allow CHAP + * + * @return builder + * + */ + public Builder eapTtlsChap(Boolean eapTtlsChap) { + return eapTtlsChap(Output.of(eapTtlsChap)); + } + + /** + * @param eapTtlsEapMd5 Allow EAP MD5 + * + * @return builder + * + */ + public Builder eapTtlsEapMd5(@Nullable Output eapTtlsEapMd5) { + $.eapTtlsEapMd5 = eapTtlsEapMd5; + return this; + } + + /** + * @param eapTtlsEapMd5 Allow EAP MD5 + * + * @return builder + * + */ + public Builder eapTtlsEapMd5(Boolean eapTtlsEapMd5) { + return eapTtlsEapMd5(Output.of(eapTtlsEapMd5)); + } + + /** + * @param eapTtlsEapMsChapV2 Allow EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder eapTtlsEapMsChapV2(@Nullable Output eapTtlsEapMsChapV2) { + $.eapTtlsEapMsChapV2 = eapTtlsEapMsChapV2; + return this; + } + + /** + * @param eapTtlsEapMsChapV2 Allow EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder eapTtlsEapMsChapV2(Boolean eapTtlsEapMsChapV2) { + return eapTtlsEapMsChapV2(Output.of(eapTtlsEapMsChapV2)); + } + + /** + * @param eapTtlsEapMsChapV2PwdChange Allow EAP MS CHAP v2 password change. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder eapTtlsEapMsChapV2PwdChange(@Nullable Output eapTtlsEapMsChapV2PwdChange) { + $.eapTtlsEapMsChapV2PwdChange = eapTtlsEapMsChapV2PwdChange; + return this; + } + + /** + * @param eapTtlsEapMsChapV2PwdChange Allow EAP MS CHAP v2 password change. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder eapTtlsEapMsChapV2PwdChange(Boolean eapTtlsEapMsChapV2PwdChange) { + return eapTtlsEapMsChapV2PwdChange(Output.of(eapTtlsEapMsChapV2PwdChange)); + } + + /** + * @param eapTtlsEapMsChapV2PwdChangeRetries EAP MS CHAP v2 password change retries. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder eapTtlsEapMsChapV2PwdChangeRetries(@Nullable Output eapTtlsEapMsChapV2PwdChangeRetries) { + $.eapTtlsEapMsChapV2PwdChangeRetries = eapTtlsEapMsChapV2PwdChangeRetries; + return this; + } + + /** + * @param eapTtlsEapMsChapV2PwdChangeRetries EAP MS CHAP v2 password change retries. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder eapTtlsEapMsChapV2PwdChangeRetries(Integer eapTtlsEapMsChapV2PwdChangeRetries) { + return eapTtlsEapMsChapV2PwdChangeRetries(Output.of(eapTtlsEapMsChapV2PwdChangeRetries)); + } + + /** + * @param eapTtlsMsChapV1 Allow MS CHAP v1 + * + * @return builder + * + */ + public Builder eapTtlsMsChapV1(@Nullable Output eapTtlsMsChapV1) { + $.eapTtlsMsChapV1 = eapTtlsMsChapV1; + return this; + } + + /** + * @param eapTtlsMsChapV1 Allow MS CHAP v1 + * + * @return builder + * + */ + public Builder eapTtlsMsChapV1(Boolean eapTtlsMsChapV1) { + return eapTtlsMsChapV1(Output.of(eapTtlsMsChapV1)); + } + + /** + * @param eapTtlsMsChapV2 Allow MS CHAP v2 + * + * @return builder + * + */ + public Builder eapTtlsMsChapV2(@Nullable Output eapTtlsMsChapV2) { + $.eapTtlsMsChapV2 = eapTtlsMsChapV2; + return this; + } + + /** + * @param eapTtlsMsChapV2 Allow MS CHAP v2 + * + * @return builder + * + */ + public Builder eapTtlsMsChapV2(Boolean eapTtlsMsChapV2) { + return eapTtlsMsChapV2(Output.of(eapTtlsMsChapV2)); + } + + /** + * @param eapTtlsPapAscii Allow PAP ASCII + * + * @return builder + * + */ + public Builder eapTtlsPapAscii(@Nullable Output eapTtlsPapAscii) { + $.eapTtlsPapAscii = eapTtlsPapAscii; + return this; + } + + /** + * @param eapTtlsPapAscii Allow PAP ASCII + * + * @return builder + * + */ + public Builder eapTtlsPapAscii(Boolean eapTtlsPapAscii) { + return eapTtlsPapAscii(Output.of(eapTtlsPapAscii)); + } + + /** + * @param name The name of the allowed protocols + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the allowed protocols + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param peapAllowPeapEapGtc Allow PEAP EAP GTC + * + * @return builder + * + */ + public Builder peapAllowPeapEapGtc(@Nullable Output peapAllowPeapEapGtc) { + $.peapAllowPeapEapGtc = peapAllowPeapEapGtc; + return this; + } + + /** + * @param peapAllowPeapEapGtc Allow PEAP EAP GTC + * + * @return builder + * + */ + public Builder peapAllowPeapEapGtc(Boolean peapAllowPeapEapGtc) { + return peapAllowPeapEapGtc(Output.of(peapAllowPeapEapGtc)); + } + + /** + * @param peapAllowPeapEapGtcPwdChange Allow PEAP EAP GTC password change. Is required only if `allow_peap_eap_gtc` is `true`. + * + * @return builder + * + */ + public Builder peapAllowPeapEapGtcPwdChange(@Nullable Output peapAllowPeapEapGtcPwdChange) { + $.peapAllowPeapEapGtcPwdChange = peapAllowPeapEapGtcPwdChange; + return this; + } + + /** + * @param peapAllowPeapEapGtcPwdChange Allow PEAP EAP GTC password change. Is required only if `allow_peap_eap_gtc` is `true`. + * + * @return builder + * + */ + public Builder peapAllowPeapEapGtcPwdChange(Boolean peapAllowPeapEapGtcPwdChange) { + return peapAllowPeapEapGtcPwdChange(Output.of(peapAllowPeapEapGtcPwdChange)); + } + + /** + * @param peapAllowPeapEapGtcPwdChangeRetries PEAP EAP GTC password change retries. Is required only if `allow_peap_eap_gtc` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder peapAllowPeapEapGtcPwdChangeRetries(@Nullable Output peapAllowPeapEapGtcPwdChangeRetries) { + $.peapAllowPeapEapGtcPwdChangeRetries = peapAllowPeapEapGtcPwdChangeRetries; + return this; + } + + /** + * @param peapAllowPeapEapGtcPwdChangeRetries PEAP EAP GTC password change retries. Is required only if `allow_peap_eap_gtc` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder peapAllowPeapEapGtcPwdChangeRetries(Integer peapAllowPeapEapGtcPwdChangeRetries) { + return peapAllowPeapEapGtcPwdChangeRetries(Output.of(peapAllowPeapEapGtcPwdChangeRetries)); + } + + /** + * @param peapAllowPeapEapMsChapV2 Allow PEAP EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder peapAllowPeapEapMsChapV2(@Nullable Output peapAllowPeapEapMsChapV2) { + $.peapAllowPeapEapMsChapV2 = peapAllowPeapEapMsChapV2; + return this; + } + + /** + * @param peapAllowPeapEapMsChapV2 Allow PEAP EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder peapAllowPeapEapMsChapV2(Boolean peapAllowPeapEapMsChapV2) { + return peapAllowPeapEapMsChapV2(Output.of(peapAllowPeapEapMsChapV2)); + } + + /** + * @param peapAllowPeapEapMsChapV2PwdChange Allow PEAP EAP MS CHAP v2 password change. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder peapAllowPeapEapMsChapV2PwdChange(@Nullable Output peapAllowPeapEapMsChapV2PwdChange) { + $.peapAllowPeapEapMsChapV2PwdChange = peapAllowPeapEapMsChapV2PwdChange; + return this; + } + + /** + * @param peapAllowPeapEapMsChapV2PwdChange Allow PEAP EAP MS CHAP v2 password change. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder peapAllowPeapEapMsChapV2PwdChange(Boolean peapAllowPeapEapMsChapV2PwdChange) { + return peapAllowPeapEapMsChapV2PwdChange(Output.of(peapAllowPeapEapMsChapV2PwdChange)); + } + + /** + * @param peapAllowPeapEapMsChapV2PwdChangeRetries Allow PEAP EAP MS CHAP v2 password change retries. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. - Range: + * `0`-`3` + * + * @return builder + * + */ + public Builder peapAllowPeapEapMsChapV2PwdChangeRetries(@Nullable Output peapAllowPeapEapMsChapV2PwdChangeRetries) { + $.peapAllowPeapEapMsChapV2PwdChangeRetries = peapAllowPeapEapMsChapV2PwdChangeRetries; + return this; + } + + /** + * @param peapAllowPeapEapMsChapV2PwdChangeRetries Allow PEAP EAP MS CHAP v2 password change retries. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. - Range: + * `0`-`3` + * + * @return builder + * + */ + public Builder peapAllowPeapEapMsChapV2PwdChangeRetries(Integer peapAllowPeapEapMsChapV2PwdChangeRetries) { + return peapAllowPeapEapMsChapV2PwdChangeRetries(Output.of(peapAllowPeapEapMsChapV2PwdChangeRetries)); + } + + /** + * @param peapAllowPeapEapTls Allow PEAP EAP TLS + * + * @return builder + * + */ + public Builder peapAllowPeapEapTls(@Nullable Output peapAllowPeapEapTls) { + $.peapAllowPeapEapTls = peapAllowPeapEapTls; + return this; + } + + /** + * @param peapAllowPeapEapTls Allow PEAP EAP TLS + * + * @return builder + * + */ + public Builder peapAllowPeapEapTls(Boolean peapAllowPeapEapTls) { + return peapAllowPeapEapTls(Output.of(peapAllowPeapEapTls)); + } + + /** + * @param peapAllowPeapEapTlsAuthOfExpiredCerts Allow PEAP EAP TLS authentication of expired certificates. Is required only if `peap_allow_peap_eap_tls` is `true`. + * + * @return builder + * + */ + public Builder peapAllowPeapEapTlsAuthOfExpiredCerts(@Nullable Output peapAllowPeapEapTlsAuthOfExpiredCerts) { + $.peapAllowPeapEapTlsAuthOfExpiredCerts = peapAllowPeapEapTlsAuthOfExpiredCerts; + return this; + } + + /** + * @param peapAllowPeapEapTlsAuthOfExpiredCerts Allow PEAP EAP TLS authentication of expired certificates. Is required only if `peap_allow_peap_eap_tls` is `true`. + * + * @return builder + * + */ + public Builder peapAllowPeapEapTlsAuthOfExpiredCerts(Boolean peapAllowPeapEapTlsAuthOfExpiredCerts) { + return peapAllowPeapEapTlsAuthOfExpiredCerts(Output.of(peapAllowPeapEapTlsAuthOfExpiredCerts)); + } + + /** + * @param peapPeapV0 Allow PEAP v0 + * + * @return builder + * + */ + public Builder peapPeapV0(@Nullable Output peapPeapV0) { + $.peapPeapV0 = peapPeapV0; + return this; + } + + /** + * @param peapPeapV0 Allow PEAP v0 + * + * @return builder + * + */ + public Builder peapPeapV0(Boolean peapPeapV0) { + return peapPeapV0(Output.of(peapPeapV0)); + } + + /** + * @param preferredEapProtocol Preferred EAP protocol - Choices: `EAP_FAST`, `PEAP`, `LEAP`, `EAP_MD5`, `EAP_TLS`, `EAP_TTLS`, `TEAP` + * + * @return builder + * + */ + public Builder preferredEapProtocol(@Nullable Output preferredEapProtocol) { + $.preferredEapProtocol = preferredEapProtocol; + return this; + } + + /** + * @param preferredEapProtocol Preferred EAP protocol - Choices: `EAP_FAST`, `PEAP`, `LEAP`, `EAP_MD5`, `EAP_TLS`, `EAP_TTLS`, `TEAP` + * + * @return builder + * + */ + public Builder preferredEapProtocol(String preferredEapProtocol) { + return preferredEapProtocol(Output.of(preferredEapProtocol)); + } + + /** + * @param processHostLookup Process host lookup + * + * @return builder + * + */ + public Builder processHostLookup(@Nullable Output processHostLookup) { + $.processHostLookup = processHostLookup; + return this; + } + + /** + * @param processHostLookup Process host lookup + * + * @return builder + * + */ + public Builder processHostLookup(Boolean processHostLookup) { + return processHostLookup(Output.of(processHostLookup)); + } + + /** + * @param requireCryptobinding Require cryptobinding + * + * @return builder + * + */ + public Builder requireCryptobinding(@Nullable Output requireCryptobinding) { + $.requireCryptobinding = requireCryptobinding; + return this; + } + + /** + * @param requireCryptobinding Require cryptobinding + * + * @return builder + * + */ + public Builder requireCryptobinding(Boolean requireCryptobinding) { + return requireCryptobinding(Output.of(requireCryptobinding)); + } + + /** + * @param requireMessageAuth Require message authentication + * + * @return builder + * + */ + public Builder requireMessageAuth(@Nullable Output requireMessageAuth) { + $.requireMessageAuth = requireMessageAuth; + return this; + } + + /** + * @param requireMessageAuth Require message authentication + * + * @return builder + * + */ + public Builder requireMessageAuth(Boolean requireMessageAuth) { + return requireMessageAuth(Output.of(requireMessageAuth)); + } + + /** + * @param teapDowngradeMsk Allow downgrade to MSK + * + * @return builder + * + */ + public Builder teapDowngradeMsk(@Nullable Output teapDowngradeMsk) { + $.teapDowngradeMsk = teapDowngradeMsk; + return this; + } + + /** + * @param teapDowngradeMsk Allow downgrade to MSK + * + * @return builder + * + */ + public Builder teapDowngradeMsk(Boolean teapDowngradeMsk) { + return teapDowngradeMsk(Output.of(teapDowngradeMsk)); + } + + /** + * @param teapEapAcceptClientCertDuringTunnelEst Accept client certificate during tunnel establishment + * + * @return builder + * + */ + public Builder teapEapAcceptClientCertDuringTunnelEst(@Nullable Output teapEapAcceptClientCertDuringTunnelEst) { + $.teapEapAcceptClientCertDuringTunnelEst = teapEapAcceptClientCertDuringTunnelEst; + return this; + } + + /** + * @param teapEapAcceptClientCertDuringTunnelEst Accept client certificate during tunnel establishment + * + * @return builder + * + */ + public Builder teapEapAcceptClientCertDuringTunnelEst(Boolean teapEapAcceptClientCertDuringTunnelEst) { + return teapEapAcceptClientCertDuringTunnelEst(Output.of(teapEapAcceptClientCertDuringTunnelEst)); + } + + /** + * @param teapEapChaining Allow EAP chaining + * + * @return builder + * + */ + public Builder teapEapChaining(@Nullable Output teapEapChaining) { + $.teapEapChaining = teapEapChaining; + return this; + } + + /** + * @param teapEapChaining Allow EAP chaining + * + * @return builder + * + */ + public Builder teapEapChaining(Boolean teapEapChaining) { + return teapEapChaining(Output.of(teapEapChaining)); + } + + /** + * @param teapEapMsChapV2 Allow EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder teapEapMsChapV2(@Nullable Output teapEapMsChapV2) { + $.teapEapMsChapV2 = teapEapMsChapV2; + return this; + } + + /** + * @param teapEapMsChapV2 Allow EAP MS CHAP v2 + * + * @return builder + * + */ + public Builder teapEapMsChapV2(Boolean teapEapMsChapV2) { + return teapEapMsChapV2(Output.of(teapEapMsChapV2)); + } + + /** + * @param teapEapMsChapV2PwdChange Allow EAP MS CHAP v2 password change. Is required only if `teap_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder teapEapMsChapV2PwdChange(@Nullable Output teapEapMsChapV2PwdChange) { + $.teapEapMsChapV2PwdChange = teapEapMsChapV2PwdChange; + return this; + } + + /** + * @param teapEapMsChapV2PwdChange Allow EAP MS CHAP v2 password change. Is required only if `teap_eap_ms_chap_v2` is `true`. + * + * @return builder + * + */ + public Builder teapEapMsChapV2PwdChange(Boolean teapEapMsChapV2PwdChange) { + return teapEapMsChapV2PwdChange(Output.of(teapEapMsChapV2PwdChange)); + } + + /** + * @param teapEapMsChapV2PwdChangeRetries EAP MS CHAP v2 password change retries. Is required only if `teap_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder teapEapMsChapV2PwdChangeRetries(@Nullable Output teapEapMsChapV2PwdChangeRetries) { + $.teapEapMsChapV2PwdChangeRetries = teapEapMsChapV2PwdChangeRetries; + return this; + } + + /** + * @param teapEapMsChapV2PwdChangeRetries EAP MS CHAP v2 password change retries. Is required only if `teap_eap_ms_chap_v2` is `true`. - Range: `0`-`3` + * + * @return builder + * + */ + public Builder teapEapMsChapV2PwdChangeRetries(Integer teapEapMsChapV2PwdChangeRetries) { + return teapEapMsChapV2PwdChangeRetries(Output.of(teapEapMsChapV2PwdChangeRetries)); + } + + /** + * @param teapEapTls Allow EAP TLS + * + * @return builder + * + */ + public Builder teapEapTls(@Nullable Output teapEapTls) { + $.teapEapTls = teapEapTls; + return this; + } + + /** + * @param teapEapTls Allow EAP TLS + * + * @return builder + * + */ + public Builder teapEapTls(Boolean teapEapTls) { + return teapEapTls(Output.of(teapEapTls)); + } + + /** + * @param teapEapTlsAuthOfExpiredCerts Allow EAP TLS authentication of expired certs. Is required only if `teap_eap_tls` is `true`. + * + * @return builder + * + */ + public Builder teapEapTlsAuthOfExpiredCerts(@Nullable Output teapEapTlsAuthOfExpiredCerts) { + $.teapEapTlsAuthOfExpiredCerts = teapEapTlsAuthOfExpiredCerts; + return this; + } + + /** + * @param teapEapTlsAuthOfExpiredCerts Allow EAP TLS authentication of expired certs. Is required only if `teap_eap_tls` is `true`. + * + * @return builder + * + */ + public Builder teapEapTlsAuthOfExpiredCerts(Boolean teapEapTlsAuthOfExpiredCerts) { + return teapEapTlsAuthOfExpiredCerts(Output.of(teapEapTlsAuthOfExpiredCerts)); + } + + /** + * @param teapRequestBasicPwdAuth Request basic password authentication + * + * @return builder + * + */ + public Builder teapRequestBasicPwdAuth(@Nullable Output teapRequestBasicPwdAuth) { + $.teapRequestBasicPwdAuth = teapRequestBasicPwdAuth; + return this; + } + + /** + * @param teapRequestBasicPwdAuth Request basic password authentication + * + * @return builder + * + */ + public Builder teapRequestBasicPwdAuth(Boolean teapRequestBasicPwdAuth) { + return teapRequestBasicPwdAuth(Output.of(teapRequestBasicPwdAuth)); + } + + public AllowedProtocolsState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthenticationRuleChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthenticationRuleChildrenArgs.java new file mode 100644 index 0000000..1040c4f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthenticationRuleChildrenArgs.java @@ -0,0 +1,404 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.inputs.AuthenticationRuleChildrenChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticationRuleChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticationRuleChildrenArgs Empty = new AuthenticationRuleChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthenticationRuleChildrenArgs() {} + + private AuthenticationRuleChildrenArgs(AuthenticationRuleChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticationRuleChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticationRuleChildrenArgs $; + + public Builder() { + $ = new AuthenticationRuleChildrenArgs(); + } + + public Builder(AuthenticationRuleChildrenArgs defaults) { + $ = new AuthenticationRuleChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthenticationRuleChildrenChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthenticationRuleChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthenticationRuleChildrenChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthenticationRuleChildrenChildrenArgs.java new file mode 100644 index 0000000..339e2c9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthenticationRuleChildrenChildrenArgs.java @@ -0,0 +1,355 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticationRuleChildrenChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticationRuleChildrenChildrenArgs Empty = new AuthenticationRuleChildrenChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthenticationRuleChildrenChildrenArgs() {} + + private AuthenticationRuleChildrenChildrenArgs(AuthenticationRuleChildrenChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticationRuleChildrenChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticationRuleChildrenChildrenArgs $; + + public Builder() { + $ = new AuthenticationRuleChildrenChildrenArgs(); + } + + public Builder(AuthenticationRuleChildrenChildrenArgs defaults) { + $ = new AuthenticationRuleChildrenChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthenticationRuleChildrenChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleChildrenChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthenticationRuleState.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthenticationRuleState.java new file mode 100644 index 0000000..b909890 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthenticationRuleState.java @@ -0,0 +1,746 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.networkaccess.inputs.AuthenticationRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticationRuleState extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticationRuleState Empty = new AuthenticationRuleState(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Identity source name from the identity stores + * + */ + @Import(name="identitySourceName") + private @Nullable Output identitySourceName; + + /** + * @return Identity source name from the identity stores + * + */ + public Optional> identitySourceName() { + return Optional.ofNullable(this.identitySourceName); + } + + /** + * Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + */ + @Import(name="ifAuthFail") + private @Nullable Output ifAuthFail; + + /** + * @return Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + */ + public Optional> ifAuthFail() { + return Optional.ofNullable(this.ifAuthFail); + } + + /** + * Action to perform when ISE is uanble to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + @Import(name="ifProcessFail") + private @Nullable Output ifProcessFail; + + /** + * @return Action to perform when ISE is uanble to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + public Optional> ifProcessFail() { + return Optional.ofNullable(this.ifProcessFail); + } + + /** + * Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + @Import(name="ifUserNotFound") + private @Nullable Output ifUserNotFound; + + /** + * @return Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + */ + public Optional> ifUserNotFound() { + return Optional.ofNullable(this.ifUserNotFound); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId") + private @Nullable Output policySetId; + + /** + * @return Policy set ID + * + */ + public Optional> policySetId() { + return Optional.ofNullable(this.policySetId); + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthenticationRuleState() {} + + private AuthenticationRuleState(AuthenticationRuleState $) { + this.childrens = $.childrens; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.identitySourceName = $.identitySourceName; + this.ifAuthFail = $.ifAuthFail; + this.ifProcessFail = $.ifProcessFail; + this.ifUserNotFound = $.ifUserNotFound; + this.name = $.name; + this.policySetId = $.policySetId; + this.rank = $.rank; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticationRuleState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticationRuleState $; + + public Builder() { + $ = new AuthenticationRuleState(); + } + + public Builder(AuthenticationRuleState defaults) { + $ = new AuthenticationRuleState(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthenticationRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param identitySourceName Identity source name from the identity stores + * + * @return builder + * + */ + public Builder identitySourceName(@Nullable Output identitySourceName) { + $.identitySourceName = identitySourceName; + return this; + } + + /** + * @param identitySourceName Identity source name from the identity stores + * + * @return builder + * + */ + public Builder identitySourceName(String identitySourceName) { + return identitySourceName(Output.of(identitySourceName)); + } + + /** + * @param ifAuthFail Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifAuthFail(@Nullable Output ifAuthFail) { + $.ifAuthFail = ifAuthFail; + return this; + } + + /** + * @param ifAuthFail Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`, + * `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifAuthFail(String ifAuthFail) { + return ifAuthFail(Output.of(ifAuthFail)); + } + + /** + * @param ifProcessFail Action to perform when ISE is uanble to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifProcessFail(@Nullable Output ifProcessFail) { + $.ifProcessFail = ifProcessFail; + return this; + } + + /** + * @param ifProcessFail Action to perform when ISE is uanble to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifProcessFail(String ifProcessFail) { + return ifProcessFail(Output.of(ifProcessFail)); + } + + /** + * @param ifUserNotFound Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifUserNotFound(@Nullable Output ifUserNotFound) { + $.ifUserNotFound = ifUserNotFound; + return this; + } + + /** + * @param ifUserNotFound Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE` + * + * @return builder + * + */ + public Builder ifUserNotFound(String ifUserNotFound) { + return ifUserNotFound(Output.of(ifUserNotFound)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(@Nullable Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthenticationRuleState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationExceptionRuleChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationExceptionRuleChildrenArgs.java new file mode 100644 index 0000000..a7319c0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationExceptionRuleChildrenArgs.java @@ -0,0 +1,404 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.inputs.AuthorizationExceptionRuleChildrenChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationExceptionRuleChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationExceptionRuleChildrenArgs Empty = new AuthorizationExceptionRuleChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthorizationExceptionRuleChildrenArgs() {} + + private AuthorizationExceptionRuleChildrenArgs(AuthorizationExceptionRuleChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationExceptionRuleChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationExceptionRuleChildrenArgs $; + + public Builder() { + $ = new AuthorizationExceptionRuleChildrenArgs(); + } + + public Builder(AuthorizationExceptionRuleChildrenArgs defaults) { + $ = new AuthorizationExceptionRuleChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationExceptionRuleChildrenChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthorizationExceptionRuleChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationExceptionRuleChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationExceptionRuleChildrenChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationExceptionRuleChildrenChildrenArgs.java new file mode 100644 index 0000000..52e2215 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationExceptionRuleChildrenChildrenArgs.java @@ -0,0 +1,355 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationExceptionRuleChildrenChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationExceptionRuleChildrenChildrenArgs Empty = new AuthorizationExceptionRuleChildrenChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthorizationExceptionRuleChildrenChildrenArgs() {} + + private AuthorizationExceptionRuleChildrenChildrenArgs(AuthorizationExceptionRuleChildrenChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationExceptionRuleChildrenChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationExceptionRuleChildrenChildrenArgs $; + + public Builder() { + $ = new AuthorizationExceptionRuleChildrenChildrenArgs(); + } + + public Builder(AuthorizationExceptionRuleChildrenChildrenArgs defaults) { + $ = new AuthorizationExceptionRuleChildrenChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthorizationExceptionRuleChildrenChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationExceptionRuleChildrenChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationExceptionRuleState.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationExceptionRuleState.java new file mode 100644 index 0000000..5da68bf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationExceptionRuleState.java @@ -0,0 +1,678 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.networkaccess.inputs.AuthorizationExceptionRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationExceptionRuleState extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationExceptionRuleState Empty = new AuthorizationExceptionRuleState(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId") + private @Nullable Output policySetId; + + /** + * @return Policy set ID + * + */ + public Optional> policySetId() { + return Optional.ofNullable(this.policySetId); + } + + /** + * The authorization profile(s) + * + */ + @Import(name="profiles") + private @Nullable Output> profiles; + + /** + * @return The authorization profile(s) + * + */ + public Optional>> profiles() { + return Optional.ofNullable(this.profiles); + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * Security group used in authorization policies + * + */ + @Import(name="securityGroup") + private @Nullable Output securityGroup; + + /** + * @return Security group used in authorization policies + * + */ + public Optional> securityGroup() { + return Optional.ofNullable(this.securityGroup); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthorizationExceptionRuleState() {} + + private AuthorizationExceptionRuleState(AuthorizationExceptionRuleState $) { + this.childrens = $.childrens; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.name = $.name; + this.policySetId = $.policySetId; + this.profiles = $.profiles; + this.rank = $.rank; + this.securityGroup = $.securityGroup; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationExceptionRuleState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationExceptionRuleState $; + + public Builder() { + $ = new AuthorizationExceptionRuleState(); + } + + public Builder(AuthorizationExceptionRuleState defaults) { + $ = new AuthorizationExceptionRuleState(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationExceptionRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(@Nullable Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(@Nullable Output> profiles) { + $.profiles = profiles; + return this; + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(List profiles) { + return profiles(Output.of(profiles)); + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(String... profiles) { + return profiles(List.of(profiles)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param securityGroup Security group used in authorization policies + * + * @return builder + * + */ + public Builder securityGroup(@Nullable Output securityGroup) { + $.securityGroup = securityGroup; + return this; + } + + /** + * @param securityGroup Security group used in authorization policies + * + * @return builder + * + */ + public Builder securityGroup(String securityGroup) { + return securityGroup(Output.of(securityGroup)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthorizationExceptionRuleState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationGlobalExceptionRuleChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationGlobalExceptionRuleChildrenArgs.java new file mode 100644 index 0000000..c7d2ed7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationGlobalExceptionRuleChildrenArgs.java @@ -0,0 +1,404 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.inputs.AuthorizationGlobalExceptionRuleChildrenChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationGlobalExceptionRuleChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationGlobalExceptionRuleChildrenArgs Empty = new AuthorizationGlobalExceptionRuleChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthorizationGlobalExceptionRuleChildrenArgs() {} + + private AuthorizationGlobalExceptionRuleChildrenArgs(AuthorizationGlobalExceptionRuleChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationGlobalExceptionRuleChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationGlobalExceptionRuleChildrenArgs $; + + public Builder() { + $ = new AuthorizationGlobalExceptionRuleChildrenArgs(); + } + + public Builder(AuthorizationGlobalExceptionRuleChildrenArgs defaults) { + $ = new AuthorizationGlobalExceptionRuleChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationGlobalExceptionRuleChildrenChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthorizationGlobalExceptionRuleChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationGlobalExceptionRuleChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationGlobalExceptionRuleChildrenChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationGlobalExceptionRuleChildrenChildrenArgs.java new file mode 100644 index 0000000..246ff81 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationGlobalExceptionRuleChildrenChildrenArgs.java @@ -0,0 +1,355 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationGlobalExceptionRuleChildrenChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationGlobalExceptionRuleChildrenChildrenArgs Empty = new AuthorizationGlobalExceptionRuleChildrenChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthorizationGlobalExceptionRuleChildrenChildrenArgs() {} + + private AuthorizationGlobalExceptionRuleChildrenChildrenArgs(AuthorizationGlobalExceptionRuleChildrenChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationGlobalExceptionRuleChildrenChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationGlobalExceptionRuleChildrenChildrenArgs $; + + public Builder() { + $ = new AuthorizationGlobalExceptionRuleChildrenChildrenArgs(); + } + + public Builder(AuthorizationGlobalExceptionRuleChildrenChildrenArgs defaults) { + $ = new AuthorizationGlobalExceptionRuleChildrenChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthorizationGlobalExceptionRuleChildrenChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationGlobalExceptionRuleChildrenChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationGlobalExceptionRuleState.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationGlobalExceptionRuleState.java new file mode 100644 index 0000000..8aa14fd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationGlobalExceptionRuleState.java @@ -0,0 +1,641 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.networkaccess.inputs.AuthorizationGlobalExceptionRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationGlobalExceptionRuleState extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationGlobalExceptionRuleState Empty = new AuthorizationGlobalExceptionRuleState(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The authorization profile(s) + * + */ + @Import(name="profiles") + private @Nullable Output> profiles; + + /** + * @return The authorization profile(s) + * + */ + public Optional>> profiles() { + return Optional.ofNullable(this.profiles); + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * Security group used in authorization policies + * + */ + @Import(name="securityGroup") + private @Nullable Output securityGroup; + + /** + * @return Security group used in authorization policies + * + */ + public Optional> securityGroup() { + return Optional.ofNullable(this.securityGroup); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthorizationGlobalExceptionRuleState() {} + + private AuthorizationGlobalExceptionRuleState(AuthorizationGlobalExceptionRuleState $) { + this.childrens = $.childrens; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.name = $.name; + this.profiles = $.profiles; + this.rank = $.rank; + this.securityGroup = $.securityGroup; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationGlobalExceptionRuleState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationGlobalExceptionRuleState $; + + public Builder() { + $ = new AuthorizationGlobalExceptionRuleState(); + } + + public Builder(AuthorizationGlobalExceptionRuleState defaults) { + $ = new AuthorizationGlobalExceptionRuleState(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationGlobalExceptionRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(@Nullable Output> profiles) { + $.profiles = profiles; + return this; + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(List profiles) { + return profiles(Output.of(profiles)); + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(String... profiles) { + return profiles(List.of(profiles)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param securityGroup Security group used in authorization policies + * + * @return builder + * + */ + public Builder securityGroup(@Nullable Output securityGroup) { + $.securityGroup = securityGroup; + return this; + } + + /** + * @param securityGroup Security group used in authorization policies + * + * @return builder + * + */ + public Builder securityGroup(String securityGroup) { + return securityGroup(Output.of(securityGroup)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthorizationGlobalExceptionRuleState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationProfileAdvancedAttributeArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationProfileAdvancedAttributeArgs.java new file mode 100644 index 0000000..65759a0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationProfileAdvancedAttributeArgs.java @@ -0,0 +1,272 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationProfileAdvancedAttributeArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationProfileAdvancedAttributeArgs Empty = new AuthorizationProfileAdvancedAttributeArgs(); + + /** + * Dictionary name + * + */ + @Import(name="attributeLeftDictionaryName") + private @Nullable Output attributeLeftDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> attributeLeftDictionaryName() { + return Optional.ofNullable(this.attributeLeftDictionaryName); + } + + /** + * Attribute name + * + */ + @Import(name="attributeLeftName") + private @Nullable Output attributeLeftName; + + /** + * @return Attribute name + * + */ + public Optional> attributeLeftName() { + return Optional.ofNullable(this.attributeLeftName); + } + + /** + * Dictionary name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + */ + @Import(name="attributeRightDictionaryName") + private @Nullable Output attributeRightDictionaryName; + + /** + * @return Dictionary name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + */ + public Optional> attributeRightDictionaryName() { + return Optional.ofNullable(this.attributeRightDictionaryName); + } + + /** + * Attribute name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + */ + @Import(name="attributeRightName") + private @Nullable Output attributeRightName; + + /** + * @return Attribute name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + */ + public Optional> attributeRightName() { + return Optional.ofNullable(this.attributeRightName); + } + + /** + * Attribute value, only required when `attribute_right_value_type` is `AttributeValue` + * + */ + @Import(name="attributeRightValue") + private @Nullable Output attributeRightValue; + + /** + * @return Attribute value, only required when `attribute_right_value_type` is `AttributeValue` + * + */ + public Optional> attributeRightValue() { + return Optional.ofNullable(this.attributeRightValue); + } + + /** + * Advanced attribute value type + * - Choices: `AdvancedDictionaryAttribute`, `AttributeValue` + * + */ + @Import(name="attributeRightValueType") + private @Nullable Output attributeRightValueType; + + /** + * @return Advanced attribute value type + * - Choices: `AdvancedDictionaryAttribute`, `AttributeValue` + * + */ + public Optional> attributeRightValueType() { + return Optional.ofNullable(this.attributeRightValueType); + } + + private AuthorizationProfileAdvancedAttributeArgs() {} + + private AuthorizationProfileAdvancedAttributeArgs(AuthorizationProfileAdvancedAttributeArgs $) { + this.attributeLeftDictionaryName = $.attributeLeftDictionaryName; + this.attributeLeftName = $.attributeLeftName; + this.attributeRightDictionaryName = $.attributeRightDictionaryName; + this.attributeRightName = $.attributeRightName; + this.attributeRightValue = $.attributeRightValue; + this.attributeRightValueType = $.attributeRightValueType; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationProfileAdvancedAttributeArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationProfileAdvancedAttributeArgs $; + + public Builder() { + $ = new AuthorizationProfileAdvancedAttributeArgs(); + } + + public Builder(AuthorizationProfileAdvancedAttributeArgs defaults) { + $ = new AuthorizationProfileAdvancedAttributeArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeLeftDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder attributeLeftDictionaryName(@Nullable Output attributeLeftDictionaryName) { + $.attributeLeftDictionaryName = attributeLeftDictionaryName; + return this; + } + + /** + * @param attributeLeftDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder attributeLeftDictionaryName(String attributeLeftDictionaryName) { + return attributeLeftDictionaryName(Output.of(attributeLeftDictionaryName)); + } + + /** + * @param attributeLeftName Attribute name + * + * @return builder + * + */ + public Builder attributeLeftName(@Nullable Output attributeLeftName) { + $.attributeLeftName = attributeLeftName; + return this; + } + + /** + * @param attributeLeftName Attribute name + * + * @return builder + * + */ + public Builder attributeLeftName(String attributeLeftName) { + return attributeLeftName(Output.of(attributeLeftName)); + } + + /** + * @param attributeRightDictionaryName Dictionary name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + * @return builder + * + */ + public Builder attributeRightDictionaryName(@Nullable Output attributeRightDictionaryName) { + $.attributeRightDictionaryName = attributeRightDictionaryName; + return this; + } + + /** + * @param attributeRightDictionaryName Dictionary name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + * @return builder + * + */ + public Builder attributeRightDictionaryName(String attributeRightDictionaryName) { + return attributeRightDictionaryName(Output.of(attributeRightDictionaryName)); + } + + /** + * @param attributeRightName Attribute name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + * @return builder + * + */ + public Builder attributeRightName(@Nullable Output attributeRightName) { + $.attributeRightName = attributeRightName; + return this; + } + + /** + * @param attributeRightName Attribute name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + * @return builder + * + */ + public Builder attributeRightName(String attributeRightName) { + return attributeRightName(Output.of(attributeRightName)); + } + + /** + * @param attributeRightValue Attribute value, only required when `attribute_right_value_type` is `AttributeValue` + * + * @return builder + * + */ + public Builder attributeRightValue(@Nullable Output attributeRightValue) { + $.attributeRightValue = attributeRightValue; + return this; + } + + /** + * @param attributeRightValue Attribute value, only required when `attribute_right_value_type` is `AttributeValue` + * + * @return builder + * + */ + public Builder attributeRightValue(String attributeRightValue) { + return attributeRightValue(Output.of(attributeRightValue)); + } + + /** + * @param attributeRightValueType Advanced attribute value type + * - Choices: `AdvancedDictionaryAttribute`, `AttributeValue` + * + * @return builder + * + */ + public Builder attributeRightValueType(@Nullable Output attributeRightValueType) { + $.attributeRightValueType = attributeRightValueType; + return this; + } + + /** + * @param attributeRightValueType Advanced attribute value type + * - Choices: `AdvancedDictionaryAttribute`, `AttributeValue` + * + * @return builder + * + */ + public Builder attributeRightValueType(String attributeRightValueType) { + return attributeRightValueType(Output.of(attributeRightValueType)); + } + + public AuthorizationProfileAdvancedAttributeArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationProfileState.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationProfileState.java new file mode 100644 index 0000000..36130ca --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationProfileState.java @@ -0,0 +1,1289 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.networkaccess.inputs.AuthorizationProfileAdvancedAttributeArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationProfileState extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationProfileState Empty = new AuthorizationProfileState(); + + /** + * Access type - Choices: `ACCESS_ACCEPT`, `ACCESS_REJECT` - Default value: `ACCESS_ACCEPT` + * + */ + @Import(name="accessType") + private @Nullable Output accessType; + + /** + * @return Access type - Choices: `ACCESS_ACCEPT`, `ACCESS_REJECT` - Default value: `ACCESS_ACCEPT` + * + */ + public Optional> accessType() { + return Optional.ofNullable(this.accessType); + } + + /** + * ACL + * + */ + @Import(name="acl") + private @Nullable Output acl; + + /** + * @return ACL + * + */ + public Optional> acl() { + return Optional.ofNullable(this.acl); + } + + /** + * List of advanced attributes + * + */ + @Import(name="advancedAttributes") + private @Nullable Output> advancedAttributes; + + /** + * @return List of advanced attributes + * + */ + public Optional>> advancedAttributes() { + return Optional.ofNullable(this.advancedAttributes); + } + + /** + * Agentless Posture. + * + */ + @Import(name="agentlessPosture") + private @Nullable Output agentlessPosture; + + /** + * @return Agentless Posture. + * + */ + public Optional> agentlessPosture() { + return Optional.ofNullable(this.agentlessPosture); + } + + /** + * Airespace ACL + * + */ + @Import(name="airespaceAcl") + private @Nullable Output airespaceAcl; + + /** + * @return Airespace ACL + * + */ + public Optional> airespaceAcl() { + return Optional.ofNullable(this.airespaceAcl); + } + + /** + * Airespace IPv6 ACL + * + */ + @Import(name="airespaceIpv6Acl") + private @Nullable Output airespaceIpv6Acl; + + /** + * @return Airespace IPv6 ACL + * + */ + public Optional> airespaceIpv6Acl() { + return Optional.ofNullable(this.airespaceIpv6Acl); + } + + /** + * ASA VPN + * + */ + @Import(name="asaVpn") + private @Nullable Output asaVpn; + + /** + * @return ASA VPN + * + */ + public Optional> asaVpn() { + return Optional.ofNullable(this.asaVpn); + } + + /** + * Auto smart port + * + */ + @Import(name="autoSmartPort") + private @Nullable Output autoSmartPort; + + /** + * @return Auto smart port + * + */ + public Optional> autoSmartPort() { + return Optional.ofNullable(this.autoSmartPort); + } + + /** + * AVC profile + * + */ + @Import(name="avcProfile") + private @Nullable Output avcProfile; + + /** + * @return AVC profile + * + */ + public Optional> avcProfile() { + return Optional.ofNullable(this.avcProfile); + } + + /** + * DACL name + * + */ + @Import(name="daclName") + private @Nullable Output daclName; + + /** + * @return DACL name + * + */ + public Optional> daclName() { + return Optional.ofNullable(this.daclName); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Easy wired session candidate - Default value: `false` + * + */ + @Import(name="easywiredSessionCandidate") + private @Nullable Output easywiredSessionCandidate; + + /** + * @return Easy wired session candidate - Default value: `false` + * + */ + public Optional> easywiredSessionCandidate() { + return Optional.ofNullable(this.easywiredSessionCandidate); + } + + /** + * Interface template + * + */ + @Import(name="interfaceTemplate") + private @Nullable Output interfaceTemplate; + + /** + * @return Interface template + * + */ + public Optional> interfaceTemplate() { + return Optional.ofNullable(this.interfaceTemplate); + } + + /** + * IPv6 ACL + * + */ + @Import(name="ipv6AclFilter") + private @Nullable Output ipv6AclFilter; + + /** + * @return IPv6 ACL + * + */ + public Optional> ipv6AclFilter() { + return Optional.ofNullable(this.ipv6AclFilter); + } + + /** + * IPv6 DACL name + * + */ + @Import(name="ipv6DaclName") + private @Nullable Output ipv6DaclName; + + /** + * @return IPv6 DACL name + * + */ + public Optional> ipv6DaclName() { + return Optional.ofNullable(this.ipv6DaclName); + } + + /** + * MacSec policy - Choices: `MUST_SECURE`, `MUST_NOT_SECURE`, `SHOULD_SECURE` + * + */ + @Import(name="macSecPolicy") + private @Nullable Output macSecPolicy; + + /** + * @return MacSec policy - Choices: `MUST_SECURE`, `MUST_NOT_SECURE`, `SHOULD_SECURE` + * + */ + public Optional> macSecPolicy() { + return Optional.ofNullable(this.macSecPolicy); + } + + /** + * The name of the authorization profile + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the authorization profile + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * NEAT - Default value: `false` + * + */ + @Import(name="neat") + private @Nullable Output neat; + + /** + * @return NEAT - Default value: `false` + * + */ + public Optional> neat() { + return Optional.ofNullable(this.neat); + } + + /** + * Value needs to be an existing Network Device Profile - Default value: `Cisco` + * + */ + @Import(name="profileName") + private @Nullable Output profileName; + + /** + * @return Value needs to be an existing Network Device Profile - Default value: `Cisco` + * + */ + public Optional> profileName() { + return Optional.ofNullable(this.profileName); + } + + /** + * Maintain Connectivity During Reauthentication - Choices: `DEFAULT`, `RADIUS_REQUEST` + * + */ + @Import(name="reauthenticationConnectivity") + private @Nullable Output reauthenticationConnectivity; + + /** + * @return Maintain Connectivity During Reauthentication - Choices: `DEFAULT`, `RADIUS_REQUEST` + * + */ + public Optional> reauthenticationConnectivity() { + return Optional.ofNullable(this.reauthenticationConnectivity); + } + + /** + * Reauthentication timer - Range: `1`-`65535` + * + */ + @Import(name="reauthenticationTimer") + private @Nullable Output reauthenticationTimer; + + /** + * @return Reauthentication timer - Range: `1`-`65535` + * + */ + public Optional> reauthenticationTimer() { + return Optional.ofNullable(this.reauthenticationTimer); + } + + /** + * Service template - Default value: `false` + * + */ + @Import(name="serviceTemplate") + private @Nullable Output serviceTemplate; + + /** + * @return Service template - Default value: `false` + * + */ + public Optional> serviceTemplate() { + return Optional.ofNullable(this.serviceTemplate); + } + + /** + * Track movement - Default value: `false` + * + */ + @Import(name="trackMovement") + private @Nullable Output trackMovement; + + /** + * @return Track movement - Default value: `false` + * + */ + public Optional> trackMovement() { + return Optional.ofNullable(this.trackMovement); + } + + /** + * Unique identifier + * + */ + @Import(name="uniqueIdentifier") + private @Nullable Output uniqueIdentifier; + + /** + * @return Unique identifier + * + */ + public Optional> uniqueIdentifier() { + return Optional.ofNullable(this.uniqueIdentifier); + } + + /** + * Vlan name or ID + * + */ + @Import(name="vlanNameId") + private @Nullable Output vlanNameId; + + /** + * @return Vlan name or ID + * + */ + public Optional> vlanNameId() { + return Optional.ofNullable(this.vlanNameId); + } + + /** + * Vlan tag ID - Range: `0`-`31` + * + */ + @Import(name="vlanTagId") + private @Nullable Output vlanTagId; + + /** + * @return Vlan tag ID - Range: `0`-`31` + * + */ + public Optional> vlanTagId() { + return Optional.ofNullable(this.vlanTagId); + } + + /** + * Voice domain permission - Default value: `false` + * + */ + @Import(name="voiceDomainPermission") + private @Nullable Output voiceDomainPermission; + + /** + * @return Voice domain permission - Default value: `false` + * + */ + public Optional> voiceDomainPermission() { + return Optional.ofNullable(this.voiceDomainPermission); + } + + /** + * Web authentication (local) - Default value: `false` + * + */ + @Import(name="webAuth") + private @Nullable Output webAuth; + + /** + * @return Web authentication (local) - Default value: `false` + * + */ + public Optional> webAuth() { + return Optional.ofNullable(this.webAuth); + } + + /** + * Web redirection ACL + * + */ + @Import(name="webRedirectionAcl") + private @Nullable Output webRedirectionAcl; + + /** + * @return Web redirection ACL + * + */ + public Optional> webRedirectionAcl() { + return Optional.ofNullable(this.webRedirectionAcl); + } + + /** + * This attribute is mandatory when `web_redirection_type` value is `CentralizedWebAuth`. For all other + * `web_redirection_type` values the field must be ignored. + * + */ + @Import(name="webRedirectionDisplayCertificatesRenewalMessages") + private @Nullable Output webRedirectionDisplayCertificatesRenewalMessages; + + /** + * @return This attribute is mandatory when `web_redirection_type` value is `CentralizedWebAuth`. For all other + * `web_redirection_type` values the field must be ignored. + * + */ + public Optional> webRedirectionDisplayCertificatesRenewalMessages() { + return Optional.ofNullable(this.webRedirectionDisplayCertificatesRenewalMessages); + } + + /** + * A portal that exist in the DB and fits the `web_redirection_type` + * + */ + @Import(name="webRedirectionPortalName") + private @Nullable Output webRedirectionPortalName; + + /** + * @return A portal that exist in the DB and fits the `web_redirection_type` + * + */ + public Optional> webRedirectionPortalName() { + return Optional.ofNullable(this.webRedirectionPortalName); + } + + /** + * IP, hostname or FQDN + * + */ + @Import(name="webRedirectionStaticIpHostNameFqdn") + private @Nullable Output webRedirectionStaticIpHostNameFqdn; + + /** + * @return IP, hostname or FQDN + * + */ + public Optional> webRedirectionStaticIpHostNameFqdn() { + return Optional.ofNullable(this.webRedirectionStaticIpHostNameFqdn); + } + + /** + * This type must fit the `web_redirection_portal_name` - Choices: `CentralizedWebAuth`, `HotSpot`, + * `NativeSupplicanProvisioning`, `ClientProvisioning` + * + */ + @Import(name="webRedirectionType") + private @Nullable Output webRedirectionType; + + /** + * @return This type must fit the `web_redirection_portal_name` - Choices: `CentralizedWebAuth`, `HotSpot`, + * `NativeSupplicanProvisioning`, `ClientProvisioning` + * + */ + public Optional> webRedirectionType() { + return Optional.ofNullable(this.webRedirectionType); + } + + private AuthorizationProfileState() {} + + private AuthorizationProfileState(AuthorizationProfileState $) { + this.accessType = $.accessType; + this.acl = $.acl; + this.advancedAttributes = $.advancedAttributes; + this.agentlessPosture = $.agentlessPosture; + this.airespaceAcl = $.airespaceAcl; + this.airespaceIpv6Acl = $.airespaceIpv6Acl; + this.asaVpn = $.asaVpn; + this.autoSmartPort = $.autoSmartPort; + this.avcProfile = $.avcProfile; + this.daclName = $.daclName; + this.description = $.description; + this.easywiredSessionCandidate = $.easywiredSessionCandidate; + this.interfaceTemplate = $.interfaceTemplate; + this.ipv6AclFilter = $.ipv6AclFilter; + this.ipv6DaclName = $.ipv6DaclName; + this.macSecPolicy = $.macSecPolicy; + this.name = $.name; + this.neat = $.neat; + this.profileName = $.profileName; + this.reauthenticationConnectivity = $.reauthenticationConnectivity; + this.reauthenticationTimer = $.reauthenticationTimer; + this.serviceTemplate = $.serviceTemplate; + this.trackMovement = $.trackMovement; + this.uniqueIdentifier = $.uniqueIdentifier; + this.vlanNameId = $.vlanNameId; + this.vlanTagId = $.vlanTagId; + this.voiceDomainPermission = $.voiceDomainPermission; + this.webAuth = $.webAuth; + this.webRedirectionAcl = $.webRedirectionAcl; + this.webRedirectionDisplayCertificatesRenewalMessages = $.webRedirectionDisplayCertificatesRenewalMessages; + this.webRedirectionPortalName = $.webRedirectionPortalName; + this.webRedirectionStaticIpHostNameFqdn = $.webRedirectionStaticIpHostNameFqdn; + this.webRedirectionType = $.webRedirectionType; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationProfileState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationProfileState $; + + public Builder() { + $ = new AuthorizationProfileState(); + } + + public Builder(AuthorizationProfileState defaults) { + $ = new AuthorizationProfileState(Objects.requireNonNull(defaults)); + } + + /** + * @param accessType Access type - Choices: `ACCESS_ACCEPT`, `ACCESS_REJECT` - Default value: `ACCESS_ACCEPT` + * + * @return builder + * + */ + public Builder accessType(@Nullable Output accessType) { + $.accessType = accessType; + return this; + } + + /** + * @param accessType Access type - Choices: `ACCESS_ACCEPT`, `ACCESS_REJECT` - Default value: `ACCESS_ACCEPT` + * + * @return builder + * + */ + public Builder accessType(String accessType) { + return accessType(Output.of(accessType)); + } + + /** + * @param acl ACL + * + * @return builder + * + */ + public Builder acl(@Nullable Output acl) { + $.acl = acl; + return this; + } + + /** + * @param acl ACL + * + * @return builder + * + */ + public Builder acl(String acl) { + return acl(Output.of(acl)); + } + + /** + * @param advancedAttributes List of advanced attributes + * + * @return builder + * + */ + public Builder advancedAttributes(@Nullable Output> advancedAttributes) { + $.advancedAttributes = advancedAttributes; + return this; + } + + /** + * @param advancedAttributes List of advanced attributes + * + * @return builder + * + */ + public Builder advancedAttributes(List advancedAttributes) { + return advancedAttributes(Output.of(advancedAttributes)); + } + + /** + * @param advancedAttributes List of advanced attributes + * + * @return builder + * + */ + public Builder advancedAttributes(AuthorizationProfileAdvancedAttributeArgs... advancedAttributes) { + return advancedAttributes(List.of(advancedAttributes)); + } + + /** + * @param agentlessPosture Agentless Posture. + * + * @return builder + * + */ + public Builder agentlessPosture(@Nullable Output agentlessPosture) { + $.agentlessPosture = agentlessPosture; + return this; + } + + /** + * @param agentlessPosture Agentless Posture. + * + * @return builder + * + */ + public Builder agentlessPosture(Boolean agentlessPosture) { + return agentlessPosture(Output.of(agentlessPosture)); + } + + /** + * @param airespaceAcl Airespace ACL + * + * @return builder + * + */ + public Builder airespaceAcl(@Nullable Output airespaceAcl) { + $.airespaceAcl = airespaceAcl; + return this; + } + + /** + * @param airespaceAcl Airespace ACL + * + * @return builder + * + */ + public Builder airespaceAcl(String airespaceAcl) { + return airespaceAcl(Output.of(airespaceAcl)); + } + + /** + * @param airespaceIpv6Acl Airespace IPv6 ACL + * + * @return builder + * + */ + public Builder airespaceIpv6Acl(@Nullable Output airespaceIpv6Acl) { + $.airespaceIpv6Acl = airespaceIpv6Acl; + return this; + } + + /** + * @param airespaceIpv6Acl Airespace IPv6 ACL + * + * @return builder + * + */ + public Builder airespaceIpv6Acl(String airespaceIpv6Acl) { + return airespaceIpv6Acl(Output.of(airespaceIpv6Acl)); + } + + /** + * @param asaVpn ASA VPN + * + * @return builder + * + */ + public Builder asaVpn(@Nullable Output asaVpn) { + $.asaVpn = asaVpn; + return this; + } + + /** + * @param asaVpn ASA VPN + * + * @return builder + * + */ + public Builder asaVpn(String asaVpn) { + return asaVpn(Output.of(asaVpn)); + } + + /** + * @param autoSmartPort Auto smart port + * + * @return builder + * + */ + public Builder autoSmartPort(@Nullable Output autoSmartPort) { + $.autoSmartPort = autoSmartPort; + return this; + } + + /** + * @param autoSmartPort Auto smart port + * + * @return builder + * + */ + public Builder autoSmartPort(String autoSmartPort) { + return autoSmartPort(Output.of(autoSmartPort)); + } + + /** + * @param avcProfile AVC profile + * + * @return builder + * + */ + public Builder avcProfile(@Nullable Output avcProfile) { + $.avcProfile = avcProfile; + return this; + } + + /** + * @param avcProfile AVC profile + * + * @return builder + * + */ + public Builder avcProfile(String avcProfile) { + return avcProfile(Output.of(avcProfile)); + } + + /** + * @param daclName DACL name + * + * @return builder + * + */ + public Builder daclName(@Nullable Output daclName) { + $.daclName = daclName; + return this; + } + + /** + * @param daclName DACL name + * + * @return builder + * + */ + public Builder daclName(String daclName) { + return daclName(Output.of(daclName)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param easywiredSessionCandidate Easy wired session candidate - Default value: `false` + * + * @return builder + * + */ + public Builder easywiredSessionCandidate(@Nullable Output easywiredSessionCandidate) { + $.easywiredSessionCandidate = easywiredSessionCandidate; + return this; + } + + /** + * @param easywiredSessionCandidate Easy wired session candidate - Default value: `false` + * + * @return builder + * + */ + public Builder easywiredSessionCandidate(Boolean easywiredSessionCandidate) { + return easywiredSessionCandidate(Output.of(easywiredSessionCandidate)); + } + + /** + * @param interfaceTemplate Interface template + * + * @return builder + * + */ + public Builder interfaceTemplate(@Nullable Output interfaceTemplate) { + $.interfaceTemplate = interfaceTemplate; + return this; + } + + /** + * @param interfaceTemplate Interface template + * + * @return builder + * + */ + public Builder interfaceTemplate(String interfaceTemplate) { + return interfaceTemplate(Output.of(interfaceTemplate)); + } + + /** + * @param ipv6AclFilter IPv6 ACL + * + * @return builder + * + */ + public Builder ipv6AclFilter(@Nullable Output ipv6AclFilter) { + $.ipv6AclFilter = ipv6AclFilter; + return this; + } + + /** + * @param ipv6AclFilter IPv6 ACL + * + * @return builder + * + */ + public Builder ipv6AclFilter(String ipv6AclFilter) { + return ipv6AclFilter(Output.of(ipv6AclFilter)); + } + + /** + * @param ipv6DaclName IPv6 DACL name + * + * @return builder + * + */ + public Builder ipv6DaclName(@Nullable Output ipv6DaclName) { + $.ipv6DaclName = ipv6DaclName; + return this; + } + + /** + * @param ipv6DaclName IPv6 DACL name + * + * @return builder + * + */ + public Builder ipv6DaclName(String ipv6DaclName) { + return ipv6DaclName(Output.of(ipv6DaclName)); + } + + /** + * @param macSecPolicy MacSec policy - Choices: `MUST_SECURE`, `MUST_NOT_SECURE`, `SHOULD_SECURE` + * + * @return builder + * + */ + public Builder macSecPolicy(@Nullable Output macSecPolicy) { + $.macSecPolicy = macSecPolicy; + return this; + } + + /** + * @param macSecPolicy MacSec policy - Choices: `MUST_SECURE`, `MUST_NOT_SECURE`, `SHOULD_SECURE` + * + * @return builder + * + */ + public Builder macSecPolicy(String macSecPolicy) { + return macSecPolicy(Output.of(macSecPolicy)); + } + + /** + * @param name The name of the authorization profile + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the authorization profile + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param neat NEAT - Default value: `false` + * + * @return builder + * + */ + public Builder neat(@Nullable Output neat) { + $.neat = neat; + return this; + } + + /** + * @param neat NEAT - Default value: `false` + * + * @return builder + * + */ + public Builder neat(Boolean neat) { + return neat(Output.of(neat)); + } + + /** + * @param profileName Value needs to be an existing Network Device Profile - Default value: `Cisco` + * + * @return builder + * + */ + public Builder profileName(@Nullable Output profileName) { + $.profileName = profileName; + return this; + } + + /** + * @param profileName Value needs to be an existing Network Device Profile - Default value: `Cisco` + * + * @return builder + * + */ + public Builder profileName(String profileName) { + return profileName(Output.of(profileName)); + } + + /** + * @param reauthenticationConnectivity Maintain Connectivity During Reauthentication - Choices: `DEFAULT`, `RADIUS_REQUEST` + * + * @return builder + * + */ + public Builder reauthenticationConnectivity(@Nullable Output reauthenticationConnectivity) { + $.reauthenticationConnectivity = reauthenticationConnectivity; + return this; + } + + /** + * @param reauthenticationConnectivity Maintain Connectivity During Reauthentication - Choices: `DEFAULT`, `RADIUS_REQUEST` + * + * @return builder + * + */ + public Builder reauthenticationConnectivity(String reauthenticationConnectivity) { + return reauthenticationConnectivity(Output.of(reauthenticationConnectivity)); + } + + /** + * @param reauthenticationTimer Reauthentication timer - Range: `1`-`65535` + * + * @return builder + * + */ + public Builder reauthenticationTimer(@Nullable Output reauthenticationTimer) { + $.reauthenticationTimer = reauthenticationTimer; + return this; + } + + /** + * @param reauthenticationTimer Reauthentication timer - Range: `1`-`65535` + * + * @return builder + * + */ + public Builder reauthenticationTimer(Integer reauthenticationTimer) { + return reauthenticationTimer(Output.of(reauthenticationTimer)); + } + + /** + * @param serviceTemplate Service template - Default value: `false` + * + * @return builder + * + */ + public Builder serviceTemplate(@Nullable Output serviceTemplate) { + $.serviceTemplate = serviceTemplate; + return this; + } + + /** + * @param serviceTemplate Service template - Default value: `false` + * + * @return builder + * + */ + public Builder serviceTemplate(Boolean serviceTemplate) { + return serviceTemplate(Output.of(serviceTemplate)); + } + + /** + * @param trackMovement Track movement - Default value: `false` + * + * @return builder + * + */ + public Builder trackMovement(@Nullable Output trackMovement) { + $.trackMovement = trackMovement; + return this; + } + + /** + * @param trackMovement Track movement - Default value: `false` + * + * @return builder + * + */ + public Builder trackMovement(Boolean trackMovement) { + return trackMovement(Output.of(trackMovement)); + } + + /** + * @param uniqueIdentifier Unique identifier + * + * @return builder + * + */ + public Builder uniqueIdentifier(@Nullable Output uniqueIdentifier) { + $.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * @param uniqueIdentifier Unique identifier + * + * @return builder + * + */ + public Builder uniqueIdentifier(String uniqueIdentifier) { + return uniqueIdentifier(Output.of(uniqueIdentifier)); + } + + /** + * @param vlanNameId Vlan name or ID + * + * @return builder + * + */ + public Builder vlanNameId(@Nullable Output vlanNameId) { + $.vlanNameId = vlanNameId; + return this; + } + + /** + * @param vlanNameId Vlan name or ID + * + * @return builder + * + */ + public Builder vlanNameId(String vlanNameId) { + return vlanNameId(Output.of(vlanNameId)); + } + + /** + * @param vlanTagId Vlan tag ID - Range: `0`-`31` + * + * @return builder + * + */ + public Builder vlanTagId(@Nullable Output vlanTagId) { + $.vlanTagId = vlanTagId; + return this; + } + + /** + * @param vlanTagId Vlan tag ID - Range: `0`-`31` + * + * @return builder + * + */ + public Builder vlanTagId(Integer vlanTagId) { + return vlanTagId(Output.of(vlanTagId)); + } + + /** + * @param voiceDomainPermission Voice domain permission - Default value: `false` + * + * @return builder + * + */ + public Builder voiceDomainPermission(@Nullable Output voiceDomainPermission) { + $.voiceDomainPermission = voiceDomainPermission; + return this; + } + + /** + * @param voiceDomainPermission Voice domain permission - Default value: `false` + * + * @return builder + * + */ + public Builder voiceDomainPermission(Boolean voiceDomainPermission) { + return voiceDomainPermission(Output.of(voiceDomainPermission)); + } + + /** + * @param webAuth Web authentication (local) - Default value: `false` + * + * @return builder + * + */ + public Builder webAuth(@Nullable Output webAuth) { + $.webAuth = webAuth; + return this; + } + + /** + * @param webAuth Web authentication (local) - Default value: `false` + * + * @return builder + * + */ + public Builder webAuth(Boolean webAuth) { + return webAuth(Output.of(webAuth)); + } + + /** + * @param webRedirectionAcl Web redirection ACL + * + * @return builder + * + */ + public Builder webRedirectionAcl(@Nullable Output webRedirectionAcl) { + $.webRedirectionAcl = webRedirectionAcl; + return this; + } + + /** + * @param webRedirectionAcl Web redirection ACL + * + * @return builder + * + */ + public Builder webRedirectionAcl(String webRedirectionAcl) { + return webRedirectionAcl(Output.of(webRedirectionAcl)); + } + + /** + * @param webRedirectionDisplayCertificatesRenewalMessages This attribute is mandatory when `web_redirection_type` value is `CentralizedWebAuth`. For all other + * `web_redirection_type` values the field must be ignored. + * + * @return builder + * + */ + public Builder webRedirectionDisplayCertificatesRenewalMessages(@Nullable Output webRedirectionDisplayCertificatesRenewalMessages) { + $.webRedirectionDisplayCertificatesRenewalMessages = webRedirectionDisplayCertificatesRenewalMessages; + return this; + } + + /** + * @param webRedirectionDisplayCertificatesRenewalMessages This attribute is mandatory when `web_redirection_type` value is `CentralizedWebAuth`. For all other + * `web_redirection_type` values the field must be ignored. + * + * @return builder + * + */ + public Builder webRedirectionDisplayCertificatesRenewalMessages(Boolean webRedirectionDisplayCertificatesRenewalMessages) { + return webRedirectionDisplayCertificatesRenewalMessages(Output.of(webRedirectionDisplayCertificatesRenewalMessages)); + } + + /** + * @param webRedirectionPortalName A portal that exist in the DB and fits the `web_redirection_type` + * + * @return builder + * + */ + public Builder webRedirectionPortalName(@Nullable Output webRedirectionPortalName) { + $.webRedirectionPortalName = webRedirectionPortalName; + return this; + } + + /** + * @param webRedirectionPortalName A portal that exist in the DB and fits the `web_redirection_type` + * + * @return builder + * + */ + public Builder webRedirectionPortalName(String webRedirectionPortalName) { + return webRedirectionPortalName(Output.of(webRedirectionPortalName)); + } + + /** + * @param webRedirectionStaticIpHostNameFqdn IP, hostname or FQDN + * + * @return builder + * + */ + public Builder webRedirectionStaticIpHostNameFqdn(@Nullable Output webRedirectionStaticIpHostNameFqdn) { + $.webRedirectionStaticIpHostNameFqdn = webRedirectionStaticIpHostNameFqdn; + return this; + } + + /** + * @param webRedirectionStaticIpHostNameFqdn IP, hostname or FQDN + * + * @return builder + * + */ + public Builder webRedirectionStaticIpHostNameFqdn(String webRedirectionStaticIpHostNameFqdn) { + return webRedirectionStaticIpHostNameFqdn(Output.of(webRedirectionStaticIpHostNameFqdn)); + } + + /** + * @param webRedirectionType This type must fit the `web_redirection_portal_name` - Choices: `CentralizedWebAuth`, `HotSpot`, + * `NativeSupplicanProvisioning`, `ClientProvisioning` + * + * @return builder + * + */ + public Builder webRedirectionType(@Nullable Output webRedirectionType) { + $.webRedirectionType = webRedirectionType; + return this; + } + + /** + * @param webRedirectionType This type must fit the `web_redirection_portal_name` - Choices: `CentralizedWebAuth`, `HotSpot`, + * `NativeSupplicanProvisioning`, `ClientProvisioning` + * + * @return builder + * + */ + public Builder webRedirectionType(String webRedirectionType) { + return webRedirectionType(Output.of(webRedirectionType)); + } + + public AuthorizationProfileState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationRuleChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationRuleChildrenArgs.java new file mode 100644 index 0000000..1df82bc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationRuleChildrenArgs.java @@ -0,0 +1,404 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.inputs.AuthorizationRuleChildrenChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationRuleChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationRuleChildrenArgs Empty = new AuthorizationRuleChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthorizationRuleChildrenArgs() {} + + private AuthorizationRuleChildrenArgs(AuthorizationRuleChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationRuleChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationRuleChildrenArgs $; + + public Builder() { + $ = new AuthorizationRuleChildrenArgs(); + } + + public Builder(AuthorizationRuleChildrenArgs defaults) { + $ = new AuthorizationRuleChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationRuleChildrenChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthorizationRuleChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationRuleChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationRuleChildrenChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationRuleChildrenChildrenArgs.java new file mode 100644 index 0000000..7fca1a8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationRuleChildrenChildrenArgs.java @@ -0,0 +1,355 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationRuleChildrenChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationRuleChildrenChildrenArgs Empty = new AuthorizationRuleChildrenChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private AuthorizationRuleChildrenChildrenArgs() {} + + private AuthorizationRuleChildrenChildrenArgs(AuthorizationRuleChildrenChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationRuleChildrenChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationRuleChildrenChildrenArgs $; + + public Builder() { + $ = new AuthorizationRuleChildrenChildrenArgs(); + } + + public Builder(AuthorizationRuleChildrenChildrenArgs defaults) { + $ = new AuthorizationRuleChildrenChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public AuthorizationRuleChildrenChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationRuleChildrenChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationRuleState.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationRuleState.java new file mode 100644 index 0000000..00bd503 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/AuthorizationRuleState.java @@ -0,0 +1,678 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.networkaccess.inputs.AuthorizationRuleChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthorizationRuleState extends com.pulumi.resources.ResourceArgs { + + public static final AuthorizationRuleState Empty = new AuthorizationRuleState(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this rule is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this rule is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId") + private @Nullable Output policySetId; + + /** + * @return Policy set ID + * + */ + public Optional> policySetId() { + return Optional.ofNullable(this.policySetId); + } + + /** + * The authorization profile(s) + * + */ + @Import(name="profiles") + private @Nullable Output> profiles; + + /** + * @return The authorization profile(s) + * + */ + public Optional>> profiles() { + return Optional.ofNullable(this.profiles); + } + + /** + * The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * Security group used in authorization policies + * + */ + @Import(name="securityGroup") + private @Nullable Output securityGroup; + + /** + * @return Security group used in authorization policies + * + */ + public Optional> securityGroup() { + return Optional.ofNullable(this.securityGroup); + } + + /** + * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AuthorizationRuleState() {} + + private AuthorizationRuleState(AuthorizationRuleState $) { + this.childrens = $.childrens; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.name = $.name; + this.policySetId = $.policySetId; + this.profiles = $.profiles; + this.rank = $.rank; + this.securityGroup = $.securityGroup; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthorizationRuleState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthorizationRuleState $; + + public Builder() { + $ = new AuthorizationRuleState(); + } + + public Builder(AuthorizationRuleState defaults) { + $ = new AuthorizationRuleState(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(AuthorizationRuleChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this rule is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(@Nullable Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(@Nullable Output> profiles) { + $.profiles = profiles; + return this; + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(List profiles) { + return profiles(Output.of(profiles)); + } + + /** + * @param profiles The authorization profile(s) + * + * @return builder + * + */ + public Builder profiles(String... profiles) { + return profiles(List.of(profiles)); + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other rules. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param securityGroup Security group used in authorization policies + * + * @return builder + * + */ + public Builder securityGroup(@Nullable Output securityGroup) { + $.securityGroup = securityGroup; + return this; + } + + /** + * @param securityGroup Security group used in authorization policies + * + * @return builder + * + */ + public Builder securityGroup(String securityGroup) { + return securityGroup(Output.of(securityGroup)); + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AuthorizationRuleState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/ConditionChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/ConditionChildrenArgs.java new file mode 100644 index 0000000..3311131 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/ConditionChildrenArgs.java @@ -0,0 +1,478 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.inputs.ConditionChildrenChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ConditionChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final ConditionChildrenArgs Empty = new ConditionChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Condition description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Condition description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private ConditionChildrenArgs() {} + + private ConditionChildrenArgs(ConditionChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.description = $.description; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.name = $.name; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ConditionChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ConditionChildrenArgs $; + + public Builder() { + $ = new ConditionChildrenArgs(); + } + + public Builder(ConditionChildrenArgs defaults) { + $ = new ConditionChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(ConditionChildrenChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public ConditionChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("ConditionChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/ConditionChildrenChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/ConditionChildrenChildrenArgs.java new file mode 100644 index 0000000..7863921 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/ConditionChildrenChildrenArgs.java @@ -0,0 +1,429 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ConditionChildrenChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final ConditionChildrenChildrenArgs Empty = new ConditionChildrenChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Condition description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Condition description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private ConditionChildrenChildrenArgs() {} + + private ConditionChildrenChildrenArgs(ConditionChildrenChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.conditionType = $.conditionType; + this.description = $.description; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.name = $.name; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ConditionChildrenChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ConditionChildrenChildrenArgs $; + + public Builder() { + $ = new ConditionChildrenChildrenArgs(); + } + + public Builder(ConditionChildrenChildrenArgs defaults) { + $ = new ConditionChildrenChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public ConditionChildrenChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("ConditionChildrenChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/ConditionState.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/ConditionState.java new file mode 100644 index 0000000..a99397e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/ConditionState.java @@ -0,0 +1,445 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.networkaccess.inputs.ConditionChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ConditionState extends com.pulumi.resources.ResourceArgs { + + public static final ConditionState Empty = new ConditionState(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Condition description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Condition description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private ConditionState() {} + + private ConditionState(ConditionState $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.description = $.description; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.isNegate = $.isNegate; + this.name = $.name; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ConditionState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ConditionState $; + + public Builder() { + $ = new ConditionState(); + } + + public Builder(ConditionState defaults) { + $ = new ConditionState(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(ConditionChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`, + * `LibraryConditionAttributes`, `LibraryConditionOrBlock` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param operator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public ConditionState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/DictionaryState.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/DictionaryState.java new file mode 100644 index 0000000..0848ac2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/DictionaryState.java @@ -0,0 +1,194 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DictionaryState extends com.pulumi.resources.ResourceArgs { + + public static final DictionaryState Empty = new DictionaryState(); + + /** + * The description of the dictionary + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return The description of the dictionary + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The dictionary attribute type - Choices: `ENTITY_ATTR`, `MSG_ATTR`, `PIP_ATTR` + * + */ + @Import(name="dictionaryAttrType") + private @Nullable Output dictionaryAttrType; + + /** + * @return The dictionary attribute type - Choices: `ENTITY_ATTR`, `MSG_ATTR`, `PIP_ATTR` + * + */ + public Optional> dictionaryAttrType() { + return Optional.ofNullable(this.dictionaryAttrType); + } + + /** + * The dictionary name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The dictionary name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The version of the dictionary + * + */ + @Import(name="version") + private @Nullable Output version; + + /** + * @return The version of the dictionary + * + */ + public Optional> version() { + return Optional.ofNullable(this.version); + } + + private DictionaryState() {} + + private DictionaryState(DictionaryState $) { + this.description = $.description; + this.dictionaryAttrType = $.dictionaryAttrType; + this.name = $.name; + this.version = $.version; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DictionaryState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DictionaryState $; + + public Builder() { + $ = new DictionaryState(); + } + + public Builder(DictionaryState defaults) { + $ = new DictionaryState(Objects.requireNonNull(defaults)); + } + + /** + * @param description The description of the dictionary + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description The description of the dictionary + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param dictionaryAttrType The dictionary attribute type - Choices: `ENTITY_ATTR`, `MSG_ATTR`, `PIP_ATTR` + * + * @return builder + * + */ + public Builder dictionaryAttrType(@Nullable Output dictionaryAttrType) { + $.dictionaryAttrType = dictionaryAttrType; + return this; + } + + /** + * @param dictionaryAttrType The dictionary attribute type - Choices: `ENTITY_ATTR`, `MSG_ATTR`, `PIP_ATTR` + * + * @return builder + * + */ + public Builder dictionaryAttrType(String dictionaryAttrType) { + return dictionaryAttrType(Output.of(dictionaryAttrType)); + } + + /** + * @param name The dictionary name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The dictionary name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param version The version of the dictionary + * + * @return builder + * + */ + public Builder version(@Nullable Output version) { + $.version = version; + return this; + } + + /** + * @param version The version of the dictionary + * + * @return builder + * + */ + public Builder version(String version) { + return version(Output.of(version)); + } + + public DictionaryState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/DownloadableAclState.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/DownloadableAclState.java new file mode 100644 index 0000000..d50ea50 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/DownloadableAclState.java @@ -0,0 +1,194 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DownloadableAclState extends com.pulumi.resources.ResourceArgs { + + public static final DownloadableAclState Empty = new DownloadableAclState(); + + /** + * The DACL content + * + */ + @Import(name="dacl") + private @Nullable Output dacl; + + /** + * @return The DACL content + * + */ + public Optional> dacl() { + return Optional.ofNullable(this.dacl); + } + + /** + * The type of ACL - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IPV4` + * + */ + @Import(name="daclType") + private @Nullable Output daclType; + + /** + * @return The type of ACL - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IPV4` + * + */ + public Optional> daclType() { + return Optional.ofNullable(this.daclType); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the downloadable ACL + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the downloadable ACL + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private DownloadableAclState() {} + + private DownloadableAclState(DownloadableAclState $) { + this.dacl = $.dacl; + this.daclType = $.daclType; + this.description = $.description; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DownloadableAclState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DownloadableAclState $; + + public Builder() { + $ = new DownloadableAclState(); + } + + public Builder(DownloadableAclState defaults) { + $ = new DownloadableAclState(Objects.requireNonNull(defaults)); + } + + /** + * @param dacl The DACL content + * + * @return builder + * + */ + public Builder dacl(@Nullable Output dacl) { + $.dacl = dacl; + return this; + } + + /** + * @param dacl The DACL content + * + * @return builder + * + */ + public Builder dacl(String dacl) { + return dacl(Output.of(dacl)); + } + + /** + * @param daclType The type of ACL - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IPV4` + * + * @return builder + * + */ + public Builder daclType(@Nullable Output daclType) { + $.daclType = daclType; + return this; + } + + /** + * @param daclType The type of ACL - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IPV4` + * + * @return builder + * + */ + public Builder daclType(String daclType) { + return daclType(Output.of(daclType)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the downloadable ACL + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the downloadable ACL + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public DownloadableAclState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAllowedProtocolsArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAllowedProtocolsArgs.java new file mode 100644 index 0000000..eb24409 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAllowedProtocolsArgs.java @@ -0,0 +1,120 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAllowedProtocolsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAllowedProtocolsArgs Empty = new GetAllowedProtocolsArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the allowed protocols + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the allowed protocols + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetAllowedProtocolsArgs() {} + + private GetAllowedProtocolsArgs(GetAllowedProtocolsArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAllowedProtocolsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAllowedProtocolsArgs $; + + public Builder() { + $ = new GetAllowedProtocolsArgs(); + } + + public Builder(GetAllowedProtocolsArgs defaults) { + $ = new GetAllowedProtocolsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the allowed protocols + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the allowed protocols + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetAllowedProtocolsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAllowedProtocolsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAllowedProtocolsPlainArgs.java new file mode 100644 index 0000000..8bead7c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAllowedProtocolsPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAllowedProtocolsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAllowedProtocolsPlainArgs Empty = new GetAllowedProtocolsPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the allowed protocols + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the allowed protocols + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetAllowedProtocolsPlainArgs() {} + + private GetAllowedProtocolsPlainArgs(GetAllowedProtocolsPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAllowedProtocolsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAllowedProtocolsPlainArgs $; + + public Builder() { + $ = new GetAllowedProtocolsPlainArgs(); + } + + public Builder(GetAllowedProtocolsPlainArgs defaults) { + $ = new GetAllowedProtocolsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the allowed protocols + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetAllowedProtocolsPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthenticationRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthenticationRuleArgs.java new file mode 100644 index 0000000..56b4172 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthenticationRuleArgs.java @@ -0,0 +1,161 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthenticationRuleArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthenticationRuleArgs Empty = new GetAuthenticationRuleArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + + private GetAuthenticationRuleArgs() {} + + private GetAuthenticationRuleArgs(GetAuthenticationRuleArgs $) { + this.id = $.id; + this.name = $.name; + this.policySetId = $.policySetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticationRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticationRuleArgs $; + + public Builder() { + $ = new GetAuthenticationRuleArgs(); + } + + public Builder(GetAuthenticationRuleArgs defaults) { + $ = new GetAuthenticationRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + public GetAuthenticationRuleArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthenticationRulePlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthenticationRulePlainArgs.java new file mode 100644 index 0000000..422dd84 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthenticationRulePlainArgs.java @@ -0,0 +1,130 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthenticationRulePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthenticationRulePlainArgs Empty = new GetAuthenticationRulePlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private String policySetId; + + /** + * @return Policy set ID + * + */ + public String policySetId() { + return this.policySetId; + } + + private GetAuthenticationRulePlainArgs() {} + + private GetAuthenticationRulePlainArgs(GetAuthenticationRulePlainArgs $) { + this.id = $.id; + this.name = $.name; + this.policySetId = $.policySetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticationRulePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticationRulePlainArgs $; + + public Builder() { + $ = new GetAuthenticationRulePlainArgs(); + } + + public Builder(GetAuthenticationRulePlainArgs defaults) { + $ = new GetAuthenticationRulePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + $.policySetId = policySetId; + return this; + } + + public GetAuthenticationRulePlainArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRulePlainArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationExceptionRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationExceptionRuleArgs.java new file mode 100644 index 0000000..bb3ab32 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationExceptionRuleArgs.java @@ -0,0 +1,161 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationExceptionRuleArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationExceptionRuleArgs Empty = new GetAuthorizationExceptionRuleArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + + private GetAuthorizationExceptionRuleArgs() {} + + private GetAuthorizationExceptionRuleArgs(GetAuthorizationExceptionRuleArgs $) { + this.id = $.id; + this.name = $.name; + this.policySetId = $.policySetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationExceptionRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationExceptionRuleArgs $; + + public Builder() { + $ = new GetAuthorizationExceptionRuleArgs(); + } + + public Builder(GetAuthorizationExceptionRuleArgs defaults) { + $ = new GetAuthorizationExceptionRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + public GetAuthorizationExceptionRuleArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationExceptionRulePlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationExceptionRulePlainArgs.java new file mode 100644 index 0000000..7d24cf4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationExceptionRulePlainArgs.java @@ -0,0 +1,130 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationExceptionRulePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationExceptionRulePlainArgs Empty = new GetAuthorizationExceptionRulePlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private String policySetId; + + /** + * @return Policy set ID + * + */ + public String policySetId() { + return this.policySetId; + } + + private GetAuthorizationExceptionRulePlainArgs() {} + + private GetAuthorizationExceptionRulePlainArgs(GetAuthorizationExceptionRulePlainArgs $) { + this.id = $.id; + this.name = $.name; + this.policySetId = $.policySetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationExceptionRulePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationExceptionRulePlainArgs $; + + public Builder() { + $ = new GetAuthorizationExceptionRulePlainArgs(); + } + + public Builder(GetAuthorizationExceptionRulePlainArgs defaults) { + $ = new GetAuthorizationExceptionRulePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + $.policySetId = policySetId; + return this; + } + + public GetAuthorizationExceptionRulePlainArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRulePlainArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationGlobalExceptionRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationGlobalExceptionRuleArgs.java new file mode 100644 index 0000000..9669abc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationGlobalExceptionRuleArgs.java @@ -0,0 +1,120 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationGlobalExceptionRuleArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationGlobalExceptionRuleArgs Empty = new GetAuthorizationGlobalExceptionRuleArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetAuthorizationGlobalExceptionRuleArgs() {} + + private GetAuthorizationGlobalExceptionRuleArgs(GetAuthorizationGlobalExceptionRuleArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationGlobalExceptionRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationGlobalExceptionRuleArgs $; + + public Builder() { + $ = new GetAuthorizationGlobalExceptionRuleArgs(); + } + + public Builder(GetAuthorizationGlobalExceptionRuleArgs defaults) { + $ = new GetAuthorizationGlobalExceptionRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetAuthorizationGlobalExceptionRuleArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationGlobalExceptionRulePlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationGlobalExceptionRulePlainArgs.java new file mode 100644 index 0000000..a93a8b5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationGlobalExceptionRulePlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationGlobalExceptionRulePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationGlobalExceptionRulePlainArgs Empty = new GetAuthorizationGlobalExceptionRulePlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetAuthorizationGlobalExceptionRulePlainArgs() {} + + private GetAuthorizationGlobalExceptionRulePlainArgs(GetAuthorizationGlobalExceptionRulePlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationGlobalExceptionRulePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationGlobalExceptionRulePlainArgs $; + + public Builder() { + $ = new GetAuthorizationGlobalExceptionRulePlainArgs(); + } + + public Builder(GetAuthorizationGlobalExceptionRulePlainArgs defaults) { + $ = new GetAuthorizationGlobalExceptionRulePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetAuthorizationGlobalExceptionRulePlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationProfileArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationProfileArgs.java new file mode 100644 index 0000000..5c8e692 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationProfileArgs.java @@ -0,0 +1,120 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationProfileArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationProfileArgs Empty = new GetAuthorizationProfileArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the authorization profile + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the authorization profile + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetAuthorizationProfileArgs() {} + + private GetAuthorizationProfileArgs(GetAuthorizationProfileArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationProfileArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationProfileArgs $; + + public Builder() { + $ = new GetAuthorizationProfileArgs(); + } + + public Builder(GetAuthorizationProfileArgs defaults) { + $ = new GetAuthorizationProfileArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the authorization profile + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the authorization profile + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetAuthorizationProfileArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationProfilePlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationProfilePlainArgs.java new file mode 100644 index 0000000..f35a3e4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationProfilePlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationProfilePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationProfilePlainArgs Empty = new GetAuthorizationProfilePlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the authorization profile + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the authorization profile + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetAuthorizationProfilePlainArgs() {} + + private GetAuthorizationProfilePlainArgs(GetAuthorizationProfilePlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationProfilePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationProfilePlainArgs $; + + public Builder() { + $ = new GetAuthorizationProfilePlainArgs(); + } + + public Builder(GetAuthorizationProfilePlainArgs defaults) { + $ = new GetAuthorizationProfilePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the authorization profile + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetAuthorizationProfilePlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationRuleArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationRuleArgs.java new file mode 100644 index 0000000..ef36286 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationRuleArgs.java @@ -0,0 +1,161 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationRuleArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationRuleArgs Empty = new GetAuthorizationRuleArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private Output policySetId; + + /** + * @return Policy set ID + * + */ + public Output policySetId() { + return this.policySetId; + } + + private GetAuthorizationRuleArgs() {} + + private GetAuthorizationRuleArgs(GetAuthorizationRuleArgs $) { + this.id = $.id; + this.name = $.name; + this.policySetId = $.policySetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationRuleArgs $; + + public Builder() { + $ = new GetAuthorizationRuleArgs(); + } + + public Builder(GetAuthorizationRuleArgs defaults) { + $ = new GetAuthorizationRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(Output policySetId) { + $.policySetId = policySetId; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + return policySetId(Output.of(policySetId)); + } + + public GetAuthorizationRuleArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationRulePlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationRulePlainArgs.java new file mode 100644 index 0000000..8c61785 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetAuthorizationRulePlainArgs.java @@ -0,0 +1,130 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationRulePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationRulePlainArgs Empty = new GetAuthorizationRulePlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Policy set ID + * + */ + @Import(name="policySetId", required=true) + private String policySetId; + + /** + * @return Policy set ID + * + */ + public String policySetId() { + return this.policySetId; + } + + private GetAuthorizationRulePlainArgs() {} + + private GetAuthorizationRulePlainArgs(GetAuthorizationRulePlainArgs $) { + this.id = $.id; + this.name = $.name; + this.policySetId = $.policySetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationRulePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationRulePlainArgs $; + + public Builder() { + $ = new GetAuthorizationRulePlainArgs(); + } + + public Builder(GetAuthorizationRulePlainArgs defaults) { + $ = new GetAuthorizationRulePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + /** + * @param policySetId Policy set ID + * + * @return builder + * + */ + public Builder policySetId(String policySetId) { + $.policySetId = policySetId; + return this; + } + + public GetAuthorizationRulePlainArgs build() { + if ($.policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRulePlainArgs", "policySetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetConditionArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetConditionArgs.java new file mode 100644 index 0000000..32f9727 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetConditionArgs.java @@ -0,0 +1,120 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetConditionArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetConditionArgs Empty = new GetConditionArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetConditionArgs() {} + + private GetConditionArgs(GetConditionArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetConditionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetConditionArgs $; + + public Builder() { + $ = new GetConditionArgs(); + } + + public Builder(GetConditionArgs defaults) { + $ = new GetConditionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetConditionArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetConditionPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetConditionPlainArgs.java new file mode 100644 index 0000000..c66edb5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetConditionPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetConditionPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetConditionPlainArgs Empty = new GetConditionPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Condition name + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetConditionPlainArgs() {} + + private GetConditionPlainArgs(GetConditionPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetConditionPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetConditionPlainArgs $; + + public Builder() { + $ = new GetConditionPlainArgs(); + } + + public Builder(GetConditionPlainArgs defaults) { + $ = new GetConditionPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetConditionPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetDictionaryArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetDictionaryArgs.java new file mode 100644 index 0000000..d7e18dd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetDictionaryArgs.java @@ -0,0 +1,120 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDictionaryArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDictionaryArgs Empty = new GetDictionaryArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The dictionary name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The dictionary name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetDictionaryArgs() {} + + private GetDictionaryArgs(GetDictionaryArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDictionaryArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDictionaryArgs $; + + public Builder() { + $ = new GetDictionaryArgs(); + } + + public Builder(GetDictionaryArgs defaults) { + $ = new GetDictionaryArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The dictionary name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The dictionary name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetDictionaryArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetDictionaryPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetDictionaryPlainArgs.java new file mode 100644 index 0000000..c492034 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetDictionaryPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDictionaryPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDictionaryPlainArgs Empty = new GetDictionaryPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The dictionary name + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The dictionary name + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetDictionaryPlainArgs() {} + + private GetDictionaryPlainArgs(GetDictionaryPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDictionaryPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDictionaryPlainArgs $; + + public Builder() { + $ = new GetDictionaryPlainArgs(); + } + + public Builder(GetDictionaryPlainArgs defaults) { + $ = new GetDictionaryPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The dictionary name + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetDictionaryPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetDownloadableAclArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetDownloadableAclArgs.java new file mode 100644 index 0000000..c5e2096 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetDownloadableAclArgs.java @@ -0,0 +1,120 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDownloadableAclArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDownloadableAclArgs Empty = new GetDownloadableAclArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the downloadable ACL + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the downloadable ACL + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetDownloadableAclArgs() {} + + private GetDownloadableAclArgs(GetDownloadableAclArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDownloadableAclArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDownloadableAclArgs $; + + public Builder() { + $ = new GetDownloadableAclArgs(); + } + + public Builder(GetDownloadableAclArgs defaults) { + $ = new GetDownloadableAclArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the downloadable ACL + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the downloadable ACL + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetDownloadableAclArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetDownloadableAclPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetDownloadableAclPlainArgs.java new file mode 100644 index 0000000..f1614c7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetDownloadableAclPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDownloadableAclPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDownloadableAclPlainArgs Empty = new GetDownloadableAclPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the downloadable ACL + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the downloadable ACL + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetDownloadableAclPlainArgs() {} + + private GetDownloadableAclPlainArgs(GetDownloadableAclPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDownloadableAclPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDownloadableAclPlainArgs $; + + public Builder() { + $ = new GetDownloadableAclPlainArgs(); + } + + public Builder(GetDownloadableAclPlainArgs defaults) { + $ = new GetDownloadableAclPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the downloadable ACL + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetDownloadableAclPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetPolicySetArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetPolicySetArgs.java new file mode 100644 index 0000000..75a2a99 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetPolicySetArgs.java @@ -0,0 +1,120 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetPolicySetArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetPolicySetArgs Empty = new GetPolicySetArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetPolicySetArgs() {} + + private GetPolicySetArgs(GetPolicySetArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPolicySetArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPolicySetArgs $; + + public Builder() { + $ = new GetPolicySetArgs(); + } + + public Builder(GetPolicySetArgs defaults) { + $ = new GetPolicySetArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetPolicySetArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetPolicySetPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetPolicySetPlainArgs.java new file mode 100644 index 0000000..e233238 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetPolicySetPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetPolicySetPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetPolicySetPlainArgs Empty = new GetPolicySetPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetPolicySetPlainArgs() {} + + private GetPolicySetPlainArgs(GetPolicySetPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPolicySetPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPolicySetPlainArgs $; + + public Builder() { + $ = new GetPolicySetPlainArgs(); + } + + public Builder(GetPolicySetPlainArgs defaults) { + $ = new GetPolicySetPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetPolicySetPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetTimeAndDateConditionArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetTimeAndDateConditionArgs.java new file mode 100644 index 0000000..798e4b2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetTimeAndDateConditionArgs.java @@ -0,0 +1,120 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTimeAndDateConditionArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetTimeAndDateConditionArgs Empty = new GetTimeAndDateConditionArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetTimeAndDateConditionArgs() {} + + private GetTimeAndDateConditionArgs(GetTimeAndDateConditionArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTimeAndDateConditionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTimeAndDateConditionArgs $; + + public Builder() { + $ = new GetTimeAndDateConditionArgs(); + } + + public Builder(GetTimeAndDateConditionArgs defaults) { + $ = new GetTimeAndDateConditionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetTimeAndDateConditionArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetTimeAndDateConditionPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetTimeAndDateConditionPlainArgs.java new file mode 100644 index 0000000..234af7f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/GetTimeAndDateConditionPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTimeAndDateConditionPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetTimeAndDateConditionPlainArgs Empty = new GetTimeAndDateConditionPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Condition name + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetTimeAndDateConditionPlainArgs() {} + + private GetTimeAndDateConditionPlainArgs(GetTimeAndDateConditionPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTimeAndDateConditionPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTimeAndDateConditionPlainArgs $; + + public Builder() { + $ = new GetTimeAndDateConditionPlainArgs(); + } + + public Builder(GetTimeAndDateConditionPlainArgs defaults) { + $ = new GetTimeAndDateConditionPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetTimeAndDateConditionPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/PolicySetChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/PolicySetChildrenArgs.java new file mode 100644 index 0000000..5c8aebf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/PolicySetChildrenArgs.java @@ -0,0 +1,404 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.inputs.PolicySetChildrenChildrenArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PolicySetChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final PolicySetChildrenArgs Empty = new PolicySetChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private PolicySetChildrenArgs() {} + + private PolicySetChildrenArgs(PolicySetChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.childrens = $.childrens; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PolicySetChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PolicySetChildrenArgs $; + + public Builder() { + $ = new PolicySetChildrenArgs(); + } + + public Builder(PolicySetChildrenArgs defaults) { + $ = new PolicySetChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(PolicySetChildrenChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public PolicySetChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("PolicySetChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/PolicySetChildrenChildrenArgs.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/PolicySetChildrenChildrenArgs.java new file mode 100644 index 0000000..123b56c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/PolicySetChildrenChildrenArgs.java @@ -0,0 +1,355 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PolicySetChildrenChildrenArgs extends com.pulumi.resources.ResourceArgs { + + public static final PolicySetChildrenChildrenArgs Empty = new PolicySetChildrenChildrenArgs(); + + /** + * Dictionary attribute name + * + */ + @Import(name="attributeName") + private @Nullable Output attributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> attributeName() { + return Optional.ofNullable(this.attributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="attributeValue") + private @Nullable Output attributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + + /** + * Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * Dictionary name + * + */ + @Import(name="dictionaryName") + private @Nullable Output dictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="dictionaryValue") + private @Nullable Output dictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return UUID for condition + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="operator") + private @Nullable Output operator; + + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> operator() { + return Optional.ofNullable(this.operator); + } + + private PolicySetChildrenChildrenArgs() {} + + private PolicySetChildrenChildrenArgs(PolicySetChildrenChildrenArgs $) { + this.attributeName = $.attributeName; + this.attributeValue = $.attributeValue; + this.conditionType = $.conditionType; + this.dictionaryName = $.dictionaryName; + this.dictionaryValue = $.dictionaryValue; + this.id = $.id; + this.isNegate = $.isNegate; + this.operator = $.operator; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PolicySetChildrenChildrenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PolicySetChildrenChildrenArgs $; + + public Builder() { + $ = new PolicySetChildrenChildrenArgs(); + } + + public Builder(PolicySetChildrenChildrenArgs defaults) { + $ = new PolicySetChildrenChildrenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(@Nullable Output attributeName) { + $.attributeName = attributeName; + return this; + } + + /** + * @param attributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder attributeName(String attributeName) { + return attributeName(Output.of(attributeName)); + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(@Nullable Output attributeValue) { + $.attributeValue = attributeValue; + return this; + } + + /** + * @param attributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder attributeValue(String attributeValue) { + return attributeValue(Output.of(attributeValue)); + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(@Nullable Output dictionaryName) { + $.dictionaryName = dictionaryName; + return this; + } + + /** + * @param dictionaryName Dictionary name + * + * @return builder + * + */ + public Builder dictionaryName(String dictionaryName) { + return dictionaryName(Output.of(dictionaryName)); + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(@Nullable Output dictionaryValue) { + $.dictionaryValue = dictionaryValue; + return this; + } + + /** + * @param dictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder dictionaryValue(String dictionaryValue) { + return dictionaryValue(Output.of(dictionaryValue)); + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id UUID for condition + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(@Nullable Output operator) { + $.operator = operator; + return this; + } + + /** + * @param operator Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder operator(String operator) { + return operator(Output.of(operator)); + } + + public PolicySetChildrenChildrenArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("PolicySetChildrenChildrenArgs", "conditionType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/PolicySetState.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/PolicySetState.java new file mode 100644 index 0000000..bf1de13 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/PolicySetState.java @@ -0,0 +1,672 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.networkaccess.inputs.PolicySetChildrenArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PolicySetState extends com.pulumi.resources.ResourceArgs { + + public static final PolicySetState Empty = new PolicySetState(); + + /** + * List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + @Import(name="childrens") + private @Nullable Output> childrens; + + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public Optional>> childrens() { + return Optional.ofNullable(this.childrens); + } + + /** + * Dictionary attribute name + * + */ + @Import(name="conditionAttributeName") + private @Nullable Output conditionAttributeName; + + /** + * @return Dictionary attribute name + * + */ + public Optional> conditionAttributeName() { + return Optional.ofNullable(this.conditionAttributeName); + } + + /** + * Attribute value for condition. Value type is specified in dictionary object. + * + */ + @Import(name="conditionAttributeValue") + private @Nullable Output conditionAttributeValue; + + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional> conditionAttributeValue() { + return Optional.ofNullable(this.conditionAttributeValue); + } + + /** + * Dictionary name + * + */ + @Import(name="conditionDictionaryName") + private @Nullable Output conditionDictionaryName; + + /** + * @return Dictionary name + * + */ + public Optional> conditionDictionaryName() { + return Optional.ofNullable(this.conditionDictionaryName); + } + + /** + * Dictionary value + * + */ + @Import(name="conditionDictionaryValue") + private @Nullable Output conditionDictionaryValue; + + /** + * @return Dictionary value + * + */ + public Optional> conditionDictionaryValue() { + return Optional.ofNullable(this.conditionDictionaryValue); + } + + /** + * UUID for condition + * + */ + @Import(name="conditionId") + private @Nullable Output conditionId; + + /** + * @return UUID for condition + * + */ + public Optional> conditionId() { + return Optional.ofNullable(this.conditionId); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="conditionIsNegate") + private @Nullable Output conditionIsNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> conditionIsNegate() { + return Optional.ofNullable(this.conditionIsNegate); + } + + /** + * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + @Import(name="conditionOperator") + private @Nullable Output conditionOperator; + + /** + * @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional> conditionOperator() { + return Optional.ofNullable(this.conditionOperator); + } + + /** + * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * Indicates if this policy set is the default one + * + */ + @Import(name="default") + private @Nullable Output default_; + + /** + * @return Indicates if this policy set is the default one + * + */ + public Optional> default_() { + return Optional.ofNullable(this.default_); + } + + /** + * The description of the policy set + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return The description of the policy set + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + @Import(name="isProxy") + private @Nullable Output isProxy; + + /** + * @return Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + public Optional> isProxy() { + return Optional.ofNullable(this.isProxy); + } + + /** + * Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + @Import(name="rank") + private @Nullable Output rank; + + /** + * @return The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + public Optional> rank() { + return Optional.ofNullable(this.rank); + } + + /** + * Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + @Import(name="serviceName") + private @Nullable Output serviceName; + + /** + * @return Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + public Optional> serviceName() { + return Optional.ofNullable(this.serviceName); + } + + /** + * The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private PolicySetState() {} + + private PolicySetState(PolicySetState $) { + this.childrens = $.childrens; + this.conditionAttributeName = $.conditionAttributeName; + this.conditionAttributeValue = $.conditionAttributeValue; + this.conditionDictionaryName = $.conditionDictionaryName; + this.conditionDictionaryValue = $.conditionDictionaryValue; + this.conditionId = $.conditionId; + this.conditionIsNegate = $.conditionIsNegate; + this.conditionOperator = $.conditionOperator; + this.conditionType = $.conditionType; + this.default_ = $.default_; + this.description = $.description; + this.isProxy = $.isProxy; + this.name = $.name; + this.rank = $.rank; + this.serviceName = $.serviceName; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PolicySetState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PolicySetState $; + + public Builder() { + $ = new PolicySetState(); + } + + public Builder(PolicySetState defaults) { + $ = new PolicySetState(Objects.requireNonNull(defaults)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(@Nullable Output> childrens) { + $.childrens = childrens; + return this; + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(List childrens) { + return childrens(Output.of(childrens)); + } + + /** + * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + * @return builder + * + */ + public Builder childrens(PolicySetChildrenArgs... childrens) { + return childrens(List.of(childrens)); + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(@Nullable Output conditionAttributeName) { + $.conditionAttributeName = conditionAttributeName; + return this; + } + + /** + * @param conditionAttributeName Dictionary attribute name + * + * @return builder + * + */ + public Builder conditionAttributeName(String conditionAttributeName) { + return conditionAttributeName(Output.of(conditionAttributeName)); + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(@Nullable Output conditionAttributeValue) { + $.conditionAttributeValue = conditionAttributeValue; + return this; + } + + /** + * @param conditionAttributeValue Attribute value for condition. Value type is specified in dictionary object. + * + * @return builder + * + */ + public Builder conditionAttributeValue(String conditionAttributeValue) { + return conditionAttributeValue(Output.of(conditionAttributeValue)); + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(@Nullable Output conditionDictionaryName) { + $.conditionDictionaryName = conditionDictionaryName; + return this; + } + + /** + * @param conditionDictionaryName Dictionary name + * + * @return builder + * + */ + public Builder conditionDictionaryName(String conditionDictionaryName) { + return conditionDictionaryName(Output.of(conditionDictionaryName)); + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(@Nullable Output conditionDictionaryValue) { + $.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + + /** + * @param conditionDictionaryValue Dictionary value + * + * @return builder + * + */ + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + return conditionDictionaryValue(Output.of(conditionDictionaryValue)); + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(@Nullable Output conditionId) { + $.conditionId = conditionId; + return this; + } + + /** + * @param conditionId UUID for condition + * + * @return builder + * + */ + public Builder conditionId(String conditionId) { + return conditionId(Output.of(conditionId)); + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(@Nullable Output conditionIsNegate) { + $.conditionIsNegate = conditionIsNegate; + return this; + } + + /** + * @param conditionIsNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder conditionIsNegate(Boolean conditionIsNegate) { + return conditionIsNegate(Output.of(conditionIsNegate)); + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(@Nullable Output conditionOperator) { + $.conditionOperator = conditionOperator; + return this; + } + + /** + * @param conditionOperator Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, + * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, + * `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + * @return builder + * + */ + public Builder conditionOperator(String conditionOperator) { + return conditionOperator(Output.of(conditionOperator)); + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that + * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`, + * `ConditionOrBlock`, `ConditionReference` + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param default_ Indicates if this policy set is the default one + * + * @return builder + * + */ + public Builder default_(@Nullable Output default_) { + $.default_ = default_; + return this; + } + + /** + * @param default_ Indicates if this policy set is the default one + * + * @return builder + * + */ + public Builder default_(Boolean default_) { + return default_(Output.of(default_)); + } + + /** + * @param description The description of the policy set + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description The description of the policy set + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param isProxy Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + * @return builder + * + */ + public Builder isProxy(@Nullable Output isProxy) { + $.isProxy = isProxy; + return this; + } + + /** + * @param isProxy Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + * @return builder + * + */ + public Builder isProxy(Boolean isProxy) { + return isProxy(Output.of(isProxy)); + } + + /** + * @param name Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param rank The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(@Nullable Output rank) { + $.rank = rank; + return this; + } + + /** + * @param rank The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + * @return builder + * + */ + public Builder rank(Integer rank) { + return rank(Output.of(rank)); + } + + /** + * @param serviceName Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + * @return builder + * + */ + public Builder serviceName(@Nullable Output serviceName) { + $.serviceName = serviceName; + return this; + } + + /** + * @param serviceName Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + * @return builder + * + */ + public Builder serviceName(String serviceName) { + return serviceName(Output.of(serviceName)); + } + + /** + * @param state The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`, + * `monitor` + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public PolicySetState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/TimeAndDateConditionState.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/TimeAndDateConditionState.java new file mode 100644 index 0000000..bbee925 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/inputs/TimeAndDateConditionState.java @@ -0,0 +1,549 @@ +// *** 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.networkaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class TimeAndDateConditionState extends com.pulumi.resources.ResourceArgs { + + public static final TimeAndDateConditionState Empty = new TimeAndDateConditionState(); + + /** + * Condition description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Condition description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * End date + * + */ + @Import(name="endDate") + private @Nullable Output endDate; + + /** + * @return End date + * + */ + public Optional> endDate() { + return Optional.ofNullable(this.endDate); + } + + /** + * End time + * + */ + @Import(name="endTime") + private @Nullable Output endTime; + + /** + * @return End time + * + */ + public Optional> endTime() { + return Optional.ofNullable(this.endTime); + } + + /** + * Exception end date + * + */ + @Import(name="exceptionEndDate") + private @Nullable Output exceptionEndDate; + + /** + * @return Exception end date + * + */ + public Optional> exceptionEndDate() { + return Optional.ofNullable(this.exceptionEndDate); + } + + /** + * Exception end time + * + */ + @Import(name="exceptionEndTime") + private @Nullable Output exceptionEndTime; + + /** + * @return Exception end time + * + */ + public Optional> exceptionEndTime() { + return Optional.ofNullable(this.exceptionEndTime); + } + + /** + * Exception start date + * + */ + @Import(name="exceptionStartDate") + private @Nullable Output exceptionStartDate; + + /** + * @return Exception start date + * + */ + public Optional> exceptionStartDate() { + return Optional.ofNullable(this.exceptionStartDate); + } + + /** + * Exception start time + * + */ + @Import(name="exceptionStartTime") + private @Nullable Output exceptionStartTime; + + /** + * @return Exception start time + * + */ + public Optional> exceptionStartTime() { + return Optional.ofNullable(this.exceptionStartTime); + } + + /** + * Indicates whereas this condition is in negate mode + * + */ + @Import(name="isNegate") + private @Nullable Output isNegate; + + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional> isNegate() { + return Optional.ofNullable(this.isNegate); + } + + /** + * Condition name + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Condition name + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Start date + * + */ + @Import(name="startDate") + private @Nullable Output startDate; + + /** + * @return Start date + * + */ + public Optional> startDate() { + return Optional.ofNullable(this.startDate); + } + + /** + * Start time + * + */ + @Import(name="startTime") + private @Nullable Output startTime; + + /** + * @return Start time + * + */ + public Optional> startTime() { + return Optional.ofNullable(this.startTime); + } + + /** + * Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + @Import(name="weekDays") + private @Nullable Output> weekDays; + + /** + * @return Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + public Optional>> weekDays() { + return Optional.ofNullable(this.weekDays); + } + + /** + * Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + @Import(name="weekDaysExceptions") + private @Nullable Output> weekDaysExceptions; + + /** + * @return Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + public Optional>> weekDaysExceptions() { + return Optional.ofNullable(this.weekDaysExceptions); + } + + private TimeAndDateConditionState() {} + + private TimeAndDateConditionState(TimeAndDateConditionState $) { + this.description = $.description; + this.endDate = $.endDate; + this.endTime = $.endTime; + this.exceptionEndDate = $.exceptionEndDate; + this.exceptionEndTime = $.exceptionEndTime; + this.exceptionStartDate = $.exceptionStartDate; + this.exceptionStartTime = $.exceptionStartTime; + this.isNegate = $.isNegate; + this.name = $.name; + this.startDate = $.startDate; + this.startTime = $.startTime; + this.weekDays = $.weekDays; + this.weekDaysExceptions = $.weekDaysExceptions; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(TimeAndDateConditionState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private TimeAndDateConditionState $; + + public Builder() { + $ = new TimeAndDateConditionState(); + } + + public Builder(TimeAndDateConditionState defaults) { + $ = new TimeAndDateConditionState(Objects.requireNonNull(defaults)); + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Condition description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param endDate End date + * + * @return builder + * + */ + public Builder endDate(@Nullable Output endDate) { + $.endDate = endDate; + return this; + } + + /** + * @param endDate End date + * + * @return builder + * + */ + public Builder endDate(String endDate) { + return endDate(Output.of(endDate)); + } + + /** + * @param endTime End time + * + * @return builder + * + */ + public Builder endTime(@Nullable Output endTime) { + $.endTime = endTime; + return this; + } + + /** + * @param endTime End time + * + * @return builder + * + */ + public Builder endTime(String endTime) { + return endTime(Output.of(endTime)); + } + + /** + * @param exceptionEndDate Exception end date + * + * @return builder + * + */ + public Builder exceptionEndDate(@Nullable Output exceptionEndDate) { + $.exceptionEndDate = exceptionEndDate; + return this; + } + + /** + * @param exceptionEndDate Exception end date + * + * @return builder + * + */ + public Builder exceptionEndDate(String exceptionEndDate) { + return exceptionEndDate(Output.of(exceptionEndDate)); + } + + /** + * @param exceptionEndTime Exception end time + * + * @return builder + * + */ + public Builder exceptionEndTime(@Nullable Output exceptionEndTime) { + $.exceptionEndTime = exceptionEndTime; + return this; + } + + /** + * @param exceptionEndTime Exception end time + * + * @return builder + * + */ + public Builder exceptionEndTime(String exceptionEndTime) { + return exceptionEndTime(Output.of(exceptionEndTime)); + } + + /** + * @param exceptionStartDate Exception start date + * + * @return builder + * + */ + public Builder exceptionStartDate(@Nullable Output exceptionStartDate) { + $.exceptionStartDate = exceptionStartDate; + return this; + } + + /** + * @param exceptionStartDate Exception start date + * + * @return builder + * + */ + public Builder exceptionStartDate(String exceptionStartDate) { + return exceptionStartDate(Output.of(exceptionStartDate)); + } + + /** + * @param exceptionStartTime Exception start time + * + * @return builder + * + */ + public Builder exceptionStartTime(@Nullable Output exceptionStartTime) { + $.exceptionStartTime = exceptionStartTime; + return this; + } + + /** + * @param exceptionStartTime Exception start time + * + * @return builder + * + */ + public Builder exceptionStartTime(String exceptionStartTime) { + return exceptionStartTime(Output.of(exceptionStartTime)); + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(@Nullable Output isNegate) { + $.isNegate = isNegate; + return this; + } + + /** + * @param isNegate Indicates whereas this condition is in negate mode + * + * @return builder + * + */ + public Builder isNegate(Boolean isNegate) { + return isNegate(Output.of(isNegate)); + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Condition name + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param startDate Start date + * + * @return builder + * + */ + public Builder startDate(@Nullable Output startDate) { + $.startDate = startDate; + return this; + } + + /** + * @param startDate Start date + * + * @return builder + * + */ + public Builder startDate(String startDate) { + return startDate(Output.of(startDate)); + } + + /** + * @param startTime Start time + * + * @return builder + * + */ + public Builder startTime(@Nullable Output startTime) { + $.startTime = startTime; + return this; + } + + /** + * @param startTime Start time + * + * @return builder + * + */ + public Builder startTime(String startTime) { + return startTime(Output.of(startTime)); + } + + /** + * @param weekDays Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + * @return builder + * + */ + public Builder weekDays(@Nullable Output> weekDays) { + $.weekDays = weekDays; + return this; + } + + /** + * @param weekDays Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + * @return builder + * + */ + public Builder weekDays(List weekDays) { + return weekDays(Output.of(weekDays)); + } + + /** + * @param weekDays Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + * @return builder + * + */ + public Builder weekDays(String... weekDays) { + return weekDays(List.of(weekDays)); + } + + /** + * @param weekDaysExceptions Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + * @return builder + * + */ + public Builder weekDaysExceptions(@Nullable Output> weekDaysExceptions) { + $.weekDaysExceptions = weekDaysExceptions; + return this; + } + + /** + * @param weekDaysExceptions Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + * @return builder + * + */ + public Builder weekDaysExceptions(List weekDaysExceptions) { + return weekDaysExceptions(Output.of(weekDaysExceptions)); + } + + /** + * @param weekDaysExceptions Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + * @return builder + * + */ + public Builder weekDaysExceptions(String... weekDaysExceptions) { + return weekDaysExceptions(List.of(weekDaysExceptions)); + } + + public TimeAndDateConditionState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthenticationRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthenticationRuleChildren.java new file mode 100644 index 0000000..90c8d45 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthenticationRuleChildren.java @@ -0,0 +1,238 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.AuthenticationRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthenticationRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private @Nullable List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthenticationRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens == null ? List.of() : this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthenticationRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private @Nullable List childrens; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthenticationRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(@Nullable List childrens) { + + this.childrens = childrens; + return this; + } + public Builder childrens(AuthenticationRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthenticationRuleChildren build() { + final var _resultValue = new AuthenticationRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthenticationRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthenticationRuleChildrenChildren.java new file mode 100644 index 0000000..097689b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthenticationRuleChildrenChildren.java @@ -0,0 +1,212 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthenticationRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthenticationRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthenticationRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthenticationRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthenticationRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthenticationRuleChildrenChildren build() { + final var _resultValue = new AuthenticationRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationExceptionRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationExceptionRuleChildren.java new file mode 100644 index 0000000..9aa42c7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationExceptionRuleChildren.java @@ -0,0 +1,238 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.AuthorizationExceptionRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthorizationExceptionRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private @Nullable List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthorizationExceptionRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens == null ? List.of() : this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthorizationExceptionRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private @Nullable List childrens; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthorizationExceptionRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(@Nullable List childrens) { + + this.childrens = childrens; + return this; + } + public Builder childrens(AuthorizationExceptionRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationExceptionRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthorizationExceptionRuleChildren build() { + final var _resultValue = new AuthorizationExceptionRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationExceptionRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationExceptionRuleChildrenChildren.java new file mode 100644 index 0000000..0a5578c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationExceptionRuleChildrenChildren.java @@ -0,0 +1,212 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthorizationExceptionRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthorizationExceptionRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthorizationExceptionRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthorizationExceptionRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationExceptionRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthorizationExceptionRuleChildrenChildren build() { + final var _resultValue = new AuthorizationExceptionRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationGlobalExceptionRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationGlobalExceptionRuleChildren.java new file mode 100644 index 0000000..5e97419 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationGlobalExceptionRuleChildren.java @@ -0,0 +1,238 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.AuthorizationGlobalExceptionRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthorizationGlobalExceptionRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private @Nullable List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthorizationGlobalExceptionRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens == null ? List.of() : this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthorizationGlobalExceptionRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private @Nullable List childrens; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthorizationGlobalExceptionRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(@Nullable List childrens) { + + this.childrens = childrens; + return this; + } + public Builder childrens(AuthorizationGlobalExceptionRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationGlobalExceptionRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthorizationGlobalExceptionRuleChildren build() { + final var _resultValue = new AuthorizationGlobalExceptionRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationGlobalExceptionRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationGlobalExceptionRuleChildrenChildren.java new file mode 100644 index 0000000..c05a01e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationGlobalExceptionRuleChildrenChildren.java @@ -0,0 +1,212 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthorizationGlobalExceptionRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthorizationGlobalExceptionRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthorizationGlobalExceptionRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthorizationGlobalExceptionRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationGlobalExceptionRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthorizationGlobalExceptionRuleChildrenChildren build() { + final var _resultValue = new AuthorizationGlobalExceptionRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationProfileAdvancedAttribute.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationProfileAdvancedAttribute.java new file mode 100644 index 0000000..08b9150 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationProfileAdvancedAttribute.java @@ -0,0 +1,164 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthorizationProfileAdvancedAttribute { + /** + * @return Dictionary name + * + */ + private @Nullable String attributeLeftDictionaryName; + /** + * @return Attribute name + * + */ + private @Nullable String attributeLeftName; + /** + * @return Dictionary name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + */ + private @Nullable String attributeRightDictionaryName; + /** + * @return Attribute name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + */ + private @Nullable String attributeRightName; + /** + * @return Attribute value, only required when `attribute_right_value_type` is `AttributeValue` + * + */ + private @Nullable String attributeRightValue; + /** + * @return Advanced attribute value type + * - Choices: `AdvancedDictionaryAttribute`, `AttributeValue` + * + */ + private @Nullable String attributeRightValueType; + + private AuthorizationProfileAdvancedAttribute() {} + /** + * @return Dictionary name + * + */ + public Optional attributeLeftDictionaryName() { + return Optional.ofNullable(this.attributeLeftDictionaryName); + } + /** + * @return Attribute name + * + */ + public Optional attributeLeftName() { + return Optional.ofNullable(this.attributeLeftName); + } + /** + * @return Dictionary name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + */ + public Optional attributeRightDictionaryName() { + return Optional.ofNullable(this.attributeRightDictionaryName); + } + /** + * @return Attribute name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + */ + public Optional attributeRightName() { + return Optional.ofNullable(this.attributeRightName); + } + /** + * @return Attribute value, only required when `attribute_right_value_type` is `AttributeValue` + * + */ + public Optional attributeRightValue() { + return Optional.ofNullable(this.attributeRightValue); + } + /** + * @return Advanced attribute value type + * - Choices: `AdvancedDictionaryAttribute`, `AttributeValue` + * + */ + public Optional attributeRightValueType() { + return Optional.ofNullable(this.attributeRightValueType); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthorizationProfileAdvancedAttribute defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeLeftDictionaryName; + private @Nullable String attributeLeftName; + private @Nullable String attributeRightDictionaryName; + private @Nullable String attributeRightName; + private @Nullable String attributeRightValue; + private @Nullable String attributeRightValueType; + public Builder() {} + public Builder(AuthorizationProfileAdvancedAttribute defaults) { + Objects.requireNonNull(defaults); + this.attributeLeftDictionaryName = defaults.attributeLeftDictionaryName; + this.attributeLeftName = defaults.attributeLeftName; + this.attributeRightDictionaryName = defaults.attributeRightDictionaryName; + this.attributeRightName = defaults.attributeRightName; + this.attributeRightValue = defaults.attributeRightValue; + this.attributeRightValueType = defaults.attributeRightValueType; + } + + @CustomType.Setter + public Builder attributeLeftDictionaryName(@Nullable String attributeLeftDictionaryName) { + + this.attributeLeftDictionaryName = attributeLeftDictionaryName; + return this; + } + @CustomType.Setter + public Builder attributeLeftName(@Nullable String attributeLeftName) { + + this.attributeLeftName = attributeLeftName; + return this; + } + @CustomType.Setter + public Builder attributeRightDictionaryName(@Nullable String attributeRightDictionaryName) { + + this.attributeRightDictionaryName = attributeRightDictionaryName; + return this; + } + @CustomType.Setter + public Builder attributeRightName(@Nullable String attributeRightName) { + + this.attributeRightName = attributeRightName; + return this; + } + @CustomType.Setter + public Builder attributeRightValue(@Nullable String attributeRightValue) { + + this.attributeRightValue = attributeRightValue; + return this; + } + @CustomType.Setter + public Builder attributeRightValueType(@Nullable String attributeRightValueType) { + + this.attributeRightValueType = attributeRightValueType; + return this; + } + public AuthorizationProfileAdvancedAttribute build() { + final var _resultValue = new AuthorizationProfileAdvancedAttribute(); + _resultValue.attributeLeftDictionaryName = attributeLeftDictionaryName; + _resultValue.attributeLeftName = attributeLeftName; + _resultValue.attributeRightDictionaryName = attributeRightDictionaryName; + _resultValue.attributeRightName = attributeRightName; + _resultValue.attributeRightValue = attributeRightValue; + _resultValue.attributeRightValueType = attributeRightValueType; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationRuleChildren.java new file mode 100644 index 0000000..29ab1e1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationRuleChildren.java @@ -0,0 +1,238 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.AuthorizationRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthorizationRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private @Nullable List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthorizationRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens == null ? List.of() : this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthorizationRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private @Nullable List childrens; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthorizationRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(@Nullable List childrens) { + + this.childrens = childrens; + return this; + } + public Builder childrens(AuthorizationRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthorizationRuleChildren build() { + final var _resultValue = new AuthorizationRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationRuleChildrenChildren.java new file mode 100644 index 0000000..9865ae7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/AuthorizationRuleChildrenChildren.java @@ -0,0 +1,212 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthorizationRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private AuthorizationRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthorizationRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(AuthorizationRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("AuthorizationRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public AuthorizationRuleChildrenChildren build() { + final var _resultValue = new AuthorizationRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/ConditionChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/ConditionChildren.java new file mode 100644 index 0000000..1418283 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/ConditionChildren.java @@ -0,0 +1,280 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.ConditionChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ConditionChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private @Nullable List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Condition description + * + */ + private @Nullable String description; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Condition name + * + */ + private @Nullable String name; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private ConditionChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens == null ? List.of() : this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Condition description + * + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Condition name + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ConditionChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private @Nullable List childrens; + private String conditionType; + private @Nullable String description; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String name; + private @Nullable String operator; + public Builder() {} + public Builder(ConditionChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.description = defaults.description; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.name = defaults.name; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(@Nullable List childrens) { + + this.childrens = childrens; + return this; + } + public Builder childrens(ConditionChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("ConditionChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder description(@Nullable String description) { + + this.description = description; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public ConditionChildren build() { + final var _resultValue = new ConditionChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.description = description; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.name = name; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/ConditionChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/ConditionChildrenChildren.java new file mode 100644 index 0000000..7f15fd0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/ConditionChildrenChildren.java @@ -0,0 +1,254 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ConditionChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Condition description + * + */ + private @Nullable String description; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Condition name + * + */ + private @Nullable String name; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private ConditionChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Condition description + * + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Condition name + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ConditionChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private String conditionType; + private @Nullable String description; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String name; + private @Nullable String operator; + public Builder() {} + public Builder(ConditionChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.description = defaults.description; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.name = defaults.name; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("ConditionChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder description(@Nullable String description) { + + this.description = description; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public ConditionChildrenChildren build() { + final var _resultValue = new ConditionChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.description = description; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.name = name; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAllowedProtocolsResult.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAllowedProtocolsResult.java new file mode 100644 index 0000000..432799a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAllowedProtocolsResult.java @@ -0,0 +1,1831 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAllowedProtocolsResult { + /** + * @return Allow 5G. This field is only supported from ISE 3.2. + * + */ + private Boolean allow5g; + /** + * @return Allow CHAP + * + */ + private Boolean allowChap; + /** + * @return Allow EAP Fast + * + */ + private Boolean allowEapFast; + /** + * @return Allow EAP MD5 + * + */ + private Boolean allowEapMd5; + /** + * @return Allow EAP TLS + * + */ + private Boolean allowEapTls; + /** + * @return Allow EAP TTLS + * + */ + private Boolean allowEapTtls; + /** + * @return Allow LEAP + * + */ + private Boolean allowLeap; + /** + * @return Allow MS CHAP v1 + * + */ + private Boolean allowMsChapV1; + /** + * @return Allow MS CHAP v2 + * + */ + private Boolean allowMsChapV2; + /** + * @return Allow PAP ASCII + * + */ + private Boolean allowPapAscii; + /** + * @return Allow PEAP + * + */ + private Boolean allowPeap; + /** + * @return Allow preferred EAP protocol + * + */ + private Boolean allowPreferredEapProtocol; + /** + * @return Allow TEAP + * + */ + private Boolean allowTeap; + /** + * @return Allow weak ciphers for EAP + * + */ + private Boolean allowWeakCiphersForEap; + /** + * @return Description + * + */ + private String description; + /** + * @return Accept client certificates. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + private Boolean eapFastAcceptClientCert; + /** + * @return Allow machine authentication. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + private Boolean eapFastAllowMachineAuthentication; + /** + * @return Allow EAP GTC + * + */ + private Boolean eapFastEapGtc; + /** + * @return Allow EAP GTC password change. Is required only if `eap_fast_eap_gtc` is `true`. + * + */ + private Boolean eapFastEapGtcPwdChange; + /** + * @return EAP GTC password change retries. Is required only if `eap_fast_eap_gtc` is `true`. + * + */ + private Integer eapFastEapGtcPwdChangeRetries; + /** + * @return Allow EAP MS CHAP v2 + * + */ + private Boolean eapFastEapMsChapV2; + /** + * @return Allow EAP MS CHAP v2 password change. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. + * + */ + private Boolean eapFastEapMsChapV2PwdChange; + /** + * @return EAP MS CHAP v2 password change retries. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. + * + */ + private Integer eapFastEapMsChapV2PwdChangeRetries; + /** + * @return Allow EAP TLS + * + */ + private Boolean eapFastEapTls; + /** + * @return Allow EAP TLS authentication of expired certificates. Is required only if `eap_fast_eap_tls` is `true`. + * + */ + private Boolean eapFastEapTlsAuthOfExpiredCerts; + /** + * @return Enable EAP chaining + * + */ + private Boolean eapFastEnableEapChaining; + /** + * @return Allow anonymous provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + private Boolean eapFastPacsAllowAnonymousProvisioning; + /** + * @return Allow authenticated provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + private Boolean eapFastPacsAllowAuthenticatedProvisioning; + /** + * @return Accept client certification for provisioning. Is required only if `eap_fast_pacs_allow_authenticated_provisioning` is `true`. + * + */ + private Boolean eapFastPacsAllowClientCert; + /** + * @return Allow machine authentication. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + private Boolean eapFastPacsAllowMachineAuthentication; + /** + * @return Authorization PAC TTL. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. + * + */ + private Integer eapFastPacsAuthorizationPacTtl; + /** + * @return Authorization PAC TTL unit. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. + * + */ + private String eapFastPacsAuthorizationPacTtlUnit; + /** + * @return Machine PAC TTL. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. + * + */ + private Integer eapFastPacsMachinePacTtl; + /** + * @return Machine PAC TTL unit. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. + * + */ + private String eapFastPacsMachinePacTtlUnit; + /** + * @return Server returns access accept after authenticated provisioning. Is required only if `eap_fast_pacs_allow_authenticated_provisioning` is `true`. + * + */ + private Boolean eapFastPacsServerReturns; + /** + * @return Stateless session resume. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + private Boolean eapFastPacsStatelessSessionResume; + /** + * @return PACs tunnel PAC time to live. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + private Integer eapFastPacsTunnelPacTtl; + /** + * @return PACs tunnel PAC time to live unit. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + private String eapFastPacsTunnelPacTtlUnit; + /** + * @return Use proactive pac update percentage. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + private Integer eapFastPacsUseProactivePacUpdatePercentage; + /** + * @return Use PACs + * + */ + private Boolean eapFastUsePacs; + /** + * @return Allow authentication of expired certificates + * + */ + private Boolean eapTlsAllowAuthOfExpiredCerts; + /** + * @return Enable stateless session resume + * + */ + private Boolean eapTlsEnableStatelessSessionResume; + /** + * @return EAP TLS L-Bit + * + */ + private Boolean eapTlsLBit; + /** + * @return Session ticket percentage. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + */ + private Integer eapTlsSessionTicketPercentage; + /** + * @return Session ticket TTL. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + */ + private Integer eapTlsSessionTicketTtl; + /** + * @return Session ticket TTL unit. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + */ + private String eapTlsSessionTicketTtlUnit; + /** + * @return Allow CHAP + * + */ + private Boolean eapTtlsChap; + /** + * @return Allow EAP MD5 + * + */ + private Boolean eapTtlsEapMd5; + /** + * @return Allow EAP MS CHAP v2 + * + */ + private Boolean eapTtlsEapMsChapV2; + /** + * @return Allow EAP MS CHAP v2 password change. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. + * + */ + private Boolean eapTtlsEapMsChapV2PwdChange; + /** + * @return EAP MS CHAP v2 password change retries. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. + * + */ + private Integer eapTtlsEapMsChapV2PwdChangeRetries; + /** + * @return Allow MS CHAP v1 + * + */ + private Boolean eapTtlsMsChapV1; + /** + * @return Allow MS CHAP v2 + * + */ + private Boolean eapTtlsMsChapV2; + /** + * @return Allow PAP ASCII + * + */ + private Boolean eapTtlsPapAscii; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return The name of the allowed protocols + * + */ + private String name; + /** + * @return Allow PEAP EAP GTC + * + */ + private Boolean peapAllowPeapEapGtc; + /** + * @return Allow PEAP EAP GTC password change. Is required only if `allow_peap_eap_gtc` is `true`. + * + */ + private Boolean peapAllowPeapEapGtcPwdChange; + /** + * @return PEAP EAP GTC password change retries. Is required only if `allow_peap_eap_gtc` is `true`. + * + */ + private Integer peapAllowPeapEapGtcPwdChangeRetries; + /** + * @return Allow PEAP EAP MS CHAP v2 + * + */ + private Boolean peapAllowPeapEapMsChapV2; + /** + * @return Allow PEAP EAP MS CHAP v2 password change. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. + * + */ + private Boolean peapAllowPeapEapMsChapV2PwdChange; + /** + * @return Allow PEAP EAP MS CHAP v2 password change retries. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. + * + */ + private Integer peapAllowPeapEapMsChapV2PwdChangeRetries; + /** + * @return Allow PEAP EAP TLS + * + */ + private Boolean peapAllowPeapEapTls; + /** + * @return Allow PEAP EAP TLS authentication of expired certificates. Is required only if `peap_allow_peap_eap_tls` is `true`. + * + */ + private Boolean peapAllowPeapEapTlsAuthOfExpiredCerts; + /** + * @return Allow PEAP v0 + * + */ + private Boolean peapPeapV0; + /** + * @return Preferred EAP protocol + * + */ + private String preferredEapProtocol; + /** + * @return Process host lookup + * + */ + private Boolean processHostLookup; + /** + * @return Require cryptobinding + * + */ + private Boolean requireCryptobinding; + /** + * @return Require message authentication + * + */ + private Boolean requireMessageAuth; + /** + * @return Allow downgrade to MSK + * + */ + private Boolean teapDowngradeMsk; + /** + * @return Accept client certificate during tunnel establishment + * + */ + private Boolean teapEapAcceptClientCertDuringTunnelEst; + /** + * @return Allow EAP chaining + * + */ + private Boolean teapEapChaining; + /** + * @return Allow EAP MS CHAP v2 + * + */ + private Boolean teapEapMsChapV2; + /** + * @return Allow EAP MS CHAP v2 password change. Is required only if `teap_eap_ms_chap_v2` is `true`. + * + */ + private Boolean teapEapMsChapV2PwdChange; + /** + * @return EAP MS CHAP v2 password change retries. Is required only if `teap_eap_ms_chap_v2` is `true`. + * + */ + private Integer teapEapMsChapV2PwdChangeRetries; + /** + * @return Allow EAP TLS + * + */ + private Boolean teapEapTls; + /** + * @return Allow EAP TLS authentication of expired certs. Is required only if `teap_eap_tls` is `true`. + * + */ + private Boolean teapEapTlsAuthOfExpiredCerts; + /** + * @return Request basic password authentication + * + */ + private Boolean teapRequestBasicPwdAuth; + + private GetAllowedProtocolsResult() {} + /** + * @return Allow 5G. This field is only supported from ISE 3.2. + * + */ + public Boolean allow5g() { + return this.allow5g; + } + /** + * @return Allow CHAP + * + */ + public Boolean allowChap() { + return this.allowChap; + } + /** + * @return Allow EAP Fast + * + */ + public Boolean allowEapFast() { + return this.allowEapFast; + } + /** + * @return Allow EAP MD5 + * + */ + public Boolean allowEapMd5() { + return this.allowEapMd5; + } + /** + * @return Allow EAP TLS + * + */ + public Boolean allowEapTls() { + return this.allowEapTls; + } + /** + * @return Allow EAP TTLS + * + */ + public Boolean allowEapTtls() { + return this.allowEapTtls; + } + /** + * @return Allow LEAP + * + */ + public Boolean allowLeap() { + return this.allowLeap; + } + /** + * @return Allow MS CHAP v1 + * + */ + public Boolean allowMsChapV1() { + return this.allowMsChapV1; + } + /** + * @return Allow MS CHAP v2 + * + */ + public Boolean allowMsChapV2() { + return this.allowMsChapV2; + } + /** + * @return Allow PAP ASCII + * + */ + public Boolean allowPapAscii() { + return this.allowPapAscii; + } + /** + * @return Allow PEAP + * + */ + public Boolean allowPeap() { + return this.allowPeap; + } + /** + * @return Allow preferred EAP protocol + * + */ + public Boolean allowPreferredEapProtocol() { + return this.allowPreferredEapProtocol; + } + /** + * @return Allow TEAP + * + */ + public Boolean allowTeap() { + return this.allowTeap; + } + /** + * @return Allow weak ciphers for EAP + * + */ + public Boolean allowWeakCiphersForEap() { + return this.allowWeakCiphersForEap; + } + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return Accept client certificates. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + public Boolean eapFastAcceptClientCert() { + return this.eapFastAcceptClientCert; + } + /** + * @return Allow machine authentication. Is required only if `eap_fast_use_pacs` is `false`. + * + */ + public Boolean eapFastAllowMachineAuthentication() { + return this.eapFastAllowMachineAuthentication; + } + /** + * @return Allow EAP GTC + * + */ + public Boolean eapFastEapGtc() { + return this.eapFastEapGtc; + } + /** + * @return Allow EAP GTC password change. Is required only if `eap_fast_eap_gtc` is `true`. + * + */ + public Boolean eapFastEapGtcPwdChange() { + return this.eapFastEapGtcPwdChange; + } + /** + * @return EAP GTC password change retries. Is required only if `eap_fast_eap_gtc` is `true`. + * + */ + public Integer eapFastEapGtcPwdChangeRetries() { + return this.eapFastEapGtcPwdChangeRetries; + } + /** + * @return Allow EAP MS CHAP v2 + * + */ + public Boolean eapFastEapMsChapV2() { + return this.eapFastEapMsChapV2; + } + /** + * @return Allow EAP MS CHAP v2 password change. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. + * + */ + public Boolean eapFastEapMsChapV2PwdChange() { + return this.eapFastEapMsChapV2PwdChange; + } + /** + * @return EAP MS CHAP v2 password change retries. Is required only if `eap_fast_eap_ms_chap_v2` is `true`. + * + */ + public Integer eapFastEapMsChapV2PwdChangeRetries() { + return this.eapFastEapMsChapV2PwdChangeRetries; + } + /** + * @return Allow EAP TLS + * + */ + public Boolean eapFastEapTls() { + return this.eapFastEapTls; + } + /** + * @return Allow EAP TLS authentication of expired certificates. Is required only if `eap_fast_eap_tls` is `true`. + * + */ + public Boolean eapFastEapTlsAuthOfExpiredCerts() { + return this.eapFastEapTlsAuthOfExpiredCerts; + } + /** + * @return Enable EAP chaining + * + */ + public Boolean eapFastEnableEapChaining() { + return this.eapFastEnableEapChaining; + } + /** + * @return Allow anonymous provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Boolean eapFastPacsAllowAnonymousProvisioning() { + return this.eapFastPacsAllowAnonymousProvisioning; + } + /** + * @return Allow authenticated provisioning. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Boolean eapFastPacsAllowAuthenticatedProvisioning() { + return this.eapFastPacsAllowAuthenticatedProvisioning; + } + /** + * @return Accept client certification for provisioning. Is required only if `eap_fast_pacs_allow_authenticated_provisioning` is `true`. + * + */ + public Boolean eapFastPacsAllowClientCert() { + return this.eapFastPacsAllowClientCert; + } + /** + * @return Allow machine authentication. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Boolean eapFastPacsAllowMachineAuthentication() { + return this.eapFastPacsAllowMachineAuthentication; + } + /** + * @return Authorization PAC TTL. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. + * + */ + public Integer eapFastPacsAuthorizationPacTtl() { + return this.eapFastPacsAuthorizationPacTtl; + } + /** + * @return Authorization PAC TTL unit. Is required only if `eap_fast_pacs_stateless_session_resume` is `true`. + * + */ + public String eapFastPacsAuthorizationPacTtlUnit() { + return this.eapFastPacsAuthorizationPacTtlUnit; + } + /** + * @return Machine PAC TTL. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. + * + */ + public Integer eapFastPacsMachinePacTtl() { + return this.eapFastPacsMachinePacTtl; + } + /** + * @return Machine PAC TTL unit. Is required only if `eap_fast_pacs_allow_machine_authentication` is `true`. + * + */ + public String eapFastPacsMachinePacTtlUnit() { + return this.eapFastPacsMachinePacTtlUnit; + } + /** + * @return Server returns access accept after authenticated provisioning. Is required only if `eap_fast_pacs_allow_authenticated_provisioning` is `true`. + * + */ + public Boolean eapFastPacsServerReturns() { + return this.eapFastPacsServerReturns; + } + /** + * @return Stateless session resume. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Boolean eapFastPacsStatelessSessionResume() { + return this.eapFastPacsStatelessSessionResume; + } + /** + * @return PACs tunnel PAC time to live. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Integer eapFastPacsTunnelPacTtl() { + return this.eapFastPacsTunnelPacTtl; + } + /** + * @return PACs tunnel PAC time to live unit. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public String eapFastPacsTunnelPacTtlUnit() { + return this.eapFastPacsTunnelPacTtlUnit; + } + /** + * @return Use proactive pac update percentage. Is required only if `eap_fast_use_pacs` is `true`. + * + */ + public Integer eapFastPacsUseProactivePacUpdatePercentage() { + return this.eapFastPacsUseProactivePacUpdatePercentage; + } + /** + * @return Use PACs + * + */ + public Boolean eapFastUsePacs() { + return this.eapFastUsePacs; + } + /** + * @return Allow authentication of expired certificates + * + */ + public Boolean eapTlsAllowAuthOfExpiredCerts() { + return this.eapTlsAllowAuthOfExpiredCerts; + } + /** + * @return Enable stateless session resume + * + */ + public Boolean eapTlsEnableStatelessSessionResume() { + return this.eapTlsEnableStatelessSessionResume; + } + /** + * @return EAP TLS L-Bit + * + */ + public Boolean eapTlsLBit() { + return this.eapTlsLBit; + } + /** + * @return Session ticket percentage. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + */ + public Integer eapTlsSessionTicketPercentage() { + return this.eapTlsSessionTicketPercentage; + } + /** + * @return Session ticket TTL. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + */ + public Integer eapTlsSessionTicketTtl() { + return this.eapTlsSessionTicketTtl; + } + /** + * @return Session ticket TTL unit. Is required only if `eap_tls_enable_stateless_session_resume` is `true`. + * + */ + public String eapTlsSessionTicketTtlUnit() { + return this.eapTlsSessionTicketTtlUnit; + } + /** + * @return Allow CHAP + * + */ + public Boolean eapTtlsChap() { + return this.eapTtlsChap; + } + /** + * @return Allow EAP MD5 + * + */ + public Boolean eapTtlsEapMd5() { + return this.eapTtlsEapMd5; + } + /** + * @return Allow EAP MS CHAP v2 + * + */ + public Boolean eapTtlsEapMsChapV2() { + return this.eapTtlsEapMsChapV2; + } + /** + * @return Allow EAP MS CHAP v2 password change. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. + * + */ + public Boolean eapTtlsEapMsChapV2PwdChange() { + return this.eapTtlsEapMsChapV2PwdChange; + } + /** + * @return EAP MS CHAP v2 password change retries. Is required only if `eap_ttls_eap_ms_chap_v2` is `true`. + * + */ + public Integer eapTtlsEapMsChapV2PwdChangeRetries() { + return this.eapTtlsEapMsChapV2PwdChangeRetries; + } + /** + * @return Allow MS CHAP v1 + * + */ + public Boolean eapTtlsMsChapV1() { + return this.eapTtlsMsChapV1; + } + /** + * @return Allow MS CHAP v2 + * + */ + public Boolean eapTtlsMsChapV2() { + return this.eapTtlsMsChapV2; + } + /** + * @return Allow PAP ASCII + * + */ + public Boolean eapTtlsPapAscii() { + return this.eapTtlsPapAscii; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return The name of the allowed protocols + * + */ + public String name() { + return this.name; + } + /** + * @return Allow PEAP EAP GTC + * + */ + public Boolean peapAllowPeapEapGtc() { + return this.peapAllowPeapEapGtc; + } + /** + * @return Allow PEAP EAP GTC password change. Is required only if `allow_peap_eap_gtc` is `true`. + * + */ + public Boolean peapAllowPeapEapGtcPwdChange() { + return this.peapAllowPeapEapGtcPwdChange; + } + /** + * @return PEAP EAP GTC password change retries. Is required only if `allow_peap_eap_gtc` is `true`. + * + */ + public Integer peapAllowPeapEapGtcPwdChangeRetries() { + return this.peapAllowPeapEapGtcPwdChangeRetries; + } + /** + * @return Allow PEAP EAP MS CHAP v2 + * + */ + public Boolean peapAllowPeapEapMsChapV2() { + return this.peapAllowPeapEapMsChapV2; + } + /** + * @return Allow PEAP EAP MS CHAP v2 password change. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. + * + */ + public Boolean peapAllowPeapEapMsChapV2PwdChange() { + return this.peapAllowPeapEapMsChapV2PwdChange; + } + /** + * @return Allow PEAP EAP MS CHAP v2 password change retries. Is required only if `allow_peap_eap_ms_chap_v2` is `true`. + * + */ + public Integer peapAllowPeapEapMsChapV2PwdChangeRetries() { + return this.peapAllowPeapEapMsChapV2PwdChangeRetries; + } + /** + * @return Allow PEAP EAP TLS + * + */ + public Boolean peapAllowPeapEapTls() { + return this.peapAllowPeapEapTls; + } + /** + * @return Allow PEAP EAP TLS authentication of expired certificates. Is required only if `peap_allow_peap_eap_tls` is `true`. + * + */ + public Boolean peapAllowPeapEapTlsAuthOfExpiredCerts() { + return this.peapAllowPeapEapTlsAuthOfExpiredCerts; + } + /** + * @return Allow PEAP v0 + * + */ + public Boolean peapPeapV0() { + return this.peapPeapV0; + } + /** + * @return Preferred EAP protocol + * + */ + public String preferredEapProtocol() { + return this.preferredEapProtocol; + } + /** + * @return Process host lookup + * + */ + public Boolean processHostLookup() { + return this.processHostLookup; + } + /** + * @return Require cryptobinding + * + */ + public Boolean requireCryptobinding() { + return this.requireCryptobinding; + } + /** + * @return Require message authentication + * + */ + public Boolean requireMessageAuth() { + return this.requireMessageAuth; + } + /** + * @return Allow downgrade to MSK + * + */ + public Boolean teapDowngradeMsk() { + return this.teapDowngradeMsk; + } + /** + * @return Accept client certificate during tunnel establishment + * + */ + public Boolean teapEapAcceptClientCertDuringTunnelEst() { + return this.teapEapAcceptClientCertDuringTunnelEst; + } + /** + * @return Allow EAP chaining + * + */ + public Boolean teapEapChaining() { + return this.teapEapChaining; + } + /** + * @return Allow EAP MS CHAP v2 + * + */ + public Boolean teapEapMsChapV2() { + return this.teapEapMsChapV2; + } + /** + * @return Allow EAP MS CHAP v2 password change. Is required only if `teap_eap_ms_chap_v2` is `true`. + * + */ + public Boolean teapEapMsChapV2PwdChange() { + return this.teapEapMsChapV2PwdChange; + } + /** + * @return EAP MS CHAP v2 password change retries. Is required only if `teap_eap_ms_chap_v2` is `true`. + * + */ + public Integer teapEapMsChapV2PwdChangeRetries() { + return this.teapEapMsChapV2PwdChangeRetries; + } + /** + * @return Allow EAP TLS + * + */ + public Boolean teapEapTls() { + return this.teapEapTls; + } + /** + * @return Allow EAP TLS authentication of expired certs. Is required only if `teap_eap_tls` is `true`. + * + */ + public Boolean teapEapTlsAuthOfExpiredCerts() { + return this.teapEapTlsAuthOfExpiredCerts; + } + /** + * @return Request basic password authentication + * + */ + public Boolean teapRequestBasicPwdAuth() { + return this.teapRequestBasicPwdAuth; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAllowedProtocolsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean allow5g; + private Boolean allowChap; + private Boolean allowEapFast; + private Boolean allowEapMd5; + private Boolean allowEapTls; + private Boolean allowEapTtls; + private Boolean allowLeap; + private Boolean allowMsChapV1; + private Boolean allowMsChapV2; + private Boolean allowPapAscii; + private Boolean allowPeap; + private Boolean allowPreferredEapProtocol; + private Boolean allowTeap; + private Boolean allowWeakCiphersForEap; + private String description; + private Boolean eapFastAcceptClientCert; + private Boolean eapFastAllowMachineAuthentication; + private Boolean eapFastEapGtc; + private Boolean eapFastEapGtcPwdChange; + private Integer eapFastEapGtcPwdChangeRetries; + private Boolean eapFastEapMsChapV2; + private Boolean eapFastEapMsChapV2PwdChange; + private Integer eapFastEapMsChapV2PwdChangeRetries; + private Boolean eapFastEapTls; + private Boolean eapFastEapTlsAuthOfExpiredCerts; + private Boolean eapFastEnableEapChaining; + private Boolean eapFastPacsAllowAnonymousProvisioning; + private Boolean eapFastPacsAllowAuthenticatedProvisioning; + private Boolean eapFastPacsAllowClientCert; + private Boolean eapFastPacsAllowMachineAuthentication; + private Integer eapFastPacsAuthorizationPacTtl; + private String eapFastPacsAuthorizationPacTtlUnit; + private Integer eapFastPacsMachinePacTtl; + private String eapFastPacsMachinePacTtlUnit; + private Boolean eapFastPacsServerReturns; + private Boolean eapFastPacsStatelessSessionResume; + private Integer eapFastPacsTunnelPacTtl; + private String eapFastPacsTunnelPacTtlUnit; + private Integer eapFastPacsUseProactivePacUpdatePercentage; + private Boolean eapFastUsePacs; + private Boolean eapTlsAllowAuthOfExpiredCerts; + private Boolean eapTlsEnableStatelessSessionResume; + private Boolean eapTlsLBit; + private Integer eapTlsSessionTicketPercentage; + private Integer eapTlsSessionTicketTtl; + private String eapTlsSessionTicketTtlUnit; + private Boolean eapTtlsChap; + private Boolean eapTtlsEapMd5; + private Boolean eapTtlsEapMsChapV2; + private Boolean eapTtlsEapMsChapV2PwdChange; + private Integer eapTtlsEapMsChapV2PwdChangeRetries; + private Boolean eapTtlsMsChapV1; + private Boolean eapTtlsMsChapV2; + private Boolean eapTtlsPapAscii; + private String id; + private String name; + private Boolean peapAllowPeapEapGtc; + private Boolean peapAllowPeapEapGtcPwdChange; + private Integer peapAllowPeapEapGtcPwdChangeRetries; + private Boolean peapAllowPeapEapMsChapV2; + private Boolean peapAllowPeapEapMsChapV2PwdChange; + private Integer peapAllowPeapEapMsChapV2PwdChangeRetries; + private Boolean peapAllowPeapEapTls; + private Boolean peapAllowPeapEapTlsAuthOfExpiredCerts; + private Boolean peapPeapV0; + private String preferredEapProtocol; + private Boolean processHostLookup; + private Boolean requireCryptobinding; + private Boolean requireMessageAuth; + private Boolean teapDowngradeMsk; + private Boolean teapEapAcceptClientCertDuringTunnelEst; + private Boolean teapEapChaining; + private Boolean teapEapMsChapV2; + private Boolean teapEapMsChapV2PwdChange; + private Integer teapEapMsChapV2PwdChangeRetries; + private Boolean teapEapTls; + private Boolean teapEapTlsAuthOfExpiredCerts; + private Boolean teapRequestBasicPwdAuth; + public Builder() {} + public Builder(GetAllowedProtocolsResult defaults) { + Objects.requireNonNull(defaults); + this.allow5g = defaults.allow5g; + this.allowChap = defaults.allowChap; + this.allowEapFast = defaults.allowEapFast; + this.allowEapMd5 = defaults.allowEapMd5; + this.allowEapTls = defaults.allowEapTls; + this.allowEapTtls = defaults.allowEapTtls; + this.allowLeap = defaults.allowLeap; + this.allowMsChapV1 = defaults.allowMsChapV1; + this.allowMsChapV2 = defaults.allowMsChapV2; + this.allowPapAscii = defaults.allowPapAscii; + this.allowPeap = defaults.allowPeap; + this.allowPreferredEapProtocol = defaults.allowPreferredEapProtocol; + this.allowTeap = defaults.allowTeap; + this.allowWeakCiphersForEap = defaults.allowWeakCiphersForEap; + this.description = defaults.description; + this.eapFastAcceptClientCert = defaults.eapFastAcceptClientCert; + this.eapFastAllowMachineAuthentication = defaults.eapFastAllowMachineAuthentication; + this.eapFastEapGtc = defaults.eapFastEapGtc; + this.eapFastEapGtcPwdChange = defaults.eapFastEapGtcPwdChange; + this.eapFastEapGtcPwdChangeRetries = defaults.eapFastEapGtcPwdChangeRetries; + this.eapFastEapMsChapV2 = defaults.eapFastEapMsChapV2; + this.eapFastEapMsChapV2PwdChange = defaults.eapFastEapMsChapV2PwdChange; + this.eapFastEapMsChapV2PwdChangeRetries = defaults.eapFastEapMsChapV2PwdChangeRetries; + this.eapFastEapTls = defaults.eapFastEapTls; + this.eapFastEapTlsAuthOfExpiredCerts = defaults.eapFastEapTlsAuthOfExpiredCerts; + this.eapFastEnableEapChaining = defaults.eapFastEnableEapChaining; + this.eapFastPacsAllowAnonymousProvisioning = defaults.eapFastPacsAllowAnonymousProvisioning; + this.eapFastPacsAllowAuthenticatedProvisioning = defaults.eapFastPacsAllowAuthenticatedProvisioning; + this.eapFastPacsAllowClientCert = defaults.eapFastPacsAllowClientCert; + this.eapFastPacsAllowMachineAuthentication = defaults.eapFastPacsAllowMachineAuthentication; + this.eapFastPacsAuthorizationPacTtl = defaults.eapFastPacsAuthorizationPacTtl; + this.eapFastPacsAuthorizationPacTtlUnit = defaults.eapFastPacsAuthorizationPacTtlUnit; + this.eapFastPacsMachinePacTtl = defaults.eapFastPacsMachinePacTtl; + this.eapFastPacsMachinePacTtlUnit = defaults.eapFastPacsMachinePacTtlUnit; + this.eapFastPacsServerReturns = defaults.eapFastPacsServerReturns; + this.eapFastPacsStatelessSessionResume = defaults.eapFastPacsStatelessSessionResume; + this.eapFastPacsTunnelPacTtl = defaults.eapFastPacsTunnelPacTtl; + this.eapFastPacsTunnelPacTtlUnit = defaults.eapFastPacsTunnelPacTtlUnit; + this.eapFastPacsUseProactivePacUpdatePercentage = defaults.eapFastPacsUseProactivePacUpdatePercentage; + this.eapFastUsePacs = defaults.eapFastUsePacs; + this.eapTlsAllowAuthOfExpiredCerts = defaults.eapTlsAllowAuthOfExpiredCerts; + this.eapTlsEnableStatelessSessionResume = defaults.eapTlsEnableStatelessSessionResume; + this.eapTlsLBit = defaults.eapTlsLBit; + this.eapTlsSessionTicketPercentage = defaults.eapTlsSessionTicketPercentage; + this.eapTlsSessionTicketTtl = defaults.eapTlsSessionTicketTtl; + this.eapTlsSessionTicketTtlUnit = defaults.eapTlsSessionTicketTtlUnit; + this.eapTtlsChap = defaults.eapTtlsChap; + this.eapTtlsEapMd5 = defaults.eapTtlsEapMd5; + this.eapTtlsEapMsChapV2 = defaults.eapTtlsEapMsChapV2; + this.eapTtlsEapMsChapV2PwdChange = defaults.eapTtlsEapMsChapV2PwdChange; + this.eapTtlsEapMsChapV2PwdChangeRetries = defaults.eapTtlsEapMsChapV2PwdChangeRetries; + this.eapTtlsMsChapV1 = defaults.eapTtlsMsChapV1; + this.eapTtlsMsChapV2 = defaults.eapTtlsMsChapV2; + this.eapTtlsPapAscii = defaults.eapTtlsPapAscii; + this.id = defaults.id; + this.name = defaults.name; + this.peapAllowPeapEapGtc = defaults.peapAllowPeapEapGtc; + this.peapAllowPeapEapGtcPwdChange = defaults.peapAllowPeapEapGtcPwdChange; + this.peapAllowPeapEapGtcPwdChangeRetries = defaults.peapAllowPeapEapGtcPwdChangeRetries; + this.peapAllowPeapEapMsChapV2 = defaults.peapAllowPeapEapMsChapV2; + this.peapAllowPeapEapMsChapV2PwdChange = defaults.peapAllowPeapEapMsChapV2PwdChange; + this.peapAllowPeapEapMsChapV2PwdChangeRetries = defaults.peapAllowPeapEapMsChapV2PwdChangeRetries; + this.peapAllowPeapEapTls = defaults.peapAllowPeapEapTls; + this.peapAllowPeapEapTlsAuthOfExpiredCerts = defaults.peapAllowPeapEapTlsAuthOfExpiredCerts; + this.peapPeapV0 = defaults.peapPeapV0; + this.preferredEapProtocol = defaults.preferredEapProtocol; + this.processHostLookup = defaults.processHostLookup; + this.requireCryptobinding = defaults.requireCryptobinding; + this.requireMessageAuth = defaults.requireMessageAuth; + this.teapDowngradeMsk = defaults.teapDowngradeMsk; + this.teapEapAcceptClientCertDuringTunnelEst = defaults.teapEapAcceptClientCertDuringTunnelEst; + this.teapEapChaining = defaults.teapEapChaining; + this.teapEapMsChapV2 = defaults.teapEapMsChapV2; + this.teapEapMsChapV2PwdChange = defaults.teapEapMsChapV2PwdChange; + this.teapEapMsChapV2PwdChangeRetries = defaults.teapEapMsChapV2PwdChangeRetries; + this.teapEapTls = defaults.teapEapTls; + this.teapEapTlsAuthOfExpiredCerts = defaults.teapEapTlsAuthOfExpiredCerts; + this.teapRequestBasicPwdAuth = defaults.teapRequestBasicPwdAuth; + } + + @CustomType.Setter + public Builder allow5g(Boolean allow5g) { + if (allow5g == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "allow5g"); + } + this.allow5g = allow5g; + return this; + } + @CustomType.Setter + public Builder allowChap(Boolean allowChap) { + if (allowChap == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "allowChap"); + } + this.allowChap = allowChap; + return this; + } + @CustomType.Setter + public Builder allowEapFast(Boolean allowEapFast) { + if (allowEapFast == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "allowEapFast"); + } + this.allowEapFast = allowEapFast; + return this; + } + @CustomType.Setter + public Builder allowEapMd5(Boolean allowEapMd5) { + if (allowEapMd5 == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "allowEapMd5"); + } + this.allowEapMd5 = allowEapMd5; + return this; + } + @CustomType.Setter + public Builder allowEapTls(Boolean allowEapTls) { + if (allowEapTls == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "allowEapTls"); + } + this.allowEapTls = allowEapTls; + return this; + } + @CustomType.Setter + public Builder allowEapTtls(Boolean allowEapTtls) { + if (allowEapTtls == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "allowEapTtls"); + } + this.allowEapTtls = allowEapTtls; + return this; + } + @CustomType.Setter + public Builder allowLeap(Boolean allowLeap) { + if (allowLeap == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "allowLeap"); + } + this.allowLeap = allowLeap; + return this; + } + @CustomType.Setter + public Builder allowMsChapV1(Boolean allowMsChapV1) { + if (allowMsChapV1 == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "allowMsChapV1"); + } + this.allowMsChapV1 = allowMsChapV1; + return this; + } + @CustomType.Setter + public Builder allowMsChapV2(Boolean allowMsChapV2) { + if (allowMsChapV2 == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "allowMsChapV2"); + } + this.allowMsChapV2 = allowMsChapV2; + return this; + } + @CustomType.Setter + public Builder allowPapAscii(Boolean allowPapAscii) { + if (allowPapAscii == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "allowPapAscii"); + } + this.allowPapAscii = allowPapAscii; + return this; + } + @CustomType.Setter + public Builder allowPeap(Boolean allowPeap) { + if (allowPeap == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "allowPeap"); + } + this.allowPeap = allowPeap; + return this; + } + @CustomType.Setter + public Builder allowPreferredEapProtocol(Boolean allowPreferredEapProtocol) { + if (allowPreferredEapProtocol == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "allowPreferredEapProtocol"); + } + this.allowPreferredEapProtocol = allowPreferredEapProtocol; + return this; + } + @CustomType.Setter + public Builder allowTeap(Boolean allowTeap) { + if (allowTeap == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "allowTeap"); + } + this.allowTeap = allowTeap; + return this; + } + @CustomType.Setter + public Builder allowWeakCiphersForEap(Boolean allowWeakCiphersForEap) { + if (allowWeakCiphersForEap == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "allowWeakCiphersForEap"); + } + this.allowWeakCiphersForEap = allowWeakCiphersForEap; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder eapFastAcceptClientCert(Boolean eapFastAcceptClientCert) { + if (eapFastAcceptClientCert == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastAcceptClientCert"); + } + this.eapFastAcceptClientCert = eapFastAcceptClientCert; + return this; + } + @CustomType.Setter + public Builder eapFastAllowMachineAuthentication(Boolean eapFastAllowMachineAuthentication) { + if (eapFastAllowMachineAuthentication == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastAllowMachineAuthentication"); + } + this.eapFastAllowMachineAuthentication = eapFastAllowMachineAuthentication; + return this; + } + @CustomType.Setter + public Builder eapFastEapGtc(Boolean eapFastEapGtc) { + if (eapFastEapGtc == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastEapGtc"); + } + this.eapFastEapGtc = eapFastEapGtc; + return this; + } + @CustomType.Setter + public Builder eapFastEapGtcPwdChange(Boolean eapFastEapGtcPwdChange) { + if (eapFastEapGtcPwdChange == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastEapGtcPwdChange"); + } + this.eapFastEapGtcPwdChange = eapFastEapGtcPwdChange; + return this; + } + @CustomType.Setter + public Builder eapFastEapGtcPwdChangeRetries(Integer eapFastEapGtcPwdChangeRetries) { + if (eapFastEapGtcPwdChangeRetries == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastEapGtcPwdChangeRetries"); + } + this.eapFastEapGtcPwdChangeRetries = eapFastEapGtcPwdChangeRetries; + return this; + } + @CustomType.Setter + public Builder eapFastEapMsChapV2(Boolean eapFastEapMsChapV2) { + if (eapFastEapMsChapV2 == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastEapMsChapV2"); + } + this.eapFastEapMsChapV2 = eapFastEapMsChapV2; + return this; + } + @CustomType.Setter + public Builder eapFastEapMsChapV2PwdChange(Boolean eapFastEapMsChapV2PwdChange) { + if (eapFastEapMsChapV2PwdChange == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastEapMsChapV2PwdChange"); + } + this.eapFastEapMsChapV2PwdChange = eapFastEapMsChapV2PwdChange; + return this; + } + @CustomType.Setter + public Builder eapFastEapMsChapV2PwdChangeRetries(Integer eapFastEapMsChapV2PwdChangeRetries) { + if (eapFastEapMsChapV2PwdChangeRetries == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastEapMsChapV2PwdChangeRetries"); + } + this.eapFastEapMsChapV2PwdChangeRetries = eapFastEapMsChapV2PwdChangeRetries; + return this; + } + @CustomType.Setter + public Builder eapFastEapTls(Boolean eapFastEapTls) { + if (eapFastEapTls == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastEapTls"); + } + this.eapFastEapTls = eapFastEapTls; + return this; + } + @CustomType.Setter + public Builder eapFastEapTlsAuthOfExpiredCerts(Boolean eapFastEapTlsAuthOfExpiredCerts) { + if (eapFastEapTlsAuthOfExpiredCerts == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastEapTlsAuthOfExpiredCerts"); + } + this.eapFastEapTlsAuthOfExpiredCerts = eapFastEapTlsAuthOfExpiredCerts; + return this; + } + @CustomType.Setter + public Builder eapFastEnableEapChaining(Boolean eapFastEnableEapChaining) { + if (eapFastEnableEapChaining == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastEnableEapChaining"); + } + this.eapFastEnableEapChaining = eapFastEnableEapChaining; + return this; + } + @CustomType.Setter + public Builder eapFastPacsAllowAnonymousProvisioning(Boolean eapFastPacsAllowAnonymousProvisioning) { + if (eapFastPacsAllowAnonymousProvisioning == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastPacsAllowAnonymousProvisioning"); + } + this.eapFastPacsAllowAnonymousProvisioning = eapFastPacsAllowAnonymousProvisioning; + return this; + } + @CustomType.Setter + public Builder eapFastPacsAllowAuthenticatedProvisioning(Boolean eapFastPacsAllowAuthenticatedProvisioning) { + if (eapFastPacsAllowAuthenticatedProvisioning == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastPacsAllowAuthenticatedProvisioning"); + } + this.eapFastPacsAllowAuthenticatedProvisioning = eapFastPacsAllowAuthenticatedProvisioning; + return this; + } + @CustomType.Setter + public Builder eapFastPacsAllowClientCert(Boolean eapFastPacsAllowClientCert) { + if (eapFastPacsAllowClientCert == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastPacsAllowClientCert"); + } + this.eapFastPacsAllowClientCert = eapFastPacsAllowClientCert; + return this; + } + @CustomType.Setter + public Builder eapFastPacsAllowMachineAuthentication(Boolean eapFastPacsAllowMachineAuthentication) { + if (eapFastPacsAllowMachineAuthentication == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastPacsAllowMachineAuthentication"); + } + this.eapFastPacsAllowMachineAuthentication = eapFastPacsAllowMachineAuthentication; + return this; + } + @CustomType.Setter + public Builder eapFastPacsAuthorizationPacTtl(Integer eapFastPacsAuthorizationPacTtl) { + if (eapFastPacsAuthorizationPacTtl == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastPacsAuthorizationPacTtl"); + } + this.eapFastPacsAuthorizationPacTtl = eapFastPacsAuthorizationPacTtl; + return this; + } + @CustomType.Setter + public Builder eapFastPacsAuthorizationPacTtlUnit(String eapFastPacsAuthorizationPacTtlUnit) { + if (eapFastPacsAuthorizationPacTtlUnit == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastPacsAuthorizationPacTtlUnit"); + } + this.eapFastPacsAuthorizationPacTtlUnit = eapFastPacsAuthorizationPacTtlUnit; + return this; + } + @CustomType.Setter + public Builder eapFastPacsMachinePacTtl(Integer eapFastPacsMachinePacTtl) { + if (eapFastPacsMachinePacTtl == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastPacsMachinePacTtl"); + } + this.eapFastPacsMachinePacTtl = eapFastPacsMachinePacTtl; + return this; + } + @CustomType.Setter + public Builder eapFastPacsMachinePacTtlUnit(String eapFastPacsMachinePacTtlUnit) { + if (eapFastPacsMachinePacTtlUnit == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastPacsMachinePacTtlUnit"); + } + this.eapFastPacsMachinePacTtlUnit = eapFastPacsMachinePacTtlUnit; + return this; + } + @CustomType.Setter + public Builder eapFastPacsServerReturns(Boolean eapFastPacsServerReturns) { + if (eapFastPacsServerReturns == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastPacsServerReturns"); + } + this.eapFastPacsServerReturns = eapFastPacsServerReturns; + return this; + } + @CustomType.Setter + public Builder eapFastPacsStatelessSessionResume(Boolean eapFastPacsStatelessSessionResume) { + if (eapFastPacsStatelessSessionResume == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastPacsStatelessSessionResume"); + } + this.eapFastPacsStatelessSessionResume = eapFastPacsStatelessSessionResume; + return this; + } + @CustomType.Setter + public Builder eapFastPacsTunnelPacTtl(Integer eapFastPacsTunnelPacTtl) { + if (eapFastPacsTunnelPacTtl == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastPacsTunnelPacTtl"); + } + this.eapFastPacsTunnelPacTtl = eapFastPacsTunnelPacTtl; + return this; + } + @CustomType.Setter + public Builder eapFastPacsTunnelPacTtlUnit(String eapFastPacsTunnelPacTtlUnit) { + if (eapFastPacsTunnelPacTtlUnit == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastPacsTunnelPacTtlUnit"); + } + this.eapFastPacsTunnelPacTtlUnit = eapFastPacsTunnelPacTtlUnit; + return this; + } + @CustomType.Setter + public Builder eapFastPacsUseProactivePacUpdatePercentage(Integer eapFastPacsUseProactivePacUpdatePercentage) { + if (eapFastPacsUseProactivePacUpdatePercentage == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastPacsUseProactivePacUpdatePercentage"); + } + this.eapFastPacsUseProactivePacUpdatePercentage = eapFastPacsUseProactivePacUpdatePercentage; + return this; + } + @CustomType.Setter + public Builder eapFastUsePacs(Boolean eapFastUsePacs) { + if (eapFastUsePacs == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapFastUsePacs"); + } + this.eapFastUsePacs = eapFastUsePacs; + return this; + } + @CustomType.Setter + public Builder eapTlsAllowAuthOfExpiredCerts(Boolean eapTlsAllowAuthOfExpiredCerts) { + if (eapTlsAllowAuthOfExpiredCerts == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapTlsAllowAuthOfExpiredCerts"); + } + this.eapTlsAllowAuthOfExpiredCerts = eapTlsAllowAuthOfExpiredCerts; + return this; + } + @CustomType.Setter + public Builder eapTlsEnableStatelessSessionResume(Boolean eapTlsEnableStatelessSessionResume) { + if (eapTlsEnableStatelessSessionResume == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapTlsEnableStatelessSessionResume"); + } + this.eapTlsEnableStatelessSessionResume = eapTlsEnableStatelessSessionResume; + return this; + } + @CustomType.Setter + public Builder eapTlsLBit(Boolean eapTlsLBit) { + if (eapTlsLBit == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapTlsLBit"); + } + this.eapTlsLBit = eapTlsLBit; + return this; + } + @CustomType.Setter + public Builder eapTlsSessionTicketPercentage(Integer eapTlsSessionTicketPercentage) { + if (eapTlsSessionTicketPercentage == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapTlsSessionTicketPercentage"); + } + this.eapTlsSessionTicketPercentage = eapTlsSessionTicketPercentage; + return this; + } + @CustomType.Setter + public Builder eapTlsSessionTicketTtl(Integer eapTlsSessionTicketTtl) { + if (eapTlsSessionTicketTtl == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapTlsSessionTicketTtl"); + } + this.eapTlsSessionTicketTtl = eapTlsSessionTicketTtl; + return this; + } + @CustomType.Setter + public Builder eapTlsSessionTicketTtlUnit(String eapTlsSessionTicketTtlUnit) { + if (eapTlsSessionTicketTtlUnit == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapTlsSessionTicketTtlUnit"); + } + this.eapTlsSessionTicketTtlUnit = eapTlsSessionTicketTtlUnit; + return this; + } + @CustomType.Setter + public Builder eapTtlsChap(Boolean eapTtlsChap) { + if (eapTtlsChap == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapTtlsChap"); + } + this.eapTtlsChap = eapTtlsChap; + return this; + } + @CustomType.Setter + public Builder eapTtlsEapMd5(Boolean eapTtlsEapMd5) { + if (eapTtlsEapMd5 == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapTtlsEapMd5"); + } + this.eapTtlsEapMd5 = eapTtlsEapMd5; + return this; + } + @CustomType.Setter + public Builder eapTtlsEapMsChapV2(Boolean eapTtlsEapMsChapV2) { + if (eapTtlsEapMsChapV2 == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapTtlsEapMsChapV2"); + } + this.eapTtlsEapMsChapV2 = eapTtlsEapMsChapV2; + return this; + } + @CustomType.Setter + public Builder eapTtlsEapMsChapV2PwdChange(Boolean eapTtlsEapMsChapV2PwdChange) { + if (eapTtlsEapMsChapV2PwdChange == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapTtlsEapMsChapV2PwdChange"); + } + this.eapTtlsEapMsChapV2PwdChange = eapTtlsEapMsChapV2PwdChange; + return this; + } + @CustomType.Setter + public Builder eapTtlsEapMsChapV2PwdChangeRetries(Integer eapTtlsEapMsChapV2PwdChangeRetries) { + if (eapTtlsEapMsChapV2PwdChangeRetries == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapTtlsEapMsChapV2PwdChangeRetries"); + } + this.eapTtlsEapMsChapV2PwdChangeRetries = eapTtlsEapMsChapV2PwdChangeRetries; + return this; + } + @CustomType.Setter + public Builder eapTtlsMsChapV1(Boolean eapTtlsMsChapV1) { + if (eapTtlsMsChapV1 == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapTtlsMsChapV1"); + } + this.eapTtlsMsChapV1 = eapTtlsMsChapV1; + return this; + } + @CustomType.Setter + public Builder eapTtlsMsChapV2(Boolean eapTtlsMsChapV2) { + if (eapTtlsMsChapV2 == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapTtlsMsChapV2"); + } + this.eapTtlsMsChapV2 = eapTtlsMsChapV2; + return this; + } + @CustomType.Setter + public Builder eapTtlsPapAscii(Boolean eapTtlsPapAscii) { + if (eapTtlsPapAscii == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "eapTtlsPapAscii"); + } + this.eapTtlsPapAscii = eapTtlsPapAscii; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder peapAllowPeapEapGtc(Boolean peapAllowPeapEapGtc) { + if (peapAllowPeapEapGtc == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "peapAllowPeapEapGtc"); + } + this.peapAllowPeapEapGtc = peapAllowPeapEapGtc; + return this; + } + @CustomType.Setter + public Builder peapAllowPeapEapGtcPwdChange(Boolean peapAllowPeapEapGtcPwdChange) { + if (peapAllowPeapEapGtcPwdChange == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "peapAllowPeapEapGtcPwdChange"); + } + this.peapAllowPeapEapGtcPwdChange = peapAllowPeapEapGtcPwdChange; + return this; + } + @CustomType.Setter + public Builder peapAllowPeapEapGtcPwdChangeRetries(Integer peapAllowPeapEapGtcPwdChangeRetries) { + if (peapAllowPeapEapGtcPwdChangeRetries == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "peapAllowPeapEapGtcPwdChangeRetries"); + } + this.peapAllowPeapEapGtcPwdChangeRetries = peapAllowPeapEapGtcPwdChangeRetries; + return this; + } + @CustomType.Setter + public Builder peapAllowPeapEapMsChapV2(Boolean peapAllowPeapEapMsChapV2) { + if (peapAllowPeapEapMsChapV2 == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "peapAllowPeapEapMsChapV2"); + } + this.peapAllowPeapEapMsChapV2 = peapAllowPeapEapMsChapV2; + return this; + } + @CustomType.Setter + public Builder peapAllowPeapEapMsChapV2PwdChange(Boolean peapAllowPeapEapMsChapV2PwdChange) { + if (peapAllowPeapEapMsChapV2PwdChange == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "peapAllowPeapEapMsChapV2PwdChange"); + } + this.peapAllowPeapEapMsChapV2PwdChange = peapAllowPeapEapMsChapV2PwdChange; + return this; + } + @CustomType.Setter + public Builder peapAllowPeapEapMsChapV2PwdChangeRetries(Integer peapAllowPeapEapMsChapV2PwdChangeRetries) { + if (peapAllowPeapEapMsChapV2PwdChangeRetries == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "peapAllowPeapEapMsChapV2PwdChangeRetries"); + } + this.peapAllowPeapEapMsChapV2PwdChangeRetries = peapAllowPeapEapMsChapV2PwdChangeRetries; + return this; + } + @CustomType.Setter + public Builder peapAllowPeapEapTls(Boolean peapAllowPeapEapTls) { + if (peapAllowPeapEapTls == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "peapAllowPeapEapTls"); + } + this.peapAllowPeapEapTls = peapAllowPeapEapTls; + return this; + } + @CustomType.Setter + public Builder peapAllowPeapEapTlsAuthOfExpiredCerts(Boolean peapAllowPeapEapTlsAuthOfExpiredCerts) { + if (peapAllowPeapEapTlsAuthOfExpiredCerts == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "peapAllowPeapEapTlsAuthOfExpiredCerts"); + } + this.peapAllowPeapEapTlsAuthOfExpiredCerts = peapAllowPeapEapTlsAuthOfExpiredCerts; + return this; + } + @CustomType.Setter + public Builder peapPeapV0(Boolean peapPeapV0) { + if (peapPeapV0 == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "peapPeapV0"); + } + this.peapPeapV0 = peapPeapV0; + return this; + } + @CustomType.Setter + public Builder preferredEapProtocol(String preferredEapProtocol) { + if (preferredEapProtocol == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "preferredEapProtocol"); + } + this.preferredEapProtocol = preferredEapProtocol; + return this; + } + @CustomType.Setter + public Builder processHostLookup(Boolean processHostLookup) { + if (processHostLookup == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "processHostLookup"); + } + this.processHostLookup = processHostLookup; + return this; + } + @CustomType.Setter + public Builder requireCryptobinding(Boolean requireCryptobinding) { + if (requireCryptobinding == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "requireCryptobinding"); + } + this.requireCryptobinding = requireCryptobinding; + return this; + } + @CustomType.Setter + public Builder requireMessageAuth(Boolean requireMessageAuth) { + if (requireMessageAuth == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "requireMessageAuth"); + } + this.requireMessageAuth = requireMessageAuth; + return this; + } + @CustomType.Setter + public Builder teapDowngradeMsk(Boolean teapDowngradeMsk) { + if (teapDowngradeMsk == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "teapDowngradeMsk"); + } + this.teapDowngradeMsk = teapDowngradeMsk; + return this; + } + @CustomType.Setter + public Builder teapEapAcceptClientCertDuringTunnelEst(Boolean teapEapAcceptClientCertDuringTunnelEst) { + if (teapEapAcceptClientCertDuringTunnelEst == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "teapEapAcceptClientCertDuringTunnelEst"); + } + this.teapEapAcceptClientCertDuringTunnelEst = teapEapAcceptClientCertDuringTunnelEst; + return this; + } + @CustomType.Setter + public Builder teapEapChaining(Boolean teapEapChaining) { + if (teapEapChaining == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "teapEapChaining"); + } + this.teapEapChaining = teapEapChaining; + return this; + } + @CustomType.Setter + public Builder teapEapMsChapV2(Boolean teapEapMsChapV2) { + if (teapEapMsChapV2 == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "teapEapMsChapV2"); + } + this.teapEapMsChapV2 = teapEapMsChapV2; + return this; + } + @CustomType.Setter + public Builder teapEapMsChapV2PwdChange(Boolean teapEapMsChapV2PwdChange) { + if (teapEapMsChapV2PwdChange == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "teapEapMsChapV2PwdChange"); + } + this.teapEapMsChapV2PwdChange = teapEapMsChapV2PwdChange; + return this; + } + @CustomType.Setter + public Builder teapEapMsChapV2PwdChangeRetries(Integer teapEapMsChapV2PwdChangeRetries) { + if (teapEapMsChapV2PwdChangeRetries == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "teapEapMsChapV2PwdChangeRetries"); + } + this.teapEapMsChapV2PwdChangeRetries = teapEapMsChapV2PwdChangeRetries; + return this; + } + @CustomType.Setter + public Builder teapEapTls(Boolean teapEapTls) { + if (teapEapTls == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "teapEapTls"); + } + this.teapEapTls = teapEapTls; + return this; + } + @CustomType.Setter + public Builder teapEapTlsAuthOfExpiredCerts(Boolean teapEapTlsAuthOfExpiredCerts) { + if (teapEapTlsAuthOfExpiredCerts == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "teapEapTlsAuthOfExpiredCerts"); + } + this.teapEapTlsAuthOfExpiredCerts = teapEapTlsAuthOfExpiredCerts; + return this; + } + @CustomType.Setter + public Builder teapRequestBasicPwdAuth(Boolean teapRequestBasicPwdAuth) { + if (teapRequestBasicPwdAuth == null) { + throw new MissingRequiredPropertyException("GetAllowedProtocolsResult", "teapRequestBasicPwdAuth"); + } + this.teapRequestBasicPwdAuth = teapRequestBasicPwdAuth; + return this; + } + public GetAllowedProtocolsResult build() { + final var _resultValue = new GetAllowedProtocolsResult(); + _resultValue.allow5g = allow5g; + _resultValue.allowChap = allowChap; + _resultValue.allowEapFast = allowEapFast; + _resultValue.allowEapMd5 = allowEapMd5; + _resultValue.allowEapTls = allowEapTls; + _resultValue.allowEapTtls = allowEapTtls; + _resultValue.allowLeap = allowLeap; + _resultValue.allowMsChapV1 = allowMsChapV1; + _resultValue.allowMsChapV2 = allowMsChapV2; + _resultValue.allowPapAscii = allowPapAscii; + _resultValue.allowPeap = allowPeap; + _resultValue.allowPreferredEapProtocol = allowPreferredEapProtocol; + _resultValue.allowTeap = allowTeap; + _resultValue.allowWeakCiphersForEap = allowWeakCiphersForEap; + _resultValue.description = description; + _resultValue.eapFastAcceptClientCert = eapFastAcceptClientCert; + _resultValue.eapFastAllowMachineAuthentication = eapFastAllowMachineAuthentication; + _resultValue.eapFastEapGtc = eapFastEapGtc; + _resultValue.eapFastEapGtcPwdChange = eapFastEapGtcPwdChange; + _resultValue.eapFastEapGtcPwdChangeRetries = eapFastEapGtcPwdChangeRetries; + _resultValue.eapFastEapMsChapV2 = eapFastEapMsChapV2; + _resultValue.eapFastEapMsChapV2PwdChange = eapFastEapMsChapV2PwdChange; + _resultValue.eapFastEapMsChapV2PwdChangeRetries = eapFastEapMsChapV2PwdChangeRetries; + _resultValue.eapFastEapTls = eapFastEapTls; + _resultValue.eapFastEapTlsAuthOfExpiredCerts = eapFastEapTlsAuthOfExpiredCerts; + _resultValue.eapFastEnableEapChaining = eapFastEnableEapChaining; + _resultValue.eapFastPacsAllowAnonymousProvisioning = eapFastPacsAllowAnonymousProvisioning; + _resultValue.eapFastPacsAllowAuthenticatedProvisioning = eapFastPacsAllowAuthenticatedProvisioning; + _resultValue.eapFastPacsAllowClientCert = eapFastPacsAllowClientCert; + _resultValue.eapFastPacsAllowMachineAuthentication = eapFastPacsAllowMachineAuthentication; + _resultValue.eapFastPacsAuthorizationPacTtl = eapFastPacsAuthorizationPacTtl; + _resultValue.eapFastPacsAuthorizationPacTtlUnit = eapFastPacsAuthorizationPacTtlUnit; + _resultValue.eapFastPacsMachinePacTtl = eapFastPacsMachinePacTtl; + _resultValue.eapFastPacsMachinePacTtlUnit = eapFastPacsMachinePacTtlUnit; + _resultValue.eapFastPacsServerReturns = eapFastPacsServerReturns; + _resultValue.eapFastPacsStatelessSessionResume = eapFastPacsStatelessSessionResume; + _resultValue.eapFastPacsTunnelPacTtl = eapFastPacsTunnelPacTtl; + _resultValue.eapFastPacsTunnelPacTtlUnit = eapFastPacsTunnelPacTtlUnit; + _resultValue.eapFastPacsUseProactivePacUpdatePercentage = eapFastPacsUseProactivePacUpdatePercentage; + _resultValue.eapFastUsePacs = eapFastUsePacs; + _resultValue.eapTlsAllowAuthOfExpiredCerts = eapTlsAllowAuthOfExpiredCerts; + _resultValue.eapTlsEnableStatelessSessionResume = eapTlsEnableStatelessSessionResume; + _resultValue.eapTlsLBit = eapTlsLBit; + _resultValue.eapTlsSessionTicketPercentage = eapTlsSessionTicketPercentage; + _resultValue.eapTlsSessionTicketTtl = eapTlsSessionTicketTtl; + _resultValue.eapTlsSessionTicketTtlUnit = eapTlsSessionTicketTtlUnit; + _resultValue.eapTtlsChap = eapTtlsChap; + _resultValue.eapTtlsEapMd5 = eapTtlsEapMd5; + _resultValue.eapTtlsEapMsChapV2 = eapTtlsEapMsChapV2; + _resultValue.eapTtlsEapMsChapV2PwdChange = eapTtlsEapMsChapV2PwdChange; + _resultValue.eapTtlsEapMsChapV2PwdChangeRetries = eapTtlsEapMsChapV2PwdChangeRetries; + _resultValue.eapTtlsMsChapV1 = eapTtlsMsChapV1; + _resultValue.eapTtlsMsChapV2 = eapTtlsMsChapV2; + _resultValue.eapTtlsPapAscii = eapTtlsPapAscii; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.peapAllowPeapEapGtc = peapAllowPeapEapGtc; + _resultValue.peapAllowPeapEapGtcPwdChange = peapAllowPeapEapGtcPwdChange; + _resultValue.peapAllowPeapEapGtcPwdChangeRetries = peapAllowPeapEapGtcPwdChangeRetries; + _resultValue.peapAllowPeapEapMsChapV2 = peapAllowPeapEapMsChapV2; + _resultValue.peapAllowPeapEapMsChapV2PwdChange = peapAllowPeapEapMsChapV2PwdChange; + _resultValue.peapAllowPeapEapMsChapV2PwdChangeRetries = peapAllowPeapEapMsChapV2PwdChangeRetries; + _resultValue.peapAllowPeapEapTls = peapAllowPeapEapTls; + _resultValue.peapAllowPeapEapTlsAuthOfExpiredCerts = peapAllowPeapEapTlsAuthOfExpiredCerts; + _resultValue.peapPeapV0 = peapPeapV0; + _resultValue.preferredEapProtocol = preferredEapProtocol; + _resultValue.processHostLookup = processHostLookup; + _resultValue.requireCryptobinding = requireCryptobinding; + _resultValue.requireMessageAuth = requireMessageAuth; + _resultValue.teapDowngradeMsk = teapDowngradeMsk; + _resultValue.teapEapAcceptClientCertDuringTunnelEst = teapEapAcceptClientCertDuringTunnelEst; + _resultValue.teapEapChaining = teapEapChaining; + _resultValue.teapEapMsChapV2 = teapEapMsChapV2; + _resultValue.teapEapMsChapV2PwdChange = teapEapMsChapV2PwdChange; + _resultValue.teapEapMsChapV2PwdChangeRetries = teapEapMsChapV2PwdChangeRetries; + _resultValue.teapEapTls = teapEapTls; + _resultValue.teapEapTlsAuthOfExpiredCerts = teapEapTlsAuthOfExpiredCerts; + _resultValue.teapRequestBasicPwdAuth = teapRequestBasicPwdAuth; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthenticationRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthenticationRuleChildren.java new file mode 100644 index 0000000..83aac17 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthenticationRuleChildren.java @@ -0,0 +1,248 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.GetAuthenticationRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthenticationRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthenticationRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthenticationRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private List childrens; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthenticationRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthenticationRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthenticationRuleChildren build() { + final var _resultValue = new GetAuthenticationRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthenticationRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthenticationRuleChildrenChildren.java new file mode 100644 index 0000000..d325623 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthenticationRuleChildrenChildren.java @@ -0,0 +1,220 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAuthenticationRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return Condition type. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthenticationRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return Condition type. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthenticationRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthenticationRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleChildrenChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthenticationRuleChildrenChildren build() { + final var _resultValue = new GetAuthenticationRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthenticationRuleResult.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthenticationRuleResult.java new file mode 100644 index 0000000..e47ea5f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthenticationRuleResult.java @@ -0,0 +1,479 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.GetAuthenticationRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthenticationRuleResult { + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Dictionary attribute name + * + */ + private String conditionAttributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String conditionAttributeValue; + /** + * @return Dictionary name + * + */ + private String conditionDictionaryName; + /** + * @return Dictionary value + * + */ + private String conditionDictionaryValue; + /** + * @return UUID for condition + * + */ + private String conditionId; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean conditionIsNegate; + /** + * @return Equality operator + * + */ + private String conditionOperator; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Indicates if this rule is the default one + * + */ + private Boolean default_; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Identity source name from the identity stores + * + */ + private String identitySourceName; + /** + * @return Action to perform when authentication fails such as Bad credentials, disabled user and so on + * + */ + private String ifAuthFail; + /** + * @return Action to perform when ISE is uanble to access the identity database + * + */ + private String ifProcessFail; + /** + * @return Action to perform when user is not found in any of identity stores + * + */ + private String ifUserNotFound; + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + private String name; + /** + * @return Policy set ID + * + */ + private String policySetId; + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + private Integer rank; + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + private String state; + + private GetAuthenticationRuleResult() {} + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Dictionary attribute name + * + */ + public String conditionAttributeName() { + return this.conditionAttributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String conditionAttributeValue() { + return this.conditionAttributeValue; + } + /** + * @return Dictionary name + * + */ + public String conditionDictionaryName() { + return this.conditionDictionaryName; + } + /** + * @return Dictionary value + * + */ + public String conditionDictionaryValue() { + return this.conditionDictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String conditionId() { + return this.conditionId; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean conditionIsNegate() { + return this.conditionIsNegate; + } + /** + * @return Equality operator + * + */ + public String conditionOperator() { + return this.conditionOperator; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Indicates if this rule is the default one + * + */ + public Boolean default_() { + return this.default_; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Identity source name from the identity stores + * + */ + public String identitySourceName() { + return this.identitySourceName; + } + /** + * @return Action to perform when authentication fails such as Bad credentials, disabled user and so on + * + */ + public String ifAuthFail() { + return this.ifAuthFail; + } + /** + * @return Action to perform when ISE is uanble to access the identity database + * + */ + public String ifProcessFail() { + return this.ifProcessFail; + } + /** + * @return Action to perform when user is not found in any of identity stores + * + */ + public String ifUserNotFound() { + return this.ifUserNotFound; + } + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public String name() { + return this.name; + } + /** + * @return Policy set ID + * + */ + public String policySetId() { + return this.policySetId; + } + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Integer rank() { + return this.rank; + } + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthenticationRuleResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List childrens; + private String conditionAttributeName; + private String conditionAttributeValue; + private String conditionDictionaryName; + private String conditionDictionaryValue; + private String conditionId; + private Boolean conditionIsNegate; + private String conditionOperator; + private String conditionType; + private Boolean default_; + private String id; + private String identitySourceName; + private String ifAuthFail; + private String ifProcessFail; + private String ifUserNotFound; + private String name; + private String policySetId; + private Integer rank; + private String state; + public Builder() {} + public Builder(GetAuthenticationRuleResult defaults) { + Objects.requireNonNull(defaults); + this.childrens = defaults.childrens; + this.conditionAttributeName = defaults.conditionAttributeName; + this.conditionAttributeValue = defaults.conditionAttributeValue; + this.conditionDictionaryName = defaults.conditionDictionaryName; + this.conditionDictionaryValue = defaults.conditionDictionaryValue; + this.conditionId = defaults.conditionId; + this.conditionIsNegate = defaults.conditionIsNegate; + this.conditionOperator = defaults.conditionOperator; + this.conditionType = defaults.conditionType; + this.default_ = defaults.default_; + this.id = defaults.id; + this.identitySourceName = defaults.identitySourceName; + this.ifAuthFail = defaults.ifAuthFail; + this.ifProcessFail = defaults.ifProcessFail; + this.ifUserNotFound = defaults.ifUserNotFound; + this.name = defaults.name; + this.policySetId = defaults.policySetId; + this.rank = defaults.rank; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthenticationRuleChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionAttributeName(String conditionAttributeName) { + if (conditionAttributeName == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionAttributeName"); + } + this.conditionAttributeName = conditionAttributeName; + return this; + } + @CustomType.Setter + public Builder conditionAttributeValue(String conditionAttributeValue) { + if (conditionAttributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionAttributeValue"); + } + this.conditionAttributeValue = conditionAttributeValue; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryName(String conditionDictionaryName) { + if (conditionDictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionDictionaryName"); + } + this.conditionDictionaryName = conditionDictionaryName; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + if (conditionDictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionDictionaryValue"); + } + this.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + @CustomType.Setter + public Builder conditionId(String conditionId) { + if (conditionId == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionId"); + } + this.conditionId = conditionId; + return this; + } + @CustomType.Setter + public Builder conditionIsNegate(Boolean conditionIsNegate) { + if (conditionIsNegate == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionIsNegate"); + } + this.conditionIsNegate = conditionIsNegate; + return this; + } + @CustomType.Setter + public Builder conditionOperator(String conditionOperator) { + if (conditionOperator == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionOperator"); + } + this.conditionOperator = conditionOperator; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter("default") + public Builder default_(Boolean default_) { + if (default_ == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "default_"); + } + this.default_ = default_; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder identitySourceName(String identitySourceName) { + if (identitySourceName == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "identitySourceName"); + } + this.identitySourceName = identitySourceName; + return this; + } + @CustomType.Setter + public Builder ifAuthFail(String ifAuthFail) { + if (ifAuthFail == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "ifAuthFail"); + } + this.ifAuthFail = ifAuthFail; + return this; + } + @CustomType.Setter + public Builder ifProcessFail(String ifProcessFail) { + if (ifProcessFail == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "ifProcessFail"); + } + this.ifProcessFail = ifProcessFail; + return this; + } + @CustomType.Setter + public Builder ifUserNotFound(String ifUserNotFound) { + if (ifUserNotFound == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "ifUserNotFound"); + } + this.ifUserNotFound = ifUserNotFound; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder policySetId(String policySetId) { + if (policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "policySetId"); + } + this.policySetId = policySetId; + return this; + } + @CustomType.Setter + public Builder rank(Integer rank) { + if (rank == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "rank"); + } + this.rank = rank; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAuthenticationRuleResult", "state"); + } + this.state = state; + return this; + } + public GetAuthenticationRuleResult build() { + final var _resultValue = new GetAuthenticationRuleResult(); + _resultValue.childrens = childrens; + _resultValue.conditionAttributeName = conditionAttributeName; + _resultValue.conditionAttributeValue = conditionAttributeValue; + _resultValue.conditionDictionaryName = conditionDictionaryName; + _resultValue.conditionDictionaryValue = conditionDictionaryValue; + _resultValue.conditionId = conditionId; + _resultValue.conditionIsNegate = conditionIsNegate; + _resultValue.conditionOperator = conditionOperator; + _resultValue.conditionType = conditionType; + _resultValue.default_ = default_; + _resultValue.id = id; + _resultValue.identitySourceName = identitySourceName; + _resultValue.ifAuthFail = ifAuthFail; + _resultValue.ifProcessFail = ifProcessFail; + _resultValue.ifUserNotFound = ifUserNotFound; + _resultValue.name = name; + _resultValue.policySetId = policySetId; + _resultValue.rank = rank; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationExceptionRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationExceptionRuleChildren.java new file mode 100644 index 0000000..115a36c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationExceptionRuleChildren.java @@ -0,0 +1,248 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.GetAuthorizationExceptionRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationExceptionRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthorizationExceptionRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationExceptionRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private List childrens; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthorizationExceptionRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthorizationExceptionRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthorizationExceptionRuleChildren build() { + final var _resultValue = new GetAuthorizationExceptionRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationExceptionRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationExceptionRuleChildrenChildren.java new file mode 100644 index 0000000..e86ed37 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationExceptionRuleChildrenChildren.java @@ -0,0 +1,220 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationExceptionRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return Condition type. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthorizationExceptionRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return Condition type. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationExceptionRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthorizationExceptionRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleChildrenChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthorizationExceptionRuleChildrenChildren build() { + final var _resultValue = new GetAuthorizationExceptionRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationExceptionRuleResult.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationExceptionRuleResult.java new file mode 100644 index 0000000..c747997 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationExceptionRuleResult.java @@ -0,0 +1,436 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.GetAuthorizationExceptionRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationExceptionRuleResult { + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Dictionary attribute name + * + */ + private String conditionAttributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String conditionAttributeValue; + /** + * @return Dictionary name + * + */ + private String conditionDictionaryName; + /** + * @return Dictionary value + * + */ + private String conditionDictionaryValue; + /** + * @return UUID for condition + * + */ + private String conditionId; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean conditionIsNegate; + /** + * @return Equality operator + * + */ + private String conditionOperator; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Indicates if this rule is the default one + * + */ + private Boolean default_; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + private String name; + /** + * @return Policy set ID + * + */ + private String policySetId; + /** + * @return The authorization profile(s) + * + */ + private List profiles; + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + private Integer rank; + /** + * @return Security group used in authorization policies + * + */ + private String securityGroup; + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + private String state; + + private GetAuthorizationExceptionRuleResult() {} + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Dictionary attribute name + * + */ + public String conditionAttributeName() { + return this.conditionAttributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String conditionAttributeValue() { + return this.conditionAttributeValue; + } + /** + * @return Dictionary name + * + */ + public String conditionDictionaryName() { + return this.conditionDictionaryName; + } + /** + * @return Dictionary value + * + */ + public String conditionDictionaryValue() { + return this.conditionDictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String conditionId() { + return this.conditionId; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean conditionIsNegate() { + return this.conditionIsNegate; + } + /** + * @return Equality operator + * + */ + public String conditionOperator() { + return this.conditionOperator; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Indicates if this rule is the default one + * + */ + public Boolean default_() { + return this.default_; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public String name() { + return this.name; + } + /** + * @return Policy set ID + * + */ + public String policySetId() { + return this.policySetId; + } + /** + * @return The authorization profile(s) + * + */ + public List profiles() { + return this.profiles; + } + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Integer rank() { + return this.rank; + } + /** + * @return Security group used in authorization policies + * + */ + public String securityGroup() { + return this.securityGroup; + } + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationExceptionRuleResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List childrens; + private String conditionAttributeName; + private String conditionAttributeValue; + private String conditionDictionaryName; + private String conditionDictionaryValue; + private String conditionId; + private Boolean conditionIsNegate; + private String conditionOperator; + private String conditionType; + private Boolean default_; + private String id; + private String name; + private String policySetId; + private List profiles; + private Integer rank; + private String securityGroup; + private String state; + public Builder() {} + public Builder(GetAuthorizationExceptionRuleResult defaults) { + Objects.requireNonNull(defaults); + this.childrens = defaults.childrens; + this.conditionAttributeName = defaults.conditionAttributeName; + this.conditionAttributeValue = defaults.conditionAttributeValue; + this.conditionDictionaryName = defaults.conditionDictionaryName; + this.conditionDictionaryValue = defaults.conditionDictionaryValue; + this.conditionId = defaults.conditionId; + this.conditionIsNegate = defaults.conditionIsNegate; + this.conditionOperator = defaults.conditionOperator; + this.conditionType = defaults.conditionType; + this.default_ = defaults.default_; + this.id = defaults.id; + this.name = defaults.name; + this.policySetId = defaults.policySetId; + this.profiles = defaults.profiles; + this.rank = defaults.rank; + this.securityGroup = defaults.securityGroup; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthorizationExceptionRuleChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionAttributeName(String conditionAttributeName) { + if (conditionAttributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionAttributeName"); + } + this.conditionAttributeName = conditionAttributeName; + return this; + } + @CustomType.Setter + public Builder conditionAttributeValue(String conditionAttributeValue) { + if (conditionAttributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionAttributeValue"); + } + this.conditionAttributeValue = conditionAttributeValue; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryName(String conditionDictionaryName) { + if (conditionDictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionDictionaryName"); + } + this.conditionDictionaryName = conditionDictionaryName; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + if (conditionDictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionDictionaryValue"); + } + this.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + @CustomType.Setter + public Builder conditionId(String conditionId) { + if (conditionId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionId"); + } + this.conditionId = conditionId; + return this; + } + @CustomType.Setter + public Builder conditionIsNegate(Boolean conditionIsNegate) { + if (conditionIsNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionIsNegate"); + } + this.conditionIsNegate = conditionIsNegate; + return this; + } + @CustomType.Setter + public Builder conditionOperator(String conditionOperator) { + if (conditionOperator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionOperator"); + } + this.conditionOperator = conditionOperator; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter("default") + public Builder default_(Boolean default_) { + if (default_ == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "default_"); + } + this.default_ = default_; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder policySetId(String policySetId) { + if (policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "policySetId"); + } + this.policySetId = policySetId; + return this; + } + @CustomType.Setter + public Builder profiles(List profiles) { + if (profiles == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "profiles"); + } + this.profiles = profiles; + return this; + } + public Builder profiles(String... profiles) { + return profiles(List.of(profiles)); + } + @CustomType.Setter + public Builder rank(Integer rank) { + if (rank == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "rank"); + } + this.rank = rank; + return this; + } + @CustomType.Setter + public Builder securityGroup(String securityGroup) { + if (securityGroup == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "securityGroup"); + } + this.securityGroup = securityGroup; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAuthorizationExceptionRuleResult", "state"); + } + this.state = state; + return this; + } + public GetAuthorizationExceptionRuleResult build() { + final var _resultValue = new GetAuthorizationExceptionRuleResult(); + _resultValue.childrens = childrens; + _resultValue.conditionAttributeName = conditionAttributeName; + _resultValue.conditionAttributeValue = conditionAttributeValue; + _resultValue.conditionDictionaryName = conditionDictionaryName; + _resultValue.conditionDictionaryValue = conditionDictionaryValue; + _resultValue.conditionId = conditionId; + _resultValue.conditionIsNegate = conditionIsNegate; + _resultValue.conditionOperator = conditionOperator; + _resultValue.conditionType = conditionType; + _resultValue.default_ = default_; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.policySetId = policySetId; + _resultValue.profiles = profiles; + _resultValue.rank = rank; + _resultValue.securityGroup = securityGroup; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationGlobalExceptionRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationGlobalExceptionRuleChildren.java new file mode 100644 index 0000000..91083e0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationGlobalExceptionRuleChildren.java @@ -0,0 +1,248 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.GetAuthorizationGlobalExceptionRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationGlobalExceptionRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthorizationGlobalExceptionRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationGlobalExceptionRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private List childrens; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthorizationGlobalExceptionRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthorizationGlobalExceptionRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthorizationGlobalExceptionRuleChildren build() { + final var _resultValue = new GetAuthorizationGlobalExceptionRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationGlobalExceptionRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationGlobalExceptionRuleChildrenChildren.java new file mode 100644 index 0000000..05f49d7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationGlobalExceptionRuleChildrenChildren.java @@ -0,0 +1,220 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationGlobalExceptionRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return Condition type. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthorizationGlobalExceptionRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return Condition type. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationGlobalExceptionRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthorizationGlobalExceptionRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleChildrenChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthorizationGlobalExceptionRuleChildrenChildren build() { + final var _resultValue = new GetAuthorizationGlobalExceptionRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationGlobalExceptionRuleResult.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationGlobalExceptionRuleResult.java new file mode 100644 index 0000000..555f204 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationGlobalExceptionRuleResult.java @@ -0,0 +1,413 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.GetAuthorizationGlobalExceptionRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationGlobalExceptionRuleResult { + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Dictionary attribute name + * + */ + private String conditionAttributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String conditionAttributeValue; + /** + * @return Dictionary name + * + */ + private String conditionDictionaryName; + /** + * @return Dictionary value + * + */ + private String conditionDictionaryValue; + /** + * @return UUID for condition + * + */ + private String conditionId; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean conditionIsNegate; + /** + * @return Equality operator + * + */ + private String conditionOperator; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Indicates if this rule is the default one + * + */ + private Boolean default_; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + private String name; + /** + * @return The authorization profile(s) + * + */ + private List profiles; + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + private Integer rank; + /** + * @return Security group used in authorization policies + * + */ + private String securityGroup; + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + private String state; + + private GetAuthorizationGlobalExceptionRuleResult() {} + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Dictionary attribute name + * + */ + public String conditionAttributeName() { + return this.conditionAttributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String conditionAttributeValue() { + return this.conditionAttributeValue; + } + /** + * @return Dictionary name + * + */ + public String conditionDictionaryName() { + return this.conditionDictionaryName; + } + /** + * @return Dictionary value + * + */ + public String conditionDictionaryValue() { + return this.conditionDictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String conditionId() { + return this.conditionId; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean conditionIsNegate() { + return this.conditionIsNegate; + } + /** + * @return Equality operator + * + */ + public String conditionOperator() { + return this.conditionOperator; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Indicates if this rule is the default one + * + */ + public Boolean default_() { + return this.default_; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public String name() { + return this.name; + } + /** + * @return The authorization profile(s) + * + */ + public List profiles() { + return this.profiles; + } + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Integer rank() { + return this.rank; + } + /** + * @return Security group used in authorization policies + * + */ + public String securityGroup() { + return this.securityGroup; + } + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationGlobalExceptionRuleResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List childrens; + private String conditionAttributeName; + private String conditionAttributeValue; + private String conditionDictionaryName; + private String conditionDictionaryValue; + private String conditionId; + private Boolean conditionIsNegate; + private String conditionOperator; + private String conditionType; + private Boolean default_; + private String id; + private String name; + private List profiles; + private Integer rank; + private String securityGroup; + private String state; + public Builder() {} + public Builder(GetAuthorizationGlobalExceptionRuleResult defaults) { + Objects.requireNonNull(defaults); + this.childrens = defaults.childrens; + this.conditionAttributeName = defaults.conditionAttributeName; + this.conditionAttributeValue = defaults.conditionAttributeValue; + this.conditionDictionaryName = defaults.conditionDictionaryName; + this.conditionDictionaryValue = defaults.conditionDictionaryValue; + this.conditionId = defaults.conditionId; + this.conditionIsNegate = defaults.conditionIsNegate; + this.conditionOperator = defaults.conditionOperator; + this.conditionType = defaults.conditionType; + this.default_ = defaults.default_; + this.id = defaults.id; + this.name = defaults.name; + this.profiles = defaults.profiles; + this.rank = defaults.rank; + this.securityGroup = defaults.securityGroup; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthorizationGlobalExceptionRuleChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionAttributeName(String conditionAttributeName) { + if (conditionAttributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionAttributeName"); + } + this.conditionAttributeName = conditionAttributeName; + return this; + } + @CustomType.Setter + public Builder conditionAttributeValue(String conditionAttributeValue) { + if (conditionAttributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionAttributeValue"); + } + this.conditionAttributeValue = conditionAttributeValue; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryName(String conditionDictionaryName) { + if (conditionDictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionDictionaryName"); + } + this.conditionDictionaryName = conditionDictionaryName; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + if (conditionDictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionDictionaryValue"); + } + this.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + @CustomType.Setter + public Builder conditionId(String conditionId) { + if (conditionId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionId"); + } + this.conditionId = conditionId; + return this; + } + @CustomType.Setter + public Builder conditionIsNegate(Boolean conditionIsNegate) { + if (conditionIsNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionIsNegate"); + } + this.conditionIsNegate = conditionIsNegate; + return this; + } + @CustomType.Setter + public Builder conditionOperator(String conditionOperator) { + if (conditionOperator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionOperator"); + } + this.conditionOperator = conditionOperator; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter("default") + public Builder default_(Boolean default_) { + if (default_ == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "default_"); + } + this.default_ = default_; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder profiles(List profiles) { + if (profiles == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "profiles"); + } + this.profiles = profiles; + return this; + } + public Builder profiles(String... profiles) { + return profiles(List.of(profiles)); + } + @CustomType.Setter + public Builder rank(Integer rank) { + if (rank == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "rank"); + } + this.rank = rank; + return this; + } + @CustomType.Setter + public Builder securityGroup(String securityGroup) { + if (securityGroup == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "securityGroup"); + } + this.securityGroup = securityGroup; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAuthorizationGlobalExceptionRuleResult", "state"); + } + this.state = state; + return this; + } + public GetAuthorizationGlobalExceptionRuleResult build() { + final var _resultValue = new GetAuthorizationGlobalExceptionRuleResult(); + _resultValue.childrens = childrens; + _resultValue.conditionAttributeName = conditionAttributeName; + _resultValue.conditionAttributeValue = conditionAttributeValue; + _resultValue.conditionDictionaryName = conditionDictionaryName; + _resultValue.conditionDictionaryValue = conditionDictionaryValue; + _resultValue.conditionId = conditionId; + _resultValue.conditionIsNegate = conditionIsNegate; + _resultValue.conditionOperator = conditionOperator; + _resultValue.conditionType = conditionType; + _resultValue.default_ = default_; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.profiles = profiles; + _resultValue.rank = rank; + _resultValue.securityGroup = securityGroup; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationProfileAdvancedAttribute.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationProfileAdvancedAttribute.java new file mode 100644 index 0000000..2d2c43a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationProfileAdvancedAttribute.java @@ -0,0 +1,173 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationProfileAdvancedAttribute { + /** + * @return Dictionary name + * + */ + private String attributeLeftDictionaryName; + /** + * @return Attribute name + * + */ + private String attributeLeftName; + /** + * @return Dictionary name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + */ + private String attributeRightDictionaryName; + /** + * @return Attribute name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + */ + private String attributeRightName; + /** + * @return Attribute value, only required when `attribute_right_value_type` is `AttributeValue` + * + */ + private String attributeRightValue; + /** + * @return Advanced attribute value type + * + */ + private String attributeRightValueType; + + private GetAuthorizationProfileAdvancedAttribute() {} + /** + * @return Dictionary name + * + */ + public String attributeLeftDictionaryName() { + return this.attributeLeftDictionaryName; + } + /** + * @return Attribute name + * + */ + public String attributeLeftName() { + return this.attributeLeftName; + } + /** + * @return Dictionary name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + */ + public String attributeRightDictionaryName() { + return this.attributeRightDictionaryName; + } + /** + * @return Attribute name, only required when `attribute_right_value_type` is `AdvancedDictionaryAttribute` + * + */ + public String attributeRightName() { + return this.attributeRightName; + } + /** + * @return Attribute value, only required when `attribute_right_value_type` is `AttributeValue` + * + */ + public String attributeRightValue() { + return this.attributeRightValue; + } + /** + * @return Advanced attribute value type + * + */ + public String attributeRightValueType() { + return this.attributeRightValueType; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationProfileAdvancedAttribute defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeLeftDictionaryName; + private String attributeLeftName; + private String attributeRightDictionaryName; + private String attributeRightName; + private String attributeRightValue; + private String attributeRightValueType; + public Builder() {} + public Builder(GetAuthorizationProfileAdvancedAttribute defaults) { + Objects.requireNonNull(defaults); + this.attributeLeftDictionaryName = defaults.attributeLeftDictionaryName; + this.attributeLeftName = defaults.attributeLeftName; + this.attributeRightDictionaryName = defaults.attributeRightDictionaryName; + this.attributeRightName = defaults.attributeRightName; + this.attributeRightValue = defaults.attributeRightValue; + this.attributeRightValueType = defaults.attributeRightValueType; + } + + @CustomType.Setter + public Builder attributeLeftDictionaryName(String attributeLeftDictionaryName) { + if (attributeLeftDictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileAdvancedAttribute", "attributeLeftDictionaryName"); + } + this.attributeLeftDictionaryName = attributeLeftDictionaryName; + return this; + } + @CustomType.Setter + public Builder attributeLeftName(String attributeLeftName) { + if (attributeLeftName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileAdvancedAttribute", "attributeLeftName"); + } + this.attributeLeftName = attributeLeftName; + return this; + } + @CustomType.Setter + public Builder attributeRightDictionaryName(String attributeRightDictionaryName) { + if (attributeRightDictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileAdvancedAttribute", "attributeRightDictionaryName"); + } + this.attributeRightDictionaryName = attributeRightDictionaryName; + return this; + } + @CustomType.Setter + public Builder attributeRightName(String attributeRightName) { + if (attributeRightName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileAdvancedAttribute", "attributeRightName"); + } + this.attributeRightName = attributeRightName; + return this; + } + @CustomType.Setter + public Builder attributeRightValue(String attributeRightValue) { + if (attributeRightValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileAdvancedAttribute", "attributeRightValue"); + } + this.attributeRightValue = attributeRightValue; + return this; + } + @CustomType.Setter + public Builder attributeRightValueType(String attributeRightValueType) { + if (attributeRightValueType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileAdvancedAttribute", "attributeRightValueType"); + } + this.attributeRightValueType = attributeRightValueType; + return this; + } + public GetAuthorizationProfileAdvancedAttribute build() { + final var _resultValue = new GetAuthorizationProfileAdvancedAttribute(); + _resultValue.attributeLeftDictionaryName = attributeLeftDictionaryName; + _resultValue.attributeLeftName = attributeLeftName; + _resultValue.attributeRightDictionaryName = attributeRightDictionaryName; + _resultValue.attributeRightName = attributeRightName; + _resultValue.attributeRightValue = attributeRightValue; + _resultValue.attributeRightValueType = attributeRightValueType; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationProfileResult.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationProfileResult.java new file mode 100644 index 0000000..03fb438 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationProfileResult.java @@ -0,0 +1,824 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.GetAuthorizationProfileAdvancedAttribute; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationProfileResult { + /** + * @return Access type + * + */ + private String accessType; + /** + * @return ACL + * + */ + private String acl; + /** + * @return List of advanced attributes + * + */ + private List advancedAttributes; + /** + * @return Agentless Posture. + * + */ + private Boolean agentlessPosture; + /** + * @return Airespace ACL + * + */ + private String airespaceAcl; + /** + * @return Airespace IPv6 ACL + * + */ + private String airespaceIpv6Acl; + /** + * @return ASA VPN + * + */ + private String asaVpn; + /** + * @return Auto smart port + * + */ + private String autoSmartPort; + /** + * @return AVC profile + * + */ + private String avcProfile; + /** + * @return DACL name + * + */ + private String daclName; + /** + * @return Description + * + */ + private String description; + /** + * @return Easy wired session candidate + * + */ + private Boolean easywiredSessionCandidate; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Interface template + * + */ + private String interfaceTemplate; + /** + * @return IPv6 ACL + * + */ + private String ipv6AclFilter; + /** + * @return IPv6 DACL name + * + */ + private String ipv6DaclName; + /** + * @return MacSec policy + * + */ + private String macSecPolicy; + /** + * @return The name of the authorization profile + * + */ + private String name; + /** + * @return NEAT + * + */ + private Boolean neat; + /** + * @return Value needs to be an existing Network Device Profile + * + */ + private String profileName; + /** + * @return Maintain Connectivity During Reauthentication + * + */ + private String reauthenticationConnectivity; + /** + * @return Reauthentication timer + * + */ + private Integer reauthenticationTimer; + /** + * @return Service template + * + */ + private Boolean serviceTemplate; + /** + * @return Track movement + * + */ + private Boolean trackMovement; + /** + * @return Unique identifier + * + */ + private String uniqueIdentifier; + /** + * @return Vlan name or ID + * + */ + private String vlanNameId; + /** + * @return Vlan tag ID + * + */ + private Integer vlanTagId; + /** + * @return Voice domain permission + * + */ + private Boolean voiceDomainPermission; + /** + * @return Web authentication (local) + * + */ + private Boolean webAuth; + /** + * @return Web redirection ACL + * + */ + private String webRedirectionAcl; + /** + * @return This attribute is mandatory when `web_redirection_type` value is `CentralizedWebAuth`. For all other `web_redirection_type` values the field must be ignored. + * + */ + private Boolean webRedirectionDisplayCertificatesRenewalMessages; + /** + * @return A portal that exist in the DB and fits the `web_redirection_type` + * + */ + private String webRedirectionPortalName; + /** + * @return IP, hostname or FQDN + * + */ + private String webRedirectionStaticIpHostNameFqdn; + /** + * @return This type must fit the `web_redirection_portal_name` + * + */ + private String webRedirectionType; + + private GetAuthorizationProfileResult() {} + /** + * @return Access type + * + */ + public String accessType() { + return this.accessType; + } + /** + * @return ACL + * + */ + public String acl() { + return this.acl; + } + /** + * @return List of advanced attributes + * + */ + public List advancedAttributes() { + return this.advancedAttributes; + } + /** + * @return Agentless Posture. + * + */ + public Boolean agentlessPosture() { + return this.agentlessPosture; + } + /** + * @return Airespace ACL + * + */ + public String airespaceAcl() { + return this.airespaceAcl; + } + /** + * @return Airespace IPv6 ACL + * + */ + public String airespaceIpv6Acl() { + return this.airespaceIpv6Acl; + } + /** + * @return ASA VPN + * + */ + public String asaVpn() { + return this.asaVpn; + } + /** + * @return Auto smart port + * + */ + public String autoSmartPort() { + return this.autoSmartPort; + } + /** + * @return AVC profile + * + */ + public String avcProfile() { + return this.avcProfile; + } + /** + * @return DACL name + * + */ + public String daclName() { + return this.daclName; + } + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return Easy wired session candidate + * + */ + public Boolean easywiredSessionCandidate() { + return this.easywiredSessionCandidate; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Interface template + * + */ + public String interfaceTemplate() { + return this.interfaceTemplate; + } + /** + * @return IPv6 ACL + * + */ + public String ipv6AclFilter() { + return this.ipv6AclFilter; + } + /** + * @return IPv6 DACL name + * + */ + public String ipv6DaclName() { + return this.ipv6DaclName; + } + /** + * @return MacSec policy + * + */ + public String macSecPolicy() { + return this.macSecPolicy; + } + /** + * @return The name of the authorization profile + * + */ + public String name() { + return this.name; + } + /** + * @return NEAT + * + */ + public Boolean neat() { + return this.neat; + } + /** + * @return Value needs to be an existing Network Device Profile + * + */ + public String profileName() { + return this.profileName; + } + /** + * @return Maintain Connectivity During Reauthentication + * + */ + public String reauthenticationConnectivity() { + return this.reauthenticationConnectivity; + } + /** + * @return Reauthentication timer + * + */ + public Integer reauthenticationTimer() { + return this.reauthenticationTimer; + } + /** + * @return Service template + * + */ + public Boolean serviceTemplate() { + return this.serviceTemplate; + } + /** + * @return Track movement + * + */ + public Boolean trackMovement() { + return this.trackMovement; + } + /** + * @return Unique identifier + * + */ + public String uniqueIdentifier() { + return this.uniqueIdentifier; + } + /** + * @return Vlan name or ID + * + */ + public String vlanNameId() { + return this.vlanNameId; + } + /** + * @return Vlan tag ID + * + */ + public Integer vlanTagId() { + return this.vlanTagId; + } + /** + * @return Voice domain permission + * + */ + public Boolean voiceDomainPermission() { + return this.voiceDomainPermission; + } + /** + * @return Web authentication (local) + * + */ + public Boolean webAuth() { + return this.webAuth; + } + /** + * @return Web redirection ACL + * + */ + public String webRedirectionAcl() { + return this.webRedirectionAcl; + } + /** + * @return This attribute is mandatory when `web_redirection_type` value is `CentralizedWebAuth`. For all other `web_redirection_type` values the field must be ignored. + * + */ + public Boolean webRedirectionDisplayCertificatesRenewalMessages() { + return this.webRedirectionDisplayCertificatesRenewalMessages; + } + /** + * @return A portal that exist in the DB and fits the `web_redirection_type` + * + */ + public String webRedirectionPortalName() { + return this.webRedirectionPortalName; + } + /** + * @return IP, hostname or FQDN + * + */ + public String webRedirectionStaticIpHostNameFqdn() { + return this.webRedirectionStaticIpHostNameFqdn; + } + /** + * @return This type must fit the `web_redirection_portal_name` + * + */ + public String webRedirectionType() { + return this.webRedirectionType; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationProfileResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String accessType; + private String acl; + private List advancedAttributes; + private Boolean agentlessPosture; + private String airespaceAcl; + private String airespaceIpv6Acl; + private String asaVpn; + private String autoSmartPort; + private String avcProfile; + private String daclName; + private String description; + private Boolean easywiredSessionCandidate; + private String id; + private String interfaceTemplate; + private String ipv6AclFilter; + private String ipv6DaclName; + private String macSecPolicy; + private String name; + private Boolean neat; + private String profileName; + private String reauthenticationConnectivity; + private Integer reauthenticationTimer; + private Boolean serviceTemplate; + private Boolean trackMovement; + private String uniqueIdentifier; + private String vlanNameId; + private Integer vlanTagId; + private Boolean voiceDomainPermission; + private Boolean webAuth; + private String webRedirectionAcl; + private Boolean webRedirectionDisplayCertificatesRenewalMessages; + private String webRedirectionPortalName; + private String webRedirectionStaticIpHostNameFqdn; + private String webRedirectionType; + public Builder() {} + public Builder(GetAuthorizationProfileResult defaults) { + Objects.requireNonNull(defaults); + this.accessType = defaults.accessType; + this.acl = defaults.acl; + this.advancedAttributes = defaults.advancedAttributes; + this.agentlessPosture = defaults.agentlessPosture; + this.airespaceAcl = defaults.airespaceAcl; + this.airespaceIpv6Acl = defaults.airespaceIpv6Acl; + this.asaVpn = defaults.asaVpn; + this.autoSmartPort = defaults.autoSmartPort; + this.avcProfile = defaults.avcProfile; + this.daclName = defaults.daclName; + this.description = defaults.description; + this.easywiredSessionCandidate = defaults.easywiredSessionCandidate; + this.id = defaults.id; + this.interfaceTemplate = defaults.interfaceTemplate; + this.ipv6AclFilter = defaults.ipv6AclFilter; + this.ipv6DaclName = defaults.ipv6DaclName; + this.macSecPolicy = defaults.macSecPolicy; + this.name = defaults.name; + this.neat = defaults.neat; + this.profileName = defaults.profileName; + this.reauthenticationConnectivity = defaults.reauthenticationConnectivity; + this.reauthenticationTimer = defaults.reauthenticationTimer; + this.serviceTemplate = defaults.serviceTemplate; + this.trackMovement = defaults.trackMovement; + this.uniqueIdentifier = defaults.uniqueIdentifier; + this.vlanNameId = defaults.vlanNameId; + this.vlanTagId = defaults.vlanTagId; + this.voiceDomainPermission = defaults.voiceDomainPermission; + this.webAuth = defaults.webAuth; + this.webRedirectionAcl = defaults.webRedirectionAcl; + this.webRedirectionDisplayCertificatesRenewalMessages = defaults.webRedirectionDisplayCertificatesRenewalMessages; + this.webRedirectionPortalName = defaults.webRedirectionPortalName; + this.webRedirectionStaticIpHostNameFqdn = defaults.webRedirectionStaticIpHostNameFqdn; + this.webRedirectionType = defaults.webRedirectionType; + } + + @CustomType.Setter + public Builder accessType(String accessType) { + if (accessType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "accessType"); + } + this.accessType = accessType; + return this; + } + @CustomType.Setter + public Builder acl(String acl) { + if (acl == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "acl"); + } + this.acl = acl; + return this; + } + @CustomType.Setter + public Builder advancedAttributes(List advancedAttributes) { + if (advancedAttributes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "advancedAttributes"); + } + this.advancedAttributes = advancedAttributes; + return this; + } + public Builder advancedAttributes(GetAuthorizationProfileAdvancedAttribute... advancedAttributes) { + return advancedAttributes(List.of(advancedAttributes)); + } + @CustomType.Setter + public Builder agentlessPosture(Boolean agentlessPosture) { + if (agentlessPosture == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "agentlessPosture"); + } + this.agentlessPosture = agentlessPosture; + return this; + } + @CustomType.Setter + public Builder airespaceAcl(String airespaceAcl) { + if (airespaceAcl == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "airespaceAcl"); + } + this.airespaceAcl = airespaceAcl; + return this; + } + @CustomType.Setter + public Builder airespaceIpv6Acl(String airespaceIpv6Acl) { + if (airespaceIpv6Acl == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "airespaceIpv6Acl"); + } + this.airespaceIpv6Acl = airespaceIpv6Acl; + return this; + } + @CustomType.Setter + public Builder asaVpn(String asaVpn) { + if (asaVpn == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "asaVpn"); + } + this.asaVpn = asaVpn; + return this; + } + @CustomType.Setter + public Builder autoSmartPort(String autoSmartPort) { + if (autoSmartPort == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "autoSmartPort"); + } + this.autoSmartPort = autoSmartPort; + return this; + } + @CustomType.Setter + public Builder avcProfile(String avcProfile) { + if (avcProfile == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "avcProfile"); + } + this.avcProfile = avcProfile; + return this; + } + @CustomType.Setter + public Builder daclName(String daclName) { + if (daclName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "daclName"); + } + this.daclName = daclName; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder easywiredSessionCandidate(Boolean easywiredSessionCandidate) { + if (easywiredSessionCandidate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "easywiredSessionCandidate"); + } + this.easywiredSessionCandidate = easywiredSessionCandidate; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder interfaceTemplate(String interfaceTemplate) { + if (interfaceTemplate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "interfaceTemplate"); + } + this.interfaceTemplate = interfaceTemplate; + return this; + } + @CustomType.Setter + public Builder ipv6AclFilter(String ipv6AclFilter) { + if (ipv6AclFilter == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "ipv6AclFilter"); + } + this.ipv6AclFilter = ipv6AclFilter; + return this; + } + @CustomType.Setter + public Builder ipv6DaclName(String ipv6DaclName) { + if (ipv6DaclName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "ipv6DaclName"); + } + this.ipv6DaclName = ipv6DaclName; + return this; + } + @CustomType.Setter + public Builder macSecPolicy(String macSecPolicy) { + if (macSecPolicy == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "macSecPolicy"); + } + this.macSecPolicy = macSecPolicy; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder neat(Boolean neat) { + if (neat == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "neat"); + } + this.neat = neat; + return this; + } + @CustomType.Setter + public Builder profileName(String profileName) { + if (profileName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "profileName"); + } + this.profileName = profileName; + return this; + } + @CustomType.Setter + public Builder reauthenticationConnectivity(String reauthenticationConnectivity) { + if (reauthenticationConnectivity == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "reauthenticationConnectivity"); + } + this.reauthenticationConnectivity = reauthenticationConnectivity; + return this; + } + @CustomType.Setter + public Builder reauthenticationTimer(Integer reauthenticationTimer) { + if (reauthenticationTimer == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "reauthenticationTimer"); + } + this.reauthenticationTimer = reauthenticationTimer; + return this; + } + @CustomType.Setter + public Builder serviceTemplate(Boolean serviceTemplate) { + if (serviceTemplate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "serviceTemplate"); + } + this.serviceTemplate = serviceTemplate; + return this; + } + @CustomType.Setter + public Builder trackMovement(Boolean trackMovement) { + if (trackMovement == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "trackMovement"); + } + this.trackMovement = trackMovement; + return this; + } + @CustomType.Setter + public Builder uniqueIdentifier(String uniqueIdentifier) { + if (uniqueIdentifier == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "uniqueIdentifier"); + } + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + @CustomType.Setter + public Builder vlanNameId(String vlanNameId) { + if (vlanNameId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "vlanNameId"); + } + this.vlanNameId = vlanNameId; + return this; + } + @CustomType.Setter + public Builder vlanTagId(Integer vlanTagId) { + if (vlanTagId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "vlanTagId"); + } + this.vlanTagId = vlanTagId; + return this; + } + @CustomType.Setter + public Builder voiceDomainPermission(Boolean voiceDomainPermission) { + if (voiceDomainPermission == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "voiceDomainPermission"); + } + this.voiceDomainPermission = voiceDomainPermission; + return this; + } + @CustomType.Setter + public Builder webAuth(Boolean webAuth) { + if (webAuth == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "webAuth"); + } + this.webAuth = webAuth; + return this; + } + @CustomType.Setter + public Builder webRedirectionAcl(String webRedirectionAcl) { + if (webRedirectionAcl == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "webRedirectionAcl"); + } + this.webRedirectionAcl = webRedirectionAcl; + return this; + } + @CustomType.Setter + public Builder webRedirectionDisplayCertificatesRenewalMessages(Boolean webRedirectionDisplayCertificatesRenewalMessages) { + if (webRedirectionDisplayCertificatesRenewalMessages == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "webRedirectionDisplayCertificatesRenewalMessages"); + } + this.webRedirectionDisplayCertificatesRenewalMessages = webRedirectionDisplayCertificatesRenewalMessages; + return this; + } + @CustomType.Setter + public Builder webRedirectionPortalName(String webRedirectionPortalName) { + if (webRedirectionPortalName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "webRedirectionPortalName"); + } + this.webRedirectionPortalName = webRedirectionPortalName; + return this; + } + @CustomType.Setter + public Builder webRedirectionStaticIpHostNameFqdn(String webRedirectionStaticIpHostNameFqdn) { + if (webRedirectionStaticIpHostNameFqdn == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "webRedirectionStaticIpHostNameFqdn"); + } + this.webRedirectionStaticIpHostNameFqdn = webRedirectionStaticIpHostNameFqdn; + return this; + } + @CustomType.Setter + public Builder webRedirectionType(String webRedirectionType) { + if (webRedirectionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationProfileResult", "webRedirectionType"); + } + this.webRedirectionType = webRedirectionType; + return this; + } + public GetAuthorizationProfileResult build() { + final var _resultValue = new GetAuthorizationProfileResult(); + _resultValue.accessType = accessType; + _resultValue.acl = acl; + _resultValue.advancedAttributes = advancedAttributes; + _resultValue.agentlessPosture = agentlessPosture; + _resultValue.airespaceAcl = airespaceAcl; + _resultValue.airespaceIpv6Acl = airespaceIpv6Acl; + _resultValue.asaVpn = asaVpn; + _resultValue.autoSmartPort = autoSmartPort; + _resultValue.avcProfile = avcProfile; + _resultValue.daclName = daclName; + _resultValue.description = description; + _resultValue.easywiredSessionCandidate = easywiredSessionCandidate; + _resultValue.id = id; + _resultValue.interfaceTemplate = interfaceTemplate; + _resultValue.ipv6AclFilter = ipv6AclFilter; + _resultValue.ipv6DaclName = ipv6DaclName; + _resultValue.macSecPolicy = macSecPolicy; + _resultValue.name = name; + _resultValue.neat = neat; + _resultValue.profileName = profileName; + _resultValue.reauthenticationConnectivity = reauthenticationConnectivity; + _resultValue.reauthenticationTimer = reauthenticationTimer; + _resultValue.serviceTemplate = serviceTemplate; + _resultValue.trackMovement = trackMovement; + _resultValue.uniqueIdentifier = uniqueIdentifier; + _resultValue.vlanNameId = vlanNameId; + _resultValue.vlanTagId = vlanTagId; + _resultValue.voiceDomainPermission = voiceDomainPermission; + _resultValue.webAuth = webAuth; + _resultValue.webRedirectionAcl = webRedirectionAcl; + _resultValue.webRedirectionDisplayCertificatesRenewalMessages = webRedirectionDisplayCertificatesRenewalMessages; + _resultValue.webRedirectionPortalName = webRedirectionPortalName; + _resultValue.webRedirectionStaticIpHostNameFqdn = webRedirectionStaticIpHostNameFqdn; + _resultValue.webRedirectionType = webRedirectionType; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationRuleChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationRuleChildren.java new file mode 100644 index 0000000..baeb60f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationRuleChildren.java @@ -0,0 +1,248 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.GetAuthorizationRuleChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationRuleChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthorizationRuleChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationRuleChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private List childrens; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthorizationRuleChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthorizationRuleChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthorizationRuleChildren build() { + final var _resultValue = new GetAuthorizationRuleChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationRuleChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationRuleChildrenChildren.java new file mode 100644 index 0000000..7fb4d7a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationRuleChildrenChildren.java @@ -0,0 +1,220 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationRuleChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return Condition type. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetAuthorizationRuleChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return Condition type. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationRuleChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetAuthorizationRuleChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleChildrenChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetAuthorizationRuleChildrenChildren build() { + final var _resultValue = new GetAuthorizationRuleChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationRuleResult.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationRuleResult.java new file mode 100644 index 0000000..406f22a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetAuthorizationRuleResult.java @@ -0,0 +1,436 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.GetAuthorizationRuleChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationRuleResult { + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Dictionary attribute name + * + */ + private String conditionAttributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String conditionAttributeValue; + /** + * @return Dictionary name + * + */ + private String conditionDictionaryName; + /** + * @return Dictionary value + * + */ + private String conditionDictionaryValue; + /** + * @return UUID for condition + * + */ + private String conditionId; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean conditionIsNegate; + /** + * @return Equality operator + * + */ + private String conditionOperator; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Indicates if this rule is the default one + * + */ + private Boolean default_; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + private String name; + /** + * @return Policy set ID + * + */ + private String policySetId; + /** + * @return The authorization profile(s) + * + */ + private List profiles; + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + private Integer rank; + /** + * @return Security group used in authorization policies + * + */ + private String securityGroup; + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + private String state; + + private GetAuthorizationRuleResult() {} + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Dictionary attribute name + * + */ + public String conditionAttributeName() { + return this.conditionAttributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String conditionAttributeValue() { + return this.conditionAttributeValue; + } + /** + * @return Dictionary name + * + */ + public String conditionDictionaryName() { + return this.conditionDictionaryName; + } + /** + * @return Dictionary value + * + */ + public String conditionDictionaryValue() { + return this.conditionDictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String conditionId() { + return this.conditionId; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean conditionIsNegate() { + return this.conditionIsNegate; + } + /** + * @return Equality operator + * + */ + public String conditionOperator() { + return this.conditionOperator; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Indicates if this rule is the default one + * + */ + public Boolean default_() { + return this.default_; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public String name() { + return this.name; + } + /** + * @return Policy set ID + * + */ + public String policySetId() { + return this.policySetId; + } + /** + * @return The authorization profile(s) + * + */ + public List profiles() { + return this.profiles; + } + /** + * @return The rank (priority) in relation to other rules. Lower rank is higher priority. + * + */ + public Integer rank() { + return this.rank; + } + /** + * @return Security group used in authorization policies + * + */ + public String securityGroup() { + return this.securityGroup; + } + /** + * @return The state that the rule is in. A disabled rule cannot be matched. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationRuleResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List childrens; + private String conditionAttributeName; + private String conditionAttributeValue; + private String conditionDictionaryName; + private String conditionDictionaryValue; + private String conditionId; + private Boolean conditionIsNegate; + private String conditionOperator; + private String conditionType; + private Boolean default_; + private String id; + private String name; + private String policySetId; + private List profiles; + private Integer rank; + private String securityGroup; + private String state; + public Builder() {} + public Builder(GetAuthorizationRuleResult defaults) { + Objects.requireNonNull(defaults); + this.childrens = defaults.childrens; + this.conditionAttributeName = defaults.conditionAttributeName; + this.conditionAttributeValue = defaults.conditionAttributeValue; + this.conditionDictionaryName = defaults.conditionDictionaryName; + this.conditionDictionaryValue = defaults.conditionDictionaryValue; + this.conditionId = defaults.conditionId; + this.conditionIsNegate = defaults.conditionIsNegate; + this.conditionOperator = defaults.conditionOperator; + this.conditionType = defaults.conditionType; + this.default_ = defaults.default_; + this.id = defaults.id; + this.name = defaults.name; + this.policySetId = defaults.policySetId; + this.profiles = defaults.profiles; + this.rank = defaults.rank; + this.securityGroup = defaults.securityGroup; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetAuthorizationRuleChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionAttributeName(String conditionAttributeName) { + if (conditionAttributeName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionAttributeName"); + } + this.conditionAttributeName = conditionAttributeName; + return this; + } + @CustomType.Setter + public Builder conditionAttributeValue(String conditionAttributeValue) { + if (conditionAttributeValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionAttributeValue"); + } + this.conditionAttributeValue = conditionAttributeValue; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryName(String conditionDictionaryName) { + if (conditionDictionaryName == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionDictionaryName"); + } + this.conditionDictionaryName = conditionDictionaryName; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + if (conditionDictionaryValue == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionDictionaryValue"); + } + this.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + @CustomType.Setter + public Builder conditionId(String conditionId) { + if (conditionId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionId"); + } + this.conditionId = conditionId; + return this; + } + @CustomType.Setter + public Builder conditionIsNegate(Boolean conditionIsNegate) { + if (conditionIsNegate == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionIsNegate"); + } + this.conditionIsNegate = conditionIsNegate; + return this; + } + @CustomType.Setter + public Builder conditionOperator(String conditionOperator) { + if (conditionOperator == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionOperator"); + } + this.conditionOperator = conditionOperator; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter("default") + public Builder default_(Boolean default_) { + if (default_ == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "default_"); + } + this.default_ = default_; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder policySetId(String policySetId) { + if (policySetId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "policySetId"); + } + this.policySetId = policySetId; + return this; + } + @CustomType.Setter + public Builder profiles(List profiles) { + if (profiles == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "profiles"); + } + this.profiles = profiles; + return this; + } + public Builder profiles(String... profiles) { + return profiles(List.of(profiles)); + } + @CustomType.Setter + public Builder rank(Integer rank) { + if (rank == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "rank"); + } + this.rank = rank; + return this; + } + @CustomType.Setter + public Builder securityGroup(String securityGroup) { + if (securityGroup == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "securityGroup"); + } + this.securityGroup = securityGroup; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAuthorizationRuleResult", "state"); + } + this.state = state; + return this; + } + public GetAuthorizationRuleResult build() { + final var _resultValue = new GetAuthorizationRuleResult(); + _resultValue.childrens = childrens; + _resultValue.conditionAttributeName = conditionAttributeName; + _resultValue.conditionAttributeValue = conditionAttributeValue; + _resultValue.conditionDictionaryName = conditionDictionaryName; + _resultValue.conditionDictionaryValue = conditionDictionaryValue; + _resultValue.conditionId = conditionId; + _resultValue.conditionIsNegate = conditionIsNegate; + _resultValue.conditionOperator = conditionOperator; + _resultValue.conditionType = conditionType; + _resultValue.default_ = default_; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.policySetId = policySetId; + _resultValue.profiles = profiles; + _resultValue.rank = rank; + _resultValue.securityGroup = securityGroup; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetConditionChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetConditionChildren.java new file mode 100644 index 0000000..dbf5aa0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetConditionChildren.java @@ -0,0 +1,294 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.GetConditionChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetConditionChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Condition description + * + */ + private String description; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Condition name + * + */ + private String name; + /** + * @return Equality operator + * + */ + private String operator; + + private GetConditionChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Condition description + * + */ + public String description() { + return this.description; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Condition name + * + */ + public String name() { + return this.name; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetConditionChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private List childrens; + private String conditionType; + private String description; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String name; + private String operator; + public Builder() {} + public Builder(GetConditionChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.description = defaults.description; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.name = defaults.name; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetConditionChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetConditionChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetConditionChildren build() { + final var _resultValue = new GetConditionChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.description = description; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.name = name; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetConditionChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetConditionChildrenChildren.java new file mode 100644 index 0000000..742484a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetConditionChildrenChildren.java @@ -0,0 +1,266 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetConditionChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return Condition type. + * + */ + private String conditionType; + /** + * @return Condition description + * + */ + private String description; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Condition name + * + */ + private String name; + /** + * @return Equality operator + * + */ + private String operator; + + private GetConditionChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return Condition type. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Condition description + * + */ + public String description() { + return this.description; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Condition name + * + */ + public String name() { + return this.name; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetConditionChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private String conditionType; + private String description; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String name; + private String operator; + public Builder() {} + public Builder(GetConditionChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.description = defaults.description; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.name = defaults.name; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetConditionChildrenChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetConditionChildrenChildren build() { + final var _resultValue = new GetConditionChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.description = description; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.name = name; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetConditionResult.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetConditionResult.java new file mode 100644 index 0000000..9b7a0d9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetConditionResult.java @@ -0,0 +1,294 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.GetConditionChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetConditionResult { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Condition description + * + */ + private String description; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Condition name + * + */ + private String name; + /** + * @return Equality operator + * + */ + private String operator; + + private GetConditionResult() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Condition description + * + */ + public String description() { + return this.description; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Condition name + * + */ + public String name() { + return this.name; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetConditionResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private List childrens; + private String conditionType; + private String description; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String name; + private String operator; + public Builder() {} + public Builder(GetConditionResult defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.description = defaults.description; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.name = defaults.name; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetConditionChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetConditionResult", "operator"); + } + this.operator = operator; + return this; + } + public GetConditionResult build() { + final var _resultValue = new GetConditionResult(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.description = description; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.name = name; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetDictionaryResult.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetDictionaryResult.java new file mode 100644 index 0000000..4990a76 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetDictionaryResult.java @@ -0,0 +1,150 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDictionaryResult { + /** + * @return The description of the dictionary + * + */ + private String description; + /** + * @return The dictionary attribute type + * + */ + private String dictionaryAttrType; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return The dictionary name + * + */ + private String name; + /** + * @return The version of the dictionary + * + */ + private String version; + + private GetDictionaryResult() {} + /** + * @return The description of the dictionary + * + */ + public String description() { + return this.description; + } + /** + * @return The dictionary attribute type + * + */ + public String dictionaryAttrType() { + return this.dictionaryAttrType; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return The dictionary name + * + */ + public String name() { + return this.name; + } + /** + * @return The version of the dictionary + * + */ + public String version() { + return this.version; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDictionaryResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private String dictionaryAttrType; + private String id; + private String name; + private String version; + public Builder() {} + public Builder(GetDictionaryResult defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.dictionaryAttrType = defaults.dictionaryAttrType; + this.id = defaults.id; + this.name = defaults.name; + this.version = defaults.version; + } + + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetDictionaryResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder dictionaryAttrType(String dictionaryAttrType) { + if (dictionaryAttrType == null) { + throw new MissingRequiredPropertyException("GetDictionaryResult", "dictionaryAttrType"); + } + this.dictionaryAttrType = dictionaryAttrType; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDictionaryResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetDictionaryResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder version(String version) { + if (version == null) { + throw new MissingRequiredPropertyException("GetDictionaryResult", "version"); + } + this.version = version; + return this; + } + public GetDictionaryResult build() { + final var _resultValue = new GetDictionaryResult(); + _resultValue.description = description; + _resultValue.dictionaryAttrType = dictionaryAttrType; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.version = version; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetDownloadableAclResult.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetDownloadableAclResult.java new file mode 100644 index 0000000..a594a8d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetDownloadableAclResult.java @@ -0,0 +1,150 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDownloadableAclResult { + /** + * @return The DACL content + * + */ + private String dacl; + /** + * @return The type of ACL + * + */ + private String daclType; + /** + * @return Description + * + */ + private String description; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return The name of the downloadable ACL + * + */ + private String name; + + private GetDownloadableAclResult() {} + /** + * @return The DACL content + * + */ + public String dacl() { + return this.dacl; + } + /** + * @return The type of ACL + * + */ + public String daclType() { + return this.daclType; + } + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return The name of the downloadable ACL + * + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDownloadableAclResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String dacl; + private String daclType; + private String description; + private String id; + private String name; + public Builder() {} + public Builder(GetDownloadableAclResult defaults) { + Objects.requireNonNull(defaults); + this.dacl = defaults.dacl; + this.daclType = defaults.daclType; + this.description = defaults.description; + this.id = defaults.id; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder dacl(String dacl) { + if (dacl == null) { + throw new MissingRequiredPropertyException("GetDownloadableAclResult", "dacl"); + } + this.dacl = dacl; + return this; + } + @CustomType.Setter + public Builder daclType(String daclType) { + if (daclType == null) { + throw new MissingRequiredPropertyException("GetDownloadableAclResult", "daclType"); + } + this.daclType = daclType; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetDownloadableAclResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDownloadableAclResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetDownloadableAclResult", "name"); + } + this.name = name; + return this; + } + public GetDownloadableAclResult build() { + final var _resultValue = new GetDownloadableAclResult(); + _resultValue.dacl = dacl; + _resultValue.daclType = daclType; + _resultValue.description = description; + _resultValue.id = id; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetPolicySetChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetPolicySetChildren.java new file mode 100644 index 0000000..7a78e31 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetPolicySetChildren.java @@ -0,0 +1,248 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.GetPolicySetChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetPolicySetChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetPolicySetChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetPolicySetChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private List childrens; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetPolicySetChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetPolicySetChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetPolicySetChildren build() { + final var _resultValue = new GetPolicySetChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetPolicySetChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetPolicySetChildrenChildren.java new file mode 100644 index 0000000..dabe725 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetPolicySetChildrenChildren.java @@ -0,0 +1,220 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetPolicySetChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String attributeValue; + /** + * @return Condition type. + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private String dictionaryName; + /** + * @return Dictionary value + * + */ + private String dictionaryValue; + /** + * @return UUID for condition + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Equality operator + * + */ + private String operator; + + private GetPolicySetChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public String attributeName() { + return this.attributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String attributeValue() { + return this.attributeValue; + } + /** + * @return Condition type. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public String dictionaryName() { + return this.dictionaryName; + } + /** + * @return Dictionary value + * + */ + public String dictionaryValue() { + return this.dictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Equality operator + * + */ + public String operator() { + return this.operator; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetPolicySetChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attributeName; + private String attributeValue; + private String conditionType; + private String dictionaryName; + private String dictionaryValue; + private String id; + private Boolean isNegate; + private String operator; + public Builder() {} + public Builder(GetPolicySetChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(String attributeName) { + if (attributeName == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "attributeName"); + } + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(String attributeValue) { + if (attributeValue == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "attributeValue"); + } + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(String dictionaryName) { + if (dictionaryName == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "dictionaryName"); + } + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(String dictionaryValue) { + if (dictionaryValue == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "dictionaryValue"); + } + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(String operator) { + if (operator == null) { + throw new MissingRequiredPropertyException("GetPolicySetChildrenChildren", "operator"); + } + this.operator = operator; + return this; + } + public GetPolicySetChildrenChildren build() { + final var _resultValue = new GetPolicySetChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetPolicySetResult.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetPolicySetResult.java new file mode 100644 index 0000000..7b2d232 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetPolicySetResult.java @@ -0,0 +1,433 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.GetPolicySetChildren; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetPolicySetResult { + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private List childrens; + /** + * @return Dictionary attribute name + * + */ + private String conditionAttributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private String conditionAttributeValue; + /** + * @return Dictionary name + * + */ + private String conditionDictionaryName; + /** + * @return Dictionary value + * + */ + private String conditionDictionaryValue; + /** + * @return UUID for condition + * + */ + private String conditionId; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean conditionIsNegate; + /** + * @return Equality operator + * + */ + private String conditionOperator; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + private String conditionType; + /** + * @return Indicates if this policy set is the default one + * + */ + private Boolean default_; + /** + * @return The description of the policy set + * + */ + private String description; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + private Boolean isProxy; + /** + * @return Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + private String name; + /** + * @return The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + private Integer rank; + /** + * @return Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + private String serviceName; + /** + * @return The state that the policy set is in. A disabled policy set cannot be matched. + * + */ + private String state; + + private GetPolicySetResult() {} + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens; + } + /** + * @return Dictionary attribute name + * + */ + public String conditionAttributeName() { + return this.conditionAttributeName; + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public String conditionAttributeValue() { + return this.conditionAttributeValue; + } + /** + * @return Dictionary name + * + */ + public String conditionDictionaryName() { + return this.conditionDictionaryName; + } + /** + * @return Dictionary value + * + */ + public String conditionDictionaryValue() { + return this.conditionDictionaryValue; + } + /** + * @return UUID for condition + * + */ + public String conditionId() { + return this.conditionId; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean conditionIsNegate() { + return this.conditionIsNegate; + } + /** + * @return Equality operator + * + */ + public String conditionOperator() { + return this.conditionOperator; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Indicates if this policy set is the default one + * + */ + public Boolean default_() { + return this.default_; + } + /** + * @return The description of the policy set + * + */ + public String description() { + return this.description; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols' + * + */ + public Boolean isProxy() { + return this.isProxy; + } + /** + * @return Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] + * + */ + public String name() { + return this.name; + } + /** + * @return The rank (priority) in relation to other policy sets. Lower rank is higher priority. + * + */ + public Integer rank() { + return this.rank; + } + /** + * @return Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'. + * + */ + public String serviceName() { + return this.serviceName; + } + /** + * @return The state that the policy set is in. A disabled policy set cannot be matched. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetPolicySetResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List childrens; + private String conditionAttributeName; + private String conditionAttributeValue; + private String conditionDictionaryName; + private String conditionDictionaryValue; + private String conditionId; + private Boolean conditionIsNegate; + private String conditionOperator; + private String conditionType; + private Boolean default_; + private String description; + private String id; + private Boolean isProxy; + private String name; + private Integer rank; + private String serviceName; + private String state; + public Builder() {} + public Builder(GetPolicySetResult defaults) { + Objects.requireNonNull(defaults); + this.childrens = defaults.childrens; + this.conditionAttributeName = defaults.conditionAttributeName; + this.conditionAttributeValue = defaults.conditionAttributeValue; + this.conditionDictionaryName = defaults.conditionDictionaryName; + this.conditionDictionaryValue = defaults.conditionDictionaryValue; + this.conditionId = defaults.conditionId; + this.conditionIsNegate = defaults.conditionIsNegate; + this.conditionOperator = defaults.conditionOperator; + this.conditionType = defaults.conditionType; + this.default_ = defaults.default_; + this.description = defaults.description; + this.id = defaults.id; + this.isProxy = defaults.isProxy; + this.name = defaults.name; + this.rank = defaults.rank; + this.serviceName = defaults.serviceName; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder childrens(List childrens) { + if (childrens == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "childrens"); + } + this.childrens = childrens; + return this; + } + public Builder childrens(GetPolicySetChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionAttributeName(String conditionAttributeName) { + if (conditionAttributeName == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionAttributeName"); + } + this.conditionAttributeName = conditionAttributeName; + return this; + } + @CustomType.Setter + public Builder conditionAttributeValue(String conditionAttributeValue) { + if (conditionAttributeValue == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionAttributeValue"); + } + this.conditionAttributeValue = conditionAttributeValue; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryName(String conditionDictionaryName) { + if (conditionDictionaryName == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionDictionaryName"); + } + this.conditionDictionaryName = conditionDictionaryName; + return this; + } + @CustomType.Setter + public Builder conditionDictionaryValue(String conditionDictionaryValue) { + if (conditionDictionaryValue == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionDictionaryValue"); + } + this.conditionDictionaryValue = conditionDictionaryValue; + return this; + } + @CustomType.Setter + public Builder conditionId(String conditionId) { + if (conditionId == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionId"); + } + this.conditionId = conditionId; + return this; + } + @CustomType.Setter + public Builder conditionIsNegate(Boolean conditionIsNegate) { + if (conditionIsNegate == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionIsNegate"); + } + this.conditionIsNegate = conditionIsNegate; + return this; + } + @CustomType.Setter + public Builder conditionOperator(String conditionOperator) { + if (conditionOperator == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionOperator"); + } + this.conditionOperator = conditionOperator; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter("default") + public Builder default_(Boolean default_) { + if (default_ == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "default_"); + } + this.default_ = default_; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isProxy(Boolean isProxy) { + if (isProxy == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "isProxy"); + } + this.isProxy = isProxy; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder rank(Integer rank) { + if (rank == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "rank"); + } + this.rank = rank; + return this; + } + @CustomType.Setter + public Builder serviceName(String serviceName) { + if (serviceName == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "serviceName"); + } + this.serviceName = serviceName; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetPolicySetResult", "state"); + } + this.state = state; + return this; + } + public GetPolicySetResult build() { + final var _resultValue = new GetPolicySetResult(); + _resultValue.childrens = childrens; + _resultValue.conditionAttributeName = conditionAttributeName; + _resultValue.conditionAttributeValue = conditionAttributeValue; + _resultValue.conditionDictionaryName = conditionDictionaryName; + _resultValue.conditionDictionaryValue = conditionDictionaryValue; + _resultValue.conditionId = conditionId; + _resultValue.conditionIsNegate = conditionIsNegate; + _resultValue.conditionOperator = conditionOperator; + _resultValue.conditionType = conditionType; + _resultValue.default_ = default_; + _resultValue.description = description; + _resultValue.id = id; + _resultValue.isProxy = isProxy; + _resultValue.name = name; + _resultValue.rank = rank; + _resultValue.serviceName = serviceName; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetTimeAndDateConditionResult.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetTimeAndDateConditionResult.java new file mode 100644 index 0000000..3f424bc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/GetTimeAndDateConditionResult.java @@ -0,0 +1,365 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetTimeAndDateConditionResult { + /** + * @return Condition description + * + */ + private String description; + /** + * @return End date + * + */ + private String endDate; + /** + * @return End time + * + */ + private String endTime; + /** + * @return Exception end date + * + */ + private String exceptionEndDate; + /** + * @return Exception end time + * + */ + private String exceptionEndTime; + /** + * @return Exception start date + * + */ + private String exceptionStartDate; + /** + * @return Exception start time + * + */ + private String exceptionStartTime; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private Boolean isNegate; + /** + * @return Condition name + * + */ + private String name; + /** + * @return Start date + * + */ + private String startDate; + /** + * @return Start time + * + */ + private String startTime; + /** + * @return Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + private List weekDays; + /** + * @return Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + private List weekDaysExceptions; + + private GetTimeAndDateConditionResult() {} + /** + * @return Condition description + * + */ + public String description() { + return this.description; + } + /** + * @return End date + * + */ + public String endDate() { + return this.endDate; + } + /** + * @return End time + * + */ + public String endTime() { + return this.endTime; + } + /** + * @return Exception end date + * + */ + public String exceptionEndDate() { + return this.exceptionEndDate; + } + /** + * @return Exception end time + * + */ + public String exceptionEndTime() { + return this.exceptionEndTime; + } + /** + * @return Exception start date + * + */ + public String exceptionStartDate() { + return this.exceptionStartDate; + } + /** + * @return Exception start time + * + */ + public String exceptionStartTime() { + return this.exceptionStartTime; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Boolean isNegate() { + return this.isNegate; + } + /** + * @return Condition name + * + */ + public String name() { + return this.name; + } + /** + * @return Start date + * + */ + public String startDate() { + return this.startDate; + } + /** + * @return Start time + * + */ + public String startTime() { + return this.startTime; + } + /** + * @return Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. + * + */ + public List weekDays() { + return this.weekDays; + } + /** + * @return Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. + * + */ + public List weekDaysExceptions() { + return this.weekDaysExceptions; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTimeAndDateConditionResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private String endDate; + private String endTime; + private String exceptionEndDate; + private String exceptionEndTime; + private String exceptionStartDate; + private String exceptionStartTime; + private String id; + private Boolean isNegate; + private String name; + private String startDate; + private String startTime; + private List weekDays; + private List weekDaysExceptions; + public Builder() {} + public Builder(GetTimeAndDateConditionResult defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.endDate = defaults.endDate; + this.endTime = defaults.endTime; + this.exceptionEndDate = defaults.exceptionEndDate; + this.exceptionEndTime = defaults.exceptionEndTime; + this.exceptionStartDate = defaults.exceptionStartDate; + this.exceptionStartTime = defaults.exceptionStartTime; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.name = defaults.name; + this.startDate = defaults.startDate; + this.startTime = defaults.startTime; + this.weekDays = defaults.weekDays; + this.weekDaysExceptions = defaults.weekDaysExceptions; + } + + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder endDate(String endDate) { + if (endDate == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "endDate"); + } + this.endDate = endDate; + return this; + } + @CustomType.Setter + public Builder endTime(String endTime) { + if (endTime == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "endTime"); + } + this.endTime = endTime; + return this; + } + @CustomType.Setter + public Builder exceptionEndDate(String exceptionEndDate) { + if (exceptionEndDate == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "exceptionEndDate"); + } + this.exceptionEndDate = exceptionEndDate; + return this; + } + @CustomType.Setter + public Builder exceptionEndTime(String exceptionEndTime) { + if (exceptionEndTime == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "exceptionEndTime"); + } + this.exceptionEndTime = exceptionEndTime; + return this; + } + @CustomType.Setter + public Builder exceptionStartDate(String exceptionStartDate) { + if (exceptionStartDate == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "exceptionStartDate"); + } + this.exceptionStartDate = exceptionStartDate; + return this; + } + @CustomType.Setter + public Builder exceptionStartTime(String exceptionStartTime) { + if (exceptionStartTime == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "exceptionStartTime"); + } + this.exceptionStartTime = exceptionStartTime; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(Boolean isNegate) { + if (isNegate == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "isNegate"); + } + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder startDate(String startDate) { + if (startDate == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "startDate"); + } + this.startDate = startDate; + return this; + } + @CustomType.Setter + public Builder startTime(String startTime) { + if (startTime == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "startTime"); + } + this.startTime = startTime; + return this; + } + @CustomType.Setter + public Builder weekDays(List weekDays) { + if (weekDays == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "weekDays"); + } + this.weekDays = weekDays; + return this; + } + public Builder weekDays(String... weekDays) { + return weekDays(List.of(weekDays)); + } + @CustomType.Setter + public Builder weekDaysExceptions(List weekDaysExceptions) { + if (weekDaysExceptions == null) { + throw new MissingRequiredPropertyException("GetTimeAndDateConditionResult", "weekDaysExceptions"); + } + this.weekDaysExceptions = weekDaysExceptions; + return this; + } + public Builder weekDaysExceptions(String... weekDaysExceptions) { + return weekDaysExceptions(List.of(weekDaysExceptions)); + } + public GetTimeAndDateConditionResult build() { + final var _resultValue = new GetTimeAndDateConditionResult(); + _resultValue.description = description; + _resultValue.endDate = endDate; + _resultValue.endTime = endTime; + _resultValue.exceptionEndDate = exceptionEndDate; + _resultValue.exceptionEndTime = exceptionEndTime; + _resultValue.exceptionStartDate = exceptionStartDate; + _resultValue.exceptionStartTime = exceptionStartTime; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.name = name; + _resultValue.startDate = startDate; + _resultValue.startTime = startTime; + _resultValue.weekDays = weekDays; + _resultValue.weekDaysExceptions = weekDaysExceptions; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/PolicySetChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/PolicySetChildren.java new file mode 100644 index 0000000..8607eb8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/PolicySetChildren.java @@ -0,0 +1,238 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.networkaccess.outputs.PolicySetChildrenChildren; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class PolicySetChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + private @Nullable List childrens; + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private PolicySetChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`. + * + */ + public List childrens() { + return this.childrens == null ? List.of() : this.childrens; + } + /** + * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. + * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PolicySetChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private @Nullable List childrens; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(PolicySetChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.childrens = defaults.childrens; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder childrens(@Nullable List childrens) { + + this.childrens = childrens; + return this; + } + public Builder childrens(PolicySetChildrenChildren... childrens) { + return childrens(List.of(childrens)); + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("PolicySetChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public PolicySetChildren build() { + final var _resultValue = new PolicySetChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.childrens = childrens; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/PolicySetChildrenChildren.java b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/PolicySetChildrenChildren.java new file mode 100644 index 0000000..9945e72 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/networkaccess/outputs/PolicySetChildrenChildren.java @@ -0,0 +1,212 @@ +// *** 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.networkaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class PolicySetChildrenChildren { + /** + * @return Dictionary attribute name + * + */ + private @Nullable String attributeName; + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + private @Nullable String attributeValue; + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + private String conditionType; + /** + * @return Dictionary name + * + */ + private @Nullable String dictionaryName; + /** + * @return Dictionary value + * + */ + private @Nullable String dictionaryValue; + /** + * @return UUID for condition + * + */ + private @Nullable String id; + /** + * @return Indicates whereas this condition is in negate mode + * + */ + private @Nullable Boolean isNegate; + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + private @Nullable String operator; + + private PolicySetChildrenChildren() {} + /** + * @return Dictionary attribute name + * + */ + public Optional attributeName() { + return Optional.ofNullable(this.attributeName); + } + /** + * @return Attribute value for condition. Value type is specified in dictionary object. + * + */ + public Optional attributeValue() { + return Optional.ofNullable(this.attributeValue); + } + /** + * @return Condition type. + * - Choices: `ConditionAttributes`, `ConditionReference` + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Dictionary name + * + */ + public Optional dictionaryName() { + return Optional.ofNullable(this.dictionaryName); + } + /** + * @return Dictionary value + * + */ + public Optional dictionaryValue() { + return Optional.ofNullable(this.dictionaryValue); + } + /** + * @return UUID for condition + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Indicates whereas this condition is in negate mode + * + */ + public Optional isNegate() { + return Optional.ofNullable(this.isNegate); + } + /** + * @return Equality operator + * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` + * + */ + public Optional operator() { + return Optional.ofNullable(this.operator); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PolicySetChildrenChildren defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String attributeName; + private @Nullable String attributeValue; + private String conditionType; + private @Nullable String dictionaryName; + private @Nullable String dictionaryValue; + private @Nullable String id; + private @Nullable Boolean isNegate; + private @Nullable String operator; + public Builder() {} + public Builder(PolicySetChildrenChildren defaults) { + Objects.requireNonNull(defaults); + this.attributeName = defaults.attributeName; + this.attributeValue = defaults.attributeValue; + this.conditionType = defaults.conditionType; + this.dictionaryName = defaults.dictionaryName; + this.dictionaryValue = defaults.dictionaryValue; + this.id = defaults.id; + this.isNegate = defaults.isNegate; + this.operator = defaults.operator; + } + + @CustomType.Setter + public Builder attributeName(@Nullable String attributeName) { + + this.attributeName = attributeName; + return this; + } + @CustomType.Setter + public Builder attributeValue(@Nullable String attributeValue) { + + this.attributeValue = attributeValue; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("PolicySetChildrenChildren", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder dictionaryName(@Nullable String dictionaryName) { + + this.dictionaryName = dictionaryName; + return this; + } + @CustomType.Setter + public Builder dictionaryValue(@Nullable String dictionaryValue) { + + this.dictionaryValue = dictionaryValue; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder isNegate(@Nullable Boolean isNegate) { + + this.isNegate = isNegate; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + + this.operator = operator; + return this; + } + public PolicySetChildrenChildren build() { + final var _resultValue = new PolicySetChildrenChildren(); + _resultValue.attributeName = attributeName; + _resultValue.attributeValue = attributeValue; + _resultValue.conditionType = conditionType; + _resultValue.dictionaryName = dictionaryName; + _resultValue.dictionaryValue = dictionaryValue; + _resultValue.id = id; + _resultValue.isNegate = isNegate; + _resultValue.operator = operator; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/LicenseTierState.java b/sdk/java/src/main/java/com/pulumi/ise/system/LicenseTierState.java new file mode 100644 index 0000000..8c3c8f6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/LicenseTierState.java @@ -0,0 +1,129 @@ +// *** 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.system; + +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.system.LicenseTierStateArgs; +import com.pulumi.ise.system.inputs.LicenseTierStateState; +import com.pulumi.ise.system.outputs.LicenseTierStateLicense; +import java.util.List; +import javax.annotation.Nullable; + +/** + * This resource can manage a License Tier State. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.system.LicenseTierState; + * import com.pulumi.ise.system.LicenseTierStateArgs; + * import com.pulumi.ise.system.inputs.LicenseTierStateLicenseArgs; + * 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 LicenseTierState("example", LicenseTierStateArgs.builder() + * .licenses(LicenseTierStateLicenseArgs.builder() + * .name("ESSENTIAL") + * .status("ENABLED") + * .build()) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:system/licenseTierState:LicenseTierState example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:system/licenseTierState:LicenseTierState") +public class LicenseTierState extends com.pulumi.resources.CustomResource { + /** + * List of licenses + * + */ + @Export(name="licenses", refs={List.class,LicenseTierStateLicense.class}, tree="[0,1]") + private Output> licenses; + + /** + * @return List of licenses + * + */ + public Output> licenses() { + return this.licenses; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public LicenseTierState(String name) { + this(name, LicenseTierStateArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public LicenseTierState(String name, LicenseTierStateArgs 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 LicenseTierState(String name, LicenseTierStateArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:system/licenseTierState:LicenseTierState", name, args == null ? LicenseTierStateArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private LicenseTierState(String name, Output id, @Nullable LicenseTierStateState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:system/licenseTierState:LicenseTierState", name, state, makeResourceOptions(options, id)); + } + + 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 LicenseTierState get(String name, Output id, @Nullable LicenseTierStateState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new LicenseTierState(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/LicenseTierStateArgs.java b/sdk/java/src/main/java/com/pulumi/ise/system/LicenseTierStateArgs.java new file mode 100644 index 0000000..b409fdc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/LicenseTierStateArgs.java @@ -0,0 +1,96 @@ +// *** 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.system; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.system.inputs.LicenseTierStateLicenseArgs; +import java.util.List; +import java.util.Objects; + + +public final class LicenseTierStateArgs extends com.pulumi.resources.ResourceArgs { + + public static final LicenseTierStateArgs Empty = new LicenseTierStateArgs(); + + /** + * List of licenses + * + */ + @Import(name="licenses", required=true) + private Output> licenses; + + /** + * @return List of licenses + * + */ + public Output> licenses() { + return this.licenses; + } + + private LicenseTierStateArgs() {} + + private LicenseTierStateArgs(LicenseTierStateArgs $) { + this.licenses = $.licenses; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(LicenseTierStateArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private LicenseTierStateArgs $; + + public Builder() { + $ = new LicenseTierStateArgs(); + } + + public Builder(LicenseTierStateArgs defaults) { + $ = new LicenseTierStateArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param licenses List of licenses + * + * @return builder + * + */ + public Builder licenses(Output> licenses) { + $.licenses = licenses; + return this; + } + + /** + * @param licenses List of licenses + * + * @return builder + * + */ + public Builder licenses(List licenses) { + return licenses(Output.of(licenses)); + } + + /** + * @param licenses List of licenses + * + * @return builder + * + */ + public Builder licenses(LicenseTierStateLicenseArgs... licenses) { + return licenses(List.of(licenses)); + } + + public LicenseTierStateArgs build() { + if ($.licenses == null) { + throw new MissingRequiredPropertyException("LicenseTierStateArgs", "licenses"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/Repository.java b/sdk/java/src/main/java/com/pulumi/ise/system/Repository.java new file mode 100644 index 0000000..9f3dabc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/Repository.java @@ -0,0 +1,216 @@ +// *** 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.system; + +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.system.RepositoryArgs; +import com.pulumi.ise.system.inputs.RepositoryState; +import java.lang.Boolean; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a Repository. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.system.Repository; + * import com.pulumi.ise.system.RepositoryArgs; + * 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 Repository("example", RepositoryArgs.builder() + * .name("repo1") + * .protocol("SFTP") + * .path("/dir") + * .serverName("server1") + * .userName("user9") + * .password("cisco123") + * .enablePki(false) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:system/repository:Repository example "repo1" + * ``` + * + */ +@ResourceType(type="ise:system/repository:Repository") +public class Repository extends com.pulumi.resources.CustomResource { + /** + * Enable PKI + * + */ + @Export(name="enablePki", refs={Boolean.class}, tree="[0]") + private Output enablePki; + + /** + * @return Enable PKI + * + */ + public Output> enablePki() { + return Codegen.optional(this.enablePki); + } + /** + * Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + public Output name() { + return this.name; + } + /** + * Password can contain alphanumeric and/or special characters. + * + */ + @Export(name="password", refs={String.class}, tree="[0]") + private Output password; + + /** + * @return Password can contain alphanumeric and/or special characters. + * + */ + public Output> password() { + return Codegen.optional(this.password); + } + /** + * Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + @Export(name="path", refs={String.class}, tree="[0]") + private Output path; + + /** + * @return Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + public Output path() { + return this.path; + } + /** + * Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP` + * + */ + @Export(name="protocol", refs={String.class}, tree="[0]") + private Output protocol; + + /** + * @return Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP` + * + */ + public Output protocol() { + return this.protocol; + } + /** + * Name of the server + * + */ + @Export(name="serverName", refs={String.class}, tree="[0]") + private Output serverName; + + /** + * @return Name of the server + * + */ + public Output> serverName() { + return Codegen.optional(this.serverName); + } + /** + * User name + * + */ + @Export(name="userName", refs={String.class}, tree="[0]") + private Output userName; + + /** + * @return User name + * + */ + public Output> userName() { + return Codegen.optional(this.userName); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public Repository(String name) { + this(name, RepositoryArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public Repository(String name, RepositoryArgs 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 Repository(String name, RepositoryArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:system/repository:Repository", name, args == null ? RepositoryArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private Repository(String name, Output id, @Nullable RepositoryState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:system/repository:Repository", name, state, makeResourceOptions(options, id)); + } + + 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 Repository get(String name, Output id, @Nullable RepositoryState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new Repository(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/RepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/ise/system/RepositoryArgs.java new file mode 100644 index 0000000..97989eb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/RepositoryArgs.java @@ -0,0 +1,313 @@ +// *** 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.system; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RepositoryArgs extends com.pulumi.resources.ResourceArgs { + + public static final RepositoryArgs Empty = new RepositoryArgs(); + + /** + * Enable PKI + * + */ + @Import(name="enablePki") + private @Nullable Output enablePki; + + /** + * @return Enable PKI + * + */ + public Optional> enablePki() { + return Optional.ofNullable(this.enablePki); + } + + /** + * Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Password can contain alphanumeric and/or special characters. + * + */ + @Import(name="password") + private @Nullable Output password; + + /** + * @return Password can contain alphanumeric and/or special characters. + * + */ + public Optional> password() { + return Optional.ofNullable(this.password); + } + + /** + * Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + @Import(name="path", required=true) + private Output path; + + /** + * @return Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + public Output path() { + return this.path; + } + + /** + * Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP` + * + */ + @Import(name="protocol", required=true) + private Output protocol; + + /** + * @return Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP` + * + */ + public Output protocol() { + return this.protocol; + } + + /** + * Name of the server + * + */ + @Import(name="serverName") + private @Nullable Output serverName; + + /** + * @return Name of the server + * + */ + public Optional> serverName() { + return Optional.ofNullable(this.serverName); + } + + /** + * User name + * + */ + @Import(name="userName") + private @Nullable Output userName; + + /** + * @return User name + * + */ + public Optional> userName() { + return Optional.ofNullable(this.userName); + } + + private RepositoryArgs() {} + + private RepositoryArgs(RepositoryArgs $) { + this.enablePki = $.enablePki; + this.name = $.name; + this.password = $.password; + this.path = $.path; + this.protocol = $.protocol; + this.serverName = $.serverName; + this.userName = $.userName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RepositoryArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RepositoryArgs $; + + public Builder() { + $ = new RepositoryArgs(); + } + + public Builder(RepositoryArgs defaults) { + $ = new RepositoryArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param enablePki Enable PKI + * + * @return builder + * + */ + public Builder enablePki(@Nullable Output enablePki) { + $.enablePki = enablePki; + return this; + } + + /** + * @param enablePki Enable PKI + * + * @return builder + * + */ + public Builder enablePki(Boolean enablePki) { + return enablePki(Output.of(enablePki)); + } + + /** + * @param name Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param password Password can contain alphanumeric and/or special characters. + * + * @return builder + * + */ + public Builder password(@Nullable Output password) { + $.password = password; + return this; + } + + /** + * @param password Password can contain alphanumeric and/or special characters. + * + * @return builder + * + */ + public Builder password(String password) { + return password(Output.of(password)); + } + + /** + * @param path Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters. + * + * @return builder + * + */ + public Builder path(Output path) { + $.path = path; + return this; + } + + /** + * @param path Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters. + * + * @return builder + * + */ + public Builder path(String path) { + return path(Output.of(path)); + } + + /** + * @param protocol Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP` + * + * @return builder + * + */ + public Builder protocol(Output protocol) { + $.protocol = protocol; + return this; + } + + /** + * @param protocol Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP` + * + * @return builder + * + */ + public Builder protocol(String protocol) { + return protocol(Output.of(protocol)); + } + + /** + * @param serverName Name of the server + * + * @return builder + * + */ + public Builder serverName(@Nullable Output serverName) { + $.serverName = serverName; + return this; + } + + /** + * @param serverName Name of the server + * + * @return builder + * + */ + public Builder serverName(String serverName) { + return serverName(Output.of(serverName)); + } + + /** + * @param userName User name + * + * @return builder + * + */ + public Builder userName(@Nullable Output userName) { + $.userName = userName; + return this; + } + + /** + * @param userName User name + * + * @return builder + * + */ + public Builder userName(String userName) { + return userName(Output.of(userName)); + } + + public RepositoryArgs build() { + if ($.path == null) { + throw new MissingRequiredPropertyException("RepositoryArgs", "path"); + } + if ($.protocol == null) { + throw new MissingRequiredPropertyException("RepositoryArgs", "protocol"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/SystemFunctions.java b/sdk/java/src/main/java/com/pulumi/ise/system/SystemFunctions.java new file mode 100644 index 0000000..8c59c84 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/SystemFunctions.java @@ -0,0 +1,420 @@ +// *** 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.system; + +import com.pulumi.core.Output; +import com.pulumi.core.TypeShape; +import com.pulumi.deployment.Deployment; +import com.pulumi.deployment.InvokeOptions; +import com.pulumi.ise.Utilities; +import com.pulumi.ise.system.inputs.GetLicenseTierStateArgs; +import com.pulumi.ise.system.inputs.GetLicenseTierStatePlainArgs; +import com.pulumi.ise.system.inputs.GetRepositoryArgs; +import com.pulumi.ise.system.inputs.GetRepositoryPlainArgs; +import com.pulumi.ise.system.outputs.GetLicenseTierStateResult; +import com.pulumi.ise.system.outputs.GetRepositoryResult; +import java.util.concurrent.CompletableFuture; + +public final class SystemFunctions { + /** + * This data source can read the License Tier State. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.system.SystemFunctions; + * import com.pulumi.ise.system.inputs.GetLicenseTierStateArgs; + * 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) { + * final var example = SystemFunctions.getLicenseTierState(GetLicenseTierStateArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getLicenseTierState(GetLicenseTierStateArgs args) { + return getLicenseTierState(args, InvokeOptions.Empty); + } + /** + * This data source can read the License Tier State. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.system.SystemFunctions; + * import com.pulumi.ise.system.inputs.GetLicenseTierStateArgs; + * 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) { + * final var example = SystemFunctions.getLicenseTierState(GetLicenseTierStateArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getLicenseTierStatePlain(GetLicenseTierStatePlainArgs args) { + return getLicenseTierStatePlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the License Tier State. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.system.SystemFunctions; + * import com.pulumi.ise.system.inputs.GetLicenseTierStateArgs; + * 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) { + * final var example = SystemFunctions.getLicenseTierState(GetLicenseTierStateArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getLicenseTierState(GetLicenseTierStateArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:system/getLicenseTierState:getLicenseTierState", TypeShape.of(GetLicenseTierStateResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the License Tier State. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.system.SystemFunctions; + * import com.pulumi.ise.system.inputs.GetLicenseTierStateArgs; + * 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) { + * final var example = SystemFunctions.getLicenseTierState(GetLicenseTierStateArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getLicenseTierStatePlain(GetLicenseTierStatePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:system/getLicenseTierState:getLicenseTierState", TypeShape.of(GetLicenseTierStateResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Repository. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.system.SystemFunctions; + * import com.pulumi.ise.system.inputs.GetRepositoryArgs; + * 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) { + * final var example = SystemFunctions.getRepository(GetRepositoryArgs.builder() + * .id("repo1") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getRepository() { + return getRepository(GetRepositoryArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Repository. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.system.SystemFunctions; + * import com.pulumi.ise.system.inputs.GetRepositoryArgs; + * 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) { + * final var example = SystemFunctions.getRepository(GetRepositoryArgs.builder() + * .id("repo1") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getRepositoryPlain() { + return getRepositoryPlain(GetRepositoryPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the Repository. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.system.SystemFunctions; + * import com.pulumi.ise.system.inputs.GetRepositoryArgs; + * 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) { + * final var example = SystemFunctions.getRepository(GetRepositoryArgs.builder() + * .id("repo1") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getRepository(GetRepositoryArgs args) { + return getRepository(args, InvokeOptions.Empty); + } + /** + * This data source can read the Repository. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.system.SystemFunctions; + * import com.pulumi.ise.system.inputs.GetRepositoryArgs; + * 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) { + * final var example = SystemFunctions.getRepository(GetRepositoryArgs.builder() + * .id("repo1") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getRepositoryPlain(GetRepositoryPlainArgs args) { + return getRepositoryPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the Repository. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.system.SystemFunctions; + * import com.pulumi.ise.system.inputs.GetRepositoryArgs; + * 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) { + * final var example = SystemFunctions.getRepository(GetRepositoryArgs.builder() + * .id("repo1") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getRepository(GetRepositoryArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:system/getRepository:getRepository", TypeShape.of(GetRepositoryResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the Repository. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.system.SystemFunctions; + * import com.pulumi.ise.system.inputs.GetRepositoryArgs; + * 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) { + * final var example = SystemFunctions.getRepository(GetRepositoryArgs.builder() + * .id("repo1") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getRepositoryPlain(GetRepositoryPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:system/getRepository:getRepository", TypeShape.of(GetRepositoryResult.class), args, Utilities.withVersion(options)); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/inputs/GetLicenseTierStateArgs.java b/sdk/java/src/main/java/com/pulumi/ise/system/inputs/GetLicenseTierStateArgs.java new file mode 100644 index 0000000..3822b18 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/inputs/GetLicenseTierStateArgs.java @@ -0,0 +1,85 @@ +// *** 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.system.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetLicenseTierStateArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetLicenseTierStateArgs Empty = new GetLicenseTierStateArgs(); + + /** + * The id of the object + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return The id of the object + * + */ + public Output id() { + return this.id; + } + + private GetLicenseTierStateArgs() {} + + private GetLicenseTierStateArgs(GetLicenseTierStateArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetLicenseTierStateArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetLicenseTierStateArgs $; + + public Builder() { + $ = new GetLicenseTierStateArgs(); + } + + public Builder(GetLicenseTierStateArgs defaults) { + $ = new GetLicenseTierStateArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + public GetLicenseTierStateArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetLicenseTierStateArgs", "id"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/inputs/GetLicenseTierStatePlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/system/inputs/GetLicenseTierStatePlainArgs.java new file mode 100644 index 0000000..6d846d5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/inputs/GetLicenseTierStatePlainArgs.java @@ -0,0 +1,74 @@ +// *** 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.system.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetLicenseTierStatePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetLicenseTierStatePlainArgs Empty = new GetLicenseTierStatePlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id", required=true) + private String id; + + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + + private GetLicenseTierStatePlainArgs() {} + + private GetLicenseTierStatePlainArgs(GetLicenseTierStatePlainArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetLicenseTierStatePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetLicenseTierStatePlainArgs $; + + public Builder() { + $ = new GetLicenseTierStatePlainArgs(); + } + + public Builder(GetLicenseTierStatePlainArgs defaults) { + $ = new GetLicenseTierStatePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + $.id = id; + return this; + } + + public GetLicenseTierStatePlainArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetLicenseTierStatePlainArgs", "id"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/inputs/GetRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/ise/system/inputs/GetRepositoryArgs.java new file mode 100644 index 0000000..a2965fe --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/inputs/GetRepositoryArgs.java @@ -0,0 +1,120 @@ +// *** 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.system.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRepositoryArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetRepositoryArgs Empty = new GetRepositoryArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetRepositoryArgs() {} + + private GetRepositoryArgs(GetRepositoryArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRepositoryArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRepositoryArgs $; + + public Builder() { + $ = new GetRepositoryArgs(); + } + + public Builder(GetRepositoryArgs defaults) { + $ = new GetRepositoryArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetRepositoryArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/inputs/GetRepositoryPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/system/inputs/GetRepositoryPlainArgs.java new file mode 100644 index 0000000..e80c3ba --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/inputs/GetRepositoryPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.system.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRepositoryPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetRepositoryPlainArgs Empty = new GetRepositoryPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetRepositoryPlainArgs() {} + + private GetRepositoryPlainArgs(GetRepositoryPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRepositoryPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRepositoryPlainArgs $; + + public Builder() { + $ = new GetRepositoryPlainArgs(); + } + + public Builder(GetRepositoryPlainArgs defaults) { + $ = new GetRepositoryPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetRepositoryPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/inputs/LicenseTierStateLicenseArgs.java b/sdk/java/src/main/java/com/pulumi/ise/system/inputs/LicenseTierStateLicenseArgs.java new file mode 100644 index 0000000..36f807a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/inputs/LicenseTierStateLicenseArgs.java @@ -0,0 +1,133 @@ +// *** 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.system.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class LicenseTierStateLicenseArgs extends com.pulumi.resources.ResourceArgs { + + public static final LicenseTierStateLicenseArgs Empty = new LicenseTierStateLicenseArgs(); + + /** + * License name + * - Choices: `ESSENTIAL`, `ADVANTAGE`, `PREMIER`, `DEVICEADMIN`, `VM` + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return License name + * - Choices: `ESSENTIAL`, `ADVANTAGE`, `PREMIER`, `DEVICEADMIN`, `VM` + * + */ + public Output name() { + return this.name; + } + + /** + * License status + * - Choices: `ENABLED`, `DISABLED` + * + */ + @Import(name="status", required=true) + private Output status; + + /** + * @return License status + * - Choices: `ENABLED`, `DISABLED` + * + */ + public Output status() { + return this.status; + } + + private LicenseTierStateLicenseArgs() {} + + private LicenseTierStateLicenseArgs(LicenseTierStateLicenseArgs $) { + this.name = $.name; + this.status = $.status; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(LicenseTierStateLicenseArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private LicenseTierStateLicenseArgs $; + + public Builder() { + $ = new LicenseTierStateLicenseArgs(); + } + + public Builder(LicenseTierStateLicenseArgs defaults) { + $ = new LicenseTierStateLicenseArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name License name + * - Choices: `ESSENTIAL`, `ADVANTAGE`, `PREMIER`, `DEVICEADMIN`, `VM` + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name License name + * - Choices: `ESSENTIAL`, `ADVANTAGE`, `PREMIER`, `DEVICEADMIN`, `VM` + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param status License status + * - Choices: `ENABLED`, `DISABLED` + * + * @return builder + * + */ + public Builder status(Output status) { + $.status = status; + return this; + } + + /** + * @param status License status + * - Choices: `ENABLED`, `DISABLED` + * + * @return builder + * + */ + public Builder status(String status) { + return status(Output.of(status)); + } + + public LicenseTierStateLicenseArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("LicenseTierStateLicenseArgs", "name"); + } + if ($.status == null) { + throw new MissingRequiredPropertyException("LicenseTierStateLicenseArgs", "status"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/inputs/LicenseTierStateState.java b/sdk/java/src/main/java/com/pulumi/ise/system/inputs/LicenseTierStateState.java new file mode 100644 index 0000000..a4ec30d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/inputs/LicenseTierStateState.java @@ -0,0 +1,94 @@ +// *** 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.system.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.ise.system.inputs.LicenseTierStateLicenseArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class LicenseTierStateState extends com.pulumi.resources.ResourceArgs { + + public static final LicenseTierStateState Empty = new LicenseTierStateState(); + + /** + * List of licenses + * + */ + @Import(name="licenses") + private @Nullable Output> licenses; + + /** + * @return List of licenses + * + */ + public Optional>> licenses() { + return Optional.ofNullable(this.licenses); + } + + private LicenseTierStateState() {} + + private LicenseTierStateState(LicenseTierStateState $) { + this.licenses = $.licenses; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(LicenseTierStateState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private LicenseTierStateState $; + + public Builder() { + $ = new LicenseTierStateState(); + } + + public Builder(LicenseTierStateState defaults) { + $ = new LicenseTierStateState(Objects.requireNonNull(defaults)); + } + + /** + * @param licenses List of licenses + * + * @return builder + * + */ + public Builder licenses(@Nullable Output> licenses) { + $.licenses = licenses; + return this; + } + + /** + * @param licenses List of licenses + * + * @return builder + * + */ + public Builder licenses(List licenses) { + return licenses(Output.of(licenses)); + } + + /** + * @param licenses List of licenses + * + * @return builder + * + */ + public Builder licenses(LicenseTierStateLicenseArgs... licenses) { + return licenses(List.of(licenses)); + } + + public LicenseTierStateState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/inputs/RepositoryState.java b/sdk/java/src/main/java/com/pulumi/ise/system/inputs/RepositoryState.java new file mode 100644 index 0000000..a78d151 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/inputs/RepositoryState.java @@ -0,0 +1,306 @@ +// *** 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.system.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RepositoryState extends com.pulumi.resources.ResourceArgs { + + public static final RepositoryState Empty = new RepositoryState(); + + /** + * Enable PKI + * + */ + @Import(name="enablePki") + private @Nullable Output enablePki; + + /** + * @return Enable PKI + * + */ + public Optional> enablePki() { + return Optional.ofNullable(this.enablePki); + } + + /** + * Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Password can contain alphanumeric and/or special characters. + * + */ + @Import(name="password") + private @Nullable Output password; + + /** + * @return Password can contain alphanumeric and/or special characters. + * + */ + public Optional> password() { + return Optional.ofNullable(this.password); + } + + /** + * Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + @Import(name="path") + private @Nullable Output path; + + /** + * @return Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + public Optional> path() { + return Optional.ofNullable(this.path); + } + + /** + * Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP` + * + */ + @Import(name="protocol") + private @Nullable Output protocol; + + /** + * @return Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP` + * + */ + public Optional> protocol() { + return Optional.ofNullable(this.protocol); + } + + /** + * Name of the server + * + */ + @Import(name="serverName") + private @Nullable Output serverName; + + /** + * @return Name of the server + * + */ + public Optional> serverName() { + return Optional.ofNullable(this.serverName); + } + + /** + * User name + * + */ + @Import(name="userName") + private @Nullable Output userName; + + /** + * @return User name + * + */ + public Optional> userName() { + return Optional.ofNullable(this.userName); + } + + private RepositoryState() {} + + private RepositoryState(RepositoryState $) { + this.enablePki = $.enablePki; + this.name = $.name; + this.password = $.password; + this.path = $.path; + this.protocol = $.protocol; + this.serverName = $.serverName; + this.userName = $.userName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RepositoryState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RepositoryState $; + + public Builder() { + $ = new RepositoryState(); + } + + public Builder(RepositoryState defaults) { + $ = new RepositoryState(Objects.requireNonNull(defaults)); + } + + /** + * @param enablePki Enable PKI + * + * @return builder + * + */ + public Builder enablePki(@Nullable Output enablePki) { + $.enablePki = enablePki; + return this; + } + + /** + * @param enablePki Enable PKI + * + * @return builder + * + */ + public Builder enablePki(Boolean enablePki) { + return enablePki(Output.of(enablePki)); + } + + /** + * @param name Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param password Password can contain alphanumeric and/or special characters. + * + * @return builder + * + */ + public Builder password(@Nullable Output password) { + $.password = password; + return this; + } + + /** + * @param password Password can contain alphanumeric and/or special characters. + * + * @return builder + * + */ + public Builder password(String password) { + return password(Output.of(password)); + } + + /** + * @param path Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters. + * + * @return builder + * + */ + public Builder path(@Nullable Output path) { + $.path = path; + return this; + } + + /** + * @param path Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters. + * + * @return builder + * + */ + public Builder path(String path) { + return path(Output.of(path)); + } + + /** + * @param protocol Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP` + * + * @return builder + * + */ + public Builder protocol(@Nullable Output protocol) { + $.protocol = protocol; + return this; + } + + /** + * @param protocol Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP` + * + * @return builder + * + */ + public Builder protocol(String protocol) { + return protocol(Output.of(protocol)); + } + + /** + * @param serverName Name of the server + * + * @return builder + * + */ + public Builder serverName(@Nullable Output serverName) { + $.serverName = serverName; + return this; + } + + /** + * @param serverName Name of the server + * + * @return builder + * + */ + public Builder serverName(String serverName) { + return serverName(Output.of(serverName)); + } + + /** + * @param userName User name + * + * @return builder + * + */ + public Builder userName(@Nullable Output userName) { + $.userName = userName; + return this; + } + + /** + * @param userName User name + * + * @return builder + * + */ + public Builder userName(String userName) { + return userName(Output.of(userName)); + } + + public RepositoryState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/outputs/GetLicenseTierStateLicense.java b/sdk/java/src/main/java/com/pulumi/ise/system/outputs/GetLicenseTierStateLicense.java new file mode 100644 index 0000000..6b8de8c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/outputs/GetLicenseTierStateLicense.java @@ -0,0 +1,81 @@ +// *** 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.system.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetLicenseTierStateLicense { + /** + * @return License name + * + */ + private String name; + /** + * @return License status + * + */ + private String status; + + private GetLicenseTierStateLicense() {} + /** + * @return License name + * + */ + public String name() { + return this.name; + } + /** + * @return License status + * + */ + public String status() { + return this.status; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetLicenseTierStateLicense defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String status; + public Builder() {} + public Builder(GetLicenseTierStateLicense defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.status = defaults.status; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetLicenseTierStateLicense", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetLicenseTierStateLicense", "status"); + } + this.status = status; + return this; + } + public GetLicenseTierStateLicense build() { + final var _resultValue = new GetLicenseTierStateLicense(); + _resultValue.name = name; + _resultValue.status = status; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/outputs/GetLicenseTierStateResult.java b/sdk/java/src/main/java/com/pulumi/ise/system/outputs/GetLicenseTierStateResult.java new file mode 100644 index 0000000..660fc99 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/outputs/GetLicenseTierStateResult.java @@ -0,0 +1,86 @@ +// *** 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.system.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.ise.system.outputs.GetLicenseTierStateLicense; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetLicenseTierStateResult { + /** + * @return The id of the object + * + */ + private String id; + /** + * @return List of licenses + * + */ + private List licenses; + + private GetLicenseTierStateResult() {} + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return List of licenses + * + */ + public List licenses() { + return this.licenses; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetLicenseTierStateResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + private List licenses; + public Builder() {} + public Builder(GetLicenseTierStateResult defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + this.licenses = defaults.licenses; + } + + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetLicenseTierStateResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder licenses(List licenses) { + if (licenses == null) { + throw new MissingRequiredPropertyException("GetLicenseTierStateResult", "licenses"); + } + this.licenses = licenses; + return this; + } + public Builder licenses(GetLicenseTierStateLicense... licenses) { + return licenses(List.of(licenses)); + } + public GetLicenseTierStateResult build() { + final var _resultValue = new GetLicenseTierStateResult(); + _resultValue.id = id; + _resultValue.licenses = licenses; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/outputs/GetRepositoryResult.java b/sdk/java/src/main/java/com/pulumi/ise/system/outputs/GetRepositoryResult.java new file mode 100644 index 0000000..e05d149 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/outputs/GetRepositoryResult.java @@ -0,0 +1,220 @@ +// *** 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.system.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetRepositoryResult { + /** + * @return Enable PKI + * + */ + private Boolean enablePki; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + private String name; + /** + * @return Password can contain alphanumeric and/or special characters. + * + */ + private String password; + /** + * @return Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + private String path; + /** + * @return Protocol + * + */ + private String protocol; + /** + * @return Name of the server + * + */ + private String serverName; + /** + * @return User name + * + */ + private String userName; + + private GetRepositoryResult() {} + /** + * @return Enable PKI + * + */ + public Boolean enablePki() { + return this.enablePki; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + public String name() { + return this.name; + } + /** + * @return Password can contain alphanumeric and/or special characters. + * + */ + public String password() { + return this.password; + } + /** + * @return Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters. + * + */ + public String path() { + return this.path; + } + /** + * @return Protocol + * + */ + public String protocol() { + return this.protocol; + } + /** + * @return Name of the server + * + */ + public String serverName() { + return this.serverName; + } + /** + * @return User name + * + */ + public String userName() { + return this.userName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRepositoryResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean enablePki; + private String id; + private String name; + private String password; + private String path; + private String protocol; + private String serverName; + private String userName; + public Builder() {} + public Builder(GetRepositoryResult defaults) { + Objects.requireNonNull(defaults); + this.enablePki = defaults.enablePki; + this.id = defaults.id; + this.name = defaults.name; + this.password = defaults.password; + this.path = defaults.path; + this.protocol = defaults.protocol; + this.serverName = defaults.serverName; + this.userName = defaults.userName; + } + + @CustomType.Setter + public Builder enablePki(Boolean enablePki) { + if (enablePki == null) { + throw new MissingRequiredPropertyException("GetRepositoryResult", "enablePki"); + } + this.enablePki = enablePki; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetRepositoryResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetRepositoryResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder password(String password) { + if (password == null) { + throw new MissingRequiredPropertyException("GetRepositoryResult", "password"); + } + this.password = password; + return this; + } + @CustomType.Setter + public Builder path(String path) { + if (path == null) { + throw new MissingRequiredPropertyException("GetRepositoryResult", "path"); + } + this.path = path; + return this; + } + @CustomType.Setter + public Builder protocol(String protocol) { + if (protocol == null) { + throw new MissingRequiredPropertyException("GetRepositoryResult", "protocol"); + } + this.protocol = protocol; + return this; + } + @CustomType.Setter + public Builder serverName(String serverName) { + if (serverName == null) { + throw new MissingRequiredPropertyException("GetRepositoryResult", "serverName"); + } + this.serverName = serverName; + return this; + } + @CustomType.Setter + public Builder userName(String userName) { + if (userName == null) { + throw new MissingRequiredPropertyException("GetRepositoryResult", "userName"); + } + this.userName = userName; + return this; + } + public GetRepositoryResult build() { + final var _resultValue = new GetRepositoryResult(); + _resultValue.enablePki = enablePki; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.password = password; + _resultValue.path = path; + _resultValue.protocol = protocol; + _resultValue.serverName = serverName; + _resultValue.userName = userName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/system/outputs/LicenseTierStateLicense.java b/sdk/java/src/main/java/com/pulumi/ise/system/outputs/LicenseTierStateLicense.java new file mode 100644 index 0000000..1f64165 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/system/outputs/LicenseTierStateLicense.java @@ -0,0 +1,85 @@ +// *** 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.system.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class LicenseTierStateLicense { + /** + * @return License name + * - Choices: `ESSENTIAL`, `ADVANTAGE`, `PREMIER`, `DEVICEADMIN`, `VM` + * + */ + private String name; + /** + * @return License status + * - Choices: `ENABLED`, `DISABLED` + * + */ + private String status; + + private LicenseTierStateLicense() {} + /** + * @return License name + * - Choices: `ESSENTIAL`, `ADVANTAGE`, `PREMIER`, `DEVICEADMIN`, `VM` + * + */ + public String name() { + return this.name; + } + /** + * @return License status + * - Choices: `ENABLED`, `DISABLED` + * + */ + public String status() { + return this.status; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(LicenseTierStateLicense defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String status; + public Builder() {} + public Builder(LicenseTierStateLicense defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.status = defaults.status; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("LicenseTierStateLicense", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("LicenseTierStateLicense", "status"); + } + this.status = status; + return this; + } + public LicenseTierStateLicense build() { + final var _resultValue = new LicenseTierStateLicense(); + _resultValue.name = name; + _resultValue.status = status; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/EgressMatrixCell.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/EgressMatrixCell.java new file mode 100644 index 0000000..48ebbbb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/EgressMatrixCell.java @@ -0,0 +1,201 @@ +// *** 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.trustsec; + +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.trustsec.EgressMatrixCellArgs; +import com.pulumi.ise.trustsec.inputs.EgressMatrixCellState; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a TrustSec Egress Matrix Cell. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.EgressMatrixCell; + * import com.pulumi.ise.trustsec.EgressMatrixCellArgs; + * 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 EgressMatrixCell("example", EgressMatrixCellArgs.builder() + * .description("EgressMatrixCell Description") + * .defaultRule("NONE") + * .matrixCellStatus("ENABLED") + * .sgacls("26b76b10-66e6-11ee-9cc1-9eb2a3ecc82a, 9d64dcd0-6384-11ee-9cc1-9eb2a3ecc82a") + * .sourceSgtId("93c66ed0-8c01-11e6-996c-525400b48521") + * .destinationSgtId("93e1bf00-8c01-11e6-996c-525400b48521") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:trustsec/egressMatrixCell:EgressMatrixCell example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:trustsec/egressMatrixCell:EgressMatrixCell") +public class EgressMatrixCell extends com.pulumi.resources.CustomResource { + /** + * Can be used only if sgacls not specified. - Choices: `NONE`, `DENY_IP`, `PERMIT_IP` - Default value: `NONE` + * + */ + @Export(name="defaultRule", refs={String.class}, tree="[0]") + private Output defaultRule; + + /** + * @return Can be used only if sgacls not specified. - Choices: `NONE`, `DENY_IP`, `PERMIT_IP` - Default value: `NONE` + * + */ + public Output defaultRule() { + return this.defaultRule; + } + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * Destination Trustsec Security Group ID + * + */ + @Export(name="destinationSgtId", refs={String.class}, tree="[0]") + private Output destinationSgtId; + + /** + * @return Destination Trustsec Security Group ID + * + */ + public Output destinationSgtId() { + return this.destinationSgtId; + } + /** + * Matrix Cell Status - Choices: `DISABLED`, `ENABLED`, `MONITOR` - Default value: `DISABLED` + * + */ + @Export(name="matrixCellStatus", refs={String.class}, tree="[0]") + private Output matrixCellStatus; + + /** + * @return Matrix Cell Status - Choices: `DISABLED`, `ENABLED`, `MONITOR` - Default value: `DISABLED` + * + */ + public Output matrixCellStatus() { + return this.matrixCellStatus; + } + /** + * List of TrustSec Security Groups ACLs + * + */ + @Export(name="sgacls", refs={List.class,String.class}, tree="[0,1]") + private Output> sgacls; + + /** + * @return List of TrustSec Security Groups ACLs + * + */ + public Output>> sgacls() { + return Codegen.optional(this.sgacls); + } + /** + * Source Trustsec Security Group ID + * + */ + @Export(name="sourceSgtId", refs={String.class}, tree="[0]") + private Output sourceSgtId; + + /** + * @return Source Trustsec Security Group ID + * + */ + public Output sourceSgtId() { + return this.sourceSgtId; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public EgressMatrixCell(String name) { + this(name, EgressMatrixCellArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public EgressMatrixCell(String name, EgressMatrixCellArgs 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 EgressMatrixCell(String name, EgressMatrixCellArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:trustsec/egressMatrixCell:EgressMatrixCell", name, args == null ? EgressMatrixCellArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private EgressMatrixCell(String name, Output id, @Nullable EgressMatrixCellState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:trustsec/egressMatrixCell:EgressMatrixCell", name, state, makeResourceOptions(options, id)); + } + + 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 EgressMatrixCell get(String name, Output id, @Nullable EgressMatrixCellState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new EgressMatrixCell(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/EgressMatrixCellArgs.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/EgressMatrixCellArgs.java new file mode 100644 index 0000000..2c568a6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/EgressMatrixCellArgs.java @@ -0,0 +1,286 @@ +// *** 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.trustsec; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class EgressMatrixCellArgs extends com.pulumi.resources.ResourceArgs { + + public static final EgressMatrixCellArgs Empty = new EgressMatrixCellArgs(); + + /** + * Can be used only if sgacls not specified. - Choices: `NONE`, `DENY_IP`, `PERMIT_IP` - Default value: `NONE` + * + */ + @Import(name="defaultRule") + private @Nullable Output defaultRule; + + /** + * @return Can be used only if sgacls not specified. - Choices: `NONE`, `DENY_IP`, `PERMIT_IP` - Default value: `NONE` + * + */ + public Optional> defaultRule() { + return Optional.ofNullable(this.defaultRule); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Destination Trustsec Security Group ID + * + */ + @Import(name="destinationSgtId", required=true) + private Output destinationSgtId; + + /** + * @return Destination Trustsec Security Group ID + * + */ + public Output destinationSgtId() { + return this.destinationSgtId; + } + + /** + * Matrix Cell Status - Choices: `DISABLED`, `ENABLED`, `MONITOR` - Default value: `DISABLED` + * + */ + @Import(name="matrixCellStatus") + private @Nullable Output matrixCellStatus; + + /** + * @return Matrix Cell Status - Choices: `DISABLED`, `ENABLED`, `MONITOR` - Default value: `DISABLED` + * + */ + public Optional> matrixCellStatus() { + return Optional.ofNullable(this.matrixCellStatus); + } + + /** + * List of TrustSec Security Groups ACLs + * + */ + @Import(name="sgacls") + private @Nullable Output> sgacls; + + /** + * @return List of TrustSec Security Groups ACLs + * + */ + public Optional>> sgacls() { + return Optional.ofNullable(this.sgacls); + } + + /** + * Source Trustsec Security Group ID + * + */ + @Import(name="sourceSgtId", required=true) + private Output sourceSgtId; + + /** + * @return Source Trustsec Security Group ID + * + */ + public Output sourceSgtId() { + return this.sourceSgtId; + } + + private EgressMatrixCellArgs() {} + + private EgressMatrixCellArgs(EgressMatrixCellArgs $) { + this.defaultRule = $.defaultRule; + this.description = $.description; + this.destinationSgtId = $.destinationSgtId; + this.matrixCellStatus = $.matrixCellStatus; + this.sgacls = $.sgacls; + this.sourceSgtId = $.sourceSgtId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(EgressMatrixCellArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private EgressMatrixCellArgs $; + + public Builder() { + $ = new EgressMatrixCellArgs(); + } + + public Builder(EgressMatrixCellArgs defaults) { + $ = new EgressMatrixCellArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param defaultRule Can be used only if sgacls not specified. - Choices: `NONE`, `DENY_IP`, `PERMIT_IP` - Default value: `NONE` + * + * @return builder + * + */ + public Builder defaultRule(@Nullable Output defaultRule) { + $.defaultRule = defaultRule; + return this; + } + + /** + * @param defaultRule Can be used only if sgacls not specified. - Choices: `NONE`, `DENY_IP`, `PERMIT_IP` - Default value: `NONE` + * + * @return builder + * + */ + public Builder defaultRule(String defaultRule) { + return defaultRule(Output.of(defaultRule)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param destinationSgtId Destination Trustsec Security Group ID + * + * @return builder + * + */ + public Builder destinationSgtId(Output destinationSgtId) { + $.destinationSgtId = destinationSgtId; + return this; + } + + /** + * @param destinationSgtId Destination Trustsec Security Group ID + * + * @return builder + * + */ + public Builder destinationSgtId(String destinationSgtId) { + return destinationSgtId(Output.of(destinationSgtId)); + } + + /** + * @param matrixCellStatus Matrix Cell Status - Choices: `DISABLED`, `ENABLED`, `MONITOR` - Default value: `DISABLED` + * + * @return builder + * + */ + public Builder matrixCellStatus(@Nullable Output matrixCellStatus) { + $.matrixCellStatus = matrixCellStatus; + return this; + } + + /** + * @param matrixCellStatus Matrix Cell Status - Choices: `DISABLED`, `ENABLED`, `MONITOR` - Default value: `DISABLED` + * + * @return builder + * + */ + public Builder matrixCellStatus(String matrixCellStatus) { + return matrixCellStatus(Output.of(matrixCellStatus)); + } + + /** + * @param sgacls List of TrustSec Security Groups ACLs + * + * @return builder + * + */ + public Builder sgacls(@Nullable Output> sgacls) { + $.sgacls = sgacls; + return this; + } + + /** + * @param sgacls List of TrustSec Security Groups ACLs + * + * @return builder + * + */ + public Builder sgacls(List sgacls) { + return sgacls(Output.of(sgacls)); + } + + /** + * @param sgacls List of TrustSec Security Groups ACLs + * + * @return builder + * + */ + public Builder sgacls(String... sgacls) { + return sgacls(List.of(sgacls)); + } + + /** + * @param sourceSgtId Source Trustsec Security Group ID + * + * @return builder + * + */ + public Builder sourceSgtId(Output sourceSgtId) { + $.sourceSgtId = sourceSgtId; + return this; + } + + /** + * @param sourceSgtId Source Trustsec Security Group ID + * + * @return builder + * + */ + public Builder sourceSgtId(String sourceSgtId) { + return sourceSgtId(Output.of(sourceSgtId)); + } + + public EgressMatrixCellArgs build() { + if ($.destinationSgtId == null) { + throw new MissingRequiredPropertyException("EgressMatrixCellArgs", "destinationSgtId"); + } + if ($.sourceSgtId == null) { + throw new MissingRequiredPropertyException("EgressMatrixCellArgs", "sourceSgtId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/IpToSgtMapping.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/IpToSgtMapping.java new file mode 100644 index 0000000..f6c325c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/IpToSgtMapping.java @@ -0,0 +1,226 @@ +// *** 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.trustsec; + +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.trustsec.IpToSgtMappingArgs; +import com.pulumi.ise.trustsec.inputs.IpToSgtMappingState; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a TrustSec IP to SGT Mapping. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.IpToSgtMapping; + * import com.pulumi.ise.trustsec.IpToSgtMappingArgs; + * 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 IpToSgtMapping("example", IpToSgtMappingArgs.builder() + * .name("10.0.0.1/32") + * .deployType("ALL") + * .hostIp("10.0.0.1/32") + * .sgt("93e1bf00-8c01-11e6-996c-525400b48521") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:trustsec/ipToSgtMapping:IpToSgtMapping example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:trustsec/ipToSgtMapping:IpToSgtMapping") +public class IpToSgtMapping extends com.pulumi.resources.CustomResource { + /** + * Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL` + * + */ + @Export(name="deployTo", refs={String.class}, tree="[0]") + private Output deployTo; + + /** + * @return Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL` + * + */ + public Output> deployTo() { + return Codegen.optional(this.deployTo); + } + /** + * Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + */ + @Export(name="deployType", refs={String.class}, tree="[0]") + private Output deployType; + + /** + * @return Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + */ + public Output> deployType() { + return Codegen.optional(this.deployType); + } + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * Mandatory if `host_name` is empty + * + */ + @Export(name="hostIp", refs={String.class}, tree="[0]") + private Output hostIp; + + /** + * @return Mandatory if `host_name` is empty + * + */ + public Output> hostIp() { + return Codegen.optional(this.hostIp); + } + /** + * Mandatory if `host_ip` is empty + * + */ + @Export(name="hostName", refs={String.class}, tree="[0]") + private Output hostName; + + /** + * @return Mandatory if `host_ip` is empty + * + */ + public Output> hostName() { + return Codegen.optional(this.hostName); + } + /** + * IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set + * + */ + @Export(name="mappingGroup", refs={String.class}, tree="[0]") + private Output mappingGroup; + + /** + * @return IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set + * + */ + public Output> mappingGroup() { + return Codegen.optional(this.mappingGroup); + } + /** + * The name of the IP to SGT mapping + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the IP to SGT mapping + * + */ + public Output name() { + return this.name; + } + /** + * Trustsec Security Group ID. Mandatory unless `mapping_group` is set + * + */ + @Export(name="sgt", refs={String.class}, tree="[0]") + private Output sgt; + + /** + * @return Trustsec Security Group ID. Mandatory unless `mapping_group` is set + * + */ + public Output> sgt() { + return Codegen.optional(this.sgt); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public IpToSgtMapping(String name) { + this(name, IpToSgtMappingArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public IpToSgtMapping(String name, @Nullable IpToSgtMappingArgs 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 IpToSgtMapping(String name, @Nullable IpToSgtMappingArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:trustsec/ipToSgtMapping:IpToSgtMapping", name, args == null ? IpToSgtMappingArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private IpToSgtMapping(String name, Output id, @Nullable IpToSgtMappingState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:trustsec/ipToSgtMapping:IpToSgtMapping", name, state, makeResourceOptions(options, id)); + } + + 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 IpToSgtMapping get(String name, Output id, @Nullable IpToSgtMappingState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new IpToSgtMapping(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/IpToSgtMappingArgs.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/IpToSgtMappingArgs.java new file mode 100644 index 0000000..bdbfdac --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/IpToSgtMappingArgs.java @@ -0,0 +1,342 @@ +// *** 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.trustsec; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IpToSgtMappingArgs extends com.pulumi.resources.ResourceArgs { + + public static final IpToSgtMappingArgs Empty = new IpToSgtMappingArgs(); + + /** + * Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL` + * + */ + @Import(name="deployTo") + private @Nullable Output deployTo; + + /** + * @return Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL` + * + */ + public Optional> deployTo() { + return Optional.ofNullable(this.deployTo); + } + + /** + * Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + */ + @Import(name="deployType") + private @Nullable Output deployType; + + /** + * @return Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + */ + public Optional> deployType() { + return Optional.ofNullable(this.deployType); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Mandatory if `host_name` is empty + * + */ + @Import(name="hostIp") + private @Nullable Output hostIp; + + /** + * @return Mandatory if `host_name` is empty + * + */ + public Optional> hostIp() { + return Optional.ofNullable(this.hostIp); + } + + /** + * Mandatory if `host_ip` is empty + * + */ + @Import(name="hostName") + private @Nullable Output hostName; + + /** + * @return Mandatory if `host_ip` is empty + * + */ + public Optional> hostName() { + return Optional.ofNullable(this.hostName); + } + + /** + * IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set + * + */ + @Import(name="mappingGroup") + private @Nullable Output mappingGroup; + + /** + * @return IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set + * + */ + public Optional> mappingGroup() { + return Optional.ofNullable(this.mappingGroup); + } + + /** + * The name of the IP to SGT mapping + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the IP to SGT mapping + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Trustsec Security Group ID. Mandatory unless `mapping_group` is set + * + */ + @Import(name="sgt") + private @Nullable Output sgt; + + /** + * @return Trustsec Security Group ID. Mandatory unless `mapping_group` is set + * + */ + public Optional> sgt() { + return Optional.ofNullable(this.sgt); + } + + private IpToSgtMappingArgs() {} + + private IpToSgtMappingArgs(IpToSgtMappingArgs $) { + this.deployTo = $.deployTo; + this.deployType = $.deployType; + this.description = $.description; + this.hostIp = $.hostIp; + this.hostName = $.hostName; + this.mappingGroup = $.mappingGroup; + this.name = $.name; + this.sgt = $.sgt; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IpToSgtMappingArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IpToSgtMappingArgs $; + + public Builder() { + $ = new IpToSgtMappingArgs(); + } + + public Builder(IpToSgtMappingArgs defaults) { + $ = new IpToSgtMappingArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param deployTo Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL` + * + * @return builder + * + */ + public Builder deployTo(@Nullable Output deployTo) { + $.deployTo = deployTo; + return this; + } + + /** + * @param deployTo Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL` + * + * @return builder + * + */ + public Builder deployTo(String deployTo) { + return deployTo(Output.of(deployTo)); + } + + /** + * @param deployType Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + * @return builder + * + */ + public Builder deployType(@Nullable Output deployType) { + $.deployType = deployType; + return this; + } + + /** + * @param deployType Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + * @return builder + * + */ + public Builder deployType(String deployType) { + return deployType(Output.of(deployType)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param hostIp Mandatory if `host_name` is empty + * + * @return builder + * + */ + public Builder hostIp(@Nullable Output hostIp) { + $.hostIp = hostIp; + return this; + } + + /** + * @param hostIp Mandatory if `host_name` is empty + * + * @return builder + * + */ + public Builder hostIp(String hostIp) { + return hostIp(Output.of(hostIp)); + } + + /** + * @param hostName Mandatory if `host_ip` is empty + * + * @return builder + * + */ + public Builder hostName(@Nullable Output hostName) { + $.hostName = hostName; + return this; + } + + /** + * @param hostName Mandatory if `host_ip` is empty + * + * @return builder + * + */ + public Builder hostName(String hostName) { + return hostName(Output.of(hostName)); + } + + /** + * @param mappingGroup IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set + * + * @return builder + * + */ + public Builder mappingGroup(@Nullable Output mappingGroup) { + $.mappingGroup = mappingGroup; + return this; + } + + /** + * @param mappingGroup IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set + * + * @return builder + * + */ + public Builder mappingGroup(String mappingGroup) { + return mappingGroup(Output.of(mappingGroup)); + } + + /** + * @param name The name of the IP to SGT mapping + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the IP to SGT mapping + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param sgt Trustsec Security Group ID. Mandatory unless `mapping_group` is set + * + * @return builder + * + */ + public Builder sgt(@Nullable Output sgt) { + $.sgt = sgt; + return this; + } + + /** + * @param sgt Trustsec Security Group ID. Mandatory unless `mapping_group` is set + * + * @return builder + * + */ + public Builder sgt(String sgt) { + return sgt(Output.of(sgt)); + } + + public IpToSgtMappingArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/IpToSgtMappingGroup.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/IpToSgtMappingGroup.java new file mode 100644 index 0000000..be598db --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/IpToSgtMappingGroup.java @@ -0,0 +1,183 @@ +// *** 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.trustsec; + +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.trustsec.IpToSgtMappingGroupArgs; +import com.pulumi.ise.trustsec.inputs.IpToSgtMappingGroupState; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a TrustSec IP to SGT Mapping Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.IpToSgtMappingGroup; + * import com.pulumi.ise.trustsec.IpToSgtMappingGroupArgs; + * 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 IpToSgtMappingGroup("example", IpToSgtMappingGroupArgs.builder() + * .name("groupA") + * .deployType("ALL") + * .sgt("93e1bf00-8c01-11e6-996c-525400b48521") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:trustsec/ipToSgtMappingGroup:IpToSgtMappingGroup example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:trustsec/ipToSgtMappingGroup:IpToSgtMappingGroup") +public class IpToSgtMappingGroup extends com.pulumi.resources.CustomResource { + /** + * Mandatory unless `deploy_type` is `ALL` + * + */ + @Export(name="deployTo", refs={String.class}, tree="[0]") + private Output deployTo; + + /** + * @return Mandatory unless `deploy_type` is `ALL` + * + */ + public Output> deployTo() { + return Codegen.optional(this.deployTo); + } + /** + * Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + */ + @Export(name="deployType", refs={String.class}, tree="[0]") + private Output deployType; + + /** + * @return Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + */ + public Output deployType() { + return this.deployType; + } + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * The name of the IP to SGT mapping Group + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the IP to SGT mapping Group + * + */ + public Output name() { + return this.name; + } + /** + * Trustsec Security Group ID + * + */ + @Export(name="sgt", refs={String.class}, tree="[0]") + private Output sgt; + + /** + * @return Trustsec Security Group ID + * + */ + public Output sgt() { + return this.sgt; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public IpToSgtMappingGroup(String name) { + this(name, IpToSgtMappingGroupArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public IpToSgtMappingGroup(String name, IpToSgtMappingGroupArgs 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 IpToSgtMappingGroup(String name, IpToSgtMappingGroupArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:trustsec/ipToSgtMappingGroup:IpToSgtMappingGroup", name, args == null ? IpToSgtMappingGroupArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private IpToSgtMappingGroup(String name, Output id, @Nullable IpToSgtMappingGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:trustsec/ipToSgtMappingGroup:IpToSgtMappingGroup", name, state, makeResourceOptions(options, id)); + } + + 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 IpToSgtMappingGroup get(String name, Output id, @Nullable IpToSgtMappingGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new IpToSgtMappingGroup(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/IpToSgtMappingGroupArgs.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/IpToSgtMappingGroupArgs.java new file mode 100644 index 0000000..586867c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/IpToSgtMappingGroupArgs.java @@ -0,0 +1,238 @@ +// *** 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.trustsec; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IpToSgtMappingGroupArgs extends com.pulumi.resources.ResourceArgs { + + public static final IpToSgtMappingGroupArgs Empty = new IpToSgtMappingGroupArgs(); + + /** + * Mandatory unless `deploy_type` is `ALL` + * + */ + @Import(name="deployTo") + private @Nullable Output deployTo; + + /** + * @return Mandatory unless `deploy_type` is `ALL` + * + */ + public Optional> deployTo() { + return Optional.ofNullable(this.deployTo); + } + + /** + * Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + */ + @Import(name="deployType", required=true) + private Output deployType; + + /** + * @return Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + */ + public Output deployType() { + return this.deployType; + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the IP to SGT mapping Group + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the IP to SGT mapping Group + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Trustsec Security Group ID + * + */ + @Import(name="sgt", required=true) + private Output sgt; + + /** + * @return Trustsec Security Group ID + * + */ + public Output sgt() { + return this.sgt; + } + + private IpToSgtMappingGroupArgs() {} + + private IpToSgtMappingGroupArgs(IpToSgtMappingGroupArgs $) { + this.deployTo = $.deployTo; + this.deployType = $.deployType; + this.description = $.description; + this.name = $.name; + this.sgt = $.sgt; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IpToSgtMappingGroupArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IpToSgtMappingGroupArgs $; + + public Builder() { + $ = new IpToSgtMappingGroupArgs(); + } + + public Builder(IpToSgtMappingGroupArgs defaults) { + $ = new IpToSgtMappingGroupArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param deployTo Mandatory unless `deploy_type` is `ALL` + * + * @return builder + * + */ + public Builder deployTo(@Nullable Output deployTo) { + $.deployTo = deployTo; + return this; + } + + /** + * @param deployTo Mandatory unless `deploy_type` is `ALL` + * + * @return builder + * + */ + public Builder deployTo(String deployTo) { + return deployTo(Output.of(deployTo)); + } + + /** + * @param deployType Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + * @return builder + * + */ + public Builder deployType(Output deployType) { + $.deployType = deployType; + return this; + } + + /** + * @param deployType Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + * @return builder + * + */ + public Builder deployType(String deployType) { + return deployType(Output.of(deployType)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the IP to SGT mapping Group + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the IP to SGT mapping Group + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param sgt Trustsec Security Group ID + * + * @return builder + * + */ + public Builder sgt(Output sgt) { + $.sgt = sgt; + return this; + } + + /** + * @param sgt Trustsec Security Group ID + * + * @return builder + * + */ + public Builder sgt(String sgt) { + return sgt(Output.of(sgt)); + } + + public IpToSgtMappingGroupArgs build() { + if ($.deployType == null) { + throw new MissingRequiredPropertyException("IpToSgtMappingGroupArgs", "deployType"); + } + if ($.sgt == null) { + throw new MissingRequiredPropertyException("IpToSgtMappingGroupArgs", "sgt"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/SecurityGroup.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/SecurityGroup.java new file mode 100644 index 0000000..584fa41 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/SecurityGroup.java @@ -0,0 +1,187 @@ +// *** 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.trustsec; + +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.trustsec.SecurityGroupArgs; +import com.pulumi.ise.trustsec.inputs.SecurityGroupState; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a TrustSec Security Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.SecurityGroup; + * import com.pulumi.ise.trustsec.SecurityGroupArgs; + * 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 SecurityGroup("example", SecurityGroupArgs.builder() + * .name("SGT1234") + * .description("My SGT") + * .value(1234) + * .propogateToApic(true) + * .isReadOnly(false) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:trustsec/securityGroup:SecurityGroup example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:trustsec/securityGroup:SecurityGroup") +public class SecurityGroup extends com.pulumi.resources.CustomResource { + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * Read-only - Default value: `false` + * + */ + @Export(name="isReadOnly", refs={Boolean.class}, tree="[0]") + private Output isReadOnly; + + /** + * @return Read-only - Default value: `false` + * + */ + public Output isReadOnly() { + return this.isReadOnly; + } + /** + * The name of the security group + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the security group + * + */ + public Output name() { + return this.name; + } + /** + * Propagate to APIC (ACI) + * + */ + @Export(name="propogateToApic", refs={Boolean.class}, tree="[0]") + private Output propogateToApic; + + /** + * @return Propagate to APIC (ACI) + * + */ + public Output> propogateToApic() { + return Codegen.optional(this.propogateToApic); + } + /** + * `-1` to auto-generate - Range: `-1`-`65519` + * + */ + @Export(name="value", refs={Integer.class}, tree="[0]") + private Output value; + + /** + * @return `-1` to auto-generate - Range: `-1`-`65519` + * + */ + public Output value() { + return this.value; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public SecurityGroup(String name) { + this(name, SecurityGroupArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public SecurityGroup(String name, SecurityGroupArgs 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 SecurityGroup(String name, SecurityGroupArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:trustsec/securityGroup:SecurityGroup", name, args == null ? SecurityGroupArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private SecurityGroup(String name, Output id, @Nullable SecurityGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:trustsec/securityGroup:SecurityGroup", name, state, makeResourceOptions(options, id)); + } + + 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 SecurityGroup get(String name, Output id, @Nullable SecurityGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new SecurityGroup(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/SecurityGroupAcl.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/SecurityGroupAcl.java new file mode 100644 index 0000000..6014096 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/SecurityGroupAcl.java @@ -0,0 +1,186 @@ +// *** 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.trustsec; + +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.trustsec.SecurityGroupAclArgs; +import com.pulumi.ise.trustsec.inputs.SecurityGroupAclState; +import java.lang.Boolean; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource can manage a TrustSec Security Group ACL. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.SecurityGroupAcl; + * import com.pulumi.ise.trustsec.SecurityGroupAclArgs; + * 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 SecurityGroupAcl("example", SecurityGroupAclArgs.builder() + * .name("ACL1") + * .description("SG ACL 1") + * .aclContent("Permit IP") + * .ipVersion("IPV4") + * .readOnly(false) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import ise:trustsec/securityGroupAcl:SecurityGroupAcl example "76d24097-41c4-4558-a4d0-a8c07ac08470" + * ``` + * + */ +@ResourceType(type="ise:trustsec/securityGroupAcl:SecurityGroupAcl") +public class SecurityGroupAcl extends com.pulumi.resources.CustomResource { + /** + * Content of ACL + * + */ + @Export(name="aclContent", refs={String.class}, tree="[0]") + private Output aclContent; + + /** + * @return Content of ACL + * + */ + public Output aclContent() { + return this.aclContent; + } + /** + * Description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * IP Version - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IP_AGNOSTIC` + * + */ + @Export(name="ipVersion", refs={String.class}, tree="[0]") + private Output ipVersion; + + /** + * @return IP Version - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IP_AGNOSTIC` + * + */ + public Output ipVersion() { + return this.ipVersion; + } + /** + * The name of the security group ACL + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the security group ACL + * + */ + public Output name() { + return this.name; + } + /** + * Read-only - Default value: `false` + * + */ + @Export(name="readOnly", refs={Boolean.class}, tree="[0]") + private Output readOnly; + + /** + * @return Read-only - Default value: `false` + * + */ + public Output readOnly() { + return this.readOnly; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public SecurityGroupAcl(String name) { + this(name, SecurityGroupAclArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public SecurityGroupAcl(String name, SecurityGroupAclArgs 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 SecurityGroupAcl(String name, SecurityGroupAclArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:trustsec/securityGroupAcl:SecurityGroupAcl", name, args == null ? SecurityGroupAclArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private SecurityGroupAcl(String name, Output id, @Nullable SecurityGroupAclState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("ise:trustsec/securityGroupAcl:SecurityGroupAcl", name, state, makeResourceOptions(options, id)); + } + + 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 SecurityGroupAcl get(String name, Output id, @Nullable SecurityGroupAclState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new SecurityGroupAcl(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/SecurityGroupAclArgs.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/SecurityGroupAclArgs.java new file mode 100644 index 0000000..1eb1f5a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/SecurityGroupAclArgs.java @@ -0,0 +1,236 @@ +// *** 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.trustsec; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SecurityGroupAclArgs extends com.pulumi.resources.ResourceArgs { + + public static final SecurityGroupAclArgs Empty = new SecurityGroupAclArgs(); + + /** + * Content of ACL + * + */ + @Import(name="aclContent", required=true) + private Output aclContent; + + /** + * @return Content of ACL + * + */ + public Output aclContent() { + return this.aclContent; + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * IP Version - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IP_AGNOSTIC` + * + */ + @Import(name="ipVersion") + private @Nullable Output ipVersion; + + /** + * @return IP Version - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IP_AGNOSTIC` + * + */ + public Optional> ipVersion() { + return Optional.ofNullable(this.ipVersion); + } + + /** + * The name of the security group ACL + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the security group ACL + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Read-only - Default value: `false` + * + */ + @Import(name="readOnly") + private @Nullable Output readOnly; + + /** + * @return Read-only - Default value: `false` + * + */ + public Optional> readOnly() { + return Optional.ofNullable(this.readOnly); + } + + private SecurityGroupAclArgs() {} + + private SecurityGroupAclArgs(SecurityGroupAclArgs $) { + this.aclContent = $.aclContent; + this.description = $.description; + this.ipVersion = $.ipVersion; + this.name = $.name; + this.readOnly = $.readOnly; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SecurityGroupAclArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SecurityGroupAclArgs $; + + public Builder() { + $ = new SecurityGroupAclArgs(); + } + + public Builder(SecurityGroupAclArgs defaults) { + $ = new SecurityGroupAclArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param aclContent Content of ACL + * + * @return builder + * + */ + public Builder aclContent(Output aclContent) { + $.aclContent = aclContent; + return this; + } + + /** + * @param aclContent Content of ACL + * + * @return builder + * + */ + public Builder aclContent(String aclContent) { + return aclContent(Output.of(aclContent)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param ipVersion IP Version - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IP_AGNOSTIC` + * + * @return builder + * + */ + public Builder ipVersion(@Nullable Output ipVersion) { + $.ipVersion = ipVersion; + return this; + } + + /** + * @param ipVersion IP Version - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IP_AGNOSTIC` + * + * @return builder + * + */ + public Builder ipVersion(String ipVersion) { + return ipVersion(Output.of(ipVersion)); + } + + /** + * @param name The name of the security group ACL + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the security group ACL + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param readOnly Read-only - Default value: `false` + * + * @return builder + * + */ + public Builder readOnly(@Nullable Output readOnly) { + $.readOnly = readOnly; + return this; + } + + /** + * @param readOnly Read-only - Default value: `false` + * + * @return builder + * + */ + public Builder readOnly(Boolean readOnly) { + return readOnly(Output.of(readOnly)); + } + + public SecurityGroupAclArgs build() { + if ($.aclContent == null) { + throw new MissingRequiredPropertyException("SecurityGroupAclArgs", "aclContent"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/SecurityGroupArgs.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/SecurityGroupArgs.java new file mode 100644 index 0000000..39857c5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/SecurityGroupArgs.java @@ -0,0 +1,237 @@ +// *** 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.trustsec; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SecurityGroupArgs extends com.pulumi.resources.ResourceArgs { + + public static final SecurityGroupArgs Empty = new SecurityGroupArgs(); + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Read-only - Default value: `false` + * + */ + @Import(name="isReadOnly") + private @Nullable Output isReadOnly; + + /** + * @return Read-only - Default value: `false` + * + */ + public Optional> isReadOnly() { + return Optional.ofNullable(this.isReadOnly); + } + + /** + * The name of the security group + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the security group + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Propagate to APIC (ACI) + * + */ + @Import(name="propogateToApic") + private @Nullable Output propogateToApic; + + /** + * @return Propagate to APIC (ACI) + * + */ + public Optional> propogateToApic() { + return Optional.ofNullable(this.propogateToApic); + } + + /** + * `-1` to auto-generate - Range: `-1`-`65519` + * + */ + @Import(name="value", required=true) + private Output value; + + /** + * @return `-1` to auto-generate - Range: `-1`-`65519` + * + */ + public Output value() { + return this.value; + } + + private SecurityGroupArgs() {} + + private SecurityGroupArgs(SecurityGroupArgs $) { + this.description = $.description; + this.isReadOnly = $.isReadOnly; + this.name = $.name; + this.propogateToApic = $.propogateToApic; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SecurityGroupArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SecurityGroupArgs $; + + public Builder() { + $ = new SecurityGroupArgs(); + } + + public Builder(SecurityGroupArgs defaults) { + $ = new SecurityGroupArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param isReadOnly Read-only - Default value: `false` + * + * @return builder + * + */ + public Builder isReadOnly(@Nullable Output isReadOnly) { + $.isReadOnly = isReadOnly; + return this; + } + + /** + * @param isReadOnly Read-only - Default value: `false` + * + * @return builder + * + */ + public Builder isReadOnly(Boolean isReadOnly) { + return isReadOnly(Output.of(isReadOnly)); + } + + /** + * @param name The name of the security group + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the security group + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param propogateToApic Propagate to APIC (ACI) + * + * @return builder + * + */ + public Builder propogateToApic(@Nullable Output propogateToApic) { + $.propogateToApic = propogateToApic; + return this; + } + + /** + * @param propogateToApic Propagate to APIC (ACI) + * + * @return builder + * + */ + public Builder propogateToApic(Boolean propogateToApic) { + return propogateToApic(Output.of(propogateToApic)); + } + + /** + * @param value `-1` to auto-generate - Range: `-1`-`65519` + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value `-1` to auto-generate - Range: `-1`-`65519` + * + * @return builder + * + */ + public Builder value(Integer value) { + return value(Output.of(value)); + } + + public SecurityGroupArgs build() { + if ($.value == null) { + throw new MissingRequiredPropertyException("SecurityGroupArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/TrustsecFunctions.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/TrustsecFunctions.java new file mode 100644 index 0000000..bd9708a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/TrustsecFunctions.java @@ -0,0 +1,1149 @@ +// *** 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.trustsec; + +import com.pulumi.core.Output; +import com.pulumi.core.TypeShape; +import com.pulumi.deployment.Deployment; +import com.pulumi.deployment.InvokeOptions; +import com.pulumi.ise.Utilities; +import com.pulumi.ise.trustsec.inputs.GetEgressMatrixCellArgs; +import com.pulumi.ise.trustsec.inputs.GetEgressMatrixCellPlainArgs; +import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingArgs; +import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingGroupArgs; +import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingGroupPlainArgs; +import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingPlainArgs; +import com.pulumi.ise.trustsec.inputs.GetSecurityGroupAclArgs; +import com.pulumi.ise.trustsec.inputs.GetSecurityGroupAclPlainArgs; +import com.pulumi.ise.trustsec.inputs.GetSecurityGroupArgs; +import com.pulumi.ise.trustsec.inputs.GetSecurityGroupPlainArgs; +import com.pulumi.ise.trustsec.outputs.GetEgressMatrixCellResult; +import com.pulumi.ise.trustsec.outputs.GetIpToSgtMappingGroupResult; +import com.pulumi.ise.trustsec.outputs.GetIpToSgtMappingResult; +import com.pulumi.ise.trustsec.outputs.GetSecurityGroupAclResult; +import com.pulumi.ise.trustsec.outputs.GetSecurityGroupResult; +import java.util.concurrent.CompletableFuture; + +public final class TrustsecFunctions { + /** + * This data source can read the TrustSec Egress Matrix Cell. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetEgressMatrixCellArgs; + * 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) { + * final var example = TrustsecFunctions.getEgressMatrixCell(GetEgressMatrixCellArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getEgressMatrixCell(GetEgressMatrixCellArgs args) { + return getEgressMatrixCell(args, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec Egress Matrix Cell. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetEgressMatrixCellArgs; + * 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) { + * final var example = TrustsecFunctions.getEgressMatrixCell(GetEgressMatrixCellArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getEgressMatrixCellPlain(GetEgressMatrixCellPlainArgs args) { + return getEgressMatrixCellPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec Egress Matrix Cell. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetEgressMatrixCellArgs; + * 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) { + * final var example = TrustsecFunctions.getEgressMatrixCell(GetEgressMatrixCellArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getEgressMatrixCell(GetEgressMatrixCellArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:trustsec/getEgressMatrixCell:getEgressMatrixCell", TypeShape.of(GetEgressMatrixCellResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the TrustSec Egress Matrix Cell. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetEgressMatrixCellArgs; + * 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) { + * final var example = TrustsecFunctions.getEgressMatrixCell(GetEgressMatrixCellArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getEgressMatrixCellPlain(GetEgressMatrixCellPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:trustsec/getEgressMatrixCell:getEgressMatrixCell", TypeShape.of(GetEgressMatrixCellResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the TrustSec IP to SGT Mapping. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingArgs; + * 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) { + * final var example = TrustsecFunctions.getIpToSgtMapping(GetIpToSgtMappingArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getIpToSgtMapping() { + return getIpToSgtMapping(GetIpToSgtMappingArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec IP to SGT Mapping. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingArgs; + * 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) { + * final var example = TrustsecFunctions.getIpToSgtMapping(GetIpToSgtMappingArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getIpToSgtMappingPlain() { + return getIpToSgtMappingPlain(GetIpToSgtMappingPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec IP to SGT Mapping. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingArgs; + * 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) { + * final var example = TrustsecFunctions.getIpToSgtMapping(GetIpToSgtMappingArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getIpToSgtMapping(GetIpToSgtMappingArgs args) { + return getIpToSgtMapping(args, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec IP to SGT Mapping. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingArgs; + * 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) { + * final var example = TrustsecFunctions.getIpToSgtMapping(GetIpToSgtMappingArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getIpToSgtMappingPlain(GetIpToSgtMappingPlainArgs args) { + return getIpToSgtMappingPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec IP to SGT Mapping. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingArgs; + * 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) { + * final var example = TrustsecFunctions.getIpToSgtMapping(GetIpToSgtMappingArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getIpToSgtMapping(GetIpToSgtMappingArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:trustsec/getIpToSgtMapping:getIpToSgtMapping", TypeShape.of(GetIpToSgtMappingResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the TrustSec IP to SGT Mapping. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingArgs; + * 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) { + * final var example = TrustsecFunctions.getIpToSgtMapping(GetIpToSgtMappingArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getIpToSgtMappingPlain(GetIpToSgtMappingPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:trustsec/getIpToSgtMapping:getIpToSgtMapping", TypeShape.of(GetIpToSgtMappingResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the TrustSec IP to SGT Mapping Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingGroupArgs; + * 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) { + * final var example = TrustsecFunctions.getIpToSgtMappingGroup(GetIpToSgtMappingGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getIpToSgtMappingGroup() { + return getIpToSgtMappingGroup(GetIpToSgtMappingGroupArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec IP to SGT Mapping Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingGroupArgs; + * 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) { + * final var example = TrustsecFunctions.getIpToSgtMappingGroup(GetIpToSgtMappingGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getIpToSgtMappingGroupPlain() { + return getIpToSgtMappingGroupPlain(GetIpToSgtMappingGroupPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec IP to SGT Mapping Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingGroupArgs; + * 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) { + * final var example = TrustsecFunctions.getIpToSgtMappingGroup(GetIpToSgtMappingGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getIpToSgtMappingGroup(GetIpToSgtMappingGroupArgs args) { + return getIpToSgtMappingGroup(args, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec IP to SGT Mapping Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingGroupArgs; + * 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) { + * final var example = TrustsecFunctions.getIpToSgtMappingGroup(GetIpToSgtMappingGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getIpToSgtMappingGroupPlain(GetIpToSgtMappingGroupPlainArgs args) { + return getIpToSgtMappingGroupPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec IP to SGT Mapping Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingGroupArgs; + * 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) { + * final var example = TrustsecFunctions.getIpToSgtMappingGroup(GetIpToSgtMappingGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getIpToSgtMappingGroup(GetIpToSgtMappingGroupArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:trustsec/getIpToSgtMappingGroup:getIpToSgtMappingGroup", TypeShape.of(GetIpToSgtMappingGroupResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the TrustSec IP to SGT Mapping Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetIpToSgtMappingGroupArgs; + * 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) { + * final var example = TrustsecFunctions.getIpToSgtMappingGroup(GetIpToSgtMappingGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getIpToSgtMappingGroupPlain(GetIpToSgtMappingGroupPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:trustsec/getIpToSgtMappingGroup:getIpToSgtMappingGroup", TypeShape.of(GetIpToSgtMappingGroupResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the TrustSec Security Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetSecurityGroupArgs; + * 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) { + * final var example = TrustsecFunctions.getSecurityGroup(GetSecurityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getSecurityGroup() { + return getSecurityGroup(GetSecurityGroupArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec Security Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetSecurityGroupArgs; + * 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) { + * final var example = TrustsecFunctions.getSecurityGroup(GetSecurityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSecurityGroupPlain() { + return getSecurityGroupPlain(GetSecurityGroupPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec Security Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetSecurityGroupArgs; + * 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) { + * final var example = TrustsecFunctions.getSecurityGroup(GetSecurityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getSecurityGroup(GetSecurityGroupArgs args) { + return getSecurityGroup(args, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec Security Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetSecurityGroupArgs; + * 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) { + * final var example = TrustsecFunctions.getSecurityGroup(GetSecurityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSecurityGroupPlain(GetSecurityGroupPlainArgs args) { + return getSecurityGroupPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec Security Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetSecurityGroupArgs; + * 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) { + * final var example = TrustsecFunctions.getSecurityGroup(GetSecurityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getSecurityGroup(GetSecurityGroupArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:trustsec/getSecurityGroup:getSecurityGroup", TypeShape.of(GetSecurityGroupResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the TrustSec Security Group. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetSecurityGroupArgs; + * 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) { + * final var example = TrustsecFunctions.getSecurityGroup(GetSecurityGroupArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSecurityGroupPlain(GetSecurityGroupPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:trustsec/getSecurityGroup:getSecurityGroup", TypeShape.of(GetSecurityGroupResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the TrustSec Security Group ACL. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetSecurityGroupAclArgs; + * 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) { + * final var example = TrustsecFunctions.getSecurityGroupAcl(GetSecurityGroupAclArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getSecurityGroupAcl() { + return getSecurityGroupAcl(GetSecurityGroupAclArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec Security Group ACL. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetSecurityGroupAclArgs; + * 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) { + * final var example = TrustsecFunctions.getSecurityGroupAcl(GetSecurityGroupAclArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSecurityGroupAclPlain() { + return getSecurityGroupAclPlain(GetSecurityGroupAclPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec Security Group ACL. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetSecurityGroupAclArgs; + * 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) { + * final var example = TrustsecFunctions.getSecurityGroupAcl(GetSecurityGroupAclArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getSecurityGroupAcl(GetSecurityGroupAclArgs args) { + return getSecurityGroupAcl(args, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec Security Group ACL. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetSecurityGroupAclArgs; + * 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) { + * final var example = TrustsecFunctions.getSecurityGroupAcl(GetSecurityGroupAclArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSecurityGroupAclPlain(GetSecurityGroupAclPlainArgs args) { + return getSecurityGroupAclPlain(args, InvokeOptions.Empty); + } + /** + * This data source can read the TrustSec Security Group ACL. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetSecurityGroupAclArgs; + * 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) { + * final var example = TrustsecFunctions.getSecurityGroupAcl(GetSecurityGroupAclArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getSecurityGroupAcl(GetSecurityGroupAclArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ise:trustsec/getSecurityGroupAcl:getSecurityGroupAcl", TypeShape.of(GetSecurityGroupAclResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source can read the TrustSec Security Group ACL. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ise.trustsec.TrustsecFunctions; + * import com.pulumi.ise.trustsec.inputs.GetSecurityGroupAclArgs; + * 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) { + * final var example = TrustsecFunctions.getSecurityGroupAcl(GetSecurityGroupAclArgs.builder() + * .id("76d24097-41c4-4558-a4d0-a8c07ac08470") + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSecurityGroupAclPlain(GetSecurityGroupAclPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ise:trustsec/getSecurityGroupAcl:getSecurityGroupAcl", TypeShape.of(GetSecurityGroupAclResult.class), args, Utilities.withVersion(options)); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/EgressMatrixCellState.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/EgressMatrixCellState.java new file mode 100644 index 0000000..b1be4fb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/EgressMatrixCellState.java @@ -0,0 +1,279 @@ +// *** 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.trustsec.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class EgressMatrixCellState extends com.pulumi.resources.ResourceArgs { + + public static final EgressMatrixCellState Empty = new EgressMatrixCellState(); + + /** + * Can be used only if sgacls not specified. - Choices: `NONE`, `DENY_IP`, `PERMIT_IP` - Default value: `NONE` + * + */ + @Import(name="defaultRule") + private @Nullable Output defaultRule; + + /** + * @return Can be used only if sgacls not specified. - Choices: `NONE`, `DENY_IP`, `PERMIT_IP` - Default value: `NONE` + * + */ + public Optional> defaultRule() { + return Optional.ofNullable(this.defaultRule); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Destination Trustsec Security Group ID + * + */ + @Import(name="destinationSgtId") + private @Nullable Output destinationSgtId; + + /** + * @return Destination Trustsec Security Group ID + * + */ + public Optional> destinationSgtId() { + return Optional.ofNullable(this.destinationSgtId); + } + + /** + * Matrix Cell Status - Choices: `DISABLED`, `ENABLED`, `MONITOR` - Default value: `DISABLED` + * + */ + @Import(name="matrixCellStatus") + private @Nullable Output matrixCellStatus; + + /** + * @return Matrix Cell Status - Choices: `DISABLED`, `ENABLED`, `MONITOR` - Default value: `DISABLED` + * + */ + public Optional> matrixCellStatus() { + return Optional.ofNullable(this.matrixCellStatus); + } + + /** + * List of TrustSec Security Groups ACLs + * + */ + @Import(name="sgacls") + private @Nullable Output> sgacls; + + /** + * @return List of TrustSec Security Groups ACLs + * + */ + public Optional>> sgacls() { + return Optional.ofNullable(this.sgacls); + } + + /** + * Source Trustsec Security Group ID + * + */ + @Import(name="sourceSgtId") + private @Nullable Output sourceSgtId; + + /** + * @return Source Trustsec Security Group ID + * + */ + public Optional> sourceSgtId() { + return Optional.ofNullable(this.sourceSgtId); + } + + private EgressMatrixCellState() {} + + private EgressMatrixCellState(EgressMatrixCellState $) { + this.defaultRule = $.defaultRule; + this.description = $.description; + this.destinationSgtId = $.destinationSgtId; + this.matrixCellStatus = $.matrixCellStatus; + this.sgacls = $.sgacls; + this.sourceSgtId = $.sourceSgtId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(EgressMatrixCellState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private EgressMatrixCellState $; + + public Builder() { + $ = new EgressMatrixCellState(); + } + + public Builder(EgressMatrixCellState defaults) { + $ = new EgressMatrixCellState(Objects.requireNonNull(defaults)); + } + + /** + * @param defaultRule Can be used only if sgacls not specified. - Choices: `NONE`, `DENY_IP`, `PERMIT_IP` - Default value: `NONE` + * + * @return builder + * + */ + public Builder defaultRule(@Nullable Output defaultRule) { + $.defaultRule = defaultRule; + return this; + } + + /** + * @param defaultRule Can be used only if sgacls not specified. - Choices: `NONE`, `DENY_IP`, `PERMIT_IP` - Default value: `NONE` + * + * @return builder + * + */ + public Builder defaultRule(String defaultRule) { + return defaultRule(Output.of(defaultRule)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param destinationSgtId Destination Trustsec Security Group ID + * + * @return builder + * + */ + public Builder destinationSgtId(@Nullable Output destinationSgtId) { + $.destinationSgtId = destinationSgtId; + return this; + } + + /** + * @param destinationSgtId Destination Trustsec Security Group ID + * + * @return builder + * + */ + public Builder destinationSgtId(String destinationSgtId) { + return destinationSgtId(Output.of(destinationSgtId)); + } + + /** + * @param matrixCellStatus Matrix Cell Status - Choices: `DISABLED`, `ENABLED`, `MONITOR` - Default value: `DISABLED` + * + * @return builder + * + */ + public Builder matrixCellStatus(@Nullable Output matrixCellStatus) { + $.matrixCellStatus = matrixCellStatus; + return this; + } + + /** + * @param matrixCellStatus Matrix Cell Status - Choices: `DISABLED`, `ENABLED`, `MONITOR` - Default value: `DISABLED` + * + * @return builder + * + */ + public Builder matrixCellStatus(String matrixCellStatus) { + return matrixCellStatus(Output.of(matrixCellStatus)); + } + + /** + * @param sgacls List of TrustSec Security Groups ACLs + * + * @return builder + * + */ + public Builder sgacls(@Nullable Output> sgacls) { + $.sgacls = sgacls; + return this; + } + + /** + * @param sgacls List of TrustSec Security Groups ACLs + * + * @return builder + * + */ + public Builder sgacls(List sgacls) { + return sgacls(Output.of(sgacls)); + } + + /** + * @param sgacls List of TrustSec Security Groups ACLs + * + * @return builder + * + */ + public Builder sgacls(String... sgacls) { + return sgacls(List.of(sgacls)); + } + + /** + * @param sourceSgtId Source Trustsec Security Group ID + * + * @return builder + * + */ + public Builder sourceSgtId(@Nullable Output sourceSgtId) { + $.sourceSgtId = sourceSgtId; + return this; + } + + /** + * @param sourceSgtId Source Trustsec Security Group ID + * + * @return builder + * + */ + public Builder sourceSgtId(String sourceSgtId) { + return sourceSgtId(Output.of(sourceSgtId)); + } + + public EgressMatrixCellState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetEgressMatrixCellArgs.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetEgressMatrixCellArgs.java new file mode 100644 index 0000000..75a8672 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetEgressMatrixCellArgs.java @@ -0,0 +1,85 @@ +// *** 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.trustsec.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetEgressMatrixCellArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetEgressMatrixCellArgs Empty = new GetEgressMatrixCellArgs(); + + /** + * The id of the object + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return The id of the object + * + */ + public Output id() { + return this.id; + } + + private GetEgressMatrixCellArgs() {} + + private GetEgressMatrixCellArgs(GetEgressMatrixCellArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetEgressMatrixCellArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetEgressMatrixCellArgs $; + + public Builder() { + $ = new GetEgressMatrixCellArgs(); + } + + public Builder(GetEgressMatrixCellArgs defaults) { + $ = new GetEgressMatrixCellArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + public GetEgressMatrixCellArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetEgressMatrixCellArgs", "id"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetEgressMatrixCellPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetEgressMatrixCellPlainArgs.java new file mode 100644 index 0000000..31e907f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetEgressMatrixCellPlainArgs.java @@ -0,0 +1,74 @@ +// *** 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.trustsec.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetEgressMatrixCellPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetEgressMatrixCellPlainArgs Empty = new GetEgressMatrixCellPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id", required=true) + private String id; + + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + + private GetEgressMatrixCellPlainArgs() {} + + private GetEgressMatrixCellPlainArgs(GetEgressMatrixCellPlainArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetEgressMatrixCellPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetEgressMatrixCellPlainArgs $; + + public Builder() { + $ = new GetEgressMatrixCellPlainArgs(); + } + + public Builder(GetEgressMatrixCellPlainArgs defaults) { + $ = new GetEgressMatrixCellPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + $.id = id; + return this; + } + + public GetEgressMatrixCellPlainArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetEgressMatrixCellPlainArgs", "id"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetIpToSgtMappingArgs.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetIpToSgtMappingArgs.java new file mode 100644 index 0000000..dc5502c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetIpToSgtMappingArgs.java @@ -0,0 +1,120 @@ +// *** 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.trustsec.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetIpToSgtMappingArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIpToSgtMappingArgs Empty = new GetIpToSgtMappingArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the IP to SGT mapping + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the IP to SGT mapping + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetIpToSgtMappingArgs() {} + + private GetIpToSgtMappingArgs(GetIpToSgtMappingArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIpToSgtMappingArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIpToSgtMappingArgs $; + + public Builder() { + $ = new GetIpToSgtMappingArgs(); + } + + public Builder(GetIpToSgtMappingArgs defaults) { + $ = new GetIpToSgtMappingArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the IP to SGT mapping + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the IP to SGT mapping + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetIpToSgtMappingArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetIpToSgtMappingGroupArgs.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetIpToSgtMappingGroupArgs.java new file mode 100644 index 0000000..04e2770 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetIpToSgtMappingGroupArgs.java @@ -0,0 +1,120 @@ +// *** 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.trustsec.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetIpToSgtMappingGroupArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIpToSgtMappingGroupArgs Empty = new GetIpToSgtMappingGroupArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the IP to SGT mapping Group + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the IP to SGT mapping Group + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetIpToSgtMappingGroupArgs() {} + + private GetIpToSgtMappingGroupArgs(GetIpToSgtMappingGroupArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIpToSgtMappingGroupArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIpToSgtMappingGroupArgs $; + + public Builder() { + $ = new GetIpToSgtMappingGroupArgs(); + } + + public Builder(GetIpToSgtMappingGroupArgs defaults) { + $ = new GetIpToSgtMappingGroupArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the IP to SGT mapping Group + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the IP to SGT mapping Group + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetIpToSgtMappingGroupArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetIpToSgtMappingGroupPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetIpToSgtMappingGroupPlainArgs.java new file mode 100644 index 0000000..1e9e567 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetIpToSgtMappingGroupPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.trustsec.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetIpToSgtMappingGroupPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIpToSgtMappingGroupPlainArgs Empty = new GetIpToSgtMappingGroupPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the IP to SGT mapping Group + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the IP to SGT mapping Group + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetIpToSgtMappingGroupPlainArgs() {} + + private GetIpToSgtMappingGroupPlainArgs(GetIpToSgtMappingGroupPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIpToSgtMappingGroupPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIpToSgtMappingGroupPlainArgs $; + + public Builder() { + $ = new GetIpToSgtMappingGroupPlainArgs(); + } + + public Builder(GetIpToSgtMappingGroupPlainArgs defaults) { + $ = new GetIpToSgtMappingGroupPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the IP to SGT mapping Group + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetIpToSgtMappingGroupPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetIpToSgtMappingPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetIpToSgtMappingPlainArgs.java new file mode 100644 index 0000000..28bdd36 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetIpToSgtMappingPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.trustsec.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetIpToSgtMappingPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIpToSgtMappingPlainArgs Empty = new GetIpToSgtMappingPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the IP to SGT mapping + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the IP to SGT mapping + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetIpToSgtMappingPlainArgs() {} + + private GetIpToSgtMappingPlainArgs(GetIpToSgtMappingPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIpToSgtMappingPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIpToSgtMappingPlainArgs $; + + public Builder() { + $ = new GetIpToSgtMappingPlainArgs(); + } + + public Builder(GetIpToSgtMappingPlainArgs defaults) { + $ = new GetIpToSgtMappingPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the IP to SGT mapping + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetIpToSgtMappingPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetSecurityGroupAclArgs.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetSecurityGroupAclArgs.java new file mode 100644 index 0000000..d459f83 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetSecurityGroupAclArgs.java @@ -0,0 +1,120 @@ +// *** 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.trustsec.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSecurityGroupAclArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSecurityGroupAclArgs Empty = new GetSecurityGroupAclArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the security group ACL + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the security group ACL + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetSecurityGroupAclArgs() {} + + private GetSecurityGroupAclArgs(GetSecurityGroupAclArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSecurityGroupAclArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSecurityGroupAclArgs $; + + public Builder() { + $ = new GetSecurityGroupAclArgs(); + } + + public Builder(GetSecurityGroupAclArgs defaults) { + $ = new GetSecurityGroupAclArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the security group ACL + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the security group ACL + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetSecurityGroupAclArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetSecurityGroupAclPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetSecurityGroupAclPlainArgs.java new file mode 100644 index 0000000..cd528c7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetSecurityGroupAclPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.trustsec.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSecurityGroupAclPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSecurityGroupAclPlainArgs Empty = new GetSecurityGroupAclPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the security group ACL + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the security group ACL + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetSecurityGroupAclPlainArgs() {} + + private GetSecurityGroupAclPlainArgs(GetSecurityGroupAclPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSecurityGroupAclPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSecurityGroupAclPlainArgs $; + + public Builder() { + $ = new GetSecurityGroupAclPlainArgs(); + } + + public Builder(GetSecurityGroupAclPlainArgs defaults) { + $ = new GetSecurityGroupAclPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the security group ACL + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetSecurityGroupAclPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetSecurityGroupArgs.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetSecurityGroupArgs.java new file mode 100644 index 0000000..75725a6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetSecurityGroupArgs.java @@ -0,0 +1,120 @@ +// *** 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.trustsec.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSecurityGroupArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSecurityGroupArgs Empty = new GetSecurityGroupArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the object + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the security group + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the security group + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetSecurityGroupArgs() {} + + private GetSecurityGroupArgs(GetSecurityGroupArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSecurityGroupArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSecurityGroupArgs $; + + public Builder() { + $ = new GetSecurityGroupArgs(); + } + + public Builder(GetSecurityGroupArgs defaults) { + $ = new GetSecurityGroupArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the security group + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the security group + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetSecurityGroupArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetSecurityGroupPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetSecurityGroupPlainArgs.java new file mode 100644 index 0000000..029ad56 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/GetSecurityGroupPlainArgs.java @@ -0,0 +1,99 @@ +// *** 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.trustsec.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSecurityGroupPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSecurityGroupPlainArgs Empty = new GetSecurityGroupPlainArgs(); + + /** + * The id of the object + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the object + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the security group + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the security group + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetSecurityGroupPlainArgs() {} + + private GetSecurityGroupPlainArgs(GetSecurityGroupPlainArgs $) { + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSecurityGroupPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSecurityGroupPlainArgs $; + + public Builder() { + $ = new GetSecurityGroupPlainArgs(); + } + + public Builder(GetSecurityGroupPlainArgs defaults) { + $ = new GetSecurityGroupPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the object + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the security group + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetSecurityGroupPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/IpToSgtMappingGroupState.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/IpToSgtMappingGroupState.java new file mode 100644 index 0000000..db82d70 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/IpToSgtMappingGroupState.java @@ -0,0 +1,231 @@ +// *** 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.trustsec.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IpToSgtMappingGroupState extends com.pulumi.resources.ResourceArgs { + + public static final IpToSgtMappingGroupState Empty = new IpToSgtMappingGroupState(); + + /** + * Mandatory unless `deploy_type` is `ALL` + * + */ + @Import(name="deployTo") + private @Nullable Output deployTo; + + /** + * @return Mandatory unless `deploy_type` is `ALL` + * + */ + public Optional> deployTo() { + return Optional.ofNullable(this.deployTo); + } + + /** + * Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + */ + @Import(name="deployType") + private @Nullable Output deployType; + + /** + * @return Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + */ + public Optional> deployType() { + return Optional.ofNullable(this.deployType); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the IP to SGT mapping Group + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the IP to SGT mapping Group + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Trustsec Security Group ID + * + */ + @Import(name="sgt") + private @Nullable Output sgt; + + /** + * @return Trustsec Security Group ID + * + */ + public Optional> sgt() { + return Optional.ofNullable(this.sgt); + } + + private IpToSgtMappingGroupState() {} + + private IpToSgtMappingGroupState(IpToSgtMappingGroupState $) { + this.deployTo = $.deployTo; + this.deployType = $.deployType; + this.description = $.description; + this.name = $.name; + this.sgt = $.sgt; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IpToSgtMappingGroupState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IpToSgtMappingGroupState $; + + public Builder() { + $ = new IpToSgtMappingGroupState(); + } + + public Builder(IpToSgtMappingGroupState defaults) { + $ = new IpToSgtMappingGroupState(Objects.requireNonNull(defaults)); + } + + /** + * @param deployTo Mandatory unless `deploy_type` is `ALL` + * + * @return builder + * + */ + public Builder deployTo(@Nullable Output deployTo) { + $.deployTo = deployTo; + return this; + } + + /** + * @param deployTo Mandatory unless `deploy_type` is `ALL` + * + * @return builder + * + */ + public Builder deployTo(String deployTo) { + return deployTo(Output.of(deployTo)); + } + + /** + * @param deployType Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + * @return builder + * + */ + public Builder deployType(@Nullable Output deployType) { + $.deployType = deployType; + return this; + } + + /** + * @param deployType Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + * @return builder + * + */ + public Builder deployType(String deployType) { + return deployType(Output.of(deployType)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the IP to SGT mapping Group + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the IP to SGT mapping Group + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param sgt Trustsec Security Group ID + * + * @return builder + * + */ + public Builder sgt(@Nullable Output sgt) { + $.sgt = sgt; + return this; + } + + /** + * @param sgt Trustsec Security Group ID + * + * @return builder + * + */ + public Builder sgt(String sgt) { + return sgt(Output.of(sgt)); + } + + public IpToSgtMappingGroupState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/IpToSgtMappingState.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/IpToSgtMappingState.java new file mode 100644 index 0000000..b0faa40 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/IpToSgtMappingState.java @@ -0,0 +1,342 @@ +// *** 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.trustsec.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IpToSgtMappingState extends com.pulumi.resources.ResourceArgs { + + public static final IpToSgtMappingState Empty = new IpToSgtMappingState(); + + /** + * Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL` + * + */ + @Import(name="deployTo") + private @Nullable Output deployTo; + + /** + * @return Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL` + * + */ + public Optional> deployTo() { + return Optional.ofNullable(this.deployTo); + } + + /** + * Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + */ + @Import(name="deployType") + private @Nullable Output deployType; + + /** + * @return Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + */ + public Optional> deployType() { + return Optional.ofNullable(this.deployType); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Mandatory if `host_name` is empty + * + */ + @Import(name="hostIp") + private @Nullable Output hostIp; + + /** + * @return Mandatory if `host_name` is empty + * + */ + public Optional> hostIp() { + return Optional.ofNullable(this.hostIp); + } + + /** + * Mandatory if `host_ip` is empty + * + */ + @Import(name="hostName") + private @Nullable Output hostName; + + /** + * @return Mandatory if `host_ip` is empty + * + */ + public Optional> hostName() { + return Optional.ofNullable(this.hostName); + } + + /** + * IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set + * + */ + @Import(name="mappingGroup") + private @Nullable Output mappingGroup; + + /** + * @return IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set + * + */ + public Optional> mappingGroup() { + return Optional.ofNullable(this.mappingGroup); + } + + /** + * The name of the IP to SGT mapping + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the IP to SGT mapping + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Trustsec Security Group ID. Mandatory unless `mapping_group` is set + * + */ + @Import(name="sgt") + private @Nullable Output sgt; + + /** + * @return Trustsec Security Group ID. Mandatory unless `mapping_group` is set + * + */ + public Optional> sgt() { + return Optional.ofNullable(this.sgt); + } + + private IpToSgtMappingState() {} + + private IpToSgtMappingState(IpToSgtMappingState $) { + this.deployTo = $.deployTo; + this.deployType = $.deployType; + this.description = $.description; + this.hostIp = $.hostIp; + this.hostName = $.hostName; + this.mappingGroup = $.mappingGroup; + this.name = $.name; + this.sgt = $.sgt; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IpToSgtMappingState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IpToSgtMappingState $; + + public Builder() { + $ = new IpToSgtMappingState(); + } + + public Builder(IpToSgtMappingState defaults) { + $ = new IpToSgtMappingState(Objects.requireNonNull(defaults)); + } + + /** + * @param deployTo Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL` + * + * @return builder + * + */ + public Builder deployTo(@Nullable Output deployTo) { + $.deployTo = deployTo; + return this; + } + + /** + * @param deployTo Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL` + * + * @return builder + * + */ + public Builder deployTo(String deployTo) { + return deployTo(Output.of(deployTo)); + } + + /** + * @param deployType Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + * @return builder + * + */ + public Builder deployType(@Nullable Output deployType) { + $.deployType = deployType; + return this; + } + + /** + * @param deployType Deploy Type - Choices: `ALL`, `ND`, `NDG` + * + * @return builder + * + */ + public Builder deployType(String deployType) { + return deployType(Output.of(deployType)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param hostIp Mandatory if `host_name` is empty + * + * @return builder + * + */ + public Builder hostIp(@Nullable Output hostIp) { + $.hostIp = hostIp; + return this; + } + + /** + * @param hostIp Mandatory if `host_name` is empty + * + * @return builder + * + */ + public Builder hostIp(String hostIp) { + return hostIp(Output.of(hostIp)); + } + + /** + * @param hostName Mandatory if `host_ip` is empty + * + * @return builder + * + */ + public Builder hostName(@Nullable Output hostName) { + $.hostName = hostName; + return this; + } + + /** + * @param hostName Mandatory if `host_ip` is empty + * + * @return builder + * + */ + public Builder hostName(String hostName) { + return hostName(Output.of(hostName)); + } + + /** + * @param mappingGroup IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set + * + * @return builder + * + */ + public Builder mappingGroup(@Nullable Output mappingGroup) { + $.mappingGroup = mappingGroup; + return this; + } + + /** + * @param mappingGroup IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set + * + * @return builder + * + */ + public Builder mappingGroup(String mappingGroup) { + return mappingGroup(Output.of(mappingGroup)); + } + + /** + * @param name The name of the IP to SGT mapping + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the IP to SGT mapping + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param sgt Trustsec Security Group ID. Mandatory unless `mapping_group` is set + * + * @return builder + * + */ + public Builder sgt(@Nullable Output sgt) { + $.sgt = sgt; + return this; + } + + /** + * @param sgt Trustsec Security Group ID. Mandatory unless `mapping_group` is set + * + * @return builder + * + */ + public Builder sgt(String sgt) { + return sgt(Output.of(sgt)); + } + + public IpToSgtMappingState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/SecurityGroupAclState.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/SecurityGroupAclState.java new file mode 100644 index 0000000..f8288d8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/SecurityGroupAclState.java @@ -0,0 +1,232 @@ +// *** 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.trustsec.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SecurityGroupAclState extends com.pulumi.resources.ResourceArgs { + + public static final SecurityGroupAclState Empty = new SecurityGroupAclState(); + + /** + * Content of ACL + * + */ + @Import(name="aclContent") + private @Nullable Output aclContent; + + /** + * @return Content of ACL + * + */ + public Optional> aclContent() { + return Optional.ofNullable(this.aclContent); + } + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * IP Version - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IP_AGNOSTIC` + * + */ + @Import(name="ipVersion") + private @Nullable Output ipVersion; + + /** + * @return IP Version - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IP_AGNOSTIC` + * + */ + public Optional> ipVersion() { + return Optional.ofNullable(this.ipVersion); + } + + /** + * The name of the security group ACL + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the security group ACL + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Read-only - Default value: `false` + * + */ + @Import(name="readOnly") + private @Nullable Output readOnly; + + /** + * @return Read-only - Default value: `false` + * + */ + public Optional> readOnly() { + return Optional.ofNullable(this.readOnly); + } + + private SecurityGroupAclState() {} + + private SecurityGroupAclState(SecurityGroupAclState $) { + this.aclContent = $.aclContent; + this.description = $.description; + this.ipVersion = $.ipVersion; + this.name = $.name; + this.readOnly = $.readOnly; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SecurityGroupAclState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SecurityGroupAclState $; + + public Builder() { + $ = new SecurityGroupAclState(); + } + + public Builder(SecurityGroupAclState defaults) { + $ = new SecurityGroupAclState(Objects.requireNonNull(defaults)); + } + + /** + * @param aclContent Content of ACL + * + * @return builder + * + */ + public Builder aclContent(@Nullable Output aclContent) { + $.aclContent = aclContent; + return this; + } + + /** + * @param aclContent Content of ACL + * + * @return builder + * + */ + public Builder aclContent(String aclContent) { + return aclContent(Output.of(aclContent)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param ipVersion IP Version - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IP_AGNOSTIC` + * + * @return builder + * + */ + public Builder ipVersion(@Nullable Output ipVersion) { + $.ipVersion = ipVersion; + return this; + } + + /** + * @param ipVersion IP Version - Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` - Default value: `IP_AGNOSTIC` + * + * @return builder + * + */ + public Builder ipVersion(String ipVersion) { + return ipVersion(Output.of(ipVersion)); + } + + /** + * @param name The name of the security group ACL + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the security group ACL + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param readOnly Read-only - Default value: `false` + * + * @return builder + * + */ + public Builder readOnly(@Nullable Output readOnly) { + $.readOnly = readOnly; + return this; + } + + /** + * @param readOnly Read-only - Default value: `false` + * + * @return builder + * + */ + public Builder readOnly(Boolean readOnly) { + return readOnly(Output.of(readOnly)); + } + + public SecurityGroupAclState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/SecurityGroupState.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/SecurityGroupState.java new file mode 100644 index 0000000..91fe50c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/inputs/SecurityGroupState.java @@ -0,0 +1,233 @@ +// *** 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.trustsec.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SecurityGroupState extends com.pulumi.resources.ResourceArgs { + + public static final SecurityGroupState Empty = new SecurityGroupState(); + + /** + * Description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Read-only - Default value: `false` + * + */ + @Import(name="isReadOnly") + private @Nullable Output isReadOnly; + + /** + * @return Read-only - Default value: `false` + * + */ + public Optional> isReadOnly() { + return Optional.ofNullable(this.isReadOnly); + } + + /** + * The name of the security group + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the security group + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Propagate to APIC (ACI) + * + */ + @Import(name="propogateToApic") + private @Nullable Output propogateToApic; + + /** + * @return Propagate to APIC (ACI) + * + */ + public Optional> propogateToApic() { + return Optional.ofNullable(this.propogateToApic); + } + + /** + * `-1` to auto-generate - Range: `-1`-`65519` + * + */ + @Import(name="value") + private @Nullable Output value; + + /** + * @return `-1` to auto-generate - Range: `-1`-`65519` + * + */ + public Optional> value() { + return Optional.ofNullable(this.value); + } + + private SecurityGroupState() {} + + private SecurityGroupState(SecurityGroupState $) { + this.description = $.description; + this.isReadOnly = $.isReadOnly; + this.name = $.name; + this.propogateToApic = $.propogateToApic; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SecurityGroupState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SecurityGroupState $; + + public Builder() { + $ = new SecurityGroupState(); + } + + public Builder(SecurityGroupState defaults) { + $ = new SecurityGroupState(Objects.requireNonNull(defaults)); + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param isReadOnly Read-only - Default value: `false` + * + * @return builder + * + */ + public Builder isReadOnly(@Nullable Output isReadOnly) { + $.isReadOnly = isReadOnly; + return this; + } + + /** + * @param isReadOnly Read-only - Default value: `false` + * + * @return builder + * + */ + public Builder isReadOnly(Boolean isReadOnly) { + return isReadOnly(Output.of(isReadOnly)); + } + + /** + * @param name The name of the security group + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the security group + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param propogateToApic Propagate to APIC (ACI) + * + * @return builder + * + */ + public Builder propogateToApic(@Nullable Output propogateToApic) { + $.propogateToApic = propogateToApic; + return this; + } + + /** + * @param propogateToApic Propagate to APIC (ACI) + * + * @return builder + * + */ + public Builder propogateToApic(Boolean propogateToApic) { + return propogateToApic(Output.of(propogateToApic)); + } + + /** + * @param value `-1` to auto-generate - Range: `-1`-`65519` + * + * @return builder + * + */ + public Builder value(@Nullable Output value) { + $.value = value; + return this; + } + + /** + * @param value `-1` to auto-generate - Range: `-1`-`65519` + * + * @return builder + * + */ + public Builder value(Integer value) { + return value(Output.of(value)); + } + + public SecurityGroupState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/outputs/GetEgressMatrixCellResult.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/outputs/GetEgressMatrixCellResult.java new file mode 100644 index 0000000..9322678 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/outputs/GetEgressMatrixCellResult.java @@ -0,0 +1,200 @@ +// *** 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.trustsec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetEgressMatrixCellResult { + /** + * @return Can be used only if sgacls not specified. + * + */ + private String defaultRule; + /** + * @return Description + * + */ + private String description; + /** + * @return Destination Trustsec Security Group ID + * + */ + private String destinationSgtId; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Matrix Cell Status + * + */ + private String matrixCellStatus; + /** + * @return List of TrustSec Security Groups ACLs + * + */ + private List sgacls; + /** + * @return Source Trustsec Security Group ID + * + */ + private String sourceSgtId; + + private GetEgressMatrixCellResult() {} + /** + * @return Can be used only if sgacls not specified. + * + */ + public String defaultRule() { + return this.defaultRule; + } + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return Destination Trustsec Security Group ID + * + */ + public String destinationSgtId() { + return this.destinationSgtId; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Matrix Cell Status + * + */ + public String matrixCellStatus() { + return this.matrixCellStatus; + } + /** + * @return List of TrustSec Security Groups ACLs + * + */ + public List sgacls() { + return this.sgacls; + } + /** + * @return Source Trustsec Security Group ID + * + */ + public String sourceSgtId() { + return this.sourceSgtId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetEgressMatrixCellResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String defaultRule; + private String description; + private String destinationSgtId; + private String id; + private String matrixCellStatus; + private List sgacls; + private String sourceSgtId; + public Builder() {} + public Builder(GetEgressMatrixCellResult defaults) { + Objects.requireNonNull(defaults); + this.defaultRule = defaults.defaultRule; + this.description = defaults.description; + this.destinationSgtId = defaults.destinationSgtId; + this.id = defaults.id; + this.matrixCellStatus = defaults.matrixCellStatus; + this.sgacls = defaults.sgacls; + this.sourceSgtId = defaults.sourceSgtId; + } + + @CustomType.Setter + public Builder defaultRule(String defaultRule) { + if (defaultRule == null) { + throw new MissingRequiredPropertyException("GetEgressMatrixCellResult", "defaultRule"); + } + this.defaultRule = defaultRule; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetEgressMatrixCellResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder destinationSgtId(String destinationSgtId) { + if (destinationSgtId == null) { + throw new MissingRequiredPropertyException("GetEgressMatrixCellResult", "destinationSgtId"); + } + this.destinationSgtId = destinationSgtId; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetEgressMatrixCellResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder matrixCellStatus(String matrixCellStatus) { + if (matrixCellStatus == null) { + throw new MissingRequiredPropertyException("GetEgressMatrixCellResult", "matrixCellStatus"); + } + this.matrixCellStatus = matrixCellStatus; + return this; + } + @CustomType.Setter + public Builder sgacls(List sgacls) { + if (sgacls == null) { + throw new MissingRequiredPropertyException("GetEgressMatrixCellResult", "sgacls"); + } + this.sgacls = sgacls; + return this; + } + public Builder sgacls(String... sgacls) { + return sgacls(List.of(sgacls)); + } + @CustomType.Setter + public Builder sourceSgtId(String sourceSgtId) { + if (sourceSgtId == null) { + throw new MissingRequiredPropertyException("GetEgressMatrixCellResult", "sourceSgtId"); + } + this.sourceSgtId = sourceSgtId; + return this; + } + public GetEgressMatrixCellResult build() { + final var _resultValue = new GetEgressMatrixCellResult(); + _resultValue.defaultRule = defaultRule; + _resultValue.description = description; + _resultValue.destinationSgtId = destinationSgtId; + _resultValue.id = id; + _resultValue.matrixCellStatus = matrixCellStatus; + _resultValue.sgacls = sgacls; + _resultValue.sourceSgtId = sourceSgtId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/outputs/GetIpToSgtMappingGroupResult.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/outputs/GetIpToSgtMappingGroupResult.java new file mode 100644 index 0000000..e7e8af4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/outputs/GetIpToSgtMappingGroupResult.java @@ -0,0 +1,173 @@ +// *** 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.trustsec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetIpToSgtMappingGroupResult { + /** + * @return Mandatory unless `deploy_type` is `ALL` + * + */ + private String deployTo; + /** + * @return Deploy Type + * + */ + private String deployType; + /** + * @return Description + * + */ + private String description; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return The name of the IP to SGT mapping Group + * + */ + private String name; + /** + * @return Trustsec Security Group ID + * + */ + private String sgt; + + private GetIpToSgtMappingGroupResult() {} + /** + * @return Mandatory unless `deploy_type` is `ALL` + * + */ + public String deployTo() { + return this.deployTo; + } + /** + * @return Deploy Type + * + */ + public String deployType() { + return this.deployType; + } + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return The name of the IP to SGT mapping Group + * + */ + public String name() { + return this.name; + } + /** + * @return Trustsec Security Group ID + * + */ + public String sgt() { + return this.sgt; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetIpToSgtMappingGroupResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String deployTo; + private String deployType; + private String description; + private String id; + private String name; + private String sgt; + public Builder() {} + public Builder(GetIpToSgtMappingGroupResult defaults) { + Objects.requireNonNull(defaults); + this.deployTo = defaults.deployTo; + this.deployType = defaults.deployType; + this.description = defaults.description; + this.id = defaults.id; + this.name = defaults.name; + this.sgt = defaults.sgt; + } + + @CustomType.Setter + public Builder deployTo(String deployTo) { + if (deployTo == null) { + throw new MissingRequiredPropertyException("GetIpToSgtMappingGroupResult", "deployTo"); + } + this.deployTo = deployTo; + return this; + } + @CustomType.Setter + public Builder deployType(String deployType) { + if (deployType == null) { + throw new MissingRequiredPropertyException("GetIpToSgtMappingGroupResult", "deployType"); + } + this.deployType = deployType; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetIpToSgtMappingGroupResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetIpToSgtMappingGroupResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetIpToSgtMappingGroupResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder sgt(String sgt) { + if (sgt == null) { + throw new MissingRequiredPropertyException("GetIpToSgtMappingGroupResult", "sgt"); + } + this.sgt = sgt; + return this; + } + public GetIpToSgtMappingGroupResult build() { + final var _resultValue = new GetIpToSgtMappingGroupResult(); + _resultValue.deployTo = deployTo; + _resultValue.deployType = deployType; + _resultValue.description = description; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.sgt = sgt; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/outputs/GetIpToSgtMappingResult.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/outputs/GetIpToSgtMappingResult.java new file mode 100644 index 0000000..d73fc89 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/outputs/GetIpToSgtMappingResult.java @@ -0,0 +1,242 @@ +// *** 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.trustsec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetIpToSgtMappingResult { + /** + * @return Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL` + * + */ + private String deployTo; + /** + * @return Deploy Type + * + */ + private String deployType; + /** + * @return Description + * + */ + private String description; + /** + * @return Mandatory if `host_name` is empty + * + */ + private String hostIp; + /** + * @return Mandatory if `host_ip` is empty + * + */ + private String hostName; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set + * + */ + private String mappingGroup; + /** + * @return The name of the IP to SGT mapping + * + */ + private String name; + /** + * @return Trustsec Security Group ID. Mandatory unless `mapping_group` is set + * + */ + private String sgt; + + private GetIpToSgtMappingResult() {} + /** + * @return Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL` + * + */ + public String deployTo() { + return this.deployTo; + } + /** + * @return Deploy Type + * + */ + public String deployType() { + return this.deployType; + } + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return Mandatory if `host_name` is empty + * + */ + public String hostIp() { + return this.hostIp; + } + /** + * @return Mandatory if `host_ip` is empty + * + */ + public String hostName() { + return this.hostName; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set + * + */ + public String mappingGroup() { + return this.mappingGroup; + } + /** + * @return The name of the IP to SGT mapping + * + */ + public String name() { + return this.name; + } + /** + * @return Trustsec Security Group ID. Mandatory unless `mapping_group` is set + * + */ + public String sgt() { + return this.sgt; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetIpToSgtMappingResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String deployTo; + private String deployType; + private String description; + private String hostIp; + private String hostName; + private String id; + private String mappingGroup; + private String name; + private String sgt; + public Builder() {} + public Builder(GetIpToSgtMappingResult defaults) { + Objects.requireNonNull(defaults); + this.deployTo = defaults.deployTo; + this.deployType = defaults.deployType; + this.description = defaults.description; + this.hostIp = defaults.hostIp; + this.hostName = defaults.hostName; + this.id = defaults.id; + this.mappingGroup = defaults.mappingGroup; + this.name = defaults.name; + this.sgt = defaults.sgt; + } + + @CustomType.Setter + public Builder deployTo(String deployTo) { + if (deployTo == null) { + throw new MissingRequiredPropertyException("GetIpToSgtMappingResult", "deployTo"); + } + this.deployTo = deployTo; + return this; + } + @CustomType.Setter + public Builder deployType(String deployType) { + if (deployType == null) { + throw new MissingRequiredPropertyException("GetIpToSgtMappingResult", "deployType"); + } + this.deployType = deployType; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetIpToSgtMappingResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder hostIp(String hostIp) { + if (hostIp == null) { + throw new MissingRequiredPropertyException("GetIpToSgtMappingResult", "hostIp"); + } + this.hostIp = hostIp; + return this; + } + @CustomType.Setter + public Builder hostName(String hostName) { + if (hostName == null) { + throw new MissingRequiredPropertyException("GetIpToSgtMappingResult", "hostName"); + } + this.hostName = hostName; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetIpToSgtMappingResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder mappingGroup(String mappingGroup) { + if (mappingGroup == null) { + throw new MissingRequiredPropertyException("GetIpToSgtMappingResult", "mappingGroup"); + } + this.mappingGroup = mappingGroup; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetIpToSgtMappingResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder sgt(String sgt) { + if (sgt == null) { + throw new MissingRequiredPropertyException("GetIpToSgtMappingResult", "sgt"); + } + this.sgt = sgt; + return this; + } + public GetIpToSgtMappingResult build() { + final var _resultValue = new GetIpToSgtMappingResult(); + _resultValue.deployTo = deployTo; + _resultValue.deployType = deployType; + _resultValue.description = description; + _resultValue.hostIp = hostIp; + _resultValue.hostName = hostName; + _resultValue.id = id; + _resultValue.mappingGroup = mappingGroup; + _resultValue.name = name; + _resultValue.sgt = sgt; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/outputs/GetSecurityGroupAclResult.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/outputs/GetSecurityGroupAclResult.java new file mode 100644 index 0000000..3e16b7c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/outputs/GetSecurityGroupAclResult.java @@ -0,0 +1,174 @@ +// *** 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.trustsec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSecurityGroupAclResult { + /** + * @return Content of ACL + * + */ + private String aclContent; + /** + * @return Description + * + */ + private String description; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return IP Version + * + */ + private String ipVersion; + /** + * @return The name of the security group ACL + * + */ + private String name; + /** + * @return Read-only + * + */ + private Boolean readOnly; + + private GetSecurityGroupAclResult() {} + /** + * @return Content of ACL + * + */ + public String aclContent() { + return this.aclContent; + } + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return IP Version + * + */ + public String ipVersion() { + return this.ipVersion; + } + /** + * @return The name of the security group ACL + * + */ + public String name() { + return this.name; + } + /** + * @return Read-only + * + */ + public Boolean readOnly() { + return this.readOnly; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSecurityGroupAclResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String aclContent; + private String description; + private String id; + private String ipVersion; + private String name; + private Boolean readOnly; + public Builder() {} + public Builder(GetSecurityGroupAclResult defaults) { + Objects.requireNonNull(defaults); + this.aclContent = defaults.aclContent; + this.description = defaults.description; + this.id = defaults.id; + this.ipVersion = defaults.ipVersion; + this.name = defaults.name; + this.readOnly = defaults.readOnly; + } + + @CustomType.Setter + public Builder aclContent(String aclContent) { + if (aclContent == null) { + throw new MissingRequiredPropertyException("GetSecurityGroupAclResult", "aclContent"); + } + this.aclContent = aclContent; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetSecurityGroupAclResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetSecurityGroupAclResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder ipVersion(String ipVersion) { + if (ipVersion == null) { + throw new MissingRequiredPropertyException("GetSecurityGroupAclResult", "ipVersion"); + } + this.ipVersion = ipVersion; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetSecurityGroupAclResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder readOnly(Boolean readOnly) { + if (readOnly == null) { + throw new MissingRequiredPropertyException("GetSecurityGroupAclResult", "readOnly"); + } + this.readOnly = readOnly; + return this; + } + public GetSecurityGroupAclResult build() { + final var _resultValue = new GetSecurityGroupAclResult(); + _resultValue.aclContent = aclContent; + _resultValue.description = description; + _resultValue.id = id; + _resultValue.ipVersion = ipVersion; + _resultValue.name = name; + _resultValue.readOnly = readOnly; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ise/trustsec/outputs/GetSecurityGroupResult.java b/sdk/java/src/main/java/com/pulumi/ise/trustsec/outputs/GetSecurityGroupResult.java new file mode 100644 index 0000000..b86d121 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ise/trustsec/outputs/GetSecurityGroupResult.java @@ -0,0 +1,175 @@ +// *** 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.trustsec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSecurityGroupResult { + /** + * @return Description + * + */ + private String description; + /** + * @return The id of the object + * + */ + private String id; + /** + * @return Read-only + * + */ + private Boolean isReadOnly; + /** + * @return The name of the security group + * + */ + private String name; + /** + * @return Propagate to APIC (ACI) + * + */ + private Boolean propogateToApic; + /** + * @return `-1` to auto-generate + * + */ + private Integer value; + + private GetSecurityGroupResult() {} + /** + * @return Description + * + */ + public String description() { + return this.description; + } + /** + * @return The id of the object + * + */ + public String id() { + return this.id; + } + /** + * @return Read-only + * + */ + public Boolean isReadOnly() { + return this.isReadOnly; + } + /** + * @return The name of the security group + * + */ + public String name() { + return this.name; + } + /** + * @return Propagate to APIC (ACI) + * + */ + public Boolean propogateToApic() { + return this.propogateToApic; + } + /** + * @return `-1` to auto-generate + * + */ + public Integer value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSecurityGroupResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private String id; + private Boolean isReadOnly; + private String name; + private Boolean propogateToApic; + private Integer value; + public Builder() {} + public Builder(GetSecurityGroupResult defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.id = defaults.id; + this.isReadOnly = defaults.isReadOnly; + this.name = defaults.name; + this.propogateToApic = defaults.propogateToApic; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetSecurityGroupResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetSecurityGroupResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isReadOnly(Boolean isReadOnly) { + if (isReadOnly == null) { + throw new MissingRequiredPropertyException("GetSecurityGroupResult", "isReadOnly"); + } + this.isReadOnly = isReadOnly; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetSecurityGroupResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder propogateToApic(Boolean propogateToApic) { + if (propogateToApic == null) { + throw new MissingRequiredPropertyException("GetSecurityGroupResult", "propogateToApic"); + } + this.propogateToApic = propogateToApic; + return this; + } + @CustomType.Setter + public Builder value(Integer value) { + if (value == null) { + throw new MissingRequiredPropertyException("GetSecurityGroupResult", "value"); + } + this.value = value; + return this; + } + public GetSecurityGroupResult build() { + final var _resultValue = new GetSecurityGroupResult(); + _resultValue.description = description; + _resultValue.id = id; + _resultValue.isReadOnly = isReadOnly; + _resultValue.name = name; + _resultValue.propogateToApic = propogateToApic; + _resultValue.value = value; + return _resultValue; + } + } +}