@volcengine/pulumi-volcenginecc 0.0.43 → 0.0.44
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/cloudmonitor/eventRule.d.ts +226 -0
- package/cloudmonitor/eventRule.js +126 -0
- package/cloudmonitor/eventRule.js.map +1 -0
- package/cloudmonitor/getEventRule.d.ts +65 -0
- package/cloudmonitor/getEventRule.js +28 -0
- package/cloudmonitor/getEventRule.js.map +1 -0
- package/cloudmonitor/getEventRules.d.ts +22 -0
- package/cloudmonitor/getEventRules.js +24 -0
- package/cloudmonitor/getEventRules.js.map +1 -0
- package/cloudmonitor/index.d.ts +9 -0
- package/cloudmonitor/index.js +12 -1
- package/cloudmonitor/index.js.map +1 -1
- package/cr/getVpcEndpoint.d.ts +45 -0
- package/cr/getVpcEndpoint.js +28 -0
- package/cr/getVpcEndpoint.js.map +1 -0
- package/cr/getVpcEndpoints.d.ts +22 -0
- package/cr/getVpcEndpoints.js +24 -0
- package/cr/getVpcEndpoints.js.map +1 -0
- package/cr/index.d.ts +9 -0
- package/cr/index.js +12 -1
- package/cr/index.js.map +1 -1
- package/cr/vpcEndpoint.d.ts +62 -0
- package/cr/vpcEndpoint.js +66 -0
- package/cr/vpcEndpoint.js.map +1 -0
- package/dns/backupSchedule.d.ts +89 -0
- package/dns/backupSchedule.js +80 -0
- package/dns/backupSchedule.js.map +1 -0
- package/dns/getBackupSchedule.d.ts +48 -0
- package/dns/getBackupSchedule.js +28 -0
- package/dns/getBackupSchedule.js.map +1 -0
- package/dns/getBackupSchedules.d.ts +22 -0
- package/dns/getBackupSchedules.js +24 -0
- package/dns/getBackupSchedules.js.map +1 -0
- package/dns/index.d.ts +9 -0
- package/dns/index.js +12 -1
- package/dns/index.js.map +1 -1
- package/gtm/getPolicies.d.ts +22 -0
- package/gtm/getPolicies.js +24 -0
- package/gtm/getPolicies.js.map +1 -0
- package/gtm/getPolicy.d.ts +65 -0
- package/gtm/getPolicy.js +28 -0
- package/gtm/getPolicy.js.map +1 -0
- package/gtm/index.d.ts +9 -0
- package/gtm/index.js +12 -1
- package/gtm/index.js.map +1 -1
- package/gtm/policy.d.ts +114 -0
- package/gtm/policy.js +76 -0
- package/gtm/policy.js.map +1 -0
- package/kafka/getGroup.d.ts +65 -0
- package/kafka/getGroup.js +28 -0
- package/kafka/getGroup.js.map +1 -0
- package/kafka/getGroups.d.ts +22 -0
- package/kafka/getGroups.js +24 -0
- package/kafka/getGroups.js.map +1 -0
- package/kafka/group.d.ts +127 -0
- package/kafka/group.js +93 -0
- package/kafka/group.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/package.json +1 -1
- package/rdsmysql/allowList.d.ts +1 -0
- package/rdsmysql/allowList.js +1 -1
- package/rdsmysql/allowList.js.map +1 -1
- package/rocketmq/accessKey.d.ts +126 -0
- package/rocketmq/accessKey.js +80 -0
- package/rocketmq/accessKey.js.map +1 -0
- package/rocketmq/getAccessKey.d.ts +73 -0
- package/rocketmq/getAccessKey.js +28 -0
- package/rocketmq/getAccessKey.js.map +1 -0
- package/rocketmq/getAccessKeys.d.ts +22 -0
- package/rocketmq/getAccessKeys.js +24 -0
- package/rocketmq/getAccessKeys.js.map +1 -0
- package/rocketmq/index.d.ts +9 -0
- package/rocketmq/index.js +12 -1
- package/rocketmq/index.js.map +1 -1
- package/tls/etl.d.ts +222 -0
- package/tls/etl.js +113 -0
- package/tls/etl.js.map +1 -0
- package/tls/getEtl.d.ts +109 -0
- package/tls/getEtl.js +28 -0
- package/tls/getEtl.js.map +1 -0
- package/tls/getEtls.d.ts +22 -0
- package/tls/getEtls.js +24 -0
- package/tls/getEtls.js.map +1 -0
- package/tls/getHost.d.ts +52 -0
- package/tls/getHost.js +28 -0
- package/tls/getHost.js.map +1 -0
- package/tls/getHostGroup.d.ts +113 -0
- package/tls/getHostGroup.js +28 -0
- package/tls/getHostGroup.js.map +1 -0
- package/tls/getHostGroups.d.ts +22 -0
- package/tls/getHostGroups.js +24 -0
- package/tls/getHostGroups.js.map +1 -0
- package/tls/getHosts.d.ts +22 -0
- package/tls/getHosts.js +24 -0
- package/tls/getHosts.js.map +1 -0
- package/tls/host.d.ts +97 -0
- package/tls/host.js +82 -0
- package/tls/host.js.map +1 -0
- package/tls/hostGroup.d.ts +254 -0
- package/tls/hostGroup.js +121 -0
- package/tls/hostGroup.js.map +1 -0
- package/tls/index.d.ts +27 -0
- package/tls/index.js +35 -1
- package/tls/index.js.map +1 -1
- package/tos/bucket.d.ts +12 -0
- package/tos/bucket.js +2 -0
- package/tos/bucket.js.map +1 -1
- package/tos/bucketMirrorBack.d.ts +62 -0
- package/tos/bucketMirrorBack.js +63 -0
- package/tos/bucketMirrorBack.js.map +1 -0
- package/tos/bucketRename.d.ts +74 -0
- package/tos/bucketRename.js +72 -0
- package/tos/bucketRename.js.map +1 -0
- package/tos/getBucket.d.ts +4 -0
- package/tos/getBucket.js.map +1 -1
- package/tos/getBucketMirrorBack.d.ts +45 -0
- package/tos/getBucketMirrorBack.js +28 -0
- package/tos/getBucketMirrorBack.js.map +1 -0
- package/tos/getBucketMirrorBacks.d.ts +22 -0
- package/tos/getBucketMirrorBacks.js +24 -0
- package/tos/getBucketMirrorBacks.js.map +1 -0
- package/tos/getBucketRename.d.ts +44 -0
- package/tos/getBucketRename.js +28 -0
- package/tos/getBucketRename.js.map +1 -0
- package/tos/getBucketRenames.d.ts +22 -0
- package/tos/getBucketRenames.js +24 -0
- package/tos/getBucketRenames.js.map +1 -0
- package/tos/index.d.ts +18 -0
- package/tos/index.js +23 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +925 -144
- package/types/output.d.ts +2306 -642
package/dns/index.js
CHANGED
|
@@ -2,14 +2,22 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Zone = exports.Record = exports.getZonesOutput = exports.getZones = exports.getZoneOutput = exports.getZone = exports.getRecordsOutput = exports.getRecords = exports.getRecordOutput = exports.getRecord = exports.getBackupsOutput = exports.getBackups = exports.getBackupOutput = exports.getBackup = exports.Backup = void 0;
|
|
5
|
+
exports.Zone = exports.Record = exports.getZonesOutput = exports.getZones = exports.getZoneOutput = exports.getZone = exports.getRecordsOutput = exports.getRecords = exports.getRecordOutput = exports.getRecord = exports.getBackupsOutput = exports.getBackups = exports.getBackupSchedulesOutput = exports.getBackupSchedules = exports.getBackupScheduleOutput = exports.getBackupSchedule = exports.getBackupOutput = exports.getBackup = exports.BackupSchedule = exports.Backup = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Backup = null;
|
|
9
9
|
utilities.lazyLoad(exports, ["Backup"], () => require("./backup"));
|
|
10
|
+
exports.BackupSchedule = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["BackupSchedule"], () => require("./backupSchedule"));
|
|
10
12
|
exports.getBackup = null;
|
|
11
13
|
exports.getBackupOutput = null;
|
|
12
14
|
utilities.lazyLoad(exports, ["getBackup", "getBackupOutput"], () => require("./getBackup"));
|
|
15
|
+
exports.getBackupSchedule = null;
|
|
16
|
+
exports.getBackupScheduleOutput = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["getBackupSchedule", "getBackupScheduleOutput"], () => require("./getBackupSchedule"));
|
|
18
|
+
exports.getBackupSchedules = null;
|
|
19
|
+
exports.getBackupSchedulesOutput = null;
|
|
20
|
+
utilities.lazyLoad(exports, ["getBackupSchedules", "getBackupSchedulesOutput"], () => require("./getBackupSchedules"));
|
|
13
21
|
exports.getBackups = null;
|
|
14
22
|
exports.getBackupsOutput = null;
|
|
15
23
|
utilities.lazyLoad(exports, ["getBackups", "getBackupsOutput"], () => require("./getBackups"));
|
|
@@ -35,6 +43,8 @@ const _module = {
|
|
|
35
43
|
switch (type) {
|
|
36
44
|
case "volcenginecc:dns/backup:Backup":
|
|
37
45
|
return new exports.Backup(name, undefined, { urn });
|
|
46
|
+
case "volcenginecc:dns/backupSchedule:BackupSchedule":
|
|
47
|
+
return new exports.BackupSchedule(name, undefined, { urn });
|
|
38
48
|
case "volcenginecc:dns/record:Record":
|
|
39
49
|
return new exports.Record(name, undefined, { urn });
|
|
40
50
|
case "volcenginecc:dns/zone:Zone":
|
|
@@ -45,6 +55,7 @@ const _module = {
|
|
|
45
55
|
},
|
|
46
56
|
};
|
|
47
57
|
pulumi.runtime.registerResourceModule("volcenginecc", "dns/backup", _module);
|
|
58
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "dns/backupSchedule", _module);
|
|
48
59
|
pulumi.runtime.registerResourceModule("volcenginecc", "dns/record", _module);
|
|
49
60
|
pulumi.runtime.registerResourceModule("volcenginecc", "dns/zone", _module);
|
|
50
61
|
//# sourceMappingURL=index.js.map
|
package/dns/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../dns/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../dns/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CA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AG,EAAE,CAAC,CAAA;YACpD,KAAK,gDAAgD;gBACjD,OAAO,IAAI,sBAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D,KAAK,gCAAgC;gBACjC,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,4BAA4B;gBAC7B,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::GTM::Policy
|
|
4
|
+
*/
|
|
5
|
+
export declare function getPolicies(opts?: pulumi.InvokeOptions): Promise<GetPoliciesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getPolicies.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetPoliciesResult {
|
|
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::Policy
|
|
21
|
+
*/
|
|
22
|
+
export declare function getPoliciesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPoliciesResult>;
|
|
@@ -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.getPoliciesOutput = exports.getPolicies = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::GTM::Policy
|
|
10
|
+
*/
|
|
11
|
+
function getPolicies(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:gtm/getPolicies:getPolicies", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getPolicies = getPolicies;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::GTM::Policy
|
|
18
|
+
*/
|
|
19
|
+
function getPoliciesOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:gtm/getPolicies:getPolicies", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getPoliciesOutput = getPoliciesOutput;
|
|
24
|
+
//# sourceMappingURL=getPolicies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPolicies.js","sourceRoot":"","sources":["../../gtm/getPolicies.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"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::GTM::Policy
|
|
5
|
+
*/
|
|
6
|
+
export declare function getPolicy(args: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetPolicyResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getPolicy.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetPolicyArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getPolicy.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetPolicyResult {
|
|
20
|
+
/**
|
|
21
|
+
* If the current address pool set is unavailable, Cloud Scheduling GTM only triggers an alert notification and does not automatically switch to an available address pool. true: Cloud Scheduling GTM only triggers an alert notification. false: Cloud Scheduling GTM automatically switches to an available address pool
|
|
22
|
+
*/
|
|
23
|
+
readonly alarmOnly: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* UUID of the GTM instance. You can obtain GtmId through the ListGtms API
|
|
26
|
+
*/
|
|
27
|
+
readonly gtmId: string;
|
|
28
|
+
/**
|
|
29
|
+
* Uniquely identifies the resource.
|
|
30
|
+
*/
|
|
31
|
+
readonly id: string;
|
|
32
|
+
/**
|
|
33
|
+
* Routing mode for intelligent routing strategy. perf: Performance first. capacity: Capacity first. feedback: Load feedback
|
|
34
|
+
*/
|
|
35
|
+
readonly perfMode: string;
|
|
36
|
+
/**
|
|
37
|
+
* Strategy type. geo: Basic routing. perf: Intelligent routing
|
|
38
|
+
*/
|
|
39
|
+
readonly policyType: string;
|
|
40
|
+
/**
|
|
41
|
+
* Routing mode. The parameter values are: lb: Based on load balancing, user traffic is routed proportionally to different IDCs. geo: Based on the user's geographic location and operator, user traffic is routed to the nearest IDC on the same operator's network. geo-lb (default): First, based on the user's geographic location and operator, user traffic is routed to the nearest IDC access line on the same operator's network. Then, based on load balancing, user traffic is routed proportionally to multiple IDCs
|
|
42
|
+
*/
|
|
43
|
+
readonly routingMode: string;
|
|
44
|
+
/**
|
|
45
|
+
* Statistical information about address status
|
|
46
|
+
*/
|
|
47
|
+
readonly statistics: outputs.gtm.GetPolicyStatistics;
|
|
48
|
+
/**
|
|
49
|
+
* Traffic target for intelligent routing strategy
|
|
50
|
+
*/
|
|
51
|
+
readonly targets: outputs.gtm.GetPolicyTarget[];
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Data Source schema for Volcengine::GTM::Policy
|
|
55
|
+
*/
|
|
56
|
+
export declare function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPolicyResult>;
|
|
57
|
+
/**
|
|
58
|
+
* A collection of arguments for invoking getPolicy.
|
|
59
|
+
*/
|
|
60
|
+
export interface GetPolicyOutputArgs {
|
|
61
|
+
/**
|
|
62
|
+
* Uniquely identifies the resource.
|
|
63
|
+
*/
|
|
64
|
+
id: pulumi.Input<string>;
|
|
65
|
+
}
|
package/gtm/getPolicy.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.getPolicyOutput = exports.getPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::GTM::Policy
|
|
10
|
+
*/
|
|
11
|
+
function getPolicy(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:gtm/getPolicy:getPolicy", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getPolicy = getPolicy;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::GTM::Policy
|
|
20
|
+
*/
|
|
21
|
+
function getPolicyOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:gtm/getPolicy:getPolicy", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getPolicyOutput = getPolicyOutput;
|
|
28
|
+
//# sourceMappingURL=getPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPolicy.js","sourceRoot":"","sources":["../../gtm/getPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AAiDD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}
|
package/gtm/index.d.ts
CHANGED
|
@@ -4,6 +4,12 @@ export declare const getGtmOutput: typeof import("./getGtm").getGtmOutput;
|
|
|
4
4
|
export { GetGtmsResult } from "./getGtms";
|
|
5
5
|
export declare const getGtms: typeof import("./getGtms").getGtms;
|
|
6
6
|
export declare const getGtmsOutput: typeof import("./getGtms").getGtmsOutput;
|
|
7
|
+
export { GetPoliciesResult } from "./getPolicies";
|
|
8
|
+
export declare const getPolicies: typeof import("./getPolicies").getPolicies;
|
|
9
|
+
export declare const getPoliciesOutput: typeof import("./getPolicies").getPoliciesOutput;
|
|
10
|
+
export { GetPolicyArgs, GetPolicyResult, GetPolicyOutputArgs } from "./getPolicy";
|
|
11
|
+
export declare const getPolicy: typeof import("./getPolicy").getPolicy;
|
|
12
|
+
export declare const getPolicyOutput: typeof import("./getPolicy").getPolicyOutput;
|
|
7
13
|
export { GetPoolArgs, GetPoolResult, GetPoolOutputArgs } from "./getPool";
|
|
8
14
|
export declare const getPool: typeof import("./getPool").getPool;
|
|
9
15
|
export declare const getPoolOutput: typeof import("./getPool").getPoolOutput;
|
|
@@ -25,6 +31,9 @@ export declare const getRulesOutput: typeof import("./getRules").getRulesOutput;
|
|
|
25
31
|
export { GtmArgs, GtmState } from "./gtm";
|
|
26
32
|
export type Gtm = import("./gtm").Gtm;
|
|
27
33
|
export declare const Gtm: typeof import("./gtm").Gtm;
|
|
34
|
+
export { PolicyArgs, PolicyState } from "./policy";
|
|
35
|
+
export type Policy = import("./policy").Policy;
|
|
36
|
+
export declare const Policy: typeof import("./policy").Policy;
|
|
28
37
|
export { PoolArgs, PoolState } from "./pool";
|
|
29
38
|
export type Pool = import("./pool").Pool;
|
|
30
39
|
export declare const Pool: typeof import("./pool").Pool;
|
package/gtm/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Rule = exports.Routing = exports.Pool = exports.Gtm = exports.getRulesOutput = exports.getRules = exports.getRuleOutput = exports.getRule = exports.getRoutingsOutput = exports.getRoutings = exports.getRoutingOutput = exports.getRouting = exports.getPoolsOutput = exports.getPools = exports.getPoolOutput = exports.getPool = exports.getGtmsOutput = exports.getGtms = exports.getGtmOutput = exports.getGtm = void 0;
|
|
5
|
+
exports.Rule = exports.Routing = exports.Pool = exports.Policy = exports.Gtm = exports.getRulesOutput = exports.getRules = exports.getRuleOutput = exports.getRule = exports.getRoutingsOutput = exports.getRoutings = exports.getRoutingOutput = exports.getRouting = exports.getPoolsOutput = exports.getPools = exports.getPoolOutput = exports.getPool = exports.getPolicyOutput = exports.getPolicy = exports.getPoliciesOutput = exports.getPolicies = exports.getGtmsOutput = exports.getGtms = exports.getGtmOutput = exports.getGtm = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.getGtm = null;
|
|
@@ -11,6 +11,12 @@ utilities.lazyLoad(exports, ["getGtm", "getGtmOutput"], () => require("./getGtm"
|
|
|
11
11
|
exports.getGtms = null;
|
|
12
12
|
exports.getGtmsOutput = null;
|
|
13
13
|
utilities.lazyLoad(exports, ["getGtms", "getGtmsOutput"], () => require("./getGtms"));
|
|
14
|
+
exports.getPolicies = null;
|
|
15
|
+
exports.getPoliciesOutput = null;
|
|
16
|
+
utilities.lazyLoad(exports, ["getPolicies", "getPoliciesOutput"], () => require("./getPolicies"));
|
|
17
|
+
exports.getPolicy = null;
|
|
18
|
+
exports.getPolicyOutput = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["getPolicy", "getPolicyOutput"], () => require("./getPolicy"));
|
|
14
20
|
exports.getPool = null;
|
|
15
21
|
exports.getPoolOutput = null;
|
|
16
22
|
utilities.lazyLoad(exports, ["getPool", "getPoolOutput"], () => require("./getPool"));
|
|
@@ -31,6 +37,8 @@ exports.getRulesOutput = null;
|
|
|
31
37
|
utilities.lazyLoad(exports, ["getRules", "getRulesOutput"], () => require("./getRules"));
|
|
32
38
|
exports.Gtm = null;
|
|
33
39
|
utilities.lazyLoad(exports, ["Gtm"], () => require("./gtm"));
|
|
40
|
+
exports.Policy = null;
|
|
41
|
+
utilities.lazyLoad(exports, ["Policy"], () => require("./policy"));
|
|
34
42
|
exports.Pool = null;
|
|
35
43
|
utilities.lazyLoad(exports, ["Pool"], () => require("./pool"));
|
|
36
44
|
exports.Routing = null;
|
|
@@ -43,6 +51,8 @@ const _module = {
|
|
|
43
51
|
switch (type) {
|
|
44
52
|
case "volcenginecc:gtm/gtm:Gtm":
|
|
45
53
|
return new exports.Gtm(name, undefined, { urn });
|
|
54
|
+
case "volcenginecc:gtm/policy:Policy":
|
|
55
|
+
return new exports.Policy(name, undefined, { urn });
|
|
46
56
|
case "volcenginecc:gtm/pool:Pool":
|
|
47
57
|
return new exports.Pool(name, undefined, { urn });
|
|
48
58
|
case "volcenginecc:gtm/routing:Routing":
|
|
@@ -55,6 +65,7 @@ const _module = {
|
|
|
55
65
|
},
|
|
56
66
|
};
|
|
57
67
|
pulumi.runtime.registerResourceModule("volcenginecc", "gtm/gtm", _module);
|
|
68
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "gtm/policy", _module);
|
|
58
69
|
pulumi.runtime.registerResourceModule("volcenginecc", "gtm/pool", _module);
|
|
59
70
|
pulumi.runtime.registerResourceModule("volcenginecc", "gtm/routing", _module);
|
|
60
71
|
pulumi.runtime.registerResourceModule("volcenginecc", "gtm/rule", _module);
|
package/gtm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../gtm/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,MAAM,GAAqC,IAAW,CAAC;AACvD,QAAA,YAAY,GAA2C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGrE,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGxE,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGxE,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,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BAC7B,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD,KAAK,kCAAkC;gBACnC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,4BAA4B;gBAC7B,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA"}
|
package/gtm/policy.d.ts
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Scheduling policy configuration under the GTM instance, identified by GtmId and PolicyType, and maintained via UpdatePolicy.
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcenginecc:gtm/policy:Policy example "gtm_id|policy_type"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class Policy extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing Policy resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PolicyState, opts?: pulumi.CustomResourceOptions): Policy;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Policy. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is Policy;
|
|
29
|
+
/**
|
|
30
|
+
* If the current address pool set is unavailable, Cloud Scheduling GTM only triggers an alert notification and does not automatically switch to an available address pool. true: Cloud Scheduling GTM only triggers an alert notification. false: Cloud Scheduling GTM automatically switches to an available address pool
|
|
31
|
+
*/
|
|
32
|
+
readonly alarmOnly: pulumi.Output<boolean>;
|
|
33
|
+
/**
|
|
34
|
+
* UUID of the GTM instance. You can obtain GtmId through the ListGtms API
|
|
35
|
+
*/
|
|
36
|
+
readonly gtmId: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Routing mode for intelligent routing strategy. perf: Performance first. capacity: Capacity first. feedback: Load feedback
|
|
39
|
+
*/
|
|
40
|
+
readonly perfMode: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Strategy type. geo: Basic routing. perf: Intelligent routing
|
|
43
|
+
*/
|
|
44
|
+
readonly policyType: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Routing mode. The parameter values are: lb: Based on load balancing, user traffic is routed proportionally to different IDCs. geo: Based on the user's geographic location and operator, user traffic is routed to the nearest IDC on the same operator's network. geo-lb (default): First, based on the user's geographic location and operator, user traffic is routed to the nearest IDC access line on the same operator's network. Then, based on load balancing, user traffic is routed proportionally to multiple IDCs
|
|
47
|
+
*/
|
|
48
|
+
readonly routingMode: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Statistical information about address status
|
|
51
|
+
*/
|
|
52
|
+
readonly statistics: pulumi.Output<outputs.gtm.PolicyStatistics>;
|
|
53
|
+
readonly targets: pulumi.Output<outputs.gtm.PolicyTarget[]>;
|
|
54
|
+
/**
|
|
55
|
+
* Create a Policy resource with the given unique name, arguments, and options.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resource.
|
|
58
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
59
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
60
|
+
*/
|
|
61
|
+
constructor(name: string, args: PolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Input properties used for looking up and filtering Policy resources.
|
|
65
|
+
*/
|
|
66
|
+
export interface PolicyState {
|
|
67
|
+
/**
|
|
68
|
+
* If the current address pool set is unavailable, Cloud Scheduling GTM only triggers an alert notification and does not automatically switch to an available address pool. true: Cloud Scheduling GTM only triggers an alert notification. false: Cloud Scheduling GTM automatically switches to an available address pool
|
|
69
|
+
*/
|
|
70
|
+
alarmOnly?: pulumi.Input<boolean>;
|
|
71
|
+
/**
|
|
72
|
+
* UUID of the GTM instance. You can obtain GtmId through the ListGtms API
|
|
73
|
+
*/
|
|
74
|
+
gtmId?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Routing mode for intelligent routing strategy. perf: Performance first. capacity: Capacity first. feedback: Load feedback
|
|
77
|
+
*/
|
|
78
|
+
perfMode?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Strategy type. geo: Basic routing. perf: Intelligent routing
|
|
81
|
+
*/
|
|
82
|
+
policyType?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Routing mode. The parameter values are: lb: Based on load balancing, user traffic is routed proportionally to different IDCs. geo: Based on the user's geographic location and operator, user traffic is routed to the nearest IDC on the same operator's network. geo-lb (default): First, based on the user's geographic location and operator, user traffic is routed to the nearest IDC access line on the same operator's network. Then, based on load balancing, user traffic is routed proportionally to multiple IDCs
|
|
85
|
+
*/
|
|
86
|
+
routingMode?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Statistical information about address status
|
|
89
|
+
*/
|
|
90
|
+
statistics?: pulumi.Input<inputs.gtm.PolicyStatistics>;
|
|
91
|
+
targets?: pulumi.Input<pulumi.Input<inputs.gtm.PolicyTarget>[]>;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* The set of arguments for constructing a Policy resource.
|
|
95
|
+
*/
|
|
96
|
+
export interface PolicyArgs {
|
|
97
|
+
/**
|
|
98
|
+
* If the current address pool set is unavailable, Cloud Scheduling GTM only triggers an alert notification and does not automatically switch to an available address pool. true: Cloud Scheduling GTM only triggers an alert notification. false: Cloud Scheduling GTM automatically switches to an available address pool
|
|
99
|
+
*/
|
|
100
|
+
alarmOnly?: pulumi.Input<boolean>;
|
|
101
|
+
/**
|
|
102
|
+
* UUID of the GTM instance. You can obtain GtmId through the ListGtms API
|
|
103
|
+
*/
|
|
104
|
+
gtmId: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Strategy type. geo: Basic routing. perf: Intelligent routing
|
|
107
|
+
*/
|
|
108
|
+
policyType: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Routing mode. The parameter values are: lb: Based on load balancing, user traffic is routed proportionally to different IDCs. geo: Based on the user's geographic location and operator, user traffic is routed to the nearest IDC on the same operator's network. geo-lb (default): First, based on the user's geographic location and operator, user traffic is routed to the nearest IDC access line on the same operator's network. Then, based on load balancing, user traffic is routed proportionally to multiple IDCs
|
|
111
|
+
*/
|
|
112
|
+
routingMode?: pulumi.Input<string>;
|
|
113
|
+
targets?: pulumi.Input<pulumi.Input<inputs.gtm.PolicyTarget>[]>;
|
|
114
|
+
}
|
package/gtm/policy.js
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
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.Policy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Scheduling policy configuration under the GTM instance, identified by GtmId and PolicyType, and maintained via UpdatePolicy.
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:gtm/policy:Policy example "gtm_id|policy_type"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class Policy extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing Policy resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new Policy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of Policy. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === Policy.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["alarmOnly"] = state ? state.alarmOnly : undefined;
|
|
46
|
+
resourceInputs["gtmId"] = state ? state.gtmId : undefined;
|
|
47
|
+
resourceInputs["perfMode"] = state ? state.perfMode : undefined;
|
|
48
|
+
resourceInputs["policyType"] = state ? state.policyType : undefined;
|
|
49
|
+
resourceInputs["routingMode"] = state ? state.routingMode : undefined;
|
|
50
|
+
resourceInputs["statistics"] = state ? state.statistics : undefined;
|
|
51
|
+
resourceInputs["targets"] = state ? state.targets : undefined;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
const args = argsOrState;
|
|
55
|
+
if ((!args || args.gtmId === undefined) && !opts.urn) {
|
|
56
|
+
throw new Error("Missing required property 'gtmId'");
|
|
57
|
+
}
|
|
58
|
+
if ((!args || args.policyType === undefined) && !opts.urn) {
|
|
59
|
+
throw new Error("Missing required property 'policyType'");
|
|
60
|
+
}
|
|
61
|
+
resourceInputs["alarmOnly"] = args ? args.alarmOnly : undefined;
|
|
62
|
+
resourceInputs["gtmId"] = args ? args.gtmId : undefined;
|
|
63
|
+
resourceInputs["policyType"] = args ? args.policyType : undefined;
|
|
64
|
+
resourceInputs["routingMode"] = args ? args.routingMode : undefined;
|
|
65
|
+
resourceInputs["targets"] = args ? args.targets : undefined;
|
|
66
|
+
resourceInputs["perfMode"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["statistics"] = undefined /*out*/;
|
|
68
|
+
}
|
|
69
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
70
|
+
super(Policy.__pulumiType, name, resourceInputs, opts);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.Policy = Policy;
|
|
74
|
+
/** @internal */
|
|
75
|
+
Policy.__pulumiType = 'volcenginecc:gtm/policy:Policy';
|
|
76
|
+
//# sourceMappingURL=policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../gtm/policy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;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;IAoCD,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;YACrD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAA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AAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;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;;AA5FL,wBA6FC;AA/EG,gBAAgB;AACO,mBAAY,GAAG,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::Kafka::Group
|
|
5
|
+
*/
|
|
6
|
+
export declare function getGroup(args: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getGroup.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetGroupArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getGroup.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetGroupResult {
|
|
20
|
+
/**
|
|
21
|
+
* Algorithm for assigning partitions to consumers, specified by the consumer client. If using custom partition consumption, this field may be empty
|
|
22
|
+
*/
|
|
23
|
+
readonly balanceAlgorithm: string;
|
|
24
|
+
/**
|
|
25
|
+
* Consumer group description, up to 128 characters
|
|
26
|
+
*/
|
|
27
|
+
readonly description: string;
|
|
28
|
+
/**
|
|
29
|
+
* Consumer group ID to be created - Length: 3–128 characters - Can contain uppercase and lowercase letters, numbers, hyphens (-), special character (@), and underscores (_) - Must include at least one letter or number
|
|
30
|
+
*/
|
|
31
|
+
readonly groupId: string;
|
|
32
|
+
/**
|
|
33
|
+
* Uniquely identifies the resource.
|
|
34
|
+
*/
|
|
35
|
+
readonly id: string;
|
|
36
|
+
/**
|
|
37
|
+
* Instance ID
|
|
38
|
+
*/
|
|
39
|
+
readonly instanceId: string;
|
|
40
|
+
/**
|
|
41
|
+
* Consumer group protocol type - If using the standard Kafka consumer protocol, displays as consumer - If using another protocol type, displays the corresponding protocol name, for example, connect when using Kafka-Connector - If using custom partition consumption, this field may be empty
|
|
42
|
+
*/
|
|
43
|
+
readonly protocolType: string;
|
|
44
|
+
/**
|
|
45
|
+
* Consumer group status - PreparingRebalance: preparing for consumption - CompletingRebalance: assigning partitions - Stable: consuming - Empty: not consuming - Dead: expired
|
|
46
|
+
*/
|
|
47
|
+
readonly state: string;
|
|
48
|
+
/**
|
|
49
|
+
* Group tags
|
|
50
|
+
*/
|
|
51
|
+
readonly tags: outputs.kafka.GetGroupTag[];
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Data Source schema for Volcengine::Kafka::Group
|
|
55
|
+
*/
|
|
56
|
+
export declare function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupResult>;
|
|
57
|
+
/**
|
|
58
|
+
* A collection of arguments for invoking getGroup.
|
|
59
|
+
*/
|
|
60
|
+
export interface GetGroupOutputArgs {
|
|
61
|
+
/**
|
|
62
|
+
* Uniquely identifies the resource.
|
|
63
|
+
*/
|
|
64
|
+
id: pulumi.Input<string>;
|
|
65
|
+
}
|
|
@@ -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.getGroupOutput = exports.getGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::Kafka::Group
|
|
10
|
+
*/
|
|
11
|
+
function getGroup(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:kafka/getGroup:getGroup", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getGroup = getGroup;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::Kafka::Group
|
|
20
|
+
*/
|
|
21
|
+
function getGroupOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:kafka/getGroup:getGroup", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getGroupOutput = getGroupOutput;
|
|
28
|
+
//# sourceMappingURL=getGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../../kafka/getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AAiDD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::Kafka::Group
|
|
4
|
+
*/
|
|
5
|
+
export declare function getGroups(opts?: pulumi.InvokeOptions): Promise<GetGroupsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getGroups.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetGroupsResult {
|
|
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::Kafka::Group
|
|
21
|
+
*/
|
|
22
|
+
export declare function getGroupsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupsResult>;
|
|
@@ -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.getGroupsOutput = exports.getGroups = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::Kafka::Group
|
|
10
|
+
*/
|
|
11
|
+
function getGroups(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:kafka/getGroups:getGroups", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getGroups = getGroups;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::Kafka::Group
|
|
18
|
+
*/
|
|
19
|
+
function getGroupsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:kafka/getGroups:getGroups", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getGroupsOutput = getGroupsOutput;
|
|
24
|
+
//# sourceMappingURL=getGroups.js.map
|