@pulumi/oci 5.4.0 → 5.5.0-alpha.1792641656
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/database/databaseSnapshot.d.ts +190 -0
- package/database/databaseSnapshot.d.ts.map +1 -0
- package/database/databaseSnapshot.js +125 -0
- package/database/databaseSnapshot.js.map +1 -0
- package/database/getDatabaseSnapshot.d.ts +110 -0
- package/database/getDatabaseSnapshot.d.ts.map +1 -0
- package/database/getDatabaseSnapshot.js +77 -0
- package/database/getDatabaseSnapshot.js.map +1 -0
- package/database/getDatabaseSnapshots.d.ts +132 -0
- package/database/getDatabaseSnapshots.d.ts.map +1 -0
- package/database/getDatabaseSnapshots.js +97 -0
- package/database/getDatabaseSnapshots.js.map +1 -0
- package/database/index.d.ts +9 -0
- package/database/index.d.ts.map +1 -1
- package/database/index.js +20 -9
- package/database/index.js.map +1 -1
- package/disasterrecovery/drProtectionGroup.d.ts +12 -0
- package/disasterrecovery/drProtectionGroup.d.ts.map +1 -1
- package/disasterrecovery/drProtectionGroup.js +12 -0
- package/disasterrecovery/drProtectionGroup.js.map +1 -1
- package/generativeai/dedicatedAiCluster.d.ts +13 -0
- package/generativeai/dedicatedAiCluster.d.ts.map +1 -1
- package/generativeai/dedicatedAiCluster.js +3 -0
- package/generativeai/dedicatedAiCluster.js.map +1 -1
- package/generativeai/getDedicatedAiCluster.d.ts +7 -0
- package/generativeai/getDedicatedAiCluster.d.ts.map +1 -1
- package/generativeai/getDedicatedAiCluster.js.map +1 -1
- package/generativeai/getDedicatedAiClusterAllocatableGpus.d.ts +98 -0
- package/generativeai/getDedicatedAiClusterAllocatableGpus.d.ts.map +1 -0
- package/generativeai/getDedicatedAiClusterAllocatableGpus.js +87 -0
- package/generativeai/getDedicatedAiClusterAllocatableGpus.js.map +1 -0
- package/generativeai/getDedicatedAiClusters.d.ts +14 -0
- package/generativeai/getDedicatedAiClusters.d.ts.map +1 -1
- package/generativeai/getDedicatedAiClusters.js +4 -0
- package/generativeai/getDedicatedAiClusters.js.map +1 -1
- package/generativeai/index.d.ts +3 -0
- package/generativeai/index.d.ts.map +1 -1
- package/generativeai/index.js +6 -3
- package/generativeai/index.js.map +1 -1
- package/goldengate/connection.d.ts +521 -330
- package/goldengate/connection.d.ts.map +1 -1
- package/goldengate/connection.js +77 -1
- package/goldengate/connection.js.map +1 -1
- package/goldengate/deployment.d.ts +3 -3
- package/goldengate/getConnection.d.ts +112 -54
- package/goldengate/getConnection.d.ts.map +1 -1
- package/goldengate/getConnection.js.map +1 -1
- package/goldengate/getConnections.d.ts +11 -1
- package/goldengate/getConnections.d.ts.map +1 -1
- package/goldengate/getConnections.js.map +1 -1
- package/goldengate/getDeployment.d.ts +1 -1
- package/oci/getPssInstance.d.ts +134 -0
- package/oci/getPssInstance.d.ts.map +1 -0
- package/oci/getPssInstance.js +77 -0
- package/oci/getPssInstance.js.map +1 -0
- package/oci/getPssInstances.d.ts +114 -0
- package/oci/getPssInstances.d.ts.map +1 -0
- package/oci/getPssInstances.js +93 -0
- package/oci/getPssInstances.js.map +1 -0
- package/oci/index.d.ts +9 -0
- package/oci/index.d.ts.map +1 -1
- package/oci/index.js +13 -2
- package/oci/index.js.map +1 -1
- package/oci/pssInstance.d.ts +250 -0
- package/oci/pssInstance.d.ts.map +1 -0
- package/oci/pssInstance.js +147 -0
- package/oci/pssInstance.js.map +1 -0
- package/package.json +2 -2
- package/psql/dbSystem.d.ts +72 -6
- package/psql/dbSystem.d.ts.map +1 -1
- package/psql/dbSystem.js +4 -0
- package/psql/dbSystem.js.map +1 -1
- package/psql/getDbSystem.d.ts +2 -0
- package/psql/getDbSystem.d.ts.map +1 -1
- package/psql/getDbSystem.js.map +1 -1
- package/tenantmanagercontrolplane/childTenancy.d.ts +163 -0
- package/tenantmanagercontrolplane/childTenancy.d.ts.map +1 -0
- package/tenantmanagercontrolplane/childTenancy.js +129 -0
- package/tenantmanagercontrolplane/childTenancy.js.map +1 -0
- package/tenantmanagercontrolplane/getLinks.d.ts +2 -2
- package/tenantmanagercontrolplane/getLinks.js +2 -2
- package/tenantmanagercontrolplane/index.d.ts +3 -0
- package/tenantmanagercontrolplane/index.d.ts.map +1 -1
- package/tenantmanagercontrolplane/index.js +7 -2
- package/tenantmanagercontrolplane/index.js.map +1 -1
- package/types/input.d.ts +272 -45
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +986 -193
- package/types/output.d.ts.map +1 -1
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource provides the Database Snapshot resource in Oracle Cloud Infrastructure Database service.
|
|
4
|
+
* Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/DatabaseSnapshot
|
|
5
|
+
*
|
|
6
|
+
* Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database
|
|
7
|
+
*
|
|
8
|
+
* Creates a Database Snapshot
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as oci from "@pulumi/oci";
|
|
15
|
+
*
|
|
16
|
+
* const testDatabaseSnapshot = new oci.database.DatabaseSnapshot("test_database_snapshot", {
|
|
17
|
+
* databaseId: testDatabase.id,
|
|
18
|
+
* name: databaseSnapshotName,
|
|
19
|
+
* definedTags: databaseSnapshotDefinedTags,
|
|
20
|
+
* freeformTags: {
|
|
21
|
+
* Department: "Finance",
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* DatabaseSnapshots can be imported using the `id`, e.g.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import oci:Database/databaseSnapshot:DatabaseSnapshot test_database_snapshot "id"
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class DatabaseSnapshot extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing DatabaseSnapshot resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DatabaseSnapshotState, opts?: pulumi.CustomResourceOptions): DatabaseSnapshot;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of DatabaseSnapshot. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj: any): obj is DatabaseSnapshot;
|
|
50
|
+
/**
|
|
51
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster.
|
|
52
|
+
*/
|
|
53
|
+
readonly clusterId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
56
|
+
*/
|
|
57
|
+
readonly compartmentId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database.
|
|
60
|
+
*/
|
|
61
|
+
readonly databaseId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* (Updatable) 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).
|
|
64
|
+
*/
|
|
65
|
+
readonly definedTags: pulumi.Output<{
|
|
66
|
+
[key: string]: string;
|
|
67
|
+
}>;
|
|
68
|
+
/**
|
|
69
|
+
* (Updatable) 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"}`
|
|
70
|
+
*/
|
|
71
|
+
readonly freeformTags: pulumi.Output<{
|
|
72
|
+
[key: string]: string;
|
|
73
|
+
}>;
|
|
74
|
+
/**
|
|
75
|
+
* Additional information about the current lifecycle state of the Exadata Database Snapshot.
|
|
76
|
+
*/
|
|
77
|
+
readonly lifecycleDetails: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The user-friendly name for the Database Snapshot. The name should be unique.
|
|
80
|
+
*
|
|
81
|
+
* ** IMPORTANT **
|
|
82
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
83
|
+
*/
|
|
84
|
+
readonly name: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The current state of the Exadata Database Snapshot.
|
|
87
|
+
*/
|
|
88
|
+
readonly state: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* System 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).
|
|
91
|
+
*/
|
|
92
|
+
readonly systemTags: pulumi.Output<{
|
|
93
|
+
[key: string]: string;
|
|
94
|
+
}>;
|
|
95
|
+
/**
|
|
96
|
+
* The date and time that the Exadata Database Snapshot was created, as expressed in RFC 3339 format. For example: 2023-06-27T21:10:29Z
|
|
97
|
+
*/
|
|
98
|
+
readonly timeCreated: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Create a DatabaseSnapshot resource with the given unique name, arguments, and options.
|
|
101
|
+
*
|
|
102
|
+
* @param name The _unique_ name of the resource.
|
|
103
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
104
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
105
|
+
*/
|
|
106
|
+
constructor(name: string, args: DatabaseSnapshotArgs, opts?: pulumi.CustomResourceOptions);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Input properties used for looking up and filtering DatabaseSnapshot resources.
|
|
110
|
+
*/
|
|
111
|
+
export interface DatabaseSnapshotState {
|
|
112
|
+
/**
|
|
113
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster.
|
|
114
|
+
*/
|
|
115
|
+
clusterId?: pulumi.Input<string | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
118
|
+
*/
|
|
119
|
+
compartmentId?: pulumi.Input<string | undefined>;
|
|
120
|
+
/**
|
|
121
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database.
|
|
122
|
+
*/
|
|
123
|
+
databaseId?: pulumi.Input<string | undefined>;
|
|
124
|
+
/**
|
|
125
|
+
* (Updatable) 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).
|
|
126
|
+
*/
|
|
127
|
+
definedTags?: pulumi.Input<{
|
|
128
|
+
[key: string]: pulumi.Input<string>;
|
|
129
|
+
} | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* (Updatable) 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"}`
|
|
132
|
+
*/
|
|
133
|
+
freeformTags?: pulumi.Input<{
|
|
134
|
+
[key: string]: pulumi.Input<string>;
|
|
135
|
+
} | undefined>;
|
|
136
|
+
/**
|
|
137
|
+
* Additional information about the current lifecycle state of the Exadata Database Snapshot.
|
|
138
|
+
*/
|
|
139
|
+
lifecycleDetails?: pulumi.Input<string | undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* The user-friendly name for the Database Snapshot. The name should be unique.
|
|
142
|
+
*
|
|
143
|
+
* ** IMPORTANT **
|
|
144
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
145
|
+
*/
|
|
146
|
+
name?: pulumi.Input<string | undefined>;
|
|
147
|
+
/**
|
|
148
|
+
* The current state of the Exadata Database Snapshot.
|
|
149
|
+
*/
|
|
150
|
+
state?: pulumi.Input<string | undefined>;
|
|
151
|
+
/**
|
|
152
|
+
* System 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).
|
|
153
|
+
*/
|
|
154
|
+
systemTags?: pulumi.Input<{
|
|
155
|
+
[key: string]: pulumi.Input<string>;
|
|
156
|
+
} | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* The date and time that the Exadata Database Snapshot was created, as expressed in RFC 3339 format. For example: 2023-06-27T21:10:29Z
|
|
159
|
+
*/
|
|
160
|
+
timeCreated?: pulumi.Input<string | undefined>;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* The set of arguments for constructing a DatabaseSnapshot resource.
|
|
164
|
+
*/
|
|
165
|
+
export interface DatabaseSnapshotArgs {
|
|
166
|
+
/**
|
|
167
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database.
|
|
168
|
+
*/
|
|
169
|
+
databaseId: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* (Updatable) 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).
|
|
172
|
+
*/
|
|
173
|
+
definedTags?: pulumi.Input<{
|
|
174
|
+
[key: string]: pulumi.Input<string>;
|
|
175
|
+
} | undefined>;
|
|
176
|
+
/**
|
|
177
|
+
* (Updatable) 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"}`
|
|
178
|
+
*/
|
|
179
|
+
freeformTags?: pulumi.Input<{
|
|
180
|
+
[key: string]: pulumi.Input<string>;
|
|
181
|
+
} | undefined>;
|
|
182
|
+
/**
|
|
183
|
+
* The user-friendly name for the Database Snapshot. The name should be unique.
|
|
184
|
+
*
|
|
185
|
+
* ** IMPORTANT **
|
|
186
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
187
|
+
*/
|
|
188
|
+
name?: pulumi.Input<string | undefined>;
|
|
189
|
+
}
|
|
190
|
+
//# sourceMappingURL=databaseSnapshot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"databaseSnapshot.d.ts","sourceRoot":"","sources":["../../database/databaseSnapshot.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,qBAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,gBAAgB;IAOlJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,gBAAgB;IAO3D;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAgC,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrE;;OAEG;IACH,SAAwB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AAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IAC/E;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.DatabaseSnapshot = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* This resource provides the Database Snapshot resource in Oracle Cloud Infrastructure Database service.
|
|
33
|
+
* Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/DatabaseSnapshot
|
|
34
|
+
*
|
|
35
|
+
* Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database
|
|
36
|
+
*
|
|
37
|
+
* Creates a Database Snapshot
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as oci from "@pulumi/oci";
|
|
44
|
+
*
|
|
45
|
+
* const testDatabaseSnapshot = new oci.database.DatabaseSnapshot("test_database_snapshot", {
|
|
46
|
+
* databaseId: testDatabase.id,
|
|
47
|
+
* name: databaseSnapshotName,
|
|
48
|
+
* definedTags: databaseSnapshotDefinedTags,
|
|
49
|
+
* freeformTags: {
|
|
50
|
+
* Department: "Finance",
|
|
51
|
+
* },
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* ## Import
|
|
56
|
+
*
|
|
57
|
+
* DatabaseSnapshots can be imported using the `id`, e.g.
|
|
58
|
+
*
|
|
59
|
+
* ```sh
|
|
60
|
+
* $ pulumi import oci:Database/databaseSnapshot:DatabaseSnapshot test_database_snapshot "id"
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
class DatabaseSnapshot extends pulumi.CustomResource {
|
|
64
|
+
/**
|
|
65
|
+
* Get an existing DatabaseSnapshot resource's state with the given name, ID, and optional extra
|
|
66
|
+
* properties used to qualify the lookup.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resulting resource.
|
|
69
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
70
|
+
* @param state Any extra arguments used during the lookup.
|
|
71
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
72
|
+
*/
|
|
73
|
+
static get(name, id, state, opts) {
|
|
74
|
+
return new DatabaseSnapshot(name, state, { ...opts, id: id });
|
|
75
|
+
}
|
|
76
|
+
/** @internal */
|
|
77
|
+
static __pulumiType = 'oci:Database/databaseSnapshot:DatabaseSnapshot';
|
|
78
|
+
/**
|
|
79
|
+
* Returns true if the given object is an instance of DatabaseSnapshot. This is designed to work even
|
|
80
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
81
|
+
*/
|
|
82
|
+
static isInstance(obj) {
|
|
83
|
+
if (obj === undefined || obj === null) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
return obj['__pulumiType'] === DatabaseSnapshot.__pulumiType;
|
|
87
|
+
}
|
|
88
|
+
constructor(name, argsOrState, opts) {
|
|
89
|
+
let resourceInputs = {};
|
|
90
|
+
opts = opts || {};
|
|
91
|
+
if (opts.id) {
|
|
92
|
+
const state = argsOrState;
|
|
93
|
+
resourceInputs["clusterId"] = state?.clusterId;
|
|
94
|
+
resourceInputs["compartmentId"] = state?.compartmentId;
|
|
95
|
+
resourceInputs["databaseId"] = state?.databaseId;
|
|
96
|
+
resourceInputs["definedTags"] = state?.definedTags;
|
|
97
|
+
resourceInputs["freeformTags"] = state?.freeformTags;
|
|
98
|
+
resourceInputs["lifecycleDetails"] = state?.lifecycleDetails;
|
|
99
|
+
resourceInputs["name"] = state?.name;
|
|
100
|
+
resourceInputs["state"] = state?.state;
|
|
101
|
+
resourceInputs["systemTags"] = state?.systemTags;
|
|
102
|
+
resourceInputs["timeCreated"] = state?.timeCreated;
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
const args = argsOrState;
|
|
106
|
+
if (args?.databaseId === undefined && !opts.urn) {
|
|
107
|
+
throw new Error("Missing required property 'databaseId'");
|
|
108
|
+
}
|
|
109
|
+
resourceInputs["databaseId"] = args?.databaseId;
|
|
110
|
+
resourceInputs["definedTags"] = args?.definedTags;
|
|
111
|
+
resourceInputs["freeformTags"] = args?.freeformTags;
|
|
112
|
+
resourceInputs["name"] = args?.name;
|
|
113
|
+
resourceInputs["clusterId"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["compartmentId"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["lifecycleDetails"] = undefined /*out*/;
|
|
116
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["systemTags"] = undefined /*out*/;
|
|
118
|
+
resourceInputs["timeCreated"] = undefined /*out*/;
|
|
119
|
+
}
|
|
120
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
121
|
+
super(DatabaseSnapshot.__pulumiType, name, resourceInputs, opts);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.DatabaseSnapshot = DatabaseSnapshot;
|
|
125
|
+
//# sourceMappingURL=databaseSnapshot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"databaseSnapshot.js","sourceRoot":"","sources":["../../database/databaseSnapshot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,gDAAgD,CAAC;IAEvF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EA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,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAjHL,4CAkHC"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This data source provides details about a specific Database Snapshot resource in Oracle Cloud Infrastructure Database service.
|
|
4
|
+
*
|
|
5
|
+
* Gets information about the specified Exadata Database Snapshot.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as oci from "@pulumi/oci";
|
|
12
|
+
*
|
|
13
|
+
* const testDatabaseSnapshot = oci.database.getDatabaseSnapshot({
|
|
14
|
+
* databaseSnapshotId: testDatabaseSnapshotOciDatabaseDatabaseSnapshot.id,
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getDatabaseSnapshot(args: GetDatabaseSnapshotArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseSnapshotResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getDatabaseSnapshot.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDatabaseSnapshotArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The Exadata Database Snapshot [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
25
|
+
*/
|
|
26
|
+
databaseSnapshotId: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* A collection of values returned by getDatabaseSnapshot.
|
|
30
|
+
*/
|
|
31
|
+
export interface GetDatabaseSnapshotResult {
|
|
32
|
+
/**
|
|
33
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster.
|
|
34
|
+
*/
|
|
35
|
+
readonly clusterId: string;
|
|
36
|
+
/**
|
|
37
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
38
|
+
*/
|
|
39
|
+
readonly compartmentId: string;
|
|
40
|
+
/**
|
|
41
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database.
|
|
42
|
+
*/
|
|
43
|
+
readonly databaseId: string;
|
|
44
|
+
readonly databaseSnapshotId: string;
|
|
45
|
+
/**
|
|
46
|
+
* 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).
|
|
47
|
+
*/
|
|
48
|
+
readonly definedTags: {
|
|
49
|
+
[key: string]: string;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* 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"}`
|
|
53
|
+
*/
|
|
54
|
+
readonly freeformTags: {
|
|
55
|
+
[key: string]: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Snapshot.
|
|
59
|
+
*/
|
|
60
|
+
readonly id: string;
|
|
61
|
+
/**
|
|
62
|
+
* Additional information about the current lifecycle state of the Exadata Database Snapshot.
|
|
63
|
+
*/
|
|
64
|
+
readonly lifecycleDetails: string;
|
|
65
|
+
/**
|
|
66
|
+
* The user-friendly name for the Database Snapshot. The name should be unique.
|
|
67
|
+
*/
|
|
68
|
+
readonly name: string;
|
|
69
|
+
/**
|
|
70
|
+
* The current state of the Exadata Database Snapshot.
|
|
71
|
+
*/
|
|
72
|
+
readonly state: string;
|
|
73
|
+
/**
|
|
74
|
+
* System 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).
|
|
75
|
+
*/
|
|
76
|
+
readonly systemTags: {
|
|
77
|
+
[key: string]: string;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* The date and time that the Exadata Database Snapshot was created, as expressed in RFC 3339 format. For example: 2023-06-27T21:10:29Z
|
|
81
|
+
*/
|
|
82
|
+
readonly timeCreated: string;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* This data source provides details about a specific Database Snapshot resource in Oracle Cloud Infrastructure Database service.
|
|
86
|
+
*
|
|
87
|
+
* Gets information about the specified Exadata Database Snapshot.
|
|
88
|
+
*
|
|
89
|
+
* ## Example Usage
|
|
90
|
+
*
|
|
91
|
+
* ```typescript
|
|
92
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
93
|
+
* import * as oci from "@pulumi/oci";
|
|
94
|
+
*
|
|
95
|
+
* const testDatabaseSnapshot = oci.database.getDatabaseSnapshot({
|
|
96
|
+
* databaseSnapshotId: testDatabaseSnapshotOciDatabaseDatabaseSnapshot.id,
|
|
97
|
+
* });
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
100
|
+
export declare function getDatabaseSnapshotOutput(args: GetDatabaseSnapshotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatabaseSnapshotResult>;
|
|
101
|
+
/**
|
|
102
|
+
* A collection of arguments for invoking getDatabaseSnapshot.
|
|
103
|
+
*/
|
|
104
|
+
export interface GetDatabaseSnapshotOutputArgs {
|
|
105
|
+
/**
|
|
106
|
+
* The Exadata Database Snapshot [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
107
|
+
*/
|
|
108
|
+
databaseSnapshotId: pulumi.Input<string>;
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=getDatabaseSnapshot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDatabaseSnapshot.d.ts","sourceRoot":"","sources":["../../database/getDatabaseSnapshot.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAKlI;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAC;IAC9C;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAC;IAC/C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAC;IAC7C;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAChC;AACD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAK1J;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5C"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getDatabaseSnapshotOutput = exports.getDatabaseSnapshot = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* This data source provides details about a specific Database Snapshot resource in Oracle Cloud Infrastructure Database service.
|
|
33
|
+
*
|
|
34
|
+
* Gets information about the specified Exadata Database Snapshot.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as oci from "@pulumi/oci";
|
|
41
|
+
*
|
|
42
|
+
* const testDatabaseSnapshot = oci.database.getDatabaseSnapshot({
|
|
43
|
+
* databaseSnapshotId: testDatabaseSnapshotOciDatabaseDatabaseSnapshot.id,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getDatabaseSnapshot(args, opts) {
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invoke("oci:Database/getDatabaseSnapshot:getDatabaseSnapshot", {
|
|
50
|
+
"databaseSnapshotId": args.databaseSnapshotId,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getDatabaseSnapshot = getDatabaseSnapshot;
|
|
54
|
+
/**
|
|
55
|
+
* This data source provides details about a specific Database Snapshot resource in Oracle Cloud Infrastructure Database service.
|
|
56
|
+
*
|
|
57
|
+
* Gets information about the specified Exadata Database Snapshot.
|
|
58
|
+
*
|
|
59
|
+
* ## Example Usage
|
|
60
|
+
*
|
|
61
|
+
* ```typescript
|
|
62
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
+
* import * as oci from "@pulumi/oci";
|
|
64
|
+
*
|
|
65
|
+
* const testDatabaseSnapshot = oci.database.getDatabaseSnapshot({
|
|
66
|
+
* databaseSnapshotId: testDatabaseSnapshotOciDatabaseDatabaseSnapshot.id,
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
function getDatabaseSnapshotOutput(args, opts) {
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
72
|
+
return pulumi.runtime.invokeOutput("oci:Database/getDatabaseSnapshot:getDatabaseSnapshot", {
|
|
73
|
+
"databaseSnapshotId": args.databaseSnapshotId,
|
|
74
|
+
}, opts);
|
|
75
|
+
}
|
|
76
|
+
exports.getDatabaseSnapshotOutput = getDatabaseSnapshotOutput;
|
|
77
|
+
//# sourceMappingURL=getDatabaseSnapshot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDatabaseSnapshot.js","sourceRoot":"","sources":["../../database/getDatabaseSnapshot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AA8DD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
|
|
@@ -0,0 +1,132 @@
|
|
|
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 Snapshots in Oracle Cloud Infrastructure Database service.
|
|
6
|
+
*
|
|
7
|
+
* Gets a list of the Exadata Database Snapshots in the specified compartment.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as oci from "@pulumi/oci";
|
|
14
|
+
*
|
|
15
|
+
* const testDatabaseSnapshots = oci.database.getDatabaseSnapshots({
|
|
16
|
+
* clusterId: testCluster.id,
|
|
17
|
+
* compartmentId: compartmentId,
|
|
18
|
+
* databaseId: testDatabase.id,
|
|
19
|
+
* name: databaseSnapshotName,
|
|
20
|
+
* state: databaseSnapshotState,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function getDatabaseSnapshots(args?: GetDatabaseSnapshotsArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseSnapshotsResult>;
|
|
25
|
+
/**
|
|
26
|
+
* A collection of arguments for invoking getDatabaseSnapshots.
|
|
27
|
+
*/
|
|
28
|
+
export interface GetDatabaseSnapshotsArgs {
|
|
29
|
+
/**
|
|
30
|
+
* A filter to return only Exadata Database Snapshots that match the given VM cluster.
|
|
31
|
+
*/
|
|
32
|
+
clusterId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
35
|
+
*/
|
|
36
|
+
compartmentId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* A filter to return only Exadata Database Snapshots that match the given Database Id.
|
|
39
|
+
*/
|
|
40
|
+
databaseId?: string;
|
|
41
|
+
filters?: inputs.Database.GetDatabaseSnapshotsFilter[];
|
|
42
|
+
/**
|
|
43
|
+
* A filter to return only resources that match the entire name given. The match is not case sensitive.
|
|
44
|
+
*/
|
|
45
|
+
name?: string;
|
|
46
|
+
/**
|
|
47
|
+
* A filter to return only Exadata Database Snapshots that match the given lifecycle state exactly.
|
|
48
|
+
*/
|
|
49
|
+
state?: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* A collection of values returned by getDatabaseSnapshots.
|
|
53
|
+
*/
|
|
54
|
+
export interface GetDatabaseSnapshotsResult {
|
|
55
|
+
/**
|
|
56
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster.
|
|
57
|
+
*/
|
|
58
|
+
readonly clusterId?: string;
|
|
59
|
+
/**
|
|
60
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
61
|
+
*/
|
|
62
|
+
readonly compartmentId?: string;
|
|
63
|
+
/**
|
|
64
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database.
|
|
65
|
+
*/
|
|
66
|
+
readonly databaseId?: string;
|
|
67
|
+
/**
|
|
68
|
+
* The list of database_snapshot_collection.
|
|
69
|
+
*/
|
|
70
|
+
readonly databaseSnapshotCollections: outputs.Database.GetDatabaseSnapshotsDatabaseSnapshotCollection[];
|
|
71
|
+
readonly filters?: outputs.Database.GetDatabaseSnapshotsFilter[];
|
|
72
|
+
/**
|
|
73
|
+
* The provider-assigned unique ID for this managed resource.
|
|
74
|
+
*/
|
|
75
|
+
readonly id: string;
|
|
76
|
+
/**
|
|
77
|
+
* The user-friendly name for the Database Snapshot. The name should be unique.
|
|
78
|
+
*/
|
|
79
|
+
readonly name?: string;
|
|
80
|
+
/**
|
|
81
|
+
* The current state of the Exadata Database Snapshot.
|
|
82
|
+
*/
|
|
83
|
+
readonly state?: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* This data source provides the list of Database Snapshots in Oracle Cloud Infrastructure Database service.
|
|
87
|
+
*
|
|
88
|
+
* Gets a list of the Exadata Database Snapshots in the specified compartment.
|
|
89
|
+
*
|
|
90
|
+
* ## Example Usage
|
|
91
|
+
*
|
|
92
|
+
* ```typescript
|
|
93
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
94
|
+
* import * as oci from "@pulumi/oci";
|
|
95
|
+
*
|
|
96
|
+
* const testDatabaseSnapshots = oci.database.getDatabaseSnapshots({
|
|
97
|
+
* clusterId: testCluster.id,
|
|
98
|
+
* compartmentId: compartmentId,
|
|
99
|
+
* databaseId: testDatabase.id,
|
|
100
|
+
* name: databaseSnapshotName,
|
|
101
|
+
* state: databaseSnapshotState,
|
|
102
|
+
* });
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
export declare function getDatabaseSnapshotsOutput(args?: GetDatabaseSnapshotsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatabaseSnapshotsResult>;
|
|
106
|
+
/**
|
|
107
|
+
* A collection of arguments for invoking getDatabaseSnapshots.
|
|
108
|
+
*/
|
|
109
|
+
export interface GetDatabaseSnapshotsOutputArgs {
|
|
110
|
+
/**
|
|
111
|
+
* A filter to return only Exadata Database Snapshots that match the given VM cluster.
|
|
112
|
+
*/
|
|
113
|
+
clusterId?: pulumi.Input<string | undefined>;
|
|
114
|
+
/**
|
|
115
|
+
* The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
116
|
+
*/
|
|
117
|
+
compartmentId?: pulumi.Input<string | undefined>;
|
|
118
|
+
/**
|
|
119
|
+
* A filter to return only Exadata Database Snapshots that match the given Database Id.
|
|
120
|
+
*/
|
|
121
|
+
databaseId?: pulumi.Input<string | undefined>;
|
|
122
|
+
filters?: pulumi.Input<pulumi.Input<inputs.Database.GetDatabaseSnapshotsFilterArgs>[] | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* A filter to return only resources that match the entire name given. The match is not case sensitive.
|
|
125
|
+
*/
|
|
126
|
+
name?: pulumi.Input<string | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* A filter to return only Exadata Database Snapshots that match the given lifecycle state exactly.
|
|
129
|
+
*/
|
|
130
|
+
state?: pulumi.Input<string | undefined>;
|
|
131
|
+
}
|
|
132
|
+
//# sourceMappingURL=getDatabaseSnapshots.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDatabaseSnapshots.d.ts","sourceRoot":"","sources":["../../database/getDatabaseSnapshots.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;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,oBAAoB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