@pulumi/juniper-mist 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +177 -0
- package/README.md +50 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +27 -0
- package/config/vars.js +43 -0
- package/config/vars.js.map +1 -0
- package/device/ap.d.ts +381 -0
- package/device/ap.js +145 -0
- package/device/ap.js.map +1 -0
- package/device/base.d.ts +221 -0
- package/device/base.js +113 -0
- package/device/base.js.map +1 -0
- package/device/gateway.d.ts +432 -0
- package/device/gateway.js +163 -0
- package/device/gateway.js.map +1 -0
- package/device/gatewayCluster.d.ts +70 -0
- package/device/gatewayCluster.js +85 -0
- package/device/gatewayCluster.js.map +1 -0
- package/device/getApStats.d.ts +100 -0
- package/device/getApStats.js +53 -0
- package/device/getApStats.js.map +1 -0
- package/device/getGatewayStats.d.ts +100 -0
- package/device/getGatewayStats.js +53 -0
- package/device/getGatewayStats.js.map +1 -0
- package/device/getSwitchStats.d.ts +124 -0
- package/device/getSwitchStats.js +55 -0
- package/device/getSwitchStats.js.map +1 -0
- package/device/index.d.ts +24 -0
- package/device/index.js +51 -0
- package/device/index.js.map +1 -0
- package/device/switch.d.ts +518 -0
- package/device/switch.js +158 -0
- package/device/switch.js.map +1 -0
- package/getConstAppCategories.d.ts +38 -0
- package/getConstAppCategories.js +41 -0
- package/getConstAppCategories.js.map +1 -0
- package/getConstAppSubCategories.d.ts +38 -0
- package/getConstAppSubCategories.js +41 -0
- package/getConstAppSubCategories.js.map +1 -0
- package/getConstApplications.d.ts +38 -0
- package/getConstApplications.js +41 -0
- package/getConstApplications.js.map +1 -0
- package/getConstCountries.d.ts +38 -0
- package/getConstCountries.js +41 -0
- package/getConstCountries.js.map +1 -0
- package/getConstTrafficTypes.d.ts +38 -0
- package/getConstTrafficTypes.js +41 -0
- package/getConstTrafficTypes.js.map +1 -0
- package/getSites.d.ts +55 -0
- package/getSites.js +47 -0
- package/getSites.js.map +1 -0
- package/index.d.ts +27 -0
- package/index.js +48 -0
- package/index.js.map +1 -0
- package/org/base.d.ts +88 -0
- package/org/base.js +75 -0
- package/org/base.js.map +1 -0
- package/org/deviceprofileAp.d.ts +264 -0
- package/org/deviceprofileAp.js +112 -0
- package/org/deviceprofileAp.js.map +1 -0
- package/org/deviceprofileAssign.d.ts +64 -0
- package/org/deviceprofileAssign.js +81 -0
- package/org/deviceprofileAssign.js.map +1 -0
- package/org/deviceprofileGateway.d.ts +325 -0
- package/org/deviceprofileGateway.js +109 -0
- package/org/deviceprofileGateway.js.map +1 -0
- package/org/gatewaytemplate.d.ts +323 -0
- package/org/gatewaytemplate.js +105 -0
- package/org/gatewaytemplate.js.map +1 -0
- package/org/getDeviceprofilesAp.d.ts +55 -0
- package/org/getDeviceprofilesAp.js +47 -0
- package/org/getDeviceprofilesAp.js.map +1 -0
- package/org/getDeviceprofilesGateway.d.ts +55 -0
- package/org/getDeviceprofilesGateway.js +47 -0
- package/org/getDeviceprofilesGateway.js.map +1 -0
- package/org/getGatewaytemplates.d.ts +55 -0
- package/org/getGatewaytemplates.js +47 -0
- package/org/getGatewaytemplates.js.map +1 -0
- package/org/getIdpprofiles.d.ts +55 -0
- package/org/getIdpprofiles.js +47 -0
- package/org/getIdpprofiles.js.map +1 -0
- package/org/getInventory.d.ts +139 -0
- package/org/getInventory.js +54 -0
- package/org/getInventory.js.map +1 -0
- package/org/getNacrules.d.ts +55 -0
- package/org/getNacrules.js +47 -0
- package/org/getNacrules.js.map +1 -0
- package/org/getNactags.d.ts +55 -0
- package/org/getNactags.js +47 -0
- package/org/getNactags.js.map +1 -0
- package/org/getNetworks.d.ts +55 -0
- package/org/getNetworks.js +47 -0
- package/org/getNetworks.js.map +1 -0
- package/org/getNetworktemplates.d.ts +55 -0
- package/org/getNetworktemplates.js +47 -0
- package/org/getNetworktemplates.js.map +1 -0
- package/org/getRftemplates.d.ts +55 -0
- package/org/getRftemplates.js +47 -0
- package/org/getRftemplates.js.map +1 -0
- package/org/getServicepolicies.d.ts +55 -0
- package/org/getServicepolicies.js +47 -0
- package/org/getServicepolicies.js.map +1 -0
- package/org/getServices.d.ts +55 -0
- package/org/getServices.js +47 -0
- package/org/getServices.js.map +1 -0
- package/org/getSitegroups.d.ts +55 -0
- package/org/getSitegroups.js +47 -0
- package/org/getSitegroups.js.map +1 -0
- package/org/getVpns.d.ts +33 -0
- package/org/getVpns.js +25 -0
- package/org/getVpns.js.map +1 -0
- package/org/getWlantemplates.d.ts +55 -0
- package/org/getWlantemplates.js +47 -0
- package/org/getWlantemplates.js.map +1 -0
- package/org/getWxtags.d.ts +55 -0
- package/org/getWxtags.js +47 -0
- package/org/getWxtags.js.map +1 -0
- package/org/idpprofile.d.ts +62 -0
- package/org/idpprofile.js +64 -0
- package/org/idpprofile.js.map +1 -0
- package/org/index.d.ts +111 -0
- package/org/index.js +171 -0
- package/org/index.js.map +1 -0
- package/org/inventory.d.ts +47 -0
- package/org/inventory.js +57 -0
- package/org/inventory.js.map +1 -0
- package/org/nacrule.d.ts +101 -0
- package/org/nacrule.js +75 -0
- package/org/nacrule.js.map +1 -0
- package/org/nactag.d.ts +225 -0
- package/org/nactag.js +99 -0
- package/org/nactag.js.map +1 -0
- package/org/network.d.ts +154 -0
- package/org/network.js +98 -0
- package/org/network.js.map +1 -0
- package/org/networktemplate.d.ts +260 -0
- package/org/networktemplate.js +97 -0
- package/org/networktemplate.js.map +1 -0
- package/org/rftemplate.d.ts +167 -0
- package/org/rftemplate.js +79 -0
- package/org/rftemplate.js.map +1 -0
- package/org/service.d.ts +212 -0
- package/org/service.js +93 -0
- package/org/service.js.map +1 -0
- package/org/servicepolicy.d.ts +110 -0
- package/org/servicepolicy.js +73 -0
- package/org/servicepolicy.js.map +1 -0
- package/org/setting.d.ts +253 -0
- package/org/setting.js +125 -0
- package/org/setting.js.map +1 -0
- package/org/sitegroup.d.ts +57 -0
- package/org/sitegroup.js +69 -0
- package/org/sitegroup.js.map +1 -0
- package/org/vpn.d.ts +56 -0
- package/org/vpn.js +62 -0
- package/org/vpn.js.map +1 -0
- package/org/wlan.d.ts +1114 -0
- package/org/wlan.js +268 -0
- package/org/wlan.js.map +1 -0
- package/org/wlantemplate.d.ts +95 -0
- package/org/wlantemplate.js +65 -0
- package/org/wlantemplate.js.map +1 -0
- package/org/wxrule.d.ts +149 -0
- package/org/wxrule.js +102 -0
- package/org/wxrule.js.map +1 -0
- package/org/wxtag.d.ts +177 -0
- package/org/wxtag.js +90 -0
- package/org/wxtag.js.map +1 -0
- package/package.json +31 -0
- package/provider.d.ts +76 -0
- package/provider.js +52 -0
- package/provider.js.map +1 -0
- package/site/index.d.ts +15 -0
- package/site/index.js +42 -0
- package/site/index.js.map +1 -0
- package/site/networktemplate.d.ts +260 -0
- package/site/networktemplate.js +94 -0
- package/site/networktemplate.js.map +1 -0
- package/site/setting.d.ts +430 -0
- package/site/setting.js +135 -0
- package/site/setting.js.map +1 -0
- package/site/wlan.d.ts +1112 -0
- package/site/wlan.js +264 -0
- package/site/wlan.js.map +1 -0
- package/site/wxrule.d.ts +150 -0
- package/site/wxrule.js +100 -0
- package/site/wxrule.js.map +1 -0
- package/site/wxtag.d.ts +179 -0
- package/site/wxtag.js +92 -0
- package/site/wxtag.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +9877 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +11698 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +8 -0
- package/utilities.js +101 -0
- package/utilities.js.map +1 -0
package/org/service.d.ts
ADDED
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource manages WAN Assurance Services (Applications).The Services are used in the `servicePolicies` from the Gateway configuration and Gateway templates, or can be used in the Org Service Policies (`orgServicepolicy` resource).
|
|
6
|
+
*/
|
|
7
|
+
export declare class Service extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing Service resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceState, opts?: pulumi.CustomResourceOptions): Service;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of Service. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is Service;
|
|
23
|
+
/**
|
|
24
|
+
* if `type`==`custom`, ip subnets (e.g. 10.0.0.0/8)
|
|
25
|
+
*/
|
|
26
|
+
readonly addresses: pulumi.Output<string[]>;
|
|
27
|
+
/**
|
|
28
|
+
* when `type`==`appCategories`, list of application categories are available through /api/v1/const/app_categories
|
|
29
|
+
*/
|
|
30
|
+
readonly appCategories: pulumi.Output<string[]>;
|
|
31
|
+
/**
|
|
32
|
+
* when `type`==`appCategories`, list of application categories are available through /api/v1/const/app_subcategories
|
|
33
|
+
*/
|
|
34
|
+
readonly appSubcategories: pulumi.Output<string[]>;
|
|
35
|
+
/**
|
|
36
|
+
* when `type`==`apps`, list of applications are available through: * /api/v1/const/applications *
|
|
37
|
+
* /api/v1/const/gateway_applications * /insight/top_app_by-bytes?wired=true
|
|
38
|
+
*/
|
|
39
|
+
readonly apps: pulumi.Output<string[]>;
|
|
40
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
41
|
+
readonly dscp: pulumi.Output<string | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* enum: `nonRevertable`, `none`, `revertable`
|
|
44
|
+
*/
|
|
45
|
+
readonly failoverPolicy: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* if `type`==`custom`, web filtering
|
|
48
|
+
*/
|
|
49
|
+
readonly hostnames: pulumi.Output<string[]>;
|
|
50
|
+
readonly maxJitter: pulumi.Output<string | undefined>;
|
|
51
|
+
readonly maxLatency: pulumi.Output<string | undefined>;
|
|
52
|
+
readonly maxLoss: pulumi.Output<string | undefined>;
|
|
53
|
+
readonly name: pulumi.Output<string>;
|
|
54
|
+
readonly orgId: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* whether to enable measure SLE
|
|
57
|
+
*/
|
|
58
|
+
readonly sleEnabled: pulumi.Output<boolean>;
|
|
59
|
+
/**
|
|
60
|
+
* when `type`==`custom`, optional, if it doesn't exist, http and https is assumed
|
|
61
|
+
*/
|
|
62
|
+
readonly specs: pulumi.Output<outputs.org.ServiceSpec[] | undefined>;
|
|
63
|
+
readonly ssrRelaxedTcpStateEnforcement: pulumi.Output<boolean>;
|
|
64
|
+
/**
|
|
65
|
+
* when `trafficType`==`custom`. enum: `bestEffort`, `high`, `low`, `medium`
|
|
66
|
+
*/
|
|
67
|
+
readonly trafficClass: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* values from `/api/v1/consts/traffic_types`
|
|
70
|
+
*/
|
|
71
|
+
readonly trafficType: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* enum: `appCategories`, `apps`, `custom`, `urls`
|
|
74
|
+
*/
|
|
75
|
+
readonly type: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* when `type`==`urls`, no need for spec as URL can encode the ports being used
|
|
78
|
+
*/
|
|
79
|
+
readonly urls: pulumi.Output<string[]>;
|
|
80
|
+
/**
|
|
81
|
+
* Create a Service resource with the given unique name, arguments, and options.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resource.
|
|
84
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
85
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
86
|
+
*/
|
|
87
|
+
constructor(name: string, args: ServiceArgs, opts?: pulumi.CustomResourceOptions);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Input properties used for looking up and filtering Service resources.
|
|
91
|
+
*/
|
|
92
|
+
export interface ServiceState {
|
|
93
|
+
/**
|
|
94
|
+
* if `type`==`custom`, ip subnets (e.g. 10.0.0.0/8)
|
|
95
|
+
*/
|
|
96
|
+
addresses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
97
|
+
/**
|
|
98
|
+
* when `type`==`appCategories`, list of application categories are available through /api/v1/const/app_categories
|
|
99
|
+
*/
|
|
100
|
+
appCategories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
101
|
+
/**
|
|
102
|
+
* when `type`==`appCategories`, list of application categories are available through /api/v1/const/app_subcategories
|
|
103
|
+
*/
|
|
104
|
+
appSubcategories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
105
|
+
/**
|
|
106
|
+
* when `type`==`apps`, list of applications are available through: * /api/v1/const/applications *
|
|
107
|
+
* /api/v1/const/gateway_applications * /insight/top_app_by-bytes?wired=true
|
|
108
|
+
*/
|
|
109
|
+
apps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
110
|
+
description?: pulumi.Input<string>;
|
|
111
|
+
dscp?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* enum: `nonRevertable`, `none`, `revertable`
|
|
114
|
+
*/
|
|
115
|
+
failoverPolicy?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* if `type`==`custom`, web filtering
|
|
118
|
+
*/
|
|
119
|
+
hostnames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
120
|
+
maxJitter?: pulumi.Input<string>;
|
|
121
|
+
maxLatency?: pulumi.Input<string>;
|
|
122
|
+
maxLoss?: pulumi.Input<string>;
|
|
123
|
+
name?: pulumi.Input<string>;
|
|
124
|
+
orgId?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* whether to enable measure SLE
|
|
127
|
+
*/
|
|
128
|
+
sleEnabled?: pulumi.Input<boolean>;
|
|
129
|
+
/**
|
|
130
|
+
* when `type`==`custom`, optional, if it doesn't exist, http and https is assumed
|
|
131
|
+
*/
|
|
132
|
+
specs?: pulumi.Input<pulumi.Input<inputs.org.ServiceSpec>[]>;
|
|
133
|
+
ssrRelaxedTcpStateEnforcement?: pulumi.Input<boolean>;
|
|
134
|
+
/**
|
|
135
|
+
* when `trafficType`==`custom`. enum: `bestEffort`, `high`, `low`, `medium`
|
|
136
|
+
*/
|
|
137
|
+
trafficClass?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* values from `/api/v1/consts/traffic_types`
|
|
140
|
+
*/
|
|
141
|
+
trafficType?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* enum: `appCategories`, `apps`, `custom`, `urls`
|
|
144
|
+
*/
|
|
145
|
+
type?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* when `type`==`urls`, no need for spec as URL can encode the ports being used
|
|
148
|
+
*/
|
|
149
|
+
urls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* The set of arguments for constructing a Service resource.
|
|
153
|
+
*/
|
|
154
|
+
export interface ServiceArgs {
|
|
155
|
+
/**
|
|
156
|
+
* if `type`==`custom`, ip subnets (e.g. 10.0.0.0/8)
|
|
157
|
+
*/
|
|
158
|
+
addresses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
159
|
+
/**
|
|
160
|
+
* when `type`==`appCategories`, list of application categories are available through /api/v1/const/app_categories
|
|
161
|
+
*/
|
|
162
|
+
appCategories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
163
|
+
/**
|
|
164
|
+
* when `type`==`appCategories`, list of application categories are available through /api/v1/const/app_subcategories
|
|
165
|
+
*/
|
|
166
|
+
appSubcategories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
167
|
+
/**
|
|
168
|
+
* when `type`==`apps`, list of applications are available through: * /api/v1/const/applications *
|
|
169
|
+
* /api/v1/const/gateway_applications * /insight/top_app_by-bytes?wired=true
|
|
170
|
+
*/
|
|
171
|
+
apps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
172
|
+
description?: pulumi.Input<string>;
|
|
173
|
+
dscp?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* enum: `nonRevertable`, `none`, `revertable`
|
|
176
|
+
*/
|
|
177
|
+
failoverPolicy?: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* if `type`==`custom`, web filtering
|
|
180
|
+
*/
|
|
181
|
+
hostnames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
182
|
+
maxJitter?: pulumi.Input<string>;
|
|
183
|
+
maxLatency?: pulumi.Input<string>;
|
|
184
|
+
maxLoss?: pulumi.Input<string>;
|
|
185
|
+
name?: pulumi.Input<string>;
|
|
186
|
+
orgId: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* whether to enable measure SLE
|
|
189
|
+
*/
|
|
190
|
+
sleEnabled?: pulumi.Input<boolean>;
|
|
191
|
+
/**
|
|
192
|
+
* when `type`==`custom`, optional, if it doesn't exist, http and https is assumed
|
|
193
|
+
*/
|
|
194
|
+
specs?: pulumi.Input<pulumi.Input<inputs.org.ServiceSpec>[]>;
|
|
195
|
+
ssrRelaxedTcpStateEnforcement?: pulumi.Input<boolean>;
|
|
196
|
+
/**
|
|
197
|
+
* when `trafficType`==`custom`. enum: `bestEffort`, `high`, `low`, `medium`
|
|
198
|
+
*/
|
|
199
|
+
trafficClass?: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* values from `/api/v1/consts/traffic_types`
|
|
202
|
+
*/
|
|
203
|
+
trafficType?: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* enum: `appCategories`, `apps`, `custom`, `urls`
|
|
206
|
+
*/
|
|
207
|
+
type?: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* when `type`==`urls`, no need for spec as URL can encode the ports being used
|
|
210
|
+
*/
|
|
211
|
+
urls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
212
|
+
}
|
package/org/service.js
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Service = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource manages WAN Assurance Services (Applications).The Services are used in the `servicePolicies` from the Gateway configuration and Gateway templates, or can be used in the Org Service Policies (`orgServicepolicy` resource).
|
|
10
|
+
*/
|
|
11
|
+
class Service extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Service resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new Service(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Service. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === Service.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["addresses"] = state ? state.addresses : undefined;
|
|
40
|
+
resourceInputs["appCategories"] = state ? state.appCategories : undefined;
|
|
41
|
+
resourceInputs["appSubcategories"] = state ? state.appSubcategories : undefined;
|
|
42
|
+
resourceInputs["apps"] = state ? state.apps : undefined;
|
|
43
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
44
|
+
resourceInputs["dscp"] = state ? state.dscp : undefined;
|
|
45
|
+
resourceInputs["failoverPolicy"] = state ? state.failoverPolicy : undefined;
|
|
46
|
+
resourceInputs["hostnames"] = state ? state.hostnames : undefined;
|
|
47
|
+
resourceInputs["maxJitter"] = state ? state.maxJitter : undefined;
|
|
48
|
+
resourceInputs["maxLatency"] = state ? state.maxLatency : undefined;
|
|
49
|
+
resourceInputs["maxLoss"] = state ? state.maxLoss : undefined;
|
|
50
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
51
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
52
|
+
resourceInputs["sleEnabled"] = state ? state.sleEnabled : undefined;
|
|
53
|
+
resourceInputs["specs"] = state ? state.specs : undefined;
|
|
54
|
+
resourceInputs["ssrRelaxedTcpStateEnforcement"] = state ? state.ssrRelaxedTcpStateEnforcement : undefined;
|
|
55
|
+
resourceInputs["trafficClass"] = state ? state.trafficClass : undefined;
|
|
56
|
+
resourceInputs["trafficType"] = state ? state.trafficType : undefined;
|
|
57
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
58
|
+
resourceInputs["urls"] = state ? state.urls : undefined;
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
const args = argsOrState;
|
|
62
|
+
if ((!args || args.orgId === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'orgId'");
|
|
64
|
+
}
|
|
65
|
+
resourceInputs["addresses"] = args ? args.addresses : undefined;
|
|
66
|
+
resourceInputs["appCategories"] = args ? args.appCategories : undefined;
|
|
67
|
+
resourceInputs["appSubcategories"] = args ? args.appSubcategories : undefined;
|
|
68
|
+
resourceInputs["apps"] = args ? args.apps : undefined;
|
|
69
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
70
|
+
resourceInputs["dscp"] = args ? args.dscp : undefined;
|
|
71
|
+
resourceInputs["failoverPolicy"] = args ? args.failoverPolicy : undefined;
|
|
72
|
+
resourceInputs["hostnames"] = args ? args.hostnames : undefined;
|
|
73
|
+
resourceInputs["maxJitter"] = args ? args.maxJitter : undefined;
|
|
74
|
+
resourceInputs["maxLatency"] = args ? args.maxLatency : undefined;
|
|
75
|
+
resourceInputs["maxLoss"] = args ? args.maxLoss : undefined;
|
|
76
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
77
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
78
|
+
resourceInputs["sleEnabled"] = args ? args.sleEnabled : undefined;
|
|
79
|
+
resourceInputs["specs"] = args ? args.specs : undefined;
|
|
80
|
+
resourceInputs["ssrRelaxedTcpStateEnforcement"] = args ? args.ssrRelaxedTcpStateEnforcement : undefined;
|
|
81
|
+
resourceInputs["trafficClass"] = args ? args.trafficClass : undefined;
|
|
82
|
+
resourceInputs["trafficType"] = args ? args.trafficType : undefined;
|
|
83
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
84
|
+
resourceInputs["urls"] = args ? args.urls : undefined;
|
|
85
|
+
}
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
+
super(Service.__pulumiType, name, resourceInputs, opts);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.Service = Service;
|
|
91
|
+
/** @internal */
|
|
92
|
+
Service.__pulumiType = 'junipermist:org/service:Service';
|
|
93
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../org/service.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAoED,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAg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AC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,+BAA+B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC,CAAC,SAAS,CAAC;YACxG,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAnJL,0BAoJC;AAtIG,gBAAgB;AACO,oBAAY,GAAG,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource manages WAN Assurance Service Policies (Application Policiess).The Service Policies are used in the `servicepolicyPolicies` from the Gateway configuration and Gateway templates.They can be used to manage common policies betweeen multiples configurations
|
|
6
|
+
*/
|
|
7
|
+
export declare class Servicepolicy extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing Servicepolicy resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServicepolicyState, opts?: pulumi.CustomResourceOptions): Servicepolicy;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of Servicepolicy. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is Servicepolicy;
|
|
23
|
+
/**
|
|
24
|
+
* enum: `allow`, `deny`
|
|
25
|
+
*/
|
|
26
|
+
readonly action: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* For SRX Only
|
|
29
|
+
*/
|
|
30
|
+
readonly appqoe: pulumi.Output<outputs.org.ServicepolicyAppqoe | undefined>;
|
|
31
|
+
readonly ewfs: pulumi.Output<outputs.org.ServicepolicyEwf[] | undefined>;
|
|
32
|
+
readonly idp: pulumi.Output<outputs.org.ServicepolicyIdp | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* access within the same VRF
|
|
35
|
+
*/
|
|
36
|
+
readonly localRouting: pulumi.Output<boolean>;
|
|
37
|
+
readonly name: pulumi.Output<string>;
|
|
38
|
+
readonly orgId: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* by default, we derive all paths available and use them
|
|
41
|
+
* optionally, you can customize by using `pathPreference`
|
|
42
|
+
*/
|
|
43
|
+
readonly pathPreference: pulumi.Output<string | undefined>;
|
|
44
|
+
readonly services: pulumi.Output<string[] | undefined>;
|
|
45
|
+
readonly tenants: pulumi.Output<string[] | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Create a Servicepolicy resource with the given unique name, arguments, and options.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resource.
|
|
50
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
51
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
52
|
+
*/
|
|
53
|
+
constructor(name: string, args: ServicepolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Input properties used for looking up and filtering Servicepolicy resources.
|
|
57
|
+
*/
|
|
58
|
+
export interface ServicepolicyState {
|
|
59
|
+
/**
|
|
60
|
+
* enum: `allow`, `deny`
|
|
61
|
+
*/
|
|
62
|
+
action?: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* For SRX Only
|
|
65
|
+
*/
|
|
66
|
+
appqoe?: pulumi.Input<inputs.org.ServicepolicyAppqoe>;
|
|
67
|
+
ewfs?: pulumi.Input<pulumi.Input<inputs.org.ServicepolicyEwf>[]>;
|
|
68
|
+
idp?: pulumi.Input<inputs.org.ServicepolicyIdp>;
|
|
69
|
+
/**
|
|
70
|
+
* access within the same VRF
|
|
71
|
+
*/
|
|
72
|
+
localRouting?: pulumi.Input<boolean>;
|
|
73
|
+
name?: pulumi.Input<string>;
|
|
74
|
+
orgId?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* by default, we derive all paths available and use them
|
|
77
|
+
* optionally, you can customize by using `pathPreference`
|
|
78
|
+
*/
|
|
79
|
+
pathPreference?: pulumi.Input<string>;
|
|
80
|
+
services?: pulumi.Input<pulumi.Input<string>[]>;
|
|
81
|
+
tenants?: pulumi.Input<pulumi.Input<string>[]>;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* The set of arguments for constructing a Servicepolicy resource.
|
|
85
|
+
*/
|
|
86
|
+
export interface ServicepolicyArgs {
|
|
87
|
+
/**
|
|
88
|
+
* enum: `allow`, `deny`
|
|
89
|
+
*/
|
|
90
|
+
action?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* For SRX Only
|
|
93
|
+
*/
|
|
94
|
+
appqoe?: pulumi.Input<inputs.org.ServicepolicyAppqoe>;
|
|
95
|
+
ewfs?: pulumi.Input<pulumi.Input<inputs.org.ServicepolicyEwf>[]>;
|
|
96
|
+
idp?: pulumi.Input<inputs.org.ServicepolicyIdp>;
|
|
97
|
+
/**
|
|
98
|
+
* access within the same VRF
|
|
99
|
+
*/
|
|
100
|
+
localRouting?: pulumi.Input<boolean>;
|
|
101
|
+
name?: pulumi.Input<string>;
|
|
102
|
+
orgId: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* by default, we derive all paths available and use them
|
|
105
|
+
* optionally, you can customize by using `pathPreference`
|
|
106
|
+
*/
|
|
107
|
+
pathPreference?: pulumi.Input<string>;
|
|
108
|
+
services?: pulumi.Input<pulumi.Input<string>[]>;
|
|
109
|
+
tenants?: pulumi.Input<pulumi.Input<string>[]>;
|
|
110
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Servicepolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource manages WAN Assurance Service Policies (Application Policiess).The Service Policies are used in the `servicepolicyPolicies` from the Gateway configuration and Gateway templates.They can be used to manage common policies betweeen multiples configurations
|
|
10
|
+
*/
|
|
11
|
+
class Servicepolicy extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Servicepolicy resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new Servicepolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Servicepolicy. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === Servicepolicy.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["action"] = state ? state.action : undefined;
|
|
40
|
+
resourceInputs["appqoe"] = state ? state.appqoe : undefined;
|
|
41
|
+
resourceInputs["ewfs"] = state ? state.ewfs : undefined;
|
|
42
|
+
resourceInputs["idp"] = state ? state.idp : undefined;
|
|
43
|
+
resourceInputs["localRouting"] = state ? state.localRouting : undefined;
|
|
44
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
45
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
46
|
+
resourceInputs["pathPreference"] = state ? state.pathPreference : undefined;
|
|
47
|
+
resourceInputs["services"] = state ? state.services : undefined;
|
|
48
|
+
resourceInputs["tenants"] = state ? state.tenants : undefined;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
const args = argsOrState;
|
|
52
|
+
if ((!args || args.orgId === undefined) && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'orgId'");
|
|
54
|
+
}
|
|
55
|
+
resourceInputs["action"] = args ? args.action : undefined;
|
|
56
|
+
resourceInputs["appqoe"] = args ? args.appqoe : undefined;
|
|
57
|
+
resourceInputs["ewfs"] = args ? args.ewfs : undefined;
|
|
58
|
+
resourceInputs["idp"] = args ? args.idp : undefined;
|
|
59
|
+
resourceInputs["localRouting"] = args ? args.localRouting : undefined;
|
|
60
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
61
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
62
|
+
resourceInputs["pathPreference"] = args ? args.pathPreference : undefined;
|
|
63
|
+
resourceInputs["services"] = args ? args.services : undefined;
|
|
64
|
+
resourceInputs["tenants"] = args ? args.tenants : undefined;
|
|
65
|
+
}
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
|
+
super(Servicepolicy.__pulumiType, name, resourceInputs, opts);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.Servicepolicy = Servicepolicy;
|
|
71
|
+
/** @internal */
|
|
72
|
+
Servicepolicy.__pulumiType = 'junipermist:org/servicepolicy:Servicepolicy';
|
|
73
|
+
//# sourceMappingURL=servicepolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"servicepolicy.js","sourceRoot":"","sources":["../../org/servicepolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EA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