@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
106 lines (105 loc) • 3.23 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* DhcpInterface data source
*/
export declare function getDhcpInterface(args: GetDhcpInterfaceArgs, opts?: pulumi.InvokeOptions): Promise<GetDhcpInterfaceResult>;
/**
* A collection of arguments for invoking getDhcpInterface.
*/
export interface GetDhcpInterfaceArgs {
/**
* 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;
/**
* 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 getDhcpInterface.
*/
export interface GetDhcpInterfaceResult {
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly device: string;
/**
* 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 name
*/
readonly name: string;
/**
* Relay
* > ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
*/
readonly relay: outputs.GetDhcpInterfaceRelay;
/**
* Server
* > ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
*/
readonly server: outputs.GetDhcpInterfaceServer;
/**
* 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;
}
/**
* DhcpInterface data source
*/
export declare function getDhcpInterfaceOutput(args: GetDhcpInterfaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDhcpInterfaceResult>;
/**
* A collection of arguments for invoking getDhcpInterface.
*/
export interface GetDhcpInterfaceOutputArgs {
/**
* 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>;
/**
* 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>;
}