@byteplus/pulumi-bytepluscc 0.0.21 → 0.0.22

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
@@ -13717,6 +13717,48 @@ export declare namespace iam {
13717
13717
  */
13718
13718
  value: string;
13719
13719
  }
13720
+ interface GetSamlProviderCertificate {
13721
+ /**
13722
+ * Certificate ID
13723
+ */
13724
+ certificateId: string;
13725
+ /**
13726
+ * Certificate Upload Time
13727
+ */
13728
+ createDate: string;
13729
+ /**
13730
+ * Certificate Authority
13731
+ */
13732
+ issuer: string;
13733
+ /**
13734
+ * Certificate Expiration Time
13735
+ */
13736
+ notAfter: string;
13737
+ /**
13738
+ * Certificate Validity Period
13739
+ */
13740
+ notBefore: string;
13741
+ /**
13742
+ * Certificate Serial Number
13743
+ */
13744
+ serialNumber: string;
13745
+ /**
13746
+ * Certificate Signature Algorithm
13747
+ */
13748
+ signatureAlgorithm: string;
13749
+ /**
13750
+ * Certificate Subject
13751
+ */
13752
+ subject: string;
13753
+ /**
13754
+ * Certificate Update Time
13755
+ */
13756
+ updateDate: string;
13757
+ /**
13758
+ * Certificate Version
13759
+ */
13760
+ version: string;
13761
+ }
13720
13762
  interface GetUserAccessKey {
13721
13763
  /**
13722
13764
  * Access key ID.
@@ -13941,6 +13983,48 @@ export declare namespace iam {
13941
13983
  */
13942
13984
  value: string;
13943
13985
  }
