@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,84 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * This data source provides the Cms Sls Groups 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.getSlsGroups({
17
+ * ids: ["example_id"],
18
+ * });
19
+ * export const cmsSlsGroupId1 = ids.then(ids => ids.groups?[0]?.id);
20
+ * const nameRegex = alicloud.cms.getSlsGroups({
21
+ * nameRegex: "^my-SlsGroup",
22
+ * });
23
+ * export const cmsSlsGroupId2 = nameRegex.then(nameRegex => nameRegex.groups?[0]?.id);
24
+ * ```
25
+ */
26
+ export declare function getSlsGroups(args?: GetSlsGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetSlsGroupsResult>;
27
+ /**
28
+ * A collection of arguments for invoking getSlsGroups.
29
+ */
30
+ export interface GetSlsGroupsArgs {
31
+ /**
32
+ * A list of Sls Group IDs. Its element value is same as Sls Group Name.
33
+ */
34
+ ids?: string[];
35
+ /**
36
+ * The keywords of the `slsGroupName` or `slsGroupDescription` of the Sls Group.
37
+ */
38
+ keyword?: string;
39
+ /**
40
+ * A regex string to filter results by Sls Group name.
41
+ */
42
+ nameRegex?: string;
43
+ outputFile?: string;
44
+ pageNumber?: number;
45
+ pageSize?: number;
46
+ }
47
+ /**
48
+ * A collection of values returned by getSlsGroups.
49
+ */
50
+ export interface GetSlsGroupsResult {
51
+ readonly groups: outputs.cms.GetSlsGroupsGroup[];
52
+ /**
53
+ * The provider-assigned unique ID for this managed resource.
54
+ */
55
+ readonly id: string;
56
+ readonly ids: string[];
57
+ readonly keyword?: string;
58
+ readonly nameRegex?: string;
59
+ readonly names: string[];
60
+ readonly outputFile?: string;
61
+ readonly pageNumber?: number;
62
+ readonly pageSize?: number;
63
+ }
64
+ export declare function getSlsGroupsOutput(args?: GetSlsGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSlsGroupsResult>;
65
+ /**
66
+ * A collection of arguments for invoking getSlsGroups.
67
+ */
68
+ export interface GetSlsGroupsOutputArgs {
69
+ /**
70
+ * A list of Sls Group IDs. Its element value is same as Sls Group Name.
71
+ */
72
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
73
+ /**
74
+ * The keywords of the `slsGroupName` or `slsGroupDescription` of the Sls Group.
75
+ */
76
+ keyword?: pulumi.Input<string>;
77
+ /**
78
+ * A regex string to filter results by Sls Group name.
79
+ */
80
+ nameRegex?: pulumi.Input<string>;
81
+ outputFile?: pulumi.Input<string>;
82
+ pageNumber?: pulumi.Input<number>;
83
+ pageSize?: pulumi.Input<number>;
84
+ }
@@ -0,0 +1,51 @@
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.getSlsGroupsOutput = exports.getSlsGroups = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * This data source provides the Cms Sls Groups 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.getSlsGroups({
22
+ * ids: ["example_id"],
23
+ * });
24
+ * export const cmsSlsGroupId1 = ids.then(ids => ids.groups?[0]?.id);
25
+ * const nameRegex = alicloud.cms.getSlsGroups({
26
+ * nameRegex: "^my-SlsGroup",
27
+ * });
28
+ * export const cmsSlsGroupId2 = nameRegex.then(nameRegex => nameRegex.groups?[0]?.id);
29
+ * ```
30
+ */
31
+ function getSlsGroups(args, opts) {
32
+ args = args || {};
33
+ if (!opts) {
34
+ opts = {};
35
+ }
36
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
37
+ return pulumi.runtime.invoke("alicloud:cms/getSlsGroups:getSlsGroups", {
38
+ "ids": args.ids,
39
+ "keyword": args.keyword,
40
+ "nameRegex": args.nameRegex,
41
+ "outputFile": args.outputFile,
42
+ "pageNumber": args.pageNumber,
43
+ "pageSize": args.pageSize,
44
+ }, opts);
45
+ }
46
+ exports.getSlsGroups = getSlsGroups;
47
+ function getSlsGroupsOutput(args, opts) {
48
+ return pulumi.output(args).apply(a => getSlsGroups(a, opts));
49
+ }
50
+ exports.getSlsGroupsOutput = getSlsGroupsOutput;
51
+ //# sourceMappingURL=getSlsGroups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSlsGroups.js","sourceRoot":"","sources":["../../cms/getSlsGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,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,wCAAwC,EAAE;QACnE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,oCAeC;AAyCD,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
package/cms/index.d.ts CHANGED
@@ -9,9 +9,13 @@ export * from "./getGroupMetricRules";
9
9
  export * from "./getMetricRuleTemplates";
