@pulumi/alicloud 3.20.0 → 3.21.0

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.
Files changed (89) hide show
  1. package/cfg/delivery.d.ts +186 -0
  2. package/cfg/delivery.js +88 -0
  3. package/cfg/delivery.js.map +1 -0
  4. package/cfg/getDeliveries.d.ts +74 -0
  5. package/cfg/getDeliveries.js +45 -0
  6. package/cfg/getDeliveries.js.map +1 -0
  7. package/cfg/index.d.ts +2 -0
  8. package/cfg/index.js +6 -0
  9. package/cfg/index.js.map +1 -1
  10. package/cms/getNamespaces.d.ts +70 -0
  11. package/cms/getNamespaces.js +46 -0
  12. package/cms/getNamespaces.js.map +1 -0
  13. package/cms/getSlsGroups.d.ts +84 -0
  14. package/cms/getSlsGroups.js +51 -0
  15. package/cms/getSlsGroups.js.map +1 -0
  16. package/cms/index.d.ts +4 -0
  17. package/cms/index.js +12 -0
  18. package/cms/index.js.map +1 -1
  19. package/cms/monitorGroup.d.ts +9 -0
  20. package/cms/monitorGroup.js.map +1 -1
  21. package/cms/namespace.d.ts +119 -0
  22. package/cms/namespace.js +85 -0
  23. package/cms/namespace.js.map +1 -0
  24. package/cms/slsGroup.d.ts +109 -0
  25. package/cms/slsGroup.js +95 -0
  26. package/cms/slsGroup.js.map +1 -0
  27. package/cs/getKubernetesVersion.d.ts +1 -1
  28. package/cs/getKubernetesVersion.js +1 -1
  29. package/cs/kubernetes.d.ts +1 -1
  30. package/cs/managedKubernetes.d.ts +13 -1
  31. package/cs/managedKubernetes.js +2 -0
  32. package/cs/managedKubernetes.js.map +1 -1
  33. package/cs/serverlessKubernetes.d.ts +12 -0
  34. package/cs/serverlessKubernetes.js +2 -0
  35. package/cs/serverlessKubernetes.js.map +1 -1
  36. package/dms/enterpriseInstance.d.ts +39 -3
  37. package/dms/enterpriseInstance.js.map +1 -1
  38. package/eci/containerGroup.d.ts +76 -0
  39. package/eci/containerGroup.js +14 -0
  40. package/eci/containerGroup.js.map +1 -1
  41. package/ecs/instance.d.ts +12 -0
  42. package/ecs/instance.js +2 -0
  43. package/ecs/instance.js.map +1 -1
  44. package/eds/bundle.d.ts +195 -0
  45. package/eds/bundle.js +122 -0
  46. package/eds/bundle.js.map +1 -0
  47. package/eds/ecdPolicyGroup.d.ts +60 -0
  48. package/eds/ecdPolicyGroup.js +10 -0
  49. package/eds/ecdPolicyGroup.js.map +1 -1
  50. package/eds/getDesktopTypes.d.ts +100 -0
  51. package/eds/getDesktopTypes.js +48 -0
  52. package/eds/getDesktopTypes.js.map +1 -0
  53. package/eds/getImages.d.ts +18 -0
  54. package/eds/getImages.js +2 -0
  55. package/eds/getImages.js.map +1 -1
  56. package/eds/index.d.ts +2 -0
  57. package/eds/index.js +6 -0
  58. package/eds/index.js.map +1 -1
  59. package/graphdatabase/dbInstance.d.ts +32 -0
  60. package/graphdatabase/dbInstance.js +4 -2
  61. package/graphdatabase/dbInstance.js.map +1 -1
  62. package/hbr/getVaults.d.ts +2 -2
  63. package/hbr/restoreJob.d.ts +6 -6
  64. package/package.json +2 -2
  65. package/package.json.dev +2 -2
  66. package/polardb/backupPolicy.d.ts +12 -0
  67. package/polardb/backupPolicy.js +2 -0
  68. package/polardb/backupPolicy.js.map +1 -1
  69. package/polardb/cluster.d.ts +12 -0
  70. package/polardb/cluster.js +2 -0
  71. package/polardb/cluster.js.map +1 -1
  72. package/rds/instance.d.ts +18 -0
  73. package/rds/instance.js +2 -0
  74. package/rds/instance.js.map +1 -1
  75. package/rds/rdsCloneDbInstance.d.ts +18 -0
  76. package/rds/rdsCloneDbInstance.js +2 -0
  77. package/rds/rdsCloneDbInstance.js.map +1 -1
  78. package/rds/rdsUpgradeDbInstance.d.ts +18 -0
  79. package/rds/rdsUpgradeDbInstance.js +2 -0
  80. package/rds/rdsUpgradeDbInstance.js.map +1 -1
  81. package/rocketmq/topic.d.ts +10 -4
  82. package/rocketmq/topic.js.map +1 -1
  83. package/scdn/domain.d.ts +9 -3
  84. package/scdn/domain.js.map +1 -1
  85. package/servicemesh/serviceMesh.d.ts +4 -4
  86. package/slb/backendServer.d.ts +2 -2
  87. package/slb/backendServer.js +2 -2
  88. package/types/input.d.ts +18 -0
  89. package/types/output.d.ts +217 -1
