@pulumi/harness 0.1.0 → 0.1.1

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 (37) hide show
  1. package/package.json +2 -2
  2. package/platform/azureCloudCostConnector.d.ts +3 -3
  3. package/platform/connectorJdbc.d.ts +189 -0
  4. package/platform/connectorJdbc.js +117 -0
  5. package/platform/connectorJdbc.js.map +1 -0
  6. package/platform/dbInstance.d.ts +189 -0
  7. package/platform/dbInstance.js +115 -0
  8. package/platform/dbInstance.js.map +1 -0
  9. package/platform/dbSchema.d.ts +169 -0
  10. package/platform/dbSchema.js +110 -0
  11. package/platform/dbSchema.js.map +1 -0
  12. package/platform/gcpCloudCostConnector.d.ts +3 -3
  13. package/platform/getConnectorJdbc.d.ts +119 -0
  14. package/platform/getConnectorJdbc.js +50 -0
  15. package/platform/getConnectorJdbc.js.map +1 -0
  16. package/platform/getDbInstance.d.ts +136 -0
  17. package/platform/getDbInstance.js +57 -0
  18. package/platform/getDbInstance.js.map +1 -0
  19. package/platform/getDbSchema.d.ts +119 -0
  20. package/platform/getDbSchema.js +54 -0
  21. package/platform/getDbSchema.js.map +1 -0
  22. package/platform/getGitopsApplications.d.ts +4 -0
  23. package/platform/getGitopsApplications.js.map +1 -1
  24. package/platform/getGitopsProject.d.ts +114 -0
  25. package/platform/getGitopsProject.js +31 -0
  26. package/platform/getGitopsProject.js.map +1 -0
  27. package/platform/gitOpsApplications.d.ts +14 -2
  28. package/platform/gitOpsApplications.js +2 -3
  29. package/platform/gitOpsApplications.js.map +1 -1
  30. package/platform/gitopsProject.d.ts +145 -0
  31. package/platform/gitopsProject.js +93 -0
  32. package/platform/gitopsProject.js.map +1 -0
  33. package/platform/index.d.ts +24 -0
  34. package/platform/index.js +39 -6
  35. package/platform/index.js.map +1 -1
  36. package/types/input.d.ts +202 -0
  37. package/types/output.d.ts +172 -0
