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

com.pulumi.meraki.networks.WirelessSsidsBonjourForwarding Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.meraki.networks;

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.meraki.Utilities;
import com.pulumi.meraki.networks.WirelessSsidsBonjourForwardingArgs;
import com.pulumi.meraki.networks.inputs.WirelessSsidsBonjourForwardingState;
import com.pulumi.meraki.networks.outputs.WirelessSsidsBonjourForwardingException;
import com.pulumi.meraki.networks.outputs.WirelessSsidsBonjourForwardingRule;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import javax.annotation.Nullable;

/**
 * ## Example Usage
 * 
 * <!--Start PulumiCodeChooser -->
 * 
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.meraki.networks.WirelessSsidsBonjourForwarding;
 * import com.pulumi.meraki.networks.WirelessSsidsBonjourForwardingArgs;
 * import com.pulumi.meraki.networks.inputs.WirelessSsidsBonjourForwardingExceptionArgs;
 * import com.pulumi.meraki.networks.inputs.WirelessSsidsBonjourForwardingRuleArgs;
 * 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 WirelessSsidsBonjourForwarding("example", WirelessSsidsBonjourForwardingArgs.builder()
 *             .enabled(true)
 *             .exception(WirelessSsidsBonjourForwardingExceptionArgs.builder()
 *                 .enabled(true)
 *                 .build())
 *             .networkId("string")
 *             .number("string")
 *             .rules(WirelessSsidsBonjourForwardingRuleArgs.builder()
 *                 .description("A simple bonjour rule")
 *                 .services("All Services")
 *                 .vlan_id("1")
 *                 .build())
 *             .build());
 * 
 *         ctx.export("merakiNetworksWirelessSsidsBonjourForwardingExample", example);
 *     }
 * }
 * }
 * 
* <!--End PulumiCodeChooser --> * * ## Import * * ```sh * $ pulumi import meraki:networks/wirelessSsidsBonjourForwarding:WirelessSsidsBonjourForwarding example "network_id,number" * ``` * */ @ResourceType(type="meraki:networks/wirelessSsidsBonjourForwarding:WirelessSsidsBonjourForwarding") public class WirelessSsidsBonjourForwarding extends com.pulumi.resources.CustomResource { /** * If true, Bonjour forwarding is enabled on the SSID. * */ @Export(name="enabled", refs={Boolean.class}, tree="[0]") private Output enabled; /** * @return If true, Bonjour forwarding is enabled on the SSID. * */ public Output enabled() { return this.enabled; } /** * Bonjour forwarding exception * */ @Export(name="exception", refs={WirelessSsidsBonjourForwardingException.class}, tree="[0]") private Output exception; /** * @return Bonjour forwarding exception * */ public Output exception() { return this.exception; } /** * networkId path parameter. Network ID * */ @Export(name="networkId", refs={String.class}, tree="[0]") private Output networkId; /** * @return networkId path parameter. Network ID * */ public Output networkId() { return this.networkId; } /** * number path parameter. * */ @Export(name="number", refs={String.class}, tree="[0]") private Output number; /** * @return number path parameter. * */ public Output number() { return this.number; } /** * Bonjour forwarding rules * */ @Export(name="rules", refs={List.class,WirelessSsidsBonjourForwardingRule.class}, tree="[0,1]") private Output> rules; /** * @return Bonjour forwarding rules * */ public Output> rules() { return this.rules; } /** * * @param name The _unique_ name of the resulting resource. */ public WirelessSsidsBonjourForwarding(java.lang.String name) { this(name, WirelessSsidsBonjourForwardingArgs.Empty); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ public WirelessSsidsBonjourForwarding(java.lang.String name, WirelessSsidsBonjourForwardingArgs 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 WirelessSsidsBonjourForwarding(java.lang.String name, WirelessSsidsBonjourForwardingArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("meraki:networks/wirelessSsidsBonjourForwarding:WirelessSsidsBonjourForwarding", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); } private WirelessSsidsBonjourForwarding(java.lang.String name, Output id, @Nullable WirelessSsidsBonjourForwardingState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("meraki:networks/wirelessSsidsBonjourForwarding:WirelessSsidsBonjourForwarding", name, state, makeResourceOptions(options, id), false); } private static WirelessSsidsBonjourForwardingArgs makeArgs(WirelessSsidsBonjourForwardingArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { if (options != null && options.getUrn().isPresent()) { return null; } return args == null ? WirelessSsidsBonjourForwardingArgs.Empty : args; } private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } /** * Get an existing Host resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state * @param options Optional settings to control the behavior of the CustomResource. */ public static WirelessSsidsBonjourForwarding get(java.lang.String name, Output id, @Nullable WirelessSsidsBonjourForwardingState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new WirelessSsidsBonjourForwarding(name, id, state, options); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy