com.pulumi.meraki.devices.WirelessAlternateManagementInterfaceIpv6 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meraki Show documentation
Show all versions of meraki Show documentation
A Pulumi package for creating and managing Cisco Meraki resources
// *** WARNING: this file 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.devices;
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.devices.WirelessAlternateManagementInterfaceIpv6Args;
import com.pulumi.meraki.devices.inputs.WirelessAlternateManagementInterfaceIpv6State;
import com.pulumi.meraki.devices.outputs.WirelessAlternateManagementInterfaceIpv6Item;
import com.pulumi.meraki.devices.outputs.WirelessAlternateManagementInterfaceIpv6Parameters;
import java.lang.String;
import javax.annotation.Nullable;
/**
* ~>Warning: This resource does not represent a real-world entity in Meraki Dashboard, therefore changing or deleting this resource on its own has no immediate effect. Instead, it is a task part of a Meraki Dashboard workflow. It is executed in Meraki without any additional verification. It does not check if it was executed before or if a similar configuration or action
* already existed previously.
*
* ## 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.devices.WirelessAlternateManagementInterfaceIpv6;
* import com.pulumi.meraki.devices.WirelessAlternateManagementInterfaceIpv6Args;
* import com.pulumi.meraki.devices.inputs.WirelessAlternateManagementInterfaceIpv6ParametersArgs;
* 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 WirelessAlternateManagementInterfaceIpv6("example", WirelessAlternateManagementInterfaceIpv6Args.builder()
* .serial("string")
* .parameters(WirelessAlternateManagementInterfaceIpv6ParametersArgs.builder()
* .addresses(WirelessAlternateManagementInterfaceIpv6ParametersAddressArgs.builder()
* .address("2001:db8:3c4d:15::1")
* .assignmentMode("static")
* .gateway("fe80:db8:c15:c0:d0c::10ca:1d02")
* .nameservers(WirelessAlternateManagementInterfaceIpv6ParametersAddressNameserversArgs.builder()
* .addresses(
* "2001:db8:3c4d:15::1",
* "2001:db8:3c4d:15::1")
* .build())
* .prefix("2001:db8:3c4d:15::/64")
* .protocol("ipv6")
* .build())
* .build())
* .build());
*
* ctx.export("merakiDevicesWirelessAlternateManagementInterfaceIpv6Example", example);
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
@ResourceType(type="meraki:devices/wirelessAlternateManagementInterfaceIpv6:WirelessAlternateManagementInterfaceIpv6")
public class WirelessAlternateManagementInterfaceIpv6 extends com.pulumi.resources.CustomResource {
@Export(name="item", refs={WirelessAlternateManagementInterfaceIpv6Item.class}, tree="[0]")
private Output item;
public Output item() {
return this.item;
}
@Export(name="parameters", refs={WirelessAlternateManagementInterfaceIpv6Parameters.class}, tree="[0]")
private Output parameters;
public Output parameters() {
return this.parameters;
}
/**
* serial path parameter.
*
*/
@Export(name="serial", refs={String.class}, tree="[0]")
private Output serial;
/**
* @return serial path parameter.
*
*/
public Output serial() {
return this.serial;
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public WirelessAlternateManagementInterfaceIpv6(java.lang.String name) {
this(name, WirelessAlternateManagementInterfaceIpv6Args.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public WirelessAlternateManagementInterfaceIpv6(java.lang.String name, WirelessAlternateManagementInterfaceIpv6Args 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 WirelessAlternateManagementInterfaceIpv6(java.lang.String name, WirelessAlternateManagementInterfaceIpv6Args args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("meraki:devices/wirelessAlternateManagementInterfaceIpv6:WirelessAlternateManagementInterfaceIpv6", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private WirelessAlternateManagementInterfaceIpv6(java.lang.String name, Output id, @Nullable WirelessAlternateManagementInterfaceIpv6State state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("meraki:devices/wirelessAlternateManagementInterfaceIpv6:WirelessAlternateManagementInterfaceIpv6", name, state, makeResourceOptions(options, id), false);
}
private static WirelessAlternateManagementInterfaceIpv6Args makeArgs(WirelessAlternateManagementInterfaceIpv6Args args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? WirelessAlternateManagementInterfaceIpv6Args.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 WirelessAlternateManagementInterfaceIpv6 get(java.lang.String name, Output id, @Nullable WirelessAlternateManagementInterfaceIpv6State state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new WirelessAlternateManagementInterfaceIpv6(name, id, state, options);
}
}