@pulumi/alicloud 3.84.0 → 3.85.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 (123) hide show
  1. package/amqp/getInstances.d.ts +47 -24
  2. package/amqp/getInstances.js +34 -20
  3. package/amqp/getInstances.js.map +1 -1
  4. package/amqp/virtualHost.d.ts +21 -9
  5. package/amqp/virtualHost.js +21 -9
  6. package/amqp/virtualHost.js.map +1 -1
  7. package/cloudsso/delegateAccount.d.ts +85 -0
  8. package/cloudsso/delegateAccount.js +89 -0
  9. package/cloudsso/delegateAccount.js.map +1 -0
  10. package/cloudsso/index.d.ts +3 -0
  11. package/cloudsso/index.js +6 -1
  12. package/cloudsso/index.js.map +1 -1
  13. package/cs/nodePool.d.ts +3 -0
  14. package/cs/nodePool.js.map +1 -1
  15. package/ddos/bgpIp.d.ts +28 -22
  16. package/ddos/bgpIp.js +8 -8
  17. package/ddos/bgpIp.js.map +1 -1
  18. package/ddos/ddosBgpInstance.d.ts +86 -49
  19. package/ddos/ddosBgpInstance.js +10 -27
  20. package/ddos/ddosBgpInstance.js.map +1 -1
  21. package/dms/enterpriseWorkspace.d.ts +123 -0
  22. package/dms/enterpriseWorkspace.js +107 -0
  23. package/dms/enterpriseWorkspace.js.map +1 -0
  24. package/dms/index.d.ts +3 -0
  25. package/dms/index.js +6 -1
  26. package/dms/index.js.map +1 -1
  27. package/dns/ddosBgpInstance.d.ts +86 -49
  28. package/dns/ddosBgpInstance.js +10 -27
  29. package/dns/ddosBgpInstance.js.map +1 -1
  30. package/eflo/node.d.ts +15 -3
  31. package/eflo/node.js +2 -0
  32. package/eflo/node.js.map +1 -1
  33. package/esa/index.d.ts +9 -0
  34. package/esa/index.js +16 -1
  35. package/esa/index.js.map +1 -1
  36. package/esa/kvAccount.d.ts +53 -0
  37. package/esa/kvAccount.js +58 -0
  38. package/esa/kvAccount.js.map +1 -0
  39. package/esa/routineRelatedRecord.d.ts +47 -0
  40. package/esa/routineRelatedRecord.js +61 -0
  41. package/esa/routineRelatedRecord.js.map +1 -0
  42. package/esa/urlObservation.d.ts +123 -0
  43. package/esa/urlObservation.js +107 -0
  44. package/esa/urlObservation.js.map +1 -0
  45. package/fc/getService.d.ts +2 -2
  46. package/fc/getService.js +2 -2
  47. package/hologram/instance.d.ts +11 -0
  48. package/hologram/instance.js +2 -0
  49. package/hologram/instance.js.map +1 -1
  50. package/kms/instance.d.ts +18 -0
  51. package/kms/instance.js +2 -0
  52. package/kms/instance.js.map +1 -1
  53. package/log/ossExport.d.ts +3 -0
  54. package/log/ossExport.js +3 -0
  55. package/log/ossExport.js.map +1 -1
  56. package/message/serviceSubscription.d.ts +12 -0
  57. package/message/serviceSubscription.js +2 -0
  58. package/message/serviceSubscription.js.map +1 -1
  59. package/mongodb/shardingInstance.d.ts +92 -0
  60. package/mongodb/shardingInstance.js +14 -0
  61. package/mongodb/shardingInstance.js.map +1 -1
  62. package/nlb/serverGroup.d.ts +12 -9
  63. package/nlb/serverGroup.js.map +1 -1
  64. package/oss/bucket.d.ts +32 -0
  65. package/oss/bucket.js +32 -0
  66. package/oss/bucket.js.map +1 -1
  67. package/package.json +2 -2
  68. package/privatelink/vpcEndpoint.d.ts +9 -3
  69. package/privatelink/vpcEndpoint.js.map +1 -1
  70. package/resourcemanager/delegatedAdministrator.d.ts +10 -20
  71. package/resourcemanager/delegatedAdministrator.js +4 -14
  72. package/resourcemanager/delegatedAdministrator.js.map +1 -1
  73. package/resourcemanager/folder.d.ts +39 -12
  74. package/resourcemanager/folder.js +11 -6
  75. package/resourcemanager/folder.js.map +1 -1
  76. package/resourcemanager/getAccounts.d.ts +29 -14
  77. package/resourcemanager/getAccounts.js +6 -4
  78. package/resourcemanager/getAccounts.js.map +1 -1
  79. package/resourcemanager/index.d.ts +3 -0
  80. package/resourcemanager/index.js +7 -1
  81. package/resourcemanager/index.js.map +1 -1
  82. package/resourcemanager/messageContact.d.ts +193 -0
  83. package/resourcemanager/messageContact.js +109 -0
  84. package/resourcemanager/messageContact.js.map +1 -0
  85. package/resourcemanager/resourceDirectory.d.ts +47 -21
  86. package/resourcemanager/resourceDirectory.js +7 -9
  87. package/resourcemanager/resourceDirectory.js.map +1 -1
  88. package/resourcemanager/sharedResource.d.ts +34 -21
  89. package/resourcemanager/sharedResource.js +19 -12
  90. package/resourcemanager/sharedResource.js.map +1 -1
  91. package/resourcemanager/sharedTarget.d.ts +24 -11
  92. package/resourcemanager/sharedTarget.js +12 -5
  93. package/resourcemanager/sharedTarget.js.map +1 -1
  94. package/sls/getLogtailConfigs.d.ts +263 -0
  95. package/sls/getLogtailConfigs.js +190 -0
  96. package/sls/getLogtailConfigs.js.map +1 -0
  97. package/sls/getMachineGroups.d.ts +141 -0
  98. package/sls/getMachineGroups.js +100 -0
  99. package/sls/getMachineGroups.js.map +1 -0
  100. package/sls/index.d.ts +12 -0
  101. package/sls/index.js +17 -1
  102. package/sls/index.js.map +1 -1
  103. package/sls/logtailConfig.d.ts +227 -0
  104. package/sls/logtailConfig.js +149 -0
  105. package/sls/logtailConfig.js.map +1 -0
  106. package/sls/machineGroup.d.ts +164 -0
  107. package/sls/machineGroup.js +113 -0
  108. package/sls/machineGroup.js.map +1 -0
  109. package/types/input.d.ts +53 -18
  110. package/types/output.d.ts +99 -38
  111. package/vpc/dhcpOptionsSet.d.ts +42 -25
  112. package/vpc/dhcpOptionsSet.js +3 -1
  113. package/vpc/dhcpOptionsSet.js.map +1 -1
  114. package/vpc/flowLog.d.ts +11 -11
  115. package/vpc/haVipv2.d.ts +47 -41
  116. package/vpc/haVipv2.js +11 -9
  117. package/vpc/haVipv2.js.map +1 -1
  118. package/vpc/havipAttachment.d.ts +19 -26
  119. package/vpc/havipAttachment.js +8 -0
  120. package/vpc/havipAttachment.js.map +1 -1
  121. package/vpc/networkAcl.d.ts +15 -10
  122. package/vpc/networkAcl.js +3 -1
  123. package/vpc/networkAcl.js.map +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMachineGroups.js","sourceRoot":"","sources":["../../sls/getMachineGroups.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;AA+CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE;QACjF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wDAQC"}
