@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
166 lines (165 loc) • 4.82 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 {
/**
* 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;
/**
* 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 getInterfaceManagementProfile.
*/
export interface GetInterfaceManagementProfileResult {
/**
* 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;
/**
* Allow HTTP?
*/
readonly http: boolean;
/**
* Allow HTTP OCSP?
*/
readonly httpOcsp: boolean;
/**
* Allow HTTPS?
*/
readonly https: boolean;
/**
* UUID of the resource
*/
readonly id: string;
/**
* Name
*/
readonly name: string;
/**
* Allowed IP address(es)
*/
readonly permittedIps: outputs.GetInterfaceManagementProfilePermittedIp[];
/**
* Allow ping?
*/
readonly ping: boolean;
/**
* Allow response pages?
*/
readonly responsePages: boolean;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly snippet: string;
/**
* Allow SSH?
*/
readonly ssh: boolean;
/**
* Allow telnet? Seriously, why would you do this?!?
*/
readonly telnet: boolean;
readonly tfid: string;
/**
* Allow User-ID?
*/
readonly useridService: boolean;
/**
* Allow User-ID syslog listener (SSL)?
*/
readonly useridSyslogListenerSsl: boolean;
/**
* Allow User-ID syslog listener (UDP)?
*/
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 {
/**
* 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>;
/**
* 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>;
}