oci-core 2.136.1 → 2.137.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.
Files changed (55) hide show
  1. package/lib/client.d.ts +1 -1
  2. package/lib/client.js +1 -1
  3. package/lib/model/compute-cluster-logical-placement-constraint.d.ts +38 -0
  4. package/lib/model/compute-cluster-logical-placement-constraint.js +49 -0
  5. package/lib/model/compute-cluster-logical-placement-constraint.js.map +1 -0
  6. package/lib/model/compute-cluster-placement-constraint-details.d.ts +65 -0
  7. package/lib/model/compute-cluster-placement-constraint-details.js +61 -0
  8. package/lib/model/compute-cluster-placement-constraint-details.js.map +1 -0
  9. package/lib/model/compute-cluster.d.ts +15 -9
  10. package/lib/model/compute-cluster.js +30 -2
  11. package/lib/model/compute-cluster.js.map +1 -1
  12. package/lib/model/create-compute-cluster-details.d.ts +7 -9
  13. package/lib/model/create-compute-cluster-details.js +30 -2
  14. package/lib/model/create-compute-cluster-details.js.map +1 -1
  15. package/lib/model/create-dedicated-vm-host-details.d.ts +1 -1
  16. package/lib/model/create-dedicated-vm-host-details.js.map +1 -1
  17. package/lib/model/create-gmc-configuration-details.d.ts +36 -0
  18. package/lib/model/create-gmc-configuration-details.js +73 -0
  19. package/lib/model/create-gmc-configuration-details.js.map +1 -0
  20. package/lib/model/create-instance-configuration-base.js +4 -0
  21. package/lib/model/create-instance-configuration-base.js.map +1 -1
  22. package/lib/model/create-instance-pool-details.d.ts +3 -0
  23. package/lib/model/create-instance-pool-details.js.map +1 -1
  24. package/lib/model/dedicated-vm-host.d.ts +1 -1
  25. package/lib/model/dedicated-vm-host.js.map +1 -1
  26. package/lib/model/index.d.ts +10 -0
  27. package/lib/model/index.js +23 -13
  28. package/lib/model/index.js.map +1 -1
  29. package/lib/model/instance-configuration-gmc-config-detail.d.ts +80 -0
  30. package/lib/model/instance-configuration-gmc-config-detail.js +64 -0
  31. package/lib/model/instance-configuration-gmc-config-detail.js.map +1 -0
  32. package/lib/model/instance-configuration-gpu-memory-cluster-scale-config.d.ts +44 -0
  33. package/lib/model/instance-configuration-gpu-memory-cluster-scale-config.js +36 -0
  34. package/lib/model/instance-configuration-gpu-memory-cluster-scale-config.js.map +1 -0
  35. package/lib/model/instance-configuration.d.ts +25 -0
  36. package/lib/model/instance-configuration.js +20 -0
  37. package/lib/model/instance-configuration.js.map +1 -1
  38. package/lib/model/instance-pool-summary.d.ts +5 -0
  39. package/lib/model/instance-pool-summary.js.map +1 -1
  40. package/lib/model/instance-pool.d.ts +14 -0
  41. package/lib/model/instance-pool.js +10 -0
  42. package/lib/model/instance-pool.js.map +1 -1
  43. package/lib/model/instance.d.ts +1 -1
  44. package/lib/model/instance.js.map +1 -1
  45. package/lib/model/launch-instance-details.d.ts +1 -1
  46. package/lib/model/launch-instance-details.js.map +1 -1
  47. package/lib/model/placement-constraint-details.js +4 -0
  48. package/lib/model/placement-constraint-details.js.map +1 -1
  49. package/lib/model/update-compute-cluster-details.d.ts +14 -4
  50. package/lib/model/update-compute-cluster-details.js +30 -2
  51. package/lib/model/update-compute-cluster-details.js.map +1 -1
  52. package/lib/model/update-instance-pool-details.d.ts +1 -0
  53. package/lib/model/update-instance-pool-details.js.map +1 -1
  54. package/lib/request/create-instance-configuration-request.d.ts +1 -1
  55. package/package.json +3 -3
