UNPKG

@pulumi/scm

Version:

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

174 lines (173 loc) 5.63 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * VlanInterface data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up vlan interface by its ID. * const scmVlanInterfaceDs = scm.getVlanInterface({ * id: "3f9382a3-5c93-46d9-ae06-a632c2d9ce0c", * }); * export const vlanInterfaceDataSourceResults = { * id: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.id), * name: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.name), * comment: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.comment), * vlanTag: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.vlanTag), * ip: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.ips), * folder: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.folder), * }; * ``` */ export declare function getVlanInterface(args: GetVlanInterfaceArgs, opts?: pulumi.InvokeOptions): Promise<GetVlanInterfaceResult>; /** * A collection of arguments for invoking getVlanInterface. */ export interface GetVlanInterfaceArgs { /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: string; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: string; /** * UUID of the resource */ id: string; /** * L3 sub-interface name */ name?: string; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: string; } /** * A collection of values returned by getVlanInterface. */ export interface GetVlanInterfaceResult { /** * ARP configuration */ readonly arps: outputs.GetVlanInterfaceArp[]; /** * Description */ readonly comment: string; /** * Dynamic DNS configuration specific to the Vlan Interfaces. */ readonly ddnsConfig: outputs.GetVlanInterfaceDdnsConfig; /** * Default interface assignment */ readonly defaultValue: string; /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly device: string; /** * Vlan interfaces DHCP Client Object * > ℹ️ **Note:** You must specify exactly one of `dhcpClient` and `ip`. */ readonly dhcpClient: outputs.GetVlanInterfaceDhcpClient; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly folder: string; /** * UUID of the resource */ readonly id: string; /** * Interface management profile */ readonly interfaceManagementProfile: string; /** * VLAN Interface IP Parent * > ℹ️ **Note:** You must specify exactly one of `dhcpClient` and `ip`. */ readonly ips: outputs.GetVlanInterfaceIp[]; /** * MTU */ readonly mtu: number; /** * L3 sub-interface name */ readonly name: string; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: string; readonly tfid: string; /** * VLAN tag */ readonly vlanTag: string; } /** * VlanInterface data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up vlan interface by its ID. * const scmVlanInterfaceDs = scm.getVlanInterface({ * id: "3f9382a3-5c93-46d9-ae06-a632c2d9ce0c", * }); * export const vlanInterfaceDataSourceResults = { * id: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.id), * name: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.name), * comment: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.comment), * vlanTag: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.vlanTag), * ip: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.ips), * folder: scmVlanInterfaceDs.then(scmVlanInterfaceDs => scmVlanInterfaceDs.folder), * }; * ``` */ export declare function getVlanInterfaceOutput(args: GetVlanInterfaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVlanInterfaceResult>; /** * A collection of arguments for invoking getVlanInterface. */ export interface GetVlanInterfaceOutputArgs { /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: pulumi.Input<string>; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input<string>; /** * UUID of the resource */ id: pulumi.Input<string>; /** * 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>; }