oci-containerengine 2.32.0 → 2.33.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 (59) hide show
  1. package/lib/client.d.ts +30 -21
  2. package/lib/client.js +96 -24
  3. package/lib/client.js.map +1 -1
  4. package/lib/containerengine-waiter.d.ts +8 -0
  5. package/lib/containerengine-waiter.js +12 -0
  6. package/lib/containerengine-waiter.js.map +1 -1
  7. package/lib/model/create-node-pool-details.d.ts +1 -0
  8. package/lib/model/create-node-pool-details.js +6 -0
  9. package/lib/model/create-node-pool-details.js.map +1 -1
  10. package/lib/model/index.d.ts +4 -0
  11. package/lib/model/index.js +6 -2
  12. package/lib/model/index.js.map +1 -1
  13. package/lib/model/node-eviction-node-pool-settings.d.ts +34 -0
  14. package/lib/model/node-eviction-node-pool-settings.js +32 -0
  15. package/lib/model/node-eviction-node-pool-settings.js.map +1 -0
  16. package/lib/model/node-pool-lifecycle-state.d.ts +37 -0
  17. package/lib/model/node-pool-lifecycle-state.js +48 -0
  18. package/lib/model/node-pool-lifecycle-state.js.map +1 -0
  19. package/lib/model/node-pool-summary.d.ts +9 -0
  20. package/lib/model/node-pool-summary.js +6 -0
  21. package/lib/model/node-pool-summary.js.map +1 -1
  22. package/lib/model/node-pool.d.ts +9 -0
  23. package/lib/model/node-pool.js +6 -0
  24. package/lib/model/node-pool.js.map +1 -1
  25. package/lib/model/update-node-pool-details.d.ts +1 -0
  26. package/lib/model/update-node-pool-details.js +6 -0
  27. package/lib/model/update-node-pool-details.js.map +1 -1
  28. package/lib/request/cluster-migrate-to-native-vcn-request.d.ts +1 -1
  29. package/lib/request/create-cluster-request.d.ts +1 -1
  30. package/lib/request/create-kubeconfig-request.d.ts +1 -1
  31. package/lib/request/create-node-pool-request.d.ts +1 -1
  32. package/lib/request/delete-cluster-request.d.ts +1 -1
  33. package/lib/request/delete-node-pool-request.d.ts +11 -1
  34. package/lib/request/delete-node-request.d.ts +53 -0
  35. package/lib/request/delete-node-request.js +15 -0
  36. package/lib/request/delete-node-request.js.map +1 -0
  37. package/lib/request/delete-work-request-request.d.ts +1 -1
  38. package/lib/request/get-cluster-migrate-to-native-vcn-status-request.d.ts +1 -1
  39. package/lib/request/get-cluster-options-request.d.ts +1 -1
  40. package/lib/request/get-cluster-request.d.ts +1 -1
  41. package/lib/request/get-node-pool-options-request.d.ts +1 -1
  42. package/lib/request/get-node-pool-request.d.ts +1 -1
  43. package/lib/request/get-work-request-request.d.ts +1 -1
  44. package/lib/request/index.d.ts +2 -0
  45. package/lib/request/index.js.map +1 -1
  46. package/lib/request/list-clusters-request.d.ts +1 -1
  47. package/lib/request/list-node-pools-request.d.ts +5 -1
  48. package/lib/request/list-node-pools-request.js.map +1 -1
  49. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  50. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  51. package/lib/request/list-work-requests-request.d.ts +1 -1
  52. package/lib/request/update-cluster-endpoint-config-request.d.ts +1 -1
  53. package/lib/request/update-cluster-request.d.ts +1 -1
  54. package/lib/request/update-node-pool-request.d.ts +11 -1
  55. package/lib/response/delete-node-response.d.ts +22 -0
  56. package/lib/response/delete-node-response.js +15 -0
  57. package/lib/response/delete-node-response.js.map +1 -0
  58. package/lib/response/index.d.ts +2 -0
  59. package/package.json +3 -3