package/lib/client.d.ts CHANGED
@@ -3697,7 +3697,7 @@ export declare class ComputeManagementClient {
3697
3697
  createClusterNetwork(createClusterNetworkRequest: requests.CreateClusterNetworkRequest): Promise<responses.CreateClusterNetworkResponse>;
3698
3698
  /**
3699
3699
  * Creates an instance configuration. An instance configuration is a template that defines the
3700
- * settings to use when creating Compute instances.
3700
+ * settings to use when creating Compute instances or GPU Memory Clusters.
3701
3701
  *
3702
3702
  * This operation does not retry by default if the user has not defined a retry configuration.
3703
3703
  * @param CreateInstanceConfigurationRequest
package/lib/client.js CHANGED
@@ -15540,7 +15540,7 @@ class ComputeManagementClient {
15540
15540
  }
15541
15541
  /**
15542
15542
  * Creates an instance configuration. An instance configuration is a template that defines the
15543
- * settings to use when creating Compute instances.
15543
+ * settings to use when creating Compute instances or GPU Memory Clusters.
15544
15544
  *
15545
15545
  * This operation does not retry by default if the user has not defined a retry configuration.
15546
15546
  * @param CreateInstanceConfigurationRequest
@@ -0,0 +1,38 @@
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, 2026, 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
+ * The logical placement strategy to apply for compute cluster placement.
22
+ * Allowed values are {@code SINGLE_TIER}, {@code SINGLE_BLOCK}, and {@code PACKED_DISTRIBUTION_MULTI_BLOCK}.
23
+ *
24
+ **/
25
+ export declare enum ComputeClusterLogicalPlacementConstraint {
26
+ SingleTier = "SINGLE_TIER",
27
+ SingleBlock = "SINGLE_BLOCK",
28
+ PackedDistributionMultiBlock = "PACKED_DISTRIBUTION_MULTI_BLOCK",
29
+ /**
30
+ * This value is used if a service returns a value for this enum that is not recognized by this
31
+ * version of the SDK.
32
+ */
33
+ UnknownValue = "UNKNOWN_VALUE"
34
+ }
35
+ export declare namespace ComputeClusterLogicalPlacementConstraint {
36
+ function getJsonObj(obj: ComputeClusterLogicalPlacementConstraint): ComputeClusterLogicalPlacementConstraint;
37
+ function getDeserializedJsonObj(obj: ComputeClusterLogicalPlacementConstraint): ComputeClusterLogicalPlacementConstraint;
38
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /**
3
+ * Core Services API
4
+ * Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
5
+ compute instances, and block storage volumes. For more information, see the console
6
+ documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
7
+ [Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
8
+ [Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
9
+ The required permissions are documented in the
10
+ [Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
11
+
12
+ * OpenAPI spec version: 20160918
13
+ *
14
+ *
15
+ * NOTE: This class is auto generated by OracleSDKGenerator.
16
+ * Do not edit the class manually.
17
+ *
18
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
+ * 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.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.ComputeClusterLogicalPlacementConstraint = void 0;
23
+ /**
24
+ * The logical placement strategy to apply for compute cluster placement.
25
+ * Allowed values are {@code SINGLE_TIER}, {@code SINGLE_BLOCK}, and {@code PACKED_DISTRIBUTION_MULTI_BLOCK}.
26
+ *
27
+ **/
28
+ var ComputeClusterLogicalPlacementConstraint;
29
+ (function (ComputeClusterLogicalPlacementConstraint) {
30
+ ComputeClusterLogicalPlacementConstraint["SingleTier"] = "SINGLE_TIER";
31
+ ComputeClusterLogicalPlacementConstraint["SingleBlock"] = "SINGLE_BLOCK";
32
+ ComputeClusterLogicalPlacementConstraint["PackedDistributionMultiBlock"] = "PACKED_DISTRIBUTION_MULTI_BLOCK";
33
+ /**
34
+ * This value is used if a service returns a value for this enum that is not recognized by this
35
+ * version of the SDK.
36
+ */
37
+ ComputeClusterLogicalPlacementConstraint["UnknownValue"] = "UNKNOWN_VALUE";
38
+ })(ComputeClusterLogicalPlacementConstraint = exports.ComputeClusterLogicalPlacementConstraint || (exports.ComputeClusterLogicalPlacementConstraint = {}));
39
+ (function (ComputeClusterLogicalPlacementConstraint) {
40
+ function getJsonObj(obj) {
41
+ return obj;
42
+ }
43
+ ComputeClusterLogicalPlacementConstraint.getJsonObj = getJsonObj;
44
+ function getDeserializedJsonObj(obj) {
45
+ return obj;
46
+ }
47
+ ComputeClusterLogicalPlacementConstraint.getDeserializedJsonObj = getDeserializedJsonObj;
48
+ })(ComputeClusterLogicalPlacementConstraint = exports.ComputeClusterLogicalPlacementConstraint || (exports.ComputeClusterLogicalPlacementConstraint = {}));
49
+ //# sourceMappingURL=compute-cluster-logical-placement-constraint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compute-cluster-logical-placement-constraint.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/compute-cluster-logical-placement-constraint.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AAKH;;;;IAII;AACJ,IAAY,wCAUX;AAVD,WAAY,wCAAwC;IAClD,sEAA0B,CAAA;IAC1B,wEAA4B,CAAA;IAC5B,4GAAgE,CAAA;IAEhE;;;OAGG;IACH,0EAA8B,CAAA;AAChC,CAAC,EAVW,wCAAwC,GAAxC,gDAAwC,KAAxC,gDAAwC,QAUnD;AAED,WAAiB,wCAAwC;IACvD,SAAgB,UAAU,CACxB,GAA6C;QAE7C,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,mDAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAA6C;QAE7C,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,+DAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,wCAAwC,GAAxC,gDAAwC,KAAxC,gDAAwC,QAWxD"}
@@ -0,0 +1,65 @@
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, 2026, 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
+ import * as model from "../model";
21
+ /**
22
+ * The details for providing placement constraints for a compute cluster.
23
+ *
24
+ */
25
+ export interface ComputeClusterPlacementConstraintDetails extends model.PlacementConstraintDetails {
26
+ /**
27
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island for the compute cluster.
28
+ * <p>
29
+ This field cannot be updated after creation of the compute cluster.
30
+ *
31
+ */
32
+ "hpcIslandId"?: string;
33
+ /**
34
+ * The list of target network block OCIDs to constrain placement.
35
+ * <p>
36
+ If {@code targetNetworkBlockIds} is provided, the {@code hpcIslandId} must be set on the compute cluster,
37
+ * and the provided network blocks must belong to that same HPC island.
38
+ * <p>
39
+ The ordering of the array will be preserved. Ensure that all items in the array are unique.
40
+ *
41
+ */
42
+ "targetNetworkBlockIds"?: Array<string>;
43
+ /**
44
+ * The list of target GPU memory fabric OCIDs to constrain placement.
45
+ * <p>
46
+ If GMFs are passed in, the {@code hpcIslandId} must be set on the compute cluster, and
47
+ * the provided GMFs must belong to that same HPC island.
48
+ * <p>
49
+ The ordering of the array will be preserved. Ensure that all items in the array are unique.
50
+ *
51
+ */
52
+ "targetMemoryFabricIds"?: Array<string>;
53
+ /**
54
+ * The logical placement strategy to apply.
55
+ * Allowed values are {@code SINGLE_TIER}, {@code SINGLE_BLOCK}, and {@code PACKED_DISTRIBUTION_MULTI_BLOCK}.
56
+ *
57
+ */
58
+ "logicalPlacementConstraint"?: model.ComputeClusterLogicalPlacementConstraint;
59
+ "type": string;
60
+ }
61
+ export declare namespace ComputeClusterPlacementConstraintDetails {
62
+ function getJsonObj(obj: ComputeClusterPlacementConstraintDetails, isParentJsonObj?: boolean): object;
63
+ const type = "COMPUTE_CLUSTER";
64
+ function getDeserializedJsonObj(obj: ComputeClusterPlacementConstraintDetails, isParentJsonObj?: boolean): object;
65
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Core Services API
4
+ * Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
5
+ compute instances, and block storage volumes. For more information, see the console
6
+ documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
7
+ [Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
8
+ [Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
9
+ The required permissions are documented in the
10
+ [Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
11
+
12
+ * OpenAPI spec version: 20160918
13
+ *
14
+ *
15
+ * NOTE: This class is auto generated by OracleSDKGenerator.
16
+ * Do not edit the class manually.
17
+ *
18
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
+ * 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.
20
+ */
21
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k;
23
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
24
+ }) : (function(o, m, k, k2) {
25
+ if (k2 === undefined) k2 = k;
26
+ o[k2] = m[k];
27
+ }));
28
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
29
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
30
+ }) : function(o, v) {
31
+ o["default"] = v;
32
+ });
33
+ var __importStar = (this && this.__importStar) || function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
40
+ Object.defineProperty(exports, "__esModule", { value: true });
41
+ exports.ComputeClusterPlacementConstraintDetails = void 0;
42
+ const model = __importStar(require("../model"));
43
+ var ComputeClusterPlacementConstraintDetails;
44
+ (function (ComputeClusterPlacementConstraintDetails) {
45
+ function getJsonObj(obj, isParentJsonObj) {
46
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
47
+ ? obj
48
+ : model.PlacementConstraintDetails.getJsonObj(obj))), {});
49
+ return jsonObj;
50
+ }
51
+ ComputeClusterPlacementConstraintDetails.getJsonObj = getJsonObj;
52
+ ComputeClusterPlacementConstraintDetails.type = "COMPUTE_CLUSTER";
53
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
54
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
55
+ ? obj
56
+ : model.PlacementConstraintDetails.getDeserializedJsonObj(obj))), {});
57
+ return jsonObj;
58
+ }
59
+ ComputeClusterPlacementConstraintDetails.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(ComputeClusterPlacementConstraintDetails = exports.ComputeClusterPlacementConstraintDetails || (exports.ComputeClusterPlacementConstraintDetails = {}));
61
+ //# sourceMappingURL=compute-cluster-placement-constraint-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compute-cluster-placement-constraint-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/compute-cluster-placement-constraint-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6ClC,IAAiB,wCAAwC,CAgCxD;AAhCD,WAAiB,wCAAwC;IACvD,SAAgB,UAAU,CACxB,GAA6C,EAC7C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAC1C,GAAG,CACyC,CAAC,GAChD,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,mDAAU,aAczB,CAAA;IACY,6CAAI,GAAG,iBAAiB,CAAC;IACtC,SAAgB,sBAAsB,CACpC,GAA6C,EAC7C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CACtD,GAAG,CACyC,CAAC,GAChD,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,+DAAsB,yBAcrC,CAAA;AACH,CAAC,EAhCgB,wCAAwC,GAAxC,gDAAwC,KAAxC,gDAAwC,QAgCxD"}
@@ -17,18 +17,15 @@ The required permissions are documented in the
17
17
  * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
