UNPKG

@pulumi/meraki

Version:

A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0

156 lines (155 loc) 5.4 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = new meraki.devices.ApplianceUplinksSettings("example", { * interfaces: { * wan1: { * enabled: true, * pppoe: { * authentication: { * enabled: true, * password: "password", * username: "username", * }, * enabled: true, * }, * svis: { * ipv4: { * address: "9.10.11.10/16", * assignmentMode: "static", * gateway: "13.14.15.16", * nameservers: { * addresses: ["1.2.3.4"], * }, * }, * ipv6: { * address: "1:2:3::4", * assignmentMode: "static", * gateway: "1:2:3::5", * nameservers: { * addresses: [ * "1001:4860:4860::8888", * "1001:4860:4860::8844", * ], * }, * }, * }, * vlanTagging: { * enabled: true, * vlanId: 1, * }, * }, * wan2: { * enabled: true, * pppoe: { * authentication: { * enabled: true, * password: "password", * username: "username", * }, * enabled: true, * }, * svis: { * ipv4: { * address: "9.10.11.10/16", * assignmentMode: "static", * gateway: "13.14.15.16", * nameservers: { * addresses: ["1.2.3.4"], * }, * }, * ipv6: { * address: "1:2:3::4", * assignmentMode: "static", * gateway: "1:2:3::5", * nameservers: { * addresses: [ * "1001:4860:4860::8888", * "1001:4860:4860::8844", * ], * }, * }, * }, * vlanTagging: { * enabled: true, * vlanId: 1, * }, * }, * }, * serial: "string", * }); * export const merakiDevicesApplianceUplinksSettingsExample = example; * ``` * * ## Import * * ```sh * $ pulumi import meraki:devices/applianceUplinksSettings:ApplianceUplinksSettings example "serial" * ``` */ export declare class ApplianceUplinksSettings extends pulumi.CustomResource { /** * Get an existing ApplianceUplinksSettings 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 Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApplianceUplinksSettingsState, opts?: pulumi.CustomResourceOptions): ApplianceUplinksSettings; /** * Returns true if the given object is an instance of ApplianceUplinksSettings. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ApplianceUplinksSettings; /** * Interface settings. */ readonly interfaces: pulumi.Output<outputs.devices.ApplianceUplinksSettingsInterfaces>; /** * serial path parameter. */ readonly serial: pulumi.Output<string>; /** * Create a ApplianceUplinksSettings resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ApplianceUplinksSettingsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ApplianceUplinksSettings resources. */ export interface ApplianceUplinksSettingsState { /** * Interface settings. */ interfaces?: pulumi.Input<inputs.devices.ApplianceUplinksSettingsInterfaces>; /** * serial path parameter. */ serial?: pulumi.Input<string>; } /** * The set of arguments for constructing a ApplianceUplinksSettings resource. */ export interface ApplianceUplinksSettingsArgs { /** * Interface settings. */ interfaces?: pulumi.Input<inputs.devices.ApplianceUplinksSettingsInterfaces>; /** * serial path parameter. */ serial: pulumi.Input<string>; }