UNPKG

@pulumi/juniper-mist

Version:

A Pulumi package for creating and managing Juniper Mist resources.

233 lines 8.86 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource manages WAN Assurance Service Policies (Application Policies). * * The Service Policies can be used in the `servicePolicies` object by referencing the Service Policy ID as the `servicepolicyId` in: * * the Gateway configuration (`mist_device_gateway.service_policies`) * * the Gateway Templates (`mist_org_gatewaytemplate.service_policies`) * * the HUB Profiles (`mist_org_deviceprofile_gateway.service_policies`) * They can be used to manage common policies between multiples configurations * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as junipermist from "@pulumi/juniper-mist"; * * const servicepolicyOne = new junipermist.org.Servicepolicy("servicepolicy_one", { * orgId: terraformTest.id, * tenants: ["guest"], * services: ["guest-internet"], * action: "allow", * idp: { * enabled: true, * profile: "standard", * alertOnly: true, * }, * name: "Guest-IDP", * }); * ``` * * ## Import * * Using `pulumi import`, import `junipermist.org.Servicepolicy` with: * Org Service Policy can be imported by specifying the orgId and the servicepolicyId * * ```sh * $ pulumi import junipermist:org/servicepolicy:Servicepolicy servicepolicy_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309 * ``` */ export declare class Servicepolicy extends pulumi.CustomResource { /** * Get an existing Servicepolicy 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?: ServicepolicyState, opts?: pulumi.CustomResourceOptions): Servicepolicy; /** * Returns true if the given object is an instance of Servicepolicy. 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 Servicepolicy; /** * Advanced anti-malware settings applied by this service policy */ readonly aamw: pulumi.Output<outputs.org.ServicepolicyAamw | undefined>; /** * Allow or deny action for traffic matched by this service policy */ readonly action: pulumi.Output<string>; /** * Malware and virus inspection settings applied by this service policy */ readonly antivirus: pulumi.Output<outputs.org.ServicepolicyAntivirus | undefined>; /** * Application QoE settings applied by this service policy */ readonly appqoe: pulumi.Output<outputs.org.ServicepolicyAppqoe | undefined>; /** * Enhanced web filtering rules applied by this service policy */ readonly ewfs: pulumi.Output<outputs.org.ServicepolicyEwf[] | undefined>; /** * Intrusion detection and prevention settings applied by this service policy */ readonly idp: pulumi.Output<outputs.org.ServicepolicyIdp | undefined>; /** * Whether the policy permits access within the same VRF */ readonly localRouting: pulumi.Output<boolean | undefined>; /** * Display name of the service policy */ readonly name: pulumi.Output<string>; /** * Organization that owns this service policy */ readonly orgId: pulumi.Output<string>; /** * By default, we derive all paths available and use them, optionally, you can customize by using `pathPreference` */ readonly pathPreference: pulumi.Output<string | undefined>; /** * Application services or groups matched by this policy */ readonly services: pulumi.Output<string[] | undefined>; /** * SSL proxy inspection settings applied by this service policy */ readonly sslProxy: pulumi.Output<outputs.org.ServicepolicySslProxy | undefined>; /** * Tenant names matched by this service policy */ readonly tenants: pulumi.Output<string[] | undefined>; /** * Create a Servicepolicy 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: ServicepolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Servicepolicy resources. */ export interface ServicepolicyState { /** * Advanced anti-malware settings applied by this service policy */ aamw?: pulumi.Input<inputs.org.ServicepolicyAamw | undefined>; /** * Allow or deny action for traffic matched by this service policy */ action?: pulumi.Input<string | undefined>; /** * Malware and virus inspection settings applied by this service policy */ antivirus?: pulumi.Input<inputs.org.ServicepolicyAntivirus | undefined>; /** * Application QoE settings applied by this service policy */ appqoe?: pulumi.Input<inputs.org.ServicepolicyAppqoe | undefined>; /** * Enhanced web filtering rules applied by this service policy */ ewfs?: pulumi.Input<pulumi.Input<inputs.org.ServicepolicyEwf>[] | undefined>; /** * Intrusion detection and prevention settings applied by this service policy */ idp?: pulumi.Input<inputs.org.ServicepolicyIdp | undefined>; /** * Whether the policy permits access within the same VRF */ localRouting?: pulumi.Input<boolean | undefined>; /** * Display name of the service policy */ name?: pulumi.Input<string | undefined>; /** * Organization that owns this service policy */ orgId?: pulumi.Input<string | undefined>; /** * By default, we derive all paths available and use them, optionally, you can customize by using `pathPreference` */ pathPreference?: pulumi.Input<string | undefined>; /** * Application services or groups matched by this policy */ services?: pulumi.Input<pulumi.Input<string>[] | undefined>; /** * SSL proxy inspection settings applied by this service policy */ sslProxy?: pulumi.Input<inputs.org.ServicepolicySslProxy | undefined>; /** * Tenant names matched by this service policy */ tenants?: pulumi.Input<pulumi.Input<string>[] | undefined>; } /** * The set of arguments for constructing a Servicepolicy resource. */ export interface ServicepolicyArgs { /** * Advanced anti-malware settings applied by this service policy */ aamw?: pulumi.Input<inputs.org.ServicepolicyAamw | undefined>; /** * Allow or deny action for traffic matched by this service policy */ action?: pulumi.Input<string | undefined>; /** * Malware and virus inspection settings applied by this service policy */ antivirus?: pulumi.Input<inputs.org.ServicepolicyAntivirus | undefined>; /** * Application QoE settings applied by this service policy */ appqoe?: pulumi.Input<inputs.org.ServicepolicyAppqoe | undefined>; /** * Enhanced web filtering rules applied by this service policy */ ewfs?: pulumi.Input<pulumi.Input<inputs.org.ServicepolicyEwf>[] | undefined>; /** * Intrusion detection and prevention settings applied by this service policy */ idp?: pulumi.Input<inputs.org.ServicepolicyIdp | undefined>; /** * Whether the policy permits access within the same VRF */ localRouting?: pulumi.Input<boolean | undefined>; /** * Display name of the service policy */ name?: pulumi.Input<string | undefined>; /** * Organization that owns this service policy */ orgId: pulumi.Input<string>; /** * By default, we derive all paths available and use them, optionally, you can customize by using `pathPreference` */ pathPreference?: pulumi.Input<string | undefined>; /** * Application services or groups matched by this policy */ services?: pulumi.Input<pulumi.Input<string>[] | undefined>; /** * SSL proxy inspection settings applied by this service policy */ sslProxy?: pulumi.Input<inputs.org.ServicepolicySslProxy | undefined>; /** * Tenant names matched by this service policy */ tenants?: pulumi.Input<pulumi.Input<string>[] | undefined>; } //# sourceMappingURL=servicepolicy.d.ts.map