18
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
19
  */
20
+ import * as model from "../model";
20
21
  /**
21
- * The data for creating a [compute cluster](https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm). A compute cluster
22
- * is an empty remote direct memory access (RDMA) network group
22
+ * The data for creating a [compute cluster](https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm).
23
23
  * <p>
24
- After the compute cluster is created, you can use the compute cluster's OCID with the
25
- * {@link #launchInstance(LaunchInstanceRequest) launchInstance} operation to create instances in the compute cluster.
26
- * The instances must be created in the same compartment and availability domain as the cluster.
24
+ After the compute cluster is created, you can use the compute cluster's OCID to create Instance, GPU Memory
25
+ * Cluster or Instance Pool resources within the compute cluster. These resources must be created in the same
26
+ * compartment and availability domain as the cluster.
27
27
  * <p>
28
- Use compute clusters when you want to manage instances in the cluster individually in the RDMA network group.
29
- * <p>
30
- For details about creating a cluster network that uses instance pools to manage groups of identical instances,
31
- * see {@link #createClusterNetworkDetails(CreateClusterNetworkDetailsRequest) createClusterNetworkDetails}.
28
+ Use {@code COMPUTE_CLUSTER} type when using placementConstraintDetails.
32
29
  *
33
30
  */
34
31
  export interface ComputeCluster {
@@ -71,6 +68,7 @@ export interface ComputeCluster {
71
68
  "freeformTags"?: {
72
69
  [key: string]: string;
73
70
  };
71
+ "placementConstraintDetails"?: model.HostGroupPlacementConstraintDetails | model.ComputeClusterPlacementConstraintDetails | model.ComputeBareMetalHostPlacementConstraintDetails;
74
72
  /**
75
73
  * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster.
76
74
  */
@@ -87,6 +85,14 @@ export interface ComputeCluster {
87
85
  *
88
86
  */
89
87
  "timeCreated": Date;
88
+ /**
89
+ * The date and time the compute cluster was updated,
90
+ * in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
91
+ * <p>
92
+ Example: {@code 2016-08-25T21:10:29.600Z}
93
+ *
94
+ */
95
+ "timeUpdated"?: Date;
90
96
  }
91
97
  export declare namespace ComputeCluster {
92
98
  enum LifecycleState {
@@ -18,8 +18,28 @@ The required permissions are documented in the
18
18
  * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
19
  * 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.
20
20
  */
21
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k;
23
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
24
+ }) : (function(o, m, k, k2) {
25
+ if (k2 === undefined) k2 = k;
26
+ o[k2] = m[k];
27
+ }));
28
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
29
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
30
+ }) : function(o, v) {
31
+ o["default"] = v;
32
+ });
33
+ var __importStar = (this && this.__importStar) || function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
21
40
  Object.defineProperty(exports, "__esModule", { value: true });