10
10
  export * from "./getMonitorGroupInstances";
11
11
  export * from "./getMonitorGroups";
12
+ export * from "./getNamespaces";
12
13
  export * from "./getService";
14
+ export * from "./getSlsGroups";
13
15
  export * from "./groupMetricRule";
14
16
  export * from "./metricRuleTemplate";
15
17
  export * from "./monitorGroup";
16
18
  export * from "./monitorGroupInstances";
19
+ export * from "./namespace";
17
20
  export * from "./siteMonitor";
21
+ export * from "./slsGroup";
package/cms/index.js CHANGED
@@ -30,12 +30,16 @@ __exportStar(require("./getGroupMetricRules"), exports);
30
30
  __exportStar(require("./getMetricRuleTemplates"), exports);
31
31
  __exportStar(require("./getMonitorGroupInstances"), exports);
32
32
  __exportStar(require("./getMonitorGroups"), exports);
33
+ __exportStar(require("./getNamespaces"), exports);
33
34
  __exportStar(require("./getService"), exports);
35
+ __exportStar(require("./getSlsGroups"), exports);
34
36
  __exportStar(require("./groupMetricRule"), exports);
35
37
  __exportStar(require("./metricRuleTemplate"), exports);
36
38
  __exportStar(require("./monitorGroup"), exports);
37
39
  __exportStar(require("./monitorGroupInstances"), exports);
40
+ __exportStar(require("./namespace"), exports);
38
41
  __exportStar(require("./siteMonitor"), exports);
42
+ __exportStar(require("./slsGroup"), exports);
39
43
  // Import resources to register:
40
44
  const alarm_1 = require("./alarm");
41
45
  const alarmContact_1 = require("./alarmContact");
@@ -45,7 +49,9 @@ const groupMetricRule_1 = require("./groupMetricRule");
45
49
  const metricRuleTemplate_1 = require("./metricRuleTemplate");
46
50
  const monitorGroup_1 = require("./monitorGroup");
47
51
  const monitorGroupInstances_1 = require("./monitorGroupInstances");
52
+ const namespace_1 = require("./namespace");
48
53
  const siteMonitor_1 = require("./siteMonitor");
