@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
105 lines (104 loc) • 3.5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* AggregateInterface data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* // Look up aggregate interface by its ID.
* const scmAggregateInterfaceDs = scm.getAggregateInterface({
* id: "ddad1e64-0b64-41a4-b361-c6199761a8f1",
* });
* export const aggregateInterfaceDataSourceResults = {
* id: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.id),
* name: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.name),
* comment: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.comment),
* layer3: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.layer3),
* folder: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.folder),
* };
* ```
*/
export declare function getAggregateInterface(args: GetAggregateInterfaceArgs, opts?: pulumi.InvokeOptions): Promise<GetAggregateInterfaceResult>;
/**
* A collection of arguments for invoking getAggregateInterface.
*/
export interface GetAggregateInterfaceArgs {
/**
* UUID of the resource
*/
id: string;
/**
* Aggregate interface name
*/
name?: string;
}
/**
* A collection of values returned by getAggregateInterface.
*/
export interface GetAggregateInterfaceResult {
/**
* Aggregate interface description
*/
readonly comment: string;
/**
* Default interface assignment
*/
readonly defaultValue: string;
/**
* The device in which the resource is defined
*/
readonly device: string;
readonly folder: string;
/**
* UUID of the resource
*/
readonly id: string;
readonly layer2: outputs.GetAggregateInterfaceLayer2;
readonly layer3: outputs.GetAggregateInterfaceLayer3;
/**
* Aggregate interface name
*/
readonly name: string;
readonly snippet: string;
readonly tfid: string;
}
/**
* AggregateInterface data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* // Look up aggregate interface by its ID.
* const scmAggregateInterfaceDs = scm.getAggregateInterface({
* id: "ddad1e64-0b64-41a4-b361-c6199761a8f1",
* });
* export const aggregateInterfaceDataSourceResults = {
* id: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.id),
* name: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.name),
* comment: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.comment),
* layer3: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.layer3),
* folder: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.folder),
* };
* ```
*/
export declare function getAggregateInterfaceOutput(args: GetAggregateInterfaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAggregateInterfaceResult>;
/**
* A collection of arguments for invoking getAggregateInterface.
*/
export interface GetAggregateInterfaceOutputArgs {
/**
* UUID of the resource
*/
id: pulumi.Input<string>;
/**
* Aggregate interface name
*/
name?: pulumi.Input<string>;
}