22
41
  exports.ComputeCluster = void 0;
42
+ const model = __importStar(require("../model"));
23
43
  var ComputeCluster;
24
44
  (function (ComputeCluster) {
25
45
  let LifecycleState;
@@ -33,12 +53,20 @@ var ComputeCluster;
33
53
  LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
34
54
  })(LifecycleState = ComputeCluster.LifecycleState || (ComputeCluster.LifecycleState = {}));
35
55
  function getJsonObj(obj) {
36
- const jsonObj = Object.assign(Object.assign({}, obj), {});
56
+ const jsonObj = Object.assign(Object.assign({}, obj), {
57
+ "placementConstraintDetails": obj.placementConstraintDetails
58
+ ? model.PlacementConstraintDetails.getJsonObj(obj.placementConstraintDetails)
59
+ : undefined
60
+ });
37
61
  return jsonObj;
38
62
  }
39
63
  ComputeCluster.getJsonObj = getJsonObj;
40
64
  function getDeserializedJsonObj(obj) {
41
- const jsonObj = Object.assign(Object.assign({}, obj), {});
65
+ const jsonObj = Object.assign(Object.assign({}, obj), {
66
+ "placementConstraintDetails": obj.placementConstraintDetails
67
+ ? model.PlacementConstraintDetails.getDeserializedJsonObj(obj.placementConstraintDetails)
68
+ : undefined
69
+ });
42
70
  return jsonObj;
43
71
  }