@@ -98,6 +98,7 @@ export interface UpdateNodePoolDetails {
98
98
  [key: string]: any;
99
99
  };
100
100
  };
101
+ "nodeEvictionNodePoolSettings"?: model.NodeEvictionNodePoolSettings;
101
102
  }
102
103
  export declare namespace UpdateNodePoolDetails {
103
104
  function getJsonObj(obj: UpdateNodePoolDetails): object;
@@ -53,6 +53,9 @@ var UpdateNodePoolDetails;
53
53
  : undefined,
54
54
  "nodeShapeConfig": obj.nodeShapeConfig
55
55
  ? model.UpdateNodeShapeConfigDetails.getJsonObj(obj.nodeShapeConfig)
56
+ : undefined,
57
+ "nodeEvictionNodePoolSettings": obj.nodeEvictionNodePoolSettings
58
+ ? model.NodeEvictionNodePoolSettings.getJsonObj(obj.nodeEvictionNodePoolSettings)
56
59
  : undefined
57
60
  });
58
61
  return jsonObj;
@@ -73,6 +76,9 @@ var UpdateNodePoolDetails;
73
76
  : undefined,
74
77
  "nodeShapeConfig": obj.nodeShapeConfig
75
78
  ? model.UpdateNodeShapeConfigDetails.getDeserializedJsonObj(obj.nodeShapeConfig)
79
+ : undefined,
80
+ "nodeEvictionNodePoolSettings": obj.nodeEvictionNodePoolSettings
81
+ ? model.NodeEvictionNodePoolSettings.getDeserializedJsonObj(obj.nodeEvictionNodePoolSettings)
76
82
  : undefined
77
83
  });
78
84
  return jsonObj;
@@ -1 +1 @@
1
- {"version":3,"file":"update-node-pool-details.js","sourceRoot":"","sources":["../../../../../lib/containerengine/lib/model/update-node-pool-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiFlC,IAAiB,qBAAqB,CAqDrC;AArDD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACzC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACzE,CAAC,CAAC,SAAS;YAEb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBAC3D,CAAC,CAAC,SAAS;YAEb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBACpE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,gCAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACrD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,sBAAsB,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACrF,CAAC,CAAC,SAAS;YAEb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACvE,CAAC,CAAC,SAAS;YAEb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBAChF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,4CAAsB,yBAyBrC,CAAA;AACH,CAAC,EArDgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAqDrC"}
1
+ {"version":3,"file":"update-node-pool-details.js","sourceRoot":"","sources":["../../../../../lib/containerengine/lib/model/update-node-pool-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkFlC,IAAiB,qBAAqB,CA+DrC;AA/DD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACzC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACzE,CAAC,CAAC,SAAS;YAEb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBAC3D,CAAC,CAAC,SAAS;YAEb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBACpE,CAAC,CAAC,SAAS;YAEb,8BAA8B,EAAE,GAAG,CAAC,4BAA4B;gBAC9D,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,4BAA4B,CAAC;gBACjF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IA7Be,gCAAU,aA6BzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACrD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,sBAAsB,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACrF,CAAC,CAAC,SAAS;YAEb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACvE,CAAC,CAAC,SAAS;YAEb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBAChF,CAAC,CAAC,SAAS;YAEb,8BAA8B,EAAE,GAAG,CAAC,4BAA4B;gBAC9D,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CACvD,GAAG,CAAC,4BAA4B,CACjC;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IA/Be,4CAAsB,yBA+BrC,CAAA;AACH,CAAC,EA/DgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QA+DrC"}
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/ClusterMigrateToNativeVcn.ts.html |here} to see how to use ClusterMigrateToNativeVcnRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ClusterMigrateToNativeVcn.ts.html |here} to see how to use ClusterMigrateToNativeVcnRequest.
17
17
  */