13986
+ interface SamlProviderCertificate {
13987
+ /**
13988
+ * Certificate ID
13989
+ */
13990
+ certificateId: string;
13991
+ /**
13992
+ * Certificate Upload Time
13993
+ */
13994
+ createDate: string;
13995
+ /**
13996
+ * Certificate Authority
13997
+ */
13998
+ issuer: string;
13999
+ /**
14000
+ * Certificate Expiration Time
14001
+ */
14002
+ notAfter: string;
14003
+ /**
14004
+ * Certificate Validity Period
14005
+ */
14006
+ notBefore: string;
14007
+ /**
14008
+ * Certificate Serial Number
14009
+ */
14010
+ serialNumber: string;
14011
+ /**
14012
+ * Certificate Signature Algorithm
14013
+ */
14014
+ signatureAlgorithm: string;
14015
+ /**
14016
+ * Certificate Subject
14017
+ */
14018
+ subject: string;
14019
+ /**
14020
+ * Certificate Update Time
14021
+ */
14022
+ updateDate: string;
14023
+ /**
14024
+ * Certificate Version
14025
+ */
14026
+ version: string;
14027
+ }
13944
14028
  interface UserAccessKey {
13945
14029
  /**
13946
14030
  * Access key ID.
@@ -21413,6 +21497,122 @@ export declare namespace vke {
21413
21497
  }
21414
21498
  }
21415
21499
  export declare namespace vmp {
21500
+ interface AlertingRuleAnnotation {
21501
+ /**
21502
+ * Tag or annotation key
21503
+ */
21504
+ name: string;
21505
+ /**
21506
+ * Tag or annotation value. If set to empty, the key will be deleted
21507
+ */
21508
+ value: string;
21509
+ }
21510
+ interface AlertingRuleLabel {
21511
+ /**
21512
+ * Tag or annotation key
21513
+ */
21514
+ name: string;
21515
+ /**
21516
+ * Tag or annotation value. If set to empty, the key will be deleted
21517
+ */
21518
+ value: string;
21519
+ }
21520
+ interface AlertingRuleLevel {
21521
+ /**
21522
+ * Alert rule comparison condition. Options: >, >=, <, <=, ==, !=
21523
+ */
21524
+ comparator: string;
21525
+ /**
21526
+ * Alert duration. Possible values: 0s, 1m, 2m, 5m, 10m
21527
+ */
21528
+ for: string;
21529
+ /**
21530
+ * Alert rule severity. Currently supports P0, P1, or P2
21531
+ */
21532
+ level: string;
21533
+ /**
21534
+ * Alert rule threshold
21535
+ */
21536
+ threshold: number;
21537
+ }
21538
+ interface AlertingRuleQuery {
21539
+ /**
21540
+ * Query statement
21541
+ */
21542
+ promQl: string;
21543
+ /**
21544
+ * Workspace ID
21545
+ */
21546
+ workspaceId: string;
21547
+ }
21548
+ interface AlertingRuleTag {
21549
+ /**
21550
+ * Tag or annotation key
21551
+ */
21552
+ key: string;
21553
+ /**
21554
+ * Tag or annotation value. If set to empty, the key will be deleted
21555
+ */
21556
+ value: string;
21557
+ }
21558
+ interface GetAlertingRuleAnnotation {
21559
+ /**
21560
+ * Tag or annotation key
21561
+ */
21562
+ name: string;
21563
+ /**
21564
+ * Tag or annotation value. If set to empty, the key will be deleted
21565
+ */
21566
+ value: string;
21567
+ }
21568
+ interface GetAlertingRuleLabel {
21569
+ /**
21570
+ * Tag or annotation key
21571
+ */
21572
+ name: string;
21573
+ /**
21574
+ * Tag or annotation value. If set to empty, the key will be deleted
21575
+ */
21576
+ value: string;
21577
+ }
21578
+ interface GetAlertingRuleLevel {
21579
+ /**
21580
+ * Alert rule comparison condition. Options: >, >=, <, <=, ==, !=
21581
+ */
21582
+ comparator: string;
21583
+ /**
21584
+ * Alert duration. Possible values: 0s, 1m, 2m, 5m, 10m
21585
+ */
21586
+ for: string;
21587
+ /**
21588
+ * Alert rule severity. Currently supports P0, P1, or P2
21589
+ */
21590
+ level: string;
21591
+ /**
21592
+ * Alert rule threshold
21593
+ */
21594
+ threshold: number;
21595
+ }
21596
+ interface GetAlertingRuleQuery {
21597
+ /**
21598
+ * Query statement
21599
+ */
21600
+ promQl: string;
21601
+ /**
21602
+ * Workspace ID
21603
+ */
21604
+ workspaceId: string;
21605
+ }
21606
+ interface GetAlertingRuleTag {
21607
+ /**
21608
+ * Tag or annotation key
21609
+ */
21610
+ key: string;
21611
+ /**
21612
+ * Tag or annotation value. If set to empty, the key will be deleted
21613
+ */
21614
+ value: string;
21615
+ }
21416
21616
  interface GetWorkspaceInstanceType {
21417
21617
  /**
21418
21618
  * Maximum active time series count
@@ -0,0 +1,80 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data Source schema for Byteplus::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 Byteplus::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 Byteplus::VEFAAS::Timer
10
+ */
11
+ function getTimer(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:vefaas/getTimer:getTimer", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getTimer = getTimer;
18
+ /**
19
+ * Data Source schema for Byteplus::VEFAAS::Timer
20
+ */
21
+ function getTimerOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc: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,qCAAqC,EAAE;QAChE,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,qCAAqC,EAAE;QACtE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::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 Byteplus::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 Byteplus::VEFAAS::Timer
10
+ */
11
+ function getTimers(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:vefaas/getTimers:getTimers", {}, opts);
14
+ }
15
+ exports.getTimers = getTimers;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::VEFAAS::Timer
18
+ */
19
+ function getTimersOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc: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,uCAAuC,EAAE,EACrE,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,uCAAuC,EAAE,EAC3E,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 "bytepluscc:vefaas/sandbox:Sandbox":
41
49
  return new exports.Sandbox(name, undefined, { urn });
50
+ case "bytepluscc: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("bytepluscc", "vefaas/function", _module);
48
58
  pulumi.runtime.registerResourceModule("bytepluscc", "vefaas/kafkaTrigger", _module);
49
59
  pulumi.runtime.registerResourceModule("bytepluscc", "vefaas/sandbox", _module);
60
+ pulumi.runtime.registerResourceModule("bytepluscc", "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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AC,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,qCAAqC;gBACtC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,6CAA6C;gBAC9C,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,mCAAmC;gBACpC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,+BAA+B;gBAChC,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,YAAY,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,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 bytepluscc from "@byteplus/pulumi-bytepluscc";
10
+ *
11
+ * const vEFAASTimerDemo = new bytepluscc.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 bytepluscc: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
+ }