@pulumi/oci 1.19.0 → 1.20.0-alpha.1706213871
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/generativeai/dedicatedAiCluster.d.ts +275 -0
- package/generativeai/dedicatedAiCluster.js +122 -0
- package/generativeai/dedicatedAiCluster.js.map +1 -0
- package/generativeai/endpoint.d.ts +241 -0
- package/generativeai/endpoint.js +121 -0
- package/generativeai/endpoint.js.map +1 -0
- package/generativeai/getDedicatedAiCluster.d.ts +126 -0
- package/generativeai/getDedicatedAiCluster.js +51 -0
- package/generativeai/getDedicatedAiCluster.js.map +1 -0
- package/generativeai/getDedicatedAiClusters.d.ts +113 -0
- package/generativeai/getDedicatedAiClusters.js +61 -0
- package/generativeai/getDedicatedAiClusters.js.map +1 -0
- package/generativeai/getEndpoint.d.ts +122 -0
- package/generativeai/getEndpoint.js +51 -0
- package/generativeai/getEndpoint.js.map +1 -0
- package/generativeai/getEndpoints.d.ts +113 -0
- package/generativeai/getEndpoints.js +61 -0
- package/generativeai/getEndpoints.js.map +1 -0
- package/generativeai/getModel.d.ts +146 -0
- package/generativeai/getModel.js +51 -0
- package/generativeai/getModel.js.map +1 -0
- package/generativeai/getModels.d.ts +138 -0
- package/generativeai/getModels.js +67 -0
- package/generativeai/getModels.js.map +1 -0
- package/generativeai/index.d.ts +27 -0
- package/generativeai/index.js +50 -0
- package/generativeai/index.js.map +1 -0
- package/generativeai/model.d.ts +269 -0
- package/generativeai/model.js +109 -0
- package/generativeai/model.js.map +1 -0
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/marketplace/getPublication.d.ts +6 -0
- package/marketplace/getPublication.js.map +1 -1
- package/marketplace/publication.d.ts +12 -0
- package/marketplace/publication.js +2 -0
- package/marketplace/publication.js.map +1 -1
- package/package.json +1 -1
- package/stackmonitoring/getProcessSet.d.ts +110 -0
- package/stackmonitoring/getProcessSet.js +51 -0
- package/stackmonitoring/getProcessSet.js.map +1 -0
- package/stackmonitoring/getProcessSets.d.ts +89 -0
- package/stackmonitoring/getProcessSets.js +55 -0
- package/stackmonitoring/getProcessSets.js.map +1 -0
- package/stackmonitoring/index.d.ts +9 -0
- package/stackmonitoring/index.js +12 -1
- package/stackmonitoring/index.js.map +1 -1
- package/stackmonitoring/processSet.d.ts +193 -0
- package/stackmonitoring/processSet.js +115 -0
- package/stackmonitoring/processSet.js.map +1 -0
- package/types/input.d.ts +174 -0
- package/types/output.d.ts +695 -0
|
@@ -0,0 +1,275 @@
|
|
|
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 Dedicated Ai Cluster resource in Oracle Cloud Infrastructure Generative Ai service.
|
|
6
|
+
*
|
|
7
|
+
* Creates a dedicated AI 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 testDedicatedAiCluster = new oci.generativeai.DedicatedAiCluster("testDedicatedAiCluster", {
|
|
16
|
+
* compartmentId: _var.compartment_id,
|
|
17
|
+
* type: _var.dedicated_ai_cluster_type,
|
|
18
|
+
* unitCount: _var.dedicated_ai_cluster_unit_count,
|
|
19
|
+
* unitShape: _var.dedicated_ai_cluster_unit_shape,
|
|
20
|
+
* definedTags: {
|
|
21
|
+
* "Operations.CostCenter": "42",
|
|
22
|
+
* },
|
|
23
|
+
* description: _var.dedicated_ai_cluster_description,
|
|
24
|
+
* displayName: _var.dedicated_ai_cluster_display_name,
|
|
25
|
+
* freeformTags: {
|
|
26
|
+
* Department: "Finance",
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* DedicatedAiClusters can be imported using the `id`, e.g.
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import oci:GenerativeAi/dedicatedAiCluster:DedicatedAiCluster test_dedicated_ai_cluster "id"
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export declare class DedicatedAiCluster extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing DedicatedAiCluster resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param state Any extra arguments used during the lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DedicatedAiClusterState, opts?: pulumi.CustomResourceOptions): DedicatedAiCluster;
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of DedicatedAiCluster. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj: any): obj is DedicatedAiCluster;
|
|
55
|
+
/**
|
|
56
|
+
* The total capacity for a dedicated AI cluster.
|
|
57
|
+
*/
|
|
58
|
+
readonly capacities: pulumi.Output<outputs.GenerativeAi.DedicatedAiClusterCapacity[]>;
|
|
59
|
+
/**
|
|
60
|
+
* (Updatable) The compartment OCID to create the dedicated AI cluster in.
|
|
61
|
+
*/
|
|
62
|
+
readonly compartmentId: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* (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). Example: `{"Operations.CostCenter": "42"}`
|
|
65
|
+
*/
|
|
66
|
+
readonly definedTags: pulumi.Output<{
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
}>;
|
|
69
|
+
/**
|
|
70
|
+
* (Updatable) An optional description of the dedicated AI cluster.
|
|
71
|
+
*/
|
|
72
|
+
readonly description: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
|
|
75
|
+
*/
|
|
76
|
+
readonly displayName: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* (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"}`
|
|
79
|
+
*/
|
|
80
|
+
readonly freeformTags: pulumi.Output<{
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
}>;
|
|
83
|
+
/**
|
|
84
|
+
* A message describing the current state with detail that can provide actionable information.
|
|
85
|
+
*/
|
|
86
|
+
readonly lifecycleDetails: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The current state of the dedicated AI cluster.
|
|
89
|
+
*/
|
|
90
|
+
readonly state: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
93
|
+
*/
|
|
94
|
+
readonly systemTags: pulumi.Output<{
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
}>;
|
|
97
|
+
/**
|
|
98
|
+
* The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
|
|
99
|
+
*/
|
|
100
|
+
readonly timeCreated: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
|
|
103
|
+
*/
|
|
104
|
+
readonly timeUpdated: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
|
|
107
|
+
*
|
|
108
|
+
* Allowed values are:
|
|
109
|
+
* * HOSTING
|
|
110
|
+
* * FINE_TUNING
|
|
111
|
+
*/
|
|
112
|
+
readonly type: pulumi.Output<string>;
|
|
113
|
+
/**
|
|
114
|
+
* (Updatable) The number of dedicated units in this AI cluster.
|
|
115
|
+
*/
|
|
116
|
+
readonly unitCount: pulumi.Output<number>;
|
|
117
|
+
/**
|
|
118
|
+
* The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
|
|
119
|
+
*
|
|
120
|
+
* Allowed values are:
|
|
121
|
+
* * LARGE_COHERE
|
|
122
|
+
* * SMALL_COHERE
|
|
123
|
+
* * EMBED_COHERE
|
|
124
|
+
* * LLAMA2_70
|
|
125
|
+
*
|
|
126
|
+
*
|
|
127
|
+
* ** IMPORTANT **
|
|
128
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
129
|
+
*/
|
|
130
|
+
readonly unitShape: pulumi.Output<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Create a DedicatedAiCluster resource with the given unique name, arguments, and options.
|
|
133
|
+
*
|
|
134
|
+
* @param name The _unique_ name of the resource.
|
|
135
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
136
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
137
|
+
*/
|
|
138
|
+
constructor(name: string, args: DedicatedAiClusterArgs, opts?: pulumi.CustomResourceOptions);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Input properties used for looking up and filtering DedicatedAiCluster resources.
|
|
142
|
+
*/
|
|
143
|
+
export interface DedicatedAiClusterState {
|
|
144
|
+
/**
|
|
145
|
+
* The total capacity for a dedicated AI cluster.
|
|
146
|
+
*/
|
|
147
|
+
capacities?: pulumi.Input<pulumi.Input<inputs.GenerativeAi.DedicatedAiClusterCapacity>[]>;
|
|
148
|
+
/**
|
|
149
|
+
* (Updatable) The compartment OCID to create the dedicated AI cluster in.
|
|
150
|
+
*/
|
|
151
|
+
compartmentId?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* (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). Example: `{"Operations.CostCenter": "42"}`
|
|
154
|
+
*/
|
|
155
|
+
definedTags?: pulumi.Input<{
|
|
156
|
+
[key: string]: any;
|
|
157
|
+
}>;
|
|
158
|
+
/**
|
|
159
|
+
* (Updatable) An optional description of the dedicated AI cluster.
|
|
160
|
+
*/
|
|
161
|
+
description?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
|
|
164
|
+
*/
|
|
165
|
+
displayName?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* (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"}`
|
|
168
|
+
*/
|
|
169
|
+
freeformTags?: pulumi.Input<{
|
|
170
|
+
[key: string]: any;
|
|
171
|
+
}>;
|
|
172
|
+
/**
|
|
173
|
+
* A message describing the current state with detail that can provide actionable information.
|
|
174
|
+
*/
|
|
175
|
+
lifecycleDetails?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* The current state of the dedicated AI cluster.
|
|
178
|
+
*/
|
|
179
|
+
state?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
182
|
+
*/
|
|
183
|
+
systemTags?: pulumi.Input<{
|
|
184
|
+
[key: string]: any;
|
|
185
|
+
}>;
|
|
186
|
+
/**
|
|
187
|
+
* The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
|
|
188
|
+
*/
|
|
189
|
+
timeCreated?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
|
|
192
|
+
*/
|
|
193
|
+
timeUpdated?: pulumi.Input<string>;
|
|
194
|
+
/**
|
|
195
|
+
* The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
|
|
196
|
+
*
|
|
197
|
+
* Allowed values are:
|
|
198
|
+
* * HOSTING
|
|
199
|
+
* * FINE_TUNING
|
|
200
|
+
*/
|
|
201
|
+
type?: pulumi.Input<string>;
|
|
202
|
+
/**
|
|
203
|
+
* (Updatable) The number of dedicated units in this AI cluster.
|
|
204
|
+
*/
|
|
205
|
+
unitCount?: pulumi.Input<number>;
|
|
206
|
+
/**
|
|
207
|
+
* The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
|
|
208
|
+
*
|
|
209
|
+
* Allowed values are:
|
|
210
|
+
* * LARGE_COHERE
|
|
211
|
+
* * SMALL_COHERE
|
|
212
|
+
* * EMBED_COHERE
|
|
213
|
+
* * LLAMA2_70
|
|
214
|
+
*
|
|
215
|
+
*
|
|
216
|
+
* ** IMPORTANT **
|
|
217
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
218
|
+
*/
|
|
219
|
+
unitShape?: pulumi.Input<string>;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* The set of arguments for constructing a DedicatedAiCluster resource.
|
|
223
|
+
*/
|
|
224
|
+
export interface DedicatedAiClusterArgs {
|
|
225
|
+
/**
|
|
226
|
+
* (Updatable) The compartment OCID to create the dedicated AI cluster in.
|
|
227
|
+
*/
|
|
228
|
+
compartmentId: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* (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). Example: `{"Operations.CostCenter": "42"}`
|
|
231
|
+
*/
|
|
232
|
+
definedTags?: pulumi.Input<{
|
|
233
|
+
[key: string]: any;
|
|
234
|
+
}>;
|
|
235
|
+
/**
|
|
236
|
+
* (Updatable) An optional description of the dedicated AI cluster.
|
|
237
|
+
*/
|
|
238
|
+
description?: pulumi.Input<string>;
|
|
239
|
+
/**
|
|
240
|
+
* (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
|
|
241
|
+
*/
|
|
242
|
+
displayName?: pulumi.Input<string>;
|
|
243
|
+
/**
|
|
244
|
+
* (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"}`
|
|
245
|
+
*/
|
|
246
|
+
freeformTags?: pulumi.Input<{
|
|
247
|
+
[key: string]: any;
|
|
248
|
+
}>;
|
|
249
|
+
/**
|
|
250
|
+
* The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
|
|
251
|
+
*
|
|
252
|
+
* Allowed values are:
|
|
253
|
+
* * HOSTING
|
|
254
|
+
* * FINE_TUNING
|
|
255
|
+
*/
|
|
256
|
+
type: pulumi.Input<string>;
|
|
257
|
+
/**
|
|
258
|
+
* (Updatable) The number of dedicated units in this AI cluster.
|
|
259
|
+
*/
|
|
260
|
+
unitCount: pulumi.Input<number>;
|
|
261
|
+
/**
|
|
262
|
+
* The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
|
|
263
|
+
*
|
|
264
|
+
* Allowed values are:
|
|
265
|
+
* * LARGE_COHERE
|
|
266
|
+
* * SMALL_COHERE
|
|
267
|
+
* * EMBED_COHERE
|
|
268
|
+
* * LLAMA2_70
|
|
269
|
+
*
|
|
270
|
+
*
|
|
271
|
+
* ** IMPORTANT **
|
|
272
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
273
|
+
*/
|
|
274
|
+
unitShape: pulumi.Input<string>;
|
|
275
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
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.DedicatedAiCluster = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Dedicated Ai Cluster resource in Oracle Cloud Infrastructure Generative Ai service.
|
|
10
|
+
*
|
|
11
|
+
* Creates a dedicated AI 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 testDedicatedAiCluster = new oci.generativeai.DedicatedAiCluster("testDedicatedAiCluster", {
|
|
20
|
+
* compartmentId: _var.compartment_id,
|
|
21
|
+
* type: _var.dedicated_ai_cluster_type,
|
|
22
|
+
* unitCount: _var.dedicated_ai_cluster_unit_count,
|
|
23
|
+
* unitShape: _var.dedicated_ai_cluster_unit_shape,
|
|
24
|
+
* definedTags: {
|
|
25
|
+
* "Operations.CostCenter": "42",
|
|
26
|
+
* },
|
|
27
|
+
* description: _var.dedicated_ai_cluster_description,
|
|
28
|
+
* displayName: _var.dedicated_ai_cluster_display_name,
|
|
29
|
+
* freeformTags: {
|
|
30
|
+
* Department: "Finance",
|
|
31
|
+
* },
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* DedicatedAiClusters can be imported using the `id`, e.g.
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import oci:GenerativeAi/dedicatedAiCluster:DedicatedAiCluster test_dedicated_ai_cluster "id"
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
class DedicatedAiCluster extends pulumi.CustomResource {
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing DedicatedAiCluster resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, state, opts) {
|
|
54
|
+
return new DedicatedAiCluster(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of DedicatedAiCluster. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj) {
|
|
61
|
+
if (obj === undefined || obj === null) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
return obj['__pulumiType'] === DedicatedAiCluster.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
constructor(name, argsOrState, opts) {
|
|
67
|
+
let resourceInputs = {};
|
|
68
|
+
opts = opts || {};
|
|
69
|
+
if (opts.id) {
|
|
70
|
+
const state = argsOrState;
|
|
71
|
+
resourceInputs["capacities"] = state ? state.capacities : undefined;
|
|
72
|
+
resourceInputs["compartmentId"] = state ? state.compartmentId : undefined;
|
|
73
|
+
resourceInputs["definedTags"] = state ? state.definedTags : undefined;
|
|
74
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
75
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
76
|
+
resourceInputs["freeformTags"] = state ? state.freeformTags : undefined;
|
|
77
|
+
resourceInputs["lifecycleDetails"] = state ? state.lifecycleDetails : undefined;
|
|
78
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
79
|
+
resourceInputs["systemTags"] = state ? state.systemTags : undefined;
|
|
80
|
+
resourceInputs["timeCreated"] = state ? state.timeCreated : undefined;
|
|
81
|
+
resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined;
|
|
82
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
83
|
+
resourceInputs["unitCount"] = state ? state.unitCount : undefined;
|
|
84
|
+
resourceInputs["unitShape"] = state ? state.unitShape : undefined;
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
const args = argsOrState;
|
|
88
|
+
if ((!args || args.compartmentId === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'compartmentId'");
|
|
90
|
+
}
|
|
91
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
92
|
+
throw new Error("Missing required property 'type'");
|
|
93
|
+
}
|
|
94
|
+
if ((!args || args.unitCount === undefined) && !opts.urn) {
|
|
95
|
+
throw new Error("Missing required property 'unitCount'");
|
|
96
|
+
}
|
|
97
|
+
if ((!args || args.unitShape === undefined) && !opts.urn) {
|
|
98
|
+
throw new Error("Missing required property 'unitShape'");
|
|
99
|
+
}
|
|
100
|
+
resourceInputs["compartmentId"] = args ? args.compartmentId : undefined;
|
|
101
|
+
resourceInputs["definedTags"] = args ? args.definedTags : undefined;
|
|
102
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
103
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
104
|
+
resourceInputs["freeformTags"] = args ? args.freeformTags : undefined;
|
|
105
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
106
|
+
resourceInputs["unitCount"] = args ? args.unitCount : undefined;
|
|
107
|
+
resourceInputs["unitShape"] = args ? args.unitShape : undefined;
|
|
108
|
+
resourceInputs["capacities"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["lifecycleDetails"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["systemTags"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["timeCreated"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["timeUpdated"] = undefined /*out*/;
|
|
114
|
+
}
|
|
115
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
116
|
+
super(DedicatedAiCluster.__pulumiType, name, resourceInputs, opts);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.DedicatedAiCluster = DedicatedAiCluster;
|
|
120
|
+
/** @internal */
|
|
121
|
+
DedicatedAiCluster.__pulumiType = 'oci:GenerativeAi/dedicatedAiCluster:DedicatedAiCluster';
|
|
122
|
+
//# sourceMappingURL=dedicatedAiCluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dedicatedAiCluster.js","sourceRoot":"","sources":["../../generativeai/dedicatedAiCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAiFD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CA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AC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA7JL,gDA8JC;AAhJG,gBAAgB;AACO,+BAAY,GAAG,wDAAwD,CAAC"}
|
|
@@ -0,0 +1,241 @@
|
|
|
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 Endpoint resource in Oracle Cloud Infrastructure Generative Ai service.
|
|
6
|
+
*
|
|
7
|
+
* Creates an endpoint.
|
|
8
|
+
*
|
|
9
|
+
* The header contains an opc-work-request-id, which is the id for the WorkRequest that tracks the endpoint creation progress.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as oci from "@pulumi/oci";
|
|
16
|
+
*
|
|
17
|
+
* const testEndpoint = new oci.generativeai.Endpoint("testEndpoint", {
|
|
18
|
+
* compartmentId: _var.compartment_id,
|
|
19
|
+
* dedicatedAiClusterId: oci_generative_ai_dedicated_ai_cluster.test_dedicated_ai_cluster.id,
|
|
20
|
+
* modelId: oci_generative_ai_model.test_model.id,
|
|
21
|
+
* contentModerationConfig: {
|
|
22
|
+
* isEnabled: _var.endpoint_content_moderation_config_is_enabled,
|
|
23
|
+
* },
|
|
24
|
+
* definedTags: {
|
|
25
|
+
* "Operations.CostCenter": "42",
|
|
26
|
+
* },
|
|
27
|
+
* description: _var.endpoint_description,
|
|
28
|
+
* displayName: _var.endpoint_display_name,
|
|
29
|
+
* freeformTags: {
|
|
30
|
+
* Department: "Finance",
|
|
31
|
+
* },
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* Endpoints can be imported using the `id`, e.g.
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import oci:GenerativeAi/endpoint:Endpoint test_endpoint "id"
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare class Endpoint extends pulumi.CustomResource {
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing Endpoint resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EndpointState, opts?: pulumi.CustomResourceOptions): Endpoint;
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of Endpoint. 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: any): obj is Endpoint;
|
|
59
|
+
/**
|
|
60
|
+
* (Updatable) The compartment OCID to create the endpoint in.
|
|
61
|
+
*/
|
|
62
|
+
readonly compartmentId: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* (Updatable) The configuration details, whether to add the content moderation feature to the model. Content moderation removes toxic and biased content from responses. It's recommended to use content moderation.
|
|
65
|
+
*/
|
|
66
|
+
readonly contentModerationConfig: pulumi.Output<outputs.GenerativeAi.EndpointContentModerationConfig>;
|
|
67
|
+
/**
|
|
68
|
+
* The OCID of the dedicated AI cluster on which a model will be deployed to.
|
|
69
|
+
*/
|
|
70
|
+
readonly dedicatedAiClusterId: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* (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). Example: `{"Operations.CostCenter": "42"}`
|
|
73
|
+
*/
|
|
74
|
+
readonly definedTags: pulumi.Output<{
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
}>;
|
|
77
|
+
/**
|
|
78
|
+
* (Updatable) An optional description of the endpoint.
|
|
79
|
+
*/
|
|
80
|
+
readonly description: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
|
|
83
|
+
*/
|
|
84
|
+
readonly displayName: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* (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"}`
|
|
87
|
+
*/
|
|
88
|
+
readonly freeformTags: pulumi.Output<{
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
}>;
|
|
91
|
+
/**
|
|
92
|
+
* A message describing the current state of the endpoint in more detail that can provide actionable information.
|
|
93
|
+
*/
|
|
94
|
+
readonly lifecycleDetails: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The ID of the model that's used to create this endpoint.
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
* ** IMPORTANT **
|
|
100
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
101
|
+
*/
|
|
102
|
+
readonly modelId: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The current state of the endpoint.
|
|
105
|
+
*/
|
|
106
|
+
readonly state: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
109
|
+
*/
|
|
110
|
+
readonly systemTags: pulumi.Output<{
|
|
111
|
+
[key: string]: any;
|
|
112
|
+
}>;
|
|
113
|
+
/**
|
|
114
|
+
* The date and time that the endpoint was created in the format of an RFC3339 datetime string.
|
|
115
|
+
*/
|
|
116
|
+
readonly timeCreated: pulumi.Output<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The date and time that the endpoint was updated in the format of an RFC3339 datetime string.
|
|
119
|
+
*/
|
|
120
|
+
readonly timeUpdated: pulumi.Output<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Create a Endpoint resource with the given unique name, arguments, and options.
|
|
123
|
+
*
|
|
124
|
+
* @param name The _unique_ name of the resource.
|
|
125
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
126
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
127
|
+
*/
|
|
128
|
+
constructor(name: string, args: EndpointArgs, opts?: pulumi.CustomResourceOptions);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Input properties used for looking up and filtering Endpoint resources.
|
|
132
|
+
*/
|
|
133
|
+
export interface EndpointState {
|
|
134
|
+
/**
|
|
135
|
+
* (Updatable) The compartment OCID to create the endpoint in.
|
|
136
|
+
*/
|
|
137
|
+
compartmentId?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* (Updatable) The configuration details, whether to add the content moderation feature to the model. Content moderation removes toxic and biased content from responses. It's recommended to use content moderation.
|
|
140
|
+
*/
|
|
141
|
+
contentModerationConfig?: pulumi.Input<inputs.GenerativeAi.EndpointContentModerationConfig>;
|
|
142
|
+
/**
|
|
143
|
+
* The OCID of the dedicated AI cluster on which a model will be deployed to.
|
|
144
|
+
*/
|
|
145
|
+
dedicatedAiClusterId?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* (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). Example: `{"Operations.CostCenter": "42"}`
|
|
148
|
+
*/
|
|
149
|
+
definedTags?: pulumi.Input<{
|
|
150
|
+
[key: string]: any;
|
|
151
|
+
}>;
|
|
152
|
+
/**
|
|
153
|
+
* (Updatable) An optional description of the endpoint.
|
|
154
|
+
*/
|
|
155
|
+
description?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
|
|
158
|
+
*/
|
|
159
|
+
displayName?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* (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"}`
|
|
162
|
+
*/
|
|
163
|
+
freeformTags?: pulumi.Input<{
|
|
164
|
+
[key: string]: any;
|
|
165
|
+
}>;
|
|
166
|
+
/**
|
|
167
|
+
* A message describing the current state of the endpoint in more detail that can provide actionable information.
|
|
168
|
+
*/
|
|
169
|
+
lifecycleDetails?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* The ID of the model that's used to create this endpoint.
|
|
172
|
+
*
|
|
173
|
+
*
|
|
174
|
+
* ** IMPORTANT **
|
|
175
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
176
|
+
*/
|
|
177
|
+
modelId?: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* The current state of the endpoint.
|
|
180
|
+
*/
|
|
181
|
+
state?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
184
|
+
*/
|
|
185
|
+
systemTags?: pulumi.Input<{
|
|
186
|
+
[key: string]: any;
|
|
187
|
+
}>;
|
|
188
|
+
/**
|
|
189
|
+
* The date and time that the endpoint was created in the format of an RFC3339 datetime string.
|
|
190
|
+
*/
|
|
191
|
+
timeCreated?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* The date and time that the endpoint was updated in the format of an RFC3339 datetime string.
|
|
194
|
+
*/
|
|
195
|
+
timeUpdated?: pulumi.Input<string>;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* The set of arguments for constructing a Endpoint resource.
|
|
199
|
+
*/
|
|
200
|
+
export interface EndpointArgs {
|
|
201
|
+
/**
|
|
202
|
+
* (Updatable) The compartment OCID to create the endpoint in.
|
|
203
|
+
*/
|
|
204
|
+
compartmentId: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* (Updatable) The configuration details, whether to add the content moderation feature to the model. Content moderation removes toxic and biased content from responses. It's recommended to use content moderation.
|
|
207
|
+
*/
|
|
208
|
+
contentModerationConfig?: pulumi.Input<inputs.GenerativeAi.EndpointContentModerationConfig>;
|
|
209
|
+
/**
|
|
210
|
+
* The OCID of the dedicated AI cluster on which a model will be deployed to.
|
|
211
|
+
*/
|
|
212
|
+
dedicatedAiClusterId: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* (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). Example: `{"Operations.CostCenter": "42"}`
|
|
215
|
+
*/
|
|
216
|
+
definedTags?: pulumi.Input<{
|
|
217
|
+
[key: string]: any;
|
|
218
|
+
}>;
|
|
219
|
+
/**
|
|
220
|
+
* (Updatable) An optional description of the endpoint.
|
|
221
|
+
*/
|
|
222
|
+
description?: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
|
|
225
|
+
*/
|
|
226
|
+
displayName?: pulumi.Input<string>;
|
|
227
|
+
/**
|
|
228
|
+
* (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"}`
|
|
229
|
+
*/
|
|
230
|
+
freeformTags?: pulumi.Input<{
|
|
231
|
+
[key: string]: any;
|
|
232
|
+
}>;
|
|
233
|
+
/**
|
|
234
|
+
* The ID of the model that's used to create this endpoint.
|
|
235
|
+
*
|
|
236
|
+
*
|
|
237
|
+
* ** IMPORTANT **
|
|
238
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
239
|
+
*/
|
|
240
|
+
modelId: pulumi.Input<string>;
|
|
241
|
+
}
|