@volcengine/pulumi-volcenginecc 0.0.29 → 0.0.30

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 (48) hide show
  1. package/iam/getOidcProvider.d.ts +72 -0
  2. package/iam/getOidcProvider.js +28 -0
  3. package/iam/getOidcProvider.js.map +1 -0
  4. package/iam/getOidcProviders.d.ts +22 -0
  5. package/iam/getOidcProviders.js +24 -0
  6. package/iam/getOidcProviders.js.map +1 -0
  7. package/iam/getSamlProvider.d.ts +38 -0
  8. package/iam/getSamlProvider.js +28 -0
  9. package/iam/getSamlProvider.js.map +1 -0
  10. package/iam/getSamlProviders.d.ts +22 -0
  11. package/iam/getSamlProviders.js +24 -0
  12. package/iam/getSamlProviders.js.map +1 -0
  13. package/iam/index.d.ts +18 -0
  14. package/iam/index.js +23 -1
  15. package/iam/index.js.map +1 -1
  16. package/iam/oidcProvider.d.ts +160 -0
  17. package/iam/oidcProvider.js +105 -0
  18. package/iam/oidcProvider.js.map +1 -0
  19. package/iam/samlProvider.d.ts +156 -0
  20. package/iam/samlProvider.js +100 -0
  21. package/iam/samlProvider.js.map +1 -0
  22. package/package.json +1 -1
  23. package/types/input.d.ts +100 -0
  24. package/types/output.d.ts +200 -0
  25. package/vefaas/getTimer.d.ts +80 -0
  26. package/vefaas/getTimer.js +28 -0
  27. package/vefaas/getTimer.js.map +1 -0
  28. package/vefaas/getTimers.d.ts +22 -0
  29. package/vefaas/getTimers.js +24 -0
  30. package/vefaas/getTimers.js.map +1 -0
  31. package/vefaas/index.d.ts +9 -0
  32. package/vefaas/index.js +12 -1
  33. package/vefaas/index.js.map +1 -1
  34. package/vefaas/timer.d.ts +183 -0
  35. package/vefaas/timer.js +96 -0
  36. package/vefaas/timer.js.map +1 -0
  37. package/vmp/alertingRule.d.ts +167 -0
  38. package/vmp/alertingRule.js +90 -0
  39. package/vmp/alertingRule.js.map +1 -0
  40. package/vmp/getAlertingRule.d.ts +93 -0
  41. package/vmp/getAlertingRule.js +28 -0
  42. package/vmp/getAlertingRule.js.map +1 -0
  43. package/vmp/getAlertingRules.d.ts +22 -0
  44. package/vmp/getAlertingRules.js +24 -0
  45. package/vmp/getAlertingRules.js.map +1 -0
  46. package/vmp/index.d.ts +9 -0
  47. package/vmp/index.js +12 -1
  48. package/vmp/index.js.map +1 -1
package/types/output.d.ts CHANGED
@@ -14081,6 +14081,48 @@ export declare namespace iam {
14081
14081
  */
14082
14082
  value: string;
14083
14083
  }
14084
+ interface GetSamlProviderCertificate {
14085
+ /**
14086
+ * Certificate ID
14087
+ */
14088
+ certificateId: string;
14089
+ /**
14090
+ * Certificate Upload Time
14091
+ */
14092
+ createDate: string;
14093
+ /**
14094
+ * Certificate Authority
14095
+ */
14096
+ issuer: string;
14097
+ /**
14098
+ * Certificate Expiration Time
14099
+ */
14100
+ notAfter: string;
14101
+ /**
14102
+ * Certificate Validity Period
14103
+ */
14104
+ notBefore: string;
14105
+ /**
14106
+ * Certificate Serial Number
14107
+ */
14108
+ serialNumber: string;
14109
+ /**
14110
+ * Certificate Signature Algorithm
14111
+ */
14112
+ signatureAlgorithm: string;
14113
+ /**
14114
+ * Certificate Subject
14115
+ */
14116
+ subject: string;
14117
+ /**
14118
+ * Certificate Update Time
14119
+ */
14120
+ updateDate: string;
14121
+ /**
14122
+ * Certificate Version
14123
+ */
14124
+ version: string;
14125
+ }
14084
14126
  interface GetUserAccessKey {
14085
14127
  /**
14086
14128
  * Access key ID.
@@ -14305,6 +14347,48 @@ export declare namespace iam {
14305
14347
  */
14306
14348
  value: string;
14307
14349
  }
