UNPKG

@pulumi/juniper-mist

Version:

A Pulumi package for creating and managing Juniper Mist resources.

160 lines (159 loc) 5.87 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 * * ## Import * * Using `pulumi import`, import `mist_org_servicepolicy` with: * * Org Service Policy can be imported by specifying the org_id and the servicepolicy_id * * ```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; /** * For SRX Only */ readonly aamw: pulumi.Output<outputs.org.ServicepolicyAamw | undefined>; /** * enum: `allow`, `deny` */ readonly action: pulumi.Output<string>; /** * For SRX-only */ readonly antivirus: pulumi.Output<outputs.org.ServicepolicyAntivirus | undefined>; /** * For SRX Only */ readonly appqoe: pulumi.Output<outputs.org.ServicepolicyAppqoe | undefined>; readonly ewfs: pulumi.Output<outputs.org.ServicepolicyEwf[] | undefined>; readonly idp: pulumi.Output<outputs.org.ServicepolicyIdp | undefined>; /** * access within the same VRF */ readonly localRouting: pulumi.Output<boolean | undefined>; readonly name: pulumi.Output<string>; 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>; readonly services: pulumi.Output<string[] | undefined>; /** * For SRX-only */ readonly sslProxy: pulumi.Output<outputs.org.ServicepolicySslProxy | undefined>; 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 { /** * For SRX Only */ aamw?: pulumi.Input<inputs.org.ServicepolicyAamw>; /** * enum: `allow`, `deny` */ action?: pulumi.Input<string>; /** * For SRX-only */ antivirus?: pulumi.Input<inputs.org.ServicepolicyAntivirus>; /** * For SRX Only */ appqoe?: pulumi.Input<inputs.org.ServicepolicyAppqoe>; ewfs?: pulumi.Input<pulumi.Input<inputs.org.ServicepolicyEwf>[]>; idp?: pulumi.Input<inputs.org.ServicepolicyIdp>; /** * access within the same VRF */ localRouting?: pulumi.Input<boolean>; name?: pulumi.Input<string>; 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>; services?: pulumi.Input<pulumi.Input<string>[]>; /** * For SRX-only */ sslProxy?: pulumi.Input<inputs.org.ServicepolicySslProxy>; tenants?: pulumi.Input<pulumi.Input<string>[]>; } /** * The set of arguments for constructing a Servicepolicy resource. */ export interface ServicepolicyArgs { /** * For SRX Only */ aamw?: pulumi.Input<inputs.org.ServicepolicyAamw>; /** * enum: `allow`, `deny` */ action?: pulumi.Input<string>; /** * For SRX-only */ antivirus?: pulumi.Input<inputs.org.ServicepolicyAntivirus>; /** * For SRX Only */ appqoe?: pulumi.Input<inputs.org.ServicepolicyAppqoe>; ewfs?: pulumi.Input<pulumi.Input<inputs.org.ServicepolicyEwf>[]>; idp?: pulumi.Input<inputs.org.ServicepolicyIdp>; /** * access within the same VRF */ localRouting?: pulumi.Input<boolean>; name?: pulumi.Input<string>; 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>; services?: pulumi.Input<pulumi.Input<string>[]>; /** * For SRX-only */ sslProxy?: pulumi.Input<inputs.org.ServicepolicySslProxy>; tenants?: pulumi.Input<pulumi.Input<string>[]>; }