@pulumi/harness 0.17.0 → 0.17.1-alpha.1791603322

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 (58) hide show
  1. package/autostopping/getRuleEcs.d.ts +82 -56
  2. package/autostopping/getRuleEcs.d.ts.map +1 -1
  3. package/autostopping/getRuleEcs.js +70 -12
  4. package/autostopping/getRuleEcs.js.map +1 -1
  5. package/autostopping/getRuleK8s.d.ts +82 -77
  6. package/autostopping/getRuleK8s.d.ts.map +1 -1
  7. package/autostopping/getRuleK8s.js +70 -14
  8. package/autostopping/getRuleK8s.js.map +1 -1
  9. package/autostopping/getRuleRds.d.ts +84 -46
  10. package/autostopping/getRuleRds.d.ts.map +1 -1
  11. package/autostopping/getRuleRds.js +70 -10
  12. package/autostopping/getRuleRds.js.map +1 -1
  13. package/autostopping/getRuleScaleGroup.d.ts +82 -77
  14. package/autostopping/getRuleScaleGroup.d.ts.map +1 -1
  15. package/autostopping/getRuleScaleGroup.js +70 -14
  16. package/autostopping/getRuleScaleGroup.js.map +1 -1
  17. package/autostopping/getRuleVm.d.ts +82 -86
  18. package/autostopping/getRuleVm.d.ts.map +1 -1
  19. package/autostopping/getRuleVm.js +70 -16
  20. package/autostopping/getRuleVm.js.map +1 -1
  21. package/autostopping/getRules.d.ts +14 -0
  22. package/autostopping/getRules.d.ts.map +1 -1
  23. package/autostopping/getRules.js +14 -0
  24. package/autostopping/getRules.js.map +1 -1
  25. package/package.json +2 -2
  26. package/platform/connectorAnthropicModel.d.ts +314 -0
  27. package/platform/connectorAnthropicModel.d.ts.map +1 -0
  28. package/platform/connectorAnthropicModel.js +237 -0
  29. package/platform/connectorAnthropicModel.js.map +1 -0
  30. package/platform/connectorOpenaiModel.d.ts +257 -0
  31. package/platform/connectorOpenaiModel.d.ts.map +1 -0
  32. package/platform/connectorOpenaiModel.js +180 -0
  33. package/platform/connectorOpenaiModel.js.map +1 -0
  34. package/platform/getConnectorAnthropicModel.d.ts +132 -0
  35. package/platform/getConnectorAnthropicModel.d.ts.map +1 -0
  36. package/platform/getConnectorAnthropicModel.js +79 -0
  37. package/platform/getConnectorAnthropicModel.js.map +1 -0
  38. package/platform/getConnectorOpenaiModel.d.ts +132 -0
  39. package/platform/getConnectorOpenaiModel.d.ts.map +1 -0
  40. package/platform/getConnectorOpenaiModel.js +79 -0
  41. package/platform/getConnectorOpenaiModel.js.map +1 -0
  42. package/platform/getHarRegistry.d.ts +3 -3
  43. package/platform/harRegistry.d.ts +60 -3
  44. package/platform/harRegistry.d.ts.map +1 -1
  45. package/platform/harRegistry.js +57 -0
  46. package/platform/harRegistry.js.map +1 -1
  47. package/platform/index.d.ts +15 -0
  48. package/platform/index.d.ts.map +1 -1
  49. package/platform/index.js +30 -9
  50. package/platform/index.js.map +1 -1
  51. package/platform/setting.d.ts +210 -0
  52. package/platform/setting.d.ts.map +1 -0
  53. package/platform/setting.js +163 -0
  54. package/platform/setting.js.map +1 -0
  55. package/types/input.d.ts +96 -696
  56. package/types/input.d.ts.map +1 -1
  57. package/types/output.d.ts +197 -303
  58. package/types/output.d.ts.map +1 -1
@@ -1,41 +1,56 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "../types/input";
3
2
  import * as outputs from "../types/output";