14350
+ interface SamlProviderCertificate {
14351
+ /**
14352
+ * Certificate ID
14353
+ */
14354
+ certificateId: string;
14355
+ /**
14356
+ * Certificate Upload Time
14357
+ */
14358
+ createDate: string;
14359
+ /**
14360
+ * Certificate Authority
14361
+ */
14362
+ issuer: string;
14363
+ /**
14364
+ * Certificate Expiration Time
14365
+ */
14366
+ notAfter: string;
14367
+ /**
14368
+ * Certificate Validity Period
14369
+ */
14370
+ notBefore: string;
14371
+ /**
14372
+ * Certificate Serial Number
14373
+ */
14374
+ serialNumber: string;
14375
+ /**
14376
+ * Certificate Signature Algorithm
14377
+ */
14378
+ signatureAlgorithm: string;
14379
+ /**
14380
+ * Certificate Subject
14381
+ */
14382
+ subject: string;
14383
+ /**
14384
+ * Certificate Update Time
14385
+ */
14386
+ updateDate: string;
14387
+ /**
14388
+ * Certificate Version
14389
+ */
14390
+ version: string;
14391
+ }
14308
14392
  interface UserAccessKey {
14309
14393
  /**
14310
14394
  * Access key ID.
@@ -22487,6 +22571,122 @@ export declare namespace vke {
22487
22571
  }
22488
22572
  }
22489
22573
  export declare namespace vmp {
22574
+ interface AlertingRuleAnnotation {
22575
+ /**
22576
+ * Tag or annotation key
22577
+ */
22578
+ name: string;
22579
+ /**
22580
+ * Tag or annotation value. If set to empty, the key will be deleted
22581
+ */
22582
+ value: string;
22583
+ }
22584
+ interface AlertingRuleLabel {
22585
+ /**
22586
+ * Tag or annotation key
22587
+ */
22588
+ name: string;
22589
+ /**
22590
+ * Tag or annotation value. If set to empty, the key will be deleted
22591
+ */
22592
+ value: string;
22593
+ }
22594
+ interface AlertingRuleLevel {
22595
+ /**
22596
+ * Alert rule comparison condition. Options: >, >=, <, <=, ==, !=
22597
+ */
22598
+ comparator: string;
22599
+ /**
22600
+ * Alert duration. Possible values: 0s, 1m, 2m, 5m, 10m
22601
+ */
22602
+ for: string;
22603
+ /**
22604
+ * Alert rule severity. Currently supports P0, P1, or P2
22605
+ */
22606
+ level: string;
22607
+ /**
22608
+ * Alert rule threshold
22609
+ */
22610
+ threshold: number;
22611
+ }
22612
+ interface AlertingRuleQuery {
22613
+ /**
22614
+ * Query statement
22615
+ */
22616
+ promQl: string;
22617
+ /**
22618
+ * Workspace ID
22619
+ */
22620
+ workspaceId: string;
22621
+ }
22622
+ interface AlertingRuleTag {
22623
+ /**
22624
+ * Tag or annotation key
22625
+ */
22626
+ key: string;
22627
+ /**
22628
+ * Tag or annotation value. If set to empty, the key will be deleted
22629
+ */
22630
+ value: string;
22631
+ }
22632
+ interface GetAlertingRuleAnnotation {
22633
+ /**
22634
+ * Tag or annotation key
22635
+ */
22636
+ name: string;
22637
+ /**
22638
+ * Tag or annotation value. If set to empty, the key will be deleted
22639
+ */
22640
+ value: string;
22641
+ }
22642
+ interface GetAlertingRuleLabel {
22643
+ /**
22644
+ * Tag or annotation key
22645
+ */
22646
+ name: string;
22647
+ /**
22648
+ * Tag or annotation value. If set to empty, the key will be deleted
22649
+ */
22650
+ value: string;
22651
+ }
22652
+ interface GetAlertingRuleLevel {
22653
+ /**
22654
+ * Alert rule comparison condition. Options: >, >=, <, <=, ==, !=
22655
+ */
22656
+ comparator: string;
22657
+ /**
22658
+ * Alert duration. Possible values: 0s, 1m, 2m, 5m, 10m
22659
+ */
22660
+ for: string;
22661
+ /**
22662
+ * Alert rule severity. Currently supports P0, P1, or P2
22663
+ */
22664
+ level: string;
22665
+ /**
22666
+ * Alert rule threshold
22667
+ */
22668
+ threshold: number;
22669
+ }
22670
+ interface GetAlertingRuleQuery {
22671
+ /**
22672
+ * Query statement
22673
+ */
22674
+ promQl: string;
22675
+ /**
22676
+ * Workspace ID
22677
+ */
22678
+ workspaceId: string;
22679
+ }
22680
+ interface GetAlertingRuleTag {
22681
+ /**
22682
+ * Tag or annotation key
22683
+ */
22684
+ key: string;
22685
+ /**
22686
+ * Tag or annotation value. If set to empty, the key will be deleted
22687
+ */
22688
+ value: string;
22689
+ }
22490
22690
  interface GetWorkspaceInstanceType {
22491
22691
  /**
22492
22692
  * Maximum active time series count
@@ -0,0 +1,80 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data Source schema for Volcengine::VEFAAS::Timer
4
+ */
5
+ export declare function getTimer(args: GetTimerArgs, opts?: pulumi.InvokeOptions): Promise<GetTimerResult>;
6
+ /**
7
+ * A collection of arguments for invoking getTimer.
8
+ */
9
+ export interface GetTimerArgs {
10
+ /**
11
+ * Uniquely identifies the resource.
12
+ */
13
+ id: string;
14
+ }
15
+ /**
16
+ * A collection of values returned by getTimer.
17
+ */
18
+ export interface GetTimerResult {
19
+ /**
20
+ * Timer trigger creation time
21
+ */
22
+ readonly creationTime: string;
23
+ /**
24
+ * Timer trigger time, formatted as a crontab expression
25
+ */
26
+ readonly crontab: string;
27
+ /**
28
+ * Timer trigger remarks
29
+ */
30
+ readonly description: string;
31
+ /**
32
+ * Allow timer trigger concurrency; true means concurrency is allowed
33
+ */
34
+ readonly enableConcurrency: boolean;
35
+ /**
36
+ * Timer trigger enabled; true means enabled
37
+ */
38
+ readonly enabled: boolean;
39
+ /**
40
+ * Function ID
41
+ */
42
+ readonly functionId: string;
43
+ /**
44
+ * Uniquely identifies the resource.
45
+ */
46
+ readonly id: string;
47
+ /**
48
+ * Timer trigger update time
49
+ */
50
+ readonly lastUpdateTime: string;
51
+ /**
52
+ * Timer trigger name
53
+ */
54
+ readonly name: string;
55
+ /**
56
+ * Payload sent by timer trigger, that is, the trigger message
57
+ */
58
+ readonly payload: string;
59
+ /**
60
+ * Timer trigger retry count
61
+ */
62
+ readonly retries: number;
63
+ /**
64
+ * Timer trigger ID
65
+ */
66
+ readonly timerId: string;
67
+ }
68
+ /**
69
+ * Data Source schema for Volcengine::VEFAAS::Timer
70
+ */
71
+ export declare function getTimerOutput(args: GetTimerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTimerResult>;
72
+ /**
73
+ * A collection of arguments for invoking getTimer.
74
+ */
75
+ export interface GetTimerOutputArgs {
76
+ /**
77
+ * Uniquely identifies the resource.
78
+ */
79
+ id: pulumi.Input<string>;
80
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getTimerOutput = exports.getTimer = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::VEFAAS::Timer
10
+ */
11
+ function getTimer(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:vefaas/getTimer:getTimer", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getTimer = getTimer;
18
+ /**
19
+ * Data Source schema for Volcengine::VEFAAS::Timer
20
+ */
21
+ function getTimerOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:vefaas/getTimer:getTimer", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getTimerOutput = getTimerOutput;
28
+ //# sourceMappingURL=getTimer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTimer.js","sourceRoot":"","sources":["../../vefaas/getTimer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE;QAClE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AAiED;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uCAAuC,EAAE;QACxE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::VEFAAS::Timer
4
+ */
5
+ export declare function getTimers(opts?: pulumi.InvokeOptions): Promise<GetTimersResult>;
6
+ /**
7
+ * A collection of values returned by getTimers.
8
+ */
9
+ export interface GetTimersResult {
10
+ /**
11
+ * Uniquely identifies the data source.
12
+ */
13
+ readonly id: string;
14
+ /**
15
+ * Set of Resource Identifiers.
16
+ */
17
+ readonly ids: string[];
18
+ }
19
+ /**
20
+ * Plural Data Source schema for Volcengine::VEFAAS::Timer
21
+ */
22
+ export declare function getTimersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTimersResult>;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getTimersOutput = exports.getTimers = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::VEFAAS::Timer
10
+ */
11
+ function getTimers(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:vefaas/getTimers:getTimers", {}, opts);
14
+ }
15
+ exports.getTimers = getTimers;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::VEFAAS::Timer
18
+ */
19
+ function getTimersOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:vefaas/getTimers:getTimers", {}, opts);
22
+ }
23
+ exports.getTimersOutput = getTimersOutput;
24
+ //# sourceMappingURL=getTimers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTimers.js","sourceRoot":"","sources":["../../vefaas/getTimers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAA2B;IACjD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE,EACvE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8BAIC;AAeD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAiC;IAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yCAAyC,EAAE,EAC7E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC"}
package/vefaas/index.d.ts CHANGED
@@ -19,9 +19,18 @@ export declare const getSandboxOutput: typeof import("./getSandbox").getSandboxO
19
19
  export { GetSandboxesResult } from "./getSandboxes";
20
20
  export declare const getSandboxes: typeof import("./getSandboxes").getSandboxes;
21
21
  export declare const getSandboxesOutput: typeof import("./getSandboxes").getSandboxesOutput;
22
+ export { GetTimerArgs, GetTimerResult, GetTimerOutputArgs } from "./getTimer";
23
+ export declare const getTimer: typeof import("./getTimer").getTimer;
24
+ export declare const getTimerOutput: typeof import("./getTimer").getTimerOutput;
25
+ export { GetTimersResult } from "./getTimers";
26
+ export declare const getTimers: typeof import("./getTimers").getTimers;
27
+ export declare const getTimersOutput: typeof import("./getTimers").getTimersOutput;
22
28
  export { KafkaTriggerArgs, KafkaTriggerState } from "./kafkaTrigger";
23
29
  export type KafkaTrigger = import("./kafkaTrigger").KafkaTrigger;
24
30
  export declare const KafkaTrigger: typeof import("./kafkaTrigger").KafkaTrigger;
25
31
  export { SandboxArgs, SandboxState } from "./sandbox";
26
32
  export type Sandbox = import("./sandbox").Sandbox;
27
33
  export declare const Sandbox: typeof import("./sandbox").Sandbox;
34
+ export { TimerArgs, TimerState } from "./timer";
35
+ export type Timer = import("./timer").Timer;
36
+ export declare const Timer: typeof import("./timer").Timer;
package/vefaas/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Sandbox = exports.KafkaTrigger = exports.getSandboxesOutput = exports.getSandboxes = exports.getSandboxOutput = exports.getSandbox = exports.getKafkaTriggersOutput = exports.getKafkaTriggers = exports.getKafkaTriggerOutput = exports.getKafkaTrigger = exports.getFunctionsOutput = exports.getFunctions = exports.getFunctionOutput = exports.getFunction = exports.Function = void 0;
5
+ exports.Timer = exports.Sandbox = exports.KafkaTrigger = exports.getTimersOutput = exports.getTimers = exports.getTimerOutput = exports.getTimer = exports.getSandboxesOutput = exports.getSandboxes = exports.getSandboxOutput = exports.getSandbox = exports.getKafkaTriggersOutput = exports.getKafkaTriggers = exports.getKafkaTriggerOutput = exports.getKafkaTrigger = exports.getFunctionsOutput = exports.getFunctions = exports.getFunctionOutput = exports.getFunction = exports.Function = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.Function = null;
@@ -25,10 +25,18 @@ utilities.lazyLoad(exports, ["getSandbox", "getSandboxOutput"], () => require(".
25
25
  exports.getSandboxes = null;
26
26
  exports.getSandboxesOutput = null;
27
27
  utilities.lazyLoad(exports, ["getSandboxes", "getSandboxesOutput"], () => require("./getSandboxes"));
28
+ exports.getTimer = null;
29
+ exports.getTimerOutput = null;
30
+ utilities.lazyLoad(exports, ["getTimer", "getTimerOutput"], () => require("./getTimer"));
31
+ exports.getTimers = null;
32
+ exports.getTimersOutput = null;
33
+ utilities.lazyLoad(exports, ["getTimers", "getTimersOutput"], () => require("./getTimers"));
28
34
  exports.KafkaTrigger = null;
29
35
  utilities.lazyLoad(exports, ["KafkaTrigger"], () => require("./kafkaTrigger"));
30
36
  exports.Sandbox = null;
31
37
  utilities.lazyLoad(exports, ["Sandbox"], () => require("./sandbox"));
38
+ exports.Timer = null;
39
+ utilities.lazyLoad(exports, ["Timer"], () => require("./timer"));
32
40
  const _module = {
33
41
  version: utilities.getVersion(),
34
42
  construct: (name, type, urn) => {
@@ -39,6 +47,8 @@ const _module = {
39
47
  return new exports.KafkaTrigger(name, undefined, { urn });
40
48
  case "volcenginecc:vefaas/sandbox:Sandbox":
41
49
  return new exports.Sandbox(name, undefined, { urn });
50
+ case "volcenginecc:vefaas/timer:Timer":
51
+ return new exports.Timer(name, undefined, { urn });
42
52
  default:
43
53
  throw new Error(`unknown resource type ${type}`);
44
54
  }
@@ -47,4 +57,5 @@ const _module = {
47
57
  pulumi.runtime.registerResourceModule("volcenginecc", "vefaas/function", _module);
48
58
  pulumi.runtime.registerResourceModule("volcenginecc", "vefaas/kafkaTrigger", _module);
49
59
  pulumi.runtime.registerResourceModule("volcenginecc", "vefaas/sandbox", _module);
60
+ pulumi.runtime.registerResourceModule("volcenginecc", "vefaas/timer", _module);
50
61
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../vefaas/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAG1D,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QA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,CAAC;AAGjE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,uCAAuC;gBACxC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,+CAA+C;gBAChD,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,qCAAqC;gBACtC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,iCAAiC;gBAClC,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,183 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Trigger management
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
10
+ *
11
+ * const vEFAASTimerDemo = new volcenginecc.vefaas.Timer("VEFAASTimerDemo", {
12
+ * functionId: "o1zxxx",
13
+ * name: "ccapi-test-timer",
14
+ * description: "ccapi test timer",
15
+ * enabled: false,
16
+ * crontab: "*&#47;30 * * * *",
17
+ * payload: "{\"body\": \"create event payload\"}",
18
+ * enableConcurrency: false,
19
+ * retries: 5,
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * ```sh
26
+ * $ pulumi import volcenginecc:vefaas/timer:Timer example "function_id|timer_id"
27
+ * ```
28
+ */
29
+ export declare class Timer extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing Timer resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TimerState, opts?: pulumi.CustomResourceOptions): Timer;
40
+ /**
41
+ * Returns true if the given object is an instance of Timer. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj: any): obj is Timer;
45
+ /**
46
+ * Timer trigger creation time
47
+ */
48
+ readonly creationTime: pulumi.Output<string>;
49
+ /**
50
+ * Timer trigger time, formatted as a crontab expression
51
+ */
52
+ readonly crontab: pulumi.Output<string>;
53
+ /**
54
+ * Timer trigger remarks
55
+ */
56
+ readonly description: pulumi.Output<string>;
57
+ /**
58
+ * Allow timer trigger concurrency; true means concurrency is allowed
59
+ */
60
+ readonly enableConcurrency: pulumi.Output<boolean>;
61
+ /**
62
+ * Timer trigger enabled; true means enabled
63
+ */
64
+ readonly enabled: pulumi.Output<boolean>;
65
+ /**
66
+ * Function ID
67
+ */
68
+ readonly functionId: pulumi.Output<string>;
69
+ /**
70
+ * Timer trigger update time
71
+ */
72
+ readonly lastUpdateTime: pulumi.Output<string>;
73
+ /**
74
+ * Timer trigger name
75
+ */
76
+ readonly name: pulumi.Output<string>;
77
+ /**
78
+ * Payload sent by timer trigger, that is, the trigger message
79
+ */
80
+ readonly payload: pulumi.Output<string>;
81
+ /**
82
+ * Timer trigger retry count
83
+ */
84
+ readonly retries: pulumi.Output<number>;
85
+ /**
86
+ * Timer trigger ID
87
+ */
88
+ readonly timerId: pulumi.Output<string>;
89
+ /**
90
+ * Create a Timer resource with the given unique name, arguments, and options.
91
+ *
92
+ * @param name The _unique_ name of the resource.
93
+ * @param args The arguments to use to populate this resource's properties.
94
+ * @param opts A bag of options that control this resource's behavior.
95
+ */
96
+ constructor(name: string, args?: TimerArgs, opts?: pulumi.CustomResourceOptions);
97
+ }
98
+ /**
99
+ * Input properties used for looking up and filtering Timer resources.
100
+ */
101
+ export interface TimerState {
102
+ /**
103
+ * Timer trigger creation time
104
+ */
105
+ creationTime?: pulumi.Input<string>;
106
+ /**
107
+ * Timer trigger time, formatted as a crontab expression
108
+ */
109
+ crontab?: pulumi.Input<string>;
110
+ /**
111
+ * Timer trigger remarks
112
+ */
113
+ description?: pulumi.Input<string>;
114
+ /**
115
+ * Allow timer trigger concurrency; true means concurrency is allowed
116
+ */
117
+ enableConcurrency?: pulumi.Input<boolean>;
118
+ /**
119
+ * Timer trigger enabled; true means enabled
120
+ */
121
+ enabled?: pulumi.Input<boolean>;
122
+ /**
123
+ * Function ID
124
+ */
125
+ functionId?: pulumi.Input<string>;
126
+ /**
127
+ * Timer trigger update time
128
+ */
129
+ lastUpdateTime?: pulumi.Input<string>;
130
+ /**
131
+ * Timer trigger name
132
+ */
133
+ name?: pulumi.Input<string>;
134
+ /**
135
+ * Payload sent by timer trigger, that is, the trigger message
136
+ */
137
+ payload?: pulumi.Input<string>;
138
+ /**
139
+ * Timer trigger retry count
140
+ */
141
+ retries?: pulumi.Input<number>;
142
+ /**
143
+ * Timer trigger ID
144
+ */
145
+ timerId?: pulumi.Input<string>;
146
+ }
147
+ /**
148
+ * The set of arguments for constructing a Timer resource.
149
+ */
150
+ export interface TimerArgs {
151
+ /**
152
+ * Timer trigger time, formatted as a crontab expression
153
+ */
154
+ crontab?: pulumi.Input<string>;
155
+ /**
156
+ * Timer trigger remarks
157
+ */
158
+ description?: pulumi.Input<string>;
159
+ /**
160
+ * Allow timer trigger concurrency; true means concurrency is allowed
161
+ */
162
+ enableConcurrency?: pulumi.Input<boolean>;
163
+ /**
164
+ * Timer trigger enabled; true means enabled
165
+ */
166
+ enabled?: pulumi.Input<boolean>;
167
+ /**
168
+ * Function ID
169
+ */
170
+ functionId?: pulumi.Input<string>;
171
+ /**
172
+ * Timer trigger name
173
+ */
174
+ name?: pulumi.Input<string>;
175
+ /**
176
+ * Payload sent by timer trigger, that is, the trigger message
177
+ */
178
+ payload?: pulumi.Input<string>;
179
+ /**
180
+ * Timer trigger retry count
181
+ */
182
+ retries?: pulumi.Input<number>;
183
+ }