@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
|
@@ -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.getRoutingsOutput = exports.getRoutings = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::GTM::Routing
|
|
10
|
+
*/
|
|
11
|
+
function getRoutings(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:gtm/getRoutings:getRoutings", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getRoutings = getRoutings;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::GTM::Routing
|
|
18
|
+
*/
|
|
19
|
+
function getRoutingsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:gtm/getRoutings:getRoutings", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getRoutingsOutput = getRoutingsOutput;
|
|
24
|
+
//# sourceMappingURL=getRoutings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRoutings.js","sourceRoot":"","sources":["../../gtm/getRoutings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE,EACxE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kCAIC;AAeD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAAiC;IAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC"}
|
package/gtm/getRule.d.ts
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::GTM::Rule
|
|
5
|
+
*/
|
|
6
|
+
export declare function getRule(args: GetRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetRuleResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getRule.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetRuleArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getRule.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetRuleResult {
|
|
20
|
+
/**
|
|
21
|
+
* Route rule creation time.
|
|
22
|
+
*/
|
|
23
|
+
readonly createTime: string;
|
|
24
|
+
/**
|
|
25
|
+
* Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
|
|
26
|
+
*/
|
|
27
|
+
readonly disable: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Index of the effective address pool set.
|
|
30
|
+
*/
|
|
31
|
+
readonly effectivePoolSetIndex: number;
|
|
32
|
+
/**
|
|
33
|
+
* UUID of the GTM instance.
|
|
34
|
+
*/
|
|
35
|
+
readonly gtmId: string;
|
|
36
|
+
/**
|
|
37
|
+
* Uniquely identifies the resource.
|
|
38
|
+
*/
|
|
39
|
+
readonly id: string;
|
|
40
|
+
/**
|
|
41
|
+
* Route rule applicable lines.
|
|
42
|
+
*/
|
|
43
|
+
readonly line: string;
|
|
44
|
+
/**
|
|
45
|
+
* Route rule name.
|
|
46
|
+
*/
|
|
47
|
+
readonly name: string;
|
|
48
|
+
/**
|
|
49
|
+
* The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
|
|
50
|
+
*/
|
|
51
|
+
readonly policyType: string;
|
|
52
|
+
/**
|
|
53
|
+
* Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
|
|
54
|
+
*/
|
|
55
|
+
readonly poolSetMode: string;
|
|
56
|
+
/**
|
|
57
|
+
* Address pool collection list.
|
|
58
|
+
*/
|
|
59
|
+
readonly poolSets: outputs.gtm.GetRulePoolSet[];
|
|
60
|
+
/**
|
|
61
|
+
* Health check parameters for the route rule.
|
|
62
|
+
*/
|
|
63
|
+
readonly probe: outputs.gtm.GetRuleProbe;
|
|
64
|
+
/**
|
|
65
|
+
* Health check mode.
|
|
66
|
+
*/
|
|
67
|
+
readonly probeMode: string;
|
|
68
|
+
/**
|
|
69
|
+
* Route rule remarks.
|
|
70
|
+
*/
|
|
71
|
+
readonly remark: string;
|
|
72
|
+
/**
|
|
73
|
+
* Routing rule ID.
|
|
74
|
+
*/
|
|
75
|
+
readonly ruleId: string;
|
|
76
|
+
/**
|
|
77
|
+
* Route rule update time.
|
|
78
|
+
*/
|
|
79
|
+
readonly updateTime: string;
|
|
80
|
+
/**
|
|
81
|
+
* Whether to inherit instance-level health check nodes.
|
|
82
|
+
*/
|
|
83
|
+
readonly usePolicyProbeNodes: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Whether to use route rule-level probe configuration.
|
|
86
|
+
*/
|
|
87
|
+
readonly useRuleProbeConfig: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Routing rule weight.
|
|
90
|
+
*/
|
|
91
|
+
readonly weight: number;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Data Source schema for Volcengine::GTM::Rule
|
|
95
|
+
*/
|
|
96
|
+
export declare function getRuleOutput(args: GetRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRuleResult>;
|
|
97
|
+
/**
|
|
98
|
+
* A collection of arguments for invoking getRule.
|
|
99
|
+
*/
|
|
100
|
+
export interface GetRuleOutputArgs {
|
|
101
|
+
/**
|
|
102
|
+
* Uniquely identifies the resource.
|
|
103
|
+
*/
|
|
104
|
+
id: pulumi.Input<string>;
|
|
105
|
+
}
|
package/gtm/getRule.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.getRuleOutput = exports.getRule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::GTM::Rule
|
|
10
|
+
*/
|
|
11
|
+
function getRule(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:gtm/getRule:getRule", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getRule = getRule;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::GTM::Rule
|
|
20
|
+
*/
|
|
21
|
+
function getRuleOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:gtm/getRule:getRule", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getRuleOutput = getRuleOutput;
|
|
28
|
+
//# sourceMappingURL=getRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRule.js","sourceRoot":"","sources":["../../gtm/getRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,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;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC;AAyFD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAAiC;IACpF,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;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::GTM::Rule
|
|
4
|
+
*/
|
|
5
|
+
export declare function getRules(opts?: pulumi.InvokeOptions): Promise<GetRulesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getRules.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetRulesResult {
|
|
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::Rule
|
|
21
|
+
*/
|
|
22
|
+
export declare function getRulesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRulesResult>;
|
package/gtm/getRules.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.getRulesOutput = exports.getRules = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::GTM::Rule
|
|
10
|
+
*/
|
|
11
|
+
function getRules(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:gtm/getRules:getRules", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getRules = getRules;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::GTM::Rule
|
|
18
|
+
*/
|
|
19
|
+
function getRulesOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:gtm/getRules:getRules", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getRulesOutput = getRulesOutput;
|
|
24
|
+
//# sourceMappingURL=getRules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRules.js","sourceRoot":"","sources":["../../gtm/getRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAA2B;IAChD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE,EAClE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4BAIC;AAeD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAiC;IAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE,EACxE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wCAIC"}
|
package/gtm/gtm.d.ts
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The GTM instance is the core resource in Cloud Scheduling GTM for hosting scheduling domain names, routing policies, and health check configurations. After creating a GTM instance, you can use it to configure global traffic scheduling, failover, and health check capabilities for your business 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 gTMGTMDemo = new volcenginecc.gtm.Gtm("GTMGTMDemo", {
|
|
12
|
+
* domain: "www.example4.com",
|
|
13
|
+
* accessMode: "cname",
|
|
14
|
+
* cname: "gtm-cname.example4.com.bdns-gtm-pressure.com",
|
|
15
|
+
* projectName: "default",
|
|
16
|
+
* remark: "gtm test",
|
|
17
|
+
* specName: "ultimate",
|
|
18
|
+
* ttl: 600,
|
|
19
|
+
* policyType: "perf",
|
|
20
|
+
* alarmId: "71xxxx26d79-2b08-4033-b025-71xxxx26d79",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import volcenginecc:gtm/gtm:Gtm example "gtm_id"
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class Gtm extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing Gtm 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?: GtmState, opts?: pulumi.CustomResourceOptions): Gtm;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of Gtm. 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 Gtm;
|
|
46
|
+
/**
|
|
47
|
+
* 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
|
|
48
|
+
*/
|
|
49
|
+
readonly accessMode: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Alarm rule ID associated with the GTM instance
|
|
52
|
+
*/
|
|
53
|
+
readonly alarmId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Scheduling domain name of the GTM instance
|
|
56
|
+
*/
|
|
57
|
+
readonly cname: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Creation time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard
|
|
60
|
+
*/
|
|
61
|
+
readonly createTime: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Domain name of the GTM instance, such as `www.example.com`
|
|
64
|
+
*/
|
|
65
|
+
readonly domain: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* UUID of the GTM instance
|
|
68
|
+
*/
|
|
69
|
+
readonly gtmId: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Account that last operated the GTM instance
|
|
72
|
+
*/
|
|
73
|
+
readonly lastOperator: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Account that created the GTM instance
|
|
76
|
+
*/
|
|
77
|
+
readonly owner: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Routing policy type. `geo` indicates basic routing policy, `perf` indicates intelligent routing policy
|
|
80
|
+
*/
|
|
81
|
+
readonly policyType: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Project name to which the GTM instance belongs
|
|
84
|
+
*/
|
|
85
|
+
readonly projectName: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Remark information for the GTM instance
|
|
88
|
+
*/
|
|
89
|
+
readonly remark: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Feature version of the GTM instance. `ultimate` indicates flagship edition, `standard` indicates standard edition
|
|
92
|
+
*/
|
|
93
|
+
readonly specName: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* 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
|
|
96
|
+
*/
|
|
97
|
+
readonly state: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Expiration time of the DNS record, in seconds
|
|
100
|
+
*/
|
|
101
|
+
readonly ttl: pulumi.Output<number>;
|
|
102
|
+
/**
|
|
103
|
+
* Most recent modification time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard
|
|
104
|
+
*/
|
|
105
|
+
readonly updateTime: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* This parameter has no practical significance and can be ignored
|
|
108
|
+
*/
|
|
109
|
+
readonly zoneType: pulumi.Output<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Create a Gtm resource with the given unique name, arguments, and options.
|
|
112
|
+
*
|
|
113
|
+
* @param name The _unique_ name of the resource.
|
|
114
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
115
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
116
|
+
*/
|
|
117
|
+
constructor(name: string, args: GtmArgs, opts?: pulumi.CustomResourceOptions);
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Input properties used for looking up and filtering Gtm resources.
|
|
121
|
+
*/
|
|
122
|
+
export interface GtmState {
|
|
123
|
+
/**
|
|
124
|
+
* 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
|
|
125
|
+
*/
|
|
126
|
+
accessMode?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Alarm rule ID associated with the GTM instance
|
|
129
|
+
*/
|
|
130
|
+
alarmId?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Scheduling domain name of the GTM instance
|
|
133
|
+
*/
|
|
134
|
+
cname?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Creation time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard
|
|
137
|
+
*/
|
|
138
|
+
createTime?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Domain name of the GTM instance, such as `www.example.com`
|
|
141
|
+
*/
|
|
142
|
+
domain?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* UUID of the GTM instance
|
|
145
|
+
*/
|
|
146
|
+
gtmId?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Account that last operated the GTM instance
|
|
149
|
+
*/
|
|
150
|
+
lastOperator?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Account that created the GTM instance
|
|
153
|
+
*/
|
|
154
|
+
owner?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Routing policy type. `geo` indicates basic routing policy, `perf` indicates intelligent routing policy
|
|
157
|
+
*/
|
|
158
|
+
policyType?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Project name to which the GTM instance belongs
|
|
161
|
+
*/
|
|
162
|
+
projectName?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Remark information for the GTM instance
|
|
165
|
+
*/
|
|
166
|
+
remark?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* Feature version of the GTM instance. `ultimate` indicates flagship edition, `standard` indicates standard edition
|
|
169
|
+
*/
|
|
170
|
+
specName?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* 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
|
|
173
|
+
*/
|
|
174
|
+
state?: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Expiration time of the DNS record, in seconds
|
|
177
|
+
*/
|
|
178
|
+
ttl?: pulumi.Input<number>;
|
|
179
|
+
/**
|
|
180
|
+
* Most recent modification time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard
|
|
181
|
+
*/
|
|
182
|
+
updateTime?: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* This parameter has no practical significance and can be ignored
|
|
185
|
+
*/
|
|
186
|
+
zoneType?: pulumi.Input<string>;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* The set of arguments for constructing a Gtm resource.
|
|
190
|
+
*/
|
|
191
|
+
export interface GtmArgs {
|
|
192
|
+
/**
|
|
193
|
+
* 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
|
|
194
|
+
*/
|
|
195
|
+
accessMode: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* Alarm rule ID associated with the GTM instance
|
|
198
|
+
*/
|
|
199
|
+
alarmId?: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* Scheduling domain name of the GTM instance
|
|
202
|
+
*/
|
|
203
|
+
cname?: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* Domain name of the GTM instance, such as `www.example.com`
|
|
206
|
+
*/
|
|
207
|
+
domain: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* Routing policy type. `geo` indicates basic routing policy, `perf` indicates intelligent routing policy
|
|
210
|
+
*/
|
|
211
|
+
policyType?: pulumi.Input<string>;
|
|
212
|
+
/**
|
|
213
|
+
* Project name to which the GTM instance belongs
|
|
214
|
+
*/
|
|
215
|
+
projectName?: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* Remark information for the GTM instance
|
|
218
|
+
*/
|
|
219
|
+
remark?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* Feature version of the GTM instance. `ultimate` indicates flagship edition, `standard` indicates standard edition
|
|
222
|
+
*/
|
|
223
|
+
specName?: pulumi.Input<string>;
|
|
224
|
+
/**
|
|
225
|
+
* Expiration time of the DNS record, in seconds
|
|
226
|
+
*/
|
|
227
|
+
ttl?: pulumi.Input<number>;
|
|
228
|
+
}
|
package/gtm/gtm.js
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
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.Gtm = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The GTM instance is the core resource in Cloud Scheduling GTM for hosting scheduling domain names, routing policies, and health check configurations. After creating a GTM instance, you can use it to configure global traffic scheduling, failover, and health check capabilities for your business 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 gTMGTMDemo = new volcenginecc.gtm.Gtm("GTMGTMDemo", {
|
|
18
|
+
* domain: "www.example4.com",
|
|
19
|
+
* accessMode: "cname",
|
|
20
|
+
* cname: "gtm-cname.example4.com.bdns-gtm-pressure.com",
|
|
21
|
+
* projectName: "default",
|
|
22
|
+
* remark: "gtm test",
|
|
23
|
+
* specName: "ultimate",
|
|
24
|
+
* ttl: 600,
|
|
25
|
+
* policyType: "perf",
|
|
26
|
+
* alarmId: "71xxxx26d79-2b08-4033-b025-71xxxx26d79",
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import volcenginecc:gtm/gtm:Gtm example "gtm_id"
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class Gtm extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing Gtm 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 Gtm(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of Gtm. 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'] === Gtm.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["accessMode"] = state ? state.accessMode : undefined;
|
|
65
|
+
resourceInputs["alarmId"] = state ? state.alarmId : undefined;
|
|
66
|
+
resourceInputs["cname"] = state ? state.cname : undefined;
|
|
67
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
68
|
+
resourceInputs["domain"] = state ? state.domain : undefined;
|
|
69
|
+
resourceInputs["gtmId"] = state ? state.gtmId : undefined;
|
|
70
|
+
resourceInputs["lastOperator"] = state ? state.lastOperator : undefined;
|
|
71
|
+
resourceInputs["owner"] = state ? state.owner : undefined;
|
|
72
|
+
resourceInputs["policyType"] = state ? state.policyType : undefined;
|
|
73
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
74
|
+
resourceInputs["remark"] = state ? state.remark : undefined;
|
|
75
|
+
resourceInputs["specName"] = state ? state.specName : undefined;
|
|
76
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
77
|
+
resourceInputs["ttl"] = state ? state.ttl : undefined;
|
|
78
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
79
|
+
resourceInputs["zoneType"] = state ? state.zoneType : undefined;
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
const args = argsOrState;
|
|
83
|
+
if ((!args || args.accessMode === undefined) && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'accessMode'");
|
|
85
|
+
}
|
|
86
|
+
if ((!args || args.domain === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'domain'");
|
|
88
|
+
}
|
|
89
|
+
resourceInputs["accessMode"] = args ? args.accessMode : undefined;
|
|
90
|
+
resourceInputs["alarmId"] = args ? args.alarmId : undefined;
|
|
91
|
+
resourceInputs["cname"] = args ? args.cname : undefined;
|
|
92
|
+
resourceInputs["domain"] = args ? args.domain : undefined;
|
|
93
|
+
resourceInputs["policyType"] = args ? args.policyType : undefined;
|
|
94
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
95
|
+
resourceInputs["remark"] = args ? args.remark : undefined;
|
|
96
|
+
resourceInputs["specName"] = args ? args.specName : undefined;
|
|
97
|
+
resourceInputs["ttl"] = args ? args.ttl : undefined;
|
|
98
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["gtmId"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["lastOperator"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["owner"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["zoneType"] = undefined /*out*/;
|
|
105
|
+
}
|
|
106
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
|
+
super(Gtm.__pulumiType, name, resourceInputs, opts);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.Gtm = Gtm;
|
|
111
|
+
/** @internal */
|
|
112
|
+
Gtm.__pulumiType = 'volcenginec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AAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AArJL,kBAsJC;AAxIG,gBAAgB;AACO,gBAAY,GAAG,0BAA0B,CAAC"}
|
package/gtm/index.d.ts
CHANGED
|
@@ -1,9 +1,36 @@
|
|
|
1
|
+
export { GetGtmArgs, GetGtmResult, GetGtmOutputArgs } from "./getGtm";
|
|
2
|
+
export declare const getGtm: typeof import("./getGtm").getGtm;
|
|
3
|
+
export declare const getGtmOutput: typeof import("./getGtm").getGtmOutput;
|
|
4
|
+
export { GetGtmsResult } from "./getGtms";
|
|
5
|
+
export declare const getGtms: typeof import("./getGtms").getGtms;
|
|
6
|
+
export declare const getGtmsOutput: typeof import("./getGtms").getGtmsOutput;
|
|
1
7
|
export { GetPoolArgs, GetPoolResult, GetPoolOutputArgs } from "./getPool";
|
|
2
8
|
export declare const getPool: typeof import("./getPool").getPool;
|
|
3
9
|
export declare const getPoolOutput: typeof import("./getPool").getPoolOutput;
|
|
4
10
|
export { GetPoolsResult } from "./getPools";
|
|
5
11
|
export declare const getPools: typeof import("./getPools").getPools;
|
|
6
12
|
export declare const getPoolsOutput: typeof import("./getPools").getPoolsOutput;
|
|
13
|
+
export { GetRoutingArgs, GetRoutingResult, GetRoutingOutputArgs } from "./getRouting";
|
|
14
|
+
export declare const getRouting: typeof import("./getRouting").getRouting;
|
|
15
|
+
export declare const getRoutingOutput: typeof import("./getRouting").getRoutingOutput;
|
|
16
|
+
export { GetRoutingsResult } from "./getRoutings";
|
|
17
|
+
export declare const getRoutings: typeof import("./getRoutings").getRoutings;
|
|
18
|
+
export declare const getRoutingsOutput: typeof import("./getRoutings").getRoutingsOutput;
|
|
19
|
+
export { GetRuleArgs, GetRuleResult, GetRuleOutputArgs } from "./getRule";
|
|
20
|
+
export declare const getRule: typeof import("./getRule").getRule;
|
|
21
|
+
export declare const getRuleOutput: typeof import("./getRule").getRuleOutput;
|
|
22
|
+
export { GetRulesResult } from "./getRules";
|
|
23
|
+
export declare const getRules: typeof import("./getRules").getRules;
|
|
24
|
+
export declare const getRulesOutput: typeof import("./getRules").getRulesOutput;
|
|
25
|
+
export { GtmArgs, GtmState } from "./gtm";
|
|
26
|
+
export type Gtm = import("./gtm").Gtm;
|
|
27
|
+
export declare const Gtm: typeof import("./gtm").Gtm;
|
|
7
28
|
export { PoolArgs, PoolState } from "./pool";
|
|
8
29
|
export type Pool = import("./pool").Pool;
|
|
9
30
|
export declare const Pool: typeof import("./pool").Pool;
|
|
31
|
+
export { RoutingArgs, RoutingState } from "./routing";
|
|
32
|
+
export type Routing = import("./routing").Routing;
|
|
33
|
+
export declare const Routing: typeof import("./routing").Routing;
|
|
34
|
+
export { RuleArgs, RuleState } from "./rule";
|
|
35
|
+
export type Rule = import("./rule").Rule;
|
|
36
|
+
export declare const Rule: typeof import("./rule").Rule;
|