@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
266 lines (265 loc) • 7.69 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* InterfaceManagementProfile resource
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const dcPostmanProfile = new scm.InterfaceManagementProfile("dc_postman_profile", {
* name: "test_inf_mgmt_profile_1_update",
* folder: "All",
* permittedIps: [
* {
* name: "10.0.0.0/24",
* },
* {
* name: "10.0.0.0/32",
* },
* ],
* http: true,
* https: false,
* telnet: false,
* ssh: true,
* ping: false,
* httpOcsp: true,
* useridService: true,
* useridSyslogListenerSsl: true,
* useridSyslogListenerUdp: true,
* responsePages: false,
* });
* ```
*/
export declare class InterfaceManagementProfile extends pulumi.CustomResource {
/**
* Get an existing InterfaceManagementProfile resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InterfaceManagementProfileState, opts?: pulumi.CustomResourceOptions): InterfaceManagementProfile;
/**
* Returns true if the given object is an instance of InterfaceManagementProfile. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is InterfaceManagementProfile;
/**
* The device in which the resource is defined
*/
readonly device: pulumi.Output<string | undefined>;
/**
* The folder in which the resource is defined
*
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly folder: pulumi.Output<string | undefined>;
/**
* Allow HTTP?
*/
readonly http: pulumi.Output<boolean | undefined>;
/**
* Allow HTTP OCSP?
*/
readonly httpOcsp: pulumi.Output<boolean | undefined>;
/**
* Allow HTTPS?
*/
readonly https: pulumi.Output<boolean | undefined>;
/**
* Name
*/
readonly name: pulumi.Output<string>;
/**
* Allowed IP address(es)
*/
readonly permittedIps: pulumi.Output<outputs.InterfaceManagementProfilePermittedIp[] | undefined>;
/**
* Allow ping?
*/
readonly ping: pulumi.Output<boolean | undefined>;
/**
* Allow response pages?
*/
readonly responsePages: pulumi.Output<boolean | undefined>;
/**
* The snippet in which the resource is defined
*
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly snippet: pulumi.Output<string | undefined>;
/**
* Allow SSH?
*/
readonly ssh: pulumi.Output<boolean | undefined>;
/**
* Allow telnet? Seriously, why would you do this?!?
*/
readonly telnet: pulumi.Output<boolean | undefined>;
readonly tfid: pulumi.Output<string>;
/**
* Allow User-ID?
*/
readonly useridService: pulumi.Output<boolean | undefined>;
/**
* Allow User-ID syslog listener (SSL)?
*/
readonly useridSyslogListenerSsl: pulumi.Output<boolean | undefined>;
/**
* Allow User-ID syslog listener (UDP)?
*/
readonly useridSyslogListenerUdp: pulumi.Output<boolean | undefined>;
/**
* Create a InterfaceManagementProfile resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: InterfaceManagementProfileArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering InterfaceManagementProfile resources.
*/
export interface InterfaceManagementProfileState {
/**
* The device in which the resource is defined
*/
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>;
/**
* Allow HTTP?
*/
http?: pulumi.Input<boolean>;
/**
* Allow HTTP OCSP?
*/
httpOcsp?: pulumi.Input<boolean>;
/**
* Allow HTTPS?
*/
https?: pulumi.Input<boolean>;
/**
* Name
*/
name?: pulumi.Input<string>;
/**
* Allowed IP address(es)
*/
permittedIps?: pulumi.Input<pulumi.Input<inputs.InterfaceManagementProfilePermittedIp>[]>;
/**
* Allow ping?
*/
ping?: pulumi.Input<boolean>;
/**
* Allow response pages?
*/
responsePages?: pulumi.Input<boolean>;
/**
* The snippet in which the resource is defined
*
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
snippet?: pulumi.Input<string>;
/**
* Allow SSH?
*/
ssh?: pulumi.Input<boolean>;
/**
* Allow telnet? Seriously, why would you do this?!?
*/
telnet?: pulumi.Input<boolean>;
tfid?: pulumi.Input<string>;
/**
* Allow User-ID?
*/
useridService?: pulumi.Input<boolean>;
/**
* Allow User-ID syslog listener (SSL)?
*/
useridSyslogListenerSsl?: pulumi.Input<boolean>;
/**
* Allow User-ID syslog listener (UDP)?
*/
useridSyslogListenerUdp?: pulumi.Input<boolean>;
}
/**
* The set of arguments for constructing a InterfaceManagementProfile resource.
*/
export interface InterfaceManagementProfileArgs {
/**
* The device in which the resource is defined
*/
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>;
/**
* Allow HTTP?
*/
http?: pulumi.Input<boolean>;
/**
* Allow HTTP OCSP?
*/
httpOcsp?: pulumi.Input<boolean>;
/**
* Allow HTTPS?
*/
https?: pulumi.Input<boolean>;
/**
* Name
*/
name?: pulumi.Input<string>;
/**
* Allowed IP address(es)
*/
permittedIps?: pulumi.Input<pulumi.Input<inputs.InterfaceManagementProfilePermittedIp>[]>;
/**
* Allow ping?
*/
ping?: pulumi.Input<boolean>;
/**
* Allow response pages?
*/
responsePages?: pulumi.Input<boolean>;
/**
* The snippet in which the resource is defined
*
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
snippet?: pulumi.Input<string>;
/**
* Allow SSH?
*/
ssh?: pulumi.Input<boolean>;
/**
* Allow telnet? Seriously, why would you do this?!?
*/
telnet?: pulumi.Input<boolean>;
/**
* Allow User-ID?
*/
useridService?: pulumi.Input<boolean>;
/**
* Allow User-ID syslog listener (SSL)?
*/
useridSyslogListenerSsl?: pulumi.Input<boolean>;
/**
* Allow User-ID syslog listener (UDP)?
*/
useridSyslogListenerUdp?: pulumi.Input<boolean>;
}