44
72
  ComputeCluster.getDeserializedJsonObj = getDeserializedJsonObj;
@@ -1 +1 @@
1
- {"version":3,"file":"compute-cluster.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/compute-cluster.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AAuEH,IAAiB,cAAc,CAqB9B;AArBD,WAAiB,cAAc;IAC7B,IAAY,cAQX;IARD,WAAY,cAAc;QACxB,mCAAiB,CAAA;QACjB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EARW,cAAc,GAAd,6BAAc,KAAd,6BAAc,QAQzB;IAED,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAsB,yBAIrC,CAAA;AACH,CAAC,EArBgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAqB9B"}
1
+ {"version":3,"file":"compute-cluster.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/compute-cluster.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6ElC,IAAiB,cAAc,CAmC9B;AAnCD,WAAiB,cAAc;IAC7B,IAAY,cAQX;IARD,WAAY,cAAc;QACxB,mCAAiB,CAAA;QACjB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EARW,cAAc,GAAd,6BAAc,KAAd,6BAAc,QAQzB;IAED,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBAC7E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,yBAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBACzF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,qCAAsB,yBAWrC,CAAA;AACH,CAAC,EAnCgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAmC9B"}
@@ -17,18 +17,15 @@ The required permissions are documented in the
17
17
  * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
18
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
19
  */
20
+ import * as model from "../model";
20
21
  /**
21
- * The data for creating a [compute cluster](https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm). A compute cluster
22
- * is an empty remote direct memory access (RDMA) network group
22
+ * The data for creating a [compute cluster](https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm).
23
23
  * <p>
24
- After the compute cluster is created, you can use the compute cluster's OCID with the
25
- * {@link #launchInstance(LaunchInstanceRequest) launchInstance} operation to create instances in the compute cluster.
26
- * The instances must be created in the same compartment and availability domain as the cluster.
24
+ After the compute cluster is created, you can use the compute cluster's OCID to create Instance, GPU Memory
25
+ * Cluster or Instance Pool resources within the compute cluster. These resources must be created in the same
26
+ * compartment and availability domain as the cluster.
27
27
  * <p>
28
- Use compute clusters when you want to manage instances in the cluster individually in the RDMA network group.
29
- * <p>
30
- For details about creating a cluster network that uses instance pools to manage groups of identical instances,
31
- * see {@link #createClusterNetworkDetails(CreateClusterNetworkDetailsRequest) createClusterNetworkDetails}.
28
+ Use {@code COMPUTE_CLUSTER} type when using placementConstraintDetails.
32
29
  *
33
30
  */
