@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,65 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface QosClassConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_class#id QosClass#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
|
+
* QoS class name.
|
|
13
|
+
*
|
|
14
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_class#name QosClass#name}
|
|
15
|
+
*/
|
|
16
|
+
readonly name: string;
|
|
17
|
+
/**
|
|
18
|
+
* QoS class priority.
|
|
19
|
+
*
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_class#priority QosClass#priority}
|
|
21
|
+
*/
|
|
22
|
+
readonly priority: number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_class aviatrix_qos_class}
|
|
26
|
+
*/
|
|
27
|
+
export declare class QosClass extends cdktf.TerraformResource {
|
|
28
|
+
static readonly tfResourceType = "aviatrix_qos_class";
|
|
29
|
+
/**
|
|
30
|
+
* Generates CDKTF code for importing a QosClass 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 QosClass to import
|
|
33
|
+
* @param importFromId The id of the existing QosClass that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_class#import import section} in the documentation of this resource for the id to use
|
|
34
|
+
* @param provider? Optional instance of the provider where the QosClass 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/qos_class aviatrix_qos_class} 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 QosClassConfig
|
|
43
|
+
*/
|
|
44
|
+
constructor(scope: Construct, id: string, config: QosClassConfig);
|
|
45
|
+
private _id?;
|
|
46
|
+
get id(): string;
|
|
47
|
+
set id(value: string);
|
|
48
|
+
resetId(): void;
|
|
49
|
+
get idInput(): string;
|
|
50
|
+
private _name?;
|
|
51
|
+
get name(): string;
|
|
52
|
+
set name(value: string);
|
|
53
|
+
get nameInput(): string;
|
|
54
|
+
private _priority?;
|
|
55
|
+
get priority(): number;
|
|
56
|
+
set priority(value: number);
|
|
57
|
+
get priorityInput(): number;
|
|
58
|
+
get uuid(): any;
|
|
59
|
+
protected synthesizeAttributes(): {
|
|
60
|
+
[name: string]: any;
|
|
61
|
+
};
|
|
62
|
+
protected synthesizeHclAttributes(): {
|
|
63
|
+
[name: string]: any;
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_class
|
|
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/qos_class aviatrix_qos_class}
|
|
6
|
+
*/
|
|
7
|
+
export class QosClass extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_qos_class";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a QosClass 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 QosClass to import
|
|
19
|
+
* @param importFromId The id of the existing QosClass that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_class#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the QosClass to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_qos_class", 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/qos_class aviatrix_qos_class} 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 QosClassConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_qos_class',
|
|
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._name = config.name;
|
|
53
|
+
this._priority = config.priority;
|
|
54
|
+
}
|
|
55
|
+
// ==========
|
|
56
|
+
// ATTRIBUTES
|
|
57
|
+
// ==========
|
|
58
|
+
// id - computed: true, optional: true, required: false
|
|
59
|
+
_id;
|
|
60
|
+
get id() {
|
|
61
|
+
return this.getStringAttribute('id');
|
|
62
|
+
}
|
|
63
|
+
set id(value) {
|
|
64
|
+
this._id = value;
|
|
65
|
+
}
|
|
66
|
+
resetId() {
|
|
67
|
+
this._id = undefined;
|
|
68
|
+
}
|
|
69
|
+
// Temporarily expose input value. Use with caution.
|
|
70
|
+
get idInput() {
|
|
71
|
+
return this._id;
|
|
72
|
+
}
|
|
73
|
+
// name - computed: false, optional: false, required: true
|
|
74
|
+
_name;
|
|
75
|
+
get name() {
|
|
76
|
+
return this.getStringAttribute('name');
|
|
77
|
+
}
|
|
78
|
+
set name(value) {
|
|
79
|
+
this._name = value;
|
|
80
|
+
}
|
|
81
|
+
// Temporarily expose input value. Use with caution.
|
|
82
|
+
get nameInput() {
|
|
83
|
+
return this._name;
|
|
84
|
+
}
|
|
85
|
+
// priority - computed: false, optional: false, required: true
|
|
86
|
+
_priority;
|
|
87
|
+
get priority() {
|
|
88
|
+
return this.getNumberAttribute('priority');
|
|
89
|
+
}
|
|
90
|
+
set priority(value) {
|
|
91
|
+
this._priority = value;
|
|
92
|
+
}
|
|
93
|
+
// Temporarily expose input value. Use with caution.
|
|
94
|
+
get priorityInput() {
|
|
95
|
+
return this._priority;
|
|
96
|
+
}
|
|
97
|
+
// uuid - computed: true, optional: false, required: false
|
|
98
|
+
get uuid() {
|
|
99
|
+
return this.getStringAttribute('uuid');
|
|
100
|
+
}
|
|
101
|
+
// =========
|
|
102
|
+
// SYNTHESIS
|
|
103
|
+
// =========
|
|
104
|
+
synthesizeAttributes() {
|
|
105
|
+
return {
|
|
106
|
+
id: cdktf.stringToTerraform(this._id),
|
|
107
|
+
name: cdktf.stringToTerraform(this._name),
|
|
108
|
+
priority: cdktf.numberToTerraform(this._priority),
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
synthesizeHclAttributes() {
|
|
112
|
+
const attrs = {
|
|
113
|
+
id: {
|
|
114
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
115
|
+
isBlock: false,
|
|
116
|
+
type: "simple",
|
|
117
|
+
storageClassType: "string",
|
|
118
|
+
},
|
|
119
|
+
name: {
|
|
120
|
+
value: cdktf.stringToHclTerraform(this._name),
|
|
121
|
+
isBlock: false,
|
|
122
|
+
type: "simple",
|
|
123
|
+
storageClassType: "string",
|
|
124
|
+
},
|
|
125
|
+
priority: {
|
|
126
|
+
value: cdktf.numberToHclTerraform(this._priority),
|
|
127
|
+
isBlock: false,
|
|
128
|
+
type: "simple",
|
|
129
|
+
storageClassType: "number",
|
|
130
|
+
},
|
|
131
|
+
};
|
|
132
|
+
// remove undefined attributes
|
|
133
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
134
|
+
}
|
|
135
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface QosPolicyListConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_policy_list#id QosPolicyList#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
|
+
* policies block
|
|
13
|
+
*
|
|
14
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_policy_list#policies QosPolicyList#policies}
|
|
15
|
+
*/
|
|
16
|
+
readonly policies: QosPolicyListPolicies[] | cdktf.IResolvable;
|
|
17
|
+
}
|
|
18
|
+
export interface QosPolicyListPolicies {
|
|
19
|
+
/**
|
|
20
|
+
* List of DSCP values.
|
|
21
|
+
*
|
|
22
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_policy_list#dscp_values QosPolicyList#dscp_values}
|
|
23
|
+
*/
|
|
24
|
+
readonly dscpValues: string[];
|
|
25
|
+
/**
|
|
26
|
+
* QoS policy name.
|
|
27
|
+
*
|
|
28
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_policy_list#name QosPolicyList#name}
|
|
29
|
+
*/
|
|
30
|
+
readonly name: string;
|
|
31
|
+
/**
|
|
32
|
+
* QoS class UUID.
|
|
33
|
+
*
|
|
34
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_policy_list#qos_class_uuid QosPolicyList#qos_class_uuid}
|
|
35
|
+
*/
|
|
36
|
+
readonly qosClassUuid: string;
|
|
37
|
+
}
|
|
38
|
+
export declare function qosPolicyListPoliciesToTerraform(struct?: QosPolicyListPolicies | cdktf.IResolvable): any;
|
|
39
|
+
export declare function qosPolicyListPoliciesToHclTerraform(struct?: QosPolicyListPolicies | cdktf.IResolvable): any;
|
|
40
|
+
export declare class QosPolicyListPoliciesOutputReference extends cdktf.ComplexObject {
|
|
41
|
+
private isEmptyObject;
|
|
42
|
+
private resolvableValue?;
|
|
43
|
+
/**
|
|
44
|
+
* @param terraformResource The parent resource
|
|
45
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
46
|
+
* @param complexObjectIndex the index of this item in the list
|
|
47
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
48
|
+
*/
|
|
49
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
50
|
+
get internalValue(): QosPolicyListPolicies | cdktf.IResolvable | undefined;
|
|
51
|
+
set internalValue(value: QosPolicyListPolicies | cdktf.IResolvable | undefined);
|
|
52
|
+
private _dscpValues?;
|
|
53
|
+
get dscpValues(): string[];
|
|
54
|
+
set dscpValues(value: string[]);
|
|
55
|
+
get dscpValuesInput(): string[];
|
|
56
|
+
private _name?;
|
|
57
|
+
get name(): string;
|
|
58
|
+
set name(value: string);
|
|
59
|
+
get nameInput(): string;
|
|
60
|
+
private _qosClassUuid?;
|
|
61
|
+
get qosClassUuid(): string;
|
|
62
|
+
set qosClassUuid(value: string);
|
|
63
|
+
get qosClassUuidInput(): string;
|
|
64
|
+
get uuid(): any;
|
|
65
|
+
}
|
|
66
|
+
export declare class QosPolicyListPoliciesList extends cdktf.ComplexList {
|
|
67
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
68
|
+
protected terraformAttribute: string;
|
|
69
|
+
protected wrapsSet: boolean;
|
|
70
|
+
internalValue?: QosPolicyListPolicies[] | cdktf.IResolvable;
|
|
71
|
+
/**
|
|
72
|
+
* @param terraformResource The parent resource
|
|
73
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
74
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
75
|
+
*/
|
|
76
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
77
|
+
/**
|
|
78
|
+
* @param index the index of the item to return
|
|
79
|
+
*/
|
|
80
|
+
get(index: number): QosPolicyListPoliciesOutputReference;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_policy_list aviatrix_qos_policy_list}
|
|
84
|
+
*/
|
|
85
|
+
export declare class QosPolicyList extends cdktf.TerraformResource {
|
|
86
|
+
static readonly tfResourceType = "aviatrix_qos_policy_list";
|
|
87
|
+
/**
|
|
88
|
+
* Generates CDKTF code for importing a QosPolicyList resource upon running "cdktf plan <stack-name>"
|
|
89
|
+
* @param scope The scope in which to define this construct
|
|
90
|
+
* @param importToId The construct id used in the generated config for the QosPolicyList to import
|
|
91
|
+
* @param importFromId The id of the existing QosPolicyList that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_policy_list#import import section} in the documentation of this resource for the id to use
|
|
92
|
+
* @param provider? Optional instance of the provider where the QosPolicyList to import is found
|
|
93
|
+
*/
|
|
94
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
95
|
+
/**
|
|
96
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_policy_list aviatrix_qos_policy_list} Resource
|
|
97
|
+
*
|
|
98
|
+
* @param scope The scope in which to define this construct
|
|
99
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
100
|
+
* @param options QosPolicyListConfig
|
|
101
|
+
*/
|
|
102
|
+
constructor(scope: Construct, id: string, config: QosPolicyListConfig);
|
|
103
|
+
private _id?;
|
|
104
|
+
get id(): string;
|
|
105
|
+
set id(value: string);
|
|
106
|
+
resetId(): void;
|
|
107
|
+
get idInput(): string;
|
|
108
|
+
private _policies;
|
|
109
|
+
get policies(): QosPolicyListPoliciesList;
|
|
110
|
+
putPolicies(value: QosPolicyListPolicies[] | cdktf.IResolvable): void;
|
|
111
|
+
get policiesInput(): any;
|
|
112
|
+
protected synthesizeAttributes(): {
|
|
113
|
+
[name: string]: any;
|
|
114
|
+
};
|
|
115
|
+
protected synthesizeHclAttributes(): {
|
|
116
|
+
[name: string]: any;
|
|
117
|
+
};
|
|
118
|
+
}
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_policy_list
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function qosPolicyListPoliciesToTerraform(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
|
+
dscp_values: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.dscpValues),
|
|
13
|
+
name: cdktf.stringToTerraform(struct.name),
|
|
14
|
+
qos_class_uuid: cdktf.stringToTerraform(struct.qosClassUuid),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export function qosPolicyListPoliciesToHclTerraform(struct) {
|
|
18
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
19
|
+
return struct;
|
|
20
|
+
}
|
|
21
|
+
if (cdktf.isComplexElement(struct)) {
|
|
22
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
23
|
+
}
|
|
24
|
+
const attrs = {
|
|
25
|
+
dscp_values: {
|
|
26
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.dscpValues),
|
|
27
|
+
isBlock: false,
|
|
28
|
+
type: "list",
|
|
29
|
+
storageClassType: "stringList",
|
|
30
|
+
},
|
|
31
|
+
name: {
|
|
32
|
+
value: cdktf.stringToHclTerraform(struct.name),
|
|
33
|
+
isBlock: false,
|
|
34
|
+
type: "simple",
|
|
35
|
+
storageClassType: "string",
|
|
36
|
+
},
|
|
37
|
+
qos_class_uuid: {
|
|
38
|
+
value: cdktf.stringToHclTerraform(struct.qosClassUuid),
|
|
39
|
+
isBlock: false,
|
|
40
|
+
type: "simple",
|
|
41
|
+
storageClassType: "string",
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
// remove undefined attributes
|
|
45
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
46
|
+
}
|
|
47
|
+
export class QosPolicyListPoliciesOutputReference extends cdktf.ComplexObject {
|
|
48
|
+
isEmptyObject = false;
|
|
49
|
+
resolvableValue;
|
|
50
|
+
/**
|
|
51
|
+
* @param terraformResource The parent resource
|
|
52
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
53
|
+
* @param complexObjectIndex the index of this item in the list
|
|
54
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
55
|
+
*/
|
|
56
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
57
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
58
|
+
}
|
|
59
|
+
get internalValue() {
|
|
60
|
+
if (this.resolvableValue) {
|
|
61
|
+
return this.resolvableValue;
|
|
62
|
+
}
|
|
63
|
+
let hasAnyValues = this.isEmptyObject;
|
|
64
|
+
const internalValueResult = {};
|
|
65
|
+
if (this._dscpValues !== undefined) {
|
|
66
|
+
hasAnyValues = true;
|
|
67
|
+
internalValueResult.dscpValues = this._dscpValues;
|
|
68
|
+
}
|
|
69
|
+
if (this._name !== undefined) {
|
|
70
|
+
hasAnyValues = true;
|
|
71
|
+
internalValueResult.name = this._name;
|
|
72
|
+
}
|
|
73
|
+
if (this._qosClassUuid !== undefined) {
|
|
74
|
+
hasAnyValues = true;
|
|
75
|
+
internalValueResult.qosClassUuid = this._qosClassUuid;
|
|
76
|
+
}
|
|
77
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
78
|
+
}
|
|
79
|
+
set internalValue(value) {
|
|
80
|
+
if (value === undefined) {
|
|
81
|
+
this.isEmptyObject = false;
|
|
82
|
+
this.resolvableValue = undefined;
|
|
83
|
+
this._dscpValues = undefined;
|
|
84
|
+
this._name = undefined;
|
|
85
|
+
this._qosClassUuid = undefined;
|
|
86
|
+
}
|
|
87
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
88
|
+
this.isEmptyObject = false;
|
|
89
|
+
this.resolvableValue = value;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
93
|
+
this.resolvableValue = undefined;
|
|
94
|
+
this._dscpValues = value.dscpValues;
|
|
95
|
+
this._name = value.name;
|
|
96
|
+
this._qosClassUuid = value.qosClassUuid;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
// dscp_values - computed: false, optional: false, required: true
|
|
100
|
+
_dscpValues;
|
|
101
|
+
get dscpValues() {
|
|
102
|
+
return this.getListAttribute('dscp_values');
|
|
103
|
+
}
|
|
104
|
+
set dscpValues(value) {
|
|
105
|
+
this._dscpValues = value;
|
|
106
|
+
}
|
|
107
|
+
// Temporarily expose input value. Use with caution.
|
|
108
|
+
get dscpValuesInput() {
|
|
109
|
+
return this._dscpValues;
|
|
110
|
+
}
|
|
111
|
+
// name - computed: false, optional: false, required: true
|
|
112
|
+
_name;
|
|
113
|
+
get name() {
|
|
114
|
+
return this.getStringAttribute('name');
|
|
115
|
+
}
|
|
116
|
+
set name(value) {
|
|
117
|
+
this._name = value;
|
|
118
|
+
}
|
|
119
|
+
// Temporarily expose input value. Use with caution.
|
|
120
|
+
get nameInput() {
|
|
121
|
+
return this._name;
|
|
122
|
+
}
|
|
123
|
+
// qos_class_uuid - computed: false, optional: false, required: true
|
|
124
|
+
_qosClassUuid;
|
|
125
|
+
get qosClassUuid() {
|
|
126
|
+
return this.getStringAttribute('qos_class_uuid');
|
|
127
|
+
}
|
|
128
|
+
set qosClassUuid(value) {
|
|
129
|
+
this._qosClassUuid = value;
|
|
130
|
+
}
|
|
131
|
+
// Temporarily expose input value. Use with caution.
|
|
132
|
+
get qosClassUuidInput() {
|
|
133
|
+
return this._qosClassUuid;
|
|
134
|
+
}
|
|
135
|
+
// uuid - computed: true, optional: false, required: false
|
|
136
|
+
get uuid() {
|
|
137
|
+
return this.getStringAttribute('uuid');
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
export class QosPolicyListPoliciesList extends cdktf.ComplexList {
|
|
141
|
+
terraformResource;
|
|
142
|
+
terraformAttribute;
|
|
143
|
+
wrapsSet;
|
|
144
|
+
internalValue;
|
|
145
|
+
/**
|
|
146
|
+
* @param terraformResource The parent resource
|
|
147
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
148
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
149
|
+
*/
|
|
150
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
151
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
152
|
+
this.terraformResource = terraformResource;
|
|
153
|
+
this.terraformAttribute = terraformAttribute;
|
|
154
|
+
this.wrapsSet = wrapsSet;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* @param index the index of the item to return
|
|
158
|
+
*/
|
|
159
|
+
get(index) {
|
|
160
|
+
return new QosPolicyListPoliciesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_policy_list aviatrix_qos_policy_list}
|
|
165
|
+
*/
|
|
166
|
+
export class QosPolicyList extends cdktf.TerraformResource {
|
|
167
|
+
// =================
|
|
168
|
+
// STATIC PROPERTIES
|
|
169
|
+
// =================
|
|
170
|
+
static tfResourceType = "aviatrix_qos_policy_list";
|
|
171
|
+
// ==============
|
|
172
|
+
// STATIC Methods
|
|
173
|
+
// ==============
|
|
174
|
+
/**
|
|
175
|
+
* Generates CDKTF code for importing a QosPolicyList resource upon running "cdktf plan <stack-name>"
|
|
176
|
+
* @param scope The scope in which to define this construct
|
|
177
|
+
* @param importToId The construct id used in the generated config for the QosPolicyList to import
|
|
178
|
+
* @param importFromId The id of the existing QosPolicyList that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_policy_list#import import section} in the documentation of this resource for the id to use
|
|
179
|
+
* @param provider? Optional instance of the provider where the QosPolicyList to import is found
|
|
180
|
+
*/
|
|
181
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
182
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_qos_policy_list", importId: importFromId, provider });
|
|
183
|
+
}
|
|
184
|
+
// ===========
|
|
185
|
+
// INITIALIZER
|
|
186
|
+
// ===========
|
|
187
|
+
/**
|
|
188
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/qos_policy_list aviatrix_qos_policy_list} Resource
|
|
189
|
+
*
|
|
190
|
+
* @param scope The scope in which to define this construct
|
|
191
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
192
|
+
* @param options QosPolicyListConfig
|
|
193
|
+
*/
|
|
194
|
+
constructor(scope, id, config) {
|
|
195
|
+
super(scope, id, {
|
|
196
|
+
terraformResourceType: 'aviatrix_qos_policy_list',
|
|
197
|
+
terraformGeneratorMetadata: {
|
|
198
|
+
providerName: 'aviatrix',
|
|
199
|
+
providerVersion: '8.1.10',
|
|
200
|
+
providerVersionConstraint: '8.1.10'
|
|
201
|
+
},
|
|
202
|
+
provider: config.provider,
|
|
203
|
+
dependsOn: config.dependsOn,
|
|
204
|
+
count: config.count,
|
|
205
|
+
lifecycle: config.lifecycle,
|
|
206
|
+
provisioners: config.provisioners,
|
|
207
|
+
connection: config.connection,
|
|
208
|
+
forEach: config.forEach
|
|
209
|
+
});
|
|
210
|
+
this._id = config.id;
|
|
211
|
+
this._policies.internalValue = config.policies;
|
|
212
|
+
}
|
|
213
|
+
// ==========
|
|
214
|
+
// ATTRIBUTES
|
|
215
|
+
// ==========
|
|
216
|
+
// id - computed: true, optional: true, required: false
|
|
217
|
+
_id;
|
|
218
|
+
get id() {
|
|
219
|
+
return this.getStringAttribute('id');
|
|
220
|
+
}
|
|
221
|
+
set id(value) {
|
|
222
|
+
this._id = value;
|
|
223
|
+
}
|
|
224
|
+
resetId() {
|
|
225
|
+
this._id = undefined;
|
|
226
|
+
}
|
|
227
|
+
// Temporarily expose input value. Use with caution.
|
|
228
|
+
get idInput() {
|
|
229
|
+
return this._id;
|
|
230
|
+
}
|
|
231
|
+
// policies - computed: false, optional: false, required: true
|
|
232
|
+
_policies = new QosPolicyListPoliciesList(this, "policies", false);
|
|
233
|
+
get policies() {
|
|
234
|
+
return this._policies;
|
|
235
|
+
}
|
|
236
|
+
putPolicies(value) {
|
|
237
|
+
this._policies.internalValue = value;
|
|
238
|
+
}
|
|
239
|
+
// Temporarily expose input value. Use with caution.
|
|
240
|
+
get policiesInput() {
|
|
241
|
+
return this._policies.internalValue;
|
|
242
|
+
}
|
|
243
|
+
// =========
|
|
244
|
+
// SYNTHESIS
|
|
245
|
+
// =========
|
|
246
|
+
synthesizeAttributes() {
|
|
247
|
+
return {
|
|
248
|
+
id: cdktf.stringToTerraform(this._id),
|
|
249
|
+
policies: cdktf.listMapper(qosPolicyListPoliciesToTerraform, true)(this._policies.internalValue),
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
synthesizeHclAttributes() {
|
|
253
|
+
const attrs = {
|
|
254
|
+
id: {
|
|
255
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
256
|
+
isBlock: false,
|
|
257
|
+
type: "simple",
|
|
258
|
+
storageClassType: "string",
|
|
259
|
+
},
|
|
260
|
+
policies: {
|
|
261
|
+
value: cdktf.listMapperHcl(qosPolicyListPoliciesToHclTerraform, true)(this._policies.internalValue),
|
|
262
|
+
isBlock: true,
|
|
263
|
+
type: "list",
|
|
264
|
+
storageClassType: "QosPolicyListPoliciesList",
|
|
265
|
+
},
|
|
266
|
+
};
|
|
267
|
+
// remove undefined attributes
|
|
268
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
269
|
+
}
|
|
270
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface RbacGroupConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* RBAC permission group name.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/rbac_group#group_name RbacGroup#group_name}
|
|
8
|
+
*/
|
|
9
|
+
readonly groupName: string;
|
|
10
|
+
/**
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/rbac_group#id RbacGroup#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
|
+
* Whether to allow members of an RBAC group to bypass LDAP/MFA for Duo login
|
|
19
|
+
*
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/rbac_group#local_login RbacGroup#local_login}
|
|
21
|
+
*/
|
|
22
|
+
readonly localLogin?: boolean | cdktf.IResolvable;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/rbac_group aviatrix_rbac_group}
|
|
26
|
+
*/
|
|
27
|
+
export declare class RbacGroup extends cdktf.TerraformResource {
|
|
28
|
+
static readonly tfResourceType = "aviatrix_rbac_group";
|
|
29
|
+
/**
|
|
30
|
+
* Generates CDKTF code for importing a RbacGroup 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 RbacGroup to import
|
|
33
|
+
* @param importFromId The id of the existing RbacGroup that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/rbac_group#import import section} in the documentation of this resource for the id to use
|
|
34
|
+
* @param provider? Optional instance of the provider where the RbacGroup 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/rbac_group aviatrix_rbac_group} 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 RbacGroupConfig
|
|
43
|
+
*/
|
|
44
|
+
constructor(scope: Construct, id: string, config: RbacGroupConfig);
|
|
45
|
+
private _groupName?;
|
|
46
|
+
get groupName(): string;
|
|
47
|
+
set groupName(value: string);
|
|
48
|
+
get groupNameInput(): string;
|
|
49
|
+
private _id?;
|
|
50
|
+
get id(): string;
|
|
51
|
+
set id(value: string);
|
|
52
|
+
resetId(): void;
|
|
53
|
+
get idInput(): string;
|
|
54
|
+
private _localLogin?;
|
|
55
|
+
get localLogin(): boolean | cdktf.IResolvable;
|
|
56
|
+
set localLogin(value: boolean | cdktf.IResolvable);
|
|
57
|
+
resetLocalLogin(): void;
|
|
58
|
+
get localLoginInput(): any;
|
|
59
|
+
protected synthesizeAttributes(): {
|
|
60
|
+
[name: string]: any;
|
|
61
|
+
};
|
|
62
|
+
protected synthesizeHclAttributes(): {
|
|
63
|
+
[name: string]: any;
|
|
64
|
+
};
|
|
65
|
+
}
|