@cdktf-providers/aviatrixsystems-aviatrix 8.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +355 -0
- package/README.md +19 -0
- package/dist/account/index.d.ts +762 -0
- package/dist/account/index.js +1600 -0
- package/dist/account-user/index.d.ts +74 -0
- package/dist/account-user/index.js +151 -0
- package/dist/aws-guard-duty/index.d.ts +75 -0
- package/dist/aws-guard-duty/index.js +154 -0
- package/dist/aws-peer/index.d.ts +126 -0
- package/dist/aws-peer/index.js +257 -0
- package/dist/aws-tgw/index.d.ts +129 -0
- package/dist/aws-tgw/index.js +267 -0
- package/dist/aws-tgw-connect/index.d.ts +86 -0
- package/dist/aws-tgw-connect/index.js +179 -0
- package/dist/aws-tgw-connect-peer/index.d.ts +126 -0
- package/dist/aws-tgw-connect-peer/index.js +258 -0
- package/dist/aws-tgw-directconnect/index.d.ts +105 -0
- package/dist/aws-tgw-directconnect/index.js +214 -0
- package/dist/aws-tgw-intra-domain-inspection/index.d.ts +74 -0
- package/dist/aws-tgw-intra-domain-inspection/index.js +151 -0
- package/dist/aws-tgw-network-domain/index.d.ts +97 -0
- package/dist/aws-tgw-network-domain/index.js +200 -0
- package/dist/aws-tgw-peering/index.d.ts +64 -0
- package/dist/aws-tgw-peering/index.js +131 -0
- package/dist/aws-tgw-peering-domain-conn/index.d.ts +84 -0
- package/dist/aws-tgw-peering-domain-conn/index.js +171 -0
- package/dist/aws-tgw-transit-gateway-attachment/index.d.ts +94 -0
- package/dist/aws-tgw-transit-gateway-attachment/index.js +191 -0
- package/dist/aws-tgw-vpc-attachment/index.d.ts +160 -0
- package/dist/aws-tgw-vpc-attachment/index.js +329 -0
- package/dist/aws-tgw-vpn-conn/index.d.ts +225 -0
- package/dist/aws-tgw-vpn-conn/index.js +485 -0
- package/dist/azure-peer/index.d.ts +106 -0
- package/dist/azure-peer/index.js +219 -0
- package/dist/azure-spoke-native-peering/index.d.ts +84 -0
- package/dist/azure-spoke-native-peering/index.js +171 -0
- package/dist/azure-vng-conn/index.d.ts +67 -0
- package/dist/azure-vng-conn/index.js +143 -0
- package/dist/centralized-transit-firenet/index.d.ts +64 -0
- package/dist/centralized-transit-firenet/index.js +131 -0
- package/dist/cloudwatch-agent/index.d.ts +87 -0
- package/dist/cloudwatch-agent/index.js +181 -0
- package/dist/controller-access-allow-list-config/index.d.ts +119 -0
- package/dist/controller-access-allow-list-config/index.js +267 -0
- package/dist/controller-bgp-communities-auto-cloud-config/index.d.ts +64 -0
- package/dist/controller-bgp-communities-auto-cloud-config/index.js +131 -0
- package/dist/controller-bgp-communities-global-config/index.d.ts +54 -0
- package/dist/controller-bgp-communities-global-config/index.js +111 -0
- package/dist/controller-bgp-max-as-limit-config/index.d.ts +54 -0
- package/dist/controller-bgp-max-as-limit-config/index.js +111 -0
- package/dist/controller-cert-domain-config/index.d.ts +55 -0
- package/dist/controller-cert-domain-config/index.js +114 -0
- package/dist/controller-config/index.d.ts +267 -0
- package/dist/controller-config/index.js +563 -0
- package/dist/controller-email-config/index.d.ts +99 -0
- package/dist/controller-email-config/index.js +210 -0
- package/dist/controller-email-exception-notification-config/index.d.ts +55 -0
- package/dist/controller-email-exception-notification-config/index.js +114 -0
- package/dist/controller-gateway-keepalive-config/index.d.ts +54 -0
- package/dist/controller-gateway-keepalive-config/index.js +111 -0
- package/dist/controller-private-mode-config/index.d.ts +65 -0
- package/dist/controller-private-mode-config/index.js +134 -0
- package/dist/controller-private-oob/index.d.ts +55 -0
- package/dist/controller-private-oob/index.js +114 -0
- package/dist/controller-security-group-management-config/index.d.ts +65 -0
- package/dist/controller-security-group-management-config/index.js +134 -0
- package/dist/copilot-association/index.d.ts +54 -0
- package/dist/copilot-association/index.js +111 -0
- package/dist/copilot-fault-tolerant-deployment/index.d.ts +212 -0
- package/dist/copilot-fault-tolerant-deployment/index.js +468 -0
- package/dist/copilot-security-group-management-config/index.d.ts +120 -0
- package/dist/copilot-security-group-management-config/index.js +249 -0
- package/dist/copilot-simple-deployment/index.d.ts +138 -0
- package/dist/copilot-simple-deployment/index.js +285 -0
- package/dist/data-aviatrix-account/index.d.ts +73 -0
- package/dist/data-aviatrix-account/index.js +187 -0
- package/dist/data-aviatrix-caller-identity/index.d.ts +45 -0
- package/dist/data-aviatrix-caller-identity/index.js +95 -0
- package/dist/data-aviatrix-controller-metadata/index.d.ts +48 -0
- package/dist/data-aviatrix-controller-metadata/index.js +107 -0
- package/dist/data-aviatrix-device-interfaces/index.d.ts +89 -0
- package/dist/data-aviatrix-device-interfaces/index.js +190 -0
- package/dist/data-aviatrix-edge-gateway-wan-interface-discovery/index.d.ts +65 -0
- package/dist/data-aviatrix-edge-gateway-wan-interface-discovery/index.js +135 -0
- package/dist/data-aviatrix-firenet/index.d.ts +59 -0
- package/dist/data-aviatrix-firenet/index.js +131 -0
- package/dist/data-aviatrix-firenet-firewall-manager/index.d.ts +184 -0
- package/dist/data-aviatrix-firenet-firewall-manager/index.js +381 -0
- package/dist/data-aviatrix-firenet-vendor-integration/index.d.ts +195 -0
- package/dist/data-aviatrix-firenet-vendor-integration/index.js +404 -0
- package/dist/data-aviatrix-firewall/index.d.ts +96 -0
- package/dist/data-aviatrix-firewall/index.js +218 -0
- package/dist/data-aviatrix-firewall-instance-images/index.d.ts +90 -0
- package/dist/data-aviatrix-firewall-instance-images/index.js +194 -0
- package/dist/data-aviatrix-gateway/index.d.ts +135 -0
- package/dist/data-aviatrix-gateway/index.js +432 -0
- package/dist/data-aviatrix-gateway-image/index.d.ts +65 -0
- package/dist/data-aviatrix-gateway-image/index.js +135 -0
- package/dist/data-aviatrix-network-domains/index.d.ts +89 -0
- package/dist/data-aviatrix-network-domains/index.js +210 -0
- package/dist/data-aviatrix-smart-groups/index.d.ts +161 -0
- package/dist/data-aviatrix-smart-groups/index.js +373 -0
- package/dist/data-aviatrix-spoke-gateway/index.d.ts +125 -0
- package/dist/data-aviatrix-spoke-gateway/index.js +392 -0
- package/dist/data-aviatrix-spoke-gateway-inspection-subnets/index.d.ts +55 -0
- package/dist/data-aviatrix-spoke-gateway-inspection-subnets/index.js +115 -0
- package/dist/data-aviatrix-spoke-gateways/index.d.ts +130 -0
- package/dist/data-aviatrix-spoke-gateways/index.js +374 -0
- package/dist/data-aviatrix-transit-gateway/index.d.ts +208 -0
- package/dist/data-aviatrix-transit-gateway/index.js +602 -0
- package/dist/data-aviatrix-transit-gateways/index.d.ts +202 -0
- package/dist/data-aviatrix-transit-gateways/index.js +540 -0
- package/dist/data-aviatrix-vpc/index.d.ts +187 -0
- package/dist/data-aviatrix-vpc/index.js +439 -0
- package/dist/data-aviatrix-vpc-tracker/index.d.ts +165 -0
- package/dist/data-aviatrix-vpc-tracker/index.js +369 -0
- package/dist/datadog-agent/index.d.ts +88 -0
- package/dist/datadog-agent/index.js +184 -0
- package/dist/device-interface-config/index.d.ts +74 -0
- package/dist/device-interface-config/index.js +151 -0
- package/dist/distributed-firewalling-config/index.d.ts +55 -0
- package/dist/distributed-firewalling-config/index.js +114 -0
- package/dist/distributed-firewalling-default-action-rule/index.d.ts +64 -0
- package/dist/distributed-firewalling-default-action-rule/index.js +131 -0
- package/dist/distributed-firewalling-intra-vpc/index.d.ts +117 -0
- package/dist/distributed-firewalling-intra-vpc/index.js +266 -0
- package/dist/distributed-firewalling-origin-cert-enforcement-config/index.d.ts +55 -0
- package/dist/distributed-firewalling-origin-cert-enforcement-config/index.js +114 -0
- package/dist/distributed-firewalling-policy-list/index.d.ts +291 -0
- package/dist/distributed-firewalling-policy-list/index.js +705 -0
- package/dist/distributed-firewalling-proxy-ca-config/index.d.ts +69 -0
- package/dist/distributed-firewalling-proxy-ca-config/index.js +151 -0
- package/dist/edge-csp/index.d.ts +693 -0
- package/dist/edge-csp/index.js +1561 -0
- package/dist/edge-csp-ha/index.d.ts +227 -0
- package/dist/edge-csp-ha/index.js +532 -0
- package/dist/edge-equinix/index.d.ts +651 -0
- package/dist/edge-equinix/index.js +1475 -0
- package/dist/edge-equinix-ha/index.d.ts +227 -0
- package/dist/edge-equinix-ha/index.js +532 -0
- package/dist/edge-gateway-selfmanaged/index.d.ts +607 -0
- package/dist/edge-gateway-selfmanaged/index.js +1378 -0
- package/dist/edge-gateway-selfmanaged-ha/index.d.ts +246 -0
- package/dist/edge-gateway-selfmanaged-ha/index.js +558 -0
- package/dist/edge-megaport/index.d.ts +704 -0
- package/dist/edge-megaport/index.js +1600 -0
- package/dist/edge-megaport-ha/index.d.ts +206 -0
- package/dist/edge-megaport-ha/index.js +479 -0
- package/dist/edge-neo/index.d.ts +669 -0
- package/dist/edge-neo/index.js +1509 -0
- package/dist/edge-neo-device-onboarding/index.d.ts +216 -0
- package/dist/edge-neo-device-onboarding/index.js +489 -0
- package/dist/edge-neo-ha/index.d.ts +227 -0
- package/dist/edge-neo-ha/index.js +532 -0
- package/dist/edge-platform/index.d.ts +691 -0
- package/dist/edge-platform/index.js +1555 -0
- package/dist/edge-platform-device-onboarding/index.d.ts +216 -0
- package/dist/edge-platform-device-onboarding/index.js +489 -0
- package/dist/edge-platform-ha/index.d.ts +227 -0
- package/dist/edge-platform-ha/index.js +532 -0
- package/dist/edge-proxy-profile/index.d.ts +98 -0
- package/dist/edge-proxy-profile/index.js +204 -0
- package/dist/edge-spoke/index.d.ts +434 -0
- package/dist/edge-spoke/index.js +953 -0
- package/dist/edge-spoke-external-device-conn/index.d.ts +371 -0
- package/dist/edge-spoke-external-device-conn/index.js +800 -0
- package/dist/edge-spoke-transit-attachment/index.d.ts +197 -0
- package/dist/edge-spoke-transit-attachment/index.js +411 -0
- package/dist/edge-vm-selfmanaged/index.d.ts +423 -0
- package/dist/edge-vm-selfmanaged/index.js +930 -0
- package/dist/edge-vm-selfmanaged-ha/index.d.ts +202 -0
- package/dist/edge-vm-selfmanaged-ha/index.js +456 -0
- package/dist/edge-zededa/index.d.ts +693 -0
- package/dist/edge-zededa/index.js +1561 -0
- package/dist/edge-zededa-ha/index.d.ts +227 -0
- package/dist/edge-zededa-ha/index.js +532 -0
- package/dist/filebeat-forwarder/index.d.ts +98 -0
- package/dist/filebeat-forwarder/index.js +204 -0
- package/dist/firenet/index.d.ts +120 -0
- package/dist/firenet/index.js +249 -0
- package/dist/firewall/index.d.ts +204 -0
- package/dist/firewall/index.js +467 -0
- package/dist/firewall-instance/index.d.ts +384 -0
- package/dist/firewall-instance/index.js +794 -0
- package/dist/firewall-instance-association/index.d.ts +141 -0
- package/dist/firewall-instance-association/index.js +292 -0
- package/dist/firewall-management-access/index.d.ts +64 -0
- package/dist/firewall-management-access/index.js +131 -0
- package/dist/firewall-policy/index.d.ts +138 -0
- package/dist/firewall-policy/index.js +283 -0
- package/dist/firewall-tag/index.d.ts +118 -0
- package/dist/firewall-tag/index.js +264 -0
- package/dist/fqdn/index.d.ts +237 -0
- package/dist/fqdn/index.js +542 -0
- package/dist/fqdn-global-config/index.d.ts +110 -0
- package/dist/fqdn-global-config/index.js +229 -0
- package/dist/fqdn-pass-through/index.d.ts +64 -0
- package/dist/fqdn-pass-through/index.js +131 -0
- package/dist/fqdn-tag-rule/index.d.ts +95 -0
- package/dist/fqdn-tag-rule/index.js +194 -0
- package/dist/gateway/index.d.ts +913 -0
- package/dist/gateway/index.js +1904 -0
- package/dist/gateway-certificate-config/index.d.ts +64 -0
- package/dist/gateway-certificate-config/index.js +131 -0
- package/dist/gateway-dnat/index.d.ts +319 -0
- package/dist/gateway-dnat/index.js +785 -0
- package/dist/gateway-snat/index.d.ts +342 -0
- package/dist/gateway-snat/index.js +834 -0
- package/dist/geo-vpn/index.d.ts +94 -0
- package/dist/geo-vpn/index.js +191 -0
- package/dist/global-vpc-excluded-instance/index.d.ts +75 -0
- package/dist/global-vpc-excluded-instance/index.js +155 -0
- package/dist/global-vpc-tagging-settings/index.d.ts +64 -0
- package/dist/global-vpc-tagging-settings/index.js +131 -0
- package/dist/index.d.ts +150 -0
- package/dist/index.js +151 -0
- package/dist/kubernetes-cluster/index.d.ts +232 -0
- package/dist/kubernetes-cluster/index.js +534 -0
- package/dist/lazy-index.d.ts +0 -0
- package/dist/lazy-index.js +151 -0
- package/dist/link-hierarchy/index.d.ts +161 -0
- package/dist/link-hierarchy/index.js +370 -0
- package/dist/netflow-agent/index.d.ts +98 -0
- package/dist/netflow-agent/index.js +204 -0
- package/dist/periodic-ping/index.d.ts +74 -0
- package/dist/periodic-ping/index.js +151 -0
- package/dist/private-mode-lb/index.d.ts +159 -0
- package/dist/private-mode-lb/index.js +347 -0
- package/dist/private-mode-multicloud-endpoint/index.d.ts +85 -0
- package/dist/private-mode-multicloud-endpoint/index.js +175 -0
- package/dist/provider/index.d.ts +121 -0
- package/dist/provider/index.js +273 -0
- package/dist/proxy-config/index.d.ts +75 -0
- package/dist/proxy-config/index.js +154 -0
- package/dist/qos-class/index.d.ts +65 -0
- package/dist/qos-class/index.js +135 -0
- package/dist/qos-policy-list/index.d.ts +118 -0
- package/dist/qos-policy-list/index.js +270 -0
- package/dist/rbac-group/index.d.ts +65 -0
- package/dist/rbac-group/index.js +134 -0
- package/dist/rbac-group-access-account-attachment/index.d.ts +64 -0
- package/dist/rbac-group-access-account-attachment/index.js +131 -0
- package/dist/rbac-group-permission-attachment/index.d.ts +64 -0
- package/dist/rbac-group-permission-attachment/index.js +131 -0
- package/dist/rbac-group-user-attachment/index.d.ts +64 -0
- package/dist/rbac-group-user-attachment/index.js +131 -0
- package/dist/remote-syslog/index.d.ts +154 -0
- package/dist/remote-syslog/index.js +323 -0
- package/dist/saml-endpoint/index.d.ts +152 -0
- package/dist/saml-endpoint/index.js +315 -0
- package/dist/segmentation-network-domain/index.d.ts +54 -0
- package/dist/segmentation-network-domain/index.js +111 -0
- package/dist/segmentation-network-domain-association/index.d.ts +75 -0
- package/dist/segmentation-network-domain-association/index.js +154 -0
- package/dist/segmentation-network-domain-connection-policy/index.d.ts +64 -0
- package/dist/segmentation-network-domain-connection-policy/index.js +131 -0
- package/dist/site2cloud/index.d.ts +642 -0
- package/dist/site2cloud/index.js +1335 -0
- package/dist/site2cloud-ca-cert-tag/index.d.ts +112 -0
- package/dist/site2cloud-ca-cert-tag/index.js +256 -0
- package/dist/sla-class/index.d.ts +85 -0
- package/dist/sla-class/index.js +175 -0
- package/dist/smart-group/index.d.ts +336 -0
- package/dist/smart-group/index.js +789 -0
- package/dist/splunk-logging/index.d.ts +100 -0
- package/dist/splunk-logging/index.js +210 -0
- package/dist/spoke-external-device-conn/index.d.ts +638 -0
- package/dist/spoke-external-device-conn/index.js +1361 -0
- package/dist/spoke-gateway/index.d.ts +903 -0
- package/dist/spoke-gateway/index.js +1885 -0
- package/dist/spoke-gateway-subnet-group/index.d.ts +75 -0
- package/dist/spoke-gateway-subnet-group/index.js +154 -0
- package/dist/spoke-ha-gateway/index.d.ts +172 -0
- package/dist/spoke-ha-gateway/index.js +374 -0
- package/dist/spoke-transit-attachment/index.d.ts +131 -0
- package/dist/spoke-transit-attachment/index.js +273 -0
- package/dist/sumologic-forwarder/index.d.ts +98 -0
- package/dist/sumologic-forwarder/index.js +204 -0
- package/dist/traffic-classifier/index.d.ts +239 -0
- package/dist/traffic-classifier/index.js +574 -0
- package/dist/trans-peer/index.d.ts +74 -0
- package/dist/trans-peer/index.js +151 -0
- package/dist/transit-external-device-conn/index.d.ts +694 -0
- package/dist/transit-external-device-conn/index.js +1479 -0
- package/dist/transit-firenet-policy/index.d.ts +64 -0
- package/dist/transit-firenet-policy/index.js +131 -0
- package/dist/transit-gateway/index.d.ts +1566 -0
- package/dist/transit-gateway/index.js +3442 -0
- package/dist/transit-gateway-peering/index.d.ts +240 -0
- package/dist/transit-gateway-peering/index.js +499 -0
- package/dist/tunnel/index.d.ts +78 -0
- package/dist/tunnel/index.js +166 -0
- package/dist/vgw-conn/index.d.ts +158 -0
- package/dist/vgw-conn/index.js +323 -0
- package/dist/vpc/index.d.ts +339 -0
- package/dist/vpc/index.js +758 -0
- package/dist/vpn-cert-download/index.d.ts +66 -0
- package/dist/vpn-cert-download/index.js +137 -0
- package/dist/vpn-profile/index.d.ts +169 -0
- package/dist/vpn-profile/index.js +383 -0
- package/dist/vpn-user/index.d.ts +129 -0
- package/dist/vpn-user/index.js +272 -0
- package/dist/vpn-user-accelerator/index.d.ts +54 -0
- package/dist/vpn-user-accelerator/index.js +111 -0
- package/dist/web-group/index.d.ts +144 -0
- package/dist/web-group/index.js +341 -0
- package/package.json +51 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface EdgeVmSelfmanagedHaConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha#id EdgeVmSelfmanagedHa#id}
|
|
6
|
+
*
|
|
7
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
8
|
+
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
9
|
+
*/
|
|
10
|
+
readonly id?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Set of management egress gateway IP/prefix.
|
|
13
|
+
*
|
|
14
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha#management_egress_ip_prefix_list EdgeVmSelfmanagedHa#management_egress_ip_prefix_list}
|
|
15
|
+
*/
|
|
16
|
+
readonly managementEgressIpPrefixList?: string[];
|
|
17
|
+
/**
|
|
18
|
+
* Primary gateway name.
|
|
19
|
+
*
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha#primary_gw_name EdgeVmSelfmanagedHa#primary_gw_name}
|
|
21
|
+
*/
|
|
22
|
+
readonly primaryGwName: string;
|
|
23
|
+
/**
|
|
24
|
+
* Site ID.
|
|
25
|
+
*
|
|
26
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha#site_id EdgeVmSelfmanagedHa#site_id}
|
|
27
|
+
*/
|
|
28
|
+
readonly siteId: string;
|
|
29
|
+
/**
|
|
30
|
+
* The location where the ZTP file will be stored.
|
|
31
|
+
*
|
|
32
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha#ztp_file_download_path EdgeVmSelfmanagedHa#ztp_file_download_path}
|
|
33
|
+
*/
|
|
34
|
+
readonly ztpFileDownloadPath: string;
|
|
35
|
+
/**
|
|
36
|
+
* ZTP file type.
|
|
37
|
+
*
|
|
38
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha#ztp_file_type EdgeVmSelfmanagedHa#ztp_file_type}
|
|
39
|
+
*/
|
|
40
|
+
readonly ztpFileType: string;
|
|
41
|
+
/**
|
|
42
|
+
* interfaces block
|
|
43
|
+
*
|
|
44
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha#interfaces EdgeVmSelfmanagedHa#interfaces}
|
|
45
|
+
*/
|
|
46
|
+
readonly interfaces: EdgeVmSelfmanagedHaInterfaces[] | cdktf.IResolvable;
|
|
47
|
+
}
|
|
48
|
+
export interface EdgeVmSelfmanagedHaInterfaces {
|
|
49
|
+
/**
|
|
50
|
+
* Enable DHCP.
|
|
51
|
+
*
|
|
52
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha#enable_dhcp EdgeVmSelfmanagedHa#enable_dhcp}
|
|
53
|
+
*/
|
|
54
|
+
readonly enableDhcp?: boolean | cdktf.IResolvable;
|
|
55
|
+
/**
|
|
56
|
+
* Gateway IP.
|
|
57
|
+
*
|
|
58
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha#gateway_ip EdgeVmSelfmanagedHa#gateway_ip}
|
|
59
|
+
*/
|
|
60
|
+
readonly gatewayIp?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Interface static IP address.
|
|
63
|
+
*
|
|
64
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha#ip_address EdgeVmSelfmanagedHa#ip_address}
|
|
65
|
+
*/
|
|
66
|
+
readonly ipAddress?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Interface name.
|
|
69
|
+
*
|
|
70
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha#name EdgeVmSelfmanagedHa#name}
|
|
71
|
+
*/
|
|
72
|
+
readonly name: string;
|
|
73
|
+
/**
|
|
74
|
+
* Interface type.
|
|
75
|
+
*
|
|
76
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha#type EdgeVmSelfmanagedHa#type}
|
|
77
|
+
*/
|
|
78
|
+
readonly type: string;
|
|
79
|
+
/**
|
|
80
|
+
* WAN interface public IP.
|
|
81
|
+
*
|
|
82
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha#wan_public_ip EdgeVmSelfmanagedHa#wan_public_ip}
|
|
83
|
+
*/
|
|
84
|
+
readonly wanPublicIp?: string;
|
|
85
|
+
}
|
|
86
|
+
export declare function edgeVmSelfmanagedHaInterfacesToTerraform(struct?: EdgeVmSelfmanagedHaInterfaces | cdktf.IResolvable): any;
|
|
87
|
+
export declare function edgeVmSelfmanagedHaInterfacesToHclTerraform(struct?: EdgeVmSelfmanagedHaInterfaces | cdktf.IResolvable): any;
|
|
88
|
+
export declare class EdgeVmSelfmanagedHaInterfacesOutputReference extends cdktf.ComplexObject {
|
|
89
|
+
private isEmptyObject;
|
|
90
|
+
private resolvableValue?;
|
|
91
|
+
/**
|
|
92
|
+
* @param terraformResource The parent resource
|
|
93
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
94
|
+
* @param complexObjectIndex the index of this item in the list
|
|
95
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
96
|
+
*/
|
|
97
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
98
|
+
get internalValue(): EdgeVmSelfmanagedHaInterfaces | cdktf.IResolvable | undefined;
|
|
99
|
+
set internalValue(value: EdgeVmSelfmanagedHaInterfaces | cdktf.IResolvable | undefined);
|
|
100
|
+
private _enableDhcp?;
|
|
101
|
+
get enableDhcp(): boolean | cdktf.IResolvable;
|
|
102
|
+
set enableDhcp(value: boolean | cdktf.IResolvable);
|
|
103
|
+
resetEnableDhcp(): void;
|
|
104
|
+
get enableDhcpInput(): any;
|
|
105
|
+
private _gatewayIp?;
|
|
106
|
+
get gatewayIp(): string;
|
|
107
|
+
set gatewayIp(value: string);
|
|
108
|
+
resetGatewayIp(): void;
|
|
109
|
+
get gatewayIpInput(): string;
|
|
110
|
+
private _ipAddress?;
|
|
111
|
+
get ipAddress(): string;
|
|
112
|
+
set ipAddress(value: string);
|
|
113
|
+
resetIpAddress(): void;
|
|
114
|
+
get ipAddressInput(): string;
|
|
115
|
+
private _name?;
|
|
116
|
+
get name(): string;
|
|
117
|
+
set name(value: string);
|
|
118
|
+
get nameInput(): string;
|
|
119
|
+
private _type?;
|
|
120
|
+
get type(): string;
|
|
121
|
+
set type(value: string);
|
|
122
|
+
get typeInput(): string;
|
|
123
|
+
private _wanPublicIp?;
|
|
124
|
+
get wanPublicIp(): string;
|
|
125
|
+
set wanPublicIp(value: string);
|
|
126
|
+
resetWanPublicIp(): void;
|
|
127
|
+
get wanPublicIpInput(): string;
|
|
128
|
+
}
|
|
129
|
+
export declare class EdgeVmSelfmanagedHaInterfacesList extends cdktf.ComplexList {
|
|
130
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
131
|
+
protected terraformAttribute: string;
|
|
132
|
+
protected wrapsSet: boolean;
|
|
133
|
+
internalValue?: EdgeVmSelfmanagedHaInterfaces[] | cdktf.IResolvable;
|
|
134
|
+
/**
|
|
135
|
+
* @param terraformResource The parent resource
|
|
136
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
137
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
138
|
+
*/
|
|
139
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
140
|
+
/**
|
|
141
|
+
* @param index the index of the item to return
|
|
142
|
+
*/
|
|
143
|
+
get(index: number): EdgeVmSelfmanagedHaInterfacesOutputReference;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha aviatrix_edge_vm_selfmanaged_ha}
|
|
147
|
+
*/
|
|
148
|
+
export declare class EdgeVmSelfmanagedHa extends cdktf.TerraformResource {
|
|
149
|
+
static readonly tfResourceType = "aviatrix_edge_vm_selfmanaged_ha";
|
|
150
|
+
/**
|
|
151
|
+
* Generates CDKTF code for importing a EdgeVmSelfmanagedHa resource upon running "cdktf plan <stack-name>"
|
|
152
|
+
* @param scope The scope in which to define this construct
|
|
153
|
+
* @param importToId The construct id used in the generated config for the EdgeVmSelfmanagedHa to import
|
|
154
|
+
* @param importFromId The id of the existing EdgeVmSelfmanagedHa that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha#import import section} in the documentation of this resource for the id to use
|
|
155
|
+
* @param provider? Optional instance of the provider where the EdgeVmSelfmanagedHa to import is found
|
|
156
|
+
*/
|
|
157
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
158
|
+
/**
|
|
159
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha aviatrix_edge_vm_selfmanaged_ha} Resource
|
|
160
|
+
*
|
|
161
|
+
* @param scope The scope in which to define this construct
|
|
162
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
163
|
+
* @param options EdgeVmSelfmanagedHaConfig
|
|
164
|
+
*/
|
|
165
|
+
constructor(scope: Construct, id: string, config: EdgeVmSelfmanagedHaConfig);
|
|
166
|
+
private _id?;
|
|
167
|
+
get id(): string;
|
|
168
|
+
set id(value: string);
|
|
169
|
+
resetId(): void;
|
|
170
|
+
get idInput(): string;
|
|
171
|
+
private _managementEgressIpPrefixList?;
|
|
172
|
+
get managementEgressIpPrefixList(): string[];
|
|
173
|
+
set managementEgressIpPrefixList(value: string[]);
|
|
174
|
+
resetManagementEgressIpPrefixList(): void;
|
|
175
|
+
get managementEgressIpPrefixListInput(): string[];
|
|
176
|
+
private _primaryGwName?;
|
|
177
|
+
get primaryGwName(): string;
|
|
178
|
+
set primaryGwName(value: string);
|
|
179
|
+
get primaryGwNameInput(): string;
|
|
180
|
+
private _siteId?;
|
|
181
|
+
get siteId(): string;
|
|
182
|
+
set siteId(value: string);
|
|
183
|
+
get siteIdInput(): string;
|
|
184
|
+
private _ztpFileDownloadPath?;
|
|
185
|
+
get ztpFileDownloadPath(): string;
|
|
186
|
+
set ztpFileDownloadPath(value: string);
|
|
187
|
+
get ztpFileDownloadPathInput(): string;
|
|
188
|
+
private _ztpFileType?;
|
|
189
|
+
get ztpFileType(): string;
|
|
190
|
+
set ztpFileType(value: string);
|
|
191
|
+
get ztpFileTypeInput(): string;
|
|
192
|
+
private _interfaces;
|
|
193
|
+
get interfaces(): EdgeVmSelfmanagedHaInterfacesList;
|
|
194
|
+
putInterfaces(value: EdgeVmSelfmanagedHaInterfaces[] | cdktf.IResolvable): void;
|
|
195
|
+
get interfacesInput(): any;
|
|
196
|
+
protected synthesizeAttributes(): {
|
|
197
|
+
[name: string]: any;
|
|
198
|
+
};
|
|
199
|
+
protected synthesizeHclAttributes(): {
|
|
200
|
+
[name: string]: any;
|
|
201
|
+
};
|
|
202
|
+
}
|
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function edgeVmSelfmanagedHaInterfacesToTerraform(struct) {
|
|
5
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
6
|
+
return struct;
|
|
7
|
+
}
|
|
8
|
+
if (cdktf.isComplexElement(struct)) {
|
|
9
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
enable_dhcp: cdktf.booleanToTerraform(struct.enableDhcp),
|
|
13
|
+
gateway_ip: cdktf.stringToTerraform(struct.gatewayIp),
|
|
14
|
+
ip_address: cdktf.stringToTerraform(struct.ipAddress),
|
|
15
|
+
name: cdktf.stringToTerraform(struct.name),
|
|
16
|
+
type: cdktf.stringToTerraform(struct.type),
|
|
17
|
+
wan_public_ip: cdktf.stringToTerraform(struct.wanPublicIp),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export function edgeVmSelfmanagedHaInterfacesToHclTerraform(struct) {
|
|
21
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
22
|
+
return struct;
|
|
23
|
+
}
|
|
24
|
+
if (cdktf.isComplexElement(struct)) {
|
|
25
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
26
|
+
}
|
|
27
|
+
const attrs = {
|
|
28
|
+
enable_dhcp: {
|
|
29
|
+
value: cdktf.booleanToHclTerraform(struct.enableDhcp),
|
|
30
|
+
isBlock: false,
|
|
31
|
+
type: "simple",
|
|
32
|
+
storageClassType: "boolean",
|
|
33
|
+
},
|
|
34
|
+
gateway_ip: {
|
|
35
|
+
value: cdktf.stringToHclTerraform(struct.gatewayIp),
|
|
36
|
+
isBlock: false,
|
|
37
|
+
type: "simple",
|
|
38
|
+
storageClassType: "string",
|
|
39
|
+
},
|
|
40
|
+
ip_address: {
|
|
41
|
+
value: cdktf.stringToHclTerraform(struct.ipAddress),
|
|
42
|
+
isBlock: false,
|
|
43
|
+
type: "simple",
|
|
44
|
+
storageClassType: "string",
|
|
45
|
+
},
|
|
46
|
+
name: {
|
|
47
|
+
value: cdktf.stringToHclTerraform(struct.name),
|
|
48
|
+
isBlock: false,
|
|
49
|
+
type: "simple",
|
|
50
|
+
storageClassType: "string",
|
|
51
|
+
},
|
|
52
|
+
type: {
|
|
53
|
+
value: cdktf.stringToHclTerraform(struct.type),
|
|
54
|
+
isBlock: false,
|
|
55
|
+
type: "simple",
|
|
56
|
+
storageClassType: "string",
|
|
57
|
+
},
|
|
58
|
+
wan_public_ip: {
|
|
59
|
+
value: cdktf.stringToHclTerraform(struct.wanPublicIp),
|
|
60
|
+
isBlock: false,
|
|
61
|
+
type: "simple",
|
|
62
|
+
storageClassType: "string",
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
// remove undefined attributes
|
|
66
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
67
|
+
}
|
|
68
|
+
export class EdgeVmSelfmanagedHaInterfacesOutputReference extends cdktf.ComplexObject {
|
|
69
|
+
isEmptyObject = false;
|
|
70
|
+
resolvableValue;
|
|
71
|
+
/**
|
|
72
|
+
* @param terraformResource The parent resource
|
|
73
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
74
|
+
* @param complexObjectIndex the index of this item in the list
|
|
75
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
76
|
+
*/
|
|
77
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
78
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
79
|
+
}
|
|
80
|
+
get internalValue() {
|
|
81
|
+
if (this.resolvableValue) {
|
|
82
|
+
return this.resolvableValue;
|
|
83
|
+
}
|
|
84
|
+
let hasAnyValues = this.isEmptyObject;
|
|
85
|
+
const internalValueResult = {};
|
|
86
|
+
if (this._enableDhcp !== undefined) {
|
|
87
|
+
hasAnyValues = true;
|
|
88
|
+
internalValueResult.enableDhcp = this._enableDhcp;
|
|
89
|
+
}
|
|
90
|
+
if (this._gatewayIp !== undefined) {
|
|
91
|
+
hasAnyValues = true;
|
|
92
|
+
internalValueResult.gatewayIp = this._gatewayIp;
|
|
93
|
+
}
|
|
94
|
+
if (this._ipAddress !== undefined) {
|
|
95
|
+
hasAnyValues = true;
|
|
96
|
+
internalValueResult.ipAddress = this._ipAddress;
|
|
97
|
+
}
|
|
98
|
+
if (this._name !== undefined) {
|
|
99
|
+
hasAnyValues = true;
|
|
100
|
+
internalValueResult.name = this._name;
|
|
101
|
+
}
|
|
102
|
+
if (this._type !== undefined) {
|
|
103
|
+
hasAnyValues = true;
|
|
104
|
+
internalValueResult.type = this._type;
|
|
105
|
+
}
|
|
106
|
+
if (this._wanPublicIp !== undefined) {
|
|
107
|
+
hasAnyValues = true;
|
|
108
|
+
internalValueResult.wanPublicIp = this._wanPublicIp;
|
|
109
|
+
}
|
|
110
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
111
|
+
}
|
|
112
|
+
set internalValue(value) {
|
|
113
|
+
if (value === undefined) {
|
|
114
|
+
this.isEmptyObject = false;
|
|
115
|
+
this.resolvableValue = undefined;
|
|
116
|
+
this._enableDhcp = undefined;
|
|
117
|
+
this._gatewayIp = undefined;
|
|
118
|
+
this._ipAddress = undefined;
|
|
119
|
+
this._name = undefined;
|
|
120
|
+
this._type = undefined;
|
|
121
|
+
this._wanPublicIp = undefined;
|
|
122
|
+
}
|
|
123
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
124
|
+
this.isEmptyObject = false;
|
|
125
|
+
this.resolvableValue = value;
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
129
|
+
this.resolvableValue = undefined;
|
|
130
|
+
this._enableDhcp = value.enableDhcp;
|
|
131
|
+
this._gatewayIp = value.gatewayIp;
|
|
132
|
+
this._ipAddress = value.ipAddress;
|
|
133
|
+
this._name = value.name;
|
|
134
|
+
this._type = value.type;
|
|
135
|
+
this._wanPublicIp = value.wanPublicIp;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
// enable_dhcp - computed: false, optional: true, required: false
|
|
139
|
+
_enableDhcp;
|
|
140
|
+
get enableDhcp() {
|
|
141
|
+
return this.getBooleanAttribute('enable_dhcp');
|
|
142
|
+
}
|
|
143
|
+
set enableDhcp(value) {
|
|
144
|
+
this._enableDhcp = value;
|
|
145
|
+
}
|
|
146
|
+
resetEnableDhcp() {
|
|
147
|
+
this._enableDhcp = undefined;
|
|
148
|
+
}
|
|
149
|
+
// Temporarily expose input value. Use with caution.
|
|
150
|
+
get enableDhcpInput() {
|
|
151
|
+
return this._enableDhcp;
|
|
152
|
+
}
|
|
153
|
+
// gateway_ip - computed: false, optional: true, required: false
|
|
154
|
+
_gatewayIp;
|
|
155
|
+
get gatewayIp() {
|
|
156
|
+
return this.getStringAttribute('gateway_ip');
|
|
157
|
+
}
|
|
158
|
+
set gatewayIp(value) {
|
|
159
|
+
this._gatewayIp = value;
|
|
160
|
+
}
|
|
161
|
+
resetGatewayIp() {
|
|
162
|
+
this._gatewayIp = undefined;
|
|
163
|
+
}
|
|
164
|
+
// Temporarily expose input value. Use with caution.
|
|
165
|
+
get gatewayIpInput() {
|
|
166
|
+
return this._gatewayIp;
|
|
167
|
+
}
|
|
168
|
+
// ip_address - computed: false, optional: true, required: false
|
|
169
|
+
_ipAddress;
|
|
170
|
+
get ipAddress() {
|
|
171
|
+
return this.getStringAttribute('ip_address');
|
|
172
|
+
}
|
|
173
|
+
set ipAddress(value) {
|
|
174
|
+
this._ipAddress = value;
|
|
175
|
+
}
|
|
176
|
+
resetIpAddress() {
|
|
177
|
+
this._ipAddress = undefined;
|
|
178
|
+
}
|
|
179
|
+
// Temporarily expose input value. Use with caution.
|
|
180
|
+
get ipAddressInput() {
|
|
181
|
+
return this._ipAddress;
|
|
182
|
+
}
|
|
183
|
+
// name - computed: false, optional: false, required: true
|
|
184
|
+
_name;
|
|
185
|
+
get name() {
|
|
186
|
+
return this.getStringAttribute('name');
|
|
187
|
+
}
|
|
188
|
+
set name(value) {
|
|
189
|
+
this._name = value;
|
|
190
|
+
}
|
|
191
|
+
// Temporarily expose input value. Use with caution.
|
|
192
|
+
get nameInput() {
|
|
193
|
+
return this._name;
|
|
194
|
+
}
|
|
195
|
+
// type - computed: false, optional: false, required: true
|
|
196
|
+
_type;
|
|
197
|
+
get type() {
|
|
198
|
+
return this.getStringAttribute('type');
|
|
199
|
+
}
|
|
200
|
+
set type(value) {
|
|
201
|
+
this._type = value;
|
|
202
|
+
}
|
|
203
|
+
// Temporarily expose input value. Use with caution.
|
|
204
|
+
get typeInput() {
|
|
205
|
+
return this._type;
|
|
206
|
+
}
|
|
207
|
+
// wan_public_ip - computed: false, optional: true, required: false
|
|
208
|
+
_wanPublicIp;
|
|
209
|
+
get wanPublicIp() {
|
|
210
|
+
return this.getStringAttribute('wan_public_ip');
|
|
211
|
+
}
|
|
212
|
+
set wanPublicIp(value) {
|
|
213
|
+
this._wanPublicIp = value;
|
|
214
|
+
}
|
|
215
|
+
resetWanPublicIp() {
|
|
216
|
+
this._wanPublicIp = undefined;
|
|
217
|
+
}
|
|
218
|
+
// Temporarily expose input value. Use with caution.
|
|
219
|
+
get wanPublicIpInput() {
|
|
220
|
+
return this._wanPublicIp;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
export class EdgeVmSelfmanagedHaInterfacesList extends cdktf.ComplexList {
|
|
224
|
+
terraformResource;
|
|
225
|
+
terraformAttribute;
|
|
226
|
+
wrapsSet;
|
|
227
|
+
internalValue;
|
|
228
|
+
/**
|
|
229
|
+
* @param terraformResource The parent resource
|
|
230
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
231
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
232
|
+
*/
|
|
233
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
234
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
235
|
+
this.terraformResource = terraformResource;
|
|
236
|
+
this.terraformAttribute = terraformAttribute;
|
|
237
|
+
this.wrapsSet = wrapsSet;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* @param index the index of the item to return
|
|
241
|
+
*/
|
|
242
|
+
get(index) {
|
|
243
|
+
return new EdgeVmSelfmanagedHaInterfacesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha aviatrix_edge_vm_selfmanaged_ha}
|
|
248
|
+
*/
|
|
249
|
+
export class EdgeVmSelfmanagedHa extends cdktf.TerraformResource {
|
|
250
|
+
// =================
|
|
251
|
+
// STATIC PROPERTIES
|
|
252
|
+
// =================
|
|
253
|
+
static tfResourceType = "aviatrix_edge_vm_selfmanaged_ha";
|
|
254
|
+
// ==============
|
|
255
|
+
// STATIC Methods
|
|
256
|
+
// ==============
|
|
257
|
+
/**
|
|
258
|
+
* Generates CDKTF code for importing a EdgeVmSelfmanagedHa resource upon running "cdktf plan <stack-name>"
|
|
259
|
+
* @param scope The scope in which to define this construct
|
|
260
|
+
* @param importToId The construct id used in the generated config for the EdgeVmSelfmanagedHa to import
|
|
261
|
+
* @param importFromId The id of the existing EdgeVmSelfmanagedHa that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha#import import section} in the documentation of this resource for the id to use
|
|
262
|
+
* @param provider? Optional instance of the provider where the EdgeVmSelfmanagedHa to import is found
|
|
263
|
+
*/
|
|
264
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
265
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_edge_vm_selfmanaged_ha", importId: importFromId, provider });
|
|
266
|
+
}
|
|
267
|
+
// ===========
|
|
268
|
+
// INITIALIZER
|
|
269
|
+
// ===========
|
|
270
|
+
/**
|
|
271
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_vm_selfmanaged_ha aviatrix_edge_vm_selfmanaged_ha} Resource
|
|
272
|
+
*
|
|
273
|
+
* @param scope The scope in which to define this construct
|
|
274
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
275
|
+
* @param options EdgeVmSelfmanagedHaConfig
|
|
276
|
+
*/
|
|
277
|
+
constructor(scope, id, config) {
|
|
278
|
+
super(scope, id, {
|
|
279
|
+
terraformResourceType: 'aviatrix_edge_vm_selfmanaged_ha',
|
|
280
|
+
terraformGeneratorMetadata: {
|
|
281
|
+
providerName: 'aviatrix',
|
|
282
|
+
providerVersion: '8.1.10',
|
|
283
|
+
providerVersionConstraint: '8.1.10'
|
|
284
|
+
},
|
|
285
|
+
provider: config.provider,
|
|
286
|
+
dependsOn: config.dependsOn,
|
|
287
|
+
count: config.count,
|
|
288
|
+
lifecycle: config.lifecycle,
|
|
289
|
+
provisioners: config.provisioners,
|
|
290
|
+
connection: config.connection,
|
|
291
|
+
forEach: config.forEach
|
|
292
|
+
});
|
|
293
|
+
this._id = config.id;
|
|
294
|
+
this._managementEgressIpPrefixList = config.managementEgressIpPrefixList;
|
|
295
|
+
this._primaryGwName = config.primaryGwName;
|
|
296
|
+
this._siteId = config.siteId;
|
|
297
|
+
this._ztpFileDownloadPath = config.ztpFileDownloadPath;
|
|
298
|
+
this._ztpFileType = config.ztpFileType;
|
|
299
|
+
this._interfaces.internalValue = config.interfaces;
|
|
300
|
+
}
|
|
301
|
+
// ==========
|
|
302
|
+
// ATTRIBUTES
|
|
303
|
+
// ==========
|
|
304
|
+
// id - computed: true, optional: true, required: false
|
|
305
|
+
_id;
|
|
306
|
+
get id() {
|
|
307
|
+
return this.getStringAttribute('id');
|
|
308
|
+
}
|
|
309
|
+
set id(value) {
|
|
310
|
+
this._id = value;
|
|
311
|
+
}
|
|
312
|
+
resetId() {
|
|
313
|
+
this._id = undefined;
|
|
314
|
+
}
|
|
315
|
+
// Temporarily expose input value. Use with caution.
|
|
316
|
+
get idInput() {
|
|
317
|
+
return this._id;
|
|
318
|
+
}
|
|
319
|
+
// management_egress_ip_prefix_list - computed: false, optional: true, required: false
|
|
320
|
+
_managementEgressIpPrefixList;
|
|
321
|
+
get managementEgressIpPrefixList() {
|
|
322
|
+
return cdktf.Fn.tolist(this.getListAttribute('management_egress_ip_prefix_list'));
|
|
323
|
+
}
|
|
324
|
+
set managementEgressIpPrefixList(value) {
|
|
325
|
+
this._managementEgressIpPrefixList = value;
|
|
326
|
+
}
|
|
327
|
+
resetManagementEgressIpPrefixList() {
|
|
328
|
+
this._managementEgressIpPrefixList = undefined;
|
|
329
|
+
}
|
|
330
|
+
// Temporarily expose input value. Use with caution.
|
|
331
|
+
get managementEgressIpPrefixListInput() {
|
|
332
|
+
return this._managementEgressIpPrefixList;
|
|
333
|
+
}
|
|
334
|
+
// primary_gw_name - computed: false, optional: false, required: true
|
|
335
|
+
_primaryGwName;
|
|
336
|
+
get primaryGwName() {
|
|
337
|
+
return this.getStringAttribute('primary_gw_name');
|
|
338
|
+
}
|
|
339
|
+
set primaryGwName(value) {
|
|
340
|
+
this._primaryGwName = value;
|
|
341
|
+
}
|
|
342
|
+
// Temporarily expose input value. Use with caution.
|
|
343
|
+
get primaryGwNameInput() {
|
|
344
|
+
return this._primaryGwName;
|
|
345
|
+
}
|
|
346
|
+
// site_id - computed: false, optional: false, required: true
|
|
347
|
+
_siteId;
|
|
348
|
+
get siteId() {
|
|
349
|
+
return this.getStringAttribute('site_id');
|
|
350
|
+
}
|
|
351
|
+
set siteId(value) {
|
|
352
|
+
this._siteId = value;
|
|
353
|
+
}
|
|
354
|
+
// Temporarily expose input value. Use with caution.
|
|
355
|
+
get siteIdInput() {
|
|
356
|
+
return this._siteId;
|
|
357
|
+
}
|
|
358
|
+
// ztp_file_download_path - computed: false, optional: false, required: true
|
|
359
|
+
_ztpFileDownloadPath;
|
|
360
|
+
get ztpFileDownloadPath() {
|
|
361
|
+
return this.getStringAttribute('ztp_file_download_path');
|
|
362
|
+
}
|
|
363
|
+
set ztpFileDownloadPath(value) {
|
|
364
|
+
this._ztpFileDownloadPath = value;
|
|
365
|
+
}
|
|
366
|
+
// Temporarily expose input value. Use with caution.
|
|
367
|
+
get ztpFileDownloadPathInput() {
|
|
368
|
+
return this._ztpFileDownloadPath;
|
|
369
|
+
}
|
|
370
|
+
// ztp_file_type - computed: false, optional: false, required: true
|
|
371
|
+
_ztpFileType;
|
|
372
|
+
get ztpFileType() {
|
|
373
|
+
return this.getStringAttribute('ztp_file_type');
|
|
374
|
+
}
|
|
375
|
+
set ztpFileType(value) {
|
|
376
|
+
this._ztpFileType = value;
|
|
377
|
+
}
|
|
378
|
+
// Temporarily expose input value. Use with caution.
|
|
379
|
+
get ztpFileTypeInput() {
|
|
380
|
+
return this._ztpFileType;
|
|
381
|
+
}
|
|
382
|
+
// interfaces - computed: false, optional: false, required: true
|
|
383
|
+
_interfaces = new EdgeVmSelfmanagedHaInterfacesList(this, "interfaces", true);
|
|
384
|
+
get interfaces() {
|
|
385
|
+
return this._interfaces;
|
|
386
|
+
}
|
|
387
|
+
putInterfaces(value) {
|
|
388
|
+
this._interfaces.internalValue = value;
|
|
389
|
+
}
|
|
390
|
+
// Temporarily expose input value. Use with caution.
|
|
391
|
+
get interfacesInput() {
|
|
392
|
+
return this._interfaces.internalValue;
|
|
393
|
+
}
|
|
394
|
+
// =========
|
|
395
|
+
// SYNTHESIS
|
|
396
|
+
// =========
|
|
397
|
+
synthesizeAttributes() {
|
|
398
|
+
return {
|
|
399
|
+
id: cdktf.stringToTerraform(this._id),
|
|
400
|
+
management_egress_ip_prefix_list: cdktf.listMapper(cdktf.stringToTerraform, false)(this._managementEgressIpPrefixList),
|
|
401
|
+
primary_gw_name: cdktf.stringToTerraform(this._primaryGwName),
|
|
402
|
+
site_id: cdktf.stringToTerraform(this._siteId),
|
|
403
|
+
ztp_file_download_path: cdktf.stringToTerraform(this._ztpFileDownloadPath),
|
|
404
|
+
ztp_file_type: cdktf.stringToTerraform(this._ztpFileType),
|
|
405
|
+
interfaces: cdktf.listMapper(edgeVmSelfmanagedHaInterfacesToTerraform, true)(this._interfaces.internalValue),
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
synthesizeHclAttributes() {
|
|
409
|
+
const attrs = {
|
|
410
|
+
id: {
|
|
411
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
412
|
+
isBlock: false,
|
|
413
|
+
type: "simple",
|
|
414
|
+
storageClassType: "string",
|
|
415
|
+
},
|
|
416
|
+
management_egress_ip_prefix_list: {
|
|
417
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._managementEgressIpPrefixList),
|
|
418
|
+
isBlock: false,
|
|
419
|
+
type: "set",
|
|
420
|
+
storageClassType: "stringList",
|
|
421
|
+
},
|
|
422
|
+
primary_gw_name: {
|
|
423
|
+
value: cdktf.stringToHclTerraform(this._primaryGwName),
|
|
424
|
+
isBlock: false,
|
|
425
|
+
type: "simple",
|
|
426
|
+
storageClassType: "string",
|
|
427
|
+
},
|
|
428
|
+
site_id: {
|
|
429
|
+
value: cdktf.stringToHclTerraform(this._siteId),
|
|
430
|
+
isBlock: false,
|
|
431
|
+
type: "simple",
|
|
432
|
+
storageClassType: "string",
|
|
433
|
+
},
|
|
434
|
+
ztp_file_download_path: {
|
|
435
|
+
value: cdktf.stringToHclTerraform(this._ztpFileDownloadPath),
|
|
436
|
+
isBlock: false,
|
|
437
|
+
type: "simple",
|
|
438
|
+
storageClassType: "string",
|
|
439
|
+
},
|
|
440
|
+
ztp_file_type: {
|
|
441
|
+
value: cdktf.stringToHclTerraform(this._ztpFileType),
|
|
442
|
+
isBlock: false,
|
|
443
|
+
type: "simple",
|
|
444
|
+
storageClassType: "string",
|
|
445
|
+
},
|
|
446
|
+
interfaces: {
|
|
447
|
+
value: cdktf.listMapperHcl(edgeVmSelfmanagedHaInterfacesToHclTerraform, true)(this._interfaces.internalValue),
|
|
448
|
+
isBlock: true,
|
|
449
|
+
type: "set",
|
|
450
|
+
storageClassType: "EdgeVmSelfmanagedHaInterfacesList",
|
|
451
|
+
},
|
|
452
|
+
};
|
|
453
|
+
// remove undefined attributes
|
|
454
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
455
|
+
}
|
|
456
|
+
}
|