@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
94 lines (93 loc) • 2.77 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* InterfaceManagementProfile data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const singleProfileById = scm.getInterfaceManagementProfile({
* id: "f4358615-daba-4b71-a0ea-bd3ebb412fe3",
* });
* export const fetchedProfileName = singleProfileById.then(singleProfileById => singleProfileById.name);
* export const fetchedProfile = singleProfileById;
* ```
*/
export declare function getInterfaceManagementProfile(args: GetInterfaceManagementProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetInterfaceManagementProfileResult>;
/**
* A collection of arguments for invoking getInterfaceManagementProfile.
*/
export interface GetInterfaceManagementProfileArgs {
/**
* UUID of the resource
*/
id: string;
/**
* Name
*/
name?: string;
}
/**
* A collection of values returned by getInterfaceManagementProfile.
*/
export interface GetInterfaceManagementProfileResult {
/**
* The device in which the resource is defined
*/
readonly device: string;
readonly folder: string;
readonly http: boolean;
readonly httpOcsp: boolean;
readonly https: boolean;
/**
* UUID of the resource
*/
readonly id: string;
/**
* Name
*/
readonly name: string;
readonly permittedIps: outputs.GetInterfaceManagementProfilePermittedIp[];
readonly ping: boolean;
readonly responsePages: boolean;
readonly snippet: string;
readonly ssh: boolean;
readonly telnet: boolean;
readonly tfid: string;
readonly useridService: boolean;
readonly useridSyslogListenerSsl: boolean;
readonly useridSyslogListenerUdp: boolean;
}
/**
* InterfaceManagementProfile data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const singleProfileById = scm.getInterfaceManagementProfile({
* id: "f4358615-daba-4b71-a0ea-bd3ebb412fe3",
* });
* export const fetchedProfileName = singleProfileById.then(singleProfileById => singleProfileById.name);
* export const fetchedProfile = singleProfileById;
* ```
*/
export declare function getInterfaceManagementProfileOutput(args: GetInterfaceManagementProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInterfaceManagementProfileResult>;
/**
* A collection of arguments for invoking getInterfaceManagementProfile.
*/
export interface GetInterfaceManagementProfileOutputArgs {
/**
* UUID of the resource
*/
id: pulumi.Input<string>;
/**
* Name
*/
name?: pulumi.Input<string>;
}