UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

244 lines (243 loc) 7.47 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * VlanInterface resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // * // Creates a vlan interface used as parent-interface for subsequent examples * // * const scmVlanInterfaceIpv4 = new scm.VlanInterface("scm_vlan_interface_ipv4", { * name: "$scm_vlan_interface_ipv4", * comment: "Managed by Pulumi", * folder: "ngfw-shared", * vlanTag: "1234", * ips: [{ * name: "198.18.1.1/24", * }], * }); * ``` */ export declare class VlanInterface extends pulumi.CustomResource { /** * Get an existing VlanInterface 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?: VlanInterfaceState, opts?: pulumi.CustomResourceOptions): VlanInterface; /** * Returns true if the given object is an instance of VlanInterface. 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 VlanInterface; /** * ARP configuration */ readonly arps: pulumi.Output<outputs.VlanInterfaceArp[] | undefined>; /** * Description */ readonly comment: pulumi.Output<string | undefined>; /** * Dynamic DNS configuration specific to the Vlan Interfaces. */ readonly ddnsConfig: pulumi.Output<outputs.VlanInterfaceDdnsConfig>; /** * Default interface assignment */ readonly defaultValue: pulumi.Output<string | undefined>; /** * The device in which the resource is defined */ readonly device: pulumi.Output<string | undefined>; /** * Vlan interfaces DHCP Client Object * * > ℹ️ **Note:** You must specify exactly one of `dhcpClient` and `ip`. */ readonly dhcpClient: pulumi.Output<outputs.VlanInterfaceDhcpClient>; /** * The folder in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly folder: pulumi.Output<string | undefined>; /** * Interface management profile */ readonly interfaceManagementProfile: pulumi.Output<string | undefined>; /** * VLAN Interface IP Parent * * > ℹ️ **Note:** You must specify exactly one of `dhcpClient` and `ip`. */ readonly ips: pulumi.Output<outputs.VlanInterfaceIp[] | undefined>; /** * MTU */ readonly mtu: pulumi.Output<number | undefined>; /** * L3 sub-interface name */ readonly name: pulumi.Output<string>; /** * The snippet in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: pulumi.Output<string | undefined>; readonly tfid: pulumi.Output<string>; /** * VLAN tag */ readonly vlanTag: pulumi.Output<string | undefined>; /** * Create a VlanInterface 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?: VlanInterfaceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VlanInterface resources. */ export interface VlanInterfaceState { /** * ARP configuration */ arps?: pulumi.Input<pulumi.Input<inputs.VlanInterfaceArp>[]>; /** * Description */ comment?: pulumi.Input<string>; /** * Dynamic DNS configuration specific to the Vlan Interfaces. */ ddnsConfig?: pulumi.Input<inputs.VlanInterfaceDdnsConfig>; /** * Default interface assignment */ defaultValue?: pulumi.Input<string>; /** * The device in which the resource is defined */ device?: pulumi.Input<string>; /** * Vlan interfaces DHCP Client Object * * > ℹ️ **Note:** You must specify exactly one of `dhcpClient` and `ip`. */ dhcpClient?: pulumi.Input<inputs.VlanInterfaceDhcpClient>; /** * The folder in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input<string>; /** * Interface management profile */ interfaceManagementProfile?: pulumi.Input<string>; /** * VLAN Interface IP Parent * * > ℹ️ **Note:** You must specify exactly one of `dhcpClient` and `ip`. */ ips?: pulumi.Input<pulumi.Input<inputs.VlanInterfaceIp>[]>; /** * MTU */ mtu?: pulumi.Input<number>; /** * L3 sub-interface name */ name?: pulumi.Input<string>; /** * The snippet in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input<string>; tfid?: pulumi.Input<string>; /** * VLAN tag */ vlanTag?: pulumi.Input<string>; } /** * The set of arguments for constructing a VlanInterface resource. */ export interface VlanInterfaceArgs { /** * ARP configuration */ arps?: pulumi.Input<pulumi.Input<inputs.VlanInterfaceArp>[]>; /** * Description */ comment?: pulumi.Input<string>; /** * Dynamic DNS configuration specific to the Vlan Interfaces. */ ddnsConfig?: pulumi.Input<inputs.VlanInterfaceDdnsConfig>; /** * Default interface assignment */ defaultValue?: pulumi.Input<string>; /** * The device in which the resource is defined */ device?: pulumi.Input<string>; /** * Vlan interfaces DHCP Client Object * * > ℹ️ **Note:** You must specify exactly one of `dhcpClient` and `ip`. */ dhcpClient?: pulumi.Input<inputs.VlanInterfaceDhcpClient>; /** * The folder in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input<string>; /** * Interface management profile */ interfaceManagementProfile?: pulumi.Input<string>; /** * VLAN Interface IP Parent * * > ℹ️ **Note:** You must specify exactly one of `dhcpClient` and `ip`. */ ips?: pulumi.Input<pulumi.Input<inputs.VlanInterfaceIp>[]>; /** * MTU */ mtu?: pulumi.Input<number>; /** * L3 sub-interface name */ name?: pulumi.Input<string>; /** * The snippet in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input<string>; /** * VLAN tag */ vlanTag?: pulumi.Input<string>; }