@volcengine/pulumi-volcenginecc 0.0.41 → 0.0.43
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/directconnect/bgpPeer.d.ts +189 -0
- package/directconnect/bgpPeer.js +104 -0
- package/directconnect/bgpPeer.js.map +1 -0
- package/directconnect/getBgpPeer.d.ts +88 -0
- package/directconnect/getBgpPeer.js +28 -0
- package/directconnect/getBgpPeer.js.map +1 -0
- package/directconnect/getBgpPeers.d.ts +22 -0
- package/directconnect/getBgpPeers.js +24 -0
- package/directconnect/getBgpPeers.js.map +1 -0
- package/directconnect/index.d.ts +9 -0
- package/directconnect/index.js +12 -1
- package/directconnect/index.js.map +1 -1
- package/dns/backup.d.ts +90 -0
- package/dns/backup.js +76 -0
- package/dns/backup.js.map +1 -0
- package/dns/getBackup.d.ts +52 -0
- package/dns/getBackup.js +28 -0
- package/dns/getBackup.js.map +1 -0
- package/dns/getBackups.d.ts +22 -0
- package/dns/getBackups.js +24 -0
- package/dns/getBackups.js.map +1 -0
- package/dns/getRecord.d.ts +104 -0
- package/dns/getRecord.js +28 -0
- package/dns/getRecord.js.map +1 -0
- package/dns/getRecords.d.ts +22 -0
- package/dns/getRecords.js +24 -0
- package/dns/getRecords.js.map +1 -0
- package/dns/index.d.ts +18 -0
- package/dns/index.js +23 -1
- package/dns/index.js.map +1 -1
- package/dns/record.d.ts +236 -0
- package/dns/record.js +121 -0
- package/dns/record.js.map +1 -0
- package/gtm/getGtm.d.ts +100 -0
- package/gtm/getGtm.js +28 -0
- package/gtm/getGtm.js.map +1 -0
- package/gtm/getGtms.d.ts +22 -0
- package/gtm/getGtms.js +24 -0
- package/gtm/getGtms.js.map +1 -0
- package/gtm/getRouting.d.ts +48 -0
- package/gtm/getRouting.js +28 -0
- package/gtm/getRouting.js.map +1 -0
- package/gtm/getRoutings.d.ts +22 -0
- package/gtm/getRoutings.js +24 -0
- package/gtm/getRoutings.js.map +1 -0
- package/gtm/getRule.d.ts +105 -0
- package/gtm/getRule.js +28 -0
- package/gtm/getRule.js.map +1 -0
- package/gtm/getRules.d.ts +22 -0
- package/gtm/getRules.js +24 -0
- package/gtm/getRules.js.map +1 -0
- package/gtm/gtm.d.ts +228 -0
- package/gtm/gtm.js +113 -0
- package/gtm/gtm.js.map +1 -0
- package/gtm/index.d.ts +27 -0
- package/gtm/index.js +34 -1
- package/gtm/index.js.map +1 -1
- package/gtm/routing.d.ts +89 -0
- package/gtm/routing.js +74 -0
- package/gtm/routing.js.map +1 -0
- package/gtm/rule.d.ts +226 -0
- package/gtm/rule.js +99 -0
- package/gtm/rule.js.map +1 -0
- package/iam/allowedIpAddress.d.ts +107 -0
- package/iam/allowedIpAddress.js +95 -0
- package/iam/allowedIpAddress.js.map +1 -0
- package/iam/getAllowedIpAddress.d.ts +53 -0
- package/iam/getAllowedIpAddress.js +28 -0
- package/iam/getAllowedIpAddress.js.map +1 -0
- package/iam/getAllowedIpAddresses.d.ts +22 -0
- package/iam/getAllowedIpAddresses.js +24 -0
- package/iam/getAllowedIpAddresses.js.map +1 -0
- package/iam/getOauthProvider.d.ts +44 -0
- package/iam/getOauthProvider.js +28 -0
- package/iam/getOauthProvider.js.map +1 -0
- package/iam/getOauthProviders.d.ts +22 -0
- package/iam/getOauthProviders.js +24 -0
- package/iam/getOauthProviders.js.map +1 -0
- package/iam/index.d.ts +18 -0
- package/iam/index.js +23 -1
- package/iam/index.js.map +1 -1
- package/iam/oauthProvider.d.ts +256 -0
- package/iam/oauthProvider.js +143 -0
- package/iam/oauthProvider.js.map +1 -0
- package/kafka/getUser.d.ts +34 -0
- package/kafka/getUser.js +28 -0
- package/kafka/getUser.js.map +1 -0
- package/kafka/getUsers.d.ts +22 -0
- package/kafka/getUsers.js +24 -0
- package/kafka/getUsers.js.map +1 -0
- package/kafka/index.d.ts +9 -0
- package/kafka/index.js +12 -1
- package/kafka/index.js.map +1 -1
- package/kafka/user.d.ts +155 -0
- package/kafka/user.js +97 -0
- package/kafka/user.js.map +1 -0
- package/mongodb/account.d.ts +146 -0
- package/mongodb/account.js +82 -0
- package/mongodb/account.js.map +1 -0
- package/mongodb/endpoint.d.ts +175 -0
- package/mongodb/endpoint.js +97 -0
- package/mongodb/endpoint.js.map +1 -0
- package/mongodb/getAccount.d.ts +77 -0
- package/mongodb/getAccount.js +28 -0
- package/mongodb/getAccount.js.map +1 -0
- package/mongodb/getAccounts.d.ts +22 -0
- package/mongodb/getAccounts.js +24 -0
- package/mongodb/getAccounts.js.map +1 -0
- package/mongodb/getEndpoint.d.ts +39 -0
- package/mongodb/getEndpoint.js +28 -0
- package/mongodb/getEndpoint.js.map +1 -0
- package/mongodb/getEndpoints.d.ts +22 -0
- package/mongodb/getEndpoints.js +24 -0
- package/mongodb/getEndpoints.js.map +1 -0
- package/mongodb/index.d.ts +18 -0
- package/mongodb/index.js +23 -1
- package/mongodb/index.js.map +1 -1
- package/package.json +1 -1
- package/privatelink/gatewayEndpoint.d.ts +182 -0
- package/privatelink/gatewayEndpoint.js +106 -0
- package/privatelink/gatewayEndpoint.js.map +1 -0
- package/privatelink/getGatewayEndpoint.d.ts +85 -0
- package/privatelink/getGatewayEndpoint.js +28 -0
- package/privatelink/getGatewayEndpoint.js.map +1 -0
- package/privatelink/getGatewayEndpoints.d.ts +22 -0
- package/privatelink/getGatewayEndpoints.js +24 -0
- package/privatelink/getGatewayEndpoints.js.map +1 -0
- package/privatelink/index.d.ts +9 -0
- package/privatelink/index.js +12 -1
- package/privatelink/index.js.map +1 -1
- package/rdsmssql/backup.d.ts +148 -0
- package/rdsmssql/backup.js +85 -0
- package/rdsmssql/backup.js.map +1 -0
- package/rdsmssql/getBackup.d.ts +89 -0
- package/rdsmssql/getBackup.js +28 -0
- package/rdsmssql/getBackup.js.map +1 -0
- package/rdsmssql/getBackups.d.ts +22 -0
- package/rdsmssql/getBackups.js +24 -0
- package/rdsmssql/getBackups.js.map +1 -0
- package/rdsmssql/index.d.ts +9 -0
- package/rdsmssql/index.js +12 -1
- package/rdsmssql/index.js.map +1 -1
- package/rdsmysql/endpointPublicAddress.d.ts +182 -0
- package/rdsmysql/endpointPublicAddress.js +104 -0
- package/rdsmysql/endpointPublicAddress.js.map +1 -0
- package/rdsmysql/getEndpointPublicAddress.d.ts +39 -0
- package/rdsmysql/getEndpointPublicAddress.js +28 -0
- package/rdsmysql/getEndpointPublicAddress.js.map +1 -0
- package/rdsmysql/getEndpointPublicAddresses.d.ts +22 -0
- package/rdsmysql/getEndpointPublicAddresses.js +24 -0
- package/rdsmysql/getEndpointPublicAddresses.js.map +1 -0
- package/rdsmysql/index.d.ts +9 -0
- package/rdsmysql/index.js +12 -1
- package/rdsmysql/index.js.map +1 -1
- package/rdspostgresql/allowList.d.ts +24 -0
- package/rdspostgresql/allowList.js +4 -0
- package/rdspostgresql/allowList.js.map +1 -1
- package/rdspostgresql/getAllowList.d.ts +8 -0
- package/rdspostgresql/getAllowList.js.map +1 -1
- package/rdspostgresql/getInstanceSsl.d.ts +68 -0
- package/rdspostgresql/getInstanceSsl.js +28 -0
- package/rdspostgresql/getInstanceSsl.js.map +1 -0
- package/rdspostgresql/getInstanceSsls.d.ts +22 -0
- package/rdspostgresql/getInstanceSsls.js +24 -0
- package/rdspostgresql/getInstanceSsls.js.map +1 -0
- package/rdspostgresql/index.d.ts +9 -0
- package/rdspostgresql/index.js +12 -1
- package/rdspostgresql/index.js.map +1 -1
- package/rdspostgresql/instanceSsl.d.ts +134 -0
- package/rdspostgresql/instanceSsl.js +88 -0
- package/rdspostgresql/instanceSsl.js.map +1 -0
- package/redis/allowList.d.ts +2 -2
- package/redis/allowList.js +3 -0
- package/redis/allowList.js.map +1 -1
- package/storageebs/getSnapshotPolicies.d.ts +22 -0
- package/storageebs/getSnapshotPolicies.js +24 -0
- package/storageebs/getSnapshotPolicies.js.map +1 -0
- package/storageebs/getSnapshotPolicy.d.ts +93 -0
- package/storageebs/getSnapshotPolicy.js +28 -0
- package/storageebs/getSnapshotPolicy.js.map +1 -0
- package/storageebs/index.d.ts +9 -0
- package/storageebs/index.js +12 -1
- package/storageebs/index.js.map +1 -1
- package/storageebs/snapshotPolicy.d.ts +215 -0
- package/storageebs/snapshotPolicy.js +122 -0
- package/storageebs/snapshotPolicy.js.map +1 -0
- package/tos/bucketAccessMonitor.d.ts +74 -0
- package/tos/bucketAccessMonitor.js +72 -0
- package/tos/bucketAccessMonitor.js.map +1 -0
- package/tos/getBucketAccessMonitor.d.ts +44 -0
- package/tos/getBucketAccessMonitor.js +28 -0
- package/tos/getBucketAccessMonitor.js.map +1 -0
- package/tos/getBucketAccessMonitors.d.ts +22 -0
- package/tos/getBucketAccessMonitors.js +24 -0
- package/tos/getBucketAccessMonitors.js.map +1 -0
- package/tos/index.d.ts +9 -0
- package/tos/index.js +12 -1
- package/tos/index.js.map +1 -1
- package/transitrouter/directConnectGatewayAttachment.d.ts +180 -0
- package/transitrouter/directConnectGatewayAttachment.js +106 -0
- package/transitrouter/directConnectGatewayAttachment.js.map +1 -0
- package/transitrouter/getDirectConnectGatewayAttachment.d.ts +89 -0
- package/transitrouter/getDirectConnectGatewayAttachment.js +28 -0
- package/transitrouter/getDirectConnectGatewayAttachment.js.map +1 -0
- package/transitrouter/getDirectConnectGatewayAttachments.d.ts +22 -0
- package/transitrouter/getDirectConnectGatewayAttachments.js +24 -0
- package/transitrouter/getDirectConnectGatewayAttachments.js.map +1 -0
- package/transitrouter/getTransitRouterBandwidthPackage.d.ts +141 -0
- package/transitrouter/getTransitRouterBandwidthPackage.js +28 -0
- package/transitrouter/getTransitRouterBandwidthPackage.js.map +1 -0
- package/transitrouter/getTransitRouterBandwidthPackages.d.ts +22 -0
- package/transitrouter/getTransitRouterBandwidthPackages.js +24 -0
- package/transitrouter/getTransitRouterBandwidthPackages.js.map +1 -0
- package/transitrouter/getTransitRouterRouteTableAssociation.d.ts +48 -0
- package/transitrouter/getTransitRouterRouteTableAssociation.js +28 -0
- package/transitrouter/getTransitRouterRouteTableAssociation.js.map +1 -0
- package/transitrouter/getTransitRouterRouteTableAssociations.d.ts +22 -0
- package/transitrouter/getTransitRouterRouteTableAssociations.js +24 -0
- package/transitrouter/getTransitRouterRouteTableAssociations.js.map +1 -0
- package/transitrouter/index.d.ts +27 -0
- package/transitrouter/index.js +34 -1
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/transitRouterBandwidthPackage.d.ts +320 -0
- package/transitrouter/transitRouterBandwidthPackage.js +138 -0
- package/transitrouter/transitRouterBandwidthPackage.js.map +1 -0
- package/transitrouter/transitRouterRouteTableAssociation.d.ts +89 -0
- package/transitrouter/transitRouterRouteTableAssociation.js +80 -0
- package/transitrouter/transitRouterRouteTableAssociation.js.map +1 -0
- package/types/input.d.ts +310 -0
- package/types/output.d.ts +641 -0
- package/vepfs/fileset.d.ts +202 -0
- package/vepfs/fileset.js +106 -0
- package/vepfs/fileset.js.map +1 -0
- package/vepfs/getFileset.d.ts +41 -0
- package/vepfs/getFileset.js +28 -0
- package/vepfs/getFileset.js.map +1 -0
- package/vepfs/getFilesets.d.ts +22 -0
- package/vepfs/getFilesets.js +24 -0
- package/vepfs/getFilesets.js.map +1 -0
- package/vepfs/index.d.ts +9 -0
- package/vepfs/index.js +12 -1
- package/vepfs/index.js.map +1 -1
- package/vmp/getRuleFile.d.ts +37 -0
- package/vmp/getRuleFile.js +28 -0
- package/vmp/getRuleFile.js.map +1 -0
- package/vmp/getRuleFiles.d.ts +22 -0
- package/vmp/getRuleFiles.js +24 -0
- package/vmp/getRuleFiles.js.map +1 -0
- package/vmp/index.d.ts +9 -0
- package/vmp/index.js +12 -1
- package/vmp/index.js.map +1 -1
- package/vmp/ruleFile.d.ts +172 -0
- package/vmp/ruleFile.js +104 -0
- package/vmp/ruleFile.js.map +1 -0
package/dns/record.d.ts
ADDED
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* DNS record resource, used to create, query, update, delete, and list a single DNS record under a specified domain name.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
10
|
+
*
|
|
11
|
+
* const dNSRecordDemo = new volcenginecc.dns.Record("DNSRecordDemo", {
|
|
12
|
+
* zid: "xxxxxx",
|
|
13
|
+
* host: "test",
|
|
14
|
+
* type: "CNAME",
|
|
15
|
+
* value: "test1.example1.com",
|
|
16
|
+
* line: "default",
|
|
17
|
+
* remark: "test",
|
|
18
|
+
* ttl: 601,
|
|
19
|
+
* weight: 2,
|
|
20
|
+
* enable: false,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import volcenginecc:dns/record:Record example "zid|record_id"
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class Record extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing Record resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RecordState, opts?: pulumi.CustomResourceOptions): Record;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of Record. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is Record;
|
|
46
|
+
/**
|
|
47
|
+
* Creation time of the DNS record.
|
|
48
|
+
*/
|
|
49
|
+
readonly createdAt: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Whether the DNS record is enabled; if disabled, the record is inactive.
|
|
52
|
+
*/
|
|
53
|
+
readonly enable: pulumi.Output<boolean>;
|
|
54
|
+
/**
|
|
55
|
+
* Host name included in the DNS record, using FQDN (Fully Qualified Domain Name) format; this field is deprecated.
|
|
56
|
+
*/
|
|
57
|
+
readonly fqdn: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Host record, the prefix of the subdomain; `@` represents the root domain itself.
|
|
60
|
+
*/
|
|
61
|
+
readonly host: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Line code corresponding to the DNS record, such as `default`.
|
|
64
|
+
*/
|
|
65
|
+
readonly line: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* List of account IDs that recently operated on this DNS record.
|
|
68
|
+
*/
|
|
69
|
+
readonly operators: pulumi.Output<string[]>;
|
|
70
|
+
/**
|
|
71
|
+
* Host name included in the DNS record, using PQDN (Partially Qualified Domain Name) format.
|
|
72
|
+
*/
|
|
73
|
+
readonly pqdn: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Unique ID of the DNS record.
|
|
76
|
+
*/
|
|
77
|
+
readonly recordId: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* ID of the record set containing the DNS record; returned only for A, AAAA, and CNAME types.
|
|
80
|
+
*/
|
|
81
|
+
readonly recordSetId: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Remarks for the DNS record, supports UTF-8 encoding and up to 16 characters.
|
|
84
|
+
*/
|
|
85
|
+
readonly remark: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Tag information for the DNS record; if it contains `GTMLock`, the record is associated with a GTM instance.
|
|
88
|
+
*/
|
|
89
|
+
readonly tags: pulumi.Output<string[]>;
|
|
90
|
+
/**
|
|
91
|
+
* Expiration time of the DNS record, in seconds.
|
|
92
|
+
*/
|
|
93
|
+
readonly ttl: pulumi.Output<number>;
|
|
94
|
+
/**
|
|
95
|
+
* Record type, such as `A`, `AAAA`, `CNAME`, `NS`, `MX`, `SRV`, `TXT`.
|
|
96
|
+
*/
|
|
97
|
+
readonly type: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Last updated time of the DNS record.
|
|
100
|
+
*/
|
|
101
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Record value of the DNS record.
|
|
104
|
+
*/
|
|
105
|
+
readonly value: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Weight of the DNS record, effective only when load balancing is enabled for the record set.
|
|
108
|
+
*/
|
|
109
|
+
readonly weight: pulumi.Output<number>;
|
|
110
|
+
/**
|
|
111
|
+
* Domain name ID, can be obtained via interfaces such as `ListZones`.
|
|
112
|
+
*/
|
|
113
|
+
readonly zid: pulumi.Output<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Create a Record resource with the given unique name, arguments, and options.
|
|
116
|
+
*
|
|
117
|
+
* @param name The _unique_ name of the resource.
|
|
118
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
119
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
120
|
+
*/
|
|
121
|
+
constructor(name: string, args: RecordArgs, opts?: pulumi.CustomResourceOptions);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Input properties used for looking up and filtering Record resources.
|
|
125
|
+
*/
|
|
126
|
+
export interface RecordState {
|
|
127
|
+
/**
|
|
128
|
+
* Creation time of the DNS record.
|
|
129
|
+
*/
|
|
130
|
+
createdAt?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Whether the DNS record is enabled; if disabled, the record is inactive.
|
|
133
|
+
*/
|
|
134
|
+
enable?: pulumi.Input<boolean>;
|
|
135
|
+
/**
|
|
136
|
+
* Host name included in the DNS record, using FQDN (Fully Qualified Domain Name) format; this field is deprecated.
|
|
137
|
+
*/
|
|
138
|
+
fqdn?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Host record, the prefix of the subdomain; `@` represents the root domain itself.
|
|
141
|
+
*/
|
|
142
|
+
host?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Line code corresponding to the DNS record, such as `default`.
|
|
145
|
+
*/
|
|
146
|
+
line?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* List of account IDs that recently operated on this DNS record.
|
|
149
|
+
*/
|
|
150
|
+
operators?: pulumi.Input<pulumi.Input<string>[]>;
|
|
151
|
+
/**
|
|
152
|
+
* Host name included in the DNS record, using PQDN (Partially Qualified Domain Name) format.
|
|
153
|
+
*/
|
|
154
|
+
pqdn?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Unique ID of the DNS record.
|
|
157
|
+
*/
|
|
158
|
+
recordId?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* ID of the record set containing the DNS record; returned only for A, AAAA, and CNAME types.
|
|
161
|
+
*/
|
|
162
|
+
recordSetId?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Remarks for the DNS record, supports UTF-8 encoding and up to 16 characters.
|
|
165
|
+
*/
|
|
166
|
+
remark?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* Tag information for the DNS record; if it contains `GTMLock`, the record is associated with a GTM instance.
|
|
169
|
+
*/
|
|
170
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
171
|
+
/**
|
|
172
|
+
* Expiration time of the DNS record, in seconds.
|
|
173
|
+
*/
|
|
174
|
+
ttl?: pulumi.Input<number>;
|
|
175
|
+
/**
|
|
176
|
+
* Record type, such as `A`, `AAAA`, `CNAME`, `NS`, `MX`, `SRV`, `TXT`.
|
|
177
|
+
*/
|
|
178
|
+
type?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* Last updated time of the DNS record.
|
|
181
|
+
*/
|
|
182
|
+
updatedAt?: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* Record value of the DNS record.
|
|
185
|
+
*/
|
|
186
|
+
value?: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* Weight of the DNS record, effective only when load balancing is enabled for the record set.
|
|
189
|
+
*/
|
|
190
|
+
weight?: pulumi.Input<number>;
|
|
191
|
+
/**
|
|
192
|
+
* Domain name ID, can be obtained via interfaces such as `ListZones`.
|
|
193
|
+
*/
|
|
194
|
+
zid?: pulumi.Input<string>;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* The set of arguments for constructing a Record resource.
|
|
198
|
+
*/
|
|
199
|
+
export interface RecordArgs {
|
|
200
|
+
/**
|
|
201
|
+
* Whether the DNS record is enabled; if disabled, the record is inactive.
|
|
202
|
+
*/
|
|
203
|
+
enable?: pulumi.Input<boolean>;
|
|
204
|
+
/**
|
|
205
|
+
* Host record, the prefix of the subdomain; `@` represents the root domain itself.
|
|
206
|
+
*/
|
|
207
|
+
host: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* Line code corresponding to the DNS record, such as `default`.
|
|
210
|
+
*/
|
|
211
|
+
line?: pulumi.Input<string>;
|
|
212
|
+
/**
|
|
213
|
+
* Remarks for the DNS record, supports UTF-8 encoding and up to 16 characters.
|
|
214
|
+
*/
|
|
215
|
+
remark?: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* Expiration time of the DNS record, in seconds.
|
|
218
|
+
*/
|
|
219
|
+
ttl?: pulumi.Input<number>;
|
|
220
|
+
/**
|
|
221
|
+
* Record type, such as `A`, `AAAA`, `CNAME`, `NS`, `MX`, `SRV`, `TXT`.
|
|
222
|
+
*/
|
|
223
|
+
type: pulumi.Input<string>;
|
|
224
|
+
/**
|
|
225
|
+
* Record value of the DNS record.
|
|
226
|
+
*/
|
|
227
|
+
value: pulumi.Input<string>;
|
|
228
|
+
/**
|
|
229
|
+
* Weight of the DNS record, effective only when load balancing is enabled for the record set.
|
|
230
|
+
*/
|
|
231
|
+
weight?: pulumi.Input<number>;
|
|
232
|
+
/**
|
|
233
|
+
* Domain name ID, can be obtained via interfaces such as `ListZones`.
|
|
234
|
+
*/
|
|
235
|
+
zid: pulumi.Input<string>;
|
|
236
|
+
}
|
package/dns/record.js
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Record = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* DNS record resource, used to create, query, update, delete, and list a single DNS record under a specified domain name.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
16
|
+
*
|
|
17
|
+
* const dNSRecordDemo = new volcenginecc.dns.Record("DNSRecordDemo", {
|
|
18
|
+
* zid: "xxxxxx",
|
|
19
|
+
* host: "test",
|
|
20
|
+
* type: "CNAME",
|
|
21
|
+
* value: "test1.example1.com",
|
|
22
|
+
* line: "default",
|
|
23
|
+
* remark: "test",
|
|
24
|
+
* ttl: 601,
|
|
25
|
+
* weight: 2,
|
|
26
|
+
* enable: false,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import volcenginecc:dns/record:Record example "zid|record_id"
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class Record extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing Record resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new Record(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of Record. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === Record.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
65
|
+
resourceInputs["enable"] = state ? state.enable : undefined;
|
|
66
|
+
resourceInputs["fqdn"] = state ? state.fqdn : undefined;
|
|
67
|
+
resourceInputs["host"] = state ? state.host : undefined;
|
|
68
|
+
resourceInputs["line"] = state ? state.line : undefined;
|
|
69
|
+
resourceInputs["operators"] = state ? state.operators : undefined;
|
|
70
|
+
resourceInputs["pqdn"] = state ? state.pqdn : undefined;
|
|
71
|
+
resourceInputs["recordId"] = state ? state.recordId : undefined;
|
|
72
|
+
resourceInputs["recordSetId"] = state ? state.recordSetId : undefined;
|
|
73
|
+
resourceInputs["remark"] = state ? state.remark : undefined;
|
|
74
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
75
|
+
resourceInputs["ttl"] = state ? state.ttl : undefined;
|
|
76
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
77
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
78
|
+
resourceInputs["value"] = state ? state.value : undefined;
|
|
79
|
+
resourceInputs["weight"] = state ? state.weight : undefined;
|
|
80
|
+
resourceInputs["zid"] = state ? state.zid : undefined;
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
const args = argsOrState;
|
|
84
|
+
if ((!args || args.host === undefined) && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'host'");
|
|
86
|
+
}
|
|
87
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'type'");
|
|
89
|
+
}
|
|
90
|
+
if ((!args || args.value === undefined) && !opts.urn) {
|
|
91
|
+
throw new Error("Missing required property 'value'");
|
|
92
|
+
}
|
|
93
|
+
if ((!args || args.zid === undefined) && !opts.urn) {
|
|
94
|
+
throw new Error("Missing required property 'zid'");
|
|
95
|
+
}
|
|
96
|
+
resourceInputs["enable"] = args ? args.enable : undefined;
|
|
97
|
+
resourceInputs["host"] = args ? args.host : undefined;
|
|
98
|
+
resourceInputs["line"] = args ? args.line : undefined;
|
|
99
|
+
resourceInputs["remark"] = args ? args.remark : undefined;
|
|
100
|
+
resourceInputs["ttl"] = args ? args.ttl : undefined;
|
|
101
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
102
|
+
resourceInputs["value"] = args ? args.value : undefined;
|
|
103
|
+
resourceInputs["weight"] = args ? args.weight : undefined;
|
|
104
|
+
resourceInputs["zid"] = args ? args.zid : undefined;
|
|
105
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["fqdn"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["operators"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["pqdn"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["recordId"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["recordSetId"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
113
|
+
}
|
|
114
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
115
|
+
super(Record.__pulumiType, name, resourceInputs, opts);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
exports.Record = Record;
|
|
119
|
+
/** @internal */
|
|
120
|
+
Record.__pulumiType = 'volcenginecc:dns/record:Record';
|
|
121
|
+
//# sourceMappingURL=record.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record.js","sourceRoot":"","sources":["../../dns/record.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IA+ED,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YAC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AAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAjKL,wBAkKC;AApJG,gBAAgB;AACO,mBAAY,GAAG,gCAAgC,CAAC"}
|
package/gtm/getGtm.d.ts
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data Source schema for Volcengine::GTM::GTM
|
|
4
|
+
*/
|
|
5
|
+
export declare function getGtm(args: GetGtmArgs, opts?: pulumi.InvokeOptions): Promise<GetGtmResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getGtm.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetGtmArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the resource.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getGtm.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetGtmResult {
|
|
19
|
+
/**
|
|
20
|
+
* Access method for the GTM instance. `cname` means a scheduling domain name is generated and you configure CNAME at your DNS provider; `domain` means Cloud DNS directly resolves the business domain name to the target address
|
|
21
|
+
*/
|
|
22
|
+
readonly accessMode: string;
|
|
23
|
+
/**
|
|
24
|
+
* Alarm rule ID associated with the GTM instance
|
|
25
|
+
*/
|
|
26
|
+
readonly alarmId: string;
|
|
27
|
+
/**
|
|
28
|
+
* Scheduling domain name of the GTM instance
|
|
29
|
+
*/
|
|
30
|
+
readonly cname: string;
|
|
31
|
+
/**
|
|
32
|
+
* Creation time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard
|
|
33
|
+
*/
|
|
34
|
+
readonly createTime: string;
|
|
35
|
+
/**
|
|
36
|
+
* Domain name of the GTM instance, such as `www.example.com`
|
|
37
|
+
*/
|
|
38
|
+
readonly domain: string;
|
|
39
|
+
/**
|
|
40
|
+
* UUID of the GTM instance
|
|
41
|
+
*/
|
|
42
|
+
readonly gtmId: string;
|
|
43
|
+
/**
|
|
44
|
+
* Uniquely identifies the resource.
|
|
45
|
+
*/
|
|
46
|
+
readonly id: string;
|
|
47
|
+
/**
|
|
48
|
+
* Account that last operated the GTM instance
|
|
49
|
+
*/
|
|
50
|
+
readonly lastOperator: string;
|
|
51
|
+
/**
|
|
52
|
+
* Account that created the GTM instance
|
|
53
|
+
*/
|
|
54
|
+
readonly owner: string;
|
|
55
|
+
/**
|
|
56
|
+
* Routing policy type. `geo` indicates basic routing policy, `perf` indicates intelligent routing policy
|
|
57
|
+
*/
|
|
58
|
+
readonly policyType: string;
|
|
59
|
+
/**
|
|
60
|
+
* Project name to which the GTM instance belongs
|
|
61
|
+
*/
|
|
62
|
+
readonly projectName: string;
|
|
63
|
+
/**
|
|
64
|
+
* Remark information for the GTM instance
|
|
65
|
+
*/
|
|
66
|
+
readonly remark: string;
|
|
67
|
+
/**
|
|
68
|
+
* Feature version of the GTM instance. `ultimate` indicates flagship edition, `standard` indicates standard edition
|
|
69
|
+
*/
|
|
70
|
+
readonly specName: string;
|
|
71
|
+
/**
|
|
72
|
+
* Current lifecycle status of the GTM instance, such as `init`: indicates the GTM instance has been successfully created but not yet configured. `configuringAddress`: indicates basic rule configuration is complete but target address configuration is not yet finished. `editing`: indicates both basic configuration and target address are completed but the instance is not yet enabled. `running`: indicates the instance is officially enabled
|
|
73
|
+
*/
|
|
74
|
+
readonly state: string;
|
|
75
|
+
/**
|
|
76
|
+
* Expiration time of the DNS record, in seconds
|
|
77
|
+
*/
|
|
78
|
+
readonly ttl: number;
|
|
79
|
+
/**
|
|
80
|
+
* Most recent modification time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard
|
|
81
|
+
*/
|
|
82
|
+
readonly updateTime: string;
|
|
83
|
+
/**
|
|
84
|
+
* This parameter has no practical significance and can be ignored
|
|
85
|
+
*/
|
|
86
|
+
readonly zoneType: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Data Source schema for Volcengine::GTM::GTM
|
|
90
|
+
*/
|
|
91
|
+
export declare function getGtmOutput(args: GetGtmOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGtmResult>;
|
|
92
|
+
/**
|
|
93
|
+
* A collection of arguments for invoking getGtm.
|
|
94
|
+
*/
|
|
95
|
+
export interface GetGtmOutputArgs {
|
|
96
|
+
/**
|
|
97
|
+
* Uniquely identifies the resource.
|
|
98
|
+
*/
|
|
99
|
+
id: pulumi.Input<string>;
|
|
100
|
+
}
|
package/gtm/getGtm.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getGtmOutput = exports.getGtm = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::GTM::GTM
|
|
10
|
+
*/
|
|
11
|
+
function getGtm(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:gtm/getGtm:getGtm", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getGtm = getGtm;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::GTM::GTM
|
|
20
|
+
*/
|
|
21
|
+
function getGtmOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:gtm/getGtm:getGtm", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getGtmOutput = getGtmOutput;
|
|
28
|
+
//# sourceMappingURL=getGtm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGtm.js","sourceRoot":"","sources":["../../gtm/getGtm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wBAKC;AAqFD;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gCAAgC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC"}
|
package/gtm/getGtms.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::GTM::GTM
|
|
4
|
+
*/
|
|
5
|
+
export declare function getGtms(opts?: pulumi.InvokeOptions): Promise<GetGtmsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getGtms.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetGtmsResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Volcengine::GTM::GTM
|
|
21
|
+
*/
|
|
22
|
+
export declare function getGtmsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGtmsResult>;
|
package/gtm/getGtms.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getGtmsOutput = exports.getGtms = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::GTM::GTM
|
|
10
|
+
*/
|
|
11
|
+
function getGtms(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:gtm/getGtms:getGtms", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getGtms = getGtms;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::GTM::GTM
|
|
18
|
+
*/
|
|
19
|
+
function getGtmsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:gtm/getGtms:getGtms", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getGtmsOutput = getGtmsOutput;
|
|
24
|
+
//# sourceMappingURL=getGtms.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGtms.js","sourceRoot":"","sources":["../../gtm/getGtms.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAA2B;IAC/C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE,EAChE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0BAIC;AAeD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAiC;IAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE,EACtE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data Source schema for Volcengine::GTM::Routing
|
|
4
|
+
*/
|
|
5
|
+
export declare function getRouting(args: GetRoutingArgs, opts?: pulumi.InvokeOptions): Promise<GetRoutingResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getRouting.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetRoutingArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the resource.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getRouting.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetRoutingResult {
|
|
19
|
+
/**
|
|
20
|
+
* UUID of the GTM instance. You can obtain GtmId via the ListGtms API.
|
|
21
|
+
*/
|
|
22
|
+
readonly gtmId: string;
|
|
23
|
+
/**
|
|
24
|
+
* Uniquely identifies the resource.
|
|
25
|
+
*/
|
|
26
|
+
readonly id: string;
|
|
27
|
+
/**
|
|
28
|
+
* Start/stop GTM instance. true: Start GTM instance. false: Stop GTM instance.
|
|
29
|
+
*/
|
|
30
|
+
readonly routingEnabled: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Indicates the current lifecycle state of the GTM instance. Value description: init: The GTM instance has been successfully created but not yet configured. configuring_address: Basic rule configuration for GTM is complete, but target address configuration is not yet finished. editing: Both basic configuration and target address have been completed, but the instance is not yet enabled. running: The instance is officially enabled.
|
|
33
|
+
*/
|
|
34
|
+
readonly routingStatus: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Data Source schema for Volcengine::GTM::Routing
|
|
38
|
+
*/
|
|
39
|
+
export declare function getRoutingOutput(args: GetRoutingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRoutingResult>;
|
|
40
|
+
/**
|
|
41
|
+
* A collection of arguments for invoking getRouting.
|
|
42
|
+
*/
|
|
43
|
+
export interface GetRoutingOutputArgs {
|
|
44
|
+
/**
|
|
45
|
+
* Uniquely identifies the resource.
|
|
46
|
+
*/
|
|
47
|
+
id: pulumi.Input<string>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getRoutingOutput = exports.getRouting = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::GTM::Routing
|
|
10
|
+
*/
|
|
11
|
+
function getRouting(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:gtm/getRouting:getRouting", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getRouting = getRouting;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::GTM::Routing
|
|
20
|
+
*/
|
|
21
|
+
function getRoutingOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:gtm/getRouting:getRouting", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getRoutingOutput = getRoutingOutput;
|
|
28
|
+
//# sourceMappingURL=getRouting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRouting.js","sourceRoot":"","sources":["../../gtm/getRouting.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AAiCD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::GTM::Routing
|
|
4
|
+
*/
|
|
5
|
+
export declare function getRoutings(opts?: pulumi.InvokeOptions): Promise<GetRoutingsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getRoutings.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetRoutingsResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Volcengine::GTM::Routing
|
|
21
|
+
*/
|
|
22
|
+
export declare function getRoutingsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRoutingsResult>;
|