@pulumi/juniper-mist
Version:
A Pulumi package for creating and managing Juniper Mist resources.
201 lines • 7.28 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* This resource manages the Org WxRules (WxLAN policies).
*
* A WxLAN policy is a set of rules and settings that can be applied to devices in a network to determine how they are treated. it provides support for access policies, network segmentation, role-based policies, micro-segmentation, and least privilege.\
* WxLAN policies are used to allow or deny specific users from accessing specific resources in a wireless network.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as junipermist from "@pulumi/juniper-mist";
*
* const wxruleOne = new junipermist.org.Wxrule("wxrule_one", {
* orgId: terraformTest.id,
* templateId: wlantemplateOne.id,
* srcWxtags: [wxtagOne.id],
* enabled: true,
* action: "allow",
* dstDenyWxtags: [wxtagTwo.id],
* order: 1,
* });
* ```
*
* ## Import
*
* Using `pulumi import`, import `junipermist.org.Wxrule` with:
* Org WxRule can be imported by specifying the orgId and the wxruleId
*
* ```sh
* $ pulumi import junipermist:org/wxrule:Wxrule wxrule_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309
* ```
*/
export declare class Wxrule extends pulumi.CustomResource {
/**
* Get an existing Wxrule 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?: WxruleState, opts?: pulumi.CustomResourceOptions): Wxrule;
/**
* Returns true if the given object is an instance of Wxrule. 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 Wxrule;
/**
* Allow or block behavior applied by this WxLAN rule
*/
readonly action: pulumi.Output<string>;
/**
* WxLAN tag identifiers applied when this rule matches
*/
readonly applyTags: pulumi.Output<string[] | undefined>;
/**
* Application keys always blocked by this rule, regardless of the rule action
*/
readonly blockedApps: pulumi.Output<string[] | undefined>;
/**
* Destination WxLAN tag identifiers explicitly allowed by this rule
*/
readonly dstAllowWxtags: pulumi.Output<string[]>;
/**
* Destination WxLAN tag identifiers explicitly denied by this rule
*/
readonly dstDenyWxtags: pulumi.Output<string[]>;
/**
* Destination WxLAN tag identifiers matched by this rule
*/
readonly dstWxtags: pulumi.Output<string[]>;
/**
* Whether this WxLAN rule is enabled
*/
readonly enabled: pulumi.Output<boolean>;
/**
* Lookup priority for WxLAN rules; larger positive values match first, and -1 means LAST. Uniqueness is not checked
*/
readonly order: pulumi.Output<number>;
/**
* Owning organization associated with this WxLAN rule
*/
readonly orgId: pulumi.Output<string>;
/**
* Source WxLAN tag identifiers that must match for this rule to apply
*/
readonly srcWxtags: pulumi.Output<string[]>;
/**
* Only for Org Level WxRule
*/
readonly templateId: pulumi.Output<string>;
/**
* Create a Wxrule 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: WxruleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Wxrule resources.
*/
export interface WxruleState {
/**
* Allow or block behavior applied by this WxLAN rule
*/
action?: pulumi.Input<string | undefined>;
/**
* WxLAN tag identifiers applied when this rule matches
*/
applyTags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Application keys always blocked by this rule, regardless of the rule action
*/
blockedApps?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Destination WxLAN tag identifiers explicitly allowed by this rule
*/
dstAllowWxtags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Destination WxLAN tag identifiers explicitly denied by this rule
*/
dstDenyWxtags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Destination WxLAN tag identifiers matched by this rule
*/
dstWxtags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Whether this WxLAN rule is enabled
*/
enabled?: pulumi.Input<boolean | undefined>;
/**
* Lookup priority for WxLAN rules; larger positive values match first, and -1 means LAST. Uniqueness is not checked
*/
order?: pulumi.Input<number | undefined>;
/**
* Owning organization associated with this WxLAN rule
*/
orgId?: pulumi.Input<string | undefined>;
/**
* Source WxLAN tag identifiers that must match for this rule to apply
*/
srcWxtags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Only for Org Level WxRule
*/
templateId?: pulumi.Input<string | undefined>;
}
/**
* The set of arguments for constructing a Wxrule resource.
*/
export interface WxruleArgs {
/**
* Allow or block behavior applied by this WxLAN rule
*/
action: pulumi.Input<string>;
/**
* WxLAN tag identifiers applied when this rule matches
*/
applyTags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Application keys always blocked by this rule, regardless of the rule action
*/
blockedApps?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Destination WxLAN tag identifiers explicitly allowed by this rule
*/
dstAllowWxtags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Destination WxLAN tag identifiers explicitly denied by this rule
*/
dstDenyWxtags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Destination WxLAN tag identifiers matched by this rule
*/
dstWxtags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Whether this WxLAN rule is enabled
*/
enabled?: pulumi.Input<boolean | undefined>;
/**
* Lookup priority for WxLAN rules; larger positive values match first, and -1 means LAST. Uniqueness is not checked
*/
order: pulumi.Input<number>;
/**
* Owning organization associated with this WxLAN rule
*/
orgId: pulumi.Input<string>;
/**
* Source WxLAN tag identifiers that must match for this rule to apply
*/
srcWxtags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Only for Org Level WxRule
*/
templateId: pulumi.Input<string>;
}
//# sourceMappingURL=wxrule.d.ts.map