54
+ const slsGroup_1 = require("./slsGroup");
49
55
  const _module = {
50
56
  version: utilities.getVersion(),
51
57
  construct: (name, type, urn) => {
@@ -66,8 +72,12 @@ const _module = {
66
72
  return new monitorGroup_1.MonitorGroup(name, undefined, { urn });
67
73
  case "alicloud:cms/monitorGroupInstances:MonitorGroupInstances":
68
74
  return new monitorGroupInstances_1.MonitorGroupInstances(name, undefined, { urn });
75
+ case "alicloud:cms/namespace:Namespace":
76
+ return new namespace_1.Namespace(name, undefined, { urn });
69
77
  case "alicloud:cms/siteMonitor:SiteMonitor":
70
78
  return new siteMonitor_1.SiteMonitor(name, undefined, { urn });
79
+ case "alicloud:cms/slsGroup:SlsGroup":
80
+ return new slsGroup_1.SlsGroup(name, undefined, { urn });
71
81
  default:
72
82
  throw new Error(`unknown resource type ${type}`);
73
83
  }
@@ -81,5 +91,7 @@ pulumi.runtime.registerResourceModule("alicloud", "cms/groupMetricRule", _module
81
91
  pulumi.runtime.registerResourceModule("alicloud", "cms/metricRuleTemplate", _module);
82
92
  pulumi.runtime.registerResourceModule("alicloud", "cms/monitorGroup", _module);
83
93
  pulumi.runtime.registerResourceModule("alicloud", "cms/monitorGroupInstances", _module);
94
+ pulumi.runtime.registerResourceModule("alicloud", "cms/namespace", _module);
84
95
  pulumi.runtime.registerResourceModule("alicloud", "cms/siteMonitor", _module);
96
+ pulumi.runtime.registerResourceModule("alicloud", "cms/slsGroup", _module);
85
97
  //# sourceMappingURL=index.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AAC,sBAAsB,CAAC,UAAU,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA"}
@@ -68,6 +68,9 @@ export declare class MonitorGroup extends pulumi.CustomResource {
68
68
  * The name of the resource group.
69
69
  */
70
70
  readonly resourceGroupName: pulumi.Output<string | undefined>;
71
+ /**
72
+ * A mapping of tags to assign to the resource.
73
+ */
71
74
  readonly tags: pulumi.Output<{
72
75
  [key: string]: any;
73
76
  } | undefined>;
@@ -100,6 +103,9 @@ export interface MonitorGroupState {
100
103
  * The name of the resource group.
101
104
  */
102
105
  resourceGroupName?: pulumi.Input<string>;
106
+ /**
107
+ * A mapping of tags to assign to the resource.
108
+ */
103
109
  tags?: pulumi.Input<{
104
110
  [key: string]: any;
105
111
  }>;
@@ -124,6 +130,9 @@ export interface MonitorGroupArgs {
124
130
  * The name of the resource group.
125
131
  */
126
132
  resourceGroupName?: pulumi.Input<string>;
133
+ /**
134
+ * A mapping of tags to assign to the resource.
135
+ */
127
136
  tags?: pulumi.Input<{
128
137
  [key: string]: any;
129
138
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"monitorGroup.js","sourceRoot":"","sources":["../../cms/monitorGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAsDnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,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cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IA5ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCA8EC;AAhEG,gBAAgB;AACO,yBAAY,GAAG,wCAAwC,CAAC"}
@@ -0,0 +1,119 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a Cloud Monitor Service Namespace resource.
4
+ *
5
+ * For information about Cloud Monitor Service Namespace and how to use it, see [What is Namespace](https://www.alibabacloud.com/help/doc-detail/28608.htm).
6
+ *
7
+ * > **NOTE:** Available in v1.171.0+.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * Basic Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as alicloud from "@pulumi/alicloud";
16
+ *
17
+ * const example = new alicloud.cms.Namespace("example", {
18
+ * namespace: "example_value",
19
+ * specification: "cms.s1.large",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * Cloud Monitor Service Namespace can be imported using the id, e.g.
26
+ *
27
+ * ```sh
28
+ * $ pulumi import alicloud:cms/namespace:Namespace example <namespace>
29
+ * ```
30
+ */
31
+ export declare class Namespace extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing Namespace resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NamespaceState, opts?: pulumi.CustomResourceOptions): Namespace;
42
+ /**
43
+ * Returns true if the given object is an instance of Namespace. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is Namespace;
47
+ /**
48
+ * Description of indicator warehouse.
49
+ */
50
+ readonly description: pulumi.Output<string | undefined>;
51
+ /**
52
+ * Indicator warehouse name. The namespace can contain lowercase letters, digits, and hyphens (-).
53
+ */
54
+ readonly namespace: pulumi.Output<string>;
55
+ /**
56
+ * Data storage duration. Valid values: `cms.s1.12xlarge`, `cms.s1.2xlarge`, `cms.s1.3xlarge`, `cms.s1.6xlarge`, `cms.s1.large`, `cms.s1.xlarge`.
57
+ * - `cms.s1.large`: Data storage duration is 15 days.
58
+ * - `cms.s1.xlarge`: Data storage duration is 32 days.
59
+ * - `cms.s1.2xlarge`: Data storage duration 63 days.
60
+ * - `cms.s1.3xlarge`: (Default) Data storage duration 93 days.
61
+ * - `cms.s1.6xlarge`: Data storage duration 185 days.
62
+ * - `cms.s1.12xlarge`: Data storage duration 376 days.
63
+ */
64
+ readonly specification: pulumi.Output<string>;
65
+ /**
66
+ * Create a Namespace resource with the given unique name, arguments, and options.
67
+ *
68
+ * @param name The _unique_ name of the resource.
69
+ * @param args The arguments to use to populate this resource's properties.
70
+ * @param opts A bag of options that control this resource's behavior.
71
+ */
72
+ constructor(name: string, args: NamespaceArgs, opts?: pulumi.CustomResourceOptions);
73
+ }
74
+ /**
75
+ * Input properties used for looking up and filtering Namespace resources.
76
+ */
77
+ export interface NamespaceState {
78
+ /**
79
+ * Description of indicator warehouse.
80
+ */
81
+ description?: pulumi.Input<string>;
82
+ /**
83
+ * Indicator warehouse name. The namespace can contain lowercase letters, digits, and hyphens (-).
84
+ */
85
+ namespace?: pulumi.Input<string>;
86
+ /**
87
+ * Data storage duration. Valid values: `cms.s1.12xlarge`, `cms.s1.2xlarge`, `cms.s1.3xlarge`, `cms.s1.6xlarge`, `cms.s1.large`, `cms.s1.xlarge`.
88
+ * - `cms.s1.large`: Data storage duration is 15 days.
89
+ * - `cms.s1.xlarge`: Data storage duration is 32 days.
90
+ * - `cms.s1.2xlarge`: Data storage duration 63 days.
91
+ * - `cms.s1.3xlarge`: (Default) Data storage duration 93 days.
92
+ * - `cms.s1.6xlarge`: Data storage duration 185 days.
93
+ * - `cms.s1.12xlarge`: Data storage duration 376 days.
94
+ */
95
+ specification?: pulumi.Input<string>;
96
+ }
97
+ /**
98
+ * The set of arguments for constructing a Namespace resource.
99
+ */
100
+ export interface NamespaceArgs {
101
+ /**
102
+ * Description of indicator warehouse.
103
+ */
104
+ description?: pulumi.Input<string>;
105
+ /**
106
+ * Indicator warehouse name. The namespace can contain lowercase letters, digits, and hyphens (-).
107
+ */
108
+ namespace: pulumi.Input<string>;
109
+ /**
110
+ * Data storage duration. Valid values: `cms.s1.12xlarge`, `cms.s1.2xlarge`, `cms.s1.3xlarge`, `cms.s1.6xlarge`, `cms.s1.large`, `cms.s1.xlarge`.
111
+ * - `cms.s1.large`: Data storage duration is 15 days.
112
+ * - `cms.s1.xlarge`: Data storage duration is 32 days.
113
+ * - `cms.s1.2xlarge`: Data storage duration 63 days.
114
+ * - `cms.s1.3xlarge`: (Default) Data storage duration 93 days.
115
+ * - `cms.s1.6xlarge`: Data storage duration 185 days.
116
+ * - `cms.s1.12xlarge`: Data storage duration 376 days.
117
+ */
118
+ specification?: pulumi.Input<string>;
119
+ }
@@ -0,0 +1,85 @@
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.Namespace = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a Cloud Monitor Service Namespace resource.
10
+ *
11
+ * For information about Cloud Monitor Service Namespace and how to use it, see [What is Namespace](https://www.alibabacloud.com/help/doc-detail/28608.htm).
12
+ *
13
+ * > **NOTE:** Available in v1.171.0+.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * Basic Usage
18
+ *
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as alicloud from "@pulumi/alicloud";
22
+ *
23
+ * const example = new alicloud.cms.Namespace("example", {
24
+ * namespace: "example_value",
25
+ * specification: "cms.s1.large",
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * Cloud Monitor Service Namespace can be imported using the id, e.g.
32
+ *
33
+ * ```sh
34
+ * $ pulumi import alicloud:cms/namespace:Namespace example <namespace>
35
+ * ```
36
+ */
37
+ class Namespace extends pulumi.CustomResource {
38
+ constructor(name, argsOrState, opts) {
39
+ let resourceInputs = {};
40
+ opts = opts || {};
41
+ if (opts.id) {
42
+ const state = argsOrState;
43
+ resourceInputs["description"] = state ? state.description : undefined;
44
+ resourceInputs["namespace"] = state ? state.namespace : undefined;
45
+ resourceInputs["specification"] = state ? state.specification : undefined;
46
+ }
47
+ else {
48
+ const args = argsOrState;
49
+ if ((!args || args.namespace === undefined) && !opts.urn) {
50
+ throw new Error("Missing required property 'namespace'");
51
+ }
52
+ resourceInputs["description"] = args ? args.description : undefined;
53
+ resourceInputs["namespace"] = args ? args.namespace : undefined;
54
+ resourceInputs["specification"] = args ? args.specification : undefined;
55
+ }
56
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
57
+ super(Namespace.__pulumiType, name, resourceInputs, opts);
58
+ }
59
+ /**
60
+ * Get an existing Namespace resource's state with the given name, ID, and optional extra
61
+ * properties used to qualify the lookup.
62
+ *
63
+ * @param name The _unique_ name of the resulting resource.
64
+ * @param id The _unique_ provider ID of the resource to lookup.
65
+ * @param state Any extra arguments used during the lookup.
66
+ * @param opts Optional settings to control the behavior of the CustomResource.
67
+ */
68
+ static get(name, id, state, opts) {
69
+ return new Namespace(name, state, Object.assign(Object.assign({}, opts), { id: id }));
70
+ }
71
+ /**
72
+ * Returns true if the given object is an instance of Namespace. This is designed to work even
73
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
74
+ */
75
+ static isInstance(obj) {
76
+ if (obj === undefined || obj === null) {
77
+ return false;
78
+ }
79
+ return obj['__pulumiType'] === Namespace.__pulumiType;
80
+ }
81
+ }
82
+ exports.Namespace = Namespace;
83
+ /** @internal */
84
+ Namespace.__pulumiType = 'alicloud:cms/namespace:Namespace';
85
+ //# sourceMappingURL=namespace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespace.js","sourceRoot":"","sources":["../../cms/namespace.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAuDhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IA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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;;AA1BL,8BA2EC;AA7DG,gBAAgB;AACO,sBAAY,GAAG,kCAAkC,CAAC"}
@@ -0,0 +1,109 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Provides a Cloud Monitor Service Sls Group resource.
5
+ *
6
+ * For information about Cloud Monitor Service Sls Group and how to use it, see [What is Sls Group](https://www.alibabacloud.com/help/doc-detail/28608.htm).
7
+ *
8
+ * > **NOTE:** Available in v1.171.0+.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * Basic Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as alicloud from "@pulumi/alicloud";
17
+ *
18
+ * const this = alicloud.getAccount({});
19
+ * const _default = new alicloud.cms.SlsGroup("default", {
20
+ * slsGroupConfigs: [{
21
+ * slsUserId: _this.then(_this => _this.id),
22
+ * slsLogstore: "Logstore-ECS",
23
+ * slsProject: "aliyun-project",
24
+ * slsRegion: "cn-hangzhou",
25
+ * }],
26
+ * slsGroupDescription: _var.name,
27
+ * slsGroupName: _var.name,
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * Cloud Monitor Service Sls Group can be imported using the id, e.g.
34
+ *
35
+ * ```sh
36
+ * $ pulumi import alicloud:cms/slsGroup:SlsGroup example <sls_group_name>
37
+ * ```
38
+ */
39
+ export declare class SlsGroup extends pulumi.CustomResource {
40
+ /**
41
+ * Get an existing SlsGroup resource's state with the given name, ID, and optional extra
42
+ * properties used to qualify the lookup.
43
+ *
44
+ * @param name The _unique_ name of the resulting resource.
45
+ * @param id The _unique_ provider ID of the resource to lookup.
46
+ * @param state Any extra arguments used during the lookup.
47
+ * @param opts Optional settings to control the behavior of the CustomResource.
48
+ */
49
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SlsGroupState, opts?: pulumi.CustomResourceOptions): SlsGroup;
50
+ /**
51
+ * Returns true if the given object is an instance of SlsGroup. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj: any): obj is SlsGroup;
55
+ /**
56
+ * The Config of the Sls Group. You can specify up to 25 Config. See the following `Block slsGroupConfig`.
57
+ */
58
+ readonly slsGroupConfigs: pulumi.Output<outputs.cms.SlsGroupSlsGroupConfig[]>;
59
+ /**
60
+ * The Description of the Sls Group.
61
+ */
62
+ readonly slsGroupDescription: pulumi.Output<string | undefined>;
63
+ /**
64
+ * The name of the resource. The name must be `2` to `32` characters in length, and can contain letters, digits and underscores (_). It must start with a letter.
65
+ */
66
+ readonly slsGroupName: pulumi.Output<string>;
67
+ /**
68
+ * Create a SlsGroup resource with the given unique name, arguments, and options.
69
+ *
70
+ * @param name The _unique_ name of the resource.
71
+ * @param args The arguments to use to populate this resource's properties.
72
+ * @param opts A bag of options that control this resource's behavior.
73
+ */
74
+ constructor(name: string, args: SlsGroupArgs, opts?: pulumi.CustomResourceOptions);
75
+ }
76
+ /**
77
+ * Input properties used for looking up and filtering SlsGroup resources.
78
+ */
79
+ export interface SlsGroupState {
80
+ /**
81
+ * The Config of the Sls Group. You can specify up to 25 Config. See the following `Block slsGroupConfig`.
82
+ */
83
+ slsGroupConfigs?: pulumi.Input<pulumi.Input<inputs.cms.SlsGroupSlsGroupConfig>[]>;
84
+ /**
85
+ * The Description of the Sls Group.
86
+ */
87
+ slsGroupDescription?: pulumi.Input<string>;
88
+ /**
89
+ * The name of the resource. The name must be `2` to `32` characters in length, and can contain letters, digits and underscores (_). It must start with a letter.
90
+ */
91
+ slsGroupName?: pulumi.Input<string>;
92
+ }
93
+ /**
94
+ * The set of arguments for constructing a SlsGroup resource.
95
+ */
96
+ export interface SlsGroupArgs {
97
+ /**
98
+ * The Config of the Sls Group. You can specify up to 25 Config. See the following `Block slsGroupConfig`.
99
+ */
100
+ slsGroupConfigs: pulumi.Input<pulumi.Input<inputs.cms.SlsGroupSlsGroupConfig>[]>;
101
+ /**
102
+ * The Description of the Sls Group.
103
+ */
104
+ slsGroupDescription?: pulumi.Input<string>;
105
+ /**
106
+ * The name of the resource. The name must be `2` to `32` characters in length, and can contain letters, digits and underscores (_). It must start with a letter.
107
+ */
108
+ slsGroupName: pulumi.Input<string>;
109
+ }