@pulumi/oci 0.13.0 → 0.14.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 +143 -0
- package/containerengine/addon.js +87 -0
- package/containerengine/addon.js.map +1 -0
- package/containerengine/cluster.d.ts +12 -0
- package/containerengine/cluster.js +2 -0
- package/containerengine/cluster.js.map +1 -1
- package/containerengine/getAddon.d.ts +100 -0
- package/containerengine/getAddon.js +54 -0
- package/containerengine/getAddon.js.map +1 -0
- package/containerengine/getAddonOptions.d.ts +83 -0
- package/containerengine/getAddonOptions.js +55 -0
- package/containerengine/getAddonOptions.js.map +1 -0
- package/containerengine/getAddons.d.ts +72 -0
- package/containerengine/getAddons.js +52 -0
- package/containerengine/getAddons.js.map +1 -0
- package/containerengine/getPodShapes.d.ts +97 -0
- package/containerengine/getPodShapes.js +58 -0
- package/containerengine/getPodShapes.js.map +1 -0
- package/containerengine/getVirtualNodePool.d.ts +142 -0
- package/containerengine/getVirtualNodePool.js +51 -0
- package/containerengine/getVirtualNodePool.js.map +1 -0
- package/containerengine/getVirtualNodePools.d.ts +89 -0
- package/containerengine/getVirtualNodePools.js +33 -0
- package/containerengine/getVirtualNodePools.js.map +1 -0
- package/containerengine/index.d.ts +24 -0
- package/containerengine/index.js +29 -1
- package/containerengine/index.js.map +1 -1
- package/containerengine/virtualNodePool.d.ts +307 -0
- package/containerengine/virtualNodePool.js +162 -0
- package/containerengine/virtualNodePool.js.map +1 -0
- package/core/clusterNetwork.d.ts +16 -0
- package/core/clusterNetwork.js +4 -0
- package/core/clusterNetwork.js.map +1 -1
- package/core/computeCapacityReservation.d.ts +4 -0
- package/core/computeCapacityReservation.js +4 -0
- package/core/computeCapacityReservation.js.map +1 -1
- package/core/computeCluster.d.ts +162 -0
- package/core/computeCluster.js +105 -0
- package/core/computeCluster.js.map +1 -0
- package/core/drgRouteTableRouteRule.d.ts +6 -6
- package/core/getClusterNetwork.d.ts +8 -0
- package/core/getClusterNetwork.js.map +1 -1
- package/core/getComputeCluster.d.ts +95 -0
- package/core/getComputeCluster.js +51 -0
- package/core/getComputeCluster.js.map +1 -0
- package/core/getComputeClusters.d.ts +105 -0
- package/core/getComputeClusters.js +60 -0
- package/core/getComputeClusters.js.map +1 -0
- package/core/getInstance.d.ts +1 -0
- package/core/getInstance.js.map +1 -1
- package/core/getInstances.d.ts +11 -0
- package/core/getInstances.js +3 -0
- package/core/getInstances.js.map +1 -1
- package/core/index.d.ts +9 -0
- package/core/index.js +18 -7
- package/core/index.js.map +1 -1
- package/core/instance.d.ts +13 -0
- package/core/instance.js +3 -0
- package/core/instance.js.map +1 -1
- package/core/vcn.d.ts +3 -0
- package/core/vcn.js.map +1 -1
- package/database/autonomousContainerDatabase.d.ts +12 -0
- package/database/autonomousContainerDatabase.js +2 -0
- package/database/autonomousContainerDatabase.js.map +1 -1
- package/database/getAutonomousContainerDatabase.d.ts +4 -0
- package/database/getAutonomousContainerDatabase.js.map +1 -1
- package/devops/connection.d.ts +8 -0
- package/devops/connection.js +2 -0
- package/devops/connection.js.map +1 -1
- package/devops/getConnection.d.ts +4 -0
- package/devops/getConnection.js.map +1 -1
- package/loganalytics/getLogAnalyticsObjectCollectionRule.d.ts +4 -0
- package/loganalytics/getLogAnalyticsObjectCollectionRule.js.map +1 -1
- package/loganalytics/getNamespaceScheduledTask.d.ts +6 -0
- package/loganalytics/getNamespaceScheduledTask.js.map +1 -1
- package/loganalytics/logAnalyticsObjectCollectionRule.d.ts +13 -0
- package/loganalytics/logAnalyticsObjectCollectionRule.js +3 -0
- package/loganalytics/logAnalyticsObjectCollectionRule.js.map +1 -1
- package/loganalytics/namespaceScheduledTask.d.ts +3 -3
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/types/input.d.ts +209 -1
- package/types/output.d.ts +1016 -204
|
@@ -0,0 +1,143 @@
|
|
|
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 Addon resource in Oracle Cloud Infrastructure Container Engine service.
|
|
6
|
+
*
|
|
7
|
+
* Install the specified addon for a cluster.
|
|
8
|
+
*
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* Addons can be imported using the `id`, e.g.
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import oci:ContainerEngine/addon:Addon test_addon "clusters/{clusterId}/addons/{addonName}"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare class Addon extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing Addon resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AddonState, opts?: pulumi.CustomResourceOptions): Addon;
|
|
28
|
+
/**
|
|
29
|
+
* Returns true if the given object is an instance of Addon. This is designed to work even
|
|
30
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
+
*/
|
|
32
|
+
static isInstance(obj: any): obj is Addon;
|
|
33
|
+
/**
|
|
34
|
+
* The error info of the addon.
|
|
35
|
+
*/
|
|
36
|
+
readonly addonErrors: pulumi.Output<outputs.ContainerEngine.AddonAddonError[]>;
|
|
37
|
+
/**
|
|
38
|
+
* The name of the addon.
|
|
39
|
+
*/
|
|
40
|
+
readonly addonName: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* The OCID of the cluster.
|
|
43
|
+
*/
|
|
44
|
+
readonly clusterId: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* (Updatable) Addon configuration details.
|
|
47
|
+
*/
|
|
48
|
+
readonly configurations: pulumi.Output<outputs.ContainerEngine.AddonConfiguration[]>;
|
|
49
|
+
/**
|
|
50
|
+
* current installed version of the addon
|
|
51
|
+
*/
|
|
52
|
+
readonly currentInstalledVersion: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Whether to remove addon resource in deletion.
|
|
55
|
+
*/
|
|
56
|
+
readonly removeAddonResourcesOnDelete: pulumi.Output<boolean>;
|
|
57
|
+
/**
|
|
58
|
+
* The state of the addon.
|
|
59
|
+
*/
|
|
60
|
+
readonly state: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The time the cluster was created.
|
|
63
|
+
*/
|
|
64
|
+
readonly timeCreated: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* (Updatable) The version of addon to be installed.
|
|
67
|
+
*/
|
|
68
|
+
readonly version: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Create a Addon resource with the given unique name, arguments, and options.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resource.
|
|
73
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
74
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
75
|
+
*/
|
|
76
|
+
constructor(name: string, args: AddonArgs, opts?: pulumi.CustomResourceOptions);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Input properties used for looking up and filtering Addon resources.
|
|
80
|
+
*/
|
|
81
|
+
export interface AddonState {
|
|
82
|
+
/**
|
|
83
|
+
* The error info of the addon.
|
|
84
|
+
*/
|
|
85
|
+
addonErrors?: pulumi.Input<pulumi.Input<inputs.ContainerEngine.AddonAddonError>[]>;
|
|
86
|
+
/**
|
|
87
|
+
* The name of the addon.
|
|
88
|
+
*/
|
|
89
|
+
addonName?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The OCID of the cluster.
|
|
92
|
+
*/
|
|
93
|
+
clusterId?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* (Updatable) Addon configuration details.
|
|
96
|
+
*/
|
|
97
|
+
configurations?: pulumi.Input<pulumi.Input<inputs.ContainerEngine.AddonConfiguration>[]>;
|
|
98
|
+
/**
|
|
99
|
+
* current installed version of the addon
|
|
100
|
+
*/
|
|
101
|
+
currentInstalledVersion?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Whether to remove addon resource in deletion.
|
|
104
|
+
*/
|
|
105
|
+
removeAddonResourcesOnDelete?: pulumi.Input<boolean>;
|
|
106
|
+
/**
|
|
107
|
+
* The state of the addon.
|
|
108
|
+
*/
|
|
109
|
+
state?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The time the cluster was created.
|
|
112
|
+
*/
|
|
113
|
+
timeCreated?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* (Updatable) The version of addon to be installed.
|
|
116
|
+
*/
|
|
117
|
+
version?: pulumi.Input<string>;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* The set of arguments for constructing a Addon resource.
|
|
121
|
+
*/
|
|
122
|
+
export interface AddonArgs {
|
|
123
|
+
/**
|
|
124
|
+
* The name of the addon.
|
|
125
|
+
*/
|
|
126
|
+
addonName: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The OCID of the cluster.
|
|
129
|
+
*/
|
|
130
|
+
clusterId: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* (Updatable) Addon configuration details.
|
|
133
|
+
*/
|
|
134
|
+
configurations?: pulumi.Input<pulumi.Input<inputs.ContainerEngine.AddonConfiguration>[]>;
|
|
135
|
+
/**
|
|
136
|
+
* Whether to remove addon resource in deletion.
|
|
137
|
+
*/
|
|
138
|
+
removeAddonResourcesOnDelete: pulumi.Input<boolean>;
|
|
139
|
+
/**
|
|
140
|
+
* (Updatable) The version of addon to be installed.
|
|
141
|
+
*/
|
|
142
|
+
version?: pulumi.Input<string>;
|
|
143
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.Addon = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Addon resource in Oracle Cloud Infrastructure Container Engine service.
|
|
10
|
+
*
|
|
11
|
+
* Install the specified addon for a cluster.
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* Addons can be imported using the `id`, e.g.
|
|
16
|
+
*
|
|
17
|
+
* ```sh
|
|
18
|
+
* $ pulumi import oci:ContainerEngine/addon:Addon test_addon "clusters/{clusterId}/addons/{addonName}"
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
class Addon extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing Addon resource's state with the given name, ID, and optional extra
|
|
24
|
+
* properties used to qualify the lookup.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resulting resource.
|
|
27
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
+
* @param state Any extra arguments used during the lookup.
|
|
29
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
+
*/
|
|
31
|
+
static get(name, id, state, opts) {
|
|
32
|
+
return new Addon(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of Addon. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj) {
|
|
39
|
+
if (obj === undefined || obj === null) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
return obj['__pulumiType'] === Addon.__pulumiType;
|
|
43
|
+
}
|
|
44
|
+
constructor(name, argsOrState, opts) {
|
|
45
|
+
let resourceInputs = {};
|
|
46
|
+
opts = opts || {};
|
|
47
|
+
if (opts.id) {
|
|
48
|
+
const state = argsOrState;
|
|
49
|
+
resourceInputs["addonErrors"] = state ? state.addonErrors : undefined;
|
|
50
|
+
resourceInputs["addonName"] = state ? state.addonName : undefined;
|
|
51
|
+
resourceInputs["clusterId"] = state ? state.clusterId : undefined;
|
|
52
|
+
resourceInputs["configurations"] = state ? state.configurations : undefined;
|
|
53
|
+
resourceInputs["currentInstalledVersion"] = state ? state.currentInstalledVersion : undefined;
|
|
54
|
+
resourceInputs["removeAddonResourcesOnDelete"] = state ? state.removeAddonResourcesOnDelete : undefined;
|
|
55
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
56
|
+
resourceInputs["timeCreated"] = state ? state.timeCreated : undefined;
|
|
57
|
+
resourceInputs["version"] = state ? state.version : undefined;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
const args = argsOrState;
|
|
61
|
+
if ((!args || args.addonName === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'addonName'");
|
|
63
|
+
}
|
|
64
|
+
if ((!args || args.clusterId === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'clusterId'");
|
|
66
|
+
}
|
|
67
|
+
if ((!args || args.removeAddonResourcesOnDelete === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'removeAddonResourcesOnDelete'");
|
|
69
|
+
}
|
|
70
|
+
resourceInputs["addonName"] = args ? args.addonName : undefined;
|
|
71
|
+
resourceInputs["clusterId"] = args ? args.clusterId : undefined;
|
|
72
|
+
resourceInputs["configurations"] = args ? args.configurations : undefined;
|
|
73
|
+
resourceInputs["removeAddonResourcesOnDelete"] = args ? args.removeAddonResourcesOnDelete : undefined;
|
|
74
|
+
resourceInputs["version"] = args ? args.version : undefined;
|
|
75
|
+
resourceInputs["addonErrors"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["currentInstalledVersion"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["timeCreated"] = undefined /*out*/;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(Addon.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.Addon = Addon;
|
|
85
|
+
/** @internal */
|
|
86
|
+
Addon.__pulumiType = 'oci:ContainerEngine/addon:Addon';
|
|
87
|
+
//# sourceMappingURL=addon.js.map
|
|
@@ -0,0 +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;IA+CD,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAA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AAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA9GL,sBA+GC;AAjGG,gBAAgB;AACO,kBAAY,GAAG,iCAAiC,CAAC"}
|
|
@@ -94,6 +94,10 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
94
94
|
* The state of the cluster masters.
|
|
95
95
|
*/
|
|
96
96
|
readonly state: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* (Updatable) Type of cluster
|
|
99
|
+
*/
|
|
100
|
+
readonly type: pulumi.Output<string>;
|
|
97
101
|
/**
|
|
98
102
|
* The OCID of the virtual cloud network (VCN) in which to create the cluster.
|
|
99
103
|
*/
|
|
@@ -175,6 +179,10 @@ export interface ClusterState {
|
|
|
175
179
|
* The state of the cluster masters.
|
|
176
180
|
*/
|
|
177
181
|
state?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* (Updatable) Type of cluster
|
|
184
|
+
*/
|
|
185
|
+
type?: pulumi.Input<string>;
|
|
178
186
|
/**
|
|
179
187
|
* The OCID of the virtual cloud network (VCN) in which to create the cluster.
|
|
180
188
|
*/
|
|
@@ -228,6 +236,10 @@ export interface ClusterArgs {
|
|
|
228
236
|
* (Updatable) Optional attributes for the cluster.
|
|
229
237
|
*/
|
|
230
238
|
options?: pulumi.Input<inputs.ContainerEngine.ClusterOptions>;
|
|
239
|
+
/**
|
|
240
|
+
* (Updatable) Type of cluster
|
|
241
|
+
*/
|
|
242
|
+
type?: pulumi.Input<string>;
|
|
231
243
|
/**
|
|
232
244
|
* The OCID of the virtual cloud network (VCN) in which to create the cluster.
|
|
233
245
|
*/
|
|
@@ -61,6 +61,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
61
61
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
62
62
|
resourceInputs["options"] = state ? state.options : undefined;
|
|
63
63
|
resourceInputs["state"] = state ? state.state : undefined;
|
|
64
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
64
65
|
resourceInputs["vcnId"] = state ? state.vcnId : undefined;
|
|
65
66
|
}
|
|
66
67
|
else {
|
|
@@ -84,6 +85,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
84
85
|
resourceInputs["kubernetesVersion"] = args ? args.kubernetesVersion : undefined;
|
|
85
86
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
86
87
|
resourceInputs["options"] = args ? args.options : undefined;
|
|
88
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
87
89
|
resourceInputs["vcnId"] = args ? args.vcnId : undefined;
|
|
88
90
|
resourceInputs["availableKubernetesUpgrades"] = undefined /*out*/;
|
|
89
91
|
resourceInputs["endpoints"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../containerengine/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":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I,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA9JL,0BA+JC;AAjJG,gBAAgB;AACO,oBAAY,GAAG,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides details about a specific Addon resource in Oracle Cloud Infrastructure Container Engine service.
|
|
5
|
+
*
|
|
6
|
+
* Get the specified addon for a cluster.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as oci from "@pulumi/oci";
|
|
13
|
+
*
|
|
14
|
+
* const testAddon = oci.ContainerEngine.getAddon({
|
|
15
|
+
* addonName: oci_containerengine_addon.test_addon.name,
|
|
16
|
+
* clusterId: oci_containerengine_cluster.test_cluster.id,
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function getAddon(args: GetAddonArgs, opts?: pulumi.InvokeOptions): Promise<GetAddonResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getAddon.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetAddonArgs {
|
|
25
|
+
/**
|
|
26
|
+
* The name of the addon.
|
|
27
|
+
*/
|
|
28
|
+
addonName: string;
|
|
29
|
+
/**
|
|
30
|
+
* The OCID of the cluster.
|
|
31
|
+
*/
|
|
32
|
+
clusterId: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A collection of values returned by getAddon.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetAddonResult {
|
|
38
|
+
/**
|
|
39
|
+
* The error info of the addon.
|
|
40
|
+
*/
|
|
41
|
+
readonly addonErrors: outputs.ContainerEngine.GetAddonAddonError[];
|
|
42
|
+
/**
|
|
43
|
+
* The name of the addon.
|
|
44
|
+
*/
|
|
45
|
+
readonly addonName: string;
|
|
46
|
+
readonly clusterId: string;
|
|
47
|
+
/**
|
|
48
|
+
* Addon configuration details.
|
|
49
|
+
*/
|
|
50
|
+
readonly configurations: outputs.ContainerEngine.GetAddonConfiguration[];
|
|
51
|
+
/**
|
|
52
|
+
* current installed version of the addon
|
|
53
|
+
*/
|
|
54
|
+
readonly currentInstalledVersion: string;
|
|
55
|
+
readonly id: string;
|
|
56
|
+
readonly removeAddonResourcesOnDelete: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* The state of the addon.
|
|
59
|
+
*/
|
|
60
|
+
readonly state: string;
|
|
61
|
+
/**
|
|
62
|
+
* The time the cluster was created.
|
|
63
|
+
*/
|
|
64
|
+
readonly timeCreated: string;
|
|
65
|
+
/**
|
|
66
|
+
* selected addon version, or null indicates autoUpdate
|
|
67
|
+
*/
|
|
68
|
+
readonly version: string;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* This data source provides details about a specific Addon resource in Oracle Cloud Infrastructure Container Engine service.
|
|
72
|
+
*
|
|
73
|
+
* Get the specified addon for a cluster.
|
|
74
|
+
*
|
|
75
|
+
* ## Example Usage
|
|
76
|
+
*
|
|
77
|
+
* ```typescript
|
|
78
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
79
|
+
* import * as oci from "@pulumi/oci";
|
|
80
|
+
*
|
|
81
|
+
* const testAddon = oci.ContainerEngine.getAddon({
|
|
82
|
+
* addonName: oci_containerengine_addon.test_addon.name,
|
|
83
|
+
* clusterId: oci_containerengine_cluster.test_cluster.id,
|
|
84
|
+
* });
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
export declare function getAddonOutput(args: GetAddonOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAddonResult>;
|
|
88
|
+
/**
|
|
89
|
+
* A collection of arguments for invoking getAddon.
|
|
90
|
+
*/
|
|
91
|
+
export interface GetAddonOutputArgs {
|
|
92
|
+
/**
|
|
93
|
+
* The name of the addon.
|
|
94
|
+
*/
|
|
95
|
+
addonName: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The OCID of the cluster.
|
|
98
|
+
*/
|
|
99
|
+
clusterId: pulumi.Input<string>;
|
|
100
|
+
}
|
|
@@ -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.getAddonOutput = exports.getAddon = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides details about a specific Addon resource in Oracle Cloud Infrastructure Container Engine service.
|
|
10
|
+
*
|
|
11
|
+
* Get the specified addon for a 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 testAddon = oci.ContainerEngine.getAddon({
|
|
20
|
+
* addonName: oci_containerengine_addon.test_addon.name,
|
|
21
|
+
* clusterId: oci_containerengine_cluster.test_cluster.id,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
function getAddon(args, opts) {
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
27
|
+
return pulumi.runtime.invoke("oci:ContainerEngine/getAddon:getAddon", {
|
|
28
|
+
"addonName": args.addonName,
|
|
29
|
+
"clusterId": args.clusterId,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.getAddon = getAddon;
|
|
33
|
+
/**
|
|
34
|
+
* This data source provides details about a specific Addon resource in Oracle Cloud Infrastructure Container Engine service.
|
|
35
|
+
*
|
|
36
|
+
* Get the specified addon for a cluster.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as oci from "@pulumi/oci";
|
|
43
|
+
*
|
|
44
|
+
* const testAddon = oci.ContainerEngine.getAddon({
|
|
45
|
+
* addonName: oci_containerengine_addon.test_addon.name,
|
|
46
|
+
* clusterId: oci_containerengine_cluster.test_cluster.id,
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
function getAddonOutput(args, opts) {
|
|
51
|
+
return pulumi.output(args).apply((a) => getAddon(a, opts));
|
|
52
|
+
}
|
|
53
|
+
exports.getAddonOutput = getAddonOutput;
|
|
54
|
+
//# sourceMappingURL=getAddon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAddon.js","sourceRoot":"","sources":["../../containerengine/getAddon.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE;QAClE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4BAOC;AAoDD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
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 Addon Options in Oracle Cloud Infrastructure Container Engine service.
|
|
6
|
+
*
|
|
7
|
+
* Get list of supported addons for a specific kubernetes version.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as oci from "@pulumi/oci";
|
|
14
|
+
*
|
|
15
|
+
* const testAddonOptions = oci.ContainerEngine.getAddonOptions({
|
|
16
|
+
* kubernetesVersion: _var.addon_option_kubernetes_version,
|
|
17
|
+
* addonName: oci_containerengine_addon.test_addon.name,
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare function getAddonOptions(args: GetAddonOptionsArgs, opts?: pulumi.InvokeOptions): Promise<GetAddonOptionsResult>;
|
|
22
|
+
/**
|
|
23
|
+
* A collection of arguments for invoking getAddonOptions.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetAddonOptionsArgs {
|
|
26
|
+
/**
|
|
27
|
+
* The name of the addon.
|
|
28
|
+
*/
|
|
29
|
+
addonName?: string;
|
|
30
|
+
filters?: inputs.ContainerEngine.GetAddonOptionsFilter[];
|
|
31
|
+
/**
|
|
32
|
+
* The kubernetes version to fetch the addons.
|
|
33
|
+
*/
|
|
34
|
+
kubernetesVersion: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A collection of values returned by getAddonOptions.
|
|
38
|
+
*/
|
|
39
|
+
export interface GetAddonOptionsResult {
|
|
40
|
+
readonly addonName?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The list of addon_options.
|
|
43
|
+
*/
|
|
44
|
+
readonly addonOptions: outputs.ContainerEngine.GetAddonOptionsAddonOption[];
|
|
45
|
+
readonly filters?: outputs.ContainerEngine.GetAddonOptionsFilter[];
|
|
46
|
+
/**
|
|
47
|
+
* The provider-assigned unique ID for this managed resource.
|
|
48
|
+
*/
|
|
49
|
+
readonly id: string;
|
|
50
|
+
readonly kubernetesVersion: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* This data source provides the list of Addon Options in Oracle Cloud Infrastructure Container Engine service.
|
|
54
|
+
*
|
|
55
|
+
* Get list of supported addons for a specific kubernetes version.
|
|
56
|
+
*
|
|
57
|
+
* ## Example Usage
|
|
58
|
+
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as oci from "@pulumi/oci";
|
|
62
|
+
*
|
|
63
|
+
* const testAddonOptions = oci.ContainerEngine.getAddonOptions({
|
|
64
|
+
* kubernetesVersion: _var.addon_option_kubernetes_version,
|
|
65
|
+
* addonName: oci_containerengine_addon.test_addon.name,
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
export declare function getAddonOptionsOutput(args: GetAddonOptionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAddonOptionsResult>;
|
|
70
|
+
/**
|
|
71
|
+
* A collection of arguments for invoking getAddonOptions.
|
|
72
|
+
*/
|
|
73
|
+
export interface GetAddonOptionsOutputArgs {
|
|
74
|
+
/**
|
|
75
|
+
* The name of the addon.
|
|
76
|
+
*/
|
|
77
|
+
addonName?: pulumi.Input<string>;
|
|
78
|
+
filters?: pulumi.Input<pulumi.Input<inputs.ContainerEngine.GetAddonOptionsFilterArgs>[]>;
|
|
79
|
+
/**
|
|
80
|
+
* The kubernetes version to fetch the addons.
|
|
81
|
+
*/
|
|
82
|
+
kubernetesVersion: pulumi.Input<string>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.getAddonOptionsOutput = exports.getAddonOptions = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides the list of Addon Options in Oracle Cloud Infrastructure Container Engine service.
|
|
10
|
+
*
|
|
11
|
+
* Get list of supported addons for a specific kubernetes version.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testAddonOptions = oci.ContainerEngine.getAddonOptions({
|
|
20
|
+
* kubernetesVersion: _var.addon_option_kubernetes_version,
|
|
21
|
+
* addonName: oci_containerengine_addon.test_addon.name,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
function getAddonOptions(args, opts) {
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
27
|
+
return pulumi.runtime.invoke("oci:ContainerEngine/getAddonOptions:getAddonOptions", {
|
|
28
|
+
"addonName": args.addonName,
|
|
29
|
+
"filters": args.filters,
|
|
30
|
+
"kubernetesVersion": args.kubernetesVersion,
|
|
31
|
+
}, opts);
|
|
32
|
+
}
|
|
33
|
+
exports.getAddonOptions = getAddonOptions;
|
|
34
|
+
/**
|
|
35
|
+
* This data source provides the list of Addon Options in Oracle Cloud Infrastructure Container Engine service.
|
|
36
|
+
*
|
|
37
|
+
* Get list of supported addons for a specific kubernetes version.
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as oci from "@pulumi/oci";
|
|
44
|
+
*
|
|
45
|
+
* const testAddonOptions = oci.ContainerEngine.getAddonOptions({
|
|
46
|
+
* kubernetesVersion: _var.addon_option_kubernetes_version,
|
|
47
|
+
* addonName: oci_containerengine_addon.test_addon.name,
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
function getAddonOptionsOutput(args, opts) {
|
|
52
|
+
return pulumi.output(args).apply((a) => getAddonOptions(a, opts));
|
|
53
|
+
}
|
|
54
|
+
exports.getAddonOptionsOutput = getAddonOptionsOutput;
|
|
55
|
+
//# sourceMappingURL=getAddonOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAddonOptions.js","sourceRoot":"","sources":["../../containerengine/getAddonOptions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AAiCD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|