package/sls/index.d.ts CHANGED
@@ -13,6 +13,18 @@ export declare const getAlertsOutput: typeof import("./getAlerts").getAlertsOutp
13
13
  export { GetEtlsArgs, GetEtlsResult, GetEtlsOutputArgs } from "./getEtls";
14
14
  export declare const getEtls: typeof import("./getEtls").getEtls;
15
15
  export declare const getEtlsOutput: typeof import("./getEtls").getEtlsOutput;
16
+ export { GetLogtailConfigsArgs, GetLogtailConfigsResult, GetLogtailConfigsOutputArgs } from "./getLogtailConfigs";
17
+ export declare const getLogtailConfigs: typeof import("./getLogtailConfigs").getLogtailConfigs;
18
+ export declare const getLogtailConfigsOutput: typeof import("./getLogtailConfigs").getLogtailConfigsOutput;
19
+ export { GetMachineGroupsArgs, GetMachineGroupsResult, GetMachineGroupsOutputArgs } from "./getMachineGroups";
20
+ export declare const getMachineGroups: typeof import("./getMachineGroups").getMachineGroups;
21
+ export declare const getMachineGroupsOutput: typeof import("./getMachineGroups").getMachineGroupsOutput;
22
+ export { LogtailConfigArgs, LogtailConfigState } from "./logtailConfig";
23
+ export type LogtailConfig = import("./logtailConfig").LogtailConfig;
24
+ export declare const LogtailConfig: typeof import("./logtailConfig").LogtailConfig;
25
+ export { MachineGroupArgs, MachineGroupState } from "./machineGroup";
26
+ export type MachineGroup = import("./machineGroup").MachineGroup;
27
+ export declare const MachineGroup: typeof import("./machineGroup").MachineGroup;
16
28
  export { OssExportSinkArgs, OssExportSinkState } from "./ossExportSink";
