@pulumi/oci 3.1.0 → 3.2.0-alpha.1752121229
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/bigdataservice/bdsInstanceNodeBackup.d.ts +131 -0
- package/bigdataservice/bdsInstanceNodeBackup.js +104 -0
- package/bigdataservice/bdsInstanceNodeBackup.js.map +1 -0
- package/bigdataservice/bdsInstanceNodeBackupConfiguration.d.ts +192 -0
- package/bigdataservice/bdsInstanceNodeBackupConfiguration.js +110 -0
- package/bigdataservice/bdsInstanceNodeBackupConfiguration.js.map +1 -0
- package/bigdataservice/bdsInstanceNodeReplaceConfiguration.d.ts +167 -0
- package/bigdataservice/bdsInstanceNodeReplaceConfiguration.js +115 -0
- package/bigdataservice/bdsInstanceNodeReplaceConfiguration.js.map +1 -0
- package/bigdataservice/bdsInstanceReplaceNodeAction.d.ts +128 -0
- package/bigdataservice/bdsInstanceReplaceNodeAction.js +91 -0
- package/bigdataservice/bdsInstanceReplaceNodeAction.js.map +1 -0
- package/bigdataservice/getBdsInstanceNodeBackup.d.ts +106 -0
- package/bigdataservice/getBdsInstanceNodeBackup.js +58 -0
- package/bigdataservice/getBdsInstanceNodeBackup.js.map +1 -0
- package/bigdataservice/getBdsInstanceNodeBackupConfiguration.d.ts +114 -0
- package/bigdataservice/getBdsInstanceNodeBackupConfiguration.js +58 -0
- package/bigdataservice/getBdsInstanceNodeBackupConfiguration.js.map +1 -0
- package/bigdataservice/getBdsInstanceNodeBackupConfigurations.d.ts +103 -0
- package/bigdataservice/getBdsInstanceNodeBackupConfigurations.js +64 -0
- package/bigdataservice/getBdsInstanceNodeBackupConfigurations.js.map +1 -0
- package/bigdataservice/getBdsInstanceNodeBackups.d.ts +114 -0
- package/bigdataservice/getBdsInstanceNodeBackups.js +68 -0
- package/bigdataservice/getBdsInstanceNodeBackups.js.map +1 -0
- package/bigdataservice/getBdsInstanceNodeReplaceConfiguration.d.ts +107 -0
- package/bigdataservice/getBdsInstanceNodeReplaceConfiguration.js +58 -0
- package/bigdataservice/getBdsInstanceNodeReplaceConfiguration.js.map +1 -0
- package/bigdataservice/getBdsInstanceNodeReplaceConfigurations.d.ts +103 -0
- package/bigdataservice/getBdsInstanceNodeReplaceConfigurations.js +64 -0
- package/bigdataservice/getBdsInstanceNodeReplaceConfigurations.js.map +1 -0
- package/bigdataservice/index.d.ts +30 -0
- package/bigdataservice/index.js +40 -1
- package/bigdataservice/index.js.map +1 -1
- package/generativeai/agentAgent.d.ts +22 -5
- package/generativeai/agentAgent.js +7 -2
- package/generativeai/agentAgent.js.map +1 -1
- package/generativeai/agentAgentEndpoint.d.ts +96 -11
- package/generativeai/agentAgentEndpoint.js +37 -2
- package/generativeai/agentAgentEndpoint.js.map +1 -1
- package/generativeai/agentDataSource.d.ts +28 -9
- package/generativeai/agentDataSource.js +3 -0
- package/generativeai/agentDataSource.js.map +1 -1
- package/generativeai/agentTool.d.ts +201 -0
- package/generativeai/agentTool.js +96 -0
- package/generativeai/agentTool.js.map +1 -0
- package/generativeai/getAgentAgent.d.ts +6 -1
- package/generativeai/getAgentAgent.js.map +1 -1
- package/generativeai/getAgentAgentEndpoint.d.ts +23 -5
- package/generativeai/getAgentAgentEndpoint.js +0 -4
- package/generativeai/getAgentAgentEndpoint.js.map +1 -1
- package/generativeai/getAgentAgentEndpoints.d.ts +0 -4
- package/generativeai/getAgentAgentEndpoints.js +0 -4
- package/generativeai/getAgentAgentEndpoints.js.map +1 -1
- package/generativeai/getAgentDataSource.d.ts +6 -0
- package/generativeai/getAgentDataSource.js.map +1 -1
- package/generativeai/getAgentTool.d.ts +120 -0
- package/generativeai/getAgentTool.js +54 -0
- package/generativeai/getAgentTool.js.map +1 -0
- package/generativeai/getAgentTools.d.ts +117 -0
- package/generativeai/getAgentTools.js +70 -0
- package/generativeai/getAgentTools.js.map +1 -0
- package/generativeai/index.d.ts +9 -0
- package/generativeai/index.js +12 -1
- package/generativeai/index.js.map +1 -1
- package/kms/vaultVerification.d.ts +6 -0
- package/kms/vaultVerification.js +6 -0
- package/kms/vaultVerification.js.map +1 -1
- package/ospgateway/getSubscription.d.ts +4 -0
- package/ospgateway/getSubscription.js.map +1 -1
- package/ospgateway/subscription.d.ts +8 -0
- package/ospgateway/subscription.js +2 -0
- package/ospgateway/subscription.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +350 -0
- package/types/output.d.ts +1117 -2
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource provides the Bds Instance Node Replace Configuration resource in Oracle Cloud Infrastructure Big Data Service service.
|
|
6
|
+
*
|
|
7
|
+
* Add a nodeReplaceConfigurations to the cluster.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as oci from "@pulumi/oci";
|
|
14
|
+
*
|
|
15
|
+
* const testBdsInstanceNodeReplaceConfiguration = new oci.bigdataservice.BdsInstanceNodeReplaceConfiguration("test_bds_instance_node_replace_configuration", {
|
|
16
|
+
* bdsInstanceId: testBdsInstance.id,
|
|
17
|
+
* clusterAdminPassword: bdsInstanceNodeReplaceConfigurationClusterAdminPassword,
|
|
18
|
+
* durationInMinutes: bdsInstanceNodeReplaceConfigurationDurationInMinutes,
|
|
19
|
+
* levelTypeDetails: {
|
|
20
|
+
* levelType: bdsInstanceNodeReplaceConfigurationLevelTypeDetailsLevelType,
|
|
21
|
+
* nodeHostName: bdsInstanceNodeReplaceConfigurationLevelTypeDetailsNodeHostName,
|
|
22
|
+
* nodeType: bdsInstanceNodeReplaceConfigurationLevelTypeDetailsNodeType,
|
|
23
|
+
* },
|
|
24
|
+
* metricType: bdsInstanceNodeReplaceConfigurationMetricType,
|
|
25
|
+
* displayName: bdsInstanceNodeReplaceConfigurationDisplayName,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* BdsInstanceNodeReplaceConfigurations can be imported using the `id`, e.g.
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import oci:BigDataService/bdsInstanceNodeReplaceConfiguration:BdsInstanceNodeReplaceConfiguration test_bds_instance_node_replace_configuration "bdsInstances/{bdsInstanceId}/nodeReplaceConfigurations/{nodeReplaceConfigurationId}"
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class BdsInstanceNodeReplaceConfiguration extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing BdsInstanceNodeReplaceConfiguration resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BdsInstanceNodeReplaceConfigurationState, opts?: pulumi.CustomResourceOptions): BdsInstanceNodeReplaceConfiguration;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of BdsInstanceNodeReplaceConfiguration. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj: any): obj is BdsInstanceNodeReplaceConfiguration;
|
|
53
|
+
/**
|
|
54
|
+
* The OCID of the cluster.
|
|
55
|
+
*/
|
|
56
|
+
readonly bdsInstanceId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Base-64 encoded password for the cluster admin user.
|
|
59
|
+
*/
|
|
60
|
+
readonly clusterAdminPassword: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* (Updatable) A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
|
|
63
|
+
*/
|
|
64
|
+
readonly displayName: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* (Updatable) This value is the minimum period of time to wait before triggering node replacement. The value is in minutes.
|
|
67
|
+
*/
|
|
68
|
+
readonly durationInMinutes: pulumi.Output<number>;
|
|
69
|
+
/**
|
|
70
|
+
* (Updatable) Details of the type of level used to trigger the creation of a new node backup configuration or node replacement configuration.
|
|
71
|
+
*/
|
|
72
|
+
readonly levelTypeDetails: pulumi.Output<outputs.BigDataService.BdsInstanceNodeReplaceConfigurationLevelTypeDetails>;
|
|
73
|
+
/**
|
|
74
|
+
* (Updatable) Type of compute instance health metric to use for node replacement
|
|
75
|
+
*/
|
|
76
|
+
readonly metricType: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The state of the NodeReplaceConfiguration.
|
|
79
|
+
*/
|
|
80
|
+
readonly state: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted datetime string.
|
|
83
|
+
*/
|
|
84
|
+
readonly timeCreated: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted datetime string.
|
|
87
|
+
*/
|
|
88
|
+
readonly timeUpdated: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Create a BdsInstanceNodeReplaceConfiguration resource with the given unique name, arguments, and options.
|
|
91
|
+
*
|
|
92
|
+
* @param name The _unique_ name of the resource.
|
|
93
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
94
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
95
|
+
*/
|
|
96
|
+
constructor(name: string, args: BdsInstanceNodeReplaceConfigurationArgs, opts?: pulumi.CustomResourceOptions);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Input properties used for looking up and filtering BdsInstanceNodeReplaceConfiguration resources.
|
|
100
|
+
*/
|
|
101
|
+
export interface BdsInstanceNodeReplaceConfigurationState {
|
|
102
|
+
/**
|
|
103
|
+
* The OCID of the cluster.
|
|
104
|
+
*/
|
|
105
|
+
bdsInstanceId?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Base-64 encoded password for the cluster admin user.
|
|
108
|
+
*/
|
|
109
|
+
clusterAdminPassword?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* (Updatable) A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
|
|
112
|
+
*/
|
|
113
|
+
displayName?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* (Updatable) This value is the minimum period of time to wait before triggering node replacement. The value is in minutes.
|
|
116
|
+
*/
|
|
117
|
+
durationInMinutes?: pulumi.Input<number>;
|
|
118
|
+
/**
|
|
119
|
+
* (Updatable) Details of the type of level used to trigger the creation of a new node backup configuration or node replacement configuration.
|
|
120
|
+
*/
|
|
121
|
+
levelTypeDetails?: pulumi.Input<inputs.BigDataService.BdsInstanceNodeReplaceConfigurationLevelTypeDetails>;
|
|
122
|
+
/**
|
|
123
|
+
* (Updatable) Type of compute instance health metric to use for node replacement
|
|
124
|
+
*/
|
|
125
|
+
metricType?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The state of the NodeReplaceConfiguration.
|
|
128
|
+
*/
|
|
129
|
+
state?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted datetime string.
|
|
132
|
+
*/
|
|
133
|
+
timeCreated?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted datetime string.
|
|
136
|
+
*/
|
|
137
|
+
timeUpdated?: pulumi.Input<string>;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* The set of arguments for constructing a BdsInstanceNodeReplaceConfiguration resource.
|
|
141
|
+
*/
|
|
142
|
+
export interface BdsInstanceNodeReplaceConfigurationArgs {
|
|
143
|
+
/**
|
|
144
|
+
* The OCID of the cluster.
|
|
145
|
+
*/
|
|
146
|
+
bdsInstanceId: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Base-64 encoded password for the cluster admin user.
|
|
149
|
+
*/
|
|
150
|
+
clusterAdminPassword: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* (Updatable) A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
|
|
153
|
+
*/
|
|
154
|
+
displayName?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* (Updatable) This value is the minimum period of time to wait before triggering node replacement. The value is in minutes.
|
|
157
|
+
*/
|
|
158
|
+
durationInMinutes: pulumi.Input<number>;
|
|
159
|
+
/**
|
|
160
|
+
* (Updatable) Details of the type of level used to trigger the creation of a new node backup configuration or node replacement configuration.
|
|
161
|
+
*/
|
|
162
|
+
levelTypeDetails: pulumi.Input<inputs.BigDataService.BdsInstanceNodeReplaceConfigurationLevelTypeDetails>;
|
|
163
|
+
/**
|
|
164
|
+
* (Updatable) Type of compute instance health metric to use for node replacement
|
|
165
|
+
*/
|
|
166
|
+
metricType: pulumi.Input<string>;
|
|
167
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.BdsInstanceNodeReplaceConfiguration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Bds Instance Node Replace Configuration resource in Oracle Cloud Infrastructure Big Data Service service.
|
|
10
|
+
*
|
|
11
|
+
* Add a nodeReplaceConfigurations to the cluster.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testBdsInstanceNodeReplaceConfiguration = new oci.bigdataservice.BdsInstanceNodeReplaceConfiguration("test_bds_instance_node_replace_configuration", {
|
|
20
|
+
* bdsInstanceId: testBdsInstance.id,
|
|
21
|
+
* clusterAdminPassword: bdsInstanceNodeReplaceConfigurationClusterAdminPassword,
|
|
22
|
+
* durationInMinutes: bdsInstanceNodeReplaceConfigurationDurationInMinutes,
|
|
23
|
+
* levelTypeDetails: {
|
|
24
|
+
* levelType: bdsInstanceNodeReplaceConfigurationLevelTypeDetailsLevelType,
|
|
25
|
+
* nodeHostName: bdsInstanceNodeReplaceConfigurationLevelTypeDetailsNodeHostName,
|
|
26
|
+
* nodeType: bdsInstanceNodeReplaceConfigurationLevelTypeDetailsNodeType,
|
|
27
|
+
* },
|
|
28
|
+
* metricType: bdsInstanceNodeReplaceConfigurationMetricType,
|
|
29
|
+
* displayName: bdsInstanceNodeReplaceConfigurationDisplayName,
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* BdsInstanceNodeReplaceConfigurations can be imported using the `id`, e.g.
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import oci:BigDataService/bdsInstanceNodeReplaceConfiguration:BdsInstanceNodeReplaceConfiguration test_bds_instance_node_replace_configuration "bdsInstances/{bdsInstanceId}/nodeReplaceConfigurations/{nodeReplaceConfigurationId}"
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
class BdsInstanceNodeReplaceConfiguration extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing BdsInstanceNodeReplaceConfiguration resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name, id, state, opts) {
|
|
52
|
+
return new BdsInstanceNodeReplaceConfiguration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of BdsInstanceNodeReplaceConfiguration. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === BdsInstanceNodeReplaceConfiguration.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
constructor(name, argsOrState, opts) {
|
|
65
|
+
let resourceInputs = {};
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
if (opts.id) {
|
|
68
|
+
const state = argsOrState;
|
|
69
|
+
resourceInputs["bdsInstanceId"] = state ? state.bdsInstanceId : undefined;
|
|
70
|
+
resourceInputs["clusterAdminPassword"] = state ? state.clusterAdminPassword : undefined;
|
|
71
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
72
|
+
resourceInputs["durationInMinutes"] = state ? state.durationInMinutes : undefined;
|
|
73
|
+
resourceInputs["levelTypeDetails"] = state ? state.levelTypeDetails : undefined;
|
|
74
|
+
resourceInputs["metricType"] = state ? state.metricType : undefined;
|
|
75
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
76
|
+
resourceInputs["timeCreated"] = state ? state.timeCreated : undefined;
|
|
77
|
+
resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined;
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
const args = argsOrState;
|
|
81
|
+
if ((!args || args.bdsInstanceId === undefined) && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'bdsInstanceId'");
|
|
83
|
+
}
|
|
84
|
+
if ((!args || args.clusterAdminPassword === undefined) && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'clusterAdminPassword'");
|
|
86
|
+
}
|
|
87
|
+
if ((!args || args.durationInMinutes === undefined) && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'durationInMinutes'");
|
|
89
|
+
}
|
|
90
|
+
if ((!args || args.levelTypeDetails === undefined) && !opts.urn) {
|
|
91
|
+
throw new Error("Missing required property 'levelTypeDetails'");
|
|
92
|
+
}
|
|
93
|
+
if ((!args || args.metricType === undefined) && !opts.urn) {
|
|
94
|
+
throw new Error("Missing required property 'metricType'");
|
|
95
|
+
}
|
|
96
|
+
resourceInputs["bdsInstanceId"] = args ? args.bdsInstanceId : undefined;
|
|
97
|
+
resourceInputs["clusterAdminPassword"] = (args === null || args === void 0 ? void 0 : args.clusterAdminPassword) ? pulumi.secret(args.clusterAdminPassword) : undefined;
|
|
98
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
99
|
+
resourceInputs["durationInMinutes"] = args ? args.durationInMinutes : undefined;
|
|
100
|
+
resourceInputs["levelTypeDetails"] = args ? args.levelTypeDetails : undefined;
|
|
101
|
+
resourceInputs["metricType"] = args ? args.metricType : undefined;
|
|
102
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["timeCreated"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["timeUpdated"] = undefined /*out*/;
|
|
105
|
+
}
|
|
106
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
|
+
const secretOpts = { additionalSecretOutputs: ["clusterAdminPassword"] };
|
|
108
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
109
|
+
super(BdsInstanceNodeReplaceConfiguration.__pulumiType, name, resourceInputs, opts);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.BdsInstanceNodeReplaceConfiguration = BdsInstanceNodeReplaceConfiguration;
|
|
113
|
+
/** @internal */
|
|
114
|
+
BdsInstanceNodeReplaceConfiguration.__pulumiType = 'oci:BigDataService/bdsInstanceNodeReplaceConfiguration:BdsInstanceNodeReplaceConfiguration';
|
|
115
|
+
//# sourceMappingURL=bdsInstanceNodeReplaceConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bdsInstanceNodeReplaceConfiguration.js","sourceRoot":"","sources":["../../bigdataservice/bdsInstanceNodeReplaceConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgD,EAAE,IAAmC;QAC9I,OAAO,IAAI,mCAAmC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1F,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,mCAAmC,CAAC,YAAY,CAAC;IACpF,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAgG,EAAE,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BAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,sBAAsB,CAAC,EAAE,CAAC;QACzE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxF,CAAC;;AAtHL,kFAuHC;AAzGG,gBAAgB;AACO,gDAAY,GAAG,4FAA4F,CAAC"}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource replaces the node with the given hostname, in Oracle Cloud Infrastructure Big Data Service cluster.
|
|
4
|
+
*
|
|
5
|
+
* Replace the node with the given host name in the cluster.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as oci from "@pulumi/oci";
|
|
12
|
+
*
|
|
13
|
+
* const testBdsInstanceReplaceNodeAction = new oci.bigdataservice.BdsInstanceReplaceNodeAction("test_bds_instance_replace_node_action", {
|
|
14
|
+
* bdsInstanceId: testBdsInstance.id,
|
|
15
|
+
* nodeHostName: bdsInstanceReplaceNodeAction.nodeHostName,
|
|
16
|
+
* nodeBackupId: bdsInstanceReplaceNodeAction.nodeBackupId,
|
|
17
|
+
* clusterAdminPassword: testBdsInstance.clusterAdminPassword,
|
|
18
|
+
* shape: shape,
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare class BdsInstanceReplaceNodeAction extends pulumi.CustomResource {
|
|
23
|
+
/**
|
|
24
|
+
* Get an existing BdsInstanceReplaceNodeAction resource's state with the given name, ID, and optional extra
|
|
25
|
+
* properties used to qualify the lookup.
|
|
26
|
+
*
|
|
27
|
+
* @param name The _unique_ name of the resulting resource.
|
|
28
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
29
|
+
* @param state Any extra arguments used during the lookup.
|
|
30
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
31
|
+
*/
|
|
32
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BdsInstanceReplaceNodeActionState, opts?: pulumi.CustomResourceOptions): BdsInstanceReplaceNodeAction;
|
|
33
|
+
/**
|
|
34
|
+
* Returns true if the given object is an instance of BdsInstanceReplaceNodeAction. This is designed to work even
|
|
35
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
36
|
+
*/
|
|
37
|
+
static isInstance(obj: any): obj is BdsInstanceReplaceNodeAction;
|
|
38
|
+
/**
|
|
39
|
+
* The OCID of the cluster.
|
|
40
|
+
*/
|
|
41
|
+
readonly bdsInstanceId: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Base-64 encoded password for the cluster admin user.
|
|
44
|
+
*/
|
|
45
|
+
readonly clusterAdminPassword: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The id of the nodeBackup to use for replacing the node.
|
|
48
|
+
*/
|
|
49
|
+
readonly nodeBackupId: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
|
|
52
|
+
*/
|
|
53
|
+
readonly nodeHostName: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.
|
|
56
|
+
*
|
|
57
|
+
*
|
|
58
|
+
* ** IMPORTANT **
|
|
59
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
60
|
+
*/
|
|
61
|
+
readonly shape: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* Create a BdsInstanceReplaceNodeAction resource with the given unique name, arguments, and options.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resource.
|
|
66
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
67
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
68
|
+
*/
|
|
69
|
+
constructor(name: string, args: BdsInstanceReplaceNodeActionArgs, opts?: pulumi.CustomResourceOptions);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Input properties used for looking up and filtering BdsInstanceReplaceNodeAction resources.
|
|
73
|
+
*/
|
|
74
|
+
export interface BdsInstanceReplaceNodeActionState {
|
|
75
|
+
/**
|
|
76
|
+
* The OCID of the cluster.
|
|
77
|
+
*/
|
|
78
|
+
bdsInstanceId?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Base-64 encoded password for the cluster admin user.
|
|
81
|
+
*/
|
|
82
|
+
clusterAdminPassword?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The id of the nodeBackup to use for replacing the node.
|
|
85
|
+
*/
|
|
86
|
+
nodeBackupId?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
|
|
89
|
+
*/
|
|
90
|
+
nodeHostName?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* ** IMPORTANT **
|
|
96
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
97
|
+
*/
|
|
98
|
+
shape?: pulumi.Input<string>;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* The set of arguments for constructing a BdsInstanceReplaceNodeAction resource.
|
|
102
|
+
*/
|
|
103
|
+
export interface BdsInstanceReplaceNodeActionArgs {
|
|
104
|
+
/**
|
|
105
|
+
* The OCID of the cluster.
|
|
106
|
+
*/
|
|
107
|
+
bdsInstanceId: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Base-64 encoded password for the cluster admin user.
|
|
110
|
+
*/
|
|
111
|
+
clusterAdminPassword: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The id of the nodeBackup to use for replacing the node.
|
|
114
|
+
*/
|
|
115
|
+
nodeBackupId: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
|
|
118
|
+
*/
|
|
119
|
+
nodeHostName: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.
|
|
122
|
+
*
|
|
123
|
+
*
|
|
124
|
+
* ** IMPORTANT **
|
|
125
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
126
|
+
*/
|
|
127
|
+
shape?: pulumi.Input<string>;
|
|
128
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.BdsInstanceReplaceNodeAction = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource replaces the node with the given hostname, in Oracle Cloud Infrastructure Big Data Service cluster.
|
|
10
|
+
*
|
|
11
|
+
* Replace the node with the given host name in the cluster.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testBdsInstanceReplaceNodeAction = new oci.bigdataservice.BdsInstanceReplaceNodeAction("test_bds_instance_replace_node_action", {
|
|
20
|
+
* bdsInstanceId: testBdsInstance.id,
|
|
21
|
+
* nodeHostName: bdsInstanceReplaceNodeAction.nodeHostName,
|
|
22
|
+
* nodeBackupId: bdsInstanceReplaceNodeAction.nodeBackupId,
|
|
23
|
+
* clusterAdminPassword: testBdsInstance.clusterAdminPassword,
|
|
24
|
+
* shape: shape,
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
class BdsInstanceReplaceNodeAction extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing BdsInstanceReplaceNodeAction resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name, id, state, opts) {
|
|
39
|
+
return new BdsInstanceReplaceNodeAction(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of BdsInstanceReplaceNodeAction. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj) {
|
|
46
|
+
if (obj === undefined || obj === null) {
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
return obj['__pulumiType'] === BdsInstanceReplaceNodeAction.__pulumiType;
|
|
50
|
+
}
|
|
51
|
+
constructor(name, argsOrState, opts) {
|
|
52
|
+
let resourceInputs = {};
|
|
53
|
+
opts = opts || {};
|
|
54
|
+
if (opts.id) {
|
|
55
|
+
const state = argsOrState;
|
|
56
|
+
resourceInputs["bdsInstanceId"] = state ? state.bdsInstanceId : undefined;
|
|
57
|
+
resourceInputs["clusterAdminPassword"] = state ? state.clusterAdminPassword : undefined;
|
|
58
|
+
resourceInputs["nodeBackupId"] = state ? state.nodeBackupId : undefined;
|
|
59
|
+
resourceInputs["nodeHostName"] = state ? state.nodeHostName : undefined;
|
|
60
|
+
resourceInputs["shape"] = state ? state.shape : undefined;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
const args = argsOrState;
|
|
64
|
+
if ((!args || args.bdsInstanceId === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'bdsInstanceId'");
|
|
66
|
+
}
|
|
67
|
+
if ((!args || args.clusterAdminPassword === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'clusterAdminPassword'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.nodeBackupId === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'nodeBackupId'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.nodeHostName === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'nodeHostName'");
|
|
75
|
+
}
|
|
76
|
+
resourceInputs["bdsInstanceId"] = args ? args.bdsInstanceId : undefined;
|
|
77
|
+
resourceInputs["clusterAdminPassword"] = (args === null || args === void 0 ? void 0 : args.clusterAdminPassword) ? pulumi.secret(args.clusterAdminPassword) : undefined;
|
|
78
|
+
resourceInputs["nodeBackupId"] = args ? args.nodeBackupId : undefined;
|
|
79
|
+
resourceInputs["nodeHostName"] = args ? args.nodeHostName : undefined;
|
|
80
|
+
resourceInputs["shape"] = args ? args.shape : undefined;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
const secretOpts = { additionalSecretOutputs: ["clusterAdminPassword"] };
|
|
84
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
85
|
+
super(BdsInstanceReplaceNodeAction.__pulumiType, name, resourceInputs, opts);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.BdsInstanceReplaceNodeAction = BdsInstanceReplaceNodeAction;
|
|
89
|
+
/** @internal */
|
|
90
|
+
BdsInstanceReplaceNodeAction.__pulumiType = 'oci:BigDataService/bdsInstanceReplaceNodeAction:BdsInstanceReplaceNodeAction';
|
|
91
|
+
//# sourceMappingURL=bdsInstanceReplaceNodeAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bdsInstanceReplaceNodeAction.js","sourceRoot":"","sources":["../../bigdataservice/bdsInstanceReplaceNodeAction.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnF,CAAC;IAKD;;;OAGG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E,CAAC;QACzE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AA/FL,oEAgGC;AAlFG,gBAAgB;AACO,yCAAY,GAAG,8EAA8E,CAAC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This data source provides details about a specific Bds Instance Node Backup resource in Oracle Cloud Infrastructure Big Data Service service.
|
|
4
|
+
*
|
|
5
|
+
* Returns details of NodeBackup identified by the given ID.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as oci from "@pulumi/oci";
|
|
12
|
+
*
|
|
13
|
+
* const testBdsInstanceNodeBackup = oci.BigDataService.getBdsInstanceNodeBackup({
|
|
14
|
+
* bdsInstanceId: testBdsInstance.id,
|
|
15
|
+
* nodeBackupId: testBackup.id,
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getBdsInstanceNodeBackup(args: GetBdsInstanceNodeBackupArgs, opts?: pulumi.InvokeOptions): Promise<GetBdsInstanceNodeBackupResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getBdsInstanceNodeBackup.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetBdsInstanceNodeBackupArgs {
|
|
24
|
+
/**
|
|
25
|
+
* The OCID of the cluster.
|
|
26
|
+
*/
|
|
27
|
+
bdsInstanceId: string;
|
|
28
|
+
/**
|
|
29
|
+
* Unique assigned identifier of the nodeBackupId.
|
|
30
|
+
*/
|
|
31
|
+
nodeBackupId: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of values returned by getBdsInstanceNodeBackup.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetBdsInstanceNodeBackupResult {
|
|
37
|
+
/**
|
|
38
|
+
* type based on how backup action was initiated.
|
|
39
|
+
*/
|
|
40
|
+
readonly backupTriggerType: string;
|
|
41
|
+
/**
|
|
42
|
+
* Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
|
|
43
|
+
*/
|
|
44
|
+
readonly backupType: string;
|
|
45
|
+
readonly bdsInstanceId: string;
|
|
46
|
+
/**
|
|
47
|
+
* BDS generated name for the backup. Format is nodeHostName_timeCreated.
|
|
48
|
+
*/
|
|
49
|
+
readonly displayName: string;
|
|
50
|
+
/**
|
|
51
|
+
* The provider-assigned unique ID for this managed resource.
|
|
52
|
+
*/
|
|
53
|
+
readonly id: string;
|
|
54
|
+
/**
|
|
55
|
+
* The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by applying the configuration.
|
|
56
|
+
*/
|
|
57
|
+
readonly nodeBackupConfigId: string;
|
|
58
|
+
readonly nodeBackupId: string;
|
|
59
|
+
/**
|
|
60
|
+
* Host name of the node to which this backup belongs.
|
|
61
|
+
*/
|
|
62
|
+
readonly nodeHostName: string;
|
|
63
|
+
/**
|
|
64
|
+
* The instance OCID of the node, which is the resource from which the node backup was acquired.
|
|
65
|
+
*/
|
|
66
|
+
readonly nodeInstanceId: string;
|
|
67
|
+
/**
|
|
68
|
+
* The state of the NodeBackup.
|
|
69
|
+
*/
|
|
70
|
+
readonly state: string;
|
|
71
|
+
/**
|
|
72
|
+
* The time the cluster was created, shown as an RFC 3339 formatted datetime string.
|
|
73
|
+
*/
|
|
74
|
+
readonly timeCreated: string;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* This data source provides details about a specific Bds Instance Node Backup resource in Oracle Cloud Infrastructure Big Data Service service.
|
|
78
|
+
*
|
|
79
|
+
* Returns details of NodeBackup identified by the given ID.
|
|
80
|
+
*
|
|
81
|
+
* ## Example Usage
|
|
82
|
+
*
|
|
83
|
+
* ```typescript
|
|
84
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
85
|
+
* import * as oci from "@pulumi/oci";
|
|
86
|
+
*
|
|
87
|
+
* const testBdsInstanceNodeBackup = oci.BigDataService.getBdsInstanceNodeBackup({
|
|
88
|
+
* bdsInstanceId: testBdsInstance.id,
|
|
89
|
+
* nodeBackupId: testBackup.id,
|
|
90
|
+
* });
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
export declare function getBdsInstanceNodeBackupOutput(args: GetBdsInstanceNodeBackupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBdsInstanceNodeBackupResult>;
|
|
94
|
+
/**
|
|
95
|
+
* A collection of arguments for invoking getBdsInstanceNodeBackup.
|
|
96
|
+
*/
|
|
97
|
+
export interface GetBdsInstanceNodeBackupOutputArgs {
|
|
98
|
+
/**
|
|
99
|
+
* The OCID of the cluster.
|
|
100
|
+
*/
|
|
101
|
+
bdsInstanceId: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Unique assigned identifier of the nodeBackupId.
|
|
104
|
+
*/
|
|
105
|
+
nodeBackupId: pulumi.Input<string>;
|
|
106
|
+
}
|