@byteplus/pulumi-bytepluscc 0.0.35 → 0.0.37
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/alb/acl.d.ts +20 -21
- package/alb/acl.js +2 -2
- package/alb/acl.js.map +1 -1
- package/alb/certificate.d.ts +19 -3
- package/alb/certificate.js +3 -4
- package/alb/certificate.js.map +1 -1
- package/alb/getAcl.d.ts +11 -11
- package/alb/getCertificate.d.ts +5 -1
- package/alb/getCertificate.js.map +1 -1
- package/alb/getListener.d.ts +20 -20
- package/alb/getServerGroup.d.ts +9 -9
- package/alb/listener.d.ts +52 -52
- package/alb/listener.js +1 -1
- package/alb/serverGroup.d.ts +24 -24
- package/alb/serverGroup.js +1 -1
- package/bmq/getGroup.d.ts +10 -10
- package/bmq/getInstance.d.ts +13 -13
- package/bmq/group.d.ts +23 -43
- package/bmq/group.js +1 -21
- package/bmq/group.js.map +1 -1
- package/bmq/instance.d.ts +44 -44
- package/bmq/instance.js +6 -6
- package/cloudidentity/userProvisioning.d.ts +2 -2
- package/cloudidentity/userProvisioning.js +2 -2
- 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/getRule.d.ts +11 -11
- package/cloudmonitor/index.d.ts +9 -0
- package/cloudmonitor/index.js +12 -1
- package/cloudmonitor/index.js.map +1 -1
- package/cloudmonitor/rule.d.ts +33 -33
- package/cr/getRegistry.d.ts +11 -11
- 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/registry.d.ts +28 -28
- package/cr/registry.js +1 -1
- package/cr/vpcEndpoint.d.ts +62 -0
- package/cr/vpcEndpoint.js +66 -0
- package/cr/vpcEndpoint.js.map +1 -0
- package/directconnect/connection.d.ts +332 -0
- package/directconnect/connection.js +163 -0
- package/directconnect/connection.js.map +1 -0
- package/directconnect/getConnection.d.ts +145 -0
- package/directconnect/getConnection.js +28 -0
- package/directconnect/getConnection.js.map +1 -0
- package/directconnect/getConnections.d.ts +22 -0
- package/directconnect/getConnections.js +24 -0
- package/directconnect/getConnections.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/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/fwcenter/addressBook.d.ts +210 -0
- package/fwcenter/addressBook.js +115 -0
- package/fwcenter/addressBook.js.map +1 -0
- package/fwcenter/controlPolicy.d.ts +437 -0
- package/fwcenter/controlPolicy.js +183 -0
- package/fwcenter/controlPolicy.js.map +1 -0
- package/fwcenter/getAddressBook.d.ts +93 -0
- package/fwcenter/getAddressBook.js +28 -0
- package/fwcenter/getAddressBook.js.map +1 -0
- package/fwcenter/getAddressBooks.d.ts +22 -0
- package/fwcenter/getAddressBooks.js +24 -0
- package/fwcenter/getAddressBooks.js.map +1 -0
- package/fwcenter/getControlPolicies.d.ts +22 -0
- package/fwcenter/getControlPolicies.js +24 -0
- package/fwcenter/getControlPolicies.js.map +1 -0
- package/fwcenter/getControlPolicy.d.ts +185 -0
- package/fwcenter/getControlPolicy.js +28 -0
- package/fwcenter/getControlPolicy.js.map +1 -0
- package/fwcenter/getVpcFireWallAclRule.d.ts +189 -0
- package/fwcenter/getVpcFireWallAclRule.js +28 -0
- package/fwcenter/getVpcFireWallAclRule.js.map +1 -0
- package/fwcenter/getVpcFireWallAclRules.d.ts +22 -0
- package/fwcenter/getVpcFireWallAclRules.js +24 -0
- package/fwcenter/getVpcFireWallAclRules.js.map +1 -0
- package/fwcenter/index.d.ts +27 -0
- package/fwcenter/index.js +34 -1
- package/fwcenter/index.js.map +1 -1
- package/fwcenter/vpcFireWallAclRule.d.ts +446 -0
- package/fwcenter/vpcFireWallAclRule.js +186 -0
- package/fwcenter/vpcFireWallAclRule.js.map +1 -0
- package/gtm/getGtm.d.ts +9 -0
- package/gtm/getGtm.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/gtm.d.ts +18 -0
- package/gtm/gtm.js +4 -0
- package/gtm/gtm.js.map +1 -1
- 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/iam/accesskey.d.ts +0 -4
- package/iam/accesskey.js +1 -1
- package/iam/accesskey.js.map +1 -1
- package/kafka/allowList.d.ts +0 -22
- package/kafka/allowList.js +0 -22
- package/kafka/allowList.js.map +1 -1
- 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/organization/getServiceControlPolicyEnabler.d.ts +48 -0
- package/organization/getServiceControlPolicyEnabler.js +28 -0
- package/organization/getServiceControlPolicyEnabler.js.map +1 -0
- package/organization/getServiceControlPolicyEnablers.d.ts +22 -0
- package/organization/getServiceControlPolicyEnablers.js +24 -0
- package/organization/getServiceControlPolicyEnablers.js.map +1 -0
- package/organization/index.d.ts +9 -0
- package/organization/index.js +12 -1
- package/organization/index.js.map +1 -1
- package/organization/serviceControlPolicyEnabler.d.ts +78 -0
- package/organization/serviceControlPolicyEnabler.js +71 -0
- package/organization/serviceControlPolicyEnabler.js.map +1 -0
- package/package.json +1 -1
- package/rabbitmq/allowList.d.ts +0 -17
- package/rabbitmq/allowList.js +0 -17
- package/rabbitmq/allowList.js.map +1 -1
- package/rdsmysql/allowList.d.ts +1 -0
- package/rdsmysql/allowList.js +1 -1
- package/rdsmysql/allowList.js.map +1 -1
- package/rdsmysql/getInstance.d.ts +16 -0
- package/rdsmysql/getInstance.js.map +1 -1
- package/rdsmysql/instance.d.ts +48 -0
- package/rdsmysql/instance.js +8 -0
- package/rdsmysql/instance.js.map +1 -1
- package/redis/getInstance.d.ts +4 -0
- package/redis/getInstance.js.map +1 -1
- package/redis/instance.d.ts +3 -0
- package/redis/instance.js +3 -0
- package/redis/instance.js.map +1 -1
- package/redis/parameterGroup.d.ts +2 -2
- package/redis/parameterGroup.js +2 -2
- package/tls/alarmWebhookIntegrationType.d.ts +159 -0
- package/tls/alarmWebhookIntegrationType.js +108 -0
- package/tls/alarmWebhookIntegrationType.js.map +1 -0
- package/tls/etl.d.ts +222 -0
- package/tls/etl.js +113 -0
- package/tls/etl.js.map +1 -0
- package/tls/getAlarmWebhookIntegrationType.d.ts +73 -0
- package/tls/getAlarmWebhookIntegrationType.js +28 -0
- package/tls/getAlarmWebhookIntegrationType.js.map +1 -0
- package/tls/getAlarmWebhookIntegrationTypes.d.ts +22 -0
- package/tls/getAlarmWebhookIntegrationTypes.js +24 -0
- package/tls/getAlarmWebhookIntegrationTypes.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 +36 -0
- package/tls/index.js +46 -1
- package/tls/index.js.map +1 -1
- package/types/input.d.ts +1091 -107
- package/types/output.d.ts +6134 -4076
- package/vke/node.d.ts +1 -1
- package/vke/node.js +0 -3
- package/vke/node.js.map +1 -1
- package/vmp/ruleFile.d.ts +2 -2
- package/vmp/ruleFile.js +2 -2
- package/vpc/vpc.d.ts +4 -0
- package/vpc/vpc.js +1 -1
- package/vpc/vpc.js.map +1 -1
- package/waf/getHostGroup.d.ts +69 -0
- package/waf/getHostGroup.js +28 -0
- package/waf/getHostGroup.js.map +1 -0
- package/waf/getHostGroups.d.ts +22 -0
- package/waf/getHostGroups.js +24 -0
- package/waf/getHostGroups.js.map +1 -0
- package/waf/hostGroup.d.ts +135 -0
- package/waf/hostGroup.js +92 -0
- package/waf/hostGroup.js.map +1 -0
- package/waf/index.d.ts +9 -0
- package/waf/index.js +12 -1
- package/waf/index.js.map +1 -1
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 bytepluscc: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 bytepluscc: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 = 'bytepluscc: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,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AAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,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,8BAA8B,CAAC"}
|
package/iam/accesskey.d.ts
CHANGED
|
@@ -131,10 +131,6 @@ export interface AccesskeyState {
|
|
|
131
131
|
* The set of arguments for constructing a Accesskey resource.
|
|
132
132
|
*/
|
|
133
133
|
export interface AccesskeyArgs {
|
|
134
|
-
/**
|
|
135
|
-
* Secret Access Key.
|
|
136
|
-
*/
|
|
137
|
-
secretAccessKey?: pulumi.Input<string>;
|
|
138
134
|
/**
|
|
139
135
|
* Key status. active means enabled, inactive means disabled.
|
|
140
136
|
*/
|
package/iam/accesskey.js
CHANGED
|
@@ -64,7 +64,6 @@ class Accesskey extends pulumi.CustomResource {
|
|
|
64
64
|
}
|
|
65
65
|
else {
|
|
66
66
|
const args = argsOrState;
|
|
67
|
-
resourceInputs["secretAccessKey"] = args ? args.secretAccessKey : undefined;
|
|
68
67
|
resourceInputs["status"] = args ? args.status : undefined;
|
|
69
68
|
resourceInputs["userName"] = args ? args.userName : undefined;
|
|
70
69
|
resourceInputs["accessKeyId"] = undefined /*out*/;
|
|
@@ -72,6 +71,7 @@ class Accesskey extends pulumi.CustomResource {
|
|
|
72
71
|
resourceInputs["lastLoginDate"] = undefined /*out*/;
|
|
73
72
|
resourceInputs["region"] = undefined /*out*/;
|
|
74
73
|
resourceInputs["requestTime"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["secretAccessKey"] = undefined /*out*/;
|
|
75
75
|
resourceInputs["service"] = undefined /*out*/;
|
|
76
76
|
resourceInputs["updatedTime"] = undefined /*out*/;
|
|
77
77
|
}
|
package/iam/accesskey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accesskey.js","sourceRoot":"","sources":["../../iam/accesskey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI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AAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA3GL,8BA4GC;AA9FG,gBAAgB;AACO,sBAAY,GAAG,oCAAoC,CAAC"}
|
package/kafka/allowList.d.ts
CHANGED
|
@@ -4,28 +4,6 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* When creating a Kafka instance, you can bind an allowlist as needed. After binding the allowlist to the Kafka instance, only IP addresses and address ranges specified in the allowlist can access the Kafka message queue instance. For security, we recommend creating an allowlist and adding the client IP address or IP address range to the Kafka instance's allowlist. Regularly maintain and manage the allowlist to enhance the security of Kafka instance access
|
|
6
6
|
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as bytepluscc from "@pulumi/bytepluscc";
|
|
12
|
-
*
|
|
13
|
-
* const kafkaAllowListDemo = new bytepluscc.index.KafkaAllowlist("KafkaAllowListDemo", {
|
|
14
|
-
* allowList: "127.0.0.2",
|
|
15
|
-
* allowListDesc: "test",
|
|
16
|
-
* allowListName: "ccapi-text",
|
|
17
|
-
* associatedInstances: [
|
|
18
|
-
* {
|
|
19
|
-
* instanceId: "kafka-cnng9x9s***",
|
|
20
|
-
* },
|
|
21
|
-
* {
|
|
22
|
-
* instanceId: "kafka-cnnghf99**",
|
|
23
|
-
* },
|
|
24
|
-
* ],
|
|
25
|
-
* applyInstanceNum: 2,
|
|
26
|
-
* });
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
7
|
* ## Import
|
|
30
8
|
*
|
|
31
9
|
* ```sh
|
package/kafka/allowList.js
CHANGED
|
@@ -8,28 +8,6 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* When creating a Kafka instance, you can bind an allowlist as needed. After binding the allowlist to the Kafka instance, only IP addresses and address ranges specified in the allowlist can access the Kafka message queue instance. For security, we recommend creating an allowlist and adding the client IP address or IP address range to the Kafka instance's allowlist. Regularly maintain and manage the allowlist to enhance the security of Kafka instance access
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as bytepluscc from "@pulumi/bytepluscc";
|
|
16
|
-
*
|
|
17
|
-
* const kafkaAllowListDemo = new bytepluscc.index.KafkaAllowlist("KafkaAllowListDemo", {
|
|
18
|
-
* allowList: "127.0.0.2",
|
|
19
|
-
* allowListDesc: "test",
|
|
20
|
-
* allowListName: "ccapi-text",
|
|
21
|
-
* associatedInstances: [
|
|
22
|
-
* {
|
|
23
|
-
* instanceId: "kafka-cnng9x9s***",
|
|
24
|
-
* },
|
|
25
|
-
* {
|
|
26
|
-
* instanceId: "kafka-cnnghf99**",
|
|
27
|
-
* },
|
|
28
|
-
* ],
|
|
29
|
-
* applyInstanceNum: 2,
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
11
|
* ## Import
|
|
34
12
|
*
|
|
35
13
|
* ```sh
|
package/kafka/allowList.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allowList.js","sourceRoot":"","sources":["../../kafka/allowList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"allowList.js","sourceRoot":"","sources":["../../kafka/allowList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAwCD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAA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C,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAlGL,8BAmGC;AArFG,gBAAgB;AACO,sBAAY,GAAG,sCAAsC,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 Byteplus::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 Byteplus::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 Byteplus::Kafka::Group
|
|
10
|
+
*/
|
|
11
|
+
function getGroup(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:kafka/getGroup:getGroup", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getGroup = getGroup;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Byteplus::Kafka::Group
|
|
20
|
+
*/
|
|
21
|
+
function getGroupOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("bytepluscc: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,oCAAoC,EAAE;QAC/D,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,oCAAoC,EAAE;QACrE,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 Byteplus::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 Byteplus::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 Byteplus::Kafka::Group
|
|
10
|
+
*/
|
|
11
|
+
function getGroups(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:kafka/getGroups:getGroups", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getGroups = getGroups;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Byteplus::Kafka::Group
|
|
18
|
+
*/
|
|
19
|
+
function getGroupsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("bytepluscc:kafka/getGroups:getGroups", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getGroupsOutput = getGroupsOutput;
|
|
24
|
+
//# sourceMappingURL=getGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroups.js","sourceRoot":"","sources":["../../kafka/getGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAA2B;IACjD,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,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8BAIC;AAeD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAiC;IAC7D,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,EAC1E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC"}
|
package/kafka/group.d.ts
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Group basic information
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
12
|
+
*
|
|
13
|
+
* const kafkaGroupDemo = new bytepluscc.kafka.Group("KafkaGroupDemo", {
|
|
14
|
+
* instanceId: "instance_id_xxxxxx",
|
|
15
|
+
* groupId: "ccapi-test-2",
|
|
16
|
+
* description: "test",
|
|
17
|
+
* tags: [{
|
|
18
|
+
* key: "env",
|
|
19
|
+
* value: "test",
|
|
20
|
+
* }],
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import bytepluscc:kafka/group:Group example "instance_id|group_id"
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class Group extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing Group 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?: GroupState, opts?: pulumi.CustomResourceOptions): Group;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of Group. 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 Group;
|
|
46
|
+
/**
|
|
47
|
+
* Algorithm for assigning partitions to consumers, specified by the consumer client. If using custom partition consumption, this field may be empty
|
|
48
|
+
*/
|
|
49
|
+
readonly balanceAlgorithm: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Consumer group description, up to 128 characters
|
|
52
|
+
*/
|
|
53
|
+
readonly description: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* 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
|
|
56
|
+
*/
|
|
57
|
+
readonly groupId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Instance ID
|
|
60
|
+
*/
|
|
61
|
+
readonly instanceId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* 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
|
|
64
|
+
*/
|
|
65
|
+
readonly protocolType: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Consumer group status - PreparingRebalance: preparing for consumption - CompletingRebalance: assigning partitions - Stable: consuming - Empty: not consuming - Dead: expired
|
|
68
|
+
*/
|
|
69
|
+
readonly state: pulumi.Output<string>;
|
|
70
|
+
readonly tags: pulumi.Output<outputs.kafka.GroupTag[]>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a Group resource with the given unique name, arguments, and options.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resource.
|
|
75
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
76
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
77
|
+
*/
|
|
78
|
+
constructor(name: string, args: GroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Input properties used for looking up and filtering Group resources.
|
|
82
|
+
*/
|
|
83
|
+
export interface GroupState {
|
|
84
|
+
/**
|
|
85
|
+
* Algorithm for assigning partitions to consumers, specified by the consumer client. If using custom partition consumption, this field may be empty
|
|
86
|
+
*/
|
|
87
|
+
balanceAlgorithm?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Consumer group description, up to 128 characters
|
|
90
|
+
*/
|
|
91
|
+
description?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* 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
|
|
94
|
+
*/
|
|
95
|
+
groupId?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Instance ID
|
|
98
|
+
*/
|
|
99
|
+
instanceId?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* 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
|
|
102
|
+
*/
|
|
103
|
+
protocolType?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Consumer group status - PreparingRebalance: preparing for consumption - CompletingRebalance: assigning partitions - Stable: consuming - Empty: not consuming - Dead: expired
|
|
106
|
+
*/
|
|
107
|
+
state?: pulumi.Input<string>;
|
|
108
|
+
tags?: pulumi.Input<pulumi.Input<inputs.kafka.GroupTag>[]>;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* The set of arguments for constructing a Group resource.
|
|
112
|
+
*/
|
|
113
|
+
export interface GroupArgs {
|
|
114
|
+
/**
|
|
115
|
+
* Consumer group description, up to 128 characters
|
|
116
|
+
*/
|
|
117
|
+
description?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* 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
|
|
120
|
+
*/
|
|
121
|
+
groupId: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Instance ID
|
|
124
|
+
*/
|
|
125
|
+
instanceId: pulumi.Input<string>;
|
|
126
|
+
tags?: pulumi.Input<pulumi.Input<inputs.kafka.GroupTag>[]>;
|
|
127
|
+
}
|