pulumi-juniper-mist 0.7.1__py3-none-any.whl → 0.7.2__py3-none-any.whl
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.
- pulumi_juniper_mist/_inputs.py +25 -0
- pulumi_juniper_mist/device/_inputs.py +606 -28
- pulumi_juniper_mist/device/get_ap_stats.py +38 -14
- pulumi_juniper_mist/device/get_gateway_stats.py +20 -20
- pulumi_juniper_mist/device/get_switch_stats.py +20 -20
- pulumi_juniper_mist/device/outputs.py +1370 -122
- pulumi_juniper_mist/device/switch.py +81 -0
- pulumi_juniper_mist/org/_inputs.py +710 -41
- pulumi_juniper_mist/org/nactag.py +7 -7
- pulumi_juniper_mist/org/networktemplate.py +81 -0
- pulumi_juniper_mist/org/outputs.py +746 -70
- pulumi_juniper_mist/org/wlan.py +7 -7
- pulumi_juniper_mist/outputs.py +14 -0
- pulumi_juniper_mist/pulumi-plugin.json +1 -1
- pulumi_juniper_mist/site/_inputs.py +389 -4
- pulumi_juniper_mist/site/networktemplate.py +47 -0
- pulumi_juniper_mist/site/outputs.py +429 -18
- pulumi_juniper_mist/site/wlan.py +7 -7
- pulumi_juniper_mist/upgrade_device.py +120 -0
- {pulumi_juniper_mist-0.7.1.dist-info → pulumi_juniper_mist-0.7.2.dist-info}/METADATA +1 -1
- {pulumi_juniper_mist-0.7.1.dist-info → pulumi_juniper_mist-0.7.2.dist-info}/RECORD +23 -23
- {pulumi_juniper_mist-0.7.1.dist-info → pulumi_juniper_mist-0.7.2.dist-info}/WHEEL +0 -0
- {pulumi_juniper_mist-0.7.1.dist-info → pulumi_juniper_mist-0.7.2.dist-info}/top_level.txt +0 -0
|
@@ -223,6 +223,10 @@ __all__ = [
|
|
|
223
223
|
'SwitchAclTagsArgsDict',
|
|
224
224
|
'SwitchAclTagsSpecArgs',
|
|
225
225
|
'SwitchAclTagsSpecArgsDict',
|
|
226
|
+
'SwitchBgpConfigArgs',
|
|
227
|
+
'SwitchBgpConfigArgsDict',
|
|
228
|
+
'SwitchBgpConfigNeighborsArgs',
|
|
229
|
+
'SwitchBgpConfigNeighborsArgsDict',
|
|
226
230
|
'SwitchDhcpSnoopingArgs',
|
|
227
231
|
'SwitchDhcpSnoopingArgsDict',
|
|
228
232
|
'SwitchDhcpdConfigArgs',
|
|
@@ -305,6 +309,14 @@ __all__ = [
|
|
|
305
309
|
'SwitchRemoteSyslogUserArgsDict',
|
|
306
310
|
'SwitchRemoteSyslogUserContentArgs',
|
|
307
311
|
'SwitchRemoteSyslogUserContentArgsDict',
|
|
312
|
+
'SwitchRoutingPoliciesArgs',
|
|
313
|
+
'SwitchRoutingPoliciesArgsDict',
|
|
314
|
+
'SwitchRoutingPoliciesTermArgs',
|
|
315
|
+
'SwitchRoutingPoliciesTermArgsDict',
|
|
316
|
+
'SwitchRoutingPoliciesTermActionsArgs',
|
|
317
|
+
'SwitchRoutingPoliciesTermActionsArgsDict',
|
|
318
|
+
'SwitchRoutingPoliciesTermMatchingArgs',
|
|
319
|
+
'SwitchRoutingPoliciesTermMatchingArgsDict',
|
|
308
320
|
'SwitchSnmpConfigArgs',
|
|
309
321
|
'SwitchSnmpConfigArgsDict',
|
|
310
322
|
'SwitchSnmpConfigClientListArgs',
|
|
@@ -1795,9 +1807,9 @@ if not MYPY:
|
|
|
1795
1807
|
* if vlan_id is not specified then it will use first one in vlan_ids[] of the mxtunnel.
|
|
1796
1808
|
* if forwarding == site_mxedge, vlan_ids comes from site_mxedge (`mxtunnels` under site setting)
|
|
1797
1809
|
"""
|
|
1798
|
-
vlan_ids: NotRequired[pulumi.Input[
|
|
1810
|
+
vlan_ids: NotRequired[pulumi.Input[_builtins.str]]
|
|
1799
1811
|
"""
|
|
1800
|
-
If `forwarding`==`limited
|
|
1812
|
+
If `forwarding`==`limited`, comma separated list of additional vlan ids allowed on this port
|
|
1801
1813
|
"""
|
|
1802
1814
|
wxtunnel_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
1803
1815
|
"""
|
|
@@ -1827,7 +1839,7 @@ class ApPortConfigArgs:
|
|
|
1827
1839
|
radius_config: Optional[pulumi.Input['ApPortConfigRadiusConfigArgs']] = None,
|
|
1828
1840
|
radsec: Optional[pulumi.Input['ApPortConfigRadsecArgs']] = None,
|
|
1829
1841
|
vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1830
|
-
vlan_ids: Optional[pulumi.Input[
|
|
1842
|
+
vlan_ids: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1831
1843
|
wxtunnel_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1832
1844
|
wxtunnel_remote_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1833
1845
|
"""
|
|
@@ -1849,7 +1861,7 @@ class ApPortConfigArgs:
|
|
|
1849
1861
|
:param pulumi.Input[_builtins.int] vlan_id: Optional to specify the vlan id for a tunnel if forwarding is for `wxtunnel`, `mxtunnel` or `site_mxedge`.
|
|
1850
1862
|
* if vlan_id is not specified then it will use first one in vlan_ids[] of the mxtunnel.
|
|
1851
1863
|
* if forwarding == site_mxedge, vlan_ids comes from site_mxedge (`mxtunnels` under site setting)
|
|
1852
|
-
:param pulumi.Input[
|
|
1864
|
+
:param pulumi.Input[_builtins.str] vlan_ids: If `forwarding`==`limited`, comma separated list of additional vlan ids allowed on this port
|
|
1853
1865
|
:param pulumi.Input[_builtins.str] wxtunnel_id: If `forwarding`==`wxtunnel`, the port is bridged to the vlan of the session
|
|
1854
1866
|
:param pulumi.Input[_builtins.str] wxtunnel_remote_id: If `forwarding`==`wxtunnel`, the port is bridged to the vlan of the session
|
|
1855
1867
|
"""
|
|
@@ -2056,14 +2068,14 @@ class ApPortConfigArgs:
|
|
|
2056
2068
|
|
|
2057
2069
|
@_builtins.property
|
|
2058
2070
|
@pulumi.getter(name="vlanIds")
|
|
2059
|
-
def vlan_ids(self) -> Optional[pulumi.Input[
|
|
2071
|
+
def vlan_ids(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2060
2072
|
"""
|
|
2061
|
-
If `forwarding`==`limited
|
|
2073
|
+
If `forwarding`==`limited`, comma separated list of additional vlan ids allowed on this port
|
|
2062
2074
|
"""
|
|
2063
2075
|
return pulumi.get(self, "vlan_ids")
|
|
2064
2076
|
|
|
2065
2077
|
@vlan_ids.setter
|
|
2066
|
-
def vlan_ids(self, value: Optional[pulumi.Input[
|
|
2078
|
+
def vlan_ids(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2067
2079
|
pulumi.set(self, "vlan_ids", value)
|
|
2068
2080
|
|
|
2069
2081
|
@_builtins.property
|
|
@@ -3071,7 +3083,7 @@ if not MYPY:
|
|
|
3071
3083
|
"""
|
|
3072
3084
|
antenna_select: NotRequired[pulumi.Input[_builtins.str]]
|
|
3073
3085
|
"""
|
|
3074
|
-
Antenna Mode for AP which supports selectable antennas. enum: `external`, `internal`
|
|
3086
|
+
Antenna Mode for AP which supports selectable antennas. enum: `""` (default), `external`, `internal`
|
|
3075
3087
|
"""
|
|
3076
3088
|
band24: NotRequired[pulumi.Input['ApRadioConfigBand24ArgsDict']]
|
|
3077
3089
|
"""
|
|
@@ -3135,7 +3147,7 @@ class ApRadioConfigArgs:
|
|
|
3135
3147
|
:param pulumi.Input[_builtins.int] ant_gain5: Antenna gain for 5G - for models with external antenna only
|
|
3136
3148
|
:param pulumi.Input[_builtins.int] ant_gain6: Antenna gain for 6G - for models with external antenna only
|
|
3137
3149
|
:param pulumi.Input[_builtins.str] antenna_mode: enum: `1x1`, `2x2`, `3x3`, `4x4`, `default`
|
|
3138
|
-
:param pulumi.Input[_builtins.str] antenna_select: Antenna Mode for AP which supports selectable antennas. enum: `external`, `internal`
|
|
3150
|
+
:param pulumi.Input[_builtins.str] antenna_select: Antenna Mode for AP which supports selectable antennas. enum: `""` (default), `external`, `internal`
|
|
3139
3151
|
:param pulumi.Input['ApRadioConfigBand24Args'] band24: Radio Band AP settings
|
|
3140
3152
|
:param pulumi.Input[_builtins.str] band24_usage: enum: `24`, `5`, `6`, `auto`
|
|
3141
3153
|
:param pulumi.Input['ApRadioConfigBand5Args'] band5: Radio Band AP settings
|
|
@@ -3238,7 +3250,7 @@ class ApRadioConfigArgs:
|
|
|
3238
3250
|
@pulumi.getter(name="antennaSelect")
|
|
3239
3251
|
def antenna_select(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3240
3252
|
"""
|
|
3241
|
-
Antenna Mode for AP which supports selectable antennas. enum: `external`, `internal`
|
|
3253
|
+
Antenna Mode for AP which supports selectable antennas. enum: `""` (default), `external`, `internal`
|
|
3242
3254
|
"""
|
|
3243
3255
|
return pulumi.get(self, "antenna_select")
|
|
3244
3256
|
|
|
@@ -9445,11 +9457,11 @@ if not MYPY:
|
|
|
9445
9457
|
"""
|
|
9446
9458
|
local_preference: NotRequired[pulumi.Input[_builtins.str]]
|
|
9447
9459
|
"""
|
|
9448
|
-
Optional, for an import policy, local_preference can be changed
|
|
9460
|
+
Optional, for an import policy, local_preference can be changed, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}`)
|
|
9449
9461
|
"""
|
|
9450
9462
|
prepend_as_paths: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
9451
9463
|
"""
|
|
9452
|
-
When used as export policy, optional. By default, the local AS will be prepended, to change it
|
|
9464
|
+
When used as export policy, optional. By default, the local AS will be prepended, to change it. Can be a Variable (e.g. `{{as_path}}`)
|
|
9453
9465
|
"""
|
|
9454
9466
|
elif False:
|
|
9455
9467
|
GatewayRoutingPoliciesTermActionsArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -9471,8 +9483,8 @@ class GatewayRoutingPoliciesTermActionsArgs:
|
|
|
9471
9483
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] communities: When used as export policy, optional
|
|
9472
9484
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] exclude_as_paths: When used as export policy, optional. To exclude certain AS
|
|
9473
9485
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] export_communities: When used as export policy, optional
|
|
9474
|
-
:param pulumi.Input[_builtins.str] local_preference: Optional, for an import policy, local_preference can be changed
|
|
9475
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] prepend_as_paths: When used as export policy, optional. By default, the local AS will be prepended, to change it
|
|
9486
|
+
:param pulumi.Input[_builtins.str] local_preference: Optional, for an import policy, local_preference can be changed, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}`)
|
|
9487
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] prepend_as_paths: When used as export policy, optional. By default, the local AS will be prepended, to change it. Can be a Variable (e.g. `{{as_path}}`)
|
|
9476
9488
|
"""
|
|
9477
9489
|
if accept is not None:
|
|
9478
9490
|
pulumi.set(__self__, "accept", accept)
|
|
@@ -9572,7 +9584,7 @@ class GatewayRoutingPoliciesTermActionsArgs:
|
|
|
9572
9584
|
@pulumi.getter(name="localPreference")
|
|
9573
9585
|
def local_preference(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
9574
9586
|
"""
|
|
9575
|
-
Optional, for an import policy, local_preference can be changed
|
|
9587
|
+
Optional, for an import policy, local_preference can be changed, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}`)
|
|
9576
9588
|
"""
|
|
9577
9589
|
return pulumi.get(self, "local_preference")
|
|
9578
9590
|
|
|
@@ -9584,7 +9596,7 @@ class GatewayRoutingPoliciesTermActionsArgs:
|
|
|
9584
9596
|
@pulumi.getter(name="prependAsPaths")
|
|
9585
9597
|
def prepend_as_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
9586
9598
|
"""
|
|
9587
|
-
When used as export policy, optional. By default, the local AS will be prepended, to change it
|
|
9599
|
+
When used as export policy, optional. By default, the local AS will be prepended, to change it. Can be a Variable (e.g. `{{as_path}}`)
|
|
9588
9600
|
"""
|
|
9589
9601
|
return pulumi.get(self, "prepend_as_paths")
|
|
9590
9602
|
|
|
@@ -9597,7 +9609,7 @@ if not MYPY:
|
|
|
9597
9609
|
class GatewayRoutingPoliciesTermMatchingArgsDict(TypedDict):
|
|
9598
9610
|
as_paths: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
9599
9611
|
"""
|
|
9600
|
-
|
|
9612
|
+
BGP AS, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}`)
|
|
9601
9613
|
"""
|
|
9602
9614
|
communities: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
9603
9615
|
networks: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
@@ -9607,7 +9619,7 @@ if not MYPY:
|
|
|
9607
9619
|
"""
|
|
9608
9620
|
protocols: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
9609
9621
|
"""
|
|
9610
|
-
`
|
|
9622
|
+
enum: `aggregate`, `bgp`, `direct`, `ospf`, `static` (SRX Only)
|
|
9611
9623
|
"""
|
|
9612
9624
|
route_exists: NotRequired[pulumi.Input['GatewayRoutingPoliciesTermMatchingRouteExistsArgsDict']]
|
|
9613
9625
|
vpn_neighbor_macs: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
@@ -9635,9 +9647,9 @@ class GatewayRoutingPoliciesTermMatchingArgs:
|
|
|
9635
9647
|
vpn_path_sla: Optional[pulumi.Input['GatewayRoutingPoliciesTermMatchingVpnPathSlaArgs']] = None,
|
|
9636
9648
|
vpn_paths: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
9637
9649
|
"""
|
|
9638
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] as_paths:
|
|
9650
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] as_paths: BGP AS, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}`)
|
|
9639
9651
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] prefixes: zero or more criteria/filter can be specified to match the term, all criteria have to be met
|
|
9640
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] protocols: `
|
|
9652
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] protocols: enum: `aggregate`, `bgp`, `direct`, `ospf`, `static` (SRX Only)
|
|
9641
9653
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] vpn_neighbor_macs: overlay-facing criteria (used for bgp_config where via=vpn)
|
|
9642
9654
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] vpn_paths: overlay-facing criteria (used for bgp_config where via=vpn). ordered-
|
|
9643
9655
|
"""
|
|
@@ -9664,7 +9676,7 @@ class GatewayRoutingPoliciesTermMatchingArgs:
|
|
|
9664
9676
|
@pulumi.getter(name="asPaths")
|
|
9665
9677
|
def as_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
9666
9678
|
"""
|
|
9667
|
-
|
|
9679
|
+
BGP AS, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}`)
|
|
9668
9680
|
"""
|
|
9669
9681
|
return pulumi.get(self, "as_paths")
|
|
9670
9682
|
|
|
@@ -9706,7 +9718,7 @@ class GatewayRoutingPoliciesTermMatchingArgs:
|
|
|
9706
9718
|
@pulumi.getter
|
|
9707
9719
|
def protocols(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
9708
9720
|
"""
|
|
9709
|
-
`
|
|
9721
|
+
enum: `aggregate`, `bgp`, `direct`, `ospf`, `static` (SRX Only)
|
|
9710
9722
|
"""
|
|
9711
9723
|
return pulumi.get(self, "protocols")
|
|
9712
9724
|
|
|
@@ -12875,6 +12887,286 @@ class SwitchAclTagsSpecArgs:
|
|
|
12875
12887
|
pulumi.set(self, "protocol", value)
|
|
12876
12888
|
|
|
12877
12889
|
|
|
12890
|
+
if not MYPY:
|
|
12891
|
+
class SwitchBgpConfigArgsDict(TypedDict):
|
|
12892
|
+
local_as: pulumi.Input[_builtins.str]
|
|
12893
|
+
type: pulumi.Input[_builtins.str]
|
|
12894
|
+
"""
|
|
12895
|
+
enum: `external`, `internal`
|
|
12896
|
+
"""
|
|
12897
|
+
auth_key: NotRequired[pulumi.Input[_builtins.str]]
|
|
12898
|
+
bfd_minimum_interval: NotRequired[pulumi.Input[_builtins.int]]
|
|
12899
|
+
"""
|
|
12900
|
+
Minimum interval in milliseconds for BFD hello packets. A neighbor is considered failed when the device stops receiving replies after the specified interval. Value must be between 1 and 255000.
|
|
12901
|
+
"""
|
|
12902
|
+
export_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
12903
|
+
"""
|
|
12904
|
+
Export policy must match one of the policy names defined in the `routing_policies` property.
|
|
12905
|
+
"""
|
|
12906
|
+
hold_time: NotRequired[pulumi.Input[_builtins.int]]
|
|
12907
|
+
"""
|
|
12908
|
+
Hold time is three times the interval at which keepalive messages are sent. It indicates to the peer the length of time that it should consider the sender valid. Must be 0 or a number in the range 3-65535.
|
|
12909
|
+
"""
|
|
12910
|
+
import_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
12911
|
+
"""
|
|
12912
|
+
Import policy must match one of the policy names defined in the `routing_policies` property.
|
|
12913
|
+
"""
|
|
12914
|
+
neighbors: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['SwitchBgpConfigNeighborsArgsDict']]]]
|
|
12915
|
+
"""
|
|
12916
|
+
Property key is the BGP Neighbor IP Address.
|
|
12917
|
+
"""
|
|
12918
|
+
networks: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
12919
|
+
"""
|
|
12920
|
+
List of network names for BGP configuration. When a network is specified, a BGP group will be added to the VRF that network is part of.
|
|
12921
|
+
"""
|
|
12922
|
+
elif False:
|
|
12923
|
+
SwitchBgpConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
12924
|
+
|
|
12925
|
+
@pulumi.input_type
|
|
12926
|
+
class SwitchBgpConfigArgs:
|
|
12927
|
+
def __init__(__self__, *,
|
|
12928
|
+
local_as: pulumi.Input[_builtins.str],
|
|
12929
|
+
type: pulumi.Input[_builtins.str],
|
|
12930
|
+
auth_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
12931
|
+
bfd_minimum_interval: Optional[pulumi.Input[_builtins.int]] = None,
|
|
12932
|
+
export_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
12933
|
+
hold_time: Optional[pulumi.Input[_builtins.int]] = None,
|
|
12934
|
+
import_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
12935
|
+
neighbors: Optional[pulumi.Input[Mapping[str, pulumi.Input['SwitchBgpConfigNeighborsArgs']]]] = None,
|
|
12936
|
+
networks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
12937
|
+
"""
|
|
12938
|
+
:param pulumi.Input[_builtins.str] type: enum: `external`, `internal`
|
|
12939
|
+
:param pulumi.Input[_builtins.int] bfd_minimum_interval: Minimum interval in milliseconds for BFD hello packets. A neighbor is considered failed when the device stops receiving replies after the specified interval. Value must be between 1 and 255000.
|
|
12940
|
+
:param pulumi.Input[_builtins.str] export_policy: Export policy must match one of the policy names defined in the `routing_policies` property.
|
|
12941
|
+
:param pulumi.Input[_builtins.int] hold_time: Hold time is three times the interval at which keepalive messages are sent. It indicates to the peer the length of time that it should consider the sender valid. Must be 0 or a number in the range 3-65535.
|
|
12942
|
+
:param pulumi.Input[_builtins.str] import_policy: Import policy must match one of the policy names defined in the `routing_policies` property.
|
|
12943
|
+
:param pulumi.Input[Mapping[str, pulumi.Input['SwitchBgpConfigNeighborsArgs']]] neighbors: Property key is the BGP Neighbor IP Address.
|
|
12944
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] networks: List of network names for BGP configuration. When a network is specified, a BGP group will be added to the VRF that network is part of.
|
|
12945
|
+
"""
|
|
12946
|
+
pulumi.set(__self__, "local_as", local_as)
|
|
12947
|
+
pulumi.set(__self__, "type", type)
|
|
12948
|
+
if auth_key is not None:
|
|
12949
|
+
pulumi.set(__self__, "auth_key", auth_key)
|
|
12950
|
+
if bfd_minimum_interval is not None:
|
|
12951
|
+
pulumi.set(__self__, "bfd_minimum_interval", bfd_minimum_interval)
|
|
12952
|
+
if export_policy is not None:
|
|
12953
|
+
pulumi.set(__self__, "export_policy", export_policy)
|
|
12954
|
+
if hold_time is not None:
|
|
12955
|
+
pulumi.set(__self__, "hold_time", hold_time)
|
|
12956
|
+
if import_policy is not None:
|
|
12957
|
+
pulumi.set(__self__, "import_policy", import_policy)
|
|
12958
|
+
if neighbors is not None:
|
|
12959
|
+
pulumi.set(__self__, "neighbors", neighbors)
|
|
12960
|
+
if networks is not None:
|
|
12961
|
+
pulumi.set(__self__, "networks", networks)
|
|
12962
|
+
|
|
12963
|
+
@_builtins.property
|
|
12964
|
+
@pulumi.getter(name="localAs")
|
|
12965
|
+
def local_as(self) -> pulumi.Input[_builtins.str]:
|
|
12966
|
+
return pulumi.get(self, "local_as")
|
|
12967
|
+
|
|
12968
|
+
@local_as.setter
|
|
12969
|
+
def local_as(self, value: pulumi.Input[_builtins.str]):
|
|
12970
|
+
pulumi.set(self, "local_as", value)
|
|
12971
|
+
|
|
12972
|
+
@_builtins.property
|
|
12973
|
+
@pulumi.getter
|
|
12974
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
12975
|
+
"""
|
|
12976
|
+
enum: `external`, `internal`
|
|
12977
|
+
"""
|
|
12978
|
+
return pulumi.get(self, "type")
|
|
12979
|
+
|
|
12980
|
+
@type.setter
|
|
12981
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
12982
|
+
pulumi.set(self, "type", value)
|
|
12983
|
+
|
|
12984
|
+
@_builtins.property
|
|
12985
|
+
@pulumi.getter(name="authKey")
|
|
12986
|
+
def auth_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
12987
|
+
return pulumi.get(self, "auth_key")
|
|
12988
|
+
|
|
12989
|
+
@auth_key.setter
|
|
12990
|
+
def auth_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
12991
|
+
pulumi.set(self, "auth_key", value)
|
|
12992
|
+
|
|
12993
|
+
@_builtins.property
|
|
12994
|
+
@pulumi.getter(name="bfdMinimumInterval")
|
|
12995
|
+
def bfd_minimum_interval(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
12996
|
+
"""
|
|
12997
|
+
Minimum interval in milliseconds for BFD hello packets. A neighbor is considered failed when the device stops receiving replies after the specified interval. Value must be between 1 and 255000.
|
|
12998
|
+
"""
|
|
12999
|
+
return pulumi.get(self, "bfd_minimum_interval")
|
|
13000
|
+
|
|
13001
|
+
@bfd_minimum_interval.setter
|
|
13002
|
+
def bfd_minimum_interval(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
13003
|
+
pulumi.set(self, "bfd_minimum_interval", value)
|
|
13004
|
+
|
|
13005
|
+
@_builtins.property
|
|
13006
|
+
@pulumi.getter(name="exportPolicy")
|
|
13007
|
+
def export_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
13008
|
+
"""
|
|
13009
|
+
Export policy must match one of the policy names defined in the `routing_policies` property.
|
|
13010
|
+
"""
|
|
13011
|
+
return pulumi.get(self, "export_policy")
|
|
13012
|
+
|
|
13013
|
+
@export_policy.setter
|
|
13014
|
+
def export_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
13015
|
+
pulumi.set(self, "export_policy", value)
|
|
13016
|
+
|
|
13017
|
+
@_builtins.property
|
|
13018
|
+
@pulumi.getter(name="holdTime")
|
|
13019
|
+
def hold_time(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
13020
|
+
"""
|
|
13021
|
+
Hold time is three times the interval at which keepalive messages are sent. It indicates to the peer the length of time that it should consider the sender valid. Must be 0 or a number in the range 3-65535.
|
|
13022
|
+
"""
|
|
13023
|
+
return pulumi.get(self, "hold_time")
|
|
13024
|
+
|
|
13025
|
+
@hold_time.setter
|
|
13026
|
+
def hold_time(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
13027
|
+
pulumi.set(self, "hold_time", value)
|
|
13028
|
+
|
|
13029
|
+
@_builtins.property
|
|
13030
|
+
@pulumi.getter(name="importPolicy")
|
|
13031
|
+
def import_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
13032
|
+
"""
|
|
13033
|
+
Import policy must match one of the policy names defined in the `routing_policies` property.
|
|
13034
|
+
"""
|
|
13035
|
+
return pulumi.get(self, "import_policy")
|
|
13036
|
+
|
|
13037
|
+
@import_policy.setter
|
|
13038
|
+
def import_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
13039
|
+
pulumi.set(self, "import_policy", value)
|
|
13040
|
+
|
|
13041
|
+
@_builtins.property
|
|
13042
|
+
@pulumi.getter
|
|
13043
|
+
def neighbors(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['SwitchBgpConfigNeighborsArgs']]]]:
|
|
13044
|
+
"""
|
|
13045
|
+
Property key is the BGP Neighbor IP Address.
|
|
13046
|
+
"""
|
|
13047
|
+
return pulumi.get(self, "neighbors")
|
|
13048
|
+
|
|
13049
|
+
@neighbors.setter
|
|
13050
|
+
def neighbors(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['SwitchBgpConfigNeighborsArgs']]]]):
|
|
13051
|
+
pulumi.set(self, "neighbors", value)
|
|
13052
|
+
|
|
13053
|
+
@_builtins.property
|
|
13054
|
+
@pulumi.getter
|
|
13055
|
+
def networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
13056
|
+
"""
|
|
13057
|
+
List of network names for BGP configuration. When a network is specified, a BGP group will be added to the VRF that network is part of.
|
|
13058
|
+
"""
|
|
13059
|
+
return pulumi.get(self, "networks")
|
|
13060
|
+
|
|
13061
|
+
@networks.setter
|
|
13062
|
+
def networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
13063
|
+
pulumi.set(self, "networks", value)
|
|
13064
|
+
|
|
13065
|
+
|
|
13066
|
+
if not MYPY:
|
|
13067
|
+
class SwitchBgpConfigNeighborsArgsDict(TypedDict):
|
|
13068
|
+
neighbor_as: pulumi.Input[_builtins.str]
|
|
13069
|
+
"""
|
|
13070
|
+
Autonomous System (AS) number of the BGP neighbor. For internal BGP, this must match `local_as`. For external BGP, this must differ from `local_as`.
|
|
13071
|
+
"""
|
|
13072
|
+
export_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
13073
|
+
"""
|
|
13074
|
+
Export policy must match one of the policy names defined in the `routing_policies` property.
|
|
13075
|
+
"""
|
|
13076
|
+
hold_time: NotRequired[pulumi.Input[_builtins.int]]
|
|
13077
|
+
"""
|
|
13078
|
+
Hold time is three times the interval at which keepalive messages are sent. It indicates to the peer the length of time that it should consider the sender valid. Must be 0 or a number in the range 3-65535.
|
|
13079
|
+
"""
|
|
13080
|
+
import_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
13081
|
+
"""
|
|
13082
|
+
Import policy must match one of the policy names defined in the `routing_policies` property.
|
|
13083
|
+
"""
|
|
13084
|
+
multihop_ttl: NotRequired[pulumi.Input[_builtins.int]]
|
|
13085
|
+
elif False:
|
|
13086
|
+
SwitchBgpConfigNeighborsArgsDict: TypeAlias = Mapping[str, Any]
|
|
13087
|
+
|
|
13088
|
+
@pulumi.input_type
|
|
13089
|
+
class SwitchBgpConfigNeighborsArgs:
|
|
13090
|
+
def __init__(__self__, *,
|
|
13091
|
+
neighbor_as: pulumi.Input[_builtins.str],
|
|
13092
|
+
export_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
13093
|
+
hold_time: Optional[pulumi.Input[_builtins.int]] = None,
|
|
13094
|
+
import_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
13095
|
+
multihop_ttl: Optional[pulumi.Input[_builtins.int]] = None):
|
|
13096
|
+
"""
|
|
13097
|
+
:param pulumi.Input[_builtins.str] neighbor_as: Autonomous System (AS) number of the BGP neighbor. For internal BGP, this must match `local_as`. For external BGP, this must differ from `local_as`.
|
|
13098
|
+
:param pulumi.Input[_builtins.str] export_policy: Export policy must match one of the policy names defined in the `routing_policies` property.
|
|
13099
|
+
:param pulumi.Input[_builtins.int] hold_time: Hold time is three times the interval at which keepalive messages are sent. It indicates to the peer the length of time that it should consider the sender valid. Must be 0 or a number in the range 3-65535.
|
|
13100
|
+
:param pulumi.Input[_builtins.str] import_policy: Import policy must match one of the policy names defined in the `routing_policies` property.
|
|
13101
|
+
"""
|
|
13102
|
+
pulumi.set(__self__, "neighbor_as", neighbor_as)
|
|
13103
|
+
if export_policy is not None:
|
|
13104
|
+
pulumi.set(__self__, "export_policy", export_policy)
|
|
13105
|
+
if hold_time is not None:
|
|
13106
|
+
pulumi.set(__self__, "hold_time", hold_time)
|
|
13107
|
+
if import_policy is not None:
|
|
13108
|
+
pulumi.set(__self__, "import_policy", import_policy)
|
|
13109
|
+
if multihop_ttl is not None:
|
|
13110
|
+
pulumi.set(__self__, "multihop_ttl", multihop_ttl)
|
|
13111
|
+
|
|
13112
|
+
@_builtins.property
|
|
13113
|
+
@pulumi.getter(name="neighborAs")
|
|
13114
|
+
def neighbor_as(self) -> pulumi.Input[_builtins.str]:
|
|
13115
|
+
"""
|
|
13116
|
+
Autonomous System (AS) number of the BGP neighbor. For internal BGP, this must match `local_as`. For external BGP, this must differ from `local_as`.
|
|
13117
|
+
"""
|
|
13118
|
+
return pulumi.get(self, "neighbor_as")
|
|
13119
|
+
|
|
13120
|
+
@neighbor_as.setter
|
|
13121
|
+
def neighbor_as(self, value: pulumi.Input[_builtins.str]):
|
|
13122
|
+
pulumi.set(self, "neighbor_as", value)
|
|
13123
|
+
|
|
13124
|
+
@_builtins.property
|
|
13125
|
+
@pulumi.getter(name="exportPolicy")
|
|
13126
|
+
def export_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
13127
|
+
"""
|
|
13128
|
+
Export policy must match one of the policy names defined in the `routing_policies` property.
|
|
13129
|
+
"""
|
|
13130
|
+
return pulumi.get(self, "export_policy")
|
|
13131
|
+
|
|
13132
|
+
@export_policy.setter
|
|
13133
|
+
def export_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
13134
|
+
pulumi.set(self, "export_policy", value)
|
|
13135
|
+
|
|
13136
|
+
@_builtins.property
|
|
13137
|
+
@pulumi.getter(name="holdTime")
|
|
13138
|
+
def hold_time(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
13139
|
+
"""
|
|
13140
|
+
Hold time is three times the interval at which keepalive messages are sent. It indicates to the peer the length of time that it should consider the sender valid. Must be 0 or a number in the range 3-65535.
|
|
13141
|
+
"""
|
|
13142
|
+
return pulumi.get(self, "hold_time")
|
|
13143
|
+
|
|
13144
|
+
@hold_time.setter
|
|
13145
|
+
def hold_time(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
13146
|
+
pulumi.set(self, "hold_time", value)
|
|
13147
|
+
|
|
13148
|
+
@_builtins.property
|
|
13149
|
+
@pulumi.getter(name="importPolicy")
|
|
13150
|
+
def import_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
13151
|
+
"""
|
|
13152
|
+
Import policy must match one of the policy names defined in the `routing_policies` property.
|
|
13153
|
+
"""
|
|
13154
|
+
return pulumi.get(self, "import_policy")
|
|
13155
|
+
|
|
13156
|
+
@import_policy.setter
|
|
13157
|
+
def import_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
13158
|
+
pulumi.set(self, "import_policy", value)
|
|
13159
|
+
|
|
13160
|
+
@_builtins.property
|
|
13161
|
+
@pulumi.getter(name="multihopTtl")
|
|
13162
|
+
def multihop_ttl(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
13163
|
+
return pulumi.get(self, "multihop_ttl")
|
|
13164
|
+
|
|
13165
|
+
@multihop_ttl.setter
|
|
13166
|
+
def multihop_ttl(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
13167
|
+
pulumi.set(self, "multihop_ttl", value)
|
|
13168
|
+
|
|
13169
|
+
|
|
12878
13170
|
if not MYPY:
|
|
12879
13171
|
class SwitchDhcpSnoopingArgsDict(TypedDict):
|
|
12880
13172
|
all_networks: NotRequired[pulumi.Input[_builtins.bool]]
|
|
@@ -13926,7 +14218,7 @@ if not MYPY:
|
|
|
13926
14218
|
"""
|
|
13927
14219
|
allow_dhcpd: NotRequired[pulumi.Input[_builtins.bool]]
|
|
13928
14220
|
"""
|
|
13929
|
-
Controls whether DHCP server traffic is allowed on ports using this configuration if DHCP snooping is enabled. This is a tri-state setting; true
|
|
14221
|
+
Controls whether DHCP server traffic is allowed on ports using this configuration if DHCP snooping is enabled. This is a tri-state setting; `true`: ports become trusted ports allowing DHCP server traffic, `false`: ports become untrusted blocking DHCP server traffic, undefined: use system defaults (access ports default to untrusted, trunk ports default to trusted).
|
|
13930
14222
|
"""
|
|
13931
14223
|
allow_multiple_supplicants: NotRequired[pulumi.Input[_builtins.bool]]
|
|
13932
14224
|
bypass_auth_when_server_down: NotRequired[pulumi.Input[_builtins.bool]]
|
|
@@ -14095,7 +14387,7 @@ class SwitchLocalPortConfigArgs:
|
|
|
14095
14387
|
"""
|
|
14096
14388
|
:param pulumi.Input[_builtins.str] usage: Port usage name.
|
|
14097
14389
|
:param pulumi.Input[_builtins.bool] all_networks: Only if `mode`==`trunk` whether to trunk all network/vlans
|
|
14098
|
-
:param pulumi.Input[_builtins.bool] allow_dhcpd: Controls whether DHCP server traffic is allowed on ports using this configuration if DHCP snooping is enabled. This is a tri-state setting; true
|
|
14390
|
+
:param pulumi.Input[_builtins.bool] allow_dhcpd: Controls whether DHCP server traffic is allowed on ports using this configuration if DHCP snooping is enabled. This is a tri-state setting; `true`: ports become trusted ports allowing DHCP server traffic, `false`: ports become untrusted blocking DHCP server traffic, undefined: use system defaults (access ports default to untrusted, trunk ports default to trusted).
|
|
14099
14391
|
:param pulumi.Input[_builtins.bool] bypass_auth_when_server_down: Only if `port_auth`==`dot1x` bypass auth for known clients if set to true when RADIUS server is down
|
|
14100
14392
|
:param pulumi.Input[_builtins.bool] bypass_auth_when_server_down_for_unknown_client: Only if `port_auth`=`dot1x` bypass auth for all (including unknown clients) if set to true when RADIUS server is down
|
|
14101
14393
|
:param pulumi.Input[_builtins.bool] disable_autoneg: Only if `mode`!=`dynamic` if speed and duplex are specified, whether to disable autonegotiation
|
|
@@ -14228,7 +14520,7 @@ class SwitchLocalPortConfigArgs:
|
|
|
14228
14520
|
@pulumi.getter(name="allowDhcpd")
|
|
14229
14521
|
def allow_dhcpd(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
14230
14522
|
"""
|
|
14231
|
-
Controls whether DHCP server traffic is allowed on ports using this configuration if DHCP snooping is enabled. This is a tri-state setting; true
|
|
14523
|
+
Controls whether DHCP server traffic is allowed on ports using this configuration if DHCP snooping is enabled. This is a tri-state setting; `true`: ports become trusted ports allowing DHCP server traffic, `false`: ports become untrusted blocking DHCP server traffic, undefined: use system defaults (access ports default to untrusted, trunk ports default to trusted).
|
|
14232
14524
|
"""
|
|
14233
14525
|
return pulumi.get(self, "allow_dhcpd")
|
|
14234
14526
|
|
|
@@ -15670,6 +15962,10 @@ if not MYPY:
|
|
|
15670
15962
|
"""
|
|
15671
15963
|
Media maximum transmission unit (MTU) is the largest data unit that can be forwarded without fragmentation
|
|
15672
15964
|
"""
|
|
15965
|
+
networks: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
15966
|
+
"""
|
|
15967
|
+
List of network names. Required if `usage`==`inet`
|
|
15968
|
+
"""
|
|
15673
15969
|
no_local_overwrite: NotRequired[pulumi.Input[_builtins.bool]]
|
|
15674
15970
|
"""
|
|
15675
15971
|
Prevent helpdesk to override the port config
|
|
@@ -15701,6 +15997,7 @@ class SwitchPortConfigArgs:
|
|
|
15701
15997
|
dynamic_usage: Optional[pulumi.Input[_builtins.str]] = None,
|
|
15702
15998
|
esilag: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
15703
15999
|
mtu: Optional[pulumi.Input[_builtins.int]] = None,
|
|
16000
|
+
networks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
15704
16001
|
no_local_overwrite: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
15705
16002
|
poe_disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
15706
16003
|
port_network: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -15715,6 +16012,7 @@ class SwitchPortConfigArgs:
|
|
|
15715
16012
|
:param pulumi.Input[_builtins.str] duplex: enum: `auto`, `full`, `half`
|
|
15716
16013
|
:param pulumi.Input[_builtins.str] dynamic_usage: Enable dynamic usage for this port. Set to `dynamic` to enable.
|
|
15717
16014
|
:param pulumi.Input[_builtins.int] mtu: Media maximum transmission unit (MTU) is the largest data unit that can be forwarded without fragmentation
|
|
16015
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] networks: List of network names. Required if `usage`==`inet`
|
|
15718
16016
|
:param pulumi.Input[_builtins.bool] no_local_overwrite: Prevent helpdesk to override the port config
|
|
15719
16017
|
:param pulumi.Input[_builtins.str] port_network: Required if `usage`==`vlan_tunnel`. Q-in-Q tunneling using All-in-one bundling. This also enables standard L2PT for interfaces that are not encapsulation tunnel interfaces and uses MAC rewrite operation. [View more information](https://www.juniper.net/documentation/us/en/software/junos/multicast-l2/topics/topic-map/q-in-q.html#id-understanding-qinq-tunneling-and-vlan-translation)
|
|
15720
16018
|
:param pulumi.Input[_builtins.str] speed: enum: `100m`, `10m`, `1g`, `2.5g`, `5g`, `10g`, `25g`, `40g`, `100g`,`auto`
|
|
@@ -15742,6 +16040,8 @@ class SwitchPortConfigArgs:
|
|
|
15742
16040
|
pulumi.set(__self__, "esilag", esilag)
|
|
15743
16041
|
if mtu is not None:
|
|
15744
16042
|
pulumi.set(__self__, "mtu", mtu)
|
|
16043
|
+
if networks is not None:
|
|
16044
|
+
pulumi.set(__self__, "networks", networks)
|
|
15745
16045
|
if no_local_overwrite is not None:
|
|
15746
16046
|
pulumi.set(__self__, "no_local_overwrite", no_local_overwrite)
|
|
15747
16047
|
if poe_disabled is not None:
|
|
@@ -15886,6 +16186,18 @@ class SwitchPortConfigArgs:
|
|
|
15886
16186
|
def mtu(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
15887
16187
|
pulumi.set(self, "mtu", value)
|
|
15888
16188
|
|
|
16189
|
+
@_builtins.property
|
|
16190
|
+
@pulumi.getter
|
|
16191
|
+
def networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
16192
|
+
"""
|
|
16193
|
+
List of network names. Required if `usage`==`inet`
|
|
16194
|
+
"""
|
|
16195
|
+
return pulumi.get(self, "networks")
|
|
16196
|
+
|
|
16197
|
+
@networks.setter
|
|
16198
|
+
def networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
16199
|
+
pulumi.set(self, "networks", value)
|
|
16200
|
+
|
|
15889
16201
|
@_builtins.property
|
|
15890
16202
|
@pulumi.getter(name="noLocalOverwrite")
|
|
15891
16203
|
def no_local_overwrite(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -16210,7 +16522,7 @@ if not MYPY:
|
|
|
16210
16522
|
"""
|
|
16211
16523
|
allow_dhcpd: NotRequired[pulumi.Input[_builtins.bool]]
|
|
16212
16524
|
"""
|
|
16213
|
-
Only applies when `mode`!=`dynamic`. Controls whether DHCP server traffic is allowed on ports using this configuration if DHCP snooping is enabled. This is a tri-state setting; true
|
|
16525
|
+
Only applies when `mode`!=`dynamic`. Controls whether DHCP server traffic is allowed on ports using this configuration if DHCP snooping is enabled. This is a tri-state setting; `true`: ports become trusted ports allowing DHCP server traffic, `false`: ports become untrusted blocking DHCP server traffic, undefined: use system defaults (access ports default to untrusted, trunk ports default to trusted).
|
|
16214
16526
|
"""
|
|
16215
16527
|
allow_multiple_supplicants: NotRequired[pulumi.Input[_builtins.bool]]
|
|
16216
16528
|
"""
|
|
@@ -16427,7 +16739,7 @@ class SwitchPortUsagesArgs:
|
|
|
16427
16739
|
voip_network: Optional[pulumi.Input[_builtins.str]] = None):
|
|
16428
16740
|
"""
|
|
16429
16741
|
:param pulumi.Input[_builtins.bool] all_networks: Only if `mode`==`trunk`. Whether to trunk all network/vlans
|
|
16430
|
-
:param pulumi.Input[_builtins.bool] allow_dhcpd: Only applies when `mode`!=`dynamic`. Controls whether DHCP server traffic is allowed on ports using this configuration if DHCP snooping is enabled. This is a tri-state setting; true
|
|
16742
|
+
:param pulumi.Input[_builtins.bool] allow_dhcpd: Only applies when `mode`!=`dynamic`. Controls whether DHCP server traffic is allowed on ports using this configuration if DHCP snooping is enabled. This is a tri-state setting; `true`: ports become trusted ports allowing DHCP server traffic, `false`: ports become untrusted blocking DHCP server traffic, undefined: use system defaults (access ports default to untrusted, trunk ports default to trusted).
|
|
16431
16743
|
:param pulumi.Input[_builtins.bool] allow_multiple_supplicants: Only if `mode`!=`dynamic`
|
|
16432
16744
|
:param pulumi.Input[_builtins.bool] bypass_auth_when_server_down: Only if `mode`!=`dynamic` and `port_auth`==`dot1x`. Bypass auth for known clients if set to true when RADIUS server is down
|
|
16433
16745
|
:param pulumi.Input[_builtins.bool] bypass_auth_when_server_down_for_unknown_client: Only if `mode`!=`dynamic` and `port_auth`=`dot1x`. Bypass auth for all (including unknown clients) if set to true when RADIUS server is down
|
|
@@ -16573,7 +16885,7 @@ class SwitchPortUsagesArgs:
|
|
|
16573
16885
|
@pulumi.getter(name="allowDhcpd")
|
|
16574
16886
|
def allow_dhcpd(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
16575
16887
|
"""
|
|
16576
|
-
Only applies when `mode`!=`dynamic`. Controls whether DHCP server traffic is allowed on ports using this configuration if DHCP snooping is enabled. This is a tri-state setting; true
|
|
16888
|
+
Only applies when `mode`!=`dynamic`. Controls whether DHCP server traffic is allowed on ports using this configuration if DHCP snooping is enabled. This is a tri-state setting; `true`: ports become trusted ports allowing DHCP server traffic, `false`: ports become untrusted blocking DHCP server traffic, undefined: use system defaults (access ports default to untrusted, trunk ports default to trusted).
|
|
16577
16889
|
"""
|
|
16578
16890
|
return pulumi.get(self, "allow_dhcpd")
|
|
16579
16891
|
|
|
@@ -18624,6 +18936,272 @@ class SwitchRemoteSyslogUserContentArgs:
|
|
|
18624
18936
|
pulumi.set(self, "severity", value)
|
|
18625
18937
|
|
|
18626
18938
|
|
|
18939
|
+
if not MYPY:
|
|
18940
|
+
class SwitchRoutingPoliciesArgsDict(TypedDict):
|
|
18941
|
+
terms: NotRequired[pulumi.Input[Sequence[pulumi.Input['SwitchRoutingPoliciesTermArgsDict']]]]
|
|
18942
|
+
"""
|
|
18943
|
+
at least criteria/filter must be specified to match the term, all criteria have to be met
|
|
18944
|
+
"""
|
|
18945
|
+
elif False:
|
|
18946
|
+
SwitchRoutingPoliciesArgsDict: TypeAlias = Mapping[str, Any]
|
|
18947
|
+
|
|
18948
|
+
@pulumi.input_type
|
|
18949
|
+
class SwitchRoutingPoliciesArgs:
|
|
18950
|
+
def __init__(__self__, *,
|
|
18951
|
+
terms: Optional[pulumi.Input[Sequence[pulumi.Input['SwitchRoutingPoliciesTermArgs']]]] = None):
|
|
18952
|
+
"""
|
|
18953
|
+
:param pulumi.Input[Sequence[pulumi.Input['SwitchRoutingPoliciesTermArgs']]] terms: at least criteria/filter must be specified to match the term, all criteria have to be met
|
|
18954
|
+
"""
|
|
18955
|
+
if terms is not None:
|
|
18956
|
+
pulumi.set(__self__, "terms", terms)
|
|
18957
|
+
|
|
18958
|
+
@_builtins.property
|
|
18959
|
+
@pulumi.getter
|
|
18960
|
+
def terms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SwitchRoutingPoliciesTermArgs']]]]:
|
|
18961
|
+
"""
|
|
18962
|
+
at least criteria/filter must be specified to match the term, all criteria have to be met
|
|
18963
|
+
"""
|
|
18964
|
+
return pulumi.get(self, "terms")
|
|
18965
|
+
|
|
18966
|
+
@terms.setter
|
|
18967
|
+
def terms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SwitchRoutingPoliciesTermArgs']]]]):
|
|
18968
|
+
pulumi.set(self, "terms", value)
|
|
18969
|
+
|
|
18970
|
+
|
|
18971
|
+
if not MYPY:
|
|
18972
|
+
class SwitchRoutingPoliciesTermArgsDict(TypedDict):
|
|
18973
|
+
name: pulumi.Input[_builtins.str]
|
|
18974
|
+
actions: NotRequired[pulumi.Input['SwitchRoutingPoliciesTermActionsArgsDict']]
|
|
18975
|
+
"""
|
|
18976
|
+
When used as import policy
|
|
18977
|
+
"""
|
|
18978
|
+
matching: NotRequired[pulumi.Input['SwitchRoutingPoliciesTermMatchingArgsDict']]
|
|
18979
|
+
"""
|
|
18980
|
+
zero or more criteria/filter can be specified to match the term, all criteria have to be met
|
|
18981
|
+
"""
|
|
18982
|
+
elif False:
|
|
18983
|
+
SwitchRoutingPoliciesTermArgsDict: TypeAlias = Mapping[str, Any]
|
|
18984
|
+
|
|
18985
|
+
@pulumi.input_type
|
|
18986
|
+
class SwitchRoutingPoliciesTermArgs:
|
|
18987
|
+
def __init__(__self__, *,
|
|
18988
|
+
name: pulumi.Input[_builtins.str],
|
|
18989
|
+
actions: Optional[pulumi.Input['SwitchRoutingPoliciesTermActionsArgs']] = None,
|
|
18990
|
+
matching: Optional[pulumi.Input['SwitchRoutingPoliciesTermMatchingArgs']] = None):
|
|
18991
|
+
"""
|
|
18992
|
+
:param pulumi.Input['SwitchRoutingPoliciesTermActionsArgs'] actions: When used as import policy
|
|
18993
|
+
:param pulumi.Input['SwitchRoutingPoliciesTermMatchingArgs'] matching: zero or more criteria/filter can be specified to match the term, all criteria have to be met
|
|
18994
|
+
"""
|
|
18995
|
+
pulumi.set(__self__, "name", name)
|
|
18996
|
+
if actions is not None:
|
|
18997
|
+
pulumi.set(__self__, "actions", actions)
|
|
18998
|
+
if matching is not None:
|
|
18999
|
+
pulumi.set(__self__, "matching", matching)
|
|
19000
|
+
|
|
19001
|
+
@_builtins.property
|
|
19002
|
+
@pulumi.getter
|
|
19003
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
19004
|
+
return pulumi.get(self, "name")
|
|
19005
|
+
|
|
19006
|
+
@name.setter
|
|
19007
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
19008
|
+
pulumi.set(self, "name", value)
|
|
19009
|
+
|
|
19010
|
+
@_builtins.property
|
|
19011
|
+
@pulumi.getter
|
|
19012
|
+
def actions(self) -> Optional[pulumi.Input['SwitchRoutingPoliciesTermActionsArgs']]:
|
|
19013
|
+
"""
|
|
19014
|
+
When used as import policy
|
|
19015
|
+
"""
|
|
19016
|
+
return pulumi.get(self, "actions")
|
|
19017
|
+
|
|
19018
|
+
@actions.setter
|
|
19019
|
+
def actions(self, value: Optional[pulumi.Input['SwitchRoutingPoliciesTermActionsArgs']]):
|
|
19020
|
+
pulumi.set(self, "actions", value)
|
|
19021
|
+
|
|
19022
|
+
@_builtins.property
|
|
19023
|
+
@pulumi.getter
|
|
19024
|
+
def matching(self) -> Optional[pulumi.Input['SwitchRoutingPoliciesTermMatchingArgs']]:
|
|
19025
|
+
"""
|
|
19026
|
+
zero or more criteria/filter can be specified to match the term, all criteria have to be met
|
|
19027
|
+
"""
|
|
19028
|
+
return pulumi.get(self, "matching")
|
|
19029
|
+
|
|
19030
|
+
@matching.setter
|
|
19031
|
+
def matching(self, value: Optional[pulumi.Input['SwitchRoutingPoliciesTermMatchingArgs']]):
|
|
19032
|
+
pulumi.set(self, "matching", value)
|
|
19033
|
+
|
|
19034
|
+
|
|
19035
|
+
if not MYPY:
|
|
19036
|
+
class SwitchRoutingPoliciesTermActionsArgsDict(TypedDict):
|
|
19037
|
+
accept: NotRequired[pulumi.Input[_builtins.bool]]
|
|
19038
|
+
communities: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
19039
|
+
"""
|
|
19040
|
+
When used as export policy, optional
|
|
19041
|
+
"""
|
|
19042
|
+
local_preference: NotRequired[pulumi.Input[_builtins.str]]
|
|
19043
|
+
"""
|
|
19044
|
+
Optional, for an import policy, local_preference can be changed, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}`)
|
|
19045
|
+
"""
|
|
19046
|
+
prepend_as_paths: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
19047
|
+
"""
|
|
19048
|
+
When used as export policy, optional. By default, the local AS will be prepended, to change it. Can be a Variable (e.g. `{{as_path}}`)
|
|
19049
|
+
"""
|
|
19050
|
+
elif False:
|
|
19051
|
+
SwitchRoutingPoliciesTermActionsArgsDict: TypeAlias = Mapping[str, Any]
|
|
19052
|
+
|
|
19053
|
+
@pulumi.input_type
|
|
19054
|
+
class SwitchRoutingPoliciesTermActionsArgs:
|
|
19055
|
+
def __init__(__self__, *,
|
|
19056
|
+
accept: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
19057
|
+
communities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
19058
|
+
local_preference: Optional[pulumi.Input[_builtins.str]] = None,
|
|
19059
|
+
prepend_as_paths: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
19060
|
+
"""
|
|
19061
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] communities: When used as export policy, optional
|
|
19062
|
+
:param pulumi.Input[_builtins.str] local_preference: Optional, for an import policy, local_preference can be changed, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}`)
|
|
19063
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] prepend_as_paths: When used as export policy, optional. By default, the local AS will be prepended, to change it. Can be a Variable (e.g. `{{as_path}}`)
|
|
19064
|
+
"""
|
|
19065
|
+
if accept is not None:
|
|
19066
|
+
pulumi.set(__self__, "accept", accept)
|
|
19067
|
+
if communities is not None:
|
|
19068
|
+
pulumi.set(__self__, "communities", communities)
|
|
19069
|
+
if local_preference is not None:
|
|
19070
|
+
pulumi.set(__self__, "local_preference", local_preference)
|
|
19071
|
+
if prepend_as_paths is not None:
|
|
19072
|
+
pulumi.set(__self__, "prepend_as_paths", prepend_as_paths)
|
|
19073
|
+
|
|
19074
|
+
@_builtins.property
|
|
19075
|
+
@pulumi.getter
|
|
19076
|
+
def accept(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
19077
|
+
return pulumi.get(self, "accept")
|
|
19078
|
+
|
|
19079
|
+
@accept.setter
|
|
19080
|
+
def accept(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
19081
|
+
pulumi.set(self, "accept", value)
|
|
19082
|
+
|
|
19083
|
+
@_builtins.property
|
|
19084
|
+
@pulumi.getter
|
|
19085
|
+
def communities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
19086
|
+
"""
|
|
19087
|
+
When used as export policy, optional
|
|
19088
|
+
"""
|
|
19089
|
+
return pulumi.get(self, "communities")
|
|
19090
|
+
|
|
19091
|
+
@communities.setter
|
|
19092
|
+
def communities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
19093
|
+
pulumi.set(self, "communities", value)
|
|
19094
|
+
|
|
19095
|
+
@_builtins.property
|
|
19096
|
+
@pulumi.getter(name="localPreference")
|
|
19097
|
+
def local_preference(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
19098
|
+
"""
|
|
19099
|
+
Optional, for an import policy, local_preference can be changed, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}`)
|
|
19100
|
+
"""
|
|
19101
|
+
return pulumi.get(self, "local_preference")
|
|
19102
|
+
|
|
19103
|
+
@local_preference.setter
|
|
19104
|
+
def local_preference(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
19105
|
+
pulumi.set(self, "local_preference", value)
|
|
19106
|
+
|
|
19107
|
+
@_builtins.property
|
|
19108
|
+
@pulumi.getter(name="prependAsPaths")
|
|
19109
|
+
def prepend_as_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
19110
|
+
"""
|
|
19111
|
+
When used as export policy, optional. By default, the local AS will be prepended, to change it. Can be a Variable (e.g. `{{as_path}}`)
|
|
19112
|
+
"""
|
|
19113
|
+
return pulumi.get(self, "prepend_as_paths")
|
|
19114
|
+
|
|
19115
|
+
@prepend_as_paths.setter
|
|
19116
|
+
def prepend_as_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
19117
|
+
pulumi.set(self, "prepend_as_paths", value)
|
|
19118
|
+
|
|
19119
|
+
|
|
19120
|
+
if not MYPY:
|
|
19121
|
+
class SwitchRoutingPoliciesTermMatchingArgsDict(TypedDict):
|
|
19122
|
+
as_paths: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
19123
|
+
"""
|
|
19124
|
+
BGP AS, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}`)
|
|
19125
|
+
"""
|
|
19126
|
+
communities: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
19127
|
+
prefixes: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
19128
|
+
"""
|
|
19129
|
+
zero or more criteria/filter can be specified to match the term, all criteria have to be met
|
|
19130
|
+
"""
|
|
19131
|
+
protocols: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
19132
|
+
"""
|
|
19133
|
+
enum: `bgp`, `direct`, `evpn`, `ospf`, `static`
|
|
19134
|
+
"""
|
|
19135
|
+
elif False:
|
|
19136
|
+
SwitchRoutingPoliciesTermMatchingArgsDict: TypeAlias = Mapping[str, Any]
|
|
19137
|
+
|
|
19138
|
+
@pulumi.input_type
|
|
19139
|
+
class SwitchRoutingPoliciesTermMatchingArgs:
|
|
19140
|
+
def __init__(__self__, *,
|
|
19141
|
+
as_paths: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
19142
|
+
communities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
19143
|
+
prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
19144
|
+
protocols: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
19145
|
+
"""
|
|
19146
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] as_paths: BGP AS, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}`)
|
|
19147
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] prefixes: zero or more criteria/filter can be specified to match the term, all criteria have to be met
|
|
19148
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] protocols: enum: `bgp`, `direct`, `evpn`, `ospf`, `static`
|
|
19149
|
+
"""
|
|
19150
|
+
if as_paths is not None:
|
|
19151
|
+
pulumi.set(__self__, "as_paths", as_paths)
|
|
19152
|
+
if communities is not None:
|
|
19153
|
+
pulumi.set(__self__, "communities", communities)
|
|
19154
|
+
if prefixes is not None:
|
|
19155
|
+
pulumi.set(__self__, "prefixes", prefixes)
|
|
19156
|
+
if protocols is not None:
|
|
19157
|
+
pulumi.set(__self__, "protocols", protocols)
|
|
19158
|
+
|
|
19159
|
+
@_builtins.property
|
|
19160
|
+
@pulumi.getter(name="asPaths")
|
|
19161
|
+
def as_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
19162
|
+
"""
|
|
19163
|
+
BGP AS, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}`)
|
|
19164
|
+
"""
|
|
19165
|
+
return pulumi.get(self, "as_paths")
|
|
19166
|
+
|
|
19167
|
+
@as_paths.setter
|
|
19168
|
+
def as_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
19169
|
+
pulumi.set(self, "as_paths", value)
|
|
19170
|
+
|
|
19171
|
+
@_builtins.property
|
|
19172
|
+
@pulumi.getter
|
|
19173
|
+
def communities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
19174
|
+
return pulumi.get(self, "communities")
|
|
19175
|
+
|
|
19176
|
+
@communities.setter
|
|
19177
|
+
def communities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
19178
|
+
pulumi.set(self, "communities", value)
|
|
19179
|
+
|
|
19180
|
+
@_builtins.property
|
|
19181
|
+
@pulumi.getter
|
|
19182
|
+
def prefixes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
19183
|
+
"""
|
|
19184
|
+
zero or more criteria/filter can be specified to match the term, all criteria have to be met
|
|
19185
|
+
"""
|
|
19186
|
+
return pulumi.get(self, "prefixes")
|
|
19187
|
+
|
|
19188
|
+
@prefixes.setter
|
|
19189
|
+
def prefixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
19190
|
+
pulumi.set(self, "prefixes", value)
|
|
19191
|
+
|
|
19192
|
+
@_builtins.property
|
|
19193
|
+
@pulumi.getter
|
|
19194
|
+
def protocols(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
19195
|
+
"""
|
|
19196
|
+
enum: `bgp`, `direct`, `evpn`, `ospf`, `static`
|
|
19197
|
+
"""
|
|
19198
|
+
return pulumi.get(self, "protocols")
|
|
19199
|
+
|
|
19200
|
+
@protocols.setter
|
|
19201
|
+
def protocols(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
19202
|
+
pulumi.set(self, "protocols", value)
|
|
19203
|
+
|
|
19204
|
+
|
|
18627
19205
|
if not MYPY:
|
|
18628
19206
|
class SwitchSnmpConfigArgsDict(TypedDict):
|
|
18629
19207
|
client_lists: NotRequired[pulumi.Input[Sequence[pulumi.Input['SwitchSnmpConfigClientListArgsDict']]]]
|