@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
117 lines (116 loc) • 4.05 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Layer3Subinterface data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* // Look up layer3 sub-interface by its ID.
* const scmL3SubinterfaceDs = scm.getLayer3Subinterface({
* id: "88f730d1-6577-492b-88a6-73d4a513dc76",
* });
* export const layer3SubinterfaceDataSourceResults = {
* id: scmL3SubinterfaceDs.then(scmL3SubinterfaceDs => scmL3SubinterfaceDs.id),
* name: scmL3SubinterfaceDs.then(scmL3SubinterfaceDs => scmL3SubinterfaceDs.name),
* comment: scmL3SubinterfaceDs.then(scmL3SubinterfaceDs => scmL3SubinterfaceDs.comment),
* ip: scmL3SubinterfaceDs.then(scmL3SubinterfaceDs => scmL3SubinterfaceDs.ips),
* tag: scmL3SubinterfaceDs.then(scmL3SubinterfaceDs => scmL3SubinterfaceDs.tag),
* parentInterface: scmL3SubinterfaceDs.then(scmL3SubinterfaceDs => scmL3SubinterfaceDs.parentInterface),
* folder: scmL3SubinterfaceDs.then(scmL3SubinterfaceDs => scmL3SubinterfaceDs.folder),
* };
* ```
*/
export declare function getLayer3Subinterface(args: GetLayer3SubinterfaceArgs, opts?: pulumi.InvokeOptions): Promise<GetLayer3SubinterfaceResult>;
/**
* A collection of arguments for invoking getLayer3Subinterface.
*/
export interface GetLayer3SubinterfaceArgs {
/**
* UUID of the resource
*/
id: string;
/**
* L3 sub-interface name
*/
name?: string;
}
/**
* A collection of values returned by getLayer3Subinterface.
*/
export interface GetLayer3SubinterfaceResult {
/**
* Layer 3 sub Interfaces ARP configuration
*/
readonly arps: outputs.GetLayer3SubinterfaceArp[];
/**
* Description
*/
readonly comment: string;
/**
* Dynamic DNS configuration specific to the Layer 3 sub Interfaces.
*/
readonly ddnsConfig: outputs.GetLayer3SubinterfaceDdnsConfig;
/**
* The device in which the resource is defined
*/
readonly device: string;
readonly dhcpClient: outputs.GetLayer3SubinterfaceDhcpClient;
readonly folder: string;
/**
* UUID of the resource
*/
readonly id: string;
readonly interfaceManagementProfile: string;
readonly ips: outputs.GetLayer3SubinterfaceIp[];
readonly mtu: number;
/**
* L3 sub-interface name
*/
readonly name: string;
readonly parentInterface: string;
readonly snippet: string;
readonly tag: number;
readonly tfid: string;
}
/**
* Layer3Subinterface data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* // Look up layer3 sub-interface by its ID.
* const scmL3SubinterfaceDs = scm.getLayer3Subinterface({
* id: "88f730d1-6577-492b-88a6-73d4a513dc76",
* });
* export const layer3SubinterfaceDataSourceResults = {
* id: scmL3SubinterfaceDs.then(scmL3SubinterfaceDs => scmL3SubinterfaceDs.id),
* name: scmL3SubinterfaceDs.then(scmL3SubinterfaceDs => scmL3SubinterfaceDs.name),
* comment: scmL3SubinterfaceDs.then(scmL3SubinterfaceDs => scmL3SubinterfaceDs.comment),
* ip: scmL3SubinterfaceDs.then(scmL3SubinterfaceDs => scmL3SubinterfaceDs.ips),
* tag: scmL3SubinterfaceDs.then(scmL3SubinterfaceDs => scmL3SubinterfaceDs.tag),
* parentInterface: scmL3SubinterfaceDs.then(scmL3SubinterfaceDs => scmL3SubinterfaceDs.parentInterface),
* folder: scmL3SubinterfaceDs.then(scmL3SubinterfaceDs => scmL3SubinterfaceDs.folder),
* };
* ```
*/
export declare function getLayer3SubinterfaceOutput(args: GetLayer3SubinterfaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLayer3SubinterfaceResult>;
/**
* A collection of arguments for invoking getLayer3Subinterface.
*/
export interface GetLayer3SubinterfaceOutputArgs {
/**
* UUID of the resource
*/
id: pulumi.Input<string>;
/**
* L3 sub-interface name
*/
name?: pulumi.Input<string>;
}