@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
118 lines (117 loc) • 3.71 kB
TypeScript
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 {
/**
* UUID of the resource
*/
id: string;
/**
* L3 sub-interface name
*/
name?: 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
*/
readonly device: string;
readonly dhcpClient: outputs.GetVlanInterfaceDhcpClient;
readonly folder: string;
/**
* UUID of the resource
*/
readonly id: string;
readonly interfaceManagementProfile: string;
readonly ips: outputs.GetVlanInterfaceIp[];
readonly mtu: number;
/**
* L3 sub-interface name
*/
readonly name: string;
readonly snippet: string;
readonly tfid: string;
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 {
/**
* UUID of the resource
*/
id: pulumi.Input<string>;
/**
* L3 sub-interface name
*/
name?: pulumi.Input<string>;
}