18
18
  export interface ClusterMigrateToNativeVcnRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/CreateCluster.ts.html |here} to see how to use CreateClusterRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/CreateCluster.ts.html |here} to see how to use CreateClusterRequest.
17
17
  */
18
18
  export interface CreateClusterRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/CreateKubeconfig.ts.html |here} to see how to use CreateKubeconfigRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/CreateKubeconfig.ts.html |here} to see how to use CreateKubeconfigRequest.
17
17
  */
18
18
  export interface CreateKubeconfigRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/CreateNodePool.ts.html |here} to see how to use CreateNodePoolRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/CreateNodePool.ts.html |here} to see how to use CreateNodePoolRequest.
17
17
  */
18
18
  export interface CreateNodePoolRequest extends common.BaseRequest {
19
19
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/DeleteCluster.ts.html |here} to see how to use DeleteClusterRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/DeleteCluster.ts.html |here} to see how to use DeleteClusterRequest.
16
16
  */
17
17
  export interface DeleteClusterRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/DeleteNodePool.ts.html |here} to see how to use DeleteNodePoolRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/DeleteNodePool.ts.html |here} to see how to use DeleteNodePoolRequest.
16
16
  */
17
17
  export interface DeleteNodePoolRequest extends common.BaseRequest {
18
18
  /**
@@ -32,4 +32,14 @@ export interface DeleteNodePoolRequest extends common.BaseRequest {
32
32
  *
33
33
  */
34
34
  "opcRequestId"?: string;
35
+ /**
36
+ * Duration after which OKE will give up eviction of the pods on the node.
37
+ * PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
38
+ *
39
+ */
40
+ "overrideEvictionGraceDuration"?: string;
41
+ /**
42
+ * If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
43
+ */
44
+ "isForceDeletionAfterOverrideGraceDuration"?: boolean;
35
45
  }
@@ -0,0 +1,53 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20180222
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/DeleteNode.ts.html |here} to see how to use DeleteNodeRequest.
16
+ */
17
+ export interface DeleteNodeRequest extends common.BaseRequest {
18
+ /**
19
+ * The OCID of the node pool.
20
+ */
21
+ "nodePoolId": string;
22
+ /**
23
+ * The OCID of the compute instance.
24
+ */
25
+ "nodeId": string;
26
+ /**
27
+ * If the nodepool should be scaled down after the node is deleted.
28
+ */
29
+ "isDecrementSize"?: boolean;
30
+ /**
31
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
32
+ * parameter to the value of the etag from a previous GET or POST response for that resource. The resource
33
+ * will be updated or deleted only if the etag you provide matches the resource's current etag value.
34
+ *
35
+ */
36
+ "ifMatch"?: string;
37
+ /**
38
+ * Unique Oracle-assigned identifier for the request. If you need to contact
39
+ * Oracle about a particular request, please provide the request ID.
40
+ *
41
+ */
42
+ "opcRequestId"?: string;
43
+ /**
44
+ * Duration after which OKE will give up eviction of the pods on the node.
45
+ * PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
46
+ *
47
+ */
48
+ "overrideEvictionGraceDuration"?: string;
49
+ /**
50
+ * If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
51
+ */
52
+ "isForceDeletionAfterOverrideGraceDuration"?: boolean;
53
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20180222
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=delete-node-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-node-request.js","sourceRoot":"","sources":["../../../../../lib/containerengine/lib/request/delete-node-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequestRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequestRequest.
16
16
  */
17
17
  export interface DeleteWorkRequestRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/GetClusterMigrateToNativeVcnStatus.ts.html |here} to see how to use GetClusterMigrateToNativeVcnStatusRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetClusterMigrateToNativeVcnStatus.ts.html |here} to see how to use GetClusterMigrateToNativeVcnStatusRequest.
16
16
  */
17
17
  export interface GetClusterMigrateToNativeVcnStatusRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/GetClusterOptions.ts.html |here} to see how to use GetClusterOptionsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetClusterOptions.ts.html |here} to see how to use GetClusterOptionsRequest.
