@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,219 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_peer
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_peer aviatrix_azure_peer}
|
|
6
|
+
*/
|
|
7
|
+
export class AzurePeer extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_azure_peer";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a AzurePeer resource upon running "cdktf plan <stack-name>"
|
|
17
|
+
* @param scope The scope in which to define this construct
|
|
18
|
+
* @param importToId The construct id used in the generated config for the AzurePeer to import
|
|
19
|
+
* @param importFromId The id of the existing AzurePeer that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_peer#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the AzurePeer to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_azure_peer", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_peer aviatrix_azure_peer} Resource
|
|
30
|
+
*
|
|
31
|
+
* @param scope The scope in which to define this construct
|
|
32
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
33
|
+
* @param options AzurePeerConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_azure_peer',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'aviatrix',
|
|
40
|
+
providerVersion: '8.1.10',
|
|
41
|
+
providerVersionConstraint: '8.1.10'
|
|
42
|
+
},
|
|
43
|
+
provider: config.provider,
|
|
44
|
+
dependsOn: config.dependsOn,
|
|
45
|
+
count: config.count,
|
|
46
|
+
lifecycle: config.lifecycle,
|
|
47
|
+
provisioners: config.provisioners,
|
|
48
|
+
connection: config.connection,
|
|
49
|
+
forEach: config.forEach
|
|
50
|
+
});
|
|
51
|
+
this._accountName1 = config.accountName1;
|
|
52
|
+
this._accountName2 = config.accountName2;
|
|
53
|
+
this._id = config.id;
|
|
54
|
+
this._vnetNameResourceGroup1 = config.vnetNameResourceGroup1;
|
|
55
|
+
this._vnetNameResourceGroup2 = config.vnetNameResourceGroup2;
|
|
56
|
+
this._vnetReg1 = config.vnetReg1;
|
|
57
|
+
this._vnetReg2 = config.vnetReg2;
|
|
58
|
+
}
|
|
59
|
+
// ==========
|
|
60
|
+
// ATTRIBUTES
|
|
61
|
+
// ==========
|
|
62
|
+
// account_name1 - computed: false, optional: false, required: true
|
|
63
|
+
_accountName1;
|
|
64
|
+
get accountName1() {
|
|
65
|
+
return this.getStringAttribute('account_name1');
|
|
66
|
+
}
|
|
67
|
+
set accountName1(value) {
|
|
68
|
+
this._accountName1 = value;
|
|
69
|
+
}
|
|
70
|
+
// Temporarily expose input value. Use with caution.
|
|
71
|
+
get accountName1Input() {
|
|
72
|
+
return this._accountName1;
|
|
73
|
+
}
|
|
74
|
+
// account_name2 - computed: false, optional: false, required: true
|
|
75
|
+
_accountName2;
|
|
76
|
+
get accountName2() {
|
|
77
|
+
return this.getStringAttribute('account_name2');
|
|
78
|
+
}
|
|
79
|
+
set accountName2(value) {
|
|
80
|
+
this._accountName2 = value;
|
|
81
|
+
}
|
|
82
|
+
// Temporarily expose input value. Use with caution.
|
|
83
|
+
get accountName2Input() {
|
|
84
|
+
return this._accountName2;
|
|
85
|
+
}
|
|
86
|
+
// id - computed: true, optional: true, required: false
|
|
87
|
+
_id;
|
|
88
|
+
get id() {
|
|
89
|
+
return this.getStringAttribute('id');
|
|
90
|
+
}
|
|
91
|
+
set id(value) {
|
|
92
|
+
this._id = value;
|
|
93
|
+
}
|
|
94
|
+
resetId() {
|
|
95
|
+
this._id = undefined;
|
|
96
|
+
}
|
|
97
|
+
// Temporarily expose input value. Use with caution.
|
|
98
|
+
get idInput() {
|
|
99
|
+
return this._id;
|
|
100
|
+
}
|
|
101
|
+
// vnet_cidr1 - computed: true, optional: false, required: false
|
|
102
|
+
get vnetCidr1() {
|
|
103
|
+
return this.getListAttribute('vnet_cidr1');
|
|
104
|
+
}
|
|
105
|
+
// vnet_cidr2 - computed: true, optional: false, required: false
|
|
106
|
+
get vnetCidr2() {
|
|
107
|
+
return this.getListAttribute('vnet_cidr2');
|
|
108
|
+
}
|
|
109
|
+
// vnet_name_resource_group1 - computed: false, optional: false, required: true
|
|
110
|
+
_vnetNameResourceGroup1;
|
|
111
|
+
get vnetNameResourceGroup1() {
|
|
112
|
+
return this.getStringAttribute('vnet_name_resource_group1');
|
|
113
|
+
}
|
|
114
|
+
set vnetNameResourceGroup1(value) {
|
|
115
|
+
this._vnetNameResourceGroup1 = value;
|
|
116
|
+
}
|
|
117
|
+
// Temporarily expose input value. Use with caution.
|
|
118
|
+
get vnetNameResourceGroup1Input() {
|
|
119
|
+
return this._vnetNameResourceGroup1;
|
|
120
|
+
}
|
|
121
|
+
// vnet_name_resource_group2 - computed: false, optional: false, required: true
|
|
122
|
+
_vnetNameResourceGroup2;
|
|
123
|
+
get vnetNameResourceGroup2() {
|
|
124
|
+
return this.getStringAttribute('vnet_name_resource_group2');
|
|
125
|
+
}
|
|
126
|
+
set vnetNameResourceGroup2(value) {
|
|
127
|
+
this._vnetNameResourceGroup2 = value;
|
|
128
|
+
}
|
|
129
|
+
// Temporarily expose input value. Use with caution.
|
|
130
|
+
get vnetNameResourceGroup2Input() {
|
|
131
|
+
return this._vnetNameResourceGroup2;
|
|
132
|
+
}
|
|
133
|
+
// vnet_reg1 - computed: false, optional: false, required: true
|
|
134
|
+
_vnetReg1;
|
|
135
|
+
get vnetReg1() {
|
|
136
|
+
return this.getStringAttribute('vnet_reg1');
|
|
137
|
+
}
|
|
138
|
+
set vnetReg1(value) {
|
|
139
|
+
this._vnetReg1 = value;
|
|
140
|
+
}
|
|
141
|
+
// Temporarily expose input value. Use with caution.
|
|
142
|
+
get vnetReg1Input() {
|
|
143
|
+
return this._vnetReg1;
|
|
144
|
+
}
|
|
145
|
+
// vnet_reg2 - computed: false, optional: false, required: true
|
|
146
|
+
_vnetReg2;
|
|
147
|
+
get vnetReg2() {
|
|
148
|
+
return this.getStringAttribute('vnet_reg2');
|
|
149
|
+
}
|
|
150
|
+
set vnetReg2(value) {
|
|
151
|
+
this._vnetReg2 = value;
|
|
152
|
+
}
|
|
153
|
+
// Temporarily expose input value. Use with caution.
|
|
154
|
+
get vnetReg2Input() {
|
|
155
|
+
return this._vnetReg2;
|
|
156
|
+
}
|
|
157
|
+
// =========
|
|
158
|
+
// SYNTHESIS
|
|
159
|
+
// =========
|
|
160
|
+
synthesizeAttributes() {
|
|
161
|
+
return {
|
|
162
|
+
account_name1: cdktf.stringToTerraform(this._accountName1),
|
|
163
|
+
account_name2: cdktf.stringToTerraform(this._accountName2),
|
|
164
|
+
id: cdktf.stringToTerraform(this._id),
|
|
165
|
+
vnet_name_resource_group1: cdktf.stringToTerraform(this._vnetNameResourceGroup1),
|
|
166
|
+
vnet_name_resource_group2: cdktf.stringToTerraform(this._vnetNameResourceGroup2),
|
|
167
|
+
vnet_reg1: cdktf.stringToTerraform(this._vnetReg1),
|
|
168
|
+
vnet_reg2: cdktf.stringToTerraform(this._vnetReg2),
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
synthesizeHclAttributes() {
|
|
172
|
+
const attrs = {
|
|
173
|
+
account_name1: {
|
|
174
|
+
value: cdktf.stringToHclTerraform(this._accountName1),
|
|
175
|
+
isBlock: false,
|
|
176
|
+
type: "simple",
|
|
177
|
+
storageClassType: "string",
|
|
178
|
+
},
|
|
179
|
+
account_name2: {
|
|
180
|
+
value: cdktf.stringToHclTerraform(this._accountName2),
|
|
181
|
+
isBlock: false,
|
|
182
|
+
type: "simple",
|
|
183
|
+
storageClassType: "string",
|
|
184
|
+
},
|
|
185
|
+
id: {
|
|
186
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
187
|
+
isBlock: false,
|
|
188
|
+
type: "simple",
|
|
189
|
+
storageClassType: "string",
|
|
190
|
+
},
|
|
191
|
+
vnet_name_resource_group1: {
|
|
192
|
+
value: cdktf.stringToHclTerraform(this._vnetNameResourceGroup1),
|
|
193
|
+
isBlock: false,
|
|
194
|
+
type: "simple",
|
|
195
|
+
storageClassType: "string",
|
|
196
|
+
},
|
|
197
|
+
vnet_name_resource_group2: {
|
|
198
|
+
value: cdktf.stringToHclTerraform(this._vnetNameResourceGroup2),
|
|
199
|
+
isBlock: false,
|
|
200
|
+
type: "simple",
|
|
201
|
+
storageClassType: "string",
|
|
202
|
+
},
|
|
203
|
+
vnet_reg1: {
|
|
204
|
+
value: cdktf.stringToHclTerraform(this._vnetReg1),
|
|
205
|
+
isBlock: false,
|
|
206
|
+
type: "simple",
|
|
207
|
+
storageClassType: "string",
|
|
208
|
+
},
|
|
209
|
+
vnet_reg2: {
|
|
210
|
+
value: cdktf.stringToHclTerraform(this._vnetReg2),
|
|
211
|
+
isBlock: false,
|
|
212
|
+
type: "simple",
|
|
213
|
+
storageClassType: "string",
|
|
214
|
+
},
|
|
215
|
+
};
|
|
216
|
+
// remove undefined attributes
|
|
217
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
218
|
+
}
|
|
219
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface AzureSpokeNativePeeringConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_spoke_native_peering#id AzureSpokeNativePeering#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
|
+
* An Aviatrix account that corresponds to a subscription in Azure.
|
|
13
|
+
*
|
|
14
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_spoke_native_peering#spoke_account_name AzureSpokeNativePeering#spoke_account_name}
|
|
15
|
+
*/
|
|
16
|
+
readonly spokeAccountName: string;
|
|
17
|
+
/**
|
|
18
|
+
* Spoke VNet region.
|
|
19
|
+
*
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_spoke_native_peering#spoke_region AzureSpokeNativePeering#spoke_region}
|
|
21
|
+
*/
|
|
22
|
+
readonly spokeRegion: string;
|
|
23
|
+
/**
|
|
24
|
+
* Combination of the Spoke VNet name and resource group.
|
|
25
|
+
*
|
|
26
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_spoke_native_peering#spoke_vpc_id AzureSpokeNativePeering#spoke_vpc_id}
|
|
27
|
+
*/
|
|
28
|
+
readonly spokeVpcId: string;
|
|
29
|
+
/**
|
|
30
|
+
* Name of an azure transit gateway with transit firenet enabled.
|
|
31
|
+
*
|
|
32
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_spoke_native_peering#transit_gateway_name AzureSpokeNativePeering#transit_gateway_name}
|
|
33
|
+
*/
|
|
34
|
+
readonly transitGatewayName: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_spoke_native_peering aviatrix_azure_spoke_native_peering}
|
|
38
|
+
*/
|
|
39
|
+
export declare class AzureSpokeNativePeering extends cdktf.TerraformResource {
|
|
40
|
+
static readonly tfResourceType = "aviatrix_azure_spoke_native_peering";
|
|
41
|
+
/**
|
|
42
|
+
* Generates CDKTF code for importing a AzureSpokeNativePeering resource upon running "cdktf plan <stack-name>"
|
|
43
|
+
* @param scope The scope in which to define this construct
|
|
44
|
+
* @param importToId The construct id used in the generated config for the AzureSpokeNativePeering to import
|
|
45
|
+
* @param importFromId The id of the existing AzureSpokeNativePeering that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_spoke_native_peering#import import section} in the documentation of this resource for the id to use
|
|
46
|
+
* @param provider? Optional instance of the provider where the AzureSpokeNativePeering to import is found
|
|
47
|
+
*/
|
|
48
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
49
|
+
/**
|
|
50
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_spoke_native_peering aviatrix_azure_spoke_native_peering} Resource
|
|
51
|
+
*
|
|
52
|
+
* @param scope The scope in which to define this construct
|
|
53
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
54
|
+
* @param options AzureSpokeNativePeeringConfig
|
|
55
|
+
*/
|
|
56
|
+
constructor(scope: Construct, id: string, config: AzureSpokeNativePeeringConfig);
|
|
57
|
+
private _id?;
|
|
58
|
+
get id(): string;
|
|
59
|
+
set id(value: string);
|
|
60
|
+
resetId(): void;
|
|
61
|
+
get idInput(): string;
|
|
62
|
+
private _spokeAccountName?;
|
|
63
|
+
get spokeAccountName(): string;
|
|
64
|
+
set spokeAccountName(value: string);
|
|
65
|
+
get spokeAccountNameInput(): string;
|
|
66
|
+
private _spokeRegion?;
|
|
67
|
+
get spokeRegion(): string;
|
|
68
|
+
set spokeRegion(value: string);
|
|
69
|
+
get spokeRegionInput(): string;
|
|
70
|
+
private _spokeVpcId?;
|
|
71
|
+
get spokeVpcId(): string;
|
|
72
|
+
set spokeVpcId(value: string);
|
|
73
|
+
get spokeVpcIdInput(): string;
|
|
74
|
+
private _transitGatewayName?;
|
|
75
|
+
get transitGatewayName(): string;
|
|
76
|
+
set transitGatewayName(value: string);
|
|
77
|
+
get transitGatewayNameInput(): string;
|
|
78
|
+
protected synthesizeAttributes(): {
|
|
79
|
+
[name: string]: any;
|
|
80
|
+
};
|
|
81
|
+
protected synthesizeHclAttributes(): {
|
|
82
|
+
[name: string]: any;
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_spoke_native_peering
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_spoke_native_peering aviatrix_azure_spoke_native_peering}
|
|
6
|
+
*/
|
|
7
|
+
export class AzureSpokeNativePeering extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_azure_spoke_native_peering";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a AzureSpokeNativePeering resource upon running "cdktf plan <stack-name>"
|
|
17
|
+
* @param scope The scope in which to define this construct
|
|
18
|
+
* @param importToId The construct id used in the generated config for the AzureSpokeNativePeering to import
|
|
19
|
+
* @param importFromId The id of the existing AzureSpokeNativePeering that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_spoke_native_peering#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the AzureSpokeNativePeering to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_azure_spoke_native_peering", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_spoke_native_peering aviatrix_azure_spoke_native_peering} Resource
|
|
30
|
+
*
|
|
31
|
+
* @param scope The scope in which to define this construct
|
|
32
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
33
|
+
* @param options AzureSpokeNativePeeringConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_azure_spoke_native_peering',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'aviatrix',
|
|
40
|
+
providerVersion: '8.1.10',
|
|
41
|
+
providerVersionConstraint: '8.1.10'
|
|
42
|
+
},
|
|
43
|
+
provider: config.provider,
|
|
44
|
+
dependsOn: config.dependsOn,
|
|
45
|
+
count: config.count,
|
|
46
|
+
lifecycle: config.lifecycle,
|
|
47
|
+
provisioners: config.provisioners,
|
|
48
|
+
connection: config.connection,
|
|
49
|
+
forEach: config.forEach
|
|
50
|
+
});
|
|
51
|
+
this._id = config.id;
|
|
52
|
+
this._spokeAccountName = config.spokeAccountName;
|
|
53
|
+
this._spokeRegion = config.spokeRegion;
|
|
54
|
+
this._spokeVpcId = config.spokeVpcId;
|
|
55
|
+
this._transitGatewayName = config.transitGatewayName;
|
|
56
|
+
}
|
|
57
|
+
// ==========
|
|
58
|
+
// ATTRIBUTES
|
|
59
|
+
// ==========
|
|
60
|
+
// id - computed: true, optional: true, required: false
|
|
61
|
+
_id;
|
|
62
|
+
get id() {
|
|
63
|
+
return this.getStringAttribute('id');
|
|
64
|
+
}
|
|
65
|
+
set id(value) {
|
|
66
|
+
this._id = value;
|
|
67
|
+
}
|
|
68
|
+
resetId() {
|
|
69
|
+
this._id = undefined;
|
|
70
|
+
}
|
|
71
|
+
// Temporarily expose input value. Use with caution.
|
|
72
|
+
get idInput() {
|
|
73
|
+
return this._id;
|
|
74
|
+
}
|
|
75
|
+
// spoke_account_name - computed: false, optional: false, required: true
|
|
76
|
+
_spokeAccountName;
|
|
77
|
+
get spokeAccountName() {
|
|
78
|
+
return this.getStringAttribute('spoke_account_name');
|
|
79
|
+
}
|
|
80
|
+
set spokeAccountName(value) {
|
|
81
|
+
this._spokeAccountName = value;
|
|
82
|
+
}
|
|
83
|
+
// Temporarily expose input value. Use with caution.
|
|
84
|
+
get spokeAccountNameInput() {
|
|
85
|
+
return this._spokeAccountName;
|
|
86
|
+
}
|
|
87
|
+
// spoke_region - computed: false, optional: false, required: true
|
|
88
|
+
_spokeRegion;
|
|
89
|
+
get spokeRegion() {
|
|
90
|
+
return this.getStringAttribute('spoke_region');
|
|
91
|
+
}
|
|
92
|
+
set spokeRegion(value) {
|
|
93
|
+
this._spokeRegion = value;
|
|
94
|
+
}
|
|
95
|
+
// Temporarily expose input value. Use with caution.
|
|
96
|
+
get spokeRegionInput() {
|
|
97
|
+
return this._spokeRegion;
|
|
98
|
+
}
|
|
99
|
+
// spoke_vpc_id - computed: false, optional: false, required: true
|
|
100
|
+
_spokeVpcId;
|
|
101
|
+
get spokeVpcId() {
|
|
102
|
+
return this.getStringAttribute('spoke_vpc_id');
|
|
103
|
+
}
|
|
104
|
+
set spokeVpcId(value) {
|
|
105
|
+
this._spokeVpcId = value;
|
|
106
|
+
}
|
|
107
|
+
// Temporarily expose input value. Use with caution.
|
|
108
|
+
get spokeVpcIdInput() {
|
|
109
|
+
return this._spokeVpcId;
|
|
110
|
+
}
|
|
111
|
+
// transit_gateway_name - computed: false, optional: false, required: true
|
|
112
|
+
_transitGatewayName;
|
|
113
|
+
get transitGatewayName() {
|
|
114
|
+
return this.getStringAttribute('transit_gateway_name');
|
|
115
|
+
}
|
|
116
|
+
set transitGatewayName(value) {
|
|
117
|
+
this._transitGatewayName = value;
|
|
118
|
+
}
|
|
119
|
+
// Temporarily expose input value. Use with caution.
|
|
120
|
+
get transitGatewayNameInput() {
|
|
121
|
+
return this._transitGatewayName;
|
|
122
|
+
}
|
|
123
|
+
// =========
|
|
124
|
+
// SYNTHESIS
|
|
125
|
+
// =========
|
|
126
|
+
synthesizeAttributes() {
|
|
127
|
+
return {
|
|
128
|
+
id: cdktf.stringToTerraform(this._id),
|
|
129
|
+
spoke_account_name: cdktf.stringToTerraform(this._spokeAccountName),
|
|
130
|
+
spoke_region: cdktf.stringToTerraform(this._spokeRegion),
|
|
131
|
+
spoke_vpc_id: cdktf.stringToTerraform(this._spokeVpcId),
|
|
132
|
+
transit_gateway_name: cdktf.stringToTerraform(this._transitGatewayName),
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
synthesizeHclAttributes() {
|
|
136
|
+
const attrs = {
|
|
137
|
+
id: {
|
|
138
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
139
|
+
isBlock: false,
|
|
140
|
+
type: "simple",
|
|
141
|
+
storageClassType: "string",
|
|
142
|
+
},
|
|
143
|
+
spoke_account_name: {
|
|
144
|
+
value: cdktf.stringToHclTerraform(this._spokeAccountName),
|
|
145
|
+
isBlock: false,
|
|
146
|
+
type: "simple",
|
|
147
|
+
storageClassType: "string",
|
|
148
|
+
},
|
|
149
|
+
spoke_region: {
|
|
150
|
+
value: cdktf.stringToHclTerraform(this._spokeRegion),
|
|
151
|
+
isBlock: false,
|
|
152
|
+
type: "simple",
|
|
153
|
+
storageClassType: "string",
|
|
154
|
+
},
|
|
155
|
+
spoke_vpc_id: {
|
|
156
|
+
value: cdktf.stringToHclTerraform(this._spokeVpcId),
|
|
157
|
+
isBlock: false,
|
|
158
|
+
type: "simple",
|
|
159
|
+
storageClassType: "string",
|
|
160
|
+
},
|
|
161
|
+
transit_gateway_name: {
|
|
162
|
+
value: cdktf.stringToHclTerraform(this._transitGatewayName),
|
|
163
|
+
isBlock: false,
|
|
164
|
+
type: "simple",
|
|
165
|
+
storageClassType: "string",
|
|
166
|
+
},
|
|
167
|
+
};
|
|
168
|
+
// remove undefined attributes
|
|
169
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
170
|
+
}
|
|
171
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface AzureVngConnConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Connection name
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_vng_conn#connection_name AzureVngConn#connection_name}
|
|
8
|
+
*/
|
|
9
|
+
readonly connectionName: string;
|
|
10
|
+
/**
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_vng_conn#id AzureVngConn#id}
|
|
12
|
+
*
|
|
13
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
readonly id?: 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/azure_vng_conn#primary_gateway_name AzureVngConn#primary_gateway_name}
|
|
21
|
+
*/
|
|
22
|
+
readonly primaryGatewayName: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_vng_conn aviatrix_azure_vng_conn}
|
|
26
|
+
*/
|
|
27
|
+
export declare class AzureVngConn extends cdktf.TerraformResource {
|
|
28
|
+
static readonly tfResourceType = "aviatrix_azure_vng_conn";
|
|
29
|
+
/**
|
|
30
|
+
* Generates CDKTF code for importing a AzureVngConn resource upon running "cdktf plan <stack-name>"
|
|
31
|
+
* @param scope The scope in which to define this construct
|
|
32
|
+
* @param importToId The construct id used in the generated config for the AzureVngConn to import
|
|
33
|
+
* @param importFromId The id of the existing AzureVngConn that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_vng_conn#import import section} in the documentation of this resource for the id to use
|
|
34
|
+
* @param provider? Optional instance of the provider where the AzureVngConn to import is found
|
|
35
|
+
*/
|
|
36
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
37
|
+
/**
|
|
38
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_vng_conn aviatrix_azure_vng_conn} Resource
|
|
39
|
+
*
|
|
40
|
+
* @param scope The scope in which to define this construct
|
|
41
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
42
|
+
* @param options AzureVngConnConfig
|
|
43
|
+
*/
|
|
44
|
+
constructor(scope: Construct, id: string, config: AzureVngConnConfig);
|
|
45
|
+
get attached(): any;
|
|
46
|
+
private _connectionName?;
|
|
47
|
+
get connectionName(): string;
|
|
48
|
+
set connectionName(value: string);
|
|
49
|
+
get connectionNameInput(): string;
|
|
50
|
+
private _id?;
|
|
51
|
+
get id(): string;
|
|
52
|
+
set id(value: string);
|
|
53
|
+
resetId(): void;
|
|
54
|
+
get idInput(): string;
|
|
55
|
+
private _primaryGatewayName?;
|
|
56
|
+
get primaryGatewayName(): string;
|
|
57
|
+
set primaryGatewayName(value: string);
|
|
58
|
+
get primaryGatewayNameInput(): string;
|
|
59
|
+
get vngName(): any;
|
|
60
|
+
get vpcId(): any;
|
|
61
|
+
protected synthesizeAttributes(): {
|
|
62
|
+
[name: string]: any;
|
|
63
|
+
};
|
|
64
|
+
protected synthesizeHclAttributes(): {
|
|
65
|
+
[name: string]: any;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_vng_conn
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_vng_conn aviatrix_azure_vng_conn}
|
|
6
|
+
*/
|
|
7
|
+
export class AzureVngConn extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_azure_vng_conn";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a AzureVngConn resource upon running "cdktf plan <stack-name>"
|
|
17
|
+
* @param scope The scope in which to define this construct
|
|
18
|
+
* @param importToId The construct id used in the generated config for the AzureVngConn to import
|
|
19
|
+
* @param importFromId The id of the existing AzureVngConn that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_vng_conn#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the AzureVngConn to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_azure_vng_conn", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_vng_conn aviatrix_azure_vng_conn} Resource
|
|
30
|
+
*
|
|
31
|
+
* @param scope The scope in which to define this construct
|
|
32
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
33
|
+
* @param options AzureVngConnConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_azure_vng_conn',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'aviatrix',
|
|
40
|
+
providerVersion: '8.1.10',
|
|
41
|
+
providerVersionConstraint: '8.1.10'
|
|
42
|
+
},
|
|
43
|
+
provider: config.provider,
|
|
44
|
+
dependsOn: config.dependsOn,
|
|
45
|
+
count: config.count,
|
|
46
|
+
lifecycle: config.lifecycle,
|
|
47
|
+
provisioners: config.provisioners,
|
|
48
|
+
connection: config.connection,
|
|
49
|
+
forEach: config.forEach
|
|
50
|
+
});
|
|
51
|
+
this._connectionName = config.connectionName;
|
|
52
|
+
this._id = config.id;
|
|
53
|
+
this._primaryGatewayName = config.primaryGatewayName;
|
|
54
|
+
}
|
|
55
|
+
// ==========
|
|
56
|
+
// ATTRIBUTES
|
|
57
|
+
// ==========
|
|
58
|
+
// attached - computed: true, optional: false, required: false
|
|
59
|
+
get attached() {
|
|
60
|
+
return this.getBooleanAttribute('attached');
|
|
61
|
+
}
|
|
62
|
+
// connection_name - computed: false, optional: false, required: true
|
|
63
|
+
_connectionName;
|
|
64
|
+
get connectionName() {
|
|
65
|
+
return this.getStringAttribute('connection_name');
|
|
66
|
+
}
|
|
67
|
+
set connectionName(value) {
|
|
68
|
+
this._connectionName = value;
|
|
69
|
+
}
|
|
70
|
+
// Temporarily expose input value. Use with caution.
|
|
71
|
+
get connectionNameInput() {
|
|
72
|
+
return this._connectionName;
|
|
73
|
+
}
|
|
74
|
+
// id - computed: true, optional: true, required: false
|
|
75
|
+
_id;
|
|
76
|
+
get id() {
|
|
77
|
+
return this.getStringAttribute('id');
|
|
78
|
+
}
|
|
79
|
+
set id(value) {
|
|
80
|
+
this._id = value;
|
|
81
|
+
}
|
|
82
|
+
resetId() {
|
|
83
|
+
this._id = undefined;
|
|
84
|
+
}
|
|
85
|
+
// Temporarily expose input value. Use with caution.
|
|
86
|
+
get idInput() {
|
|
87
|
+
return this._id;
|
|
88
|
+
}
|
|
89
|
+
// primary_gateway_name - computed: false, optional: false, required: true
|
|
90
|
+
_primaryGatewayName;
|
|
91
|
+
get primaryGatewayName() {
|
|
92
|
+
return this.getStringAttribute('primary_gateway_name');
|
|
93
|
+
}
|
|
94
|
+
set primaryGatewayName(value) {
|
|
95
|
+
this._primaryGatewayName = value;
|
|
96
|
+
}
|
|
97
|
+
// Temporarily expose input value. Use with caution.
|
|
98
|
+
get primaryGatewayNameInput() {
|
|
99
|
+
return this._primaryGatewayName;
|
|
100
|
+
}
|
|
101
|
+
// vng_name - computed: true, optional: false, required: false
|
|
102
|
+
get vngName() {
|
|
103
|
+
return this.getStringAttribute('vng_name');
|
|
104
|
+
}
|
|
105
|
+
// vpc_id - computed: true, optional: false, required: false
|
|
106
|
+
get vpcId() {
|
|
107
|
+
return this.getStringAttribute('vpc_id');
|
|
108
|
+
}
|
|
109
|
+
// =========
|
|
110
|
+
// SYNTHESIS
|
|
111
|
+
// =========
|
|
112
|
+
synthesizeAttributes() {
|
|
113
|
+
return {
|
|
114
|
+
connection_name: cdktf.stringToTerraform(this._connectionName),
|
|
115
|
+
id: cdktf.stringToTerraform(this._id),
|
|
116
|
+
primary_gateway_name: cdktf.stringToTerraform(this._primaryGatewayName),
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
synthesizeHclAttributes() {
|
|
120
|
+
const attrs = {
|
|
121
|
+
connection_name: {
|
|
122
|
+
value: cdktf.stringToHclTerraform(this._connectionName),
|
|
123
|
+
isBlock: false,
|
|
124
|
+
type: "simple",
|
|
125
|
+
storageClassType: "string",
|
|
126
|
+
},
|
|
127
|
+
id: {
|
|
128
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
129
|
+
isBlock: false,
|
|
130
|
+
type: "simple",
|
|
131
|
+
storageClassType: "string",
|
|
132
|
+
},
|
|
133
|
+
primary_gateway_name: {
|
|
134
|
+
value: cdktf.stringToHclTerraform(this._primaryGatewayName),
|
|
135
|
+
isBlock: false,
|
|
136
|
+
type: "simple",
|
|
137
|
+
storageClassType: "string",
|
|
138
|
+
},
|
|
139
|
+
};
|
|
140
|
+
// remove undefined attributes
|
|
141
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
142
|
+
}
|
|
143
|
+
}
|