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

com.pulumi.scm.AppOverrideRule Maven / Gradle / Ivy

There is a newer version: 0.2.0-alpha.1732774506
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.scm;

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.scm.AppOverrideRuleArgs;
import com.pulumi.scm.Utilities;
import com.pulumi.scm.inputs.AppOverrideRuleState;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * Retrieves a config item.
 * 
 * ## Example Usage
 * 
 * <!--Start PulumiCodeChooser -->
 * 
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.scm.AppOverrideRule;
 * 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 AppOverrideRule("example");
 * 
 *     }
 * }
 * }
 * 
* <!--End PulumiCodeChooser --> * */ @ResourceType(type="scm:index/appOverrideRule:AppOverrideRule") public class AppOverrideRule extends com.pulumi.resources.CustomResource { /** * The Application param. * */ @Export(name="application", refs={String.class}, tree="[0]") private Output application; /** * @return The Application param. * */ public Output application() { return this.application; } /** * The Description param. String length must not exceed 1024 characters. * */ @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** * @return The Description param. String length must not exceed 1024 characters. * */ public Output> description() { return Codegen.optional(this.description); } /** * The Destinations param. * */ @Export(name="destinations", refs={List.class,String.class}, tree="[0,1]") private Output> destinations; /** * @return The Destinations param. * */ public Output> destinations() { return this.destinations; } /** * The Device param. * */ @Export(name="device", refs={String.class}, tree="[0]") private Output device; /** * @return The Device param. * */ public Output> device() { return Codegen.optional(this.device); } /** * The Disabled param. Default: `false`. * */ @Export(name="disabled", refs={Boolean.class}, tree="[0]") private Output disabled; /** * @return The Disabled param. Default: `false`. * */ public Output disabled() { return this.disabled; } /** * The Folder param. * */ @Export(name="folder", refs={String.class}, tree="[0]") private Output folder; /** * @return The Folder param. * */ public Output> folder() { return Codegen.optional(this.folder); } /** * The Froms param. * */ @Export(name="froms", refs={List.class,String.class}, tree="[0,1]") private Output> froms; /** * @return The Froms param. * */ public Output> froms() { return this.froms; } /** * The GroupTag param. * */ @Export(name="groupTag", refs={String.class}, tree="[0]") private Output groupTag; /** * @return The GroupTag param. * */ public Output> groupTag() { return Codegen.optional(this.groupTag); } /** * The Name param. String length must not exceed 63 characters. String validation regex: `^[a-zA-Z0-9._-]+$`. * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** * @return The Name param. String length must not exceed 63 characters. String validation regex: `^[a-zA-Z0-9._-]+$`. * */ public Output name() { return this.name; } /** * The NegateDestination param. Default: `false`. * */ @Export(name="negateDestination", refs={Boolean.class}, tree="[0]") private Output negateDestination; /** * @return The NegateDestination param. Default: `false`. * */ public Output negateDestination() { return this.negateDestination; } /** * The NegateSource param. Default: `false`. * */ @Export(name="negateSource", refs={Boolean.class}, tree="[0]") private Output negateSource; /** * @return The NegateSource param. Default: `false`. * */ public Output negateSource() { return this.negateSource; } /** * The Port param. Value must be between 0 and 65535. * */ @Export(name="port", refs={Integer.class}, tree="[0]") private Output port; /** * @return The Port param. Value must be between 0 and 65535. * */ public Output port() { return this.port; } /** * The Position param. String must be one of these: `"pre"`, `"post"`. Default: `"pre"`. * */ @Export(name="position", refs={String.class}, tree="[0]") private Output position; /** * @return The Position param. String must be one of these: `"pre"`, `"post"`. Default: `"pre"`. * */ public Output position() { return this.position; } /** * The Protocol param. String must be one of these: `"tcp"`, `"udp"`. * */ @Export(name="protocol", refs={String.class}, tree="[0]") private Output protocol; /** * @return The Protocol param. String must be one of these: `"tcp"`, `"udp"`. * */ public Output protocol() { return this.protocol; } /** * The Snippet param. * */ @Export(name="snippet", refs={String.class}, tree="[0]") private Output snippet; /** * @return The Snippet param. * */ public Output> snippet() { return Codegen.optional(this.snippet); } /** * The Sources param. * */ @Export(name="sources", refs={List.class,String.class}, tree="[0,1]") private Output> sources; /** * @return The Sources param. * */ public Output> sources() { return this.sources; } /** * The Tags param. * */ @Export(name="tags", refs={List.class,String.class}, tree="[0,1]") private Output> tags; /** * @return The Tags param. * */ public Output>> tags() { return Codegen.optional(this.tags); } @Export(name="tfid", refs={String.class}, tree="[0]") private Output tfid; public Output tfid() { return this.tfid; } /** * The Tos param. * */ @Export(name="tos", refs={List.class,String.class}, tree="[0,1]") private Output> tos; /** * @return The Tos param. * */ public Output> tos() { return this.tos; } /** * * @param name The _unique_ name of the resulting resource. */ public AppOverrideRule(String name) { this(name, AppOverrideRuleArgs.Empty); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ public AppOverrideRule(String name, AppOverrideRuleArgs 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 AppOverrideRule(String name, AppOverrideRuleArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("scm:index/appOverrideRule:AppOverrideRule", name, args == null ? AppOverrideRuleArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); } private AppOverrideRule(String name, Output id, @Nullable AppOverrideRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("scm:index/appOverrideRule:AppOverrideRule", 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 AppOverrideRule get(String name, Output id, @Nullable AppOverrideRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new AppOverrideRule(name, id, state, options); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy