@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
|
@@ -0,0 +1,260 @@
|
|
|
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 the Site Network configuration (Switch configuration).The Site Network template can be used to override the Org Network template assign to the site, or to configure common switch settings accross the site without having to create an Org Network template.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Networktemplate extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing Networktemplate 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?: NetworktemplateState, opts?: pulumi.CustomResourceOptions): Networktemplate;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of Networktemplate. 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 Networktemplate;
|
|
23
|
+
readonly aclPolicies: pulumi.Output<outputs.site.NetworktemplateAclPolicy[] | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* ACL Tags to identify traffic source or destination. Key name is the tag name
|
|
26
|
+
*/
|
|
27
|
+
readonly aclTags: pulumi.Output<{
|
|
28
|
+
[key: string]: outputs.site.NetworktemplateAclTags;
|
|
29
|
+
} | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* additional CLI commands to append to the generated Junos config **Note**: no check is done
|
|
32
|
+
*/
|
|
33
|
+
readonly additionalConfigCmds: pulumi.Output<string[] | undefined>;
|
|
34
|
+
readonly dhcpSnooping: pulumi.Output<outputs.site.NetworktemplateDhcpSnooping | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Global dns settings. To keep compatibility, dns settings in `ipConfig` and `oobIpConfig` will overwrite this setting
|
|
37
|
+
*/
|
|
38
|
+
readonly dnsServers: pulumi.Output<string[] | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* Global dns settings. To keep compatibility, dns settings in `ipConfig` and `oobIpConfig` will overwrite this setting
|
|
41
|
+
*/
|
|
42
|
+
readonly dnsSuffixes: pulumi.Output<string[] | undefined>;
|
|
43
|
+
readonly extraRoutes: pulumi.Output<{
|
|
44
|
+
[key: string]: outputs.site.NetworktemplateExtraRoutes;
|
|
45
|
+
} | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64")
|
|
48
|
+
*/
|
|
49
|
+
readonly extraRoutes6: pulumi.Output<{
|
|
50
|
+
[key: string]: outputs.site.NetworktemplateExtraRoutes6;
|
|
51
|
+
} | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* enable mistNac to use radsec
|
|
54
|
+
*/
|
|
55
|
+
readonly mistNac: pulumi.Output<outputs.site.NetworktemplateMistNac | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* Property key is network name
|
|
58
|
+
*/
|
|
59
|
+
readonly networks: pulumi.Output<{
|
|
60
|
+
[key: string]: outputs.site.NetworktemplateNetworks;
|
|
61
|
+
} | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* list of NTP servers
|
|
64
|
+
*/
|
|
65
|
+
readonly ntpServers: pulumi.Output<string[] | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Property key is the port mirroring instance name portMirroring can be added under device/site settings. It takes
|
|
68
|
+
* interface and ports as input for ingress, interface as input for egress and can take interface and port as output.
|
|
69
|
+
*/
|
|
70
|
+
readonly portMirroring: pulumi.Output<{
|
|
71
|
+
[key: string]: outputs.site.NetworktemplatePortMirroring;
|
|
72
|
+
} | undefined>;
|
|
73
|
+
readonly portUsages: pulumi.Output<{
|
|
74
|
+
[key: string]: outputs.site.NetworktemplatePortUsages;
|
|
75
|
+
} | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* Junos Radius config
|
|
78
|
+
*/
|
|
79
|
+
readonly radiusConfig: pulumi.Output<outputs.site.NetworktemplateRadiusConfig | undefined>;
|
|
80
|
+
readonly remoteSyslog: pulumi.Output<outputs.site.NetworktemplateRemoteSyslog | undefined>;
|
|
81
|
+
readonly siteId: pulumi.Output<string>;
|
|
82
|
+
readonly snmpConfig: pulumi.Output<outputs.site.NetworktemplateSnmpConfig | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* Switch template
|
|
85
|
+
*/
|
|
86
|
+
readonly switchMatching: pulumi.Output<outputs.site.NetworktemplateSwitchMatching | undefined>;
|
|
87
|
+
readonly switchMgmt: pulumi.Output<outputs.site.NetworktemplateSwitchMgmt | undefined>;
|
|
88
|
+
readonly uplinkPortConfig: pulumi.Output<outputs.site.NetworktemplateUplinkPortConfig | undefined>;
|
|
89
|
+
readonly vrfConfig: pulumi.Output<outputs.site.NetworktemplateVrfConfig | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* Property key is the network name
|
|
92
|
+
*/
|
|
93
|
+
readonly vrfInstances: pulumi.Output<{
|
|
94
|
+
[key: string]: outputs.site.NetworktemplateVrfInstances;
|
|
95
|
+
} | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* Create a Networktemplate resource with the given unique name, arguments, and options.
|
|
98
|
+
*
|
|
99
|
+
* @param name The _unique_ name of the resource.
|
|
100
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
101
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
102
|
+
*/
|
|
103
|
+
constructor(name: string, args?: NetworktemplateArgs, opts?: pulumi.CustomResourceOptions);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Input properties used for looking up and filtering Networktemplate resources.
|
|
107
|
+
*/
|
|
108
|
+
export interface NetworktemplateState {
|
|
109
|
+
aclPolicies?: pulumi.Input<pulumi.Input<inputs.site.NetworktemplateAclPolicy>[]>;
|
|
110
|
+
/**
|
|
111
|
+
* ACL Tags to identify traffic source or destination. Key name is the tag name
|
|
112
|
+
*/
|
|
113
|
+
aclTags?: pulumi.Input<{
|
|
114
|
+
[key: string]: pulumi.Input<inputs.site.NetworktemplateAclTags>;
|
|
115
|
+
}>;
|
|
116
|
+
/**
|
|
117
|
+
* additional CLI commands to append to the generated Junos config **Note**: no check is done
|
|
118
|
+
*/
|
|
119
|
+
additionalConfigCmds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
120
|
+
dhcpSnooping?: pulumi.Input<inputs.site.NetworktemplateDhcpSnooping>;
|
|
121
|
+
/**
|
|
122
|
+
* Global dns settings. To keep compatibility, dns settings in `ipConfig` and `oobIpConfig` will overwrite this setting
|
|
123
|
+
*/
|
|
124
|
+
dnsServers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
125
|
+
/**
|
|
126
|
+
* Global dns settings. To keep compatibility, dns settings in `ipConfig` and `oobIpConfig` will overwrite this setting
|
|
127
|
+
*/
|
|
128
|
+
dnsSuffixes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
129
|
+
extraRoutes?: pulumi.Input<{
|
|
130
|
+
[key: string]: pulumi.Input<inputs.site.NetworktemplateExtraRoutes>;
|
|
131
|
+
}>;
|
|
132
|
+
/**
|
|
133
|
+
* Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64")
|
|
134
|
+
*/
|
|
135
|
+
extraRoutes6?: pulumi.Input<{
|
|
136
|
+
[key: string]: pulumi.Input<inputs.site.NetworktemplateExtraRoutes6>;
|
|
137
|
+
}>;
|
|
138
|
+
/**
|
|
139
|
+
* enable mistNac to use radsec
|
|
140
|
+
*/
|
|
141
|
+
mistNac?: pulumi.Input<inputs.site.NetworktemplateMistNac>;
|
|
142
|
+
/**
|
|
143
|
+
* Property key is network name
|
|
144
|
+
*/
|
|
145
|
+
networks?: pulumi.Input<{
|
|
146
|
+
[key: string]: pulumi.Input<inputs.site.NetworktemplateNetworks>;
|
|
147
|
+
}>;
|
|
148
|
+
/**
|
|
149
|
+
* list of NTP servers
|
|
150
|
+
*/
|
|
151
|
+
ntpServers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
152
|
+
/**
|
|
153
|
+
* Property key is the port mirroring instance name portMirroring can be added under device/site settings. It takes
|
|
154
|
+
* interface and ports as input for ingress, interface as input for egress and can take interface and port as output.
|
|
155
|
+
*/
|
|
156
|
+
portMirroring?: pulumi.Input<{
|
|
157
|
+
[key: string]: pulumi.Input<inputs.site.NetworktemplatePortMirroring>;
|
|
158
|
+
}>;
|
|
159
|
+
portUsages?: pulumi.Input<{
|
|
160
|
+
[key: string]: pulumi.Input<inputs.site.NetworktemplatePortUsages>;
|
|
161
|
+
}>;
|
|
162
|
+
/**
|
|
163
|
+
* Junos Radius config
|
|
164
|
+
*/
|
|
165
|
+
radiusConfig?: pulumi.Input<inputs.site.NetworktemplateRadiusConfig>;
|
|
166
|
+
remoteSyslog?: pulumi.Input<inputs.site.NetworktemplateRemoteSyslog>;
|
|
167
|
+
siteId?: pulumi.Input<string>;
|
|
168
|
+
snmpConfig?: pulumi.Input<inputs.site.NetworktemplateSnmpConfig>;
|
|
169
|
+
/**
|
|
170
|
+
* Switch template
|
|
171
|
+
*/
|
|
172
|
+
switchMatching?: pulumi.Input<inputs.site.NetworktemplateSwitchMatching>;
|
|
173
|
+
switchMgmt?: pulumi.Input<inputs.site.NetworktemplateSwitchMgmt>;
|
|
174
|
+
uplinkPortConfig?: pulumi.Input<inputs.site.NetworktemplateUplinkPortConfig>;
|
|
175
|
+
vrfConfig?: pulumi.Input<inputs.site.NetworktemplateVrfConfig>;
|
|
176
|
+
/**
|
|
177
|
+
* Property key is the network name
|
|
178
|
+
*/
|
|
179
|
+
vrfInstances?: pulumi.Input<{
|
|
180
|
+
[key: string]: pulumi.Input<inputs.site.NetworktemplateVrfInstances>;
|
|
181
|
+
}>;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* The set of arguments for constructing a Networktemplate resource.
|
|
185
|
+
*/
|
|
186
|
+
export interface NetworktemplateArgs {
|
|
187
|
+
aclPolicies?: pulumi.Input<pulumi.Input<inputs.site.NetworktemplateAclPolicy>[]>;
|
|
188
|
+
/**
|
|
189
|
+
* ACL Tags to identify traffic source or destination. Key name is the tag name
|
|
190
|
+
*/
|
|
191
|
+
aclTags?: pulumi.Input<{
|
|
192
|
+
[key: string]: pulumi.Input<inputs.site.NetworktemplateAclTags>;
|
|
193
|
+
}>;
|
|
194
|
+
/**
|
|
195
|
+
* additional CLI commands to append to the generated Junos config **Note**: no check is done
|
|
196
|
+
*/
|
|
197
|
+
additionalConfigCmds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
198
|
+
dhcpSnooping?: pulumi.Input<inputs.site.NetworktemplateDhcpSnooping>;
|
|
199
|
+
/**
|
|
200
|
+
* Global dns settings. To keep compatibility, dns settings in `ipConfig` and `oobIpConfig` will overwrite this setting
|
|
201
|
+
*/
|
|
202
|
+
dnsServers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
203
|
+
/**
|
|
204
|
+
* Global dns settings. To keep compatibility, dns settings in `ipConfig` and `oobIpConfig` will overwrite this setting
|
|
205
|
+
*/
|
|
206
|
+
dnsSuffixes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
207
|
+
extraRoutes?: pulumi.Input<{
|
|
208
|
+
[key: string]: pulumi.Input<inputs.site.NetworktemplateExtraRoutes>;
|
|
209
|
+
}>;
|
|
210
|
+
/**
|
|
211
|
+
* Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64")
|
|
212
|
+
*/
|
|
213
|
+
extraRoutes6?: pulumi.Input<{
|
|
214
|
+
[key: string]: pulumi.Input<inputs.site.NetworktemplateExtraRoutes6>;
|
|
215
|
+
}>;
|
|
216
|
+
/**
|
|
217
|
+
* enable mistNac to use radsec
|
|
218
|
+
*/
|
|
219
|
+
mistNac?: pulumi.Input<inputs.site.NetworktemplateMistNac>;
|
|
220
|
+
/**
|
|
221
|
+
* Property key is network name
|
|
222
|
+
*/
|
|
223
|
+
networks?: pulumi.Input<{
|
|
224
|
+
[key: string]: pulumi.Input<inputs.site.NetworktemplateNetworks>;
|
|
225
|
+
}>;
|
|
226
|
+
/**
|
|
227
|
+
* list of NTP servers
|
|
228
|
+
*/
|
|
229
|
+
ntpServers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
230
|
+
/**
|
|
231
|
+
* Property key is the port mirroring instance name portMirroring can be added under device/site settings. It takes
|
|
232
|
+
* interface and ports as input for ingress, interface as input for egress and can take interface and port as output.
|
|
233
|
+
*/
|
|
234
|
+
portMirroring?: pulumi.Input<{
|
|
235
|
+
[key: string]: pulumi.Input<inputs.site.NetworktemplatePortMirroring>;
|
|
236
|
+
}>;
|
|
237
|
+
portUsages?: pulumi.Input<{
|
|
238
|
+
[key: string]: pulumi.Input<inputs.site.NetworktemplatePortUsages>;
|
|
239
|
+
}>;
|
|
240
|
+
/**
|
|
241
|
+
* Junos Radius config
|
|
242
|
+
*/
|
|
243
|
+
radiusConfig?: pulumi.Input<inputs.site.NetworktemplateRadiusConfig>;
|
|
244
|
+
remoteSyslog?: pulumi.Input<inputs.site.NetworktemplateRemoteSyslog>;
|
|
245
|
+
siteId?: pulumi.Input<string>;
|
|
246
|
+
snmpConfig?: pulumi.Input<inputs.site.NetworktemplateSnmpConfig>;
|
|
247
|
+
/**
|
|
248
|
+
* Switch template
|
|
249
|
+
*/
|
|
250
|
+
switchMatching?: pulumi.Input<inputs.site.NetworktemplateSwitchMatching>;
|
|
251
|
+
switchMgmt?: pulumi.Input<inputs.site.NetworktemplateSwitchMgmt>;
|
|
252
|
+
uplinkPortConfig?: pulumi.Input<inputs.site.NetworktemplateUplinkPortConfig>;
|
|
253
|
+
vrfConfig?: pulumi.Input<inputs.site.NetworktemplateVrfConfig>;
|
|
254
|
+
/**
|
|
255
|
+
* Property key is the network name
|
|
256
|
+
*/
|
|
257
|
+
vrfInstances?: pulumi.Input<{
|
|
258
|
+
[key: string]: pulumi.Input<inputs.site.NetworktemplateVrfInstances>;
|
|
259
|
+
}>;
|
|
260
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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.Networktemplate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource manages the Site Network configuration (Switch configuration).The Site Network template can be used to override the Org Network template assign to the site, or to configure common switch settings accross the site without having to create an Org Network template.
|
|
10
|
+
*/
|
|
11
|
+
class Networktemplate extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Networktemplate 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 Networktemplate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Networktemplate. 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'] === Networktemplate.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["aclPolicies"] = state ? state.aclPolicies : undefined;
|
|
40
|
+
resourceInputs["aclTags"] = state ? state.aclTags : undefined;
|
|
41
|
+
resourceInputs["additionalConfigCmds"] = state ? state.additionalConfigCmds : undefined;
|
|
42
|
+
resourceInputs["dhcpSnooping"] = state ? state.dhcpSnooping : undefined;
|
|
43
|
+
resourceInputs["dnsServers"] = state ? state.dnsServers : undefined;
|
|
44
|
+
resourceInputs["dnsSuffixes"] = state ? state.dnsSuffixes : undefined;
|
|
45
|
+
resourceInputs["extraRoutes"] = state ? state.extraRoutes : undefined;
|
|
46
|
+
resourceInputs["extraRoutes6"] = state ? state.extraRoutes6 : undefined;
|
|
47
|
+
resourceInputs["mistNac"] = state ? state.mistNac : undefined;
|
|
48
|
+
resourceInputs["networks"] = state ? state.networks : undefined;
|
|
49
|
+
resourceInputs["ntpServers"] = state ? state.ntpServers : undefined;
|
|
50
|
+
resourceInputs["portMirroring"] = state ? state.portMirroring : undefined;
|
|
51
|
+
resourceInputs["portUsages"] = state ? state.portUsages : undefined;
|
|
52
|
+
resourceInputs["radiusConfig"] = state ? state.radiusConfig : undefined;
|
|
53
|
+
resourceInputs["remoteSyslog"] = state ? state.remoteSyslog : undefined;
|
|
54
|
+
resourceInputs["siteId"] = state ? state.siteId : undefined;
|
|
55
|
+
resourceInputs["snmpConfig"] = state ? state.snmpConfig : undefined;
|
|
56
|
+
resourceInputs["switchMatching"] = state ? state.switchMatching : undefined;
|
|
57
|
+
resourceInputs["switchMgmt"] = state ? state.switchMgmt : undefined;
|
|
58
|
+
resourceInputs["uplinkPortConfig"] = state ? state.uplinkPortConfig : undefined;
|
|
59
|
+
resourceInputs["vrfConfig"] = state ? state.vrfConfig : undefined;
|
|
60
|
+
resourceInputs["vrfInstances"] = state ? state.vrfInstances : undefined;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
const args = argsOrState;
|
|
64
|
+
resourceInputs["aclPolicies"] = args ? args.aclPolicies : undefined;
|
|
65
|
+
resourceInputs["aclTags"] = args ? args.aclTags : undefined;
|
|
66
|
+
resourceInputs["additionalConfigCmds"] = args ? args.additionalConfigCmds : undefined;
|
|
67
|
+
resourceInputs["dhcpSnooping"] = args ? args.dhcpSnooping : undefined;
|
|
68
|
+
resourceInputs["dnsServers"] = args ? args.dnsServers : undefined;
|
|
69
|
+
resourceInputs["dnsSuffixes"] = args ? args.dnsSuffixes : undefined;
|
|
70
|
+
resourceInputs["extraRoutes"] = args ? args.extraRoutes : undefined;
|
|
71
|
+
resourceInputs["extraRoutes6"] = args ? args.extraRoutes6 : undefined;
|
|
72
|
+
resourceInputs["mistNac"] = args ? args.mistNac : undefined;
|
|
73
|
+
resourceInputs["networks"] = args ? args.networks : undefined;
|
|
74
|
+
resourceInputs["ntpServers"] = args ? args.ntpServers : undefined;
|
|
75
|
+
resourceInputs["portMirroring"] = args ? args.portMirroring : undefined;
|
|
76
|
+
resourceInputs["portUsages"] = args ? args.portUsages : undefined;
|
|
77
|
+
resourceInputs["radiusConfig"] = args ? args.radiusConfig : undefined;
|
|
78
|
+
resourceInputs["remoteSyslog"] = args ? args.remoteSyslog : undefined;
|
|
79
|
+
resourceInputs["siteId"] = args ? args.siteId : undefined;
|
|
80
|
+
resourceInputs["snmpConfig"] = args ? args.snmpConfig : undefined;
|
|
81
|
+
resourceInputs["switchMatching"] = args ? args.switchMatching : undefined;
|
|
82
|
+
resourceInputs["switchMgmt"] = args ? args.switchMgmt : undefined;
|
|
83
|
+
resourceInputs["uplinkPortConfig"] = args ? args.uplinkPortConfig : undefined;
|
|
84
|
+
resourceInputs["vrfConfig"] = args ? args.vrfConfig : undefined;
|
|
85
|
+
resourceInputs["vrfInstances"] = args ? args.vrfInstances : undefined;
|
|
86
|
+
}
|
|
87
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
|
+
super(Networktemplate.__pulumiType, name, resourceInputs, opts);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.Networktemplate = Networktemplate;
|
|
92
|
+
/** @internal */
|
|
93
|
+
Networktemplate.__pulumiType = 'junipermist:site/networktemplate:Networktemplate';
|
|
94
|
+
//# sourceMappingURL=networktemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networktemplate.js","sourceRoot":"","sources":["../../site/networktemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAsED,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CA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