Skip to content

Commit 3ea58ec

Browse files
Releasing version 2.105.0
Releasing version 2.105.0
2 parents ed8e65c + 78e2042 commit 3ea58ec

File tree

120 files changed

+8624
-32
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+8624
-32
lines changed

index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -232,3 +232,4 @@ export import generativeaiagentruntime = require("oci-generativeaiagentruntime")
232232
export import securityattribute = require("oci-securityattribute");
233233
export import zpr = require("oci-zpr");
234234
export import dblm = require("oci-dblm");
235+
export import mngdmac = require("oci-mngdmac");

lib/core/lib/client.ts

+935-15
Large diffs are not rendered by default.

lib/core/lib/compute-waiter.ts

+130
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,37 @@ export class ComputeWaiter {
213213
};
214214
}
215215

216+
/**
217+
* Waits forCreateComputeGpuMemoryCluster
218+
*
219+
* @param request the request to send
220+
* @return response returns CreateComputeGpuMemoryClusterResponse, GetWorkRequestResponse tuple
221+
*/
222+
public async forCreateComputeGpuMemoryCluster(
223+
request: serviceRequests.CreateComputeGpuMemoryClusterRequest
224+
): Promise<{
225+
response: serviceResponses.CreateComputeGpuMemoryClusterResponse;
226+
workRequestResponse: responses.GetWorkRequestResponse;
227+
}> {
228+
const createComputeGpuMemoryClusterResponse = await this.client.createComputeGpuMemoryCluster(
229+
request
230+
);
231+
if (createComputeGpuMemoryClusterResponse.opcWorkRequestId === undefined)
232+
return {
233+
response: createComputeGpuMemoryClusterResponse,
234+
workRequestResponse: undefined as any
235+
};
236+
const getWorkRequestResponse = await waitForWorkRequest(
237+
this.config,
238+
this.workRequestClient,
239+
createComputeGpuMemoryClusterResponse.opcWorkRequestId
240+
);
241+
return {
242+
response: createComputeGpuMemoryClusterResponse,
243+
workRequestResponse: getWorkRequestResponse
244+
};
245+
}
246+
216247
/**
217248
* Waits forCreateDedicatedVmHost
218249
*
@@ -321,6 +352,37 @@ export class ComputeWaiter {
321352
};
322353
}
323354

355+
/**
356+
* Waits forDeleteComputeGpuMemoryCluster
357+
*
358+
* @param request the request to send
359+
* @return response returns DeleteComputeGpuMemoryClusterResponse, GetWorkRequestResponse tuple
360+
*/
361+
public async forDeleteComputeGpuMemoryCluster(
362+
request: serviceRequests.DeleteComputeGpuMemoryClusterRequest
363+
): Promise<{
364+
response: serviceResponses.DeleteComputeGpuMemoryClusterResponse;
365+
workRequestResponse: responses.GetWorkRequestResponse;
366+
}> {
367+
const deleteComputeGpuMemoryClusterResponse = await this.client.deleteComputeGpuMemoryCluster(
368+
request
369+
);
370+
if (deleteComputeGpuMemoryClusterResponse.opcWorkRequestId === undefined)
371+
return {
372+
response: deleteComputeGpuMemoryClusterResponse,
373+
workRequestResponse: undefined as any
374+
};
375+
const getWorkRequestResponse = await waitForWorkRequest(
376+
this.config,
377+
this.workRequestClient,
378+
deleteComputeGpuMemoryClusterResponse.opcWorkRequestId
379+
);
380+
return {
381+
response: deleteComputeGpuMemoryClusterResponse,
382+
workRequestResponse: getWorkRequestResponse
383+
};
384+
}
385+
324386
/**
325387
* Waits forDeleteDedicatedVmHost
326388
*
@@ -442,6 +504,43 @@ export class ComputeWaiter {
442504
);
443505
}
444506

507+
/**
508+
* Waits forComputeGpuMemoryCluster till it reaches any of the provided states
509+
*
510+
* @param request the request to send
511+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
512+
* @return response returns GetComputeGpuMemoryClusterResponse | null (null in case of 404 response)
513+
*/
514+
public async forComputeGpuMemoryCluster(
515+
request: serviceRequests.GetComputeGpuMemoryClusterRequest,
516+
...targetStates: models.ComputeGpuMemoryCluster.LifecycleState[]
517+
): Promise<serviceResponses.GetComputeGpuMemoryClusterResponse | null> {
518+
return genericTerminalConditionWaiter(
519+
this.config,
520+
() => this.client.getComputeGpuMemoryCluster(request),
521+
response => targetStates.includes(response.computeGpuMemoryCluster.lifecycleState!),
522+
targetStates.includes(models.ComputeGpuMemoryCluster.LifecycleState.Deleted)
523+
);
524+
}
525+
526+
/**
527+
* Waits forComputeGpuMemoryFabric till it reaches any of the provided states
528+
*
529+
* @param request the request to send
530+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
531+
* @return response returns GetComputeGpuMemoryFabricResponse
532+
*/
533+
public async forComputeGpuMemoryFabric(
534+
request: serviceRequests.GetComputeGpuMemoryFabricRequest,
535+
...targetStates: models.ComputeGpuMemoryFabric.LifecycleState[]
536+
): Promise<serviceResponses.GetComputeGpuMemoryFabricResponse> {
537+
return genericWaiter(
538+
this.config,
539+
() => this.client.getComputeGpuMemoryFabric(request),
540+
response => targetStates.includes(response.computeGpuMemoryFabric.lifecycleState!)
541+
);
542+
}
543+
445544
/**
446545
* Waits forConsoleHistory till it reaches any of the provided states
447546
*
@@ -675,6 +774,37 @@ export class ComputeWaiter {
675774
};
676775
}
677776

777+
/**
778+
* Waits forUpdateComputeGpuMemoryCluster
779+
*
780+
* @param request the request to send
781+
* @return response returns UpdateComputeGpuMemoryClusterResponse, GetWorkRequestResponse tuple
782+
*/
783+
public async forUpdateComputeGpuMemoryCluster(
784+
request: serviceRequests.UpdateComputeGpuMemoryClusterRequest
785+
): Promise<{
786+
response: serviceResponses.UpdateComputeGpuMemoryClusterResponse;
787+
workRequestResponse: responses.GetWorkRequestResponse;
788+
}> {
789+
const updateComputeGpuMemoryClusterResponse = await this.client.updateComputeGpuMemoryCluster(
790+
request
791+
);
792+
if (updateComputeGpuMemoryClusterResponse.opcWorkRequestId === undefined)
793+
return {
794+
response: updateComputeGpuMemoryClusterResponse,
795+
workRequestResponse: undefined as any
796+
};
797+
const getWorkRequestResponse = await waitForWorkRequest(
798+
this.config,
799+
this.workRequestClient,
800+
updateComputeGpuMemoryClusterResponse.opcWorkRequestId
801+
);
802+
return {
803+
response: updateComputeGpuMemoryClusterResponse,
804+
workRequestResponse: getWorkRequestResponse
805+
};
806+
}
807+
678808
/**
679809
* Waits forUpdateInstance
680810
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/**
2+
* Core Services API
3+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
4+
compute instances, and block storage volumes. For more information, see the console
5+
documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
6+
[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
7+
[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
8+
The required permissions are documented in the
9+
[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
10+
11+
* OpenAPI spec version: 20160918
12+
*
13+
*
14+
* NOTE: This class is auto generated by OracleSDKGenerator.
15+
* Do not edit the class manually.
16+
*
17+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19+
*/
20+
21+
import * as model from "../model";
22+
import common = require("oci-common");
23+
24+
/**
25+
* Specifies the compartment to move the compute GPU memory cluster to.
26+
*/
27+
export interface ChangeComputeGpuMemoryClusterCompartmentDetails {
28+
/**
29+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the compute GPU
30+
* memory cluster to.
31+
*
32+
*/
33+
"compartmentId": string;
34+
}
35+
36+
export namespace ChangeComputeGpuMemoryClusterCompartmentDetails {
37+
export function getJsonObj(obj: ChangeComputeGpuMemoryClusterCompartmentDetails): object {
38+
const jsonObj = { ...obj, ...{} };
39+
40+
return jsonObj;
41+
}
42+
export function getDeserializedJsonObj(
43+
obj: ChangeComputeGpuMemoryClusterCompartmentDetails
44+
): object {
45+
const jsonObj = { ...obj, ...{} };
46+
47+
return jsonObj;
48+
}
49+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/**
2+
* Core Services API
3+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
4+
compute instances, and block storage volumes. For more information, see the console
5+
documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
6+
[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
7+
[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
8+
The required permissions are documented in the
9+
[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
10+
11+
* OpenAPI spec version: 20160918
12+
*
13+
*
14+
* NOTE: This class is auto generated by OracleSDKGenerator.
15+
* Do not edit the class manually.
16+
*
17+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19+
*/
20+
21+
import * as model from "../model";
22+
import common = require("oci-common");
23+
24+
/**
25+
* Specifies the compartment to move the compute GPU memory fabric to.
26+
*/
27+
export interface ChangeComputeGpuMemoryFabricCompartmentDetails {
28+
/**
29+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the compute GPU
30+
* memory fabric to.
31+
*
32+
*/
33+
"compartmentId": string;
34+
}
35+
36+
export namespace ChangeComputeGpuMemoryFabricCompartmentDetails {
37+
export function getJsonObj(obj: ChangeComputeGpuMemoryFabricCompartmentDetails): object {
38+
const jsonObj = { ...obj, ...{} };
39+
40+
return jsonObj;
41+
}
42+
export function getDeserializedJsonObj(
43+
obj: ChangeComputeGpuMemoryFabricCompartmentDetails
44+
): object {
45+
const jsonObj = { ...obj, ...{} };
46+
47+
return jsonObj;
48+
}
49+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/**
2+
* Core Services API
3+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
4+
compute instances, and block storage volumes. For more information, see the console
5+
documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
6+
[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
7+
[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
8+
The required permissions are documented in the
9+
[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
10+
11+
* OpenAPI spec version: 20160918
12+
*
13+
*
14+
* NOTE: This class is auto generated by OracleSDKGenerator.
15+
* Do not edit the class manually.
16+
*
17+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19+
*/
20+
21+
import * as model from "../model";
22+
import common = require("oci-common");
23+
24+
/**
25+
* A list of compute GPU memory clusters.
26+
*
27+
*/
28+
export interface ComputeGpuMemoryClusterCollection {
29+
/**
30+
* The list of compute GPU memory clusters.
31+
*/
32+
"items": Array<model.ComputeGpuMemoryClusterSummary>;
33+
}
34+
35+
export namespace ComputeGpuMemoryClusterCollection {
36+
export function getJsonObj(obj: ComputeGpuMemoryClusterCollection): object {
37+
const jsonObj = {
38+
...obj,
39+
...{
40+
"items": obj.items
41+
? obj.items.map(item => {
42+
return model.ComputeGpuMemoryClusterSummary.getJsonObj(item);
43+
})
44+
: undefined
45+
}
46+
};
47+
48+
return jsonObj;
49+
}
50+
export function getDeserializedJsonObj(obj: ComputeGpuMemoryClusterCollection): object {
51+
const jsonObj = {
52+
...obj,
53+
...{
54+
"items": obj.items
55+
? obj.items.map(item => {
56+
return model.ComputeGpuMemoryClusterSummary.getDeserializedJsonObj(item);
57+
})
58+
: undefined
59+
}
60+
};
61+
62+
return jsonObj;
63+
}
64+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/**
2+
* Core Services API
3+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
4+
compute instances, and block storage volumes. For more information, see the console
5+
documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
6+
[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
7+
[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
8+
The required permissions are documented in the
9+
[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
10+
11+
* OpenAPI spec version: 20160918
12+
*
13+
*
14+
* NOTE: This class is auto generated by OracleSDKGenerator.
15+
* Do not edit the class manually.
16+
*
17+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19+
*/
20+
21+
import * as model from "../model";
22+
import common = require("oci-common");
23+
24+
/**
25+
* A list of compute GPU memory cluster instances.
26+
*
27+
*/
28+
export interface ComputeGpuMemoryClusterInstanceCollection {
29+
/**
30+
* The list of compute GPU memory cluster instances.
31+
*/
32+
"items": Array<model.ComputeGpuMemoryClusterInstanceSummary>;
33+
}
34+
35+
export namespace ComputeGpuMemoryClusterInstanceCollection {
36+
export function getJsonObj(obj: ComputeGpuMemoryClusterInstanceCollection): object {
37+
const jsonObj = {
38+
...obj,
39+
...{
40+
"items": obj.items
41+
? obj.items.map(item => {
42+
return model.ComputeGpuMemoryClusterInstanceSummary.getJsonObj(item);
43+
})
44+
: undefined
45+
}
46+
};
47+
48+
return jsonObj;
49+
}
50+
export function getDeserializedJsonObj(obj: ComputeGpuMemoryClusterInstanceCollection): object {
51+
const jsonObj = {
52+
...obj,
53+
...{
54+
"items": obj.items
55+
? obj.items.map(item => {
56+
return model.ComputeGpuMemoryClusterInstanceSummary.getDeserializedJsonObj(item);
57+
})
58+
: undefined
59+
}
60+
};
61+
62+
return jsonObj;
63+
}
64+
}

0 commit comments

Comments
 (0)