17
29
  export type OssExportSink = import("./ossExportSink").OssExportSink;
18
30
  export declare const OssExportSink: typeof import("./ossExportSink").OssExportSink;
package/sls/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.ScheduledSql = exports.OssExportSink = exports.getEtlsOutput = exports.getEtls = exports.getAlertsOutput = exports.getAlerts = exports.Etl = exports.CollectionPolicy = exports.Alert = void 0;
5
+ exports.ScheduledSql = exports.OssExportSink = exports.MachineGroup = exports.LogtailConfig = exports.getMachineGroupsOutput = exports.getMachineGroups = exports.getLogtailConfigsOutput = exports.getLogtailConfigs = exports.getEtlsOutput = exports.getEtls = exports.getAlertsOutput = exports.getAlerts = exports.Etl = exports.CollectionPolicy = exports.Alert = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.Alert = null;
@@ -17,6 +17,16 @@ utilities.lazyLoad(exports, ["getAlerts", "getAlertsOutput"], () => require("./g
17
17
  exports.getEtls = null;
18
18
  exports.getEtlsOutput = null;
19
19
  utilities.lazyLoad(exports, ["getEtls", "getEtlsOutput"], () => require("./getEtls"));
20
+ exports.getLogtailConfigs = null;
21
+ exports.getLogtailConfigsOutput = null;
22
+ utilities.lazyLoad(exports, ["getLogtailConfigs", "getLogtailConfigsOutput"], () => require("./getLogtailConfigs"));
23
+ exports.getMachineGroups = null;
24
+ exports.getMachineGroupsOutput = null;
25
+ utilities.lazyLoad(exports, ["getMachineGroups", "getMachineGroupsOutput"], () => require("./getMachineGroups"));
26
+ exports.LogtailConfig = null;
27
+ utilities.lazyLoad(exports, ["LogtailConfig"], () => require("./logtailConfig"));
28
+ exports.MachineGroup = null;
29
+ utilities.lazyLoad(exports, ["MachineGroup"], () => require("./machineGroup"));
20
30
  exports.OssExportSink = null;
21
31
  utilities.lazyLoad(exports, ["OssExportSink"], () => require("./ossExportSink"));
22
32
  exports.ScheduledSql = null;
@@ -31,6 +41,10 @@ const _module = {
31
41
  return new exports.CollectionPolicy(name, undefined, { urn });
32
42
  case "alicloud:sls/etl:Etl":
33
43
  return new exports.Etl(name, undefined, { urn });
44
+ case "alicloud:sls/logtailConfig:LogtailConfig":
45
+ return new exports.LogtailConfig(name, undefined, { urn });
46
+ case "alicloud:sls/machineGroup:MachineGroup":
47
+ return new exports.MachineGroup(name, undefined, { urn });
34
48
  case "alicloud:sls/ossExportSink:OssExportSink":
35
49
  return new exports.OssExportSink(name, undefined, { urn });
36
50
  case "alicloud:sls/scheduledSql:ScheduledSql":
@@ -43,6 +57,8 @@ const _module = {
43
57
  pulumi.runtime.registerResourceModule("alicloud", "sls/alert", _module);
44
58
  pulumi.runtime.registerResourceModule("alicloud", "sls/collectionPolicy", _module);
45
59
  pulumi.runtime.registerResourceModule("alicloud", "sls/etl", _module);
60
+ pulumi.runtime.registerResourceModule("alicloud", "sls/logtailConfig", _module);
61
+ pulumi.runtime.registerResourceModule("alicloud", "sls/machineGroup", _module);
46
62
  pulumi.runtime.registerResourceModule("alicloud", "sls/ossExportSink", _module);
47
63
  pulumi.runtime.registerResourceModule("alicloud", "sls/scheduledSql", _module);
48
64
  //# sourceMappingURL=index.js.map
package/sls/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../sls/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAIpD,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAI1E,QAAA,GAAG,GAA+B,IAAW,CAAC;AAC3D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AAGhD,QAAA,SAAS,GAA2C,IAAW,CAAC;AAChE,QAAA,eAAe,GAAiD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,EAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAG9E,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,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CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;AACrE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,227 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Provides a Log Service (SLS) Logtail Config resource.
6
+ *
7
+ * For information about Log Service (SLS) Logtail Config and how to use it, see [What is Logtail Config](https://next.api.alibabacloud.com/document/Sls/2020-12-30/CreateConfig).
8
+ *
9
+ * > **NOTE:** Available since v1.259.0.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * Basic Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as alicloud from "@pulumi/alicloud";
18
+ * import * as random from "@pulumi/random";
19
+ *
20
+ * const _default = new random.index.Integer("default", {
21
+ * max: 99999,
22
+ * min: 10000,
23
+ * });
24
+ * const config = new pulumi.Config();
25
+ * const name = config.get("name") || "tfaccsls62147";
26
+ * const projectName = config.get("projectName") || "project-for-logtail-terraform";
27
+ * const defaultuA28zS = new alicloud.log.Project("defaultuA28zS", {projectName: projectName});
28
+ * const defaultLogtailConfig = new alicloud.sls.LogtailConfig("default", {
29
+ * projectName: defaultuA28zS.projectName,
30
+ * outputDetail: {
31
+ * endpoint: "cn-hangzhou-intranet.log.aliyuncs.com",
32
+ * region: "cn-hangzhou",
33
+ * logstoreName: "example",
34
+ * },
35
+ * outputType: "LogService",
36
+ * inputDetail: JSON.stringify({
37
+ * adjustTimezone: false,
38
+ * delayAlarmBytes: 0,
39
+ * delaySkipBytes: 0,
40
+ * discardNonUtf8: false,
41
+ * discardUnmatch: true,
42
+ * dockerFile: false,
43
+ * enableRawLog: false,
44
+ * enableTag: false,
45
+ * fileEncoding: "utf8",
46
+ * filePattern: "access*.log",
47
+ * filterKey: ["key1"],
48
+ * filterRegex: ["regex1"],
49
+ * key: [
50
+ * "key1",
51
+ * "key2",
52
+ * ],
53
+ * localStorage: true,
54
+ * logBeginRegex: ".*",
55
+ * logPath: "/var/log/httpd",
56
+ * logTimezone: "",
57
+ * logType: "common_reg_log",
58
+ * maxDepth: 1000,
59
+ * maxSendRate: -1,
60
+ * mergeType: "topic",
61
+ * preserve: true,
62
+ * preserveDepth: 0,
63
+ * priority: 0,
64
+ * regex: "(w+)(s+)",
65
+ * sendRateExpire: 0,
66
+ * sensitive_keys: [],
67
+ * tailExisted: false,
68
+ * timeFormat: "%Y/%m/%d %H:%M:%S",
69
+ * timeKey: "time",
70
+ * topicFormat: "none",
71
+ * }),
72
+ * logtailConfigName: "tfaccsls62147",
73
+ * inputType: "file",
74
+ * });
75
+ * ```
76
+ *
77
+ * ## Import
78
+ *
79
+ * Log Service (SLS) Logtail Config can be imported using the id, e.g.
80
+ *
81
+ * ```sh
82
+ * $ pulumi import alicloud:sls/logtailConfig:LogtailConfig example <project_name>:<logtail_config_name>
83
+ * ```
84
+ */
85
+ export declare class LogtailConfig extends pulumi.CustomResource {
86
+ /**
87
+ * Get an existing LogtailConfig resource's state with the given name, ID, and optional extra
88
+ * properties used to qualify the lookup.
89
+ *
90
+ * @param name The _unique_ name of the resulting resource.
91
+ * @param id The _unique_ provider ID of the resource to lookup.
92
+ * @param state Any extra arguments used during the lookup.
93
+ * @param opts Optional settings to control the behavior of the CustomResource.
94
+ */
95
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LogtailConfigState, opts?: pulumi.CustomResourceOptions): LogtailConfig;
96
+ /**
97
+ * Returns true if the given object is an instance of LogtailConfig. This is designed to work even
98
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
99
+ */
100
+ static isInstance(obj: any): obj is LogtailConfig;
101
+ /**
102
+ * The creation time of the resource
103
+ */
104
+ readonly createTime: pulumi.Output<string>;
105
+ /**
106
+ * The detailed configuration entered by logtail.
107
+ */
108
+ readonly inputDetail: pulumi.Output<string | undefined>;
109
+ /**
110
+ * Method of log entry
111
+ */
112
+ readonly inputType: pulumi.Output<string | undefined>;
113
+ /**
114
+ * Last modification time, unix timestamp
115
+ */
116
+ readonly lastModifyTime: pulumi.Output<number>;
117
+ /**
118
+ * Sample log
119
+ */
120
+ readonly logSample: pulumi.Output<string | undefined>;
121
+ /**
122
+ * The name of the resource
123
+ */
124
+ readonly logtailConfigName: pulumi.Output<string>;
125
+ /**
126
+ * Detailed configuration of logtail output See `outputDetail` below.
127
+ */
128
+ readonly outputDetail: pulumi.Output<outputs.sls.LogtailConfigOutputDetail | undefined>;
129
+ /**
130
+ * Log output mode. You can only upload data to log service.
131
+ */
132
+ readonly outputType: pulumi.Output<string | undefined>;
133
+ /**
134
+ * Project name
135
+ */
136
+ readonly projectName: pulumi.Output<string>;
137
+ /**
138
+ * Create a LogtailConfig resource with the given unique name, arguments, and options.
139
+ *
140
+ * @param name The _unique_ name of the resource.
141
+ * @param args The arguments to use to populate this resource's properties.
142
+ * @param opts A bag of options that control this resource's behavior.
143
+ */
144
+ constructor(name: string, args: LogtailConfigArgs, opts?: pulumi.CustomResourceOptions);
145
+ }
146
+ /**
147
+ * Input properties used for looking up and filtering LogtailConfig resources.
148
+ */
149
+ export interface LogtailConfigState {
150
+ /**
151
+ * The creation time of the resource
152
+ */
153
+ createTime?: pulumi.Input<string>;
154
+ /**
155
+ * The detailed configuration entered by logtail.
156
+ */
157
+ inputDetail?: pulumi.Input<string>;
158
+ /**
159
+ * Method of log entry
160
+ */
161
+ inputType?: pulumi.Input<string>;
162
+ /**
163
+ * Last modification time, unix timestamp
164
+ */
165
+ lastModifyTime?: pulumi.Input<number>;
166
+ /**
167
+ * Sample log
168
+ */
169
+ logSample?: pulumi.Input<string>;
170
+ /**
171
+ * The name of the resource
172
+ */
173
+ logtailConfigName?: pulumi.Input<string>;
174
+ /**
175
+ * Detailed configuration of logtail output See `outputDetail` below.
176
+ */
177
+ outputDetail?: pulumi.Input<inputs.sls.LogtailConfigOutputDetail>;
178
+ /**
179
+ * Log output mode. You can only upload data to log service.
180
+ */
181
+ outputType?: pulumi.Input<string>;
182
+ /**
183
+ * Project name
184
+ */
185
+ projectName?: pulumi.Input<string>;
186
+ }
187
+ /**
188
+ * The set of arguments for constructing a LogtailConfig resource.
189
+ */
190
+ export interface LogtailConfigArgs {
191
+ /**
192
+ * The creation time of the resource
193
+ */
194
+ createTime?: pulumi.Input<string>;
195
+ /**
196
+ * The detailed configuration entered by logtail.
197
+ */
198
+ inputDetail?: pulumi.Input<string>;
199
+ /**
200
+ * Method of log entry
201
+ */
202
+ inputType?: pulumi.Input<string>;
203
+ /**
204
+ * Last modification time, unix timestamp
205
+ */
206
+ lastModifyTime?: pulumi.Input<number>;
207
+ /**
208
+ * Sample log
209
+ */
210
+ logSample?: pulumi.Input<string>;
211
+ /**
212
+ * The name of the resource
213
+ */
214
+ logtailConfigName?: pulumi.Input<string>;
215
+ /**
216
+ * Detailed configuration of logtail output See `outputDetail` below.
217
+ */
218
+ outputDetail?: pulumi.Input<inputs.sls.LogtailConfigOutputDetail>;
219
+ /**
220
+ * Log output mode. You can only upload data to log service.
221
+ */
222
+ outputType?: pulumi.Input<string>;
223
+ /**
224
+ * Project name
225
+ */
226
+ projectName: pulumi.Input<string>;
227
+ }
@@ -0,0 +1,149 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.LogtailConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a Log Service (SLS) Logtail Config resource.
10
+ *
11
+ * For information about Log Service (SLS) Logtail Config and how to use it, see [What is Logtail Config](https://next.api.alibabacloud.com/document/Sls/2020-12-30/CreateConfig).
12
+ *
13
+ * > **NOTE:** Available since v1.259.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
+ * import * as random from "@pulumi/random";
23
+ *
24
+ * const _default = new random.index.Integer("default", {
25
+ * max: 99999,
26
+ * min: 10000,
27
+ * });
28
+ * const config = new pulumi.Config();
29
+ * const name = config.get("name") || "tfaccsls62147";
30
+ * const projectName = config.get("projectName") || "project-for-logtail-terraform";
31
+ * const defaultuA28zS = new alicloud.log.Project("defaultuA28zS", {projectName: projectName});
32
+ * const defaultLogtailConfig = new alicloud.sls.LogtailConfig("default", {
33
+ * projectName: defaultuA28zS.projectName,
34
+ * outputDetail: {
35
+ * endpoint: "cn-hangzhou-intranet.log.aliyuncs.com",
36
+ * region: "cn-hangzhou",
37
+ * logstoreName: "example",
38
+ * },
39
+ * outputType: "LogService",
40
+ * inputDetail: JSON.stringify({
41
+ * adjustTimezone: false,
42
+ * delayAlarmBytes: 0,
43
+ * delaySkipBytes: 0,
44
+ * discardNonUtf8: false,
45
+ * discardUnmatch: true,
46
+ * dockerFile: false,
47
+ * enableRawLog: false,
48
+ * enableTag: false,
49
+ * fileEncoding: "utf8",
50
+ * filePattern: "access*.log",
51
+ * filterKey: ["key1"],
52
+ * filterRegex: ["regex1"],
53
+ * key: [
54
+ * "key1",
55
+ * "key2",
56
+ * ],
57
+ * localStorage: true,
58
+ * logBeginRegex: ".*",
59
+ * logPath: "/var/log/httpd",
60
+ * logTimezone: "",
61
+ * logType: "common_reg_log",
62
+ * maxDepth: 1000,
63
+ * maxSendRate: -1,
64
+ * mergeType: "topic",
65
+ * preserve: true,
66
+ * preserveDepth: 0,
67
+ * priority: 0,
68
+ * regex: "(w+)(s+)",
69
+ * sendRateExpire: 0,
70
+ * sensitive_keys: [],
71
+ * tailExisted: false,
72
+ * timeFormat: "%Y/%m/%d %H:%M:%S",
73
+ * timeKey: "time",
74
+ * topicFormat: "none",
75
+ * }),
76
+ * logtailConfigName: "tfaccsls62147",
77
+ * inputType: "file",
78
+ * });
79
+ * ```
80
+ *
81
+ * ## Import
82
+ *
83
+ * Log Service (SLS) Logtail Config can be imported using the id, e.g.
84
+ *
85
+ * ```sh
86
+ * $ pulumi import alicloud:sls/logtailConfig:LogtailConfig example <project_name>:<logtail_config_name>
87
+ * ```
88
+ */
89
+ class LogtailConfig extends pulumi.CustomResource {
90
+ /**
91
+ * Get an existing LogtailConfig resource's state with the given name, ID, and optional extra
92
+ * properties used to qualify the lookup.
93
+ *
94
+ * @param name The _unique_ name of the resulting resource.
95
+ * @param id The _unique_ provider ID of the resource to lookup.
96
+ * @param state Any extra arguments used during the lookup.
97
+ * @param opts Optional settings to control the behavior of the CustomResource.
98
+ */
99
+ static get(name, id, state, opts) {
100
+ return new LogtailConfig(name, state, { ...opts, id: id });
101
+ }
102
+ /**
103
+ * Returns true if the given object is an instance of LogtailConfig. This is designed to work even
104
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
105
+ */
106
+ static isInstance(obj) {
107
+ if (obj === undefined || obj === null) {
108
+ return false;
109
+ }
110
+ return obj['__pulumiType'] === LogtailConfig.__pulumiType;
111
+ }
112
+ constructor(name, argsOrState, opts) {
113
+ let resourceInputs = {};
114
+ opts = opts || {};
115
+ if (opts.id) {
116
+ const state = argsOrState;
117
+ resourceInputs["createTime"] = state?.createTime;
118
+ resourceInputs["inputDetail"] = state?.inputDetail;
119
+ resourceInputs["inputType"] = state?.inputType;
120
+ resourceInputs["lastModifyTime"] = state?.lastModifyTime;
121
+ resourceInputs["logSample"] = state?.logSample;
122
+ resourceInputs["logtailConfigName"] = state?.logtailConfigName;
123
+ resourceInputs["outputDetail"] = state?.outputDetail;
124
+ resourceInputs["outputType"] = state?.outputType;
125
+ resourceInputs["projectName"] = state?.projectName;
126
+ }
127
+ else {
128
+ const args = argsOrState;
129
+ if (args?.projectName === undefined && !opts.urn) {
130
+ throw new Error("Missing required property 'projectName'");
131
+ }
132
+ resourceInputs["createTime"] = args?.createTime;
133
+ resourceInputs["inputDetail"] = args?.inputDetail;
134
+ resourceInputs["inputType"] = args?.inputType;
135
+ resourceInputs["lastModifyTime"] = args?.lastModifyTime;
136
+ resourceInputs["logSample"] = args?.logSample;
137
+ resourceInputs["logtailConfigName"] = args?.logtailConfigName;
138
+ resourceInputs["outputDetail"] = args?.outputDetail;
139
+ resourceInputs["outputType"] = args?.outputType;
140
+ resourceInputs["projectName"] = args?.projectName;
141
+ }
142
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
143
+ super(LogtailConfig.__pulumiType, name, resourceInputs, opts);
144
+ }
145
+ }
146
+ exports.LogtailConfig = LogtailConfig;
147
+ /** @internal */
148
+ LogtailConfig.__pulumiType = 'alicloud:sls/logtailConfig:LogtailConfig';
149
+ //# sourceMappingURL=logtailConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logtailConfig.js","sourceRoot":"","sources":["../../sls/logtailConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgFG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY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AAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAxGL,sCAyGC;AA3FG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
@@ -0,0 +1,164 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Provides a Log Service (SLS) Machine Group resource.
6
+ *
7
+ * For information about Log Service (SLS) Machine Group and how to use it, see [What is Machine Group](https://next.api.alibabacloud.com/document/Sls/2020-12-30/CreateMachineGroup).
8
+ *
9
+ * > **NOTE:** Available since v1.259.0.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * Basic Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as alicloud from "@pulumi/alicloud";
18
+ *
19
+ * const config = new pulumi.Config();
20
+ * const name = config.get("name") || "terraform-example";
21
+ * const projectName = config.get("projectName") || "project-for-machine-group-terraform";
22
+ * const defaultyJqrue = new alicloud.log.Project("defaultyJqrue", {
23
+ * description: "for terraform example",
24
+ * name: projectName,
25
+ * });
26
+ * const _default = new alicloud.sls.MachineGroup("default", {
27
+ * groupName: "group1",
28
+ * projectName: projectName,
29
+ * machineIdentifyType: "ip",
30
+ * groupAttribute: {
31
+ * groupTopic: "example",
32
+ * externalName: "example",
33
+ * },
34
+ * machineLists: ["192.168.1.1"],
35
+ * });
36
+ * ```
37
+ *
38
+ * ## Import
39
+ *
40
+ * Log Service (SLS) Machine Group can be imported using the id, e.g.
41
+ *
42
+ * ```sh
43
+ * $ pulumi import alicloud:sls/machineGroup:MachineGroup example <project_name>:<group_name>
44
+ * ```
45
+ */
46
+ export declare class MachineGroup extends pulumi.CustomResource {
47
+ /**
48
+ * Get an existing MachineGroup resource's state with the given name, ID, and optional extra
49
+ * properties used to qualify the lookup.
50
+ *
51
+ * @param name The _unique_ name of the resulting resource.
52
+ * @param id The _unique_ provider ID of the resource to lookup.
53
+ * @param state Any extra arguments used during the lookup.
54
+ * @param opts Optional settings to control the behavior of the CustomResource.
55
+ */
56
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MachineGroupState, opts?: pulumi.CustomResourceOptions): MachineGroup;
57
+ /**
58
+ * Returns true if the given object is an instance of MachineGroup. This is designed to work even
59
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
60
+ */
61
+ static isInstance(obj: any): obj is MachineGroup;
62
+ /**
63
+ * Properties of machine groups. For details, please refer to the groupAttribute parameter description in the following table. See `groupAttribute` below.
64
+ */
65
+ readonly groupAttribute: pulumi.Output<outputs.sls.MachineGroupGroupAttribute | undefined>;
66
+ /**
67
+ * Machine Group name
68
+ */
69
+ readonly groupName: pulumi.Output<string>;
70
+ /**
71
+ * Machine group type, optional value is empty.
72
+ */
73
+ readonly groupType: pulumi.Output<string | undefined>;
74
+ /**
75
+ * Machine identification type.
76
+ * - ip: ip address Machine Group.
77
+ * - userdefined: user-defined identity Machine Group.
78
+ */
79
+ readonly machineIdentifyType: pulumi.Output<string>;
80
+ /**
81
+ * The identification information of the machine group.
82
+ * - If machineidentifiytype is configured to ip, enter the ip address of the server.
83
+ * - If machineidentifiytype is configured to userdefined, enter a custom identifier here.
84
+ */
85
+ readonly machineLists: pulumi.Output<string[]>;
86
+ /**
87
+ * Project name
88
+ */
89
+ readonly projectName: pulumi.Output<string>;
90
+ /**
91
+ * Create a MachineGroup resource with the given unique name, arguments, and options.
92
+ *
93
+ * @param name The _unique_ name of the resource.
94
+ * @param args The arguments to use to populate this resource's properties.
95
+ * @param opts A bag of options that control this resource's behavior.
96
+ */
97
+ constructor(name: string, args: MachineGroupArgs, opts?: pulumi.CustomResourceOptions);
98
+ }
99
+ /**
100
+ * Input properties used for looking up and filtering MachineGroup resources.
101
+ */
102
+ export interface MachineGroupState {
103
+ /**
104
+ * Properties of machine groups. For details, please refer to the groupAttribute parameter description in the following table. See `groupAttribute` below.
105
+ */
106
+ groupAttribute?: pulumi.Input<inputs.sls.MachineGroupGroupAttribute>;
107
+ /**
108
+ * Machine Group name
109
+ */
110
+ groupName?: pulumi.Input<string>;
111
+ /**
112
+ * Machine group type, optional value is empty.
113
+ */
114
+ groupType?: pulumi.Input<string>;
115
+ /**
116
+ * Machine identification type.
117
+ * - ip: ip address Machine Group.
118
+ * - userdefined: user-defined identity Machine Group.
119
+ */
120
+ machineIdentifyType?: pulumi.Input<string>;
121
+ /**
122
+ * The identification information of the machine group.
123
+ * - If machineidentifiytype is configured to ip, enter the ip address of the server.
124
+ * - If machineidentifiytype is configured to userdefined, enter a custom identifier here.
125
+ */
126
+ machineLists?: pulumi.Input<pulumi.Input<string>[]>;
127
+ /**
128
+ * Project name
129
+ */
130
+ projectName?: pulumi.Input<string>;
131
+ }
132
+ /**
133
+ * The set of arguments for constructing a MachineGroup resource.
134
+ */
135
+ export interface MachineGroupArgs {
136
+ /**
137
+ * Properties of machine groups. For details, please refer to the groupAttribute parameter description in the following table. See `groupAttribute` below.
138
+ */
139
+ groupAttribute?: pulumi.Input<inputs.sls.MachineGroupGroupAttribute>;
140
+ /**
141
+ * Machine Group name
142
+ */
143
+ groupName: pulumi.Input<string>;
144
+ /**
145
+ * Machine group type, optional value is empty.
146
+ */
147
+ groupType?: pulumi.Input<string>;
148
+ /**
149
+ * Machine identification type.
150
+ * - ip: ip address Machine Group.
151
+ * - userdefined: user-defined identity Machine Group.
152
+ */
153
+ machineIdentifyType: pulumi.Input<string>;
154
+ /**
155
+ * The identification information of the machine group.
156
+ * - If machineidentifiytype is configured to ip, enter the ip address of the server.
157
+ * - If machineidentifiytype is configured to userdefined, enter a custom identifier here.
158
+ */
159
+ machineLists: pulumi.Input<pulumi.Input<string>[]>;
160
+ /**
161
+ * Project name
162
+ */
163
+ projectName: pulumi.Input<string>;
164
+ }