pulumi-scm 1.0.2__py3-none-any.whl → 1.0.3__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_scm/_inputs.py +1398 -511
- pulumi_scm/address.py +42 -7
- pulumi_scm/address_group.py +28 -7
- pulumi_scm/aggregate_interface.py +28 -7
- pulumi_scm/anti_spyware_profile.py +14 -7
- pulumi_scm/anti_spyware_signature.py +14 -7
- pulumi_scm/app_override_rule.py +14 -7
- pulumi_scm/application.py +14 -7
- pulumi_scm/application_filter.py +14 -7
- pulumi_scm/application_group.py +14 -7
- pulumi_scm/authentication_portal.py +14 -7
- pulumi_scm/authentication_profile.py +14 -7
- pulumi_scm/authentication_rule.py +14 -7
- pulumi_scm/authentication_sequence.py +14 -7
- pulumi_scm/authentication_setting.py +14 -7
- pulumi_scm/bgp_address_family_profile.py +14 -7
- pulumi_scm/bgp_auth_profile.py +14 -7
- pulumi_scm/bgp_filtering_profile.py +14 -7
- pulumi_scm/bgp_redistribution_profile.py +14 -7
- pulumi_scm/bgp_route_map.py +14 -7
- pulumi_scm/bgp_route_map_redistribution.py +35 -7
- pulumi_scm/certificate_profile.py +14 -7
- pulumi_scm/content_id_setting.py +14 -7
- pulumi_scm/decryption_exclusion.py +14 -7
- pulumi_scm/decryption_profile.py +14 -7
- pulumi_scm/decryption_rule.py +64 -7
- pulumi_scm/device_redistribution_collector.py +14 -7
- pulumi_scm/dhcp_interface.py +134 -7
- pulumi_scm/dns_proxy.py +14 -7
- pulumi_scm/dns_security_profile.py +14 -7
- pulumi_scm/dos_protection_profile.py +14 -7
- pulumi_scm/dos_protection_rule.py +14 -7
- pulumi_scm/dynamic_user_group.py +14 -7
- pulumi_scm/ethernet_interface.py +42 -7
- pulumi_scm/external_dynamic_list.py +14 -7
- pulumi_scm/file_blocking_profile.py +14 -7
- pulumi_scm/general_setting.py +14 -7
- pulumi_scm/get_address.py +0 -46
- pulumi_scm/get_address_group.py +0 -38
- pulumi_scm/get_aggregate_interface.py +0 -38
- pulumi_scm/get_anti_spyware_profile.py +0 -45
- pulumi_scm/get_anti_spyware_signature.py +0 -52
- pulumi_scm/get_app_override_rule.py +0 -72
- pulumi_scm/get_application.py +0 -105
- pulumi_scm/get_application_filter.py +0 -78
- pulumi_scm/get_application_group.py +0 -27
- pulumi_scm/get_authentication_profile.py +0 -45
- pulumi_scm/get_authentication_rule.py +0 -93
- pulumi_scm/get_authentication_sequence.py +0 -30
- pulumi_scm/get_authentication_setting.py +0 -22
- pulumi_scm/get_bgp_address_family_profile.py +0 -27
- pulumi_scm/get_bgp_auth_profile.py +0 -30
- pulumi_scm/get_bgp_filtering_profile.py +0 -30
- pulumi_scm/get_bgp_redistribution_profile.py +0 -27
- pulumi_scm/get_bgp_route_map.py +0 -30
- pulumi_scm/get_bgp_route_map_redistribution.py +0 -39
- pulumi_scm/get_certificate_profile.py +0 -60
- pulumi_scm/get_content_id_setting.py +0 -22
- pulumi_scm/get_decryption_exclusion.py +0 -27
- pulumi_scm/get_decryption_profile.py +0 -36
- pulumi_scm/get_decryption_rule.py +0 -93
- pulumi_scm/get_device_redistribution_collector.py +0 -22
- pulumi_scm/get_dhcp_interface.py +22 -32
- pulumi_scm/get_dhcp_interface_list.py +28 -0
- pulumi_scm/get_dns_proxy.py +0 -48
- pulumi_scm/get_dns_security_profile.py +0 -30
- pulumi_scm/get_dos_protection_profile.py +0 -36
- pulumi_scm/get_dos_protection_rule.py +0 -66
- pulumi_scm/get_dynamic_user_group.py +0 -33
- pulumi_scm/get_ethernet_interface.py +0 -61
- pulumi_scm/get_external_dynamic_list.py +0 -30
- pulumi_scm/get_file_blocking_profile.py +0 -30
- pulumi_scm/get_general_setting.py +0 -22
- pulumi_scm/get_hip_object.py +0 -60
- pulumi_scm/get_hip_profile.py +0 -30
- pulumi_scm/get_http_header_profile.py +0 -30
- pulumi_scm/get_http_server_profile.py +0 -33
- pulumi_scm/get_ike_crypto_profile.py +0 -39
- pulumi_scm/get_ike_gateway.py +0 -48
- pulumi_scm/get_interface_management_profile.py +0 -57
- pulumi_scm/get_ipsec_crypto_profile.py +0 -41
- pulumi_scm/get_ipsec_tunnel.py +0 -42
- pulumi_scm/get_kerberos_server_profile.py +36 -27
- pulumi_scm/get_kerberos_server_profile_list.py +28 -0
- pulumi_scm/get_layer2_subinterface.py +0 -33
- pulumi_scm/get_layer3_subinterface.py +0 -53
- pulumi_scm/get_ldap_server_profile.py +0 -57
- pulumi_scm/get_link_tag.py +0 -30
- pulumi_scm/get_lldp_profile.py +20 -33
- pulumi_scm/get_lldp_profile_list.py +26 -0
- pulumi_scm/get_local_user.py +0 -33
- pulumi_scm/get_local_user_group.py +0 -27
- pulumi_scm/get_log_forwarding_profile.py +38 -30
- pulumi_scm/get_log_forwarding_profile_list.py +28 -0
- pulumi_scm/get_logical_router.py +0 -30
- pulumi_scm/get_loopback_interface.py +0 -42
- pulumi_scm/get_management_interface.py +0 -22
- pulumi_scm/get_motd_banner_setting.py +0 -22
- pulumi_scm/get_ospf_auth_profile.py +0 -35
- pulumi_scm/get_pbf_rule.py +0 -57
- pulumi_scm/get_profile_group.py +0 -51
- pulumi_scm/get_qos_policy_rule.py +0 -45
- pulumi_scm/get_qos_profile.py +36 -30
- pulumi_scm/get_qos_profile_list.py +30 -0
- pulumi_scm/get_radius_server_profile.py +12 -37
- pulumi_scm/get_region.py +0 -30
- pulumi_scm/get_route_access_list.py +0 -30
- pulumi_scm/get_route_community_list.py +0 -30
- pulumi_scm/get_route_path_access_list.py +0 -30
- pulumi_scm/get_route_prefix_list.py +0 -30
- pulumi_scm/get_saml_server_profile.py +50 -49
- pulumi_scm/get_saml_server_profile_list.py +28 -0
- pulumi_scm/get_scep_profile.py +36 -63
- pulumi_scm/get_scep_profile_list.py +28 -0
- pulumi_scm/get_schedule.py +0 -27
- pulumi_scm/get_sdwan_error_correction_profile.py +0 -30
- pulumi_scm/get_sdwan_path_quality_profile.py +0 -27
- pulumi_scm/get_sdwan_rule.py +0 -75
- pulumi_scm/get_sdwan_saas_quality_profile.py +0 -27
- pulumi_scm/get_sdwan_traffic_distribution_profile.py +0 -30
- pulumi_scm/get_service.py +0 -33
- pulumi_scm/get_service_group.py +0 -30
- pulumi_scm/get_service_route.py +0 -22
- pulumi_scm/get_service_setting.py +0 -25
- pulumi_scm/get_session_setting.py +0 -22
- pulumi_scm/get_session_timeout.py +0 -22
- pulumi_scm/get_syslog_server_profile.py +0 -30
- pulumi_scm/get_tacacs_server_profile.py +46 -37
- pulumi_scm/get_tacacs_server_profile_list.py +24 -0
- pulumi_scm/get_tag.py +0 -30
- pulumi_scm/get_tcp_setting.py +0 -22
- pulumi_scm/get_tls_service_profile.py +0 -30
- pulumi_scm/get_tunnel_interface.py +12 -40
- pulumi_scm/get_update_schedule.py +0 -22
- pulumi_scm/get_url_access_profile.py +0 -69
- pulumi_scm/get_url_category.py +0 -33
- pulumi_scm/get_variable.py +0 -36
- pulumi_scm/get_vlan_interface.py +0 -53
- pulumi_scm/get_vpn_setting.py +0 -22
- pulumi_scm/get_vulnerability_protection_profile.py +0 -33
- pulumi_scm/get_vulnerability_protection_signature.py +0 -55
- pulumi_scm/get_wildfire_anti_virus_profile.py +0 -39
- pulumi_scm/get_zone.py +0 -45
- pulumi_scm/hip_object.py +14 -7
- pulumi_scm/hip_profile.py +14 -7
- pulumi_scm/http_header_profile.py +14 -7
- pulumi_scm/http_server_profile.py +14 -7
- pulumi_scm/ike_crypto_profile.py +14 -7
- pulumi_scm/ike_gateway.py +14 -7
- pulumi_scm/interface_management_profile.py +14 -7
- pulumi_scm/ipsec_crypto_profile.py +28 -7
- pulumi_scm/ipsec_tunnel.py +14 -7
- pulumi_scm/kerberos_server_profile.py +100 -7
- pulumi_scm/layer2_subinterface.py +14 -7
- pulumi_scm/layer3_subinterface.py +28 -7
- pulumi_scm/ldap_server_profile.py +14 -7
- pulumi_scm/link_tag.py +14 -7
- pulumi_scm/lldp_profile.py +58 -7
- pulumi_scm/local_user.py +14 -7
- pulumi_scm/local_user_group.py +14 -7
- pulumi_scm/log_forwarding_profile.py +237 -25
- pulumi_scm/logical_router.py +14 -7
- pulumi_scm/loopback_interface.py +66 -7
- pulumi_scm/management_interface.py +14 -7
- pulumi_scm/mfa_server.py +14 -7
- pulumi_scm/motd_banner_setting.py +14 -7
- pulumi_scm/ospf_auth_profile.py +28 -7
- pulumi_scm/outputs.py +3291 -2075
- pulumi_scm/pbf_rule.py +14 -7
- pulumi_scm/profile_group.py +14 -7
- pulumi_scm/pulumi-plugin.json +1 -1
- pulumi_scm/qos_policy_rule.py +14 -7
- pulumi_scm/qos_profile.py +214 -7
- pulumi_scm/radius_server_profile.py +44 -7
- pulumi_scm/region.py +14 -7
- pulumi_scm/route_access_list.py +14 -7
- pulumi_scm/route_community_list.py +14 -7
- pulumi_scm/route_path_access_list.py +14 -7
- pulumi_scm/route_prefix_list.py +14 -7
- pulumi_scm/saml_server_profile.py +135 -7
- pulumi_scm/scep_profile.py +245 -42
- pulumi_scm/schedule.py +14 -7
- pulumi_scm/sdwan_error_correction_profile.py +14 -7
- pulumi_scm/sdwan_path_quality_profile.py +14 -7
- pulumi_scm/sdwan_rule.py +14 -7
- pulumi_scm/sdwan_saas_quality_profile.py +14 -7
- pulumi_scm/sdwan_traffic_distribution_profile.py +14 -7
- pulumi_scm/service.py +14 -7
- pulumi_scm/service_group.py +14 -7
- pulumi_scm/service_route.py +14 -7
- pulumi_scm/service_setting.py +14 -7
- pulumi_scm/session_setting.py +14 -7
- pulumi_scm/session_timeout.py +14 -7
- pulumi_scm/syslog_server_profile.py +14 -7
- pulumi_scm/tacacs_server_profile.py +112 -7
- pulumi_scm/tag.py +14 -7
- pulumi_scm/tcp_setting.py +14 -7
- pulumi_scm/tls_service_profile.py +14 -7
- pulumi_scm/tunnel_interface.py +113 -7
- pulumi_scm/update_schedule.py +14 -7
- pulumi_scm/url_access_profile.py +14 -7
- pulumi_scm/url_category.py +14 -7
- pulumi_scm/variable.py +14 -7
- pulumi_scm/vlan_interface.py +28 -7
- pulumi_scm/vpn_setting.py +14 -7
- pulumi_scm/vulnerability_protection_profile.py +14 -7
- pulumi_scm/vulnerability_protection_signature.py +14 -7
- pulumi_scm/wildfire_anti_virus_profile.py +14 -7
- pulumi_scm/zone.py +14 -7
- pulumi_scm/zone_protection_profile.py +21 -0
- {pulumi_scm-1.0.2.dist-info → pulumi_scm-1.0.3.dist-info}/METADATA +1 -1
- pulumi_scm-1.0.3.dist-info/RECORD +354 -0
- {pulumi_scm-1.0.2.dist-info → pulumi_scm-1.0.3.dist-info}/WHEEL +1 -1
- pulumi_scm-1.0.2.dist-info/RECORD +0 -354
- {pulumi_scm-1.0.2.dist-info → pulumi_scm-1.0.3.dist-info}/top_level.txt +0 -0
pulumi_scm/decryption_rule.py
CHANGED
|
@@ -61,9 +61,9 @@ class DecryptionRuleArgs:
|
|
|
61
61
|
:param pulumi.Input[_builtins.str] description: The description of the decryption rule
|
|
62
62
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] destination_hips: The Host Integrity Profile of the destination host
|
|
63
63
|
:param pulumi.Input[_builtins.str] device: The device in which the resource is defined
|
|
64
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
65
64
|
:param pulumi.Input[_builtins.bool] disabled: Is the rule disabled?
|
|
66
65
|
:param pulumi.Input[_builtins.str] folder: The folder in which the resource is defined
|
|
66
|
+
|
|
67
67
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
68
68
|
:param pulumi.Input[_builtins.bool] log_fail: Log failed decryption events?
|
|
69
69
|
:param pulumi.Input[_builtins.str] log_setting: The log settings of the decryption rule
|
|
@@ -75,6 +75,7 @@ class DecryptionRuleArgs:
|
|
|
75
75
|
:param pulumi.Input[_builtins.str] profile: The decryption profile associated with the decryption rule
|
|
76
76
|
:param pulumi.Input[_builtins.str] relative_position: Relative positioning rule. String must be one of these: `"before"`, `"after"`, `"top"`, `"bottom"`. If not specified, rule is created at the bottom of the ruleset.
|
|
77
77
|
:param pulumi.Input[_builtins.str] snippet: The snippet in which the resource is defined
|
|
78
|
+
|
|
78
79
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
79
80
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] source_hips: Source hip
|
|
80
81
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the decryption rule
|
|
@@ -253,7 +254,6 @@ class DecryptionRuleArgs:
|
|
|
253
254
|
def device(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
254
255
|
"""
|
|
255
256
|
The device in which the resource is defined
|
|
256
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
257
257
|
"""
|
|
258
258
|
return pulumi.get(self, "device")
|
|
259
259
|
|
|
@@ -278,6 +278,7 @@ class DecryptionRuleArgs:
|
|
|
278
278
|
def folder(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
279
279
|
"""
|
|
280
280
|
The folder in which the resource is defined
|
|
281
|
+
|
|
281
282
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
282
283
|
"""
|
|
283
284
|
return pulumi.get(self, "folder")
|
|
@@ -399,6 +400,7 @@ class DecryptionRuleArgs:
|
|
|
399
400
|
def snippet(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
400
401
|
"""
|
|
401
402
|
The snippet in which the resource is defined
|
|
403
|
+
|
|
402
404
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
403
405
|
"""
|
|
404
406
|
return pulumi.get(self, "snippet")
|
|
@@ -495,9 +497,9 @@ class _DecryptionRuleState:
|
|
|
495
497
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] destination_hips: The Host Integrity Profile of the destination host
|
|
496
498
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] destinations: The destination addresses
|
|
497
499
|
:param pulumi.Input[_builtins.str] device: The device in which the resource is defined
|
|
498
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
499
500
|
:param pulumi.Input[_builtins.bool] disabled: Is the rule disabled?
|
|
500
501
|
:param pulumi.Input[_builtins.str] folder: The folder in which the resource is defined
|
|
502
|
+
|
|
501
503
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
502
504
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] froms: The source security zone
|
|
503
505
|
:param pulumi.Input[_builtins.bool] log_fail: Log failed decryption events?
|
|
@@ -511,6 +513,7 @@ class _DecryptionRuleState:
|
|
|
511
513
|
:param pulumi.Input[_builtins.str] relative_position: Relative positioning rule. String must be one of these: `"before"`, `"after"`, `"top"`, `"bottom"`. If not specified, rule is created at the bottom of the ruleset.
|
|
512
514
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] services: The destination services and/or service groups
|
|
513
515
|
:param pulumi.Input[_builtins.str] snippet: The snippet in which the resource is defined
|
|
516
|
+
|
|
514
517
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
515
518
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] source_hips: Source hip
|
|
516
519
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] source_users: List of source users and/or groups. Reserved words include `any`, `pre-login`, `known-user`, and `unknown`.
|
|
@@ -642,7 +645,6 @@ class _DecryptionRuleState:
|
|
|
642
645
|
def device(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
643
646
|
"""
|
|
644
647
|
The device in which the resource is defined
|
|
645
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
646
648
|
"""
|
|
647
649
|
return pulumi.get(self, "device")
|
|
648
650
|
|
|
@@ -667,6 +669,7 @@ class _DecryptionRuleState:
|
|
|
667
669
|
def folder(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
668
670
|
"""
|
|
669
671
|
The folder in which the resource is defined
|
|
672
|
+
|
|
670
673
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
671
674
|
"""
|
|
672
675
|
return pulumi.get(self, "folder")
|
|
@@ -812,6 +815,7 @@ class _DecryptionRuleState:
|
|
|
812
815
|
def snippet(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
813
816
|
"""
|
|
814
817
|
The snippet in which the resource is defined
|
|
818
|
+
|
|
815
819
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
816
820
|
"""
|
|
817
821
|
return pulumi.get(self, "snippet")
|
|
@@ -1058,6 +1062,31 @@ class DecryptionRule(pulumi.CustomResource):
|
|
|
1058
1062
|
type={
|
|
1059
1063
|
"ssl_forward_proxy": {},
|
|
1060
1064
|
})
|
|
1065
|
+
decryption_rule_ssl_inbound_inspection = scm.DecryptionRule("decryption_rule_ssl_inbound_inspection",
|
|
1066
|
+
name="ssl_inbound_inspection_rule",
|
|
1067
|
+
description="Decryption Rule with SSL Inbound Set",
|
|
1068
|
+
folder="All",
|
|
1069
|
+
position="pre",
|
|
1070
|
+
action="decrypt",
|
|
1071
|
+
froms=["trust"],
|
|
1072
|
+
tos=["untrust"],
|
|
1073
|
+
sources=["any"],
|
|
1074
|
+
destinations=["any"],
|
|
1075
|
+
services=["service-https"],
|
|
1076
|
+
categories=["high-risk"],
|
|
1077
|
+
source_users=["any"],
|
|
1078
|
+
type={
|
|
1079
|
+
"ssl_inbound_inspection": {
|
|
1080
|
+
"certificates": ["Authentication Cookie CA"],
|
|
1081
|
+
},
|
|
1082
|
+
},
|
|
1083
|
+
destination_hips=["any"],
|
|
1084
|
+
tags=[decryption_position_tag.name],
|
|
1085
|
+
log_success=True,
|
|
1086
|
+
log_fail=True,
|
|
1087
|
+
disabled=False,
|
|
1088
|
+
negate_source=False,
|
|
1089
|
+
negate_destination=False)
|
|
1061
1090
|
```
|
|
1062
1091
|
|
|
1063
1092
|
## Import
|
|
@@ -1094,9 +1123,9 @@ class DecryptionRule(pulumi.CustomResource):
|
|
|
1094
1123
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] destination_hips: The Host Integrity Profile of the destination host
|
|
1095
1124
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] destinations: The destination addresses
|
|
1096
1125
|
:param pulumi.Input[_builtins.str] device: The device in which the resource is defined
|
|
1097
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
1098
1126
|
:param pulumi.Input[_builtins.bool] disabled: Is the rule disabled?
|
|
1099
1127
|
:param pulumi.Input[_builtins.str] folder: The folder in which the resource is defined
|
|
1128
|
+
|
|
1100
1129
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
1101
1130
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] froms: The source security zone
|
|
1102
1131
|
:param pulumi.Input[_builtins.bool] log_fail: Log failed decryption events?
|
|
@@ -1110,6 +1139,7 @@ class DecryptionRule(pulumi.CustomResource):
|
|
|
1110
1139
|
:param pulumi.Input[_builtins.str] relative_position: Relative positioning rule. String must be one of these: `"before"`, `"after"`, `"top"`, `"bottom"`. If not specified, rule is created at the bottom of the ruleset.
|
|
1111
1140
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] services: The destination services and/or service groups
|
|
1112
1141
|
:param pulumi.Input[_builtins.str] snippet: The snippet in which the resource is defined
|
|
1142
|
+
|
|
1113
1143
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
1114
1144
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] source_hips: Source hip
|
|
1115
1145
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] source_users: List of source users and/or groups. Reserved words include `any`, `pre-login`, `known-user`, and `unknown`.
|
|
@@ -1235,6 +1265,31 @@ class DecryptionRule(pulumi.CustomResource):
|
|
|
1235
1265
|
type={
|
|
1236
1266
|
"ssl_forward_proxy": {},
|
|
1237
1267
|
})
|
|
1268
|
+
decryption_rule_ssl_inbound_inspection = scm.DecryptionRule("decryption_rule_ssl_inbound_inspection",
|
|
1269
|
+
name="ssl_inbound_inspection_rule",
|
|
1270
|
+
description="Decryption Rule with SSL Inbound Set",
|
|
1271
|
+
folder="All",
|
|
1272
|
+
position="pre",
|
|
1273
|
+
action="decrypt",
|
|
1274
|
+
froms=["trust"],
|
|
1275
|
+
tos=["untrust"],
|
|
1276
|
+
sources=["any"],
|
|
1277
|
+
destinations=["any"],
|
|
1278
|
+
services=["service-https"],
|
|
1279
|
+
categories=["high-risk"],
|
|
1280
|
+
source_users=["any"],
|
|
1281
|
+
type={
|
|
1282
|
+
"ssl_inbound_inspection": {
|
|
1283
|
+
"certificates": ["Authentication Cookie CA"],
|
|
1284
|
+
},
|
|
1285
|
+
},
|
|
1286
|
+
destination_hips=["any"],
|
|
1287
|
+
tags=[decryption_position_tag.name],
|
|
1288
|
+
log_success=True,
|
|
1289
|
+
log_fail=True,
|
|
1290
|
+
disabled=False,
|
|
1291
|
+
negate_source=False,
|
|
1292
|
+
negate_destination=False)
|
|
1238
1293
|
```
|
|
1239
1294
|
|
|
1240
1295
|
## Import
|
|
@@ -1409,9 +1464,9 @@ class DecryptionRule(pulumi.CustomResource):
|
|
|
1409
1464
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] destination_hips: The Host Integrity Profile of the destination host
|
|
1410
1465
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] destinations: The destination addresses
|
|
1411
1466
|
:param pulumi.Input[_builtins.str] device: The device in which the resource is defined
|
|
1412
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
1413
1467
|
:param pulumi.Input[_builtins.bool] disabled: Is the rule disabled?
|
|
1414
1468
|
:param pulumi.Input[_builtins.str] folder: The folder in which the resource is defined
|
|
1469
|
+
|
|
1415
1470
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
1416
1471
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] froms: The source security zone
|
|
1417
1472
|
:param pulumi.Input[_builtins.bool] log_fail: Log failed decryption events?
|
|
@@ -1425,6 +1480,7 @@ class DecryptionRule(pulumi.CustomResource):
|
|
|
1425
1480
|
:param pulumi.Input[_builtins.str] relative_position: Relative positioning rule. String must be one of these: `"before"`, `"after"`, `"top"`, `"bottom"`. If not specified, rule is created at the bottom of the ruleset.
|
|
1426
1481
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] services: The destination services and/or service groups
|
|
1427
1482
|
:param pulumi.Input[_builtins.str] snippet: The snippet in which the resource is defined
|
|
1483
|
+
|
|
1428
1484
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
1429
1485
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] source_hips: Source hip
|
|
1430
1486
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] source_users: List of source users and/or groups. Reserved words include `any`, `pre-login`, `known-user`, and `unknown`.
|
|
@@ -1513,7 +1569,6 @@ class DecryptionRule(pulumi.CustomResource):
|
|
|
1513
1569
|
def device(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1514
1570
|
"""
|
|
1515
1571
|
The device in which the resource is defined
|
|
1516
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
1517
1572
|
"""
|
|
1518
1573
|
return pulumi.get(self, "device")
|
|
1519
1574
|
|
|
@@ -1530,6 +1585,7 @@ class DecryptionRule(pulumi.CustomResource):
|
|
|
1530
1585
|
def folder(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1531
1586
|
"""
|
|
1532
1587
|
The folder in which the resource is defined
|
|
1588
|
+
|
|
1533
1589
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
1534
1590
|
"""
|
|
1535
1591
|
return pulumi.get(self, "folder")
|
|
@@ -1627,6 +1683,7 @@ class DecryptionRule(pulumi.CustomResource):
|
|
|
1627
1683
|
def snippet(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1628
1684
|
"""
|
|
1629
1685
|
The snippet in which the resource is defined
|
|
1686
|
+
|
|
1630
1687
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
1631
1688
|
"""
|
|
1632
1689
|
return pulumi.get(self, "snippet")
|
|
@@ -28,11 +28,12 @@ class DeviceRedistributionCollectorArgs:
|
|
|
28
28
|
"""
|
|
29
29
|
The set of arguments for constructing a DeviceRedistributionCollector resource.
|
|
30
30
|
:param pulumi.Input[_builtins.str] device: The device in which the resource is defined
|
|
31
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
32
31
|
:param pulumi.Input[_builtins.str] folder: The folder in which the resource is defined
|
|
32
|
+
|
|
33
33
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
34
34
|
:param pulumi.Input['DeviceRedistributionCollectorRedistributionCollectorArgs'] redistribution_collector: Redistribution collector
|
|
35
35
|
:param pulumi.Input[_builtins.str] snippet: The snippet in which the resource is defined
|
|
36
|
+
|
|
36
37
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
37
38
|
"""
|
|
38
39
|
if device is not None:
|
|
@@ -49,7 +50,6 @@ class DeviceRedistributionCollectorArgs:
|
|
|
49
50
|
def device(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
50
51
|
"""
|
|
51
52
|
The device in which the resource is defined
|
|
52
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
53
53
|
"""
|
|
54
54
|
return pulumi.get(self, "device")
|
|
55
55
|
|
|
@@ -62,6 +62,7 @@ class DeviceRedistributionCollectorArgs:
|
|
|
62
62
|
def folder(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
63
63
|
"""
|
|
64
64
|
The folder in which the resource is defined
|
|
65
|
+
|
|
65
66
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
66
67
|
"""
|
|
67
68
|
return pulumi.get(self, "folder")
|
|
@@ -87,6 +88,7 @@ class DeviceRedistributionCollectorArgs:
|
|
|
87
88
|
def snippet(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
88
89
|
"""
|
|
89
90
|
The snippet in which the resource is defined
|
|
91
|
+
|
|
90
92
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
91
93
|
"""
|
|
92
94
|
return pulumi.get(self, "snippet")
|
|
@@ -107,11 +109,12 @@ class _DeviceRedistributionCollectorState:
|
|
|
107
109
|
"""
|
|
108
110
|
Input properties used for looking up and filtering DeviceRedistributionCollector resources.
|
|
109
111
|
:param pulumi.Input[_builtins.str] device: The device in which the resource is defined
|
|
110
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
111
112
|
:param pulumi.Input[_builtins.str] folder: The folder in which the resource is defined
|
|
113
|
+
|
|
112
114
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
113
115
|
:param pulumi.Input['DeviceRedistributionCollectorRedistributionCollectorArgs'] redistribution_collector: Redistribution collector
|
|
114
116
|
:param pulumi.Input[_builtins.str] snippet: The snippet in which the resource is defined
|
|
117
|
+
|
|
115
118
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
116
119
|
"""
|
|
117
120
|
if device is not None:
|
|
@@ -130,7 +133,6 @@ class _DeviceRedistributionCollectorState:
|
|
|
130
133
|
def device(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
131
134
|
"""
|
|
132
135
|
The device in which the resource is defined
|
|
133
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
134
136
|
"""
|
|
135
137
|
return pulumi.get(self, "device")
|
|
136
138
|
|
|
@@ -143,6 +145,7 @@ class _DeviceRedistributionCollectorState:
|
|
|
143
145
|
def folder(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
144
146
|
"""
|
|
145
147
|
The folder in which the resource is defined
|
|
148
|
+
|
|
146
149
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
147
150
|
"""
|
|
148
151
|
return pulumi.get(self, "folder")
|
|
@@ -168,6 +171,7 @@ class _DeviceRedistributionCollectorState:
|
|
|
168
171
|
def snippet(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
169
172
|
"""
|
|
170
173
|
The snippet in which the resource is defined
|
|
174
|
+
|
|
171
175
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
172
176
|
"""
|
|
173
177
|
return pulumi.get(self, "snippet")
|
|
@@ -254,11 +258,12 @@ class DeviceRedistributionCollector(pulumi.CustomResource):
|
|
|
254
258
|
:param str resource_name: The name of the resource.
|
|
255
259
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
256
260
|
:param pulumi.Input[_builtins.str] device: The device in which the resource is defined
|
|
257
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
258
261
|
:param pulumi.Input[_builtins.str] folder: The folder in which the resource is defined
|
|
262
|
+
|
|
259
263
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
260
264
|
:param pulumi.Input[Union['DeviceRedistributionCollectorRedistributionCollectorArgs', 'DeviceRedistributionCollectorRedistributionCollectorArgsDict']] redistribution_collector: Redistribution collector
|
|
261
265
|
:param pulumi.Input[_builtins.str] snippet: The snippet in which the resource is defined
|
|
266
|
+
|
|
262
267
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
263
268
|
"""
|
|
264
269
|
...
|
|
@@ -377,11 +382,12 @@ class DeviceRedistributionCollector(pulumi.CustomResource):
|
|
|
377
382
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
378
383
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
379
384
|
:param pulumi.Input[_builtins.str] device: The device in which the resource is defined
|
|
380
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
381
385
|
:param pulumi.Input[_builtins.str] folder: The folder in which the resource is defined
|
|
386
|
+
|
|
382
387
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
383
388
|
:param pulumi.Input[Union['DeviceRedistributionCollectorRedistributionCollectorArgs', 'DeviceRedistributionCollectorRedistributionCollectorArgsDict']] redistribution_collector: Redistribution collector
|
|
384
389
|
:param pulumi.Input[_builtins.str] snippet: The snippet in which the resource is defined
|
|
390
|
+
|
|
385
391
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
386
392
|
"""
|
|
387
393
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -400,7 +406,6 @@ class DeviceRedistributionCollector(pulumi.CustomResource):
|
|
|
400
406
|
def device(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
401
407
|
"""
|
|
402
408
|
The device in which the resource is defined
|
|
403
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
404
409
|
"""
|
|
405
410
|
return pulumi.get(self, "device")
|
|
406
411
|
|
|
@@ -409,6 +414,7 @@ class DeviceRedistributionCollector(pulumi.CustomResource):
|
|
|
409
414
|
def folder(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
410
415
|
"""
|
|
411
416
|
The folder in which the resource is defined
|
|
417
|
+
|
|
412
418
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
413
419
|
"""
|
|
414
420
|
return pulumi.get(self, "folder")
|
|
@@ -426,6 +432,7 @@ class DeviceRedistributionCollector(pulumi.CustomResource):
|
|
|
426
432
|
def snippet(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
427
433
|
"""
|
|
428
434
|
The snippet in which the resource is defined
|
|
435
|
+
|
|
429
436
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
430
437
|
"""
|
|
431
438
|
return pulumi.get(self, "snippet")
|
pulumi_scm/dhcp_interface.py
CHANGED
|
@@ -30,15 +30,18 @@ class DhcpInterfaceArgs:
|
|
|
30
30
|
"""
|
|
31
31
|
The set of arguments for constructing a DhcpInterface resource.
|
|
32
32
|
:param pulumi.Input[_builtins.str] device: The device in which the resource is defined
|
|
33
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
34
33
|
:param pulumi.Input[_builtins.str] folder: The folder in which the resource is defined
|
|
34
|
+
|
|
35
35
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
36
36
|
:param pulumi.Input[_builtins.str] name: Interface name
|
|
37
37
|
:param pulumi.Input['DhcpInterfaceRelayArgs'] relay: Relay
|
|
38
|
+
|
|
38
39
|
> ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
|
|
39
40
|
:param pulumi.Input['DhcpInterfaceServerArgs'] server: Server
|
|
41
|
+
|
|
40
42
|
> ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
|
|
41
43
|
:param pulumi.Input[_builtins.str] snippet: The snippet in which the resource is defined
|
|
44
|
+
|
|
42
45
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
43
46
|
"""
|
|
44
47
|
if device is not None:
|
|
@@ -59,7 +62,6 @@ class DhcpInterfaceArgs:
|
|
|
59
62
|
def device(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
60
63
|
"""
|
|
61
64
|
The device in which the resource is defined
|
|
62
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
63
65
|
"""
|
|
64
66
|
return pulumi.get(self, "device")
|
|
65
67
|
|
|
@@ -72,6 +74,7 @@ class DhcpInterfaceArgs:
|
|
|
72
74
|
def folder(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
73
75
|
"""
|
|
74
76
|
The folder in which the resource is defined
|
|
77
|
+
|
|
75
78
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
76
79
|
"""
|
|
77
80
|
return pulumi.get(self, "folder")
|
|
@@ -97,6 +100,7 @@ class DhcpInterfaceArgs:
|
|
|
97
100
|
def relay(self) -> Optional[pulumi.Input['DhcpInterfaceRelayArgs']]:
|
|
98
101
|
"""
|
|
99
102
|
Relay
|
|
103
|
+
|
|
100
104
|
> ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
|
|
101
105
|
"""
|
|
102
106
|
return pulumi.get(self, "relay")
|
|
@@ -110,6 +114,7 @@ class DhcpInterfaceArgs:
|
|
|
110
114
|
def server(self) -> Optional[pulumi.Input['DhcpInterfaceServerArgs']]:
|
|
111
115
|
"""
|
|
112
116
|
Server
|
|
117
|
+
|
|
113
118
|
> ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
|
|
114
119
|
"""
|
|
115
120
|
return pulumi.get(self, "server")
|
|
@@ -123,6 +128,7 @@ class DhcpInterfaceArgs:
|
|
|
123
128
|
def snippet(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
124
129
|
"""
|
|
125
130
|
The snippet in which the resource is defined
|
|
131
|
+
|
|
126
132
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
127
133
|
"""
|
|
128
134
|
return pulumi.get(self, "snippet")
|
|
@@ -145,15 +151,18 @@ class _DhcpInterfaceState:
|
|
|
145
151
|
"""
|
|
146
152
|
Input properties used for looking up and filtering DhcpInterface resources.
|
|
147
153
|
:param pulumi.Input[_builtins.str] device: The device in which the resource is defined
|
|
148
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
149
154
|
:param pulumi.Input[_builtins.str] folder: The folder in which the resource is defined
|
|
155
|
+
|
|
150
156
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
151
157
|
:param pulumi.Input[_builtins.str] name: Interface name
|
|
152
158
|
:param pulumi.Input['DhcpInterfaceRelayArgs'] relay: Relay
|
|
159
|
+
|
|
153
160
|
> ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
|
|
154
161
|
:param pulumi.Input['DhcpInterfaceServerArgs'] server: Server
|
|
162
|
+
|
|
155
163
|
> ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
|
|
156
164
|
:param pulumi.Input[_builtins.str] snippet: The snippet in which the resource is defined
|
|
165
|
+
|
|
157
166
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
158
167
|
"""
|
|
159
168
|
if device is not None:
|
|
@@ -176,7 +185,6 @@ class _DhcpInterfaceState:
|
|
|
176
185
|
def device(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
177
186
|
"""
|
|
178
187
|
The device in which the resource is defined
|
|
179
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
180
188
|
"""
|
|
181
189
|
return pulumi.get(self, "device")
|
|
182
190
|
|
|
@@ -189,6 +197,7 @@ class _DhcpInterfaceState:
|
|
|
189
197
|
def folder(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
190
198
|
"""
|
|
191
199
|
The folder in which the resource is defined
|
|
200
|
+
|
|
192
201
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
193
202
|
"""
|
|
194
203
|
return pulumi.get(self, "folder")
|
|
@@ -214,6 +223,7 @@ class _DhcpInterfaceState:
|
|
|
214
223
|
def relay(self) -> Optional[pulumi.Input['DhcpInterfaceRelayArgs']]:
|
|
215
224
|
"""
|
|
216
225
|
Relay
|
|
226
|
+
|
|
217
227
|
> ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
|
|
218
228
|
"""
|
|
219
229
|
return pulumi.get(self, "relay")
|
|
@@ -227,6 +237,7 @@ class _DhcpInterfaceState:
|
|
|
227
237
|
def server(self) -> Optional[pulumi.Input['DhcpInterfaceServerArgs']]:
|
|
228
238
|
"""
|
|
229
239
|
Server
|
|
240
|
+
|
|
230
241
|
> ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
|
|
231
242
|
"""
|
|
232
243
|
return pulumi.get(self, "server")
|
|
@@ -240,6 +251,7 @@ class _DhcpInterfaceState:
|
|
|
240
251
|
def snippet(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
241
252
|
"""
|
|
242
253
|
The snippet in which the resource is defined
|
|
254
|
+
|
|
243
255
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
244
256
|
"""
|
|
245
257
|
return pulumi.get(self, "snippet")
|
|
@@ -274,6 +286,59 @@ class DhcpInterface(pulumi.CustomResource):
|
|
|
274
286
|
"""
|
|
275
287
|
DhcpInterface resource
|
|
276
288
|
|
|
289
|
+
## Example Usage
|
|
290
|
+
|
|
291
|
+
```python
|
|
292
|
+
import pulumi
|
|
293
|
+
import pulumi_scm as scm
|
|
294
|
+
|
|
295
|
+
dhcp_server_example = scm.DhcpInterface("dhcp_server_example",
|
|
296
|
+
folder="ngfw-shared",
|
|
297
|
+
name="$test-interface-must-exist",
|
|
298
|
+
server={
|
|
299
|
+
"ip_pools": ["10.10.10.10-10.10.10.200"],
|
|
300
|
+
"mode": "auto",
|
|
301
|
+
"probe_ip": True,
|
|
302
|
+
"option": {
|
|
303
|
+
"dns": {
|
|
304
|
+
"primary": "8.8.8.8",
|
|
305
|
+
"secondary": "1.1.1.1",
|
|
306
|
+
},
|
|
307
|
+
"dns_suffix": "example.local",
|
|
308
|
+
"gateway": "10.10.10.1",
|
|
309
|
+
"subnet_mask": "255.255.255.0",
|
|
310
|
+
"pop3_server": "192.0.2.25",
|
|
311
|
+
"smtp_server": "192.0.2.26",
|
|
312
|
+
"lease": {
|
|
313
|
+
"timeout": 3600,
|
|
314
|
+
},
|
|
315
|
+
"ntp": {
|
|
316
|
+
"primary": "129.6.15.28",
|
|
317
|
+
"secondary": "132.163.96.1",
|
|
318
|
+
},
|
|
319
|
+
"wins": {
|
|
320
|
+
"primary": "192.168.1.1",
|
|
321
|
+
"secondary": "192.168.1.2",
|
|
322
|
+
},
|
|
323
|
+
"nis": {
|
|
324
|
+
"primary": "192.0.2.10",
|
|
325
|
+
"secondary": "192.0.2.11",
|
|
326
|
+
},
|
|
327
|
+
"user_defineds": [{
|
|
328
|
+
"inherited": True,
|
|
329
|
+
"name": "option-foo",
|
|
330
|
+
"code": 224,
|
|
331
|
+
"ip": ["192.0.2.10"],
|
|
332
|
+
}],
|
|
333
|
+
},
|
|
334
|
+
"reserveds": [{
|
|
335
|
+
"description": "Reserved lease for printer",
|
|
336
|
+
"mac": "aa:bb:cc:dd:ee:ff",
|
|
337
|
+
"name": "10.10.10.50",
|
|
338
|
+
}],
|
|
339
|
+
})
|
|
340
|
+
```
|
|
341
|
+
|
|
277
342
|
## Import
|
|
278
343
|
|
|
279
344
|
The following command can be used to import a resource not managed by Terraform:
|
|
@@ -303,15 +368,18 @@ class DhcpInterface(pulumi.CustomResource):
|
|
|
303
368
|
:param str resource_name: The name of the resource.
|
|
304
369
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
305
370
|
:param pulumi.Input[_builtins.str] device: The device in which the resource is defined
|
|
306
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
307
371
|
:param pulumi.Input[_builtins.str] folder: The folder in which the resource is defined
|
|
372
|
+
|
|
308
373
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
309
374
|
:param pulumi.Input[_builtins.str] name: Interface name
|
|
310
375
|
:param pulumi.Input[Union['DhcpInterfaceRelayArgs', 'DhcpInterfaceRelayArgsDict']] relay: Relay
|
|
376
|
+
|
|
311
377
|
> ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
|
|
312
378
|
:param pulumi.Input[Union['DhcpInterfaceServerArgs', 'DhcpInterfaceServerArgsDict']] server: Server
|
|
379
|
+
|
|
313
380
|
> ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
|
|
314
381
|
:param pulumi.Input[_builtins.str] snippet: The snippet in which the resource is defined
|
|
382
|
+
|
|
315
383
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
316
384
|
"""
|
|
317
385
|
...
|
|
@@ -323,6 +391,59 @@ class DhcpInterface(pulumi.CustomResource):
|
|
|
323
391
|
"""
|
|
324
392
|
DhcpInterface resource
|
|
325
393
|
|
|
394
|
+
## Example Usage
|
|
395
|
+
|
|
396
|
+
```python
|
|
397
|
+
import pulumi
|
|
398
|
+
import pulumi_scm as scm
|
|
399
|
+
|
|
400
|
+
dhcp_server_example = scm.DhcpInterface("dhcp_server_example",
|
|
401
|
+
folder="ngfw-shared",
|
|
402
|
+
name="$test-interface-must-exist",
|
|
403
|
+
server={
|
|
404
|
+
"ip_pools": ["10.10.10.10-10.10.10.200"],
|
|
405
|
+
"mode": "auto",
|
|
406
|
+
"probe_ip": True,
|
|
407
|
+
"option": {
|
|
408
|
+
"dns": {
|
|
409
|
+
"primary": "8.8.8.8",
|
|
410
|
+
"secondary": "1.1.1.1",
|
|
411
|
+
},
|
|
412
|
+
"dns_suffix": "example.local",
|
|
413
|
+
"gateway": "10.10.10.1",
|
|
414
|
+
"subnet_mask": "255.255.255.0",
|
|
415
|
+
"pop3_server": "192.0.2.25",
|
|
416
|
+
"smtp_server": "192.0.2.26",
|
|
417
|
+
"lease": {
|
|
418
|
+
"timeout": 3600,
|
|
419
|
+
},
|
|
420
|
+
"ntp": {
|
|
421
|
+
"primary": "129.6.15.28",
|
|
422
|
+
"secondary": "132.163.96.1",
|
|
423
|
+
},
|
|
424
|
+
"wins": {
|
|
425
|
+
"primary": "192.168.1.1",
|
|
426
|
+
"secondary": "192.168.1.2",
|
|
427
|
+
},
|
|
428
|
+
"nis": {
|
|
429
|
+
"primary": "192.0.2.10",
|
|
430
|
+
"secondary": "192.0.2.11",
|
|
431
|
+
},
|
|
432
|
+
"user_defineds": [{
|
|
433
|
+
"inherited": True,
|
|
434
|
+
"name": "option-foo",
|
|
435
|
+
"code": 224,
|
|
436
|
+
"ip": ["192.0.2.10"],
|
|
437
|
+
}],
|
|
438
|
+
},
|
|
439
|
+
"reserveds": [{
|
|
440
|
+
"description": "Reserved lease for printer",
|
|
441
|
+
"mac": "aa:bb:cc:dd:ee:ff",
|
|
442
|
+
"name": "10.10.10.50",
|
|
443
|
+
}],
|
|
444
|
+
})
|
|
445
|
+
```
|
|
446
|
+
|
|
326
447
|
## Import
|
|
327
448
|
|
|
328
449
|
The following command can be used to import a resource not managed by Terraform:
|
|
@@ -411,15 +532,18 @@ class DhcpInterface(pulumi.CustomResource):
|
|
|
411
532
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
412
533
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
413
534
|
:param pulumi.Input[_builtins.str] device: The device in which the resource is defined
|
|
414
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
415
535
|
:param pulumi.Input[_builtins.str] folder: The folder in which the resource is defined
|
|
536
|
+
|
|
416
537
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
417
538
|
:param pulumi.Input[_builtins.str] name: Interface name
|
|
418
539
|
:param pulumi.Input[Union['DhcpInterfaceRelayArgs', 'DhcpInterfaceRelayArgsDict']] relay: Relay
|
|
540
|
+
|
|
419
541
|
> ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
|
|
420
542
|
:param pulumi.Input[Union['DhcpInterfaceServerArgs', 'DhcpInterfaceServerArgsDict']] server: Server
|
|
543
|
+
|
|
421
544
|
> ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
|
|
422
545
|
:param pulumi.Input[_builtins.str] snippet: The snippet in which the resource is defined
|
|
546
|
+
|
|
423
547
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
424
548
|
"""
|
|
425
549
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -440,7 +564,6 @@ class DhcpInterface(pulumi.CustomResource):
|
|
|
440
564
|
def device(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
441
565
|
"""
|
|
442
566
|
The device in which the resource is defined
|
|
443
|
-
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
444
567
|
"""
|
|
445
568
|
return pulumi.get(self, "device")
|
|
446
569
|
|
|
@@ -449,6 +572,7 @@ class DhcpInterface(pulumi.CustomResource):
|
|
|
449
572
|
def folder(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
450
573
|
"""
|
|
451
574
|
The folder in which the resource is defined
|
|
575
|
+
|
|
452
576
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
453
577
|
"""
|
|
454
578
|
return pulumi.get(self, "folder")
|
|
@@ -466,6 +590,7 @@ class DhcpInterface(pulumi.CustomResource):
|
|
|
466
590
|
def relay(self) -> pulumi.Output[Optional['outputs.DhcpInterfaceRelay']]:
|
|
467
591
|
"""
|
|
468
592
|
Relay
|
|
593
|
+
|
|
469
594
|
> ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
|
|
470
595
|
"""
|
|
471
596
|
return pulumi.get(self, "relay")
|
|
@@ -475,6 +600,7 @@ class DhcpInterface(pulumi.CustomResource):
|
|
|
475
600
|
def server(self) -> pulumi.Output[Optional['outputs.DhcpInterfaceServer']]:
|
|
476
601
|
"""
|
|
477
602
|
Server
|
|
603
|
+
|
|
478
604
|
> ℹ️ **Note:** You must specify exactly one of `relay` and `server`.
|
|
479
605
|
"""
|
|
480
606
|
return pulumi.get(self, "server")
|
|
@@ -484,6 +610,7 @@ class DhcpInterface(pulumi.CustomResource):
|
|
|
484
610
|
def snippet(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
485
611
|
"""
|
|
486
612
|
The snippet in which the resource is defined
|
|
613
|
+
|
|
487
614
|
> ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
|
|
488
615
|
"""
|
|
489
616
|
return pulumi.get(self, "snippet")
|