import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * The zia_fw_network_service resource manages firewall network services in the Zscaler Internet Access (ZIA) cloud service. Network services define the TCP/UDP port ranges used in firewall filtering rules. * * For more information, see the [ZIA Firewall Policies documentation](https://help.zscaler.com/zia/firewall-policies). * * ## Example Usage * ### Basic Network Service * * ```typescript * import * as zia from "@bdzscaler/pulumi-zia"; * * const example = new zia.FwNetworkService("example", { * name: "Example Network Service", * description: "Custom network service", * destTcpPorts: [ * { start: 443, end: 443 }, * { start: 8080, end: 8090 }, * ], * }); * ``` * * ## Import * * An existing network service can be imported using its resource ID, e.g. * * ```sh * $ pulumi import zia:index:FwNetworkService example 12345 * ``` */ export declare class FwNetworkService extends pulumi.CustomResource { /** * Get an existing FwNetworkService 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): FwNetworkService; /** * Returns true if the given object is an instance of FwNetworkService. 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 FwNetworkService; /** * Additional information about the network service. */ readonly description: pulumi.Output; /** * Destination TCP port ranges. Each entry specifies a start and end port. */ readonly destTcpPorts: pulumi.Output; /** * Destination UDP port ranges. Each entry specifies a start and end port. */ readonly destUdpPorts: pulumi.Output; /** * Indicates whether the name is a localization tag. */ readonly isNameL10nTag: pulumi.Output; /** * The name of the network service. */ readonly name: pulumi.Output; /** * The system-generated ID of the network service. */ readonly networkServiceId: pulumi.Output; /** * Source TCP port ranges. Each entry specifies a start and end port. */ readonly srcTcpPorts: pulumi.Output; /** * Source UDP port ranges. Each entry specifies a start and end port. */ readonly srcUdpPorts: pulumi.Output; /** * The tag associated with the network service. */ readonly tag: pulumi.Output; /** * The network service type. Valid values: `STANDARD`, `PREDEFINED`, `CUSTOM`. */ readonly type: pulumi.Output; /** * Create a FwNetworkService 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?: FwNetworkServiceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a FwNetworkService resource. */ export interface FwNetworkServiceArgs { /** * Additional information about the network service. */ description?: pulumi.Input; /** * Destination TCP port ranges. Each entry specifies a start and end port. */ destTcpPorts?: pulumi.Input[] | undefined>; /** * Destination UDP port ranges. Each entry specifies a start and end port. */ destUdpPorts?: pulumi.Input[] | undefined>; /** * Indicates whether the name is a localization tag. */ isNameL10nTag?: pulumi.Input; /** * The name of the network service. */ name?: pulumi.Input; /** * Source TCP port ranges. Each entry specifies a start and end port. */ srcTcpPorts?: pulumi.Input[] | undefined>; /** * Source UDP port ranges. Each entry specifies a start and end port. */ srcUdpPorts?: pulumi.Input[] | undefined>; /** * The tag associated with the network service. */ tag?: pulumi.Input; /** * The network service type. Valid values: `STANDARD`, `PREDEFINED`, `CUSTOM`. */ type?: pulumi.Input; } //# sourceMappingURL=fwNetworkService.d.ts.map