@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,489 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_neo_device_onboarding
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function edgeNeoDeviceOnboardingNetworkToTerraform(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
|
+
dns_server_ips: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.dnsServerIps),
|
|
13
|
+
enable_dhcp: cdktf.booleanToTerraform(struct.enableDhcp),
|
|
14
|
+
gateway_ip: cdktf.stringToTerraform(struct.gatewayIp),
|
|
15
|
+
interface_name: cdktf.stringToTerraform(struct.interfaceName),
|
|
16
|
+
ipv4_cidr: cdktf.stringToTerraform(struct.ipv4Cidr),
|
|
17
|
+
proxy_server_ip: cdktf.stringToTerraform(struct.proxyServerIp),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export function edgeNeoDeviceOnboardingNetworkToHclTerraform(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
|
+
dns_server_ips: {
|
|
29
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.dnsServerIps),
|
|
30
|
+
isBlock: false,
|
|
31
|
+
type: "set",
|
|
32
|
+
storageClassType: "stringList",
|
|
33
|
+
},
|
|
34
|
+
enable_dhcp: {
|
|
35
|
+
value: cdktf.booleanToHclTerraform(struct.enableDhcp),
|
|
36
|
+
isBlock: false,
|
|
37
|
+
type: "simple",
|
|
38
|
+
storageClassType: "boolean",
|
|
39
|
+
},
|
|
40
|
+
gateway_ip: {
|
|
41
|
+
value: cdktf.stringToHclTerraform(struct.gatewayIp),
|
|
42
|
+
isBlock: false,
|
|
43
|
+
type: "simple",
|
|
44
|
+
storageClassType: "string",
|
|
45
|
+
},
|
|
46
|
+
interface_name: {
|
|
47
|
+
value: cdktf.stringToHclTerraform(struct.interfaceName),
|
|
48
|
+
isBlock: false,
|
|
49
|
+
type: "simple",
|
|
50
|
+
storageClassType: "string",
|
|
51
|
+
},
|
|
52
|
+
ipv4_cidr: {
|
|
53
|
+
value: cdktf.stringToHclTerraform(struct.ipv4Cidr),
|
|
54
|
+
isBlock: false,
|
|
55
|
+
type: "simple",
|
|
56
|
+
storageClassType: "string",
|
|
57
|
+
},
|
|
58
|
+
proxy_server_ip: {
|
|
59
|
+
value: cdktf.stringToHclTerraform(struct.proxyServerIp),
|
|
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 EdgeNeoDeviceOnboardingNetworkOutputReference 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._dnsServerIps !== undefined) {
|
|
87
|
+
hasAnyValues = true;
|
|
88
|
+
internalValueResult.dnsServerIps = this._dnsServerIps;
|
|
89
|
+
}
|
|
90
|
+
if (this._enableDhcp !== undefined) {
|
|
91
|
+
hasAnyValues = true;
|
|
92
|
+
internalValueResult.enableDhcp = this._enableDhcp;
|
|
93
|
+
}
|
|
94
|
+
if (this._gatewayIp !== undefined) {
|
|
95
|
+
hasAnyValues = true;
|
|
96
|
+
internalValueResult.gatewayIp = this._gatewayIp;
|
|
97
|
+
}
|
|
98
|
+
if (this._interfaceName !== undefined) {
|
|
99
|
+
hasAnyValues = true;
|
|
100
|
+
internalValueResult.interfaceName = this._interfaceName;
|
|
101
|
+
}
|
|
102
|
+
if (this._ipv4Cidr !== undefined) {
|
|
103
|
+
hasAnyValues = true;
|
|
104
|
+
internalValueResult.ipv4Cidr = this._ipv4Cidr;
|
|
105
|
+
}
|
|
106
|
+
if (this._proxyServerIp !== undefined) {
|
|
107
|
+
hasAnyValues = true;
|
|
108
|
+
internalValueResult.proxyServerIp = this._proxyServerIp;
|
|
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._dnsServerIps = undefined;
|
|
117
|
+
this._enableDhcp = undefined;
|
|
118
|
+
this._gatewayIp = undefined;
|
|
119
|
+
this._interfaceName = undefined;
|
|
120
|
+
this._ipv4Cidr = undefined;
|
|
121
|
+
this._proxyServerIp = 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._dnsServerIps = value.dnsServerIps;
|
|
131
|
+
this._enableDhcp = value.enableDhcp;
|
|
132
|
+
this._gatewayIp = value.gatewayIp;
|
|
133
|
+
this._interfaceName = value.interfaceName;
|
|
134
|
+
this._ipv4Cidr = value.ipv4Cidr;
|
|
135
|
+
this._proxyServerIp = value.proxyServerIp;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
// dns_server_ips - computed: false, optional: true, required: false
|
|
139
|
+
_dnsServerIps;
|
|
140
|
+
get dnsServerIps() {
|
|
141
|
+
return cdktf.Fn.tolist(this.getListAttribute('dns_server_ips'));
|
|
142
|
+
}
|
|
143
|
+
set dnsServerIps(value) {
|
|
144
|
+
this._dnsServerIps = value;
|
|
145
|
+
}
|
|
146
|
+
resetDnsServerIps() {
|
|
147
|
+
this._dnsServerIps = undefined;
|
|
148
|
+
}
|
|
149
|
+
// Temporarily expose input value. Use with caution.
|
|
150
|
+
get dnsServerIpsInput() {
|
|
151
|
+
return this._dnsServerIps;
|
|
152
|
+
}
|
|
153
|
+
// enable_dhcp - computed: false, optional: true, required: false
|
|
154
|
+
_enableDhcp;
|
|
155
|
+
get enableDhcp() {
|
|
156
|
+
return this.getBooleanAttribute('enable_dhcp');
|
|
157
|
+
}
|
|
158
|
+
set enableDhcp(value) {
|
|
159
|
+
this._enableDhcp = value;
|
|
160
|
+
}
|
|
161
|
+
resetEnableDhcp() {
|
|
162
|
+
this._enableDhcp = undefined;
|
|
163
|
+
}
|
|
164
|
+
// Temporarily expose input value. Use with caution.
|
|
165
|
+
get enableDhcpInput() {
|
|
166
|
+
return this._enableDhcp;
|
|
167
|
+
}
|
|
168
|
+
// gateway_ip - computed: false, optional: true, required: false
|
|
169
|
+
_gatewayIp;
|
|
170
|
+
get gatewayIp() {
|
|
171
|
+
return this.getStringAttribute('gateway_ip');
|
|
172
|
+
}
|
|
173
|
+
set gatewayIp(value) {
|
|
174
|
+
this._gatewayIp = value;
|
|
175
|
+
}
|
|
176
|
+
resetGatewayIp() {
|
|
177
|
+
this._gatewayIp = undefined;
|
|
178
|
+
}
|
|
179
|
+
// Temporarily expose input value. Use with caution.
|
|
180
|
+
get gatewayIpInput() {
|
|
181
|
+
return this._gatewayIp;
|
|
182
|
+
}
|
|
183
|
+
// interface_name - computed: false, optional: false, required: true
|
|
184
|
+
_interfaceName;
|
|
185
|
+
get interfaceName() {
|
|
186
|
+
return this.getStringAttribute('interface_name');
|
|
187
|
+
}
|
|
188
|
+
set interfaceName(value) {
|
|
189
|
+
this._interfaceName = value;
|
|
190
|
+
}
|
|
191
|
+
// Temporarily expose input value. Use with caution.
|
|
192
|
+
get interfaceNameInput() {
|
|
193
|
+
return this._interfaceName;
|
|
194
|
+
}
|
|
195
|
+
// ipv4_cidr - computed: false, optional: true, required: false
|
|
196
|
+
_ipv4Cidr;
|
|
197
|
+
get ipv4Cidr() {
|
|
198
|
+
return this.getStringAttribute('ipv4_cidr');
|
|
199
|
+
}
|
|
200
|
+
set ipv4Cidr(value) {
|
|
201
|
+
this._ipv4Cidr = value;
|
|
202
|
+
}
|
|
203
|
+
resetIpv4Cidr() {
|
|
204
|
+
this._ipv4Cidr = undefined;
|
|
205
|
+
}
|
|
206
|
+
// Temporarily expose input value. Use with caution.
|
|
207
|
+
get ipv4CidrInput() {
|
|
208
|
+
return this._ipv4Cidr;
|
|
209
|
+
}
|
|
210
|
+
// proxy_server_ip - computed: false, optional: true, required: false
|
|
211
|
+
_proxyServerIp;
|
|
212
|
+
get proxyServerIp() {
|
|
213
|
+
return this.getStringAttribute('proxy_server_ip');
|
|
214
|
+
}
|
|
215
|
+
set proxyServerIp(value) {
|
|
216
|
+
this._proxyServerIp = value;
|
|
217
|
+
}
|
|
218
|
+
resetProxyServerIp() {
|
|
219
|
+
this._proxyServerIp = undefined;
|
|
220
|
+
}
|
|
221
|
+
// Temporarily expose input value. Use with caution.
|
|
222
|
+
get proxyServerIpInput() {
|
|
223
|
+
return this._proxyServerIp;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
export class EdgeNeoDeviceOnboardingNetworkList extends cdktf.ComplexList {
|
|
227
|
+
terraformResource;
|
|
228
|
+
terraformAttribute;
|
|
229
|
+
wrapsSet;
|
|
230
|
+
internalValue;
|
|
231
|
+
/**
|
|
232
|
+
* @param terraformResource The parent resource
|
|
233
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
234
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
235
|
+
*/
|
|
236
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
237
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
238
|
+
this.terraformResource = terraformResource;
|
|
239
|
+
this.terraformAttribute = terraformAttribute;
|
|
240
|
+
this.wrapsSet = wrapsSet;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* @param index the index of the item to return
|
|
244
|
+
*/
|
|
245
|
+
get(index) {
|
|
246
|
+
return new EdgeNeoDeviceOnboardingNetworkOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_neo_device_onboarding aviatrix_edge_neo_device_onboarding}
|
|
251
|
+
*/
|
|
252
|
+
export class EdgeNeoDeviceOnboarding extends cdktf.TerraformResource {
|
|
253
|
+
// =================
|
|
254
|
+
// STATIC PROPERTIES
|
|
255
|
+
// =================
|
|
256
|
+
static tfResourceType = "aviatrix_edge_neo_device_onboarding";
|
|
257
|
+
// ==============
|
|
258
|
+
// STATIC Methods
|
|
259
|
+
// ==============
|
|
260
|
+
/**
|
|
261
|
+
* Generates CDKTF code for importing a EdgeNeoDeviceOnboarding resource upon running "cdktf plan <stack-name>"
|
|
262
|
+
* @param scope The scope in which to define this construct
|
|
263
|
+
* @param importToId The construct id used in the generated config for the EdgeNeoDeviceOnboarding to import
|
|
264
|
+
* @param importFromId The id of the existing EdgeNeoDeviceOnboarding that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_neo_device_onboarding#import import section} in the documentation of this resource for the id to use
|
|
265
|
+
* @param provider? Optional instance of the provider where the EdgeNeoDeviceOnboarding to import is found
|
|
266
|
+
*/
|
|
267
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
268
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_edge_neo_device_onboarding", importId: importFromId, provider });
|
|
269
|
+
}
|
|
270
|
+
// ===========
|
|
271
|
+
// INITIALIZER
|
|
272
|
+
// ===========
|
|
273
|
+
/**
|
|
274
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/edge_neo_device_onboarding aviatrix_edge_neo_device_onboarding} Resource
|
|
275
|
+
*
|
|
276
|
+
* @param scope The scope in which to define this construct
|
|
277
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
278
|
+
* @param options EdgeNeoDeviceOnboardingConfig
|
|
279
|
+
*/
|
|
280
|
+
constructor(scope, id, config) {
|
|
281
|
+
super(scope, id, {
|
|
282
|
+
terraformResourceType: 'aviatrix_edge_neo_device_onboarding',
|
|
283
|
+
terraformGeneratorMetadata: {
|
|
284
|
+
providerName: 'aviatrix',
|
|
285
|
+
providerVersion: '8.1.10',
|
|
286
|
+
providerVersionConstraint: '8.1.10'
|
|
287
|
+
},
|
|
288
|
+
provider: config.provider,
|
|
289
|
+
dependsOn: config.dependsOn,
|
|
290
|
+
count: config.count,
|
|
291
|
+
lifecycle: config.lifecycle,
|
|
292
|
+
provisioners: config.provisioners,
|
|
293
|
+
connection: config.connection,
|
|
294
|
+
forEach: config.forEach
|
|
295
|
+
});
|
|
296
|
+
this._accountName = config.accountName;
|
|
297
|
+
this._configFileDownloadPath = config.configFileDownloadPath;
|
|
298
|
+
this._deviceName = config.deviceName;
|
|
299
|
+
this._downloadConfigFile = config.downloadConfigFile;
|
|
300
|
+
this._hardwareModel = config.hardwareModel;
|
|
301
|
+
this._id = config.id;
|
|
302
|
+
this._serialNumber = config.serialNumber;
|
|
303
|
+
this._network.internalValue = config.network;
|
|
304
|
+
}
|
|
305
|
+
// ==========
|
|
306
|
+
// ATTRIBUTES
|
|
307
|
+
// ==========
|
|
308
|
+
// account_name - computed: false, optional: false, required: true
|
|
309
|
+
_accountName;
|
|
310
|
+
get accountName() {
|
|
311
|
+
return this.getStringAttribute('account_name');
|
|
312
|
+
}
|
|
313
|
+
set accountName(value) {
|
|
314
|
+
this._accountName = value;
|
|
315
|
+
}
|
|
316
|
+
// Temporarily expose input value. Use with caution.
|
|
317
|
+
get accountNameInput() {
|
|
318
|
+
return this._accountName;
|
|
319
|
+
}
|
|
320
|
+
// config_file_download_path - computed: false, optional: true, required: false
|
|
321
|
+
_configFileDownloadPath;
|
|
322
|
+
get configFileDownloadPath() {
|
|
323
|
+
return this.getStringAttribute('config_file_download_path');
|
|
324
|
+
}
|
|
325
|
+
set configFileDownloadPath(value) {
|
|
326
|
+
this._configFileDownloadPath = value;
|
|
327
|
+
}
|
|
328
|
+
resetConfigFileDownloadPath() {
|
|
329
|
+
this._configFileDownloadPath = undefined;
|
|
330
|
+
}
|
|
331
|
+
// Temporarily expose input value. Use with caution.
|
|
332
|
+
get configFileDownloadPathInput() {
|
|
333
|
+
return this._configFileDownloadPath;
|
|
334
|
+
}
|
|
335
|
+
// device_id - computed: true, optional: false, required: false
|
|
336
|
+
get deviceId() {
|
|
337
|
+
return this.getStringAttribute('device_id');
|
|
338
|
+
}
|
|
339
|
+
// device_name - computed: false, optional: false, required: true
|
|
340
|
+
_deviceName;
|
|
341
|
+
get deviceName() {
|
|
342
|
+
return this.getStringAttribute('device_name');
|
|
343
|
+
}
|
|
344
|
+
set deviceName(value) {
|
|
345
|
+
this._deviceName = value;
|
|
346
|
+
}
|
|
347
|
+
// Temporarily expose input value. Use with caution.
|
|
348
|
+
get deviceNameInput() {
|
|
349
|
+
return this._deviceName;
|
|
350
|
+
}
|
|
351
|
+
// download_config_file - computed: false, optional: true, required: false
|
|
352
|
+
_downloadConfigFile;
|
|
353
|
+
get downloadConfigFile() {
|
|
354
|
+
return this.getBooleanAttribute('download_config_file');
|
|
355
|
+
}
|
|
356
|
+
set downloadConfigFile(value) {
|
|
357
|
+
this._downloadConfigFile = value;
|
|
358
|
+
}
|
|
359
|
+
resetDownloadConfigFile() {
|
|
360
|
+
this._downloadConfigFile = undefined;
|
|
361
|
+
}
|
|
362
|
+
// Temporarily expose input value. Use with caution.
|
|
363
|
+
get downloadConfigFileInput() {
|
|
364
|
+
return this._downloadConfigFile;
|
|
365
|
+
}
|
|
366
|
+
// hardware_model - computed: false, optional: false, required: true
|
|
367
|
+
_hardwareModel;
|
|
368
|
+
get hardwareModel() {
|
|
369
|
+
return this.getStringAttribute('hardware_model');
|
|
370
|
+
}
|
|
371
|
+
set hardwareModel(value) {
|
|
372
|
+
this._hardwareModel = value;
|
|
373
|
+
}
|
|
374
|
+
// Temporarily expose input value. Use with caution.
|
|
375
|
+
get hardwareModelInput() {
|
|
376
|
+
return this._hardwareModel;
|
|
377
|
+
}
|
|
378
|
+
// id - computed: true, optional: true, required: false
|
|
379
|
+
_id;
|
|
380
|
+
get id() {
|
|
381
|
+
return this.getStringAttribute('id');
|
|
382
|
+
}
|
|
383
|
+
set id(value) {
|
|
384
|
+
this._id = value;
|
|
385
|
+
}
|
|
386
|
+
resetId() {
|
|
387
|
+
this._id = undefined;
|
|
388
|
+
}
|
|
389
|
+
// Temporarily expose input value. Use with caution.
|
|
390
|
+
get idInput() {
|
|
391
|
+
return this._id;
|
|
392
|
+
}
|
|
393
|
+
// serial_number - computed: false, optional: false, required: true
|
|
394
|
+
_serialNumber;
|
|
395
|
+
get serialNumber() {
|
|
396
|
+
return this.getStringAttribute('serial_number');
|
|
397
|
+
}
|
|
398
|
+
set serialNumber(value) {
|
|
399
|
+
this._serialNumber = value;
|
|
400
|
+
}
|
|
401
|
+
// Temporarily expose input value. Use with caution.
|
|
402
|
+
get serialNumberInput() {
|
|
403
|
+
return this._serialNumber;
|
|
404
|
+
}
|
|
405
|
+
// network - computed: false, optional: true, required: false
|
|
406
|
+
_network = new EdgeNeoDeviceOnboardingNetworkList(this, "network", true);
|
|
407
|
+
get network() {
|
|
408
|
+
return this._network;
|
|
409
|
+
}
|
|
410
|
+
putNetwork(value) {
|
|
411
|
+
this._network.internalValue = value;
|
|
412
|
+
}
|
|
413
|
+
resetNetwork() {
|
|
414
|
+
this._network.internalValue = undefined;
|
|
415
|
+
}
|
|
416
|
+
// Temporarily expose input value. Use with caution.
|
|
417
|
+
get networkInput() {
|
|
418
|
+
return this._network.internalValue;
|
|
419
|
+
}
|
|
420
|
+
// =========
|
|
421
|
+
// SYNTHESIS
|
|
422
|
+
// =========
|
|
423
|
+
synthesizeAttributes() {
|
|
424
|
+
return {
|
|
425
|
+
account_name: cdktf.stringToTerraform(this._accountName),
|
|
426
|
+
config_file_download_path: cdktf.stringToTerraform(this._configFileDownloadPath),
|
|
427
|
+
device_name: cdktf.stringToTerraform(this._deviceName),
|
|
428
|
+
download_config_file: cdktf.booleanToTerraform(this._downloadConfigFile),
|
|
429
|
+
hardware_model: cdktf.stringToTerraform(this._hardwareModel),
|
|
430
|
+
id: cdktf.stringToTerraform(this._id),
|
|
431
|
+
serial_number: cdktf.stringToTerraform(this._serialNumber),
|
|
432
|
+
network: cdktf.listMapper(edgeNeoDeviceOnboardingNetworkToTerraform, true)(this._network.internalValue),
|
|
433
|
+
};
|
|
434
|
+
}
|
|
435
|
+
synthesizeHclAttributes() {
|
|
436
|
+
const attrs = {
|
|
437
|
+
account_name: {
|
|
438
|
+
value: cdktf.stringToHclTerraform(this._accountName),
|
|
439
|
+
isBlock: false,
|
|
440
|
+
type: "simple",
|
|
441
|
+
storageClassType: "string",
|
|
442
|
+
},
|
|
443
|
+
config_file_download_path: {
|
|
444
|
+
value: cdktf.stringToHclTerraform(this._configFileDownloadPath),
|
|
445
|
+
isBlock: false,
|
|
446
|
+
type: "simple",
|
|
447
|
+
storageClassType: "string",
|
|
448
|
+
},
|
|
449
|
+
device_name: {
|
|
450
|
+
value: cdktf.stringToHclTerraform(this._deviceName),
|
|
451
|
+
isBlock: false,
|
|
452
|
+
type: "simple",
|
|
453
|
+
storageClassType: "string",
|
|
454
|
+
},
|
|
455
|
+
download_config_file: {
|
|
456
|
+
value: cdktf.booleanToHclTerraform(this._downloadConfigFile),
|
|
457
|
+
isBlock: false,
|
|
458
|
+
type: "simple",
|
|
459
|
+
storageClassType: "boolean",
|
|
460
|
+
},
|
|
461
|
+
hardware_model: {
|
|
462
|
+
value: cdktf.stringToHclTerraform(this._hardwareModel),
|
|
463
|
+
isBlock: false,
|
|
464
|
+
type: "simple",
|
|
465
|
+
storageClassType: "string",
|
|
466
|
+
},
|
|
467
|
+
id: {
|
|
468
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
469
|
+
isBlock: false,
|
|
470
|
+
type: "simple",
|
|
471
|
+
storageClassType: "string",
|
|
472
|
+
},
|
|
473
|
+
serial_number: {
|
|
474
|
+
value: cdktf.stringToHclTerraform(this._serialNumber),
|
|
475
|
+
isBlock: false,
|
|
476
|
+
type: "simple",
|
|
477
|
+
storageClassType: "string",
|
|
478
|
+
},
|
|
479
|
+
network: {
|
|
480
|
+
value: cdktf.listMapperHcl(edgeNeoDeviceOnboardingNetworkToHclTerraform, true)(this._network.internalValue),
|
|
481
|
+
isBlock: true,
|
|
482
|
+
type: "set",
|
|
483
|
+
storageClassType: "EdgeNeoDeviceOnboardingNetworkList",
|
|
484
|
+
},
|
|
485
|
+
};
|
|
486
|
+
// remove undefined attributes
|
|
487
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
488
|
+
}
|
|
489
|
+
}
|