4
3
  /**
5
4
  * Data source for retrieving a Harness AutoStopping rule for ECS services.
6
5
  *
7
6
  * ## Example Usage
7
+ *
8
+ * ### Lookup by ID
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as harness from "@pulumi/harness";
13
+ *
14
+ * const byId = harness.autostopping.getRuleEcs({
15
+ * identifier: "12345",
16
+ * });
17
+ * ```
18
+ *
19
+ * ### Lookup by name (regex)
20
+ *
21
+ * ```typescript
22
+ * import * as pulumi from "@pulumi/pulumi";
23
+ * import * as harness from "@pulumi/harness";
24
+ *
25
+ * const byName = harness.autostopping.getRuleEcs({
26
+ * name: "^my-ecs-rule$",
27
+ * });
28
+ * ```
29
+ *
30
+ * ### Lookup by name pattern
31
+ *
32
+ * ```typescript
33
+ * import * as pulumi from "@pulumi/pulumi";
34
+ * import * as harness from "@pulumi/harness";
35
+ *
36
+ * const byPattern = harness.autostopping.getRuleEcs({
37
+ * name: "my-ecs-.*-prod",
38
+ * });
39
+ * ```
8
40
  */
9
- export declare function getRuleEcs(args: GetRuleEcsArgs, opts?: pulumi.InvokeOptions): Promise<GetRuleEcsResult>;
41
+ export declare function getRuleEcs(args?: GetRuleEcsArgs, opts?: pulumi.InvokeOptions): Promise<GetRuleEcsResult>;
10
42
  /**
11
43
  * A collection of arguments for invoking getRuleEcs.
12
44
  */
13
45
  export interface GetRuleEcsArgs {
14
46
  /**
15
- * Id of the cloud connector
47
+ * Unique identifier of the resource. Either `identifier` or `name` must be specified.
16
48
  */
17
- cloudConnectorId: string;
18
- container?: inputs.autostopping.GetRuleEcsContainer;
49
+ identifier?: string;
19
50
  /**
20
- * Custom URLs used to access the instances
51
+ * Name or regex pattern to match the rule name. Either `identifier` or `name` must be specified.
21
52
  */
22
- customDomains?: string[];
23
- /**
24
- * Dependent rules
25
- */
26
- depends?: inputs.autostopping.GetRuleEcsDepend[];
27
- /**
28
- * Http routing configuration
29
- */
30
- https?: inputs.autostopping.GetRuleEcsHttp[];
31
- /**
32
- * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
33
- */
34
- idleTimeMins?: number;
35
- /**
36
- * Name of the rule
37
- */
38
- name: string;
53
+ name?: string;
39
54
  }
40
55
  /**
41
56
  * A collection of values returned by getRuleEcs.
@@ -45,33 +60,28 @@ export interface GetRuleEcsResult {
45
60
  * Id of the cloud connector
46
61
  */
47
62
  readonly cloudConnectorId: string;
48
- readonly container?: outputs.autostopping.GetRuleEcsContainer;
49
- /**
50
- * Custom URLs used to access the instances
51
- */
52
- readonly customDomains?: string[];
53
63
  /**
54
64
  * Dependent rules
55
65
  */
56
- readonly depends?: outputs.autostopping.GetRuleEcsDepend[];
66
+ readonly depends: outputs.autostopping.GetRuleEcsDepend[];
57
67
  /**
58
- * Http routing configuration
68
+ * Boolean that indicates whether the AutoStopping rule is in DryRun mode
59
69
  */
60
- readonly https?: outputs.autostopping.GetRuleEcsHttp[];
70
+ readonly dryRun: boolean;
61
71
  /**
62
72
  * The provider-assigned unique ID for this managed resource.
63
73
  */
64
74
  readonly id: string;
65
75
  /**
66
- * Unique identifier of the resource
76
+ * Unique identifier of the resource. Either `identifier` or `name` must be specified.
67
77
  */
68
78
  readonly identifier: string;
69
79
  /**
70
80
  * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
71
81
  */