@@ -0,0 +1,169 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Resource for creating a Harness DBDevOps Schema.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as harness from "@pulumi/harness";
12
+ *
13
+ * const test = new harness.platform.DbSchema("test", {
14
+ * identifier: "identifier",
15
+ * orgId: "org_id",
16
+ * projectId: "project_id",
17
+ * name: "name",
18
+ * service: "service1",
19
+ * tags: [
20
+ * "foo:bar",
21
+ * "bar:foo",
22
+ * ],
23
+ * schemaSource: {
24
+ * connector: "gitConnector",
25
+ * repo: "TestRepo",
26
+ * location: "db/example-changelog.yaml",
27
+ * },
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * Import project level db schema
34
+ *
35
+ * ```sh
36
+ * $ pulumi import harness:platform/dbSchema:DbSchema example <org_id>/<project_id>/<db_schema_id>
37
+ * ```
38
+ */
39
+ export declare class DbSchema extends pulumi.CustomResource {
40
+ /**
41
+ * Get an existing DbSchema resource's state with the given name, ID, and optional extra
42
+ * properties used to qualify the lookup.
43
+ *
44
+ * @param name The _unique_ name of the resulting resource.
45
+ * @param id The _unique_ provider ID of the resource to lookup.
46
+ * @param state Any extra arguments used during the lookup.
47
+ * @param opts Optional settings to control the behavior of the CustomResource.
48
+ */
49
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DbSchemaState, opts?: pulumi.CustomResourceOptions): DbSchema;
50
+ /**
51
+ * Returns true if the given object is an instance of DbSchema. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj: any): obj is DbSchema;
55
+ /**
56
+ * Description of the resource.
57
+ */
58
+ readonly description: pulumi.Output<string | undefined>;
59
+ /**
60
+ * Unique identifier of the resource.
61
+ */
62
+ readonly identifier: pulumi.Output<string>;
63
+ /**
64
+ * Name of the resource.
65
+ */
66
+ readonly name: pulumi.Output<string>;
67
+ /**
68
+ * Unique identifier of the organization.
69
+ */
70
+ readonly orgId: pulumi.Output<string>;
71
+ /**
72
+ * Unique identifier of the project.
73
+ */
74
+ readonly projectId: pulumi.Output<string>;
75
+ /**
76
+ * Provides a connector and path at which to find the database schema representation
77
+ */
78
+ readonly schemaSource: pulumi.Output<outputs.platform.DbSchemaSchemaSource>;
79
+ /**
80
+ * The service associated with schema
81
+ */
82
+ readonly service: pulumi.Output<string | undefined>;
83
+ /**
84
+ * Tags to associate with the resource.
85
+ */
86
+ readonly tags: pulumi.Output<string[] | undefined>;
87
+ /**
88
+ * Create a DbSchema resource with the given unique name, arguments, and options.
89
+ *
90
+ * @param name The _unique_ name of the resource.
91
+ * @param args The arguments to use to populate this resource's properties.
92
+ * @param opts A bag of options that control this resource's behavior.
93
+ */
94
+ constructor(name: string, args: DbSchemaArgs, opts?: pulumi.CustomResourceOptions);
95
+ }
96
+ /**
97
+ * Input properties used for looking up and filtering DbSchema resources.
98
+ */
99
+ export interface DbSchemaState {
100
+ /**
101
+ * Description of the resource.
102
+ */
103
+ description?: pulumi.Input<string>;
104
+ /**
105
+ * Unique identifier of the resource.
106
+ */
107
+ identifier?: pulumi.Input<string>;
108
+ /**
109
+ * Name of the resource.
110
+ */
111
+ name?: pulumi.Input<string>;
112
+ /**
113
+ * Unique identifier of the organization.
114
+ */
115
+ orgId?: pulumi.Input<string>;
116
+ /**
117
+ * Unique identifier of the project.
118
+ */
119
+ projectId?: pulumi.Input<string>;
120
+ /**
121
+ * Provides a connector and path at which to find the database schema representation
122
+ */
123
+ schemaSource?: pulumi.Input<inputs.platform.DbSchemaSchemaSource>;
124
+ /**
125
+ * The service associated with schema
126
+ */
127
+ service?: pulumi.Input<string>;
128
+ /**
129
+ * Tags to associate with the resource.
130
+ */
131
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
132
+ }
133
+ /**
134
+ * The set of arguments for constructing a DbSchema resource.
135
+ */
136
+ export interface DbSchemaArgs {
137
+ /**
138
+ * Description of the resource.
139
+ */
140
+ description?: pulumi.Input<string>;
141
+ /**
142
+ * Unique identifier of the resource.
143
+ */
144
+ identifier: pulumi.Input<string>;
145
+ /**
146
+ * Name of the resource.
147
+ */
148
+ name?: pulumi.Input<string>;
149
+ /**
150
+ * Unique identifier of the organization.
151
+ */
152
+ orgId: pulumi.Input<string>;
153
+ /**
154
+ * Unique identifier of the project.
155
+ */
156
+ projectId: pulumi.Input<string>;
157
+ /**
158
+ * Provides a connector and path at which to find the database schema representation
159
+ */
160
+ schemaSource: pulumi.Input<inputs.platform.DbSchemaSchemaSource>;
161
+ /**
162
+ * The service associated with schema
163
+ */
164
+ service?: pulumi.Input<string>;
165
+ /**
166
+ * Tags to associate with the resource.
167
+ */
168
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
169
+ }
@@ -0,0 +1,110 @@
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.DbSchema = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for creating a Harness DBDevOps Schema.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as harness from "@pulumi/harness";
16
+ *
17
+ * const test = new harness.platform.DbSchema("test", {
18
+ * identifier: "identifier",
19
+ * orgId: "org_id",
20
+ * projectId: "project_id",
21
+ * name: "name",
22
+ * service: "service1",
23
+ * tags: [
24
+ * "foo:bar",
25
+ * "bar:foo",
26
+ * ],
27
+ * schemaSource: {
28
+ * connector: "gitConnector",
29
+ * repo: "TestRepo",
30
+ * location: "db/example-changelog.yaml",
31
+ * },
32
+ * });
33
+ * ```
34
+ *
35
+ * ## Import
36
+ *
37
+ * Import project level db schema
38
+ *
39
+ * ```sh
40
+ * $ pulumi import harness:platform/dbSchema:DbSchema example <org_id>/<project_id>/<db_schema_id>
41
+ * ```
42
+ */
43
+ class DbSchema extends pulumi.CustomResource {
44
+ /**
45
+ * Get an existing DbSchema resource's state with the given name, ID, and optional extra
46
+ * properties used to qualify the lookup.
47
+ *
48
+ * @param name The _unique_ name of the resulting resource.
49
+ * @param id The _unique_ provider ID of the resource to lookup.
50
+ * @param state Any extra arguments used during the lookup.
51
+ * @param opts Optional settings to control the behavior of the CustomResource.
52
+ */
53
+ static get(name, id, state, opts) {
54
+ return new DbSchema(name, state, Object.assign(Object.assign({}, opts), { id: id }));
55
+ }
56
+ /**
57
+ * Returns true if the given object is an instance of DbSchema. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj) {
61
+ if (obj === undefined || obj === null) {
62
+ return false;
63
+ }
64
+ return obj['__pulumiType'] === DbSchema.__pulumiType;
65
+ }
66
+ constructor(name, argsOrState, opts) {
67
+ let resourceInputs = {};
68
+ opts = opts || {};
69
+ if (opts.id) {
70
+ const state = argsOrState;
71
+ resourceInputs["description"] = state ? state.description : undefined;
72
+ resourceInputs["identifier"] = state ? state.identifier : undefined;
73
+ resourceInputs["name"] = state ? state.name : undefined;
74
+ resourceInputs["orgId"] = state ? state.orgId : undefined;
75
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
76
+ resourceInputs["schemaSource"] = state ? state.schemaSource : undefined;
77
+ resourceInputs["service"] = state ? state.service : undefined;
78
+ resourceInputs["tags"] = state ? state.tags : undefined;
79
+ }
80
+ else {
81
+ const args = argsOrState;
82
+ if ((!args || args.identifier === undefined) && !opts.urn) {
83
+ throw new Error("Missing required property 'identifier'");
84
+ }
85
+ if ((!args || args.orgId === undefined) && !opts.urn) {
86
+ throw new Error("Missing required property 'orgId'");
87
+ }
88
+ if ((!args || args.projectId === undefined) && !opts.urn) {
89
+ throw new Error("Missing required property 'projectId'");
90
+ }
91
+ if ((!args || args.schemaSource === undefined) && !opts.urn) {
92
+ throw new Error("Missing required property 'schemaSource'");
93
+ }
94
+ resourceInputs["description"] = args ? args.description : undefined;
95
+ resourceInputs["identifier"] = args ? args.identifier : undefined;
96
+ resourceInputs["name"] = args ? args.name : undefined;
97
+ resourceInputs["orgId"] = args ? args.orgId : undefined;
98
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
99
+ resourceInputs["schemaSource"] = args ? args.schemaSource : undefined;
100
+ resourceInputs["service"] = args ? args.service : undefined;
101
+ resourceInputs["tags"] = args ? args.tags : undefined;
102
+ }
103
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
104
+ super(DbSchema.__pulumiType, name, resourceInputs, opts);
105
+ }
106
+ }
107
+ exports.DbSchema = DbSchema;
108
+ /** @internal */
109
+ DbSchema.__pulumiType = 'harness:platform/dbSchema:DbSchema';
110
+ //# sourceMappingURL=dbSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dbSchema.js","sourceRoot":"","sources":["../../platform/dbSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA2CD,YAAY,IAAY,EAAE,WAA0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CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA3GL,4BA4GC;AA9FG,gBAAgB;AACO,qBAAY,GAAG,oCAAoC,CAAC"}
@@ -74,7 +74,7 @@ export declare class GcpCloudCostConnector extends pulumi.CustomResource {
74
74
  */
75
75
  readonly description: pulumi.Output<string | undefined>;
76
76
  /**
77
- * Indicates which features to enable among Billing, Optimization, and Visibility.
77
+ * Indicates which features to enable among Billing, Optimization, Visibility and Governance.
78
78
  */
79
79
  readonly featuresEnableds: pulumi.Output<string[]>;
80
80
  /**
@@ -127,7 +127,7 @@ export interface GcpCloudCostConnectorState {
127
127
  */
128
128
  description?: pulumi.Input<string>;
129
129
  /**
130
- * Indicates which features to enable among Billing, Optimization, and Visibility.
130
+ * Indicates which features to enable among Billing, Optimization, Visibility and Governance.
131
131
  */
132
132
  featuresEnableds?: pulumi.Input<pulumi.Input<string>[]>;
133
133
  /**
@@ -172,7 +172,7 @@ export interface GcpCloudCostConnectorArgs {
172
172
  */
173
173
  description?: pulumi.Input<string>;
174
174
  /**
175
- * Indicates which features to enable among Billing, Optimization, and Visibility.
175
+ * Indicates which features to enable among Billing, Optimization, Visibility and Governance.
176
176
  */
177
177
  featuresEnableds: pulumi.Input<pulumi.Input<string>[]>;
178
178
  /**
@@ -0,0 +1,119 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data source for retrieving a Harness JDBC Connector.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as harness from "@pulumi/harness";
11
+ *
12
+ * const example = harness.platform.getConnectorJdbc({
13
+ * identifier: "identifier",
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function getConnectorJdbc(args: GetConnectorJdbcArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectorJdbcResult>;
18
+ /**
19
+ * A collection of arguments for invoking getConnectorJdbc.
20
+ */
21
+ export interface GetConnectorJdbcArgs {
22
+ /**
23
+ * Unique identifier of the resource.
24
+ */
25
+ identifier: string;
26
+ /**
27
+ * Name of the resource.
28
+ */
29
+ name?: string;
30
+ /**
31
+ * Unique identifier of the organization.
32
+ */
33
+ orgId?: string;
34
+ /**
35
+ * Unique identifier of the project.
36
+ */
37
+ projectId?: string;
38
+ }
39
+ /**
40
+ * A collection of values returned by getConnectorJdbc.
41
+ */
42
+ export interface GetConnectorJdbcResult {
43
+ /**
44
+ * The credentials to use for the database server.
45
+ */
46
+ readonly credentials: outputs.platform.GetConnectorJdbcCredential[];
47
+ /**
48
+ * Tags to filter delegates for connection.
49
+ */
50
+ readonly delegateSelectors: string[];
51
+ /**
52
+ * Description of the resource.
53
+ */
54
+ readonly description: string;
55
+ /**
56
+ * The provider-assigned unique ID for this managed resource.
57
+ */
58
+ readonly id: string;
59
+ /**
60
+ * Unique identifier of the resource.
61
+ */
62
+ readonly identifier: string;
63
+ /**
64
+ * Name of the resource.
65
+ */
66
+ readonly name?: string;
67
+ /**
68
+ * Unique identifier of the organization.
69
+ */
70
+ readonly orgId?: string;
71
+ /**
72
+ * Unique identifier of the project.
73
+ */
74
+ readonly projectId?: string;
75
+ /**
76
+ * Tags to associate with the resource.
77
+ */
78
+ readonly tags: string[];
79
+ /**
80
+ * The URL of the database server.
81
+ */
82
+ readonly url: string;
83
+ }
84
+ /**
85
+ * Data source for retrieving a Harness JDBC Connector.
86
+ *
87
+ * ## Example Usage
88
+ *
89
+ * ```typescript
90
+ * import * as pulumi from "@pulumi/pulumi";
91
+ * import * as harness from "@pulumi/harness";
92
+ *
93
+ * const example = harness.platform.getConnectorJdbc({
94
+ * identifier: "identifier",
95
+ * });
96
+ * ```
97
+ */
98
+ export declare function getConnectorJdbcOutput(args: GetConnectorJdbcOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectorJdbcResult>;
99
+ /**
100
+ * A collection of arguments for invoking getConnectorJdbc.
101
+ */
102
+ export interface GetConnectorJdbcOutputArgs {
103
+ /**
104
+ * Unique identifier of the resource.
105
+ */
106
+ identifier: pulumi.Input<string>;
107
+ /**
108
+ * Name of the resource.
109
+ */
110
+ name?: pulumi.Input<string>;
111
+ /**
112
+ * Unique identifier of the organization.
113
+ */
114
+ orgId?: pulumi.Input<string>;
115
+ /**
116
+ * Unique identifier of the project.
117
+ */
118
+ projectId?: pulumi.Input<string>;
119
+ }
@@ -0,0 +1,50 @@
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.getConnectorJdbcOutput = exports.getConnectorJdbc = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data source for retrieving a Harness JDBC Connector.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as harness from "@pulumi/harness";
16
+ *
17
+ * const example = harness.platform.getConnectorJdbc({
18
+ * identifier: "identifier",
19
+ * });
20
+ * ```
21
+ */
22
+ function getConnectorJdbc(args, opts) {
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("harness:platform/getConnectorJdbc:getConnectorJdbc", {
25
+ "identifier": args.identifier,
26
+ "name": args.name,
27
+ "orgId": args.orgId,
28
+ "projectId": args.projectId,
29
+ }, opts);
30
+ }
31
+ exports.getConnectorJdbc = getConnectorJdbc;
32
+ /**
33
+ * Data source for retrieving a Harness JDBC Connector.
34
+ *
35
+ * ## Example Usage
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as harness from "@pulumi/harness";
40
+ *
41
+ * const example = harness.platform.getConnectorJdbc({
42
+ * identifier: "identifier",
43
+ * });
44
+ * ```
45
+ */
46
+ function getConnectorJdbcOutput(args, opts) {
47
+ return pulumi.output(args).apply((a) => getConnectorJdbc(a, opts));
48
+ }
49
+ exports.getConnectorJdbcOutput = getConnectorJdbcOutput;
50
+ //# sourceMappingURL=getConnectorJdbc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConnectorJdbc.js","sourceRoot":"","sources":["../../platform/getConnectorJdbc.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC;AAqED;;;;;;;;;;;;;GAaG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
@@ -0,0 +1,136 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data source for retrieving a Harness DBDevOps Instance.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as harness from "@pulumi/harness";
10
+ *
11
+ * const example = harness.platform.getDbInstance({
12
+ * identifier: "identifier",
13
+ * orgId: "org_id",
14
+ * projectId: "project_id",
15
+ * schema: "schema1",
16
+ * });
17
+ * ```
18
+ */
19
+ export declare function getDbInstance(args: GetDbInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetDbInstanceResult>;
20
+ /**
21
+ * A collection of arguments for invoking getDbInstance.
22
+ */
23
+ export interface GetDbInstanceArgs {
24
+ /**
25
+ * Unique identifier of the resource.
26
+ */
27
+ identifier: string;
28
+ /**
29
+ * Name of the resource.
30
+ */
31
+ name?: string;
32
+ /**
33
+ * Unique identifier of the organization.
34
+ */
35
+ orgId: string;
36
+ /**
37
+ * Unique identifier of the project.
38
+ */
39
+ projectId: string;
40
+ /**
41
+ * The identifier of the parent database schema
42
+ */
43
+ schema: string;
44
+ }
45
+ /**
46
+ * A collection of values returned by getDbInstance.
47
+ */
48
+ export interface GetDbInstanceResult {
49
+ /**
50
+ * The branch of changeSet repository
51
+ */
52
+ readonly branch: string;
53
+ /**
54
+ * The connector to database
55
+ */
56
+ readonly connector: string;
57
+ /**
58
+ * The liquibase context
59
+ */
60
+ readonly context: string;
61
+ /**
62
+ * Description of the resource.
63
+ */
64
+ readonly description: string;
65
+ /**
66
+ * The provider-assigned unique ID for this managed resource.
67
+ */
68
+ readonly id: string;
69
+ /**
70
+ * Unique identifier of the resource.
71
+ */
72
+ readonly identifier: string;
73
+ /**
74
+ * Name of the resource.
75
+ */
76
+ readonly name?: string;
77
+ /**
78
+ * Unique identifier of the organization.
79
+ */
80
+ readonly orgId: string;
81
+ /**
82
+ * Unique identifier of the project.
83
+ */
84
+ readonly projectId: string;
85
+ /**
86
+ * The identifier of the parent database schema
87
+ */
88
+ readonly schema: string;
89
+ /**
90
+ * Tags to associate with the resource.
91
+ */
92
+ readonly tags: string[];
93
+ }
94
+ /**
95
+ * Data source for retrieving a Harness DBDevOps Instance.
96
+ *
97
+ * ## Example Usage
98
+ *
99
+ * ```typescript
100
+ * import * as pulumi from "@pulumi/pulumi";
101
+ * import * as harness from "@pulumi/harness";
102
+ *
103
+ * const example = harness.platform.getDbInstance({
104
+ * identifier: "identifier",
105
+ * orgId: "org_id",
106
+ * projectId: "project_id",
107
+ * schema: "schema1",
108
+ * });
109
+ * ```
110
+ */
111
+ export declare function getDbInstanceOutput(args: GetDbInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDbInstanceResult>;
112
+ /**
113
+ * A collection of arguments for invoking getDbInstance.
114
+ */
115
+ export interface GetDbInstanceOutputArgs {
116
+ /**
117
+ * Unique identifier of the resource.
118
+ */
119
+ identifier: pulumi.Input<string>;
120
+ /**
121
+ * Name of the resource.
122
+ */
123
+ name?: pulumi.Input<string>;
124
+ /**
125
+ * Unique identifier of the organization.
126
+ */
127
+ orgId: pulumi.Input<string>;
128
+ /**
129
+ * Unique identifier of the project.
130
+ */
131
+ projectId: pulumi.Input<string>;
132
+ /**
133
+ * The identifier of the parent database schema
134
+ */
135
+ schema: pulumi.Input<string>;
136
+ }
@@ -0,0 +1,57 @@
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.getDbInstanceOutput = exports.getDbInstance = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data source for retrieving a Harness DBDevOps Instance.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as harness from "@pulumi/harness";
16
+ *
17
+ * const example = harness.platform.getDbInstance({
18
+ * identifier: "identifier",
19
+ * orgId: "org_id",
20
+ * projectId: "project_id",
21
+ * schema: "schema1",
22
+ * });
23
+ * ```
24
+ */
25
+ function getDbInstance(args, opts) {
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
+ return pulumi.runtime.invoke("harness:platform/getDbInstance:getDbInstance", {
28
+ "identifier": args.identifier,
29
+ "name": args.name,
30
+ "orgId": args.orgId,
31
+ "projectId": args.projectId,
32
+ "schema": args.schema,
33
+ }, opts);
34
+ }
35
+ exports.getDbInstance = getDbInstance;
36
+ /**
37
+ * Data source for retrieving a Harness DBDevOps Instance.
38
+ *
39
+ * ## Example Usage
40
+ *
41
+ * ```typescript
42
+ * import * as pulumi from "@pulumi/pulumi";
43
+ * import * as harness from "@pulumi/harness";
44
+ *
45
+ * const example = harness.platform.getDbInstance({
46
+ * identifier: "identifier",
47
+ * orgId: "org_id",
48
+ * projectId: "project_id",
49
+ * schema: "schema1",
50
+ * });
51
+ * ```
52
+ */
53
+ function getDbInstanceOutput(args, opts) {
54
+ return pulumi.output(args).apply((a) => getDbInstance(a, opts));
55
+ }
56
+ exports.getDbInstanceOutput = getDbInstanceOutput;
57
+ //# sourceMappingURL=getDbInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDbInstance.js","sourceRoot":"","sources":["../../platform/getDbInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AA6ED;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}