16
16
  */
17
17
  export interface GetClusterOptionsRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/GetCluster.ts.html |here} to see how to use GetClusterRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetCluster.ts.html |here} to see how to use GetClusterRequest.
16
16
  */
17
17
  export interface GetClusterRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/GetNodePoolOptions.ts.html |here} to see how to use GetNodePoolOptionsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetNodePoolOptions.ts.html |here} to see how to use GetNodePoolOptionsRequest.
16
16
  */
17
17
  export interface GetNodePoolOptionsRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/GetNodePool.ts.html |here} to see how to use GetNodePoolRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetNodePool.ts.html |here} to see how to use GetNodePoolRequest.
16
16
  */
17
17
  export interface GetNodePoolRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest.
16
16
  */
17
17
  export interface GetWorkRequestRequest extends common.BaseRequest {
18
18
  /**
@@ -23,6 +23,8 @@ import * as CreateNodePoolRequest from "./create-node-pool-request";
23
23
  export import CreateNodePoolRequest = CreateNodePoolRequest.CreateNodePoolRequest;
24
24
  import * as DeleteClusterRequest from "./delete-cluster-request";
25
25
  export import DeleteClusterRequest = DeleteClusterRequest.DeleteClusterRequest;
26
+ import * as DeleteNodeRequest from "./delete-node-request";
27
+ export import DeleteNodeRequest = DeleteNodeRequest.DeleteNodeRequest;
26
28
  import * as DeleteNodePoolRequest from "./delete-node-pool-request";
27
29
  export import DeleteNodePoolRequest = DeleteNodePoolRequest.DeleteNodePoolRequest;
28
30
  import * as DeleteWorkRequestRequest from "./delete-work-request-request";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/containerengine/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AA4BH,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,gFAAkE;AACpD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAK/E,sFAAwE;AAC1D,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/containerengine/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AA8BH,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,gFAAkE;AACpD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAK/E,sFAAwE;AAC1D,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC"}
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/ListClusters.ts.html |here} to see how to use ListClustersRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ListClusters.ts.html |here} to see how to use ListClustersRequest.
17
17
  */
18
18
  export interface ListClustersRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/ListNodePools.ts.html |here} to see how to use ListNodePoolsRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ListNodePools.ts.html |here} to see how to use ListNodePoolsRequest.
17
17
  */
18
18
  export interface ListNodePoolsRequest extends common.BaseRequest {
19
19
  /**
@@ -55,6 +55,10 @@ export interface ListNodePoolsRequest extends common.BaseRequest {
55
55
  *
56
56
  */
57
57
  "opcRequestId"?: string;
58
+ /**
59
+ * A list of nodepool lifecycle states on which to filter on, matching any of the list items (OR logic). eg. [ACTIVE, DELETING]
60
+ */
61
+ "lifecycleState"?: Array<model.NodePoolLifecycleState>;
58
62
  }