72
- readonly idleTimeMins?: number;
82
+ readonly idleTimeMins: number;
73
83
  /**
74
- * Name of the rule
84
+ * Name or regex pattern to match the rule name. Either `identifier` or `name` must be specified.
75
85
  */
76
86
  readonly name: string;
77
87
  }
@@ -79,36 +89,52 @@ export interface GetRuleEcsResult {
79
89
  * Data source for retrieving a Harness AutoStopping rule for ECS services.
80
90
  *
81
91
  * ## Example Usage
92
+ *
93
+ * ### Lookup by ID
94
+ *
95
+ * ```typescript
96
+ * import * as pulumi from "@pulumi/pulumi";
97
+ * import * as harness from "@pulumi/harness";
98
+ *
99
+ * const byId = harness.autostopping.getRuleEcs({
100
+ * identifier: "12345",
101
+ * });
102
+ * ```
103
+ *
104
+ * ### Lookup by name (regex)
105
+ *
106
+ * ```typescript
107
+ * import * as pulumi from "@pulumi/pulumi";
108
+ * import * as harness from "@pulumi/harness";
109
+ *
110
+ * const byName = harness.autostopping.getRuleEcs({
111
+ * name: "^my-ecs-rule$",
112
+ * });
113
+ * ```
114
+ *
115
+ * ### Lookup by name pattern
116
+ *
117
+ * ```typescript
118
+ * import * as pulumi from "@pulumi/pulumi";
119
+ * import * as harness from "@pulumi/harness";
120
+ *
121
+ * const byPattern = harness.autostopping.getRuleEcs({
122
+ * name: "my-ecs-.*-prod",
123
+ * });
124
+ * ```
82
125
  */
83
- export declare function getRuleEcsOutput(args: GetRuleEcsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRuleEcsResult>;
126
+ export declare function getRuleEcsOutput(args?: GetRuleEcsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRuleEcsResult>;
84
127
  /**
85
128
  * A collection of arguments for invoking getRuleEcs.
86
129
  */
87
130
  export interface GetRuleEcsOutputArgs {
88
131
  /**
89
- * Id of the cloud connector
90
- */
91
- cloudConnectorId: pulumi.Input<string>;
92
- container?: pulumi.Input<inputs.autostopping.GetRuleEcsContainerArgs | undefined>;
93
- /**
94
- * Custom URLs used to access the instances
95
- */
96
- customDomains?: pulumi.Input<pulumi.Input<string>[] | undefined>;
97
- /**
98
- * Dependent rules
99
- */
100
- depends?: pulumi.Input<pulumi.Input<inputs.autostopping.GetRuleEcsDependArgs>[] | undefined>;
101
- /**
102
- * Http routing configuration
103
- */
104
- https?: pulumi.Input<pulumi.Input<inputs.autostopping.GetRuleEcsHttpArgs>[] | undefined>;
105
- /**
106
- * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
132
+ * Unique identifier of the resource. Either `identifier` or `name` must be specified.
107
133
  */
108
- idleTimeMins?: pulumi.Input<number | undefined>;
134
+ identifier?: pulumi.Input<string | undefined>;
109
135
  /**
110
- * Name of the rule
136
+ * Name or regex pattern to match the rule name. Either `identifier` or `name` must be specified.
111
137
  */
112
- name: pulumi.Input<string>;
138
+ name?: pulumi.Input<string | undefined>;
113
139
  }
114
140
  //# sourceMappingURL=getRuleEcs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getRuleEcs.d.ts","sourceRoot":"","sources":["../../autostopping/getRuleEcs.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,EA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IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAOxG;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,YAAY,CAAC,gBAAgB,EAAE,CAAC;IAC1D;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAOhI;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
@@ -32,16 +32,45 @@ const utilities = __importStar(require("../utilities"));
32
32
  * Data source for retrieving a Harness AutoStopping rule for ECS services.
33
33
  *
34
34
  * ## Example Usage
35
+ *
36
+ * ### Lookup by ID
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as harness from "@pulumi/harness";
41
+ *
42
+ * const byId = harness.autostopping.getRuleEcs({
43
+ * identifier: "12345",
44
+ * });
45
+ * ```
46
+ *
47
+ * ### Lookup by name (regex)
48
+ *
49
+ * ```typescript
50
+ * import * as pulumi from "@pulumi/pulumi";
51
+ * import * as harness from "@pulumi/harness";
52
+ *
53
+ * const byName = harness.autostopping.getRuleEcs({
54
+ * name: "^my-ecs-rule$",
55
+ * });
56
+ * ```
57
+ *
58
+ * ### Lookup by name pattern
59
+ *
60
+ * ```typescript
61
+ * import * as pulumi from "@pulumi/pulumi";
62
+ * import * as harness from "@pulumi/harness";
63
+ *
64
+ * const byPattern = harness.autostopping.getRuleEcs({
65
+ * name: "my-ecs-.*-prod",
66
+ * });
67
+ * ```
35
68
  */
36
69
  function getRuleEcs(args, opts) {
70
+ args = args || {};
37
71
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
38
72
  return pulumi.runtime.invoke("harness:autostopping/getRuleEcs:getRuleEcs", {
39
- "cloudConnectorId": args.cloudConnectorId,
40
- "container": args.container,
41
- "customDomains": args.customDomains,
42
- "depends": args.depends,
43
- "https": args.https,
44
- "idleTimeMins": args.idleTimeMins,
73
+ "identifier": args.identifier,
45
74
  "name": args.name,
46
75
  }, opts);
47
76
  }
@@ -50,16 +79,45 @@ exports.getRuleEcs = getRuleEcs;
50
79
  * Data source for retrieving a Harness AutoStopping rule for ECS services.
51
80
  *
52
81
  * ## Example Usage
82
+ *
83
+ * ### Lookup by ID
84
+ *
85
+ * ```typescript
86
+ * import * as pulumi from "@pulumi/pulumi";
87
+ * import * as harness from "@pulumi/harness";
88
+ *
89
+ * const byId = harness.autostopping.getRuleEcs({
90
+ * identifier: "12345",
91
+ * });
92
+ * ```
93
+ *
94
+ * ### Lookup by name (regex)
95
+ *
96
+ * ```typescript
97
+ * import * as pulumi from "@pulumi/pulumi";
98
+ * import * as harness from "@pulumi/harness";
99
+ *
100
+ * const byName = harness.autostopping.getRuleEcs({
101
+ * name: "^my-ecs-rule$",
102
+ * });
103
+ * ```
104
+ *
105
+ * ### Lookup by name pattern
106
+ *
107
+ * ```typescript
108
+ * import * as pulumi from "@pulumi/pulumi";
109
+ * import * as harness from "@pulumi/harness";
110
+ *
111
+ * const byPattern = harness.autostopping.getRuleEcs({
112
+ * name: "my-ecs-.*-prod",
113
+ * });
114
+ * ```
53
115
  */
54
116
  function getRuleEcsOutput(args, opts) {
117
+ args = args || {};
55
118
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
56
119
  return pulumi.runtime.invokeOutput("harness:autostopping/getRuleEcs:getRuleEcs", {
57
- "cloudConnectorId": args.cloudConnectorId,
58
- "container": args.container,
59
- "customDomains": args.customDomains,
60
- "depends": args.depends,
61
- "https": args.https,
62
- "idleTimeMins": args.idleTimeMins,
120
+ "identifier": args.identifier,
63
121
  "name": args.name,
64
122
  }, opts);
65
123
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getRuleEcs.js","sourceRoot":"","sources":["../../autostopping/getRuleEcs.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;GAIG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,C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C,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;AAiDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAAiC;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4CAOC"}
@@ -1,48 +1,56 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "../types/input";
3
2
  import * as outputs from "../types/output";
4
3
  /**
5
4
  * Data source for retrieving a Harness AutoStopping rule for K8s services.
6
5
  *
7
6
  * ## Example Usage
7
+ *
8
+ * ### Lookup by ID
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as harness from "@pulumi/harness";
13
+ *
14
+ * const byId = harness.autostopping.getRuleK8s({
15
+ * identifier: "12345",
16
+ * });
17
+ * ```
18
+ *
19
+ * ### Lookup by name (regex)
20
+ *
21
+ * ```typescript
22
+ * import * as pulumi from "@pulumi/pulumi";
23
+ * import * as harness from "@pulumi/harness";
24
+ *
25
+ * const byName = harness.autostopping.getRuleK8s({
26
+ * name: "^my-k8s-rule$",
27
+ * });
28
+ * ```
29
+ *
30
+ * ### Lookup by name pattern
31
+ *
32
+ * ```typescript
33
+ * import * as pulumi from "@pulumi/pulumi";
34
+ * import * as harness from "@pulumi/harness";
35
+ *
36
+ * const byPattern = harness.autostopping.getRuleK8s({
37
+ * name: "my-k8s-.*-prod",
38
+ * });
39
+ * ```
8
40
  */
9
- export declare function getRuleK8s(args: GetRuleK8sArgs, opts?: pulumi.InvokeOptions): Promise<GetRuleK8sResult>;
41
+ export declare function getRuleK8s(args?: GetRuleK8sArgs, opts?: pulumi.InvokeOptions): Promise<GetRuleK8sResult>;
10
42
  /**
11
43
  * A collection of arguments for invoking getRuleK8s.
12
44
  */
13
45
  export interface GetRuleK8sArgs {
14
46
  /**
15
- * Id of the cloud connector
47
+ * Unique identifier of the resource. Either `identifier` or `name` must be specified.
16
48
  */
17
- cloudConnectorId: string;
49
+ identifier?: string;
18
50
  /**
19
- * Dependent rules
51
+ * Name or regex pattern to match the rule name. Either `identifier` or `name` must be specified.
20
52
  */
21
- depends?: inputs.autostopping.GetRuleK8sDepend[];
22
- /**
23
- * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
24
- */
25
- dryRun?: boolean;
26
- /**
27
- * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
28
- */
29
- idleTimeMins?: number;
30
- /**
31
- * Id of the K8s connector
32
- */
33
- k8sConnectorId: string;
34
- /**
35
- * Namespace of the cluster
36
- */
37
- k8sNamespace: string;
38
- /**
39
- * Name of the rule
40
- */
41
- name: string;
42
- /**
43
- * YAML definition of the K8s AutoStopping rule (workload selector, ingress, etc.).
44
- */
45
- ruleYaml: string;
53
+ name?: string;
46
54
  }
47
55
  /**
48
56
  * A collection of values returned by getRuleK8s.
@@ -55,81 +63,78 @@ export interface GetRuleK8sResult {
55
63
  /**
56
64
  * Dependent rules
57
65
  */
58
- readonly depends?: outputs.autostopping.GetRuleK8sDepend[];
66
+ readonly depends: outputs.autostopping.GetRuleK8sDepend[];
59
67
  /**
60
- * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
68
+ * Boolean that indicates whether the AutoStopping rule is in DryRun mode
61
69
  */
62
- readonly dryRun?: boolean;
70
+ readonly dryRun: boolean;
63
71
  /**
64
72
  * The provider-assigned unique ID for this managed resource.
65
73
  */
66
74
  readonly id: string;
67
75
  /**
68
- * Unique identifier of the resource
76
+ * Unique identifier of the resource. Either `identifier` or `name` must be specified.
69
77
  */
70
78
  readonly identifier: string;
71
79
  /**
72
80
  * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
73
81
  */
74
- readonly idleTimeMins?: number;
75
- /**
76
- * Id of the K8s connector
77
- */
78
- readonly k8sConnectorId: string;
79
- /**
80
- * Namespace of the cluster
81
- */
82
- readonly k8sNamespace: string;
82
+ readonly idleTimeMins: number;
83
83
  /**
84
- * Name of the rule
84
+ * Name or regex pattern to match the rule name. Either `identifier` or `name` must be specified.
85
85
  */
86
86
  readonly name: string;
87
- /**
88
- * YAML definition of the K8s AutoStopping rule (workload selector, ingress, etc.).
89
- */
90
- readonly ruleYaml: string;
91
87
  }
92
88
  /**
93
89
  * Data source for retrieving a Harness AutoStopping rule for K8s services.
94
90
  *
95
91
  * ## Example Usage
92
+ *
93
+ * ### Lookup by ID
94
+ *
95
+ * ```typescript
96
+ * import * as pulumi from "@pulumi/pulumi";
97
+ * import * as harness from "@pulumi/harness";
98
+ *
99
+ * const byId = harness.autostopping.getRuleK8s({
100
+ * identifier: "12345",
101
+ * });
102
+ * ```
103
+ *
104
+ * ### Lookup by name (regex)
105
+ *
106
+ * ```typescript
107
+ * import * as pulumi from "@pulumi/pulumi";
108
+ * import * as harness from "@pulumi/harness";
109
+ *
110
+ * const byName = harness.autostopping.getRuleK8s({
111
+ * name: "^my-k8s-rule$",
112
+ * });
113
+ * ```
114
+ *
115
+ * ### Lookup by name pattern
116
+ *
117
+ * ```typescript
118
+ * import * as pulumi from "@pulumi/pulumi";
119
+ * import * as harness from "@pulumi/harness";
120
+ *
121
+ * const byPattern = harness.autostopping.getRuleK8s({
122
+ * name: "my-k8s-.*-prod",
123
+ * });
124
+ * ```
96
125
  */
97
- export declare function getRuleK8sOutput(args: GetRuleK8sOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRuleK8sResult>;
126
+ export declare function getRuleK8sOutput(args?: GetRuleK8sOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRuleK8sResult>;
98
127
  /**
99
128
  * A collection of arguments for invoking getRuleK8s.
100
129
  */
101
130
  export interface GetRuleK8sOutputArgs {
102
131
  /**
103
- * Id of the cloud connector
104
- */
105
- cloudConnectorId: pulumi.Input<string>;
106
- /**
107
- * Dependent rules
108
- */
109
- depends?: pulumi.Input<pulumi.Input<inputs.autostopping.GetRuleK8sDependArgs>[] | undefined>;
110
- /**
111
- * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
112
- */
113
- dryRun?: pulumi.Input<boolean | undefined>;
114
- /**
115
- * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
116
- */
117
- idleTimeMins?: pulumi.Input<number | undefined>;
118
- /**
119
- * Id of the K8s connector
120
- */
121
- k8sConnectorId: pulumi.Input<string>;
122
- /**
123
- * Namespace of the cluster
124
- */
125
- k8sNamespace: pulumi.Input<string>;
126
- /**
127
- * Name of the rule
132
+ * Unique identifier of the resource. Either `identifier` or `name` must be specified.
128
133
  */
129
- name: pulumi.Input<string>;
134
+ identifier?: pulumi.Input<string | undefined>;
130
135
  /**
131
- * YAML definition of the K8s AutoStopping rule (workload selector, ingress, etc.).
136
+ * Name or regex pattern to match the rule name. Either `identifier` or `name` must be specified.
132
137
  */
133
- ruleYaml: pulumi.Input<string>;
138
+ name?: pulumi.Input<string | undefined>;
134
139
  }
135
140
  //# sourceMappingURL=getRuleK8s.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getRuleK8s.d.ts","sourceRoot":"","sources":["../../autostopping/getRuleK8s.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,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B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,YAAY,CAAC,gBAAgB,EAAE,CAAC;IAC1D;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAOhI;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
@@ -32,18 +32,46 @@ const utilities = __importStar(require("../utilities"));
32
32
  * Data source for retrieving a Harness AutoStopping rule for K8s services.
33
33
  *
34
34
  * ## Example Usage
35
+ *
36
+ * ### Lookup by ID
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as harness from "@pulumi/harness";
41
+ *
42
+ * const byId = harness.autostopping.getRuleK8s({
43
+ * identifier: "12345",
44
+ * });
45
+ * ```
46
+ *
47
+ * ### Lookup by name (regex)
48
+ *
49
+ * ```typescript
50
+ * import * as pulumi from "@pulumi/pulumi";
51
+ * import * as harness from "@pulumi/harness";
52
+ *
53
+ * const byName = harness.autostopping.getRuleK8s({
54
+ * name: "^my-k8s-rule$",
55
+ * });
56
+ * ```
57
+ *
58
+ * ### Lookup by name pattern
59
+ *
60
+ * ```typescript
61
+ * import * as pulumi from "@pulumi/pulumi";
62
+ * import * as harness from "@pulumi/harness";
63
+ *
64
+ * const byPattern = harness.autostopping.getRuleK8s({
65
+ * name: "my-k8s-.*-prod",
66
+ * });
67
+ * ```
35
68
  */
36
69
  function getRuleK8s(args, opts) {
70
+ args = args || {};
37
71
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
38
72
  return pulumi.runtime.invoke("harness:autostopping/getRuleK8s:getRuleK8s", {
39
- "cloudConnectorId": args.cloudConnectorId,
40
- "depends": args.depends,
41
- "dryRun": args.dryRun,
42
- "idleTimeMins": args.idleTimeMins,
43
- "k8sConnectorId": args.k8sConnectorId,
44
- "k8sNamespace": args.k8sNamespace,
73
+ "identifier": args.identifier,
45
74
  "name": args.name,
46
- "ruleYaml": args.ruleYaml,
47
75
  }, opts);
48
76
  }
49
77
  exports.getRuleK8s = getRuleK8s;
@@ -51,18 +79,46 @@ exports.getRuleK8s = getRuleK8s;
51
79
  * Data source for retrieving a Harness AutoStopping rule for K8s services.
52
80
  *
53
81
  * ## Example Usage
82
+ *
83
+ * ### Lookup by ID
84
+ *
85
+ * ```typescript
86
+ * import * as pulumi from "@pulumi/pulumi";
87
+ * import * as harness from "@pulumi/harness";
88
+ *
89
+ * const byId = harness.autostopping.getRuleK8s({
90
+ * identifier: "12345",
91
+ * });
92
+ * ```
93
+ *
94
+ * ### Lookup by name (regex)
95
+ *
96
+ * ```typescript
97
+ * import * as pulumi from "@pulumi/pulumi";
98
+ * import * as harness from "@pulumi/harness";
99
+ *
100
+ * const byName = harness.autostopping.getRuleK8s({
101
+ * name: "^my-k8s-rule$",
102
+ * });
103
+ * ```
104
+ *
105
+ * ### Lookup by name pattern
106
+ *
107
+ * ```typescript
108
+ * import * as pulumi from "@pulumi/pulumi";
109
+ * import * as harness from "@pulumi/harness";
110
+ *
111
+ * const byPattern = harness.autostopping.getRuleK8s({
112
+ * name: "my-k8s-.*-prod",
113
+ * });
114
+ * ```
54
115
  */
55
116
  function getRuleK8sOutput(args, opts) {
117
+ args = args || {};
56
118
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
57
119
  return pulumi.runtime.invokeOutput("harness:autostopping/getRuleK8s:getRuleK8s", {
58
- "cloudConnectorId": args.cloudConnectorId,
59
- "depends": args.depends,
60
- "dryRun": args.dryRun,
61
- "idleTimeMins": args.idleTimeMins,
62
- "k8sConnectorId": args.k8sConnectorId,
63
- "k8sNamespace": args.k8sNamespace,
120
+ "identifier": args.identifier,
64
121
  "name": args.name,
65
- "ruleYaml": args.ruleYaml,
66
122
  }, opts);
67
123
  }
68
124
  exports.getRuleK8sOutput = getRuleK8sOutput;
@@ -1 +1 @@
1
- {"version":3,"file":"getRuleK8s.js","sourceRoot":"","sources":["../../autostopping/getRuleK8s.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;GAIG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MA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