34
31
  export interface CreateComputeClusterDetails {
@@ -71,6 +68,7 @@ export interface CreateComputeClusterDetails {
71
68
  "freeformTags"?: {
72
69
  [key: string]: string;
73
70
  };
71
+ "placementConstraintDetails"?: model.HostGroupPlacementConstraintDetails | model.ComputeClusterPlacementConstraintDetails | model.ComputeBareMetalHostPlacementConstraintDetails;
74
72
  }
75
73
  export declare namespace CreateComputeClusterDetails {
76
74
  function getJsonObj(obj: CreateComputeClusterDetails): object;
@@ -18,17 +18,45 @@ The required permissions are documented in the
18
18
  * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
19
  * 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.
20
20
  */
21
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k;
23
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
24
+ }) : (function(o, m, k, k2) {
25
+ if (k2 === undefined) k2 = k;
26
+ o[k2] = m[k];
27
+ }));
28
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
29
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
30
+ }) : function(o, v) {
31
+ o["default"] = v;
32
+ });
33
+ var __importStar = (this && this.__importStar) || function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
21
40
  Object.defineProperty(exports, "__esModule", { value: true });
22
41
  exports.CreateComputeClusterDetails = void 0;
42
+ const model = __importStar(require("../model"));
23
43
  var CreateComputeClusterDetails;