@@ -0,0 +1,186 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a Cloud Config Delivery resource.
4
+ *
5
+ * For information about Cloud Config Delivery and how to use it, see [What is Delivery](https://help.aliyun.com/document_detail/429798.html).
6
+ *
7
+ * > **NOTE:** Available in v1.171.0+.
8
+ *
9
+ * ## Import
10
+ *
11
+ * Cloud Config Delivery can be imported using the id, e.g.
12
+ *
13
+ * ```sh
14
+ * $ pulumi import alicloud:cfg/delivery:Delivery example <id>
15
+ * ```
16
+ */
17
+ export declare class Delivery extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing Delivery 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: string, id: pulumi.Input<pulumi.ID>, state?: DeliveryState, opts?: pulumi.CustomResourceOptions): Delivery;
28
+ /**
29
+ * Returns true if the given object is an instance of Delivery. This is designed to work even
30
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
+ */
32
+ static isInstance(obj: any): obj is Delivery;
33
+ /**
34
+ * Open or close delivery configuration change history. true: open, false: close.
35
+ */
36
+ readonly configurationItemChangeNotification: pulumi.Output<boolean>;
37
+ /**
38
+ * Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`.
39
+ */
40
+ readonly configurationSnapshot: pulumi.Output<boolean>;
41
+ /**
42
+ * The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`.
43
+ */
44
+ readonly deliveryChannelCondition: pulumi.Output<string | undefined>;
45
+ /**
46
+ * The name of the delivery method.
47
+ */
48
+ readonly deliveryChannelName: pulumi.Output<string | undefined>;
49
+ /**
50
+ * The ARN of the delivery destination. The value must be in one of the following formats:
51
+ * * `acs:oss:{RegionId}:{Aliuid}:{bucketName}`: if your delivery destination is an Object Storage Service (OSS) bucket.
52
+ * * `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic.
53
+ * * `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore.
54
+ */
55
+ readonly deliveryChannelTargetArn: pulumi.Output<string>;
56
+ /**
57
+ * The type of the delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.
58
+ */
59
+ readonly deliveryChannelType: pulumi.Output<string>;
60
+ /**
61
+ * The description of the delivery method.
62
+ */
63
+ readonly description: pulumi.Output<string | undefined>;
64
+ /**
65
+ * Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`.
66
+ */
67
+ readonly nonCompliantNotification: pulumi.Output<boolean>;
68
+ /**
69
+ * The oss ARN of the delivery channel when the value data oversized limit.
70
+ * * The value must be in one of the following formats: `acs:oss:{RegionId}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket.
71
+ * * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB.
72
+ */
73
+ readonly oversizedDataOssTargetArn: pulumi.Output<string | undefined>;
74
+ /**
75
+ * The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled. This is the default value.
76
+ */
77
+ readonly status: pulumi.Output<number>;
78
+ /**
79
+ * Create a Delivery resource with the given unique name, arguments, and options.
80
+ *
81
+ * @param name The _unique_ name of the resource.
82
+ * @param args The arguments to use to populate this resource's properties.
83
+ * @param opts A bag of options that control this resource's behavior.
84
+ */
85
+ constructor(name: string, args: DeliveryArgs, opts?: pulumi.CustomResourceOptions);
86
+ }
87
+ /**
88
+ * Input properties used for looking up and filtering Delivery resources.
89
+ */
90
+ export interface DeliveryState {
91
+ /**
92
+ * Open or close delivery configuration change history. true: open, false: close.
93
+ */
94
+ configurationItemChangeNotification?: pulumi.Input<boolean>;
95
+ /**
96
+ * Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`.
97
+ */
98
+ configurationSnapshot?: pulumi.Input<boolean>;
99
+ /**
100
+ * The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`.
101
+ */
102
+ deliveryChannelCondition?: pulumi.Input<string>;
103
+ /**
104
+ * The name of the delivery method.
105
+ */
106
+ deliveryChannelName?: pulumi.Input<string>;
107
+ /**
108
+ * The ARN of the delivery destination. The value must be in one of the following formats:
109
+ * * `acs:oss:{RegionId}:{Aliuid}:{bucketName}`: if your delivery destination is an Object Storage Service (OSS) bucket.
110
+ * * `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic.
111
+ * * `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore.
112
+ */
113
+ deliveryChannelTargetArn?: pulumi.Input<string>;
114
+ /**
115
+ * The type of the delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.
116
+ */
117
+ deliveryChannelType?: pulumi.Input<string>;
118
+ /**
119
+ * The description of the delivery method.
120
+ */
121
+ description?: pulumi.Input<string>;
122
+ /**
123
+ * Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`.
124
+ */
125
+ nonCompliantNotification?: pulumi.Input<boolean>;
126
+ /**
127
+ * The oss ARN of the delivery channel when the value data oversized limit.
128
+ * * The value must be in one of the following formats: `acs:oss:{RegionId}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket.
129
+ * * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB.
130
+ */
131
+ oversizedDataOssTargetArn?: pulumi.Input<string>;
132
+ /**
133
+ * The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled. This is the default value.
134
+ */
135
+ status?: pulumi.Input<number>;
136
+ }
137
+ /**
138
+ * The set of arguments for constructing a Delivery resource.
139
+ */
140
+ export interface DeliveryArgs {
141
+ /**
142
+ * Open or close delivery configuration change history. true: open, false: close.
143
+ */
144
+ configurationItemChangeNotification?: pulumi.Input<boolean>;
145
+ /**
146
+ * Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`.
147
+ */
148
+ configurationSnapshot?: pulumi.Input<boolean>;
149
+ /**
150
+ * The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`.
151
+ */
152
+ deliveryChannelCondition?: pulumi.Input<string>;
153
+ /**
154
+ * The name of the delivery method.
155
+ */
156
+ deliveryChannelName?: pulumi.Input<string>;
157
+ /**
158
+ * The ARN of the delivery destination. The value must be in one of the following formats:
159
+ * * `acs:oss:{RegionId}:{Aliuid}:{bucketName}`: if your delivery destination is an Object Storage Service (OSS) bucket.
160
+ * * `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic.
161
+ * * `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore.
162
+ */
163
+ deliveryChannelTargetArn: pulumi.Input<string>;
164
+ /**
165
+ * The type of the delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.
166
+ */
167
+ deliveryChannelType: pulumi.Input<string>;
168
+ /**
169
+ * The description of the delivery method.
170
+ */
171
+ description?: pulumi.Input<string>;
172
+ /**
173
+ * Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`.
174
+ */
175
+ nonCompliantNotification?: pulumi.Input<boolean>;
176
+ /**
177
+ * The oss ARN of the delivery channel when the value data oversized limit.
178
+ * * The value must be in one of the following formats: `acs:oss:{RegionId}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket.
179
+ * * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB.
180
+ */
181
+ oversizedDataOssTargetArn?: pulumi.Input<string>;
182
+ /**
183
+ * The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled. This is the default value.
184
+ */
185
+ status?: pulumi.Input<number>;
186
+ }
@@ -0,0 +1,88 @@
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.Delivery = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a Cloud Config Delivery resource.
10
+ *
11
+ * For information about Cloud Config Delivery and how to use it, see [What is Delivery](https://help.aliyun.com/document_detail/429798.html).
12
+ *
13
+ * > **NOTE:** Available in v1.171.0+.
14
+ *
15
+ * ## Import
16
+ *
17
+ * Cloud Config Delivery can be imported using the id, e.g.
18
+ *
19
+ * ```sh
20
+ * $ pulumi import alicloud:cfg/delivery:Delivery example <id>
21
+ * ```
22
+ */
23
+ class Delivery extends pulumi.CustomResource {
24
+ constructor(name, argsOrState, opts) {
25
+ let resourceInputs = {};
26
+ opts = opts || {};
27
+ if (opts.id) {
28
+ const state = argsOrState;
29
+ resourceInputs["configurationItemChangeNotification"] = state ? state.configurationItemChangeNotification : undefined;
30
+ resourceInputs["configurationSnapshot"] = state ? state.configurationSnapshot : undefined;
31
+ resourceInputs["deliveryChannelCondition"] = state ? state.deliveryChannelCondition : undefined;
32
+ resourceInputs["deliveryChannelName"] = state ? state.deliveryChannelName : undefined;
33
+ resourceInputs["deliveryChannelTargetArn"] = state ? state.deliveryChannelTargetArn : undefined;
34
+ resourceInputs["deliveryChannelType"] = state ? state.deliveryChannelType : undefined;
35
+ resourceInputs["description"] = state ? state.description : undefined;
36
+ resourceInputs["nonCompliantNotification"] = state ? state.nonCompliantNotification : undefined;
37
+ resourceInputs["oversizedDataOssTargetArn"] = state ? state.oversizedDataOssTargetArn : undefined;
38
+ resourceInputs["status"] = state ? state.status : undefined;
39
+ }
40
+ else {
41
+ const args = argsOrState;
42
+ if ((!args || args.deliveryChannelTargetArn === undefined) && !opts.urn) {
43
+ throw new Error("Missing required property 'deliveryChannelTargetArn'");
44
+ }
45
+ if ((!args || args.deliveryChannelType === undefined) && !opts.urn) {
46
+ throw new Error("Missing required property 'deliveryChannelType'");
47
+ }
48
+ resourceInputs["configurationItemChangeNotification"] = args ? args.configurationItemChangeNotification : undefined;
49
+ resourceInputs["configurationSnapshot"] = args ? args.configurationSnapshot : undefined;
50
+ resourceInputs["deliveryChannelCondition"] = args ? args.deliveryChannelCondition : undefined;
51
+ resourceInputs["deliveryChannelName"] = args ? args.deliveryChannelName : undefined;
52
+ resourceInputs["deliveryChannelTargetArn"] = args ? args.deliveryChannelTargetArn : undefined;
53
+ resourceInputs["deliveryChannelType"] = args ? args.deliveryChannelType : undefined;
54
+ resourceInputs["description"] = args ? args.description : undefined;
55
+ resourceInputs["nonCompliantNotification"] = args ? args.nonCompliantNotification : undefined;
56
+ resourceInputs["oversizedDataOssTargetArn"] = args ? args.oversizedDataOssTargetArn : undefined;
57
+ resourceInputs["status"] = args ? args.status : undefined;
58
+ }
59
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
60
+ super(Delivery.__pulumiType, name, resourceInputs, opts);
61
+ }
62
+ /**
63
+ * Get an existing Delivery resource's state with the given name, ID, and optional extra
64
+ * properties used to qualify the lookup.
65
+ *
66
+ * @param name The _unique_ name of the resulting resource.
67
+ * @param id The _unique_ provider ID of the resource to lookup.
68
+ * @param state Any extra arguments used during the lookup.
69
+ * @param opts Optional settings to control the behavior of the CustomResource.
70
+ */
71
+ static get(name, id, state, opts) {
72
+ return new Delivery(name, state, Object.assign(Object.assign({}, opts), { id: id }));
73
+ }
74
+ /**
75
+ * Returns true if the given object is an instance of Delivery. This is designed to work even
76
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
77
+ */
78
+ static isInstance(obj) {
79
+ if (obj === undefined || obj === null) {
80
+ return false;
81
+ }
82
+ return obj['__pulumiType'] === Delivery.__pulumiType;
83
+ }
84
+ }
85
+ exports.Delivery = Delivery;
86
+ /** @internal */
87
+ Delivery.__pulumiType = 'alicloud:cfg/delivery:Delivery';
88
+ //# sourceMappingURL=delivery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delivery.js","sourceRoot":"","sources":["../../cfg/delivery.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAkF/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,qCAAqC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mCAAmC,CAAC,CAAC,CAAC,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AI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IArHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BAuHC;AAzGG,gBAAgB;AACO,qBAAY,GAAG,gCAAgC,CAAC"}
@@ -0,0 +1,74 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * This data source provides the Config Deliveries of the current Alibaba Cloud user.
5
+ *
6
+ * > **NOTE:** Available in v1.171.0+.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * Basic Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as alicloud from "@pulumi/alicloud";
15
+ *
16
+ * const ids = alicloud.cfg.getDeliveries({
17
+ * ids: ["example_id"],
18
+ * });
19
+ * export const configDeliveryId1 = ids.then(ids => ids.deliveries?[0]?.id);
20
+ * ```
21
+ */
22
+ export declare function getDeliveries(args?: GetDeliveriesArgs, opts?: pulumi.InvokeOptions): Promise<GetDeliveriesResult>;
23
+ /**
24
+ * A collection of arguments for invoking getDeliveries.
25
+ */
26
+ export interface GetDeliveriesArgs {
27
+ /**
28
+ * A list of Delivery IDs.
29
+ */
30
+ ids?: string[];
31
+ /**
32
+ * A regex string to filter results by delivery channel name.
33
+ */
34
+ nameRegex?: string;
35
+ outputFile?: string;
36
+ /**
37
+ * The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled.
38
+ */
39
+ status?: number;
40
+ }
41
+ /**
42
+ * A collection of values returned by getDeliveries.
43
+ */
44
+ export interface GetDeliveriesResult {
45
+ readonly deliveries: outputs.cfg.GetDeliveriesDelivery[];
46
+ /**
47
+ * The provider-assigned unique ID for this managed resource.
48
+ */
49
+ readonly id: string;
50
+ readonly ids: string[];
51
+ readonly nameRegex?: string;
52
+ readonly names: string[];
53
+ readonly outputFile?: string;
54
+ readonly status?: number;
55
+ }
56
+ export declare function getDeliveriesOutput(args?: GetDeliveriesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDeliveriesResult>;
57
+ /**
58
+ * A collection of arguments for invoking getDeliveries.
59
+ */
60
+ export interface GetDeliveriesOutputArgs {
61
+ /**
62
+ * A list of Delivery IDs.
63
+ */
64
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
65
+ /**
66
+ * A regex string to filter results by delivery channel name.
67
+ */
68
+ nameRegex?: pulumi.Input<string>;
69
+ outputFile?: pulumi.Input<string>;
70
+ /**
71
+ * The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled.
72
+ */
73
+ status?: pulumi.Input<number>;
74
+ }
@@ -0,0 +1,45 @@
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.getDeliveriesOutput = exports.getDeliveries = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * This data source provides the Config Deliveries of the current Alibaba Cloud user.
10
+ *
11
+ * > **NOTE:** Available in v1.171.0+.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * Basic Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as alicloud from "@pulumi/alicloud";
20
+ *
21
+ * const ids = alicloud.cfg.getDeliveries({
22
+ * ids: ["example_id"],
23
+ * });
24
+ * export const configDeliveryId1 = ids.then(ids => ids.deliveries?[0]?.id);
25
+ * ```
26
+ */
27
+ function getDeliveries(args, opts) {
28
+ args = args || {};
29
+ if (!opts) {
30
+ opts = {};
31
+ }
32
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
33
+ return pulumi.runtime.invoke("alicloud:cfg/getDeliveries:getDeliveries", {
34
+ "ids": args.ids,
35
+ "nameRegex": args.nameRegex,
36
+ "outputFile": args.outputFile,
37
+ "status": args.status,
38
+ }, opts);
39
+ }
40
+ exports.getDeliveries = getDeliveries;
41
+ function getDeliveriesOutput(args, opts) {
42
+ return pulumi.output(args).apply(a => getDeliveries(a, opts));
43
+ }
44
+ exports.getDeliveriesOutput = getDeliveriesOutput;
45
+ //# sourceMappingURL=getDeliveries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDeliveries.js","sourceRoot":"","sources":["../../cfg/getDeliveries.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,sCAaC;AAqCD,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
package/cfg/index.d.ts CHANGED
@@ -3,12 +3,14 @@ export * from "./aggregateConfigRule";
3
3
  export * from "./aggregator";
4
4
  export * from "./compliancePack";
5
5
  export * from "./configurationRecorder";
6
+ export * from "./delivery";
6
7
  export * from "./deliveryChannel";
7
8
  export * from "./getAggregateCompliancePacks";
8
9
  export * from "./getAggregateConfigRules";
9
10
  export * from "./getAggregators";
10
11
  export * from "./getCompliancePacks";
11
12
  export * from "./getConfigurationRecorders";
13
+ export * from "./getDeliveries";
12
14
  export * from "./getDeliveryChannels";
13
15
  export * from "./getRules";
14
16
  export * from "./rule";
package/cfg/index.js CHANGED
@@ -24,12 +24,14 @@ __exportStar(require("./aggregateConfigRule"), exports);
24
24
  __exportStar(require("./aggregator"), exports);
25
25
  __exportStar(require("./compliancePack"), exports);
26
26
  __exportStar(require("./configurationRecorder"), exports);
27
+ __exportStar(require("./delivery"), exports);
27
28
  __exportStar(require("./deliveryChannel"), exports);
28
29
  __exportStar(require("./getAggregateCompliancePacks"), exports);
29
30
  __exportStar(require("./getAggregateConfigRules"), exports);
30
31
  __exportStar(require("./getAggregators"), exports);
31
32
  __exportStar(require("./getCompliancePacks"), exports);
32
33
  __exportStar(require("./getConfigurationRecorders"), exports);
34
+ __exportStar(require("./getDeliveries"), exports);
33
35
  __exportStar(require("./getDeliveryChannels"), exports);
34
36
  __exportStar(require("./getRules"), exports);
35
37
  __exportStar(require("./rule"), exports);
@@ -39,6 +41,7 @@ const aggregateConfigRule_1 = require("./aggregateConfigRule");
39
41
  const aggregator_1 = require("./aggregator");
40
42
  const compliancePack_1 = require("./compliancePack");
41
43
  const configurationRecorder_1 = require("./configurationRecorder");
44
+ const delivery_1 = require("./delivery");
42
45
  const deliveryChannel_1 = require("./deliveryChannel");
43
46
  const rule_1 = require("./rule");
44
47
  const _module = {
@@ -55,6 +58,8 @@ const _module = {
55
58
  return new compliancePack_1.CompliancePack(name, undefined, { urn });
56
59
  case "alicloud:cfg/configurationRecorder:ConfigurationRecorder":
57
60
  return new configurationRecorder_1.ConfigurationRecorder(name, undefined, { urn });
61
+ case "alicloud:cfg/delivery:Delivery":
62
+ return new delivery_1.Delivery(name, undefined, { urn });
58
63
  case "alicloud:cfg/deliveryChannel:DeliveryChannel":
59
64
  return new deliveryChannel_1.DeliveryChannel(name, undefined, { urn });
60
65
  case "alicloud:cfg/rule:Rule":
@@ -69,6 +74,7 @@ pulumi.runtime.registerResourceModule("alicloud", "cfg/aggregateConfigRule", _mo
69
74
  pulumi.runtime.registerResourceModule("alicloud", "cfg/aggregator", _module);
70
75
  pulumi.runtime.registerResourceModule("alicloud", "cfg/compliancePack", _module);
71
76
  pulumi.runtime.registerResourceModule("alicloud", "cfg/configurationRecorder", _module);
77
+ pulumi.runtime.registerResourceModule("alicloud", "cfg/delivery", _module);
72
78
  pulumi.runtime.registerResourceModule("alicloud", "cfg/deliveryChannel", _module);
73
79
  pulumi.runtime.registerResourceModule("alicloud", "cfg/rule", _module);
74
80
  //# sourceMappingURL=index.js.map
package/cfg/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cfg/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;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AC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,70 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * This data source provides the Cms Namespaces of the current Alibaba Cloud user.
5
+ *
6
+ * > **NOTE:** Available in v1.171.0+.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * Basic Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as alicloud from "@pulumi/alicloud";
15
+ *
16
+ * const ids = alicloud.cms.getNamespaces({
17
+ * ids: ["example_id"],
18
+ * });
19
+ * export const cmsNamespaceId1 = ids.then(ids => ids.namespaces?[0]?.id);
20
+ * ```
21
+ */
22
+ export declare function getNamespaces(args?: GetNamespacesArgs, opts?: pulumi.InvokeOptions): Promise<GetNamespacesResult>;
23
+ /**
24
+ * A collection of arguments for invoking getNamespaces.
25
+ */
26
+ export interface GetNamespacesArgs {
27
+ /**
28
+ * A list of Namespace IDs.
29
+ */
30
+ ids?: string[];
31
+ /**
32
+ * The keywords of the `namespace` or `description` of the namespace.
33
+ */
34
+ keyword?: string;
35
+ outputFile?: string;
36
+ pageNumber?: number;
37
+ pageSize?: number;
38
+ }
39
+ /**
40
+ * A collection of values returned by getNamespaces.
41
+ */
42
+ export interface GetNamespacesResult {
43
+ /**
44
+ * The provider-assigned unique ID for this managed resource.
45
+ */
46
+ readonly id: string;
47
+ readonly ids: string[];
48
+ readonly keyword?: string;
49
+ readonly namespaces: outputs.cms.GetNamespacesNamespace[];
50
+ readonly outputFile?: string;
51
+ readonly pageNumber?: number;
52
+ readonly pageSize?: number;
53
+ }
54
+ export declare function getNamespacesOutput(args?: GetNamespacesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNamespacesResult>;
55
+ /**
56
+ * A collection of arguments for invoking getNamespaces.
57
+ */
58
+ export interface GetNamespacesOutputArgs {
59
+ /**
60
+ * A list of Namespace IDs.
61
+ */
62
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
63
+ /**
64
+ * The keywords of the `namespace` or `description` of the namespace.
65
+ */
66
+ keyword?: pulumi.Input<string>;
67
+ outputFile?: pulumi.Input<string>;
68
+ pageNumber?: pulumi.Input<number>;
69
+ pageSize?: pulumi.Input<number>;
70
+ }
@@ -0,0 +1,46 @@
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.getNamespacesOutput = exports.getNamespaces = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * This data source provides the Cms Namespaces of the current Alibaba Cloud user.
10
+ *
11
+ * > **NOTE:** Available in v1.171.0+.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * Basic Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as alicloud from "@pulumi/alicloud";
20
+ *
21
+ * const ids = alicloud.cms.getNamespaces({
22
+ * ids: ["example_id"],
23
+ * });
24
+ * export const cmsNamespaceId1 = ids.then(ids => ids.namespaces?[0]?.id);
25
+ * ```
26
+ */
27
+ function getNamespaces(args, opts) {
28
+ args = args || {};
29
+ if (!opts) {
30
+ opts = {};
31
+ }
32
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
33
+ return pulumi.runtime.invoke("alicloud:cms/getNamespaces:getNamespaces", {
34
+ "ids": args.ids,
35
+ "keyword": args.keyword,
36
+ "outputFile": args.outputFile,
37
+ "pageNumber": args.pageNumber,
38
+ "pageSize": args.pageSize,
39
+ }, opts);
40
+ }
41
+ exports.getNamespaces = getNamespaces;
42
+ function getNamespacesOutput(args, opts) {
43
+ return pulumi.output(args).apply(a => getNamespaces(a, opts));
44
+ }
45
+ exports.getNamespacesOutput = getNamespacesOutput;
46
+ //# sourceMappingURL=getNamespaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNamespaces.js","sourceRoot":"","sources":["../../cms/getNamespaces.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,sCAcC;AAmCD,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}