59
63
  export declare namespace ListNodePoolsRequest {
60
64
  enum SortBy {
@@ -1 +1 @@
1
- {"version":3,"file":"list-node-pools-request.js","sourceRoot":"","sources":["../../../../../lib/containerengine/lib/request/list-node-pools-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAkDH,IAAiB,oBAAoB,CAMpC;AAND,WAAiB,oBAAoB;IACnC,IAAY,MAIX;IAJD,WAAY,MAAM;QAChB,mBAAS,CAAA;QACT,uBAAa,CAAA;QACb,sCAA4B,CAAA;IAC9B,CAAC,EAJW,MAAM,GAAN,2BAAM,KAAN,2BAAM,QAIjB;AACH,CAAC,EANgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAMpC"}
1
+ {"version":3,"file":"list-node-pools-request.js","sourceRoot":"","sources":["../../../../../lib/containerengine/lib/request/list-node-pools-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAsDH,IAAiB,oBAAoB,CAMpC;AAND,WAAiB,oBAAoB;IACnC,IAAY,MAIX;IAJD,WAAY,MAAM;QAChB,mBAAS,CAAA;QACT,uBAAa,CAAA;QACb,sCAA4B,CAAA;IAC9B,CAAC,EAJW,MAAM,GAAN,2BAAM,KAAN,2BAAM,QAIjB;AACH,CAAC,EANgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAMpC"}
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest.
16
16
  */
17
17
  export interface ListWorkRequestErrorsRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest.
16
16
  */
17
17
  export interface ListWorkRequestLogsRequest extends common.BaseRequest {
18
18
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest.
17
17
  */
18
18
  export interface ListWorkRequestsRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/UpdateClusterEndpointConfig.ts.html |here} to see how to use UpdateClusterEndpointConfigRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/UpdateClusterEndpointConfig.ts.html |here} to see how to use UpdateClusterEndpointConfigRequest.
17
17
  */
18
18
  export interface UpdateClusterEndpointConfigRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/UpdateCluster.ts.html |here} to see how to use UpdateClusterRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/UpdateCluster.ts.html |here} to see how to use UpdateClusterRequest.
17
17
  */
18
18
  export interface UpdateClusterRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.32.0/containerengine/UpdateNodePool.ts.html |here} to see how to use UpdateNodePoolRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/UpdateNodePool.ts.html |here} to see how to use UpdateNodePoolRequest.
17
17
  */
18
18
  export interface UpdateNodePoolRequest extends common.BaseRequest {
19
19
  /**
@@ -37,4 +37,14 @@ export interface UpdateNodePoolRequest extends common.BaseRequest {
37
37
  *
38
38
  */
39
39
  "opcRequestId"?: string;
40
+ /**
41
+ * Duration after which OKE will give up eviction of the pods on the node.
42
+ * PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
43
+ *
44
+ */
45
+ "overrideEvictionGraceDuration"?: string;
46
+ /**
47
+ * If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
48
+ */
49
+ "isForceDeletionAfterOverrideGraceDuration"?: boolean;
40
50
  }
@@ -0,0 +1,22 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20180222
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ export interface DeleteNodeResponse {
14
+ /**
15
+ * The OCID of the work request handling the operation.
16
+ */
17
+ "opcWorkRequestId": string;
18
+ /**
19
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
20
+ */
21
+ "opcRequestId": string;
22
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20180222
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=delete-node-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-node-response.js","sourceRoot":"","sources":["../../../../../lib/containerengine/lib/response/delete-node-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -23,6 +23,8 @@ import * as CreateNodePoolResponse from "./create-node-pool-response";
23
23
  export import CreateNodePoolResponse = CreateNodePoolResponse.CreateNodePoolResponse;
24
24
  import * as DeleteClusterResponse from "./delete-cluster-response";
25
25
  export import DeleteClusterResponse = DeleteClusterResponse.DeleteClusterResponse;
26
+ import * as DeleteNodeResponse from "./delete-node-response";
27
+ export import DeleteNodeResponse = DeleteNodeResponse.DeleteNodeResponse;
26
28
  import * as DeleteNodePoolResponse from "./delete-node-pool-response";
27
29
  export import DeleteNodePoolResponse = DeleteNodePoolResponse.DeleteNodePoolResponse;
28
30
  import * as DeleteWorkRequestResponse from "./delete-work-request-response";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oci-containerengine",
3
- "version": "2.32.0",
3
+ "version": "2.33.0",
4
4
  "description": "OCI NodeJS client for Container Engine",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "license": "(UPL-1.0 OR Apache-2.0)",
17
17
  "dependencies": {
18
- "oci-common": "2.32.0",
19
- "oci-workrequests": "2.32.0"
18
+ "oci-common": "2.33.0",
19
+ "oci-workrequests": "2.33.0"
20
20
  },
21
21
  "publishConfig": {
22
22
  "registry": "https://registry.npmjs.org"