24
44
  (function (CreateComputeClusterDetails) {
25
45
  function getJsonObj(obj) {
26
- const jsonObj = Object.assign(Object.assign({}, obj), {});
46
+ const jsonObj = Object.assign(Object.assign({}, obj), {
47
+ "placementConstraintDetails": obj.placementConstraintDetails
48
+ ? model.PlacementConstraintDetails.getJsonObj(obj.placementConstraintDetails)
49
+ : undefined
50
+ });
27
51
  return jsonObj;
28
52
  }
29
53
  CreateComputeClusterDetails.getJsonObj = getJsonObj;
30
54
  function getDeserializedJsonObj(obj) {
31
- const jsonObj = Object.assign(Object.assign({}, obj), {});
55
+ const jsonObj = Object.assign(Object.assign({}, obj), {
56
+ "placementConstraintDetails": obj.placementConstraintDetails
57
+ ? model.PlacementConstraintDetails.getDeserializedJsonObj(obj.placementConstraintDetails)
58
+ : undefined
59
+ });
32
60
  return jsonObj;
33
61
  }
34
62
  CreateComputeClusterDetails.getDeserializedJsonObj = getDeserializedJsonObj;
@@ -1 +1 @@
1
- {"version":3,"file":"create-compute-cluster-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/create-compute-cluster-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AAuDH,IAAiB,2BAA2B,CAW3C;AAXD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAW3C"}
1
+ {"version":3,"file":"create-compute-cluster-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/create-compute-cluster-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqDlC,IAAiB,2BAA2B,CAyB3C;AAzBD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBAC7E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,sCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBACzF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,kDAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAyB3C"}
@@ -81,7 +81,7 @@ export interface CreateDedicatedVmHostDetails {
81
81
  "freeformTags"?: {
82
82
  [key: string]: string;
83
83
  };
84
- "placementConstraintDetails"?: model.HostGroupPlacementConstraintDetails | model.ComputeBareMetalHostPlacementConstraintDetails;
84
+ "placementConstraintDetails"?: model.HostGroupPlacementConstraintDetails | model.ComputeClusterPlacementConstraintDetails | model.ComputeBareMetalHostPlacementConstraintDetails;
85
85
  /**
86
86
  * The capacity configuration selected to be configured for the Dedicated Virtual Machine host.
87
87
  * Run {@link #listDedicatedVmHostShapes(ListDedicatedVmHostShapesRequest) listDedicatedVmHostShapes} API first to see the capacity configuration options.
@@ -1 +1 @@
1
- {"version":3,"file":"create-dedicated-vm-host-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/create-dedicated-vm-host-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4ElC,IAAiB,4BAA4B,CAyB5C;AAzBD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBAC7E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,uCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBACzF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,mDAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAyB5C"}
1
+ {"version":3,"file":"create-dedicated-vm-host-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/create-dedicated-vm-host-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6ElC,IAAiB,4BAA4B,CAyB5C;AAzBD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBAC7E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,uCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBACzF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,mDAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAyB5C"}
@@ -0,0 +1,36 @@
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, 2026, 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
+ import * as model from "../model";
21
+ /**
22
+ * Details for creating an instance configuration for GPU Memory Cluster.
23
+ *
24
+ */
25
+ export interface CreateGmcConfigurationDetails extends model.CreateInstanceConfigurationBase {
26
+ /**
27
+ * The GPU Memory Cluster configuration entries for.
28
+ */
29
+ "gmcConfigs": Array<model.InstanceConfigurationGmcConfigDetail>;
30
+ "source": string;
31
+ }
32
+ export declare namespace CreateGmcConfigurationDetails {
33
+ function getJsonObj(obj: CreateGmcConfigurationDetails, isParentJsonObj?: boolean): object;
34
+ const source = "GMC";
35
+ function getDeserializedJsonObj(obj: CreateGmcConfigurationDetails, isParentJsonObj?: boolean): object;
36
+ }
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ /**
3
+ * Core Services API
4
+ * Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
5
+ compute instances, and block storage volumes. For more information, see the console
6
+ documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
7
+ [Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
8
+ [Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
9
+ The required permissions are documented in the
10
+ [Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
11
+
12
+ * OpenAPI spec version: 20160918
13
+ *
14
+ *
15
+ * NOTE: This class is auto generated by OracleSDKGenerator.
16
+ * Do not edit the class manually.
17
+ *
18
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
+ * 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.
20
+ */
21
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k;
23
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
24
+ }) : (function(o, m, k, k2) {
25
+ if (k2 === undefined) k2 = k;
26
+ o[k2] = m[k];
27
+ }));
28
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
29
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
30
+ }) : function(o, v) {
31
+ o["default"] = v;
32
+ });
33
+ var __importStar = (this && this.__importStar) || function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
40
+ Object.defineProperty(exports, "__esModule", { value: true });
41
+ exports.CreateGmcConfigurationDetails = void 0;
42
+ const model = __importStar(require("../model"));
43
+ var CreateGmcConfigurationDetails;
44
+ (function (CreateGmcConfigurationDetails) {
45
+ function getJsonObj(obj, isParentJsonObj) {
46
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
47
+ ? obj
48
+ : model.CreateInstanceConfigurationBase.getJsonObj(obj))), {
49
+ "gmcConfigs": obj.gmcConfigs
50
+ ? obj.gmcConfigs.map(item => {
51
+ return model.InstanceConfigurationGmcConfigDetail.getJsonObj(item);
52
+ })
53
+ : undefined
54
+ });
55
+ return jsonObj;
56
+ }
57
+ CreateGmcConfigurationDetails.getJsonObj = getJsonObj;
58
+ CreateGmcConfigurationDetails.source = "GMC";
59
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
60
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
61
+ ? obj
62
+ : model.CreateInstanceConfigurationBase.getDeserializedJsonObj(obj))), {
63
+ "gmcConfigs": obj.gmcConfigs
64
+ ? obj.gmcConfigs.map(item => {
65
+ return model.InstanceConfigurationGmcConfigDetail.getDeserializedJsonObj(item);
66
+ })
67
+ : undefined
68
+ });
69
+ return jsonObj;
70
+ }
71
+ CreateGmcConfigurationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
72
+ })(CreateGmcConfigurationDetails = exports.CreateGmcConfigurationDetails || (exports.CreateGmcConfigurationDetails = {}));
73
+ //# sourceMappingURL=create-gmc-configuration-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-gmc-configuration-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/create-gmc-configuration-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,6BAA6B,CA0C7C;AA1CD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CACxB,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,+BAA+B,CAAC,UAAU,CAAC,GAAG,CAAmC,CAAC,GAC1F;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,oCAAoC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACrE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,wCAAU,aAkBzB,CAAA;IACY,oCAAM,GAAG,KAAK,CAAC;IAC5B,SAAgB,sBAAsB,CACpC,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,+BAA+B,CAAC,sBAAsB,CAC3D,GAAG,CAC8B,CAAC,GACrC;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,oCAAoC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACjF,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,oDAAsB,yBAoBrC,CAAA;AACH,CAAC,EA1CgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA0C7C"}
@@ -47,6 +47,8 @@ var CreateInstanceConfigurationBase;
47
47
  const jsonObj = Object.assign(Object.assign({}, obj), {});
