UNPKG

devopness-sdk-js

Version:

Devopness API JS/TS SDK - Painless essential DevOps to everyone

95 lines (94 loc) 2.22 kB
/** * devopness API * Devopness API - Painless essential DevOps to everyone * * The version of the OpenAPI document: latest * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface NetworkRule */ export interface NetworkRule { /** * The rule\'s name/description/reminder * @type {string} * @memberof NetworkRule */ name: string; /** * The type of network traffic to which this rule will be applied * @type {string} * @memberof NetworkRule */ type: NetworkRuleTypeEnum; /** * The network protocol to which this rule will be applied. * @type {string} * @memberof NetworkRule */ protocol: NetworkRuleProtocolEnum; /** * Starting range of the public ipv4 or ipv6 addresses that can access this rule * @type {string} * @memberof NetworkRule */ ip_address_from?: string; /** * Ending range of the public ipv4 or ipv6 addresses that can access this rule * @type {string} * @memberof NetworkRule */ ip_address_to?: string; /** * Starting range of network ports to be considered by this rule * @type {number} * @memberof NetworkRule */ port_from: number; /** * Ending range of network ports to be considered by this rule * @type {number} * @memberof NetworkRule */ port_to: number; /** * Current status of deploying to remote servers the current network rule * @type {string} * @memberof NetworkRule */ status?: NetworkRuleStatusEnum; } /** * @export * @enum {string} */ export declare enum NetworkRuleTypeEnum { Inbound = "inbound", Outbound = "outbound" } /** * @export * @enum {string} */ export declare enum NetworkRuleProtocolEnum { Any = "any", Tcp = "tcp", Udp = "udp" } /** * @export * @enum {string} */ export declare enum NetworkRuleStatusEnum { Pending = "pending", InProgress = "in-progress", Cancelled = "cancelled", Completed = "completed", Failed = "failed" }