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

com.pulumi.scm.IpsecCryptoProfile 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.IpsecCryptoProfileArgs;
import com.pulumi.scm.Utilities;
import com.pulumi.scm.inputs.IpsecCryptoProfileState;
import com.pulumi.scm.outputs.IpsecCryptoProfileAh;
import com.pulumi.scm.outputs.IpsecCryptoProfileEsp;
import com.pulumi.scm.outputs.IpsecCryptoProfileLifesize;
import com.pulumi.scm.outputs.IpsecCryptoProfileLifetime;
import java.lang.String;
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.IpsecCryptoProfile;
 * 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 IpsecCryptoProfile("example");
 * 
 *     }
 * }
 * }
 * 
* <!--End PulumiCodeChooser --> * */ @ResourceType(type="scm:index/ipsecCryptoProfile:IpsecCryptoProfile") public class IpsecCryptoProfile extends com.pulumi.resources.CustomResource { /** * The Ah param. Ensure that only one of the following is specified: `ah`, `esp` * */ @Export(name="ah", refs={IpsecCryptoProfileAh.class}, tree="[0]") private Output ah; /** * @return The Ah param. Ensure that only one of the following is specified: `ah`, `esp` * */ public Output> ah() { return Codegen.optional(this.ah); } /** * 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); } /** * phase-2 DH group (PFS DH group). String must be one of these: `"no-pfs"`, `"group1"`, `"group2"`, `"group5"`, `"group14"`, `"group19"`, `"group20"`. Default: `"group2"`. * */ @Export(name="dhGroup", refs={String.class}, tree="[0]") private Output dhGroup; /** * @return phase-2 DH group (PFS DH group). String must be one of these: `"no-pfs"`, `"group1"`, `"group2"`, `"group5"`, `"group14"`, `"group19"`, `"group20"`. Default: `"group2"`. * */ public Output dhGroup() { return this.dhGroup; } /** * The Esp param. Ensure that only one of the following is specified: `ah`, `esp` * */ @Export(name="esp", refs={IpsecCryptoProfileEsp.class}, tree="[0]") private Output esp; /** * @return The Esp param. Ensure that only one of the following is specified: `ah`, `esp` * */ public Output> esp() { return Codegen.optional(this.esp); } /** * 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 Lifesize param. * */ @Export(name="lifesize", refs={IpsecCryptoProfileLifesize.class}, tree="[0]") private Output lifesize; /** * @return The Lifesize param. * */ public Output> lifesize() { return Codegen.optional(this.lifesize); } /** * The Lifetime param. * */ @Export(name="lifetime", refs={IpsecCryptoProfileLifetime.class}, tree="[0]") private Output lifetime; /** * @return The Lifetime param. * */ public Output lifetime() { return this.lifetime; } /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 31 characters. * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** * @return Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 31 characters. * */ public Output name() { return this.name; } /** * 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); } @Export(name="tfid", refs={String.class}, tree="[0]") private Output tfid; public Output tfid() { return this.tfid; } /** * * @param name The _unique_ name of the resulting resource. */ public IpsecCryptoProfile(String name) { this(name, IpsecCryptoProfileArgs.Empty); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ public IpsecCryptoProfile(String name, IpsecCryptoProfileArgs 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 IpsecCryptoProfile(String name, IpsecCryptoProfileArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("scm:index/ipsecCryptoProfile:IpsecCryptoProfile", name, args == null ? IpsecCryptoProfileArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); } private IpsecCryptoProfile(String name, Output id, @Nullable IpsecCryptoProfileState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("scm:index/ipsecCryptoProfile:IpsecCryptoProfile", 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 IpsecCryptoProfile get(String name, Output id, @Nullable IpsecCryptoProfileState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new IpsecCryptoProfile(name, id, state, options); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy