@cdktf-providers/edge-center-edgecenter 0.10.4
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/baremetal/index.d.ts +528 -0
- package/dist/baremetal/index.js +1250 -0
- package/dist/cdn-lecert/index.d.ts +76 -0
- package/dist/cdn-lecert/index.js +157 -0
- package/dist/cdn-origingroup/index.d.ts +237 -0
- package/dist/cdn-origingroup/index.js +560 -0
- package/dist/cdn-resource/index.d.ts +2223 -0
- package/dist/cdn-resource/index.js +5865 -0
- package/dist/cdn-rule/index.d.ts +2037 -0
- package/dist/cdn-rule/index.js +5381 -0
- package/dist/cdn-shielding/index.d.ts +64 -0
- package/dist/cdn-shielding/index.js +131 -0
- package/dist/cdn-sslcert/index.d.ts +76 -0
- package/dist/cdn-sslcert/index.js +159 -0
- package/dist/data-edgecenter-availability-zone/index.d.ts +67 -0
- package/dist/data-edgecenter-availability-zone/index.js +141 -0
- package/dist/data-edgecenter-cdn-shielding-location/index.d.ts +54 -0
- package/dist/data-edgecenter-cdn-shielding-location/index.js +111 -0
- package/dist/data-edgecenter-floatingip/index.d.ts +183 -0
- package/dist/data-edgecenter-floatingip/index.js +378 -0
- package/dist/data-edgecenter-image/index.d.ts +183 -0
- package/dist/data-edgecenter-image/index.js +378 -0
- package/dist/data-edgecenter-instance/index.d.ts +312 -0
- package/dist/data-edgecenter-instance/index.js +690 -0
- package/dist/data-edgecenter-instance-port-security/index.d.ts +110 -0
- package/dist/data-edgecenter-instance-port-security/index.js +231 -0
- package/dist/data-edgecenter-instance-v2/index.d.ts +222 -0
- package/dist/data-edgecenter-instance-v2/index.js +501 -0
- package/dist/data-edgecenter-k8s/index.d.ts +167 -0
- package/dist/data-edgecenter-k8s/index.js +412 -0
- package/dist/data-edgecenter-k8s-client-config/index.d.ts +100 -0
- package/dist/data-edgecenter-k8s-client-config/index.js +211 -0
- package/dist/data-edgecenter-k8s-pool/index.d.ts +120 -0
- package/dist/data-edgecenter-k8s-pool/index.js +271 -0
- package/dist/data-edgecenter-lb-l7policy/index.d.ts +114 -0
- package/dist/data-edgecenter-lb-l7policy/index.js +258 -0
- package/dist/data-edgecenter-lb-l7rule/index.d.ts +120 -0
- package/dist/data-edgecenter-lb-l7rule/index.js +262 -0
- package/dist/data-edgecenter-lblistener/index.d.ts +122 -0
- package/dist/data-edgecenter-lblistener/index.js +269 -0
- package/dist/data-edgecenter-lbpool/index.d.ts +204 -0
- package/dist/data-edgecenter-lbpool/index.js +454 -0
- package/dist/data-edgecenter-loadbalancer/index.d.ts +203 -0
- package/dist/data-edgecenter-loadbalancer/index.js +427 -0
- package/dist/data-edgecenter-loadbalancerv2/index.d.ts +169 -0
- package/dist/data-edgecenter-loadbalancerv2/index.js +343 -0
- package/dist/data-edgecenter-network/index.d.ts +270 -0
- package/dist/data-edgecenter-network/index.js +589 -0
- package/dist/data-edgecenter-project/index.d.ts +72 -0
- package/dist/data-edgecenter-project/index.js +153 -0
- package/dist/data-edgecenter-region/index.d.ts +54 -0
- package/dist/data-edgecenter-region/index.js +111 -0
- package/dist/data-edgecenter-reseller-images/index.d.ts +91 -0
- package/dist/data-edgecenter-reseller-images/index.js +198 -0
- package/dist/data-edgecenter-reseller-images-v2/index.d.ts +101 -0
- package/dist/data-edgecenter-reseller-images-v2/index.js +218 -0
- package/dist/data-edgecenter-reseller-networks/index.d.ts +269 -0
- package/dist/data-edgecenter-reseller-networks/index.js +610 -0
- package/dist/data-edgecenter-reservedfixedip/index.d.ts +141 -0
- package/dist/data-edgecenter-reservedfixedip/index.js +311 -0
- package/dist/data-edgecenter-router/index.d.ts +245 -0
- package/dist/data-edgecenter-router/index.js +538 -0
- package/dist/data-edgecenter-secret/index.d.ts +109 -0
- package/dist/data-edgecenter-secret/index.js +235 -0
- package/dist/data-edgecenter-securitygroup/index.d.ts +211 -0
- package/dist/data-edgecenter-securitygroup/index.js +450 -0
- package/dist/data-edgecenter-servergroup/index.d.ts +137 -0
- package/dist/data-edgecenter-servergroup/index.js +289 -0
- package/dist/data-edgecenter-snapshot/index.d.ts +129 -0
- package/dist/data-edgecenter-snapshot/index.js +281 -0
- package/dist/data-edgecenter-storage-s3/index.d.ts +71 -0
- package/dist/data-edgecenter-storage-s3/index.js +157 -0
- package/dist/data-edgecenter-storage-s3-bucket/index.d.ts +64 -0
- package/dist/data-edgecenter-storage-s3-bucket/index.js +131 -0
- package/dist/data-edgecenter-subnet/index.d.ts +253 -0
- package/dist/data-edgecenter-subnet/index.js +536 -0
- package/dist/data-edgecenter-useractions-subscription-amqp/index.d.ts +48 -0
- package/dist/data-edgecenter-useractions-subscription-amqp/index.js +107 -0
- package/dist/data-edgecenter-useractions-subscription-log/index.d.ts +47 -0
- package/dist/data-edgecenter-useractions-subscription-log/index.js +103 -0
- package/dist/data-edgecenter-volume/index.d.ts +169 -0
- package/dist/data-edgecenter-volume/index.js +343 -0
- package/dist/dns-zone/index.d.ts +54 -0
- package/dist/dns-zone/index.js +111 -0
- package/dist/dns-zone-record/index.d.ts +494 -0
- package/dist/dns-zone-record/index.js +1217 -0
- package/dist/floatingip/index.d.ts +185 -0
- package/dist/floatingip/index.js +394 -0
- package/dist/index.d.ts +83 -0
- package/dist/index.js +84 -0
- package/dist/instance/index.d.ts +830 -0
- package/dist/instance/index.js +1948 -0
- package/dist/instance-port-security/index.d.ts +229 -0
- package/dist/instance-port-security/index.js +564 -0
- package/dist/instance-v2/index.d.ts +552 -0
- package/dist/instance-v2/index.js +1244 -0
- package/dist/k8s/index.d.ts +342 -0
- package/dist/k8s/index.js +856 -0
- package/dist/k8s-pool/index.d.ts +227 -0
- package/dist/k8s-pool/index.js +514 -0
- package/dist/keypair/index.d.ts +88 -0
- package/dist/keypair/index.js +185 -0
- package/dist/lazy-index.d.ts +0 -0
- package/dist/lazy-index.js +84 -0
- package/dist/lb-l7policy/index.d.ts +244 -0
- package/dist/lb-l7policy/index.js +566 -0
- package/dist/lb-l7rule/index.d.ts +219 -0
- package/dist/lb-l7rule/index.js +506 -0
- package/dist/lblistener/index.d.ts +264 -0
- package/dist/lblistener/index.js +597 -0
- package/dist/lbmember/index.d.ts +207 -0
- package/dist/lbmember/index.js +473 -0
- package/dist/lbpool/index.d.ts +387 -0
- package/dist/lbpool/index.js +934 -0
- package/dist/lifecyclepolicy/index.d.ts +476 -0
- package/dist/lifecyclepolicy/index.js +1188 -0
- package/dist/loadbalancer/index.d.ts +341 -0
- package/dist/loadbalancer/index.js +851 -0
- package/dist/loadbalancerv2/index.d.ts +253 -0
- package/dist/loadbalancerv2/index.js +562 -0
- package/dist/network/index.d.ts +187 -0
- package/dist/network/index.js +382 -0
- package/dist/project/index.d.ts +68 -0
- package/dist/project/index.js +150 -0
- package/dist/protection-resource/index.d.ts +179 -0
- package/dist/protection-resource/index.js +381 -0
- package/dist/protection-resource-alias/index.d.ts +64 -0
- package/dist/protection-resource-alias/index.js +131 -0
- package/dist/protection-resource-alias-certificate/index.d.ts +88 -0
- package/dist/protection-resource-alias-certificate/index.js +185 -0
- package/dist/protection-resource-blacklist-entry/index.d.ts +64 -0
- package/dist/protection-resource-blacklist-entry/index.js +131 -0
- package/dist/protection-resource-certificate/index.d.ts +88 -0
- package/dist/protection-resource-certificate/index.js +185 -0
- package/dist/protection-resource-header/index.d.ts +74 -0
- package/dist/protection-resource-header/index.js +151 -0
- package/dist/protection-resource-origin/index.d.ts +119 -0
- package/dist/protection-resource-origin/index.js +246 -0
- package/dist/protection-resource-whitelist-entry/index.d.ts +64 -0
- package/dist/protection-resource-whitelist-entry/index.js +131 -0
- package/dist/provider/index.d.ts +182 -0
- package/dist/provider/index.js +384 -0
- package/dist/reseller-images/index.d.ts +120 -0
- package/dist/reseller-images/index.js +272 -0
- package/dist/reseller-images-v2/index.d.ts +130 -0
- package/dist/reseller-images-v2/index.js +292 -0
- package/dist/reservedfixedip/index.d.ts +230 -0
- package/dist/reservedfixedip/index.js +513 -0
- package/dist/router/index.d.ts +322 -0
- package/dist/router/index.js +755 -0
- package/dist/secret/index.d.ts +146 -0
- package/dist/secret/index.js +311 -0
- package/dist/securitygroup/index.d.ts +291 -0
- package/dist/securitygroup/index.js +654 -0
- package/dist/servergroup/index.d.ts +143 -0
- package/dist/servergroup/index.js +302 -0
- package/dist/snapshot/index.d.ts +185 -0
- package/dist/snapshot/index.js +383 -0
- package/dist/storage-s3/index.d.ts +141 -0
- package/dist/storage-s3/index.js +292 -0
- package/dist/storage-s3-bucket/index.d.ts +64 -0
- package/dist/storage-s3-bucket/index.js +131 -0
- package/dist/subnet/index.d.ts +346 -0
- package/dist/subnet/index.js +751 -0
- package/dist/useractions-subscription-amqp/index.d.ts +87 -0
- package/dist/useractions-subscription-amqp/index.js +180 -0
- package/dist/useractions-subscription-log/index.d.ts +74 -0
- package/dist/useractions-subscription-log/index.js +151 -0
- package/dist/volume/index.d.ts +208 -0
- package/dist/volume/index.js +424 -0
- package/package.json +51 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface CdnShieldingConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_shielding#id CdnShielding#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
|
+
* Enter the CDN resource ID to which the Origin shielding should be applied.
|
|
13
|
+
*
|
|
14
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_shielding#resource_id CdnShielding#resource_id}
|
|
15
|
+
*/
|
|
16
|
+
readonly resourceId: number;
|
|
17
|
+
/**
|
|
18
|
+
* Set the origin shielding location ID or disable the option using the null value.
|
|
19
|
+
*
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_shielding#shielding_pop CdnShielding#shielding_pop}
|
|
21
|
+
*/
|
|
22
|
+
readonly shieldingPop: number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Represents a {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_shielding edgecenter_cdn_shielding}
|
|
26
|
+
*/
|
|
27
|
+
export declare class CdnShielding extends cdktf.TerraformResource {
|
|
28
|
+
static readonly tfResourceType = "edgecenter_cdn_shielding";
|
|
29
|
+
/**
|
|
30
|
+
* Generates CDKTF code for importing a CdnShielding 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 CdnShielding to import
|
|
33
|
+
* @param importFromId The id of the existing CdnShielding that should be imported. Refer to the {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_shielding#import import section} in the documentation of this resource for the id to use
|
|
34
|
+
* @param provider? Optional instance of the provider where the CdnShielding 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/edge-center/edgecenter/0.10.4/docs/resources/cdn_shielding edgecenter_cdn_shielding} 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 CdnShieldingConfig
|
|
43
|
+
*/
|
|
44
|
+
constructor(scope: Construct, id: string, config: CdnShieldingConfig);
|
|
45
|
+
private _id?;
|
|
46
|
+
get id(): string;
|
|
47
|
+
set id(value: string);
|
|
48
|
+
resetId(): void;
|
|
49
|
+
get idInput(): string;
|
|
50
|
+
private _resourceId?;
|
|
51
|
+
get resourceId(): number;
|
|
52
|
+
set resourceId(value: number);
|
|
53
|
+
get resourceIdInput(): number;
|
|
54
|
+
private _shieldingPop?;
|
|
55
|
+
get shieldingPop(): number;
|
|
56
|
+
set shieldingPop(value: number);
|
|
57
|
+
get shieldingPopInput(): number;
|
|
58
|
+
protected synthesizeAttributes(): {
|
|
59
|
+
[name: string]: any;
|
|
60
|
+
};
|
|
61
|
+
protected synthesizeHclAttributes(): {
|
|
62
|
+
[name: string]: any;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_shielding
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_shielding edgecenter_cdn_shielding}
|
|
6
|
+
*/
|
|
7
|
+
export class CdnShielding extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "edgecenter_cdn_shielding";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a CdnShielding 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 CdnShielding to import
|
|
19
|
+
* @param importFromId The id of the existing CdnShielding that should be imported. Refer to the {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_shielding#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the CdnShielding to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "edgecenter_cdn_shielding", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_shielding edgecenter_cdn_shielding} 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 CdnShieldingConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'edgecenter_cdn_shielding',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'edgecenter',
|
|
40
|
+
providerVersion: '0.10.4',
|
|
41
|
+
providerVersionConstraint: '0.10.4'
|
|
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._resourceId = config.resourceId;
|
|
53
|
+
this._shieldingPop = config.shieldingPop;
|
|
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
|
+
// resource_id - computed: false, optional: false, required: true
|
|
74
|
+
_resourceId;
|
|
75
|
+
get resourceId() {
|
|
76
|
+
return this.getNumberAttribute('resource_id');
|
|
77
|
+
}
|
|
78
|
+
set resourceId(value) {
|
|
79
|
+
this._resourceId = value;
|
|
80
|
+
}
|
|
81
|
+
// Temporarily expose input value. Use with caution.
|
|
82
|
+
get resourceIdInput() {
|
|
83
|
+
return this._resourceId;
|
|
84
|
+
}
|
|
85
|
+
// shielding_pop - computed: false, optional: false, required: true
|
|
86
|
+
_shieldingPop;
|
|
87
|
+
get shieldingPop() {
|
|
88
|
+
return this.getNumberAttribute('shielding_pop');
|
|
89
|
+
}
|
|
90
|
+
set shieldingPop(value) {
|
|
91
|
+
this._shieldingPop = value;
|
|
92
|
+
}
|
|
93
|
+
// Temporarily expose input value. Use with caution.
|
|
94
|
+
get shieldingPopInput() {
|
|
95
|
+
return this._shieldingPop;
|
|
96
|
+
}
|
|
97
|
+
// =========
|
|
98
|
+
// SYNTHESIS
|
|
99
|
+
// =========
|
|
100
|
+
synthesizeAttributes() {
|
|
101
|
+
return {
|
|
102
|
+
id: cdktf.stringToTerraform(this._id),
|
|
103
|
+
resource_id: cdktf.numberToTerraform(this._resourceId),
|
|
104
|
+
shielding_pop: cdktf.numberToTerraform(this._shieldingPop),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
synthesizeHclAttributes() {
|
|
108
|
+
const attrs = {
|
|
109
|
+
id: {
|
|
110
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
111
|
+
isBlock: false,
|
|
112
|
+
type: "simple",
|
|
113
|
+
storageClassType: "string",
|
|
114
|
+
},
|
|
115
|
+
resource_id: {
|
|
116
|
+
value: cdktf.numberToHclTerraform(this._resourceId),
|
|
117
|
+
isBlock: false,
|
|
118
|
+
type: "simple",
|
|
119
|
+
storageClassType: "number",
|
|
120
|
+
},
|
|
121
|
+
shielding_pop: {
|
|
122
|
+
value: cdktf.numberToHclTerraform(this._shieldingPop),
|
|
123
|
+
isBlock: false,
|
|
124
|
+
type: "simple",
|
|
125
|
+
storageClassType: "number",
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
// remove undefined attributes
|
|
129
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface CdnSslcertConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Enter the public part of the SSL certificate. Add all the certificate chains. Each certificate chain should be separated by '\n'.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_sslcert#cert CdnSslcert#cert}
|
|
8
|
+
*/
|
|
9
|
+
readonly cert: string;
|
|
10
|
+
/**
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_sslcert#id CdnSslcert#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
|
+
* Enter the SSL certificate name. It must be unique.
|
|
19
|
+
*
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_sslcert#name CdnSslcert#name}
|
|
21
|
+
*/
|
|
22
|
+
readonly name: string;
|
|
23
|
+
/**
|
|
24
|
+
* Enter the private key of the SSL certificate. Add all the certificate chains. The private key should be separated by '\n', as shown in the example.
|
|
25
|
+
*
|
|
26
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_sslcert#private_key CdnSslcert#private_key}
|
|
27
|
+
*/
|
|
28
|
+
readonly privateKey: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Represents a {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_sslcert edgecenter_cdn_sslcert}
|
|
32
|
+
*/
|
|
33
|
+
export declare class CdnSslcert extends cdktf.TerraformResource {
|
|
34
|
+
static readonly tfResourceType = "edgecenter_cdn_sslcert";
|
|
35
|
+
/**
|
|
36
|
+
* Generates CDKTF code for importing a CdnSslcert resource upon running "cdktf plan <stack-name>"
|
|
37
|
+
* @param scope The scope in which to define this construct
|
|
38
|
+
* @param importToId The construct id used in the generated config for the CdnSslcert to import
|
|
39
|
+
* @param importFromId The id of the existing CdnSslcert that should be imported. Refer to the {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_sslcert#import import section} in the documentation of this resource for the id to use
|
|
40
|
+
* @param provider? Optional instance of the provider where the CdnSslcert to import is found
|
|
41
|
+
*/
|
|
42
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
43
|
+
/**
|
|
44
|
+
* Create a new {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_sslcert edgecenter_cdn_sslcert} Resource
|
|
45
|
+
*
|
|
46
|
+
* @param scope The scope in which to define this construct
|
|
47
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
48
|
+
* @param options CdnSslcertConfig
|
|
49
|
+
*/
|
|
50
|
+
constructor(scope: Construct, id: string, config: CdnSslcertConfig);
|
|
51
|
+
get automated(): any;
|
|
52
|
+
private _cert?;
|
|
53
|
+
get cert(): string;
|
|
54
|
+
set cert(value: string);
|
|
55
|
+
get certInput(): string;
|
|
56
|
+
get hasRelatedResources(): any;
|
|
57
|
+
private _id?;
|
|
58
|
+
get id(): string;
|
|
59
|
+
set id(value: string);
|
|
60
|
+
resetId(): void;
|
|
61
|
+
get idInput(): string;
|
|
62
|
+
private _name?;
|
|
63
|
+
get name(): string;
|
|
64
|
+
set name(value: string);
|
|
65
|
+
get nameInput(): string;
|
|
66
|
+
private _privateKey?;
|
|
67
|
+
get privateKey(): string;
|
|
68
|
+
set privateKey(value: string);
|
|
69
|
+
get privateKeyInput(): string;
|
|
70
|
+
protected synthesizeAttributes(): {
|
|
71
|
+
[name: string]: any;
|
|
72
|
+
};
|
|
73
|
+
protected synthesizeHclAttributes(): {
|
|
74
|
+
[name: string]: any;
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_sslcert
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_sslcert edgecenter_cdn_sslcert}
|
|
6
|
+
*/
|
|
7
|
+
export class CdnSslcert extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "edgecenter_cdn_sslcert";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a CdnSslcert 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 CdnSslcert to import
|
|
19
|
+
* @param importFromId The id of the existing CdnSslcert that should be imported. Refer to the {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_sslcert#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the CdnSslcert to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "edgecenter_cdn_sslcert", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/cdn_sslcert edgecenter_cdn_sslcert} 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 CdnSslcertConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'edgecenter_cdn_sslcert',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'edgecenter',
|
|
40
|
+
providerVersion: '0.10.4',
|
|
41
|
+
providerVersionConstraint: '0.10.4'
|
|
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._cert = config.cert;
|
|
52
|
+
this._id = config.id;
|
|
53
|
+
this._name = config.name;
|
|
54
|
+
this._privateKey = config.privateKey;
|
|
55
|
+
}
|
|
56
|
+
// ==========
|
|
57
|
+
// ATTRIBUTES
|
|
58
|
+
// ==========
|
|
59
|
+
// automated - computed: true, optional: false, required: false
|
|
60
|
+
get automated() {
|
|
61
|
+
return this.getBooleanAttribute('automated');
|
|
62
|
+
}
|
|
63
|
+
// cert - computed: false, optional: false, required: true
|
|
64
|
+
_cert;
|
|
65
|
+
get cert() {
|
|
66
|
+
return this.getStringAttribute('cert');
|
|
67
|
+
}
|
|
68
|
+
set cert(value) {
|
|
69
|
+
this._cert = value;
|
|
70
|
+
}
|
|
71
|
+
// Temporarily expose input value. Use with caution.
|
|
72
|
+
get certInput() {
|
|
73
|
+
return this._cert;
|
|
74
|
+
}
|
|
75
|
+
// has_related_resources - computed: true, optional: false, required: false
|
|
76
|
+
get hasRelatedResources() {
|
|
77
|
+
return this.getBooleanAttribute('has_related_resources');
|
|
78
|
+
}
|
|
79
|
+
// id - computed: true, optional: true, required: false
|
|
80
|
+
_id;
|
|
81
|
+
get id() {
|
|
82
|
+
return this.getStringAttribute('id');
|
|
83
|
+
}
|
|
84
|
+
set id(value) {
|
|
85
|
+
this._id = value;
|
|
86
|
+
}
|
|
87
|
+
resetId() {
|
|
88
|
+
this._id = undefined;
|
|
89
|
+
}
|
|
90
|
+
// Temporarily expose input value. Use with caution.
|
|
91
|
+
get idInput() {
|
|
92
|
+
return this._id;
|
|
93
|
+
}
|
|
94
|
+
// name - computed: false, optional: false, required: true
|
|
95
|
+
_name;
|
|
96
|
+
get name() {
|
|
97
|
+
return this.getStringAttribute('name');
|
|
98
|
+
}
|
|
99
|
+
set name(value) {
|
|
100
|
+
this._name = value;
|
|
101
|
+
}
|
|
102
|
+
// Temporarily expose input value. Use with caution.
|
|
103
|
+
get nameInput() {
|
|
104
|
+
return this._name;
|
|
105
|
+
}
|
|
106
|
+
// private_key - computed: false, optional: false, required: true
|
|
107
|
+
_privateKey;
|
|
108
|
+
get privateKey() {
|
|
109
|
+
return this.getStringAttribute('private_key');
|
|
110
|
+
}
|
|
111
|
+
set privateKey(value) {
|
|
112
|
+
this._privateKey = value;
|
|
113
|
+
}
|
|
114
|
+
// Temporarily expose input value. Use with caution.
|
|
115
|
+
get privateKeyInput() {
|
|
116
|
+
return this._privateKey;
|
|
117
|
+
}
|
|
118
|
+
// =========
|
|
119
|
+
// SYNTHESIS
|
|
120
|
+
// =========
|
|
121
|
+
synthesizeAttributes() {
|
|
122
|
+
return {
|
|
123
|
+
cert: cdktf.stringToTerraform(this._cert),
|
|
124
|
+
id: cdktf.stringToTerraform(this._id),
|
|
125
|
+
name: cdktf.stringToTerraform(this._name),
|
|
126
|
+
private_key: cdktf.stringToTerraform(this._privateKey),
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
synthesizeHclAttributes() {
|
|
130
|
+
const attrs = {
|
|
131
|
+
cert: {
|
|
132
|
+
value: cdktf.stringToHclTerraform(this._cert),
|
|
133
|
+
isBlock: false,
|
|
134
|
+
type: "simple",
|
|
135
|
+
storageClassType: "string",
|
|
136
|
+
},
|
|
137
|
+
id: {
|
|
138
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
139
|
+
isBlock: false,
|
|
140
|
+
type: "simple",
|
|
141
|
+
storageClassType: "string",
|
|
142
|
+
},
|
|
143
|
+
name: {
|
|
144
|
+
value: cdktf.stringToHclTerraform(this._name),
|
|
145
|
+
isBlock: false,
|
|
146
|
+
type: "simple",
|
|
147
|
+
storageClassType: "string",
|
|
148
|
+
},
|
|
149
|
+
private_key: {
|
|
150
|
+
value: cdktf.stringToHclTerraform(this._privateKey),
|
|
151
|
+
isBlock: false,
|
|
152
|
+
type: "simple",
|
|
153
|
+
storageClassType: "string",
|
|
154
|
+
},
|
|
155
|
+
};
|
|
156
|
+
// remove undefined attributes
|
|
157
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
158
|
+
}
|
|
159
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DataEdgecenterAvailabilityZoneConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/availability_zone#id DataEdgecenterAvailabilityZone#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
|
+
* The ID of the region. Either 'region_id' or 'region_name' must be specified.
|
|
13
|
+
*
|
|
14
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/availability_zone#region_id DataEdgecenterAvailabilityZone#region_id}
|
|
15
|
+
*/
|
|
16
|
+
readonly regionId?: number;
|
|
17
|
+
/**
|
|
18
|
+
* The name of the region. Either 'region_id' or 'region_name' must be specified.
|
|
19
|
+
*
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/availability_zone#region_name DataEdgecenterAvailabilityZone#region_name}
|
|
21
|
+
*/
|
|
22
|
+
readonly regionName?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Represents a {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/availability_zone edgecenter_availability_zone}
|
|
26
|
+
*/
|
|
27
|
+
export declare class DataEdgecenterAvailabilityZone extends cdktf.TerraformDataSource {
|
|
28
|
+
static readonly tfResourceType = "edgecenter_availability_zone";
|
|
29
|
+
/**
|
|
30
|
+
* Generates CDKTF code for importing a DataEdgecenterAvailabilityZone 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 DataEdgecenterAvailabilityZone to import
|
|
33
|
+
* @param importFromId The id of the existing DataEdgecenterAvailabilityZone that should be imported. Refer to the {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/availability_zone#import import section} in the documentation of this resource for the id to use
|
|
34
|
+
* @param provider? Optional instance of the provider where the DataEdgecenterAvailabilityZone 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/edge-center/edgecenter/0.10.4/docs/data-sources/availability_zone edgecenter_availability_zone} Data Source
|
|
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 DataEdgecenterAvailabilityZoneConfig = {}
|
|
43
|
+
*/
|
|
44
|
+
constructor(scope: Construct, id: string, config?: DataEdgecenterAvailabilityZoneConfig);
|
|
45
|
+
get availabilityZones(): any;
|
|
46
|
+
private _id?;
|
|
47
|
+
get id(): string;
|
|
48
|
+
set id(value: string);
|
|
49
|
+
resetId(): void;
|
|
50
|
+
get idInput(): string;
|
|
51
|
+
private _regionId?;
|
|
52
|
+
get regionId(): number;
|
|
53
|
+
set regionId(value: number);
|
|
54
|
+
resetRegionId(): void;
|
|
55
|
+
get regionIdInput(): number;
|
|
56
|
+
private _regionName?;
|
|
57
|
+
get regionName(): string;
|
|
58
|
+
set regionName(value: string);
|
|
59
|
+
resetRegionName(): void;
|
|
60
|
+
get regionNameInput(): string;
|
|
61
|
+
protected synthesizeAttributes(): {
|
|
62
|
+
[name: string]: any;
|
|
63
|
+
};
|
|
64
|
+
protected synthesizeHclAttributes(): {
|
|
65
|
+
[name: string]: any;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/availability_zone
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/availability_zone edgecenter_availability_zone}
|
|
6
|
+
*/
|
|
7
|
+
export class DataEdgecenterAvailabilityZone extends cdktf.TerraformDataSource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "edgecenter_availability_zone";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a DataEdgecenterAvailabilityZone 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 DataEdgecenterAvailabilityZone to import
|
|
19
|
+
* @param importFromId The id of the existing DataEdgecenterAvailabilityZone that should be imported. Refer to the {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/availability_zone#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the DataEdgecenterAvailabilityZone to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "edgecenter_availability_zone", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/availability_zone edgecenter_availability_zone} Data Source
|
|
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 DataEdgecenterAvailabilityZoneConfig = {}
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config = {}) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'edgecenter_availability_zone',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'edgecenter',
|
|
40
|
+
providerVersion: '0.10.4',
|
|
41
|
+
providerVersionConstraint: '0.10.4'
|
|
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._regionId = config.regionId;
|
|
53
|
+
this._regionName = config.regionName;
|
|
54
|
+
}
|
|
55
|
+
// ==========
|
|
56
|
+
// ATTRIBUTES
|
|
57
|
+
// ==========
|
|
58
|
+
// availability_zones - computed: true, optional: false, required: false
|
|
59
|
+
get availabilityZones() {
|
|
60
|
+
return this.getListAttribute('availability_zones');
|
|
61
|
+
}
|
|
62
|
+
// id - computed: true, optional: true, required: false
|
|
63
|
+
_id;
|
|
64
|
+
get id() {
|
|
65
|
+
return this.getStringAttribute('id');
|
|
66
|
+
}
|
|
67
|
+
set id(value) {
|
|
68
|
+
this._id = value;
|
|
69
|
+
}
|
|
70
|
+
resetId() {
|
|
71
|
+
this._id = undefined;
|
|
72
|
+
}
|
|
73
|
+
// Temporarily expose input value. Use with caution.
|
|
74
|
+
get idInput() {
|
|
75
|
+
return this._id;
|
|
76
|
+
}
|
|
77
|
+
// region_id - computed: false, optional: true, required: false
|
|
78
|
+
_regionId;
|
|
79
|
+
get regionId() {
|
|
80
|
+
return this.getNumberAttribute('region_id');
|
|
81
|
+
}
|
|
82
|
+
set regionId(value) {
|
|
83
|
+
this._regionId = value;
|
|
84
|
+
}
|
|
85
|
+
resetRegionId() {
|
|
86
|
+
this._regionId = undefined;
|
|
87
|
+
}
|
|
88
|
+
// Temporarily expose input value. Use with caution.
|
|
89
|
+
get regionIdInput() {
|
|
90
|
+
return this._regionId;
|
|
91
|
+
}
|
|
92
|
+
// region_name - computed: false, optional: true, required: false
|
|
93
|
+
_regionName;
|
|
94
|
+
get regionName() {
|
|
95
|
+
return this.getStringAttribute('region_name');
|
|
96
|
+
}
|
|
97
|
+
set regionName(value) {
|
|
98
|
+
this._regionName = value;
|
|
99
|
+
}
|
|
100
|
+
resetRegionName() {
|
|
101
|
+
this._regionName = undefined;
|
|
102
|
+
}
|
|
103
|
+
// Temporarily expose input value. Use with caution.
|
|
104
|
+
get regionNameInput() {
|
|
105
|
+
return this._regionName;
|
|
106
|
+
}
|
|
107
|
+
// =========
|
|
108
|
+
// SYNTHESIS
|
|
109
|
+
// =========
|
|
110
|
+
synthesizeAttributes() {
|
|
111
|
+
return {
|
|
112
|
+
id: cdktf.stringToTerraform(this._id),
|
|
113
|
+
region_id: cdktf.numberToTerraform(this._regionId),
|
|
114
|
+
region_name: cdktf.stringToTerraform(this._regionName),
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
synthesizeHclAttributes() {
|
|
118
|
+
const attrs = {
|
|
119
|
+
id: {
|
|
120
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
121
|
+
isBlock: false,
|
|
122
|
+
type: "simple",
|
|
123
|
+
storageClassType: "string",
|
|
124
|
+
},
|
|
125
|
+
region_id: {
|
|
126
|
+
value: cdktf.numberToHclTerraform(this._regionId),
|
|
127
|
+
isBlock: false,
|
|
128
|
+
type: "simple",
|
|
129
|
+
storageClassType: "number",
|
|
130
|
+
},
|
|
131
|
+
region_name: {
|
|
132
|
+
value: cdktf.stringToHclTerraform(this._regionName),
|
|
133
|
+
isBlock: false,
|
|
134
|
+
type: "simple",
|
|
135
|
+
storageClassType: "string",
|
|
136
|
+
},
|
|
137
|
+
};
|
|
138
|
+
// remove undefined attributes
|
|
139
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
140
|
+
}
|
|
141
|
+
}
|