@pulumi/oci 2.14.0 → 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/containerengine/addon.d.ts +15 -3
- package/containerengine/addon.js +2 -0
- package/containerengine/addon.js.map +1 -1
- package/containerengine/getAddon.d.ts +1 -0
- package/containerengine/getAddon.js.map +1 -1
- package/core/instancePool.d.ts +3 -3
- package/datasafe/getDatabaseSecurityConfig.d.ts +123 -0
- package/datasafe/getDatabaseSecurityConfig.js +54 -0
- package/datasafe/getDatabaseSecurityConfig.js.map +1 -0
- package/datasafe/getDatabaseSecurityConfigs.d.ts +206 -0
- package/datasafe/getDatabaseSecurityConfigs.js +114 -0
- package/datasafe/getDatabaseSecurityConfigs.js.map +1 -0
- package/datasafe/index.d.ts +6 -0
- package/datasafe/index.js +12 -6
- package/datasafe/index.js.map +1 -1
- package/datascience/getModel.d.ts +5 -0
- package/datascience/getModel.js.map +1 -1
- package/datascience/getModels.d.ts +18 -6
- package/datascience/getModels.js +2 -0
- package/datascience/getModels.js.map +1 -1
- package/datascience/model.d.ts +73 -0
- package/datascience/model.js +50 -1
- package/datascience/model.js.map +1 -1
- package/identity/domainsAuthToken.d.ts +28 -0
- package/identity/domainsAuthToken.js +2 -0
- package/identity/domainsAuthToken.js.map +1 -1
- package/identity/domainsCustomerSecretKey.d.ts +22 -0
- package/identity/domainsCustomerSecretKey.js +2 -0
- package/identity/domainsCustomerSecretKey.js.map +1 -1
- package/identity/domainsOauth2clientCredential.d.ts +26 -0
- package/identity/domainsOauth2clientCredential.js +2 -0
- package/identity/domainsOauth2clientCredential.js.map +1 -1
- package/identity/domainsSmtpCredential.d.ts +24 -0
- package/identity/domainsSmtpCredential.js +2 -0
- package/identity/domainsSmtpCredential.js.map +1 -1
- package/identity/getDomainsAuthToken.d.ts +4 -0
- package/identity/getDomainsAuthToken.js.map +1 -1
- package/identity/getDomainsCustomerSecretKey.d.ts +4 -0
- package/identity/getDomainsCustomerSecretKey.js.map +1 -1
- package/identity/getDomainsOauth2clientCredential.d.ts +4 -0
- package/identity/getDomainsOauth2clientCredential.js.map +1 -1
- package/identity/getDomainsSmtpCredential.d.ts +4 -0
- package/identity/getDomainsSmtpCredential.js.map +1 -1
- package/loadbalancer/listener.d.ts +3 -3
- package/networkloadbalancer/getBackendSet.d.ts +1 -1
- package/networkloadbalancer/getListener.d.ts +4 -0
- package/networkloadbalancer/getListener.js.map +1 -1
- package/networkloadbalancer/listener.d.ts +13 -0
- package/networkloadbalancer/listener.js +3 -0
- package/networkloadbalancer/listener.js.map +1 -1
- package/package.json +2 -2
- package/resourcescheduler/getSchedules.d.ts +6 -6
- package/resourcescheduler/getSchedules.js +2 -2
- package/resourcescheduler/schedule.d.ts +6 -44
- package/resourcescheduler/schedule.js +0 -38
- package/resourcescheduler/schedule.js.map +1 -1
- package/types/input.d.ts +18 -7
- package/types/output.d.ts +149 -9
|
@@ -43,13 +43,17 @@ export declare class Addon extends pulumi.CustomResource {
|
|
|
43
43
|
*/
|
|
44
44
|
readonly clusterId: pulumi.Output<string>;
|
|
45
45
|
/**
|
|
46
|
-
* (Updatable) Addon configuration details
|
|
46
|
+
* (Updatable) Addon configuration details
|
|
47
47
|
*/
|
|
48
48
|
readonly configurations: pulumi.Output<outputs.ContainerEngine.AddonConfiguration[]>;
|
|
49
49
|
/**
|
|
50
50
|
* current installed version of the addon
|
|
51
51
|
*/
|
|
52
52
|
readonly currentInstalledVersion: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Whether or not to override an existing addon installation. Defaults to false. If set to true, any existing addon installation would be overridden as per new installation details.
|
|
55
|
+
*/
|
|
56
|
+
readonly overrideExisting: pulumi.Output<boolean | undefined>;
|
|
53
57
|
/**
|
|
54
58
|
* Whether to remove addon resource in deletion.
|
|
55
59
|
*/
|
|
@@ -96,13 +100,17 @@ export interface AddonState {
|
|
|
96
100
|
*/
|
|
97
101
|
clusterId?: pulumi.Input<string>;
|
|
98
102
|
/**
|
|
99
|
-
* (Updatable) Addon configuration details
|
|
103
|
+
* (Updatable) Addon configuration details
|
|
100
104
|
*/
|
|
101
105
|
configurations?: pulumi.Input<pulumi.Input<inputs.ContainerEngine.AddonConfiguration>[]>;
|
|
102
106
|
/**
|
|
103
107
|
* current installed version of the addon
|
|
104
108
|
*/
|
|
105
109
|
currentInstalledVersion?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Whether or not to override an existing addon installation. Defaults to false. If set to true, any existing addon installation would be overridden as per new installation details.
|
|
112
|
+
*/
|
|
113
|
+
overrideExisting?: pulumi.Input<boolean>;
|
|
106
114
|
/**
|
|
107
115
|
* Whether to remove addon resource in deletion.
|
|
108
116
|
*/
|
|
@@ -137,9 +145,13 @@ export interface AddonArgs {
|
|
|
137
145
|
*/
|
|
138
146
|
clusterId: pulumi.Input<string>;
|
|
139
147
|
/**
|
|
140
|
-
* (Updatable) Addon configuration details
|
|
148
|
+
* (Updatable) Addon configuration details
|
|
141
149
|
*/
|
|
142
150
|
configurations?: pulumi.Input<pulumi.Input<inputs.ContainerEngine.AddonConfiguration>[]>;
|
|
151
|
+
/**
|
|
152
|
+
* Whether or not to override an existing addon installation. Defaults to false. If set to true, any existing addon installation would be overridden as per new installation details.
|
|
153
|
+
*/
|
|
154
|
+
overrideExisting?: pulumi.Input<boolean>;
|
|
143
155
|
/**
|
|
144
156
|
* Whether to remove addon resource in deletion.
|
|
145
157
|
*/
|
package/containerengine/addon.js
CHANGED
|
@@ -51,6 +51,7 @@ class Addon extends pulumi.CustomResource {
|
|
|
51
51
|
resourceInputs["clusterId"] = state ? state.clusterId : undefined;
|
|
52
52
|
resourceInputs["configurations"] = state ? state.configurations : undefined;
|
|
53
53
|
resourceInputs["currentInstalledVersion"] = state ? state.currentInstalledVersion : undefined;
|
|
54
|
+
resourceInputs["overrideExisting"] = state ? state.overrideExisting : undefined;
|
|
54
55
|
resourceInputs["removeAddonResourcesOnDelete"] = state ? state.removeAddonResourcesOnDelete : undefined;
|
|
55
56
|
resourceInputs["state"] = state ? state.state : undefined;
|
|
56
57
|
resourceInputs["timeCreated"] = state ? state.timeCreated : undefined;
|
|
@@ -70,6 +71,7 @@ class Addon extends pulumi.CustomResource {
|
|
|
70
71
|
resourceInputs["addonName"] = args ? args.addonName : undefined;
|
|
71
72
|
resourceInputs["clusterId"] = args ? args.clusterId : undefined;
|
|
72
73
|
resourceInputs["configurations"] = args ? args.configurations : undefined;
|
|
74
|
+
resourceInputs["overrideExisting"] = args ? args.overrideExisting : undefined;
|
|
73
75
|
resourceInputs["removeAddonResourcesOnDelete"] = args ? args.removeAddonResourcesOnDelete : undefined;
|
|
74
76
|
resourceInputs["version"] = args ? args.version : undefined;
|
|
75
77
|
resourceInputs["addonErrors"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addon.js","sourceRoot":"","sources":["../../containerengine/addon.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;
|
|
1
|
+
{"version":3,"file":"addon.js","sourceRoot":"","sources":["../../containerengine/addon.ts"],"names":[],"mappings":";AAAA,wFAAwF;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AAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC"}
|
package/core/instancePool.d.ts
CHANGED
|
@@ -119,7 +119,7 @@ export declare class InstancePool extends pulumi.CustomResource {
|
|
|
119
119
|
*/
|
|
120
120
|
readonly instanceHostnameFormatter: pulumi.Output<string>;
|
|
121
121
|
/**
|
|
122
|
-
* The load balancers to attach to the instance pool.
|
|
122
|
+
* The load balancers to attach to the instance pool. (Note: From 6.14.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
|
|
123
123
|
*/
|
|
124
124
|
readonly loadBalancers: pulumi.Output<outputs.Core.InstancePoolLoadBalancer[]>;
|
|
125
125
|
/**
|
|
@@ -194,7 +194,7 @@ export interface InstancePoolState {
|
|
|
194
194
|
*/
|
|
195
195
|
instanceHostnameFormatter?: pulumi.Input<string>;
|
|
196
196
|
/**
|
|
197
|
-
* The load balancers to attach to the instance pool.
|
|
197
|
+
* The load balancers to attach to the instance pool. (Note: From 6.14.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
|
|
198
198
|
*/
|
|
199
199
|
loadBalancers?: pulumi.Input<pulumi.Input<inputs.Core.InstancePoolLoadBalancer>[]>;
|
|
200
200
|
/**
|
|
@@ -257,7 +257,7 @@ export interface InstancePoolArgs {
|
|
|
257
257
|
*/
|
|
258
258
|
instanceHostnameFormatter?: pulumi.Input<string>;
|
|
259
259
|
/**
|
|
260
|
-
* The load balancers to attach to the instance pool.
|
|
260
|
+
* The load balancers to attach to the instance pool. (Note: From 6.14.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
|
|
261
261
|
*/
|
|
262
262
|
loadBalancers?: pulumi.Input<pulumi.Input<inputs.Core.InstancePoolLoadBalancer>[]>;
|
|
263
263
|
/**
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides details about a specific Database Security Config resource in Oracle Cloud Infrastructure Data Safe service.
|
|
5
|
+
*
|
|
6
|
+
* Gets a database security configuration by identifier.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as oci from "@pulumi/oci";
|
|
13
|
+
*
|
|
14
|
+
* const testDatabaseSecurityConfig = oci.DataSafe.getDatabaseSecurityConfig({
|
|
15
|
+
* databaseSecurityConfigId: testDatabaseSecurityConfigOciDataSafeDatabaseSecurityConfig.id,
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getDatabaseSecurityConfig(args: GetDatabaseSecurityConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseSecurityConfigResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getDatabaseSecurityConfig.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetDatabaseSecurityConfigArgs {
|
|
24
|
+
/**
|
|
25
|
+
* The OCID of the database security configuration resource.
|
|
26
|
+
*/
|
|
27
|
+
databaseSecurityConfigId: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getDatabaseSecurityConfig.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetDatabaseSecurityConfigResult {
|
|
33
|
+
/**
|
|
34
|
+
* The OCID of the compartment containing the database security config.
|
|
35
|
+
*/
|
|
36
|
+
readonly compartmentId: string;
|
|
37
|
+
readonly databaseSecurityConfigId: string;
|
|
38
|
+
/**
|
|
39
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
|
|
40
|
+
*/
|
|
41
|
+
readonly definedTags: {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* The description of the database security config.
|
|
46
|
+
*/
|
|
47
|
+
readonly description: string;
|
|
48
|
+
/**
|
|
49
|
+
* The display name of the database security config.
|
|
50
|
+
*/
|
|
51
|
+
readonly displayName: string;
|
|
52
|
+
/**
|
|
53
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
|
54
|
+
*/
|
|
55
|
+
readonly freeformTags: {
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* The OCID of the database security config.
|
|
60
|
+
*/
|
|
61
|
+
readonly id: string;
|
|
62
|
+
/**
|
|
63
|
+
* Details about the current state of the database security config in Data Safe.
|
|
64
|
+
*/
|
|
65
|
+
readonly lifecycleDetails: string;
|
|
66
|
+
readonly refreshTrigger: number;
|
|
67
|
+
/**
|
|
68
|
+
* The SQL Firewall related configurations.
|
|
69
|
+
*/
|
|
70
|
+
readonly sqlFirewallConfigs: outputs.DataSafe.GetDatabaseSecurityConfigSqlFirewallConfig[];
|
|
71
|
+
/**
|
|
72
|
+
* The current state of the database security config.
|
|
73
|
+
*/
|
|
74
|
+
readonly state: string;
|
|
75
|
+
/**
|
|
76
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
77
|
+
*/
|
|
78
|
+
readonly systemTags: {
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* The target OCID corresponding to the database security config.
|
|
83
|
+
*/
|
|
84
|
+
readonly targetId: string;
|
|
85
|
+
/**
|
|
86
|
+
* The time that the database security config was created, in the format defined by RFC3339.
|
|
87
|
+
*/
|
|
88
|
+
readonly timeCreated: string;
|
|
89
|
+
/**
|
|
90
|
+
* The last date and time the database security config was refreshed, in the format defined by RFC3339.
|
|
91
|
+
*/
|
|
92
|
+
readonly timeLastRefreshed: string;
|
|
93
|
+
/**
|
|
94
|
+
* The date and time the database security configuration was last updated, in the format defined by RFC3339.
|
|
95
|
+
*/
|
|
96
|
+
readonly timeUpdated: string;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* This data source provides details about a specific Database Security Config resource in Oracle Cloud Infrastructure Data Safe service.
|
|
100
|
+
*
|
|
101
|
+
* Gets a database security configuration by identifier.
|
|
102
|
+
*
|
|
103
|
+
* ## Example Usage
|
|
104
|
+
*
|
|
105
|
+
* ```typescript
|
|
106
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
107
|
+
* import * as oci from "@pulumi/oci";
|
|
108
|
+
*
|
|
109
|
+
* const testDatabaseSecurityConfig = oci.DataSafe.getDatabaseSecurityConfig({
|
|
110
|
+
* databaseSecurityConfigId: testDatabaseSecurityConfigOciDataSafeDatabaseSecurityConfig.id,
|
|
111
|
+
* });
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
114
|
+
export declare function getDatabaseSecurityConfigOutput(args: GetDatabaseSecurityConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseSecurityConfigResult>;
|
|
115
|
+
/**
|
|
116
|
+
* A collection of arguments for invoking getDatabaseSecurityConfig.
|
|
117
|
+
*/
|
|
118
|
+
export interface GetDatabaseSecurityConfigOutputArgs {
|
|
119
|
+
/**
|
|
120
|
+
* The OCID of the database security configuration resource.
|
|
121
|
+
*/
|
|
122
|
+
databaseSecurityConfigId: pulumi.Input<string>;
|
|
123
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.getDatabaseSecurityConfigOutput = exports.getDatabaseSecurityConfig = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides details about a specific Database Security Config resource in Oracle Cloud Infrastructure Data Safe service.
|
|
10
|
+
*
|
|
11
|
+
* Gets a database security configuration by identifier.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testDatabaseSecurityConfig = oci.DataSafe.getDatabaseSecurityConfig({
|
|
20
|
+
* databaseSecurityConfigId: testDatabaseSecurityConfigOciDataSafeDatabaseSecurityConfig.id,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getDatabaseSecurityConfig(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("oci:DataSafe/getDatabaseSecurityConfig:getDatabaseSecurityConfig", {
|
|
27
|
+
"databaseSecurityConfigId": args.databaseSecurityConfigId,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getDatabaseSecurityConfig = getDatabaseSecurityConfig;
|
|
31
|
+
/**
|
|
32
|
+
* This data source provides details about a specific Database Security Config resource in Oracle Cloud Infrastructure Data Safe service.
|
|
33
|
+
*
|
|
34
|
+
* Gets a database security configuration by identifier.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as oci from "@pulumi/oci";
|
|
41
|
+
*
|
|
42
|
+
* const testDatabaseSecurityConfig = oci.DataSafe.getDatabaseSecurityConfig({
|
|
43
|
+
* databaseSecurityConfigId: testDatabaseSecurityConfigOciDataSafeDatabaseSecurityConfig.id,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getDatabaseSecurityConfigOutput(args, opts) {
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invokeOutput("oci:DataSafe/getDatabaseSecurityConfig:getDatabaseSecurityConfig", {
|
|
50
|
+
"databaseSecurityConfigId": args.databaseSecurityConfigId,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getDatabaseSecurityConfigOutput = getDatabaseSecurityConfigOutput;
|
|
54
|
+
//# sourceMappingURL=getDatabaseSecurityConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDatabaseSecurityConfig.js","sourceRoot":"","sources":["../../datasafe/getDatabaseSecurityConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;KAC5D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC;AA2ED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kEAAkE,EAAE;QACnG,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;KAC5D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0EAKC"}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This data source provides the list of Database Security Configs in Oracle Cloud Infrastructure Data Safe service.
|
|
6
|
+
*
|
|
7
|
+
* Retrieves a list of all database security configurations in Data Safe.
|
|
8
|
+
*
|
|
9
|
+
* The ListDatabaseSecurityConfigs operation returns only the database security configurations in the specified `compartmentId`.
|
|
10
|
+
*
|
|
11
|
+
* The parameter `accessLevel` specifies whether to return only those compartments for which the
|
|
12
|
+
* requestor has INSPECT permissions on at least one resource directly
|
|
13
|
+
* or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
|
14
|
+
* Principal doesn't have access to even one of the child compartments. This is valid only when
|
|
15
|
+
* `compartmentIdInSubtree` is set to `true`.
|
|
16
|
+
*
|
|
17
|
+
* The parameter `compartmentIdInSubtree` applies when you perform ListDatabaseSecurityConfigs on the
|
|
18
|
+
* `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
|
19
|
+
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
20
|
+
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
21
|
+
*
|
|
22
|
+
* ## Example Usage
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as oci from "@pulumi/oci";
|
|
27
|
+
*
|
|
28
|
+
* const testDatabaseSecurityConfigs = oci.DataSafe.getDatabaseSecurityConfigs({
|
|
29
|
+
* compartmentId: compartmentId,
|
|
30
|
+
* accessLevel: databaseSecurityConfigAccessLevel,
|
|
31
|
+
* compartmentIdInSubtree: databaseSecurityConfigCompartmentIdInSubtree,
|
|
32
|
+
* databaseSecurityConfigId: testDatabaseSecurityConfig.id,
|
|
33
|
+
* displayName: databaseSecurityConfigDisplayName,
|
|
34
|
+
* state: databaseSecurityConfigState,
|
|
35
|
+
* targetId: testTarget.id,
|
|
36
|
+
* timeCreatedGreaterThanOrEqualTo: databaseSecurityConfigTimeCreatedGreaterThanOrEqualTo,
|
|
37
|
+
* timeCreatedLessThan: databaseSecurityConfigTimeCreatedLessThan,
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare function getDatabaseSecurityConfigs(args: GetDatabaseSecurityConfigsArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseSecurityConfigsResult>;
|
|
42
|
+
/**
|
|
43
|
+
* A collection of arguments for invoking getDatabaseSecurityConfigs.
|
|
44
|
+
*/
|
|
45
|
+
export interface GetDatabaseSecurityConfigsArgs {
|
|
46
|
+
/**
|
|
47
|
+
* Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
|
|
48
|
+
*/
|
|
49
|
+
accessLevel?: string;
|
|
50
|
+
/**
|
|
51
|
+
* A filter to return only resources that match the specified compartment OCID.
|
|
52
|
+
*/
|
|
53
|
+
compartmentId: string;
|
|
54
|
+
/**
|
|
55
|
+
* Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
|
|
56
|
+
*/
|
|
57
|
+
compartmentIdInSubtree?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* An optional filter to return only resources that match the specified OCID of the database security configuration resource.
|
|
60
|
+
*/
|
|
61
|
+
databaseSecurityConfigId?: string;
|
|
62
|
+
/**
|
|
63
|
+
* A filter to return only resources that match the specified display name.
|
|
64
|
+
*/
|
|
65
|
+
displayName?: string;
|
|
66
|
+
filters?: inputs.DataSafe.GetDatabaseSecurityConfigsFilter[];
|
|
67
|
+
/**
|
|
68
|
+
* The current state of the database security configuration.
|
|
69
|
+
*/
|
|
70
|
+
state?: string;
|
|
71
|
+
/**
|
|
72
|
+
* A filter to return only items related to a specific target OCID.
|
|
73
|
+
*/
|
|
74
|
+
targetId?: string;
|
|
75
|
+
/**
|
|
76
|
+
* A filter to return only the resources that were created after the specified date and time, as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
|
|
77
|
+
*
|
|
78
|
+
* **Example:** 2016-12-19T16:39:57.600Z
|
|
79
|
+
*/
|
|
80
|
+
timeCreatedGreaterThanOrEqualTo?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Search for resources that were created before a specific date. Specifying this parameter corresponding `timeCreatedLessThan` parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.
|
|
83
|
+
*
|
|
84
|
+
* **Example:** 2016-12-19T16:39:57.600Z
|
|
85
|
+
*/
|
|
86
|
+
timeCreatedLessThan?: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* A collection of values returned by getDatabaseSecurityConfigs.
|
|
90
|
+
*/
|
|
91
|
+
export interface GetDatabaseSecurityConfigsResult {
|
|
92
|
+
readonly accessLevel?: string;
|
|
93
|
+
/**
|
|
94
|
+
* The OCID of the compartment containing the database security config.
|
|
95
|
+
*/
|
|
96
|
+
readonly compartmentId: string;
|
|
97
|
+
readonly compartmentIdInSubtree?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* The list of database_security_config_collection.
|
|
100
|
+
*/
|
|
101
|
+
readonly databaseSecurityConfigCollections: outputs.DataSafe.GetDatabaseSecurityConfigsDatabaseSecurityConfigCollection[];
|
|
102
|
+
readonly databaseSecurityConfigId?: string;
|
|
103
|
+
/**
|
|
104
|
+
* The display name of the database security config.
|
|
105
|
+
*/
|
|
106
|
+
readonly displayName?: string;
|
|
107
|
+
readonly filters?: outputs.DataSafe.GetDatabaseSecurityConfigsFilter[];
|
|
108
|
+
/**
|
|
109
|
+
* The provider-assigned unique ID for this managed resource.
|
|
110
|
+
*/
|
|
111
|
+
readonly id: string;
|
|
112
|
+
/**
|
|
113
|
+
* The current state of the database security config.
|
|
114
|
+
*/
|
|
115
|
+
readonly state?: string;
|
|
116
|
+
/**
|
|
117
|
+
* The target OCID corresponding to the database security config.
|
|
118
|
+
*/
|
|
119
|
+
readonly targetId?: string;
|
|
120
|
+
readonly timeCreatedGreaterThanOrEqualTo?: string;
|
|
121
|
+
readonly timeCreatedLessThan?: string;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* This data source provides the list of Database Security Configs in Oracle Cloud Infrastructure Data Safe service.
|
|
125
|
+
*
|
|
126
|
+
* Retrieves a list of all database security configurations in Data Safe.
|
|
127
|
+
*
|
|
128
|
+
* The ListDatabaseSecurityConfigs operation returns only the database security configurations in the specified `compartmentId`.
|
|
129
|
+
*
|
|
130
|
+
* The parameter `accessLevel` specifies whether to return only those compartments for which the
|
|
131
|
+
* requestor has INSPECT permissions on at least one resource directly
|
|
132
|
+
* or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
|
133
|
+
* Principal doesn't have access to even one of the child compartments. This is valid only when
|
|
134
|
+
* `compartmentIdInSubtree` is set to `true`.
|
|
135
|
+
*
|
|
136
|
+
* The parameter `compartmentIdInSubtree` applies when you perform ListDatabaseSecurityConfigs on the
|
|
137
|
+
* `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
|
138
|
+
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
139
|
+
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
140
|
+
*
|
|
141
|
+
* ## Example Usage
|
|
142
|
+
*
|
|
143
|
+
* ```typescript
|
|
144
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
145
|
+
* import * as oci from "@pulumi/oci";
|
|
146
|
+
*
|
|
147
|
+
* const testDatabaseSecurityConfigs = oci.DataSafe.getDatabaseSecurityConfigs({
|
|
148
|
+
* compartmentId: compartmentId,
|
|
149
|
+
* accessLevel: databaseSecurityConfigAccessLevel,
|
|
150
|
+
* compartmentIdInSubtree: databaseSecurityConfigCompartmentIdInSubtree,
|
|
151
|
+
* databaseSecurityConfigId: testDatabaseSecurityConfig.id,
|
|
152
|
+
* displayName: databaseSecurityConfigDisplayName,
|
|
153
|
+
* state: databaseSecurityConfigState,
|
|
154
|
+
* targetId: testTarget.id,
|
|
155
|
+
* timeCreatedGreaterThanOrEqualTo: databaseSecurityConfigTimeCreatedGreaterThanOrEqualTo,
|
|
156
|
+
* timeCreatedLessThan: databaseSecurityConfigTimeCreatedLessThan,
|
|
157
|
+
* });
|
|
158
|
+
* ```
|
|
159
|
+
*/
|
|
160
|
+
export declare function getDatabaseSecurityConfigsOutput(args: GetDatabaseSecurityConfigsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseSecurityConfigsResult>;
|
|
161
|
+
/**
|
|
162
|
+
* A collection of arguments for invoking getDatabaseSecurityConfigs.
|
|
163
|
+
*/
|
|
164
|
+
export interface GetDatabaseSecurityConfigsOutputArgs {
|
|
165
|
+
/**
|
|
166
|
+
* Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
|
|
167
|
+
*/
|
|
168
|
+
accessLevel?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* A filter to return only resources that match the specified compartment OCID.
|
|
171
|
+
*/
|
|
172
|
+
compartmentId: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
|
|
175
|
+
*/
|
|
176
|
+
compartmentIdInSubtree?: pulumi.Input<boolean>;
|
|
177
|
+
/**
|
|
178
|
+
* An optional filter to return only resources that match the specified OCID of the database security configuration resource.
|
|
179
|
+
*/
|
|
180
|
+
databaseSecurityConfigId?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* A filter to return only resources that match the specified display name.
|
|
183
|
+
*/
|
|
184
|
+
displayName?: pulumi.Input<string>;
|
|
185
|
+
filters?: pulumi.Input<pulumi.Input<inputs.DataSafe.GetDatabaseSecurityConfigsFilterArgs>[]>;
|
|
186
|
+
/**
|
|
187
|
+
* The current state of the database security configuration.
|
|
188
|
+
*/
|
|
189
|
+
state?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* A filter to return only items related to a specific target OCID.
|
|
192
|
+
*/
|
|
193
|
+
targetId?: pulumi.Input<string>;
|
|
194
|
+
/**
|
|
195
|
+
* A filter to return only the resources that were created after the specified date and time, as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
|
|
196
|
+
*
|
|
197
|
+
* **Example:** 2016-12-19T16:39:57.600Z
|
|
198
|
+
*/
|
|
199
|
+
timeCreatedGreaterThanOrEqualTo?: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* Search for resources that were created before a specific date. Specifying this parameter corresponding `timeCreatedLessThan` parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.
|
|
202
|
+
*
|
|
203
|
+
* **Example:** 2016-12-19T16:39:57.600Z
|
|
204
|
+
*/
|
|
205
|
+
timeCreatedLessThan?: pulumi.Input<string>;
|
|
206
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
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.getDatabaseSecurityConfigsOutput = exports.getDatabaseSecurityConfigs = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides the list of Database Security Configs in Oracle Cloud Infrastructure Data Safe service.
|
|
10
|
+
*
|
|
11
|
+
* Retrieves a list of all database security configurations in Data Safe.
|
|
12
|
+
*
|
|
13
|
+
* The ListDatabaseSecurityConfigs operation returns only the database security configurations in the specified `compartmentId`.
|
|
14
|
+
*
|
|
15
|
+
* The parameter `accessLevel` specifies whether to return only those compartments for which the
|
|
16
|
+
* requestor has INSPECT permissions on at least one resource directly
|
|
17
|
+
* or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
|
18
|
+
* Principal doesn't have access to even one of the child compartments. This is valid only when
|
|
19
|
+
* `compartmentIdInSubtree` is set to `true`.
|
|
20
|
+
*
|
|
21
|
+
* The parameter `compartmentIdInSubtree` applies when you perform ListDatabaseSecurityConfigs on the
|
|
22
|
+
* `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
|
23
|
+
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
24
|
+
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
25
|
+
*
|
|
26
|
+
* ## Example Usage
|
|
27
|
+
*
|
|
28
|
+
* ```typescript
|
|
29
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
30
|
+
* import * as oci from "@pulumi/oci";
|
|
31
|
+
*
|
|
32
|
+
* const testDatabaseSecurityConfigs = oci.DataSafe.getDatabaseSecurityConfigs({
|
|
33
|
+
* compartmentId: compartmentId,
|
|
34
|
+
* accessLevel: databaseSecurityConfigAccessLevel,
|
|
35
|
+
* compartmentIdInSubtree: databaseSecurityConfigCompartmentIdInSubtree,
|
|
36
|
+
* databaseSecurityConfigId: testDatabaseSecurityConfig.id,
|
|
37
|
+
* displayName: databaseSecurityConfigDisplayName,
|
|
38
|
+
* state: databaseSecurityConfigState,
|
|
39
|
+
* targetId: testTarget.id,
|
|
40
|
+
* timeCreatedGreaterThanOrEqualTo: databaseSecurityConfigTimeCreatedGreaterThanOrEqualTo,
|
|
41
|
+
* timeCreatedLessThan: databaseSecurityConfigTimeCreatedLessThan,
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getDatabaseSecurityConfigs(args, opts) {
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
47
|
+
return pulumi.runtime.invoke("oci:DataSafe/getDatabaseSecurityConfigs:getDatabaseSecurityConfigs", {
|
|
48
|
+
"accessLevel": args.accessLevel,
|
|
49
|
+
"compartmentId": args.compartmentId,
|
|
50
|
+
"compartmentIdInSubtree": args.compartmentIdInSubtree,
|
|
51
|
+
"databaseSecurityConfigId": args.databaseSecurityConfigId,
|
|
52
|
+
"displayName": args.displayName,
|
|
53
|
+
"filters": args.filters,
|
|
54
|
+
"state": args.state,
|
|
55
|
+
"targetId": args.targetId,
|
|
56
|
+
"timeCreatedGreaterThanOrEqualTo": args.timeCreatedGreaterThanOrEqualTo,
|
|
57
|
+
"timeCreatedLessThan": args.timeCreatedLessThan,
|
|
58
|
+
}, opts);
|
|
59
|
+
}
|
|
60
|
+
exports.getDatabaseSecurityConfigs = getDatabaseSecurityConfigs;
|
|
61
|
+
/**
|
|
62
|
+
* This data source provides the list of Database Security Configs in Oracle Cloud Infrastructure Data Safe service.
|
|
63
|
+
*
|
|
64
|
+
* Retrieves a list of all database security configurations in Data Safe.
|
|
65
|
+
*
|
|
66
|
+
* The ListDatabaseSecurityConfigs operation returns only the database security configurations in the specified `compartmentId`.
|
|
67
|
+
*
|
|
68
|
+
* The parameter `accessLevel` specifies whether to return only those compartments for which the
|
|
69
|
+
* requestor has INSPECT permissions on at least one resource directly
|
|
70
|
+
* or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
|
71
|
+
* Principal doesn't have access to even one of the child compartments. This is valid only when
|
|
72
|
+
* `compartmentIdInSubtree` is set to `true`.
|
|
73
|
+
*
|
|
74
|
+
* The parameter `compartmentIdInSubtree` applies when you perform ListDatabaseSecurityConfigs on the
|
|
75
|
+
* `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
|
76
|
+
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
77
|
+
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
78
|
+
*
|
|
79
|
+
* ## Example Usage
|
|
80
|
+
*
|
|
81
|
+
* ```typescript
|
|
82
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
83
|
+
* import * as oci from "@pulumi/oci";
|
|
84
|
+
*
|
|
85
|
+
* const testDatabaseSecurityConfigs = oci.DataSafe.getDatabaseSecurityConfigs({
|
|
86
|
+
* compartmentId: compartmentId,
|
|
87
|
+
* accessLevel: databaseSecurityConfigAccessLevel,
|
|
88
|
+
* compartmentIdInSubtree: databaseSecurityConfigCompartmentIdInSubtree,
|
|
89
|
+
* databaseSecurityConfigId: testDatabaseSecurityConfig.id,
|
|
90
|
+
* displayName: databaseSecurityConfigDisplayName,
|
|
91
|
+
* state: databaseSecurityConfigState,
|
|
92
|
+
* targetId: testTarget.id,
|
|
93
|
+
* timeCreatedGreaterThanOrEqualTo: databaseSecurityConfigTimeCreatedGreaterThanOrEqualTo,
|
|
94
|
+
* timeCreatedLessThan: databaseSecurityConfigTimeCreatedLessThan,
|
|
95
|
+
* });
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
function getDatabaseSecurityConfigsOutput(args, opts) {
|
|
99
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
100
|
+
return pulumi.runtime.invokeOutput("oci:DataSafe/getDatabaseSecurityConfigs:getDatabaseSecurityConfigs", {
|
|
101
|
+
"accessLevel": args.accessLevel,
|
|
102
|
+
"compartmentId": args.compartmentId,
|
|
103
|
+
"compartmentIdInSubtree": args.compartmentIdInSubtree,
|
|
104
|
+
"databaseSecurityConfigId": args.databaseSecurityConfigId,
|
|
105
|
+
"displayName": args.displayName,
|
|
106
|
+
"filters": args.filters,
|
|
107
|
+
"state": args.state,
|
|
108
|
+
"targetId": args.targetId,
|
|
109
|
+
"timeCreatedGreaterThanOrEqualTo": args.timeCreatedGreaterThanOrEqualTo,
|
|
110
|
+
"timeCreatedLessThan": args.timeCreatedLessThan,
|
|
111
|
+
}, opts);
|
|
112
|
+
}
|
|
113
|
+
exports.getDatabaseSecurityConfigsOutput = getDatabaseSecurityConfigsOutput;
|
|
114
|
+
//# sourceMappingURL=getDatabaseSecurityConfigs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDatabaseSecurityConfigs.js","sourceRoot":"","sources":["../../datasafe/getDatabaseSecurityConfigs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE;QAC/F,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;QACzD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,iCAAiC,EAAE,IAAI,CAAC,+BAA+B;QACvE,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,gEAcC;AAoFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE;QACrG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;QACzD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,iCAAiC,EAAE,IAAI,CAAC,+BAA+B;QACvE,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,4EAcC"}
|
package/datasafe/index.d.ts
CHANGED
|
@@ -151,6 +151,12 @@ export declare const getDataSafePrivateEndpointOutput: typeof import("./getDataS
|
|
|
151
151
|
export { GetDataSafePrivateEndpointsArgs, GetDataSafePrivateEndpointsResult, GetDataSafePrivateEndpointsOutputArgs } from "./getDataSafePrivateEndpoints";
|
|
152
152
|
export declare const getDataSafePrivateEndpoints: typeof import("./getDataSafePrivateEndpoints").getDataSafePrivateEndpoints;
|
|
153
153
|
export declare const getDataSafePrivateEndpointsOutput: typeof import("./getDataSafePrivateEndpoints").getDataSafePrivateEndpointsOutput;
|
|
154
|
+
export { GetDatabaseSecurityConfigArgs, GetDatabaseSecurityConfigResult, GetDatabaseSecurityConfigOutputArgs } from "./getDatabaseSecurityConfig";
|
|
155
|
+
export declare const getDatabaseSecurityConfig: typeof import("./getDatabaseSecurityConfig").getDatabaseSecurityConfig;
|
|
156
|
+
export declare const getDatabaseSecurityConfigOutput: typeof import("./getDatabaseSecurityConfig").getDatabaseSecurityConfigOutput;
|
|
157
|
+
export { GetDatabaseSecurityConfigsArgs, GetDatabaseSecurityConfigsResult, GetDatabaseSecurityConfigsOutputArgs } from "./getDatabaseSecurityConfigs";
|
|
158
|
+
export declare const getDatabaseSecurityConfigs: typeof import("./getDatabaseSecurityConfigs").getDatabaseSecurityConfigs;
|
|
159
|
+
export declare const getDatabaseSecurityConfigsOutput: typeof import("./getDatabaseSecurityConfigs").getDatabaseSecurityConfigsOutput;
|
|
154
160
|
export { GetDiscoveryAnalyticArgs, GetDiscoveryAnalyticResult, GetDiscoveryAnalyticOutputArgs } from "./getDiscoveryAnalytic";
|
|
155
161
|
export declare const getDiscoveryAnalytic: typeof import("./getDiscoveryAnalytic").getDiscoveryAnalytic;
|
|
156
162
|
export declare const getDiscoveryAnalyticOutput: typeof import("./getDiscoveryAnalytic").getDiscoveryAnalyticOutput;
|