48
48
  if (obj && "source" in obj && obj.source) {
49
49
  switch (obj.source) {
50
+ case "GMC":
51
+ return model.CreateGmcConfigurationDetails.getJsonObj(jsonObj, true);
50
52
  case "NONE":
51
53
  return model.CreateInstanceConfigurationDetails.getJsonObj(jsonObj, true);
52
54
  case "INSTANCE":
@@ -63,6 +65,8 @@ var CreateInstanceConfigurationBase;
63
65
  const jsonObj = Object.assign(Object.assign({}, obj), {});
64
66
  if (obj && "source" in obj && obj.source) {
65
67
  switch (obj.source) {
68
+ case "GMC":
69
+ return model.CreateGmcConfigurationDetails.getDeserializedJsonObj(jsonObj, true);
66
70
  case "NONE":
67
71
  return model.CreateInstanceConfigurationDetails.getDeserializedJsonObj(jsonObj, true);
68
72
  case "INSTANCE":
@@ -1 +1 @@
1
- {"version":3,"file":"create-instance-configuration-base.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/create-instance-configuration-base.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAuCtC,IAAiB,+BAA+B,CA2C/C;AA3CD,WAAiB,+BAA+B;IAC9C,SAAgB,UAAU,CAAC,GAAoC;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,QAAQ,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,EAAE;YACxC,QAAQ,GAAG,CAAC,MAAM,EAAE;gBAClB,KAAK,MAAM;oBACT,OAAO,KAAK,CAAC,kCAAkC,CAAC,UAAU,CACL,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,8CAA8C,CAAC,UAAU,CACL,OAAQ,EACvE,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;aACrF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,0CAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoC;QACzE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,QAAQ,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,EAAE;YACxC,QAAQ,GAAG,CAAC,MAAM,EAAE;gBAClB,KAAK,MAAM;oBACT,OAAO,KAAK,CAAC,kCAAkC,CAAC,sBAAsB,CACjB,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,8CAA8C,CAAC,sBAAsB,CACjB,OAAQ,EACvE,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;aACrF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,sDAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QA2C/C"}
1
+ {"version":3,"file":"create-instance-configuration-base.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/create-instance-configuration-base.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAuCtC,IAAiB,+BAA+B,CAqD/C;AArDD,WAAiB,+BAA+B;IAC9C,SAAgB,UAAU,CAAC,GAAoC;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,QAAQ,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,EAAE;YACxC,QAAQ,GAAG,CAAC,MAAM,EAAE;gBAClB,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,6BAA6B,CAAC,UAAU,CACL,OAAQ,EACtD,IAAI,CACL,CAAC;gBACJ,KAAK,MAAM;oBACT,OAAO,KAAK,CAAC,kCAAkC,CAAC,UAAU,CACL,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,8CAA8C,CAAC,UAAU,CACL,OAAQ,EACvE,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;aACrF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,0CAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoC;QACzE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,QAAQ,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,EAAE;YACxC,QAAQ,GAAG,CAAC,MAAM,EAAE;gBAClB,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,6BAA6B,CAAC,sBAAsB,CACjB,OAAQ,EACtD,IAAI,CACL,CAAC;gBACJ,KAAK,MAAM;oBACT,OAAO,KAAK,CAAC,kCAAkC,CAAC,sBAAsB,CACjB,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,8CAA8C,CAAC,sBAAsB,CACjB,OAAQ,EACvE,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;aACrF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,sDAAsB,yBAyBrC,CAAA;AACH,CAAC,EArDgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAqD/C"}
@@ -20,6 +20,8 @@ The required permissions are documented in the
20
20
  import * as model from "../model";
21
21
  /**
22
22
  * The data to create an instance pool.
23
+ * For a GMC-enabled resource pool, the referenced instance configuration must be a GMC configuration and
24
+ * the placement configuration must identify the availability domain and compute cluster for the pool.
23
25
  *
24
26
  */
25
27
  export interface CreateInstancePoolDetails {
@@ -75,6 +77,7 @@ export interface CreateInstancePoolDetails {
75
77
  "placementConfigurations": Array<model.CreateInstancePoolPlacementConfigurationDetails>;
76
78
  /**
77
79
  * The number of instances that should be in the instance pool.
80
+ * For a GMC-enabled resource pool, this is the number of GMC resources that should be in the pool.
78
81
  * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
79
82
  */
80
83
  "size": number;