oci-lustrefilestorage 2.106.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +22 -0
- package/index.js +45 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +204 -0
- package/lib/client.js +944 -0
- package/lib/client.js.map +1 -0
- package/lib/lustrefilestorage-waiter.d.ts +36 -0
- package/lib/lustrefilestorage-waiter.js +76 -0
- package/lib/lustrefilestorage-waiter.js.map +1 -0
- package/lib/model/action-type.d.ts +32 -0
- package/lib/model/action-type.js +43 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/change-lustre-file-system-compartment-details.d.ts +26 -0
- package/lib/model/change-lustre-file-system-compartment-details.js +29 -0
- package/lib/model/change-lustre-file-system-compartment-details.js.map +1 -0
- package/lib/model/create-lustre-file-system-details.d.ts +113 -0
- package/lib/model/create-lustre-file-system-details.js +64 -0
- package/lib/model/create-lustre-file-system-details.js.map +1 -0
- package/lib/model/index.d.ts +52 -0
- package/lib/model/index.js +75 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/lustre-file-system-collection.d.ts +26 -0
- package/lib/model/lustre-file-system-collection.js +61 -0
- package/lib/model/lustre-file-system-collection.js.map +1 -0
- package/lib/model/lustre-file-system-summary.d.ts +188 -0
- package/lib/model/lustre-file-system-summary.js +69 -0
- package/lib/model/lustre-file-system-summary.js.map +1 -0
- package/lib/model/lustre-file-system.d.ts +206 -0
- package/lib/model/lustre-file-system.js +90 -0
- package/lib/model/lustre-file-system.js.map +1 -0
- package/lib/model/maintenance-window.d.ts +47 -0
- package/lib/model/maintenance-window.js +44 -0
- package/lib/model/maintenance-window.js.map +1 -0
- package/lib/model/operation-status.d.ts +34 -0
- package/lib/model/operation-status.js +45 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +30 -0
- package/lib/model/operation-type.js +41 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/root-squash-configuration.d.ts +57 -0
- package/lib/model/root-squash-configuration.js +39 -0
- package/lib/model/root-squash-configuration.js.map +1 -0
- package/lib/model/sort-order.d.ts +30 -0
- package/lib/model/sort-order.js +41 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/update-lustre-file-system-details.d.ts +76 -0
- package/lib/model/update-lustre-file-system-details.js +57 -0
- package/lib/model/update-lustre-file-system-details.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +26 -0
- package/lib/model/work-request-error-collection.js +61 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +37 -0
- package/lib/model/work-request-error.js +29 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +26 -0
- package/lib/model/work-request-log-entry-collection.js +61 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +31 -0
- package/lib/model/work-request-log-entry.js +29 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +42 -0
- package/lib/model/work-request-resource.js +29 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +26 -0
- package/lib/model/work-request-summary-collection.js +61 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +73 -0
- package/lib/model/work-request-summary.js +61 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +76 -0
- package/lib/model/work-request.js +61 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/request/cancel-work-request-request.d.ts +38 -0
- package/lib/request/cancel-work-request-request.js +15 -0
- package/lib/request/cancel-work-request-request.js.map +1 -0
- package/lib/request/change-lustre-file-system-compartment-request.d.ts +43 -0
- package/lib/request/change-lustre-file-system-compartment-request.js +15 -0
- package/lib/request/change-lustre-file-system-compartment-request.js.map +1 -0
- package/lib/request/create-lustre-file-system-request.d.ts +40 -0
- package/lib/request/create-lustre-file-system-request.js +15 -0
- package/lib/request/create-lustre-file-system-request.js.map +1 -0
- package/lib/request/delete-lustre-file-system-request.d.ts +38 -0
- package/lib/request/delete-lustre-file-system-request.js +15 -0
- package/lib/request/delete-lustre-file-system-request.js.map +1 -0
- package/lib/request/get-lustre-file-system-request.d.ts +30 -0
- package/lib/request/get-lustre-file-system-request.js +15 -0
- package/lib/request/get-lustre-file-system-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +30 -0
- package/lib/request/get-work-request-request.js +15 -0
- package/lib/request/get-work-request-request.js.map +1 -0
- package/lib/request/index.d.ts +34 -0
- package/lib/request/index.js +43 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-lustre-file-systems-request.d.ts +82 -0
- package/lib/request/list-lustre-file-systems-request.js +24 -0
- package/lib/request/list-lustre-file-systems-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +59 -0
- package/lib/request/list-work-request-errors-request.js +23 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +59 -0
- package/lib/request/list-work-request-logs-request.js +23 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +71 -0
- package/lib/request/list-work-requests-request.js +23 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/update-lustre-file-system-request.d.ts +43 -0
- package/lib/request/update-lustre-file-system-request.js +15 -0
- package/lib/request/update-lustre-file-system-request.js.map +1 -0
- package/lib/response/cancel-work-request-response.d.ts +20 -0
- package/lib/response/cancel-work-request-response.js +15 -0
- package/lib/response/cancel-work-request-response.js.map +1 -0
- package/lib/response/change-lustre-file-system-compartment-response.d.ts +26 -0
- package/lib/response/change-lustre-file-system-compartment-response.js +15 -0
- package/lib/response/change-lustre-file-system-compartment-response.js.map +1 -0
- package/lib/response/create-lustre-file-system-response.d.ts +44 -0
- package/lib/response/create-lustre-file-system-response.js +15 -0
- package/lib/response/create-lustre-file-system-response.js.map +1 -0
- package/lib/response/delete-lustre-file-system-response.d.ts +26 -0
- package/lib/response/delete-lustre-file-system-response.js +15 -0
- package/lib/response/delete-lustre-file-system-response.js.map +1 -0
- package/lib/response/get-lustre-file-system-response.d.ts +30 -0
- package/lib/response/get-lustre-file-system-response.js +15 -0
- package/lib/response/get-lustre-file-system-response.js.map +1 -0
- package/lib/response/get-work-request-response.d.ts +34 -0
- package/lib/response/get-work-request-response.js +15 -0
- package/lib/response/get-work-request-response.js.map +1 -0
- package/lib/response/index.d.ts +34 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-lustre-file-systems-response.d.ts +31 -0
- package/lib/response/list-lustre-file-systems-response.js +15 -0
- package/lib/response/list-lustre-file-systems-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +31 -0
- package/lib/response/list-work-request-errors-response.js +15 -0
- package/lib/response/list-work-request-errors-response.js.map +1 -0
- package/lib/response/list-work-request-logs-response.d.ts +31 -0
- package/lib/response/list-work-request-logs-response.js +15 -0
- package/lib/response/list-work-request-logs-response.js.map +1 -0
- package/lib/response/list-work-requests-response.d.ts +31 -0
- package/lib/response/list-work-requests-response.js +15 -0
- package/lib/response/list-work-requests-response.js.map +1 -0
- package/lib/response/update-lustre-file-system-response.d.ts +26 -0
- package/lib/response/update-lustre-file-system-response.js +15 -0
- package/lib/response/update-lustre-file-system-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File Storage with Lustre API
|
|
3
|
+
* Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see [File Storage with Lustre](https://docs.oracle.com/iaas/Content/lustre/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20250228
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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 * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Results of a Lustre file system search. Contains both LustreFileSystemSummary items and other information, such as metadata.
|
|
16
|
+
*/
|
|
17
|
+
export interface LustreFileSystemCollection {
|
|
18
|
+
/**
|
|
19
|
+
* List of Lustre file systems.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.LustreFileSystemSummary>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace LustreFileSystemCollection {
|
|
24
|
+
function getJsonObj(obj: LustreFileSystemCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: LustreFileSystemCollection): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* File Storage with Lustre API
|
|
4
|
+
* Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see [File Storage with Lustre](https://docs.oracle.com/iaas/Content/lustre/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20250228
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.LustreFileSystemCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var LustreFileSystemCollection;
|
|
37
|
+
(function (LustreFileSystemCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.LustreFileSystemSummary.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
LustreFileSystemCollection.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"items": obj.items
|
|
52
|
+
? obj.items.map(item => {
|
|
53
|
+
return model.LustreFileSystemSummary.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
LustreFileSystemCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(LustreFileSystemCollection = exports.LustreFileSystemCollection || (exports.LustreFileSystemCollection = {}));
|
|
61
|
+
//# sourceMappingURL=lustre-file-system-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lustre-file-system-collection.js","sourceRoot":"","sources":["../../../../../lib/lustrefilestorage/lib/model/lustre-file-system-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,0BAA0B,CA6B1C;AA7BD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACxD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACpE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QA6B1C"}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File Storage with Lustre API
|
|
3
|
+
* Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see [File Storage with Lustre](https://docs.oracle.com/iaas/Content/lustre/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20250228
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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 * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Summary information about a Lustre file system.
|
|
16
|
+
*/
|
|
17
|
+
export interface LustreFileSystemSummary {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Lustre file system.
|
|
24
|
+
*/
|
|
25
|
+
"compartmentId": string;
|
|
26
|
+
/**
|
|
27
|
+
* The availability domain the file system is in. May be unset
|
|
28
|
+
* as a blank or NULL value.
|
|
29
|
+
* <p>
|
|
30
|
+
Example: {@code Uocm:PHX-AD-1}
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
"availabilityDomain": string;
|
|
34
|
+
/**
|
|
35
|
+
* A user-friendly name. It does not have to be unique, and it is changeable.
|
|
36
|
+
* Avoid entering confidential information.
|
|
37
|
+
* <p>
|
|
38
|
+
Example: {@code My Lustre file system}
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"displayName": string;
|
|
42
|
+
/**
|
|
43
|
+
* Short description of the Lustre file system.
|
|
44
|
+
* Avoid entering confidential information.
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
"fileSystemDescription": string;
|
|
48
|
+
/**
|
|
49
|
+
* The date and time the Lustre file system was created, expressed
|
|
50
|
+
* in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
|
|
51
|
+
* <p>
|
|
52
|
+
Example: {@code 2024-04-25T21:10:29.600Z}
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
"timeCreated": Date;
|
|
56
|
+
/**
|
|
57
|
+
* The date and time the Lustre file system was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
58
|
+
* <p>
|
|
59
|
+
Example: {@code 2024-04-25T21:10:29.600Z}
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
"timeUpdated": Date;
|
|
63
|
+
/**
|
|
64
|
+
* The current state of the Lustre file system.
|
|
65
|
+
*/
|
|
66
|
+
"lifecycleState": string;
|
|
67
|
+
/**
|
|
68
|
+
* A message that describes the current state of the Lustre file system in more detail. For example,
|
|
69
|
+
* can be used to provide actionable information for a resource in the Failed state.
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
"lifecycleDetails"?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
75
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
76
|
+
* <p>
|
|
77
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
"freeformTags": {
|
|
81
|
+
[key: string]: string;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
85
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
86
|
+
* <p>
|
|
87
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
"definedTags": {
|
|
91
|
+
[key: string]: {
|
|
92
|
+
[key: string]: any;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
97
|
+
* <p>
|
|
98
|
+
Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
"systemTags": {
|
|
102
|
+
[key: string]: {
|
|
103
|
+
[key: string]: any;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* A list of Network Security Group [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this lustre file system.
|
|
108
|
+
* A maximum of 5 is allowed.
|
|
109
|
+
* Setting this to an empty array after the list is created removes the lustre file system from all NSGs.
|
|
110
|
+
* For more information about NSGs, see [Security Rules](https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm).
|
|
111
|
+
*
|
|
112
|
+
*/
|
|
113
|
+
"nsgIds"?: Array<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The Lustre file system name. This is used in mount commands and other aspects of the client command line interface.
|
|
116
|
+
* The default file system name is 'lustre'. The file system name is limited to 8 characters. Allowed characters are lower and upper case English letters, numbers, and '_'.
|
|
117
|
+
*
|
|
118
|
+
*/
|
|
119
|
+
"fileSystemName": string;
|
|
120
|
+
/**
|
|
121
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key used to encrypt the encryption keys associated with this file system.
|
|
122
|
+
*
|
|
123
|
+
*/
|
|
124
|
+
"kmsKeyId"?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Capacity of the Lustre file system in GB. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
127
|
+
*/
|
|
128
|
+
"capacityInGBs": number;
|
|
129
|
+
/**
|
|
130
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the Lustre file system is in.
|
|
131
|
+
*/
|
|
132
|
+
"subnetId": string;
|
|
133
|
+
/**
|
|
134
|
+
* The Lustre file system performance tier. A value of {@code MBPS_PER_TB_125} represents 125 megabytes per second per terabyte.
|
|
135
|
+
*/
|
|
136
|
+
"performanceTier": LustreFileSystemSummary.PerformanceTier;
|
|
137
|
+
/**
|
|
138
|
+
* The date and time the LustreFileSystem current billing cycle will end, expressed in
|
|
139
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends,
|
|
140
|
+
* it is updated automatically to next timestamp which is after 30 days.
|
|
141
|
+
* File systems deleted earlier will still incur charges till this date.
|
|
142
|
+
* <p>
|
|
143
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
144
|
+
*
|
|
145
|
+
*/
|
|
146
|
+
"timeBillingCycleEnd": Date;
|
|
147
|
+
/**
|
|
148
|
+
* The IPv4 address of MGS (Lustre Management Service) used by clients to mount the file system.
|
|
149
|
+
* <p>
|
|
150
|
+
Example: {@code 10.0.0.4}
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
"managementServiceAddress": string;
|
|
154
|
+
/**
|
|
155
|
+
* Type of network used by clients to mount the file system.
|
|
156
|
+
* <p>
|
|
157
|
+
Example: {@code tcp}
|
|
158
|
+
*
|
|
159
|
+
*/
|
|
160
|
+
"lnet": string;
|
|
161
|
+
/**
|
|
162
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group in which the Lustre file system exists.
|
|
163
|
+
*/
|
|
164
|
+
"clusterPlacementGroupId"?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Major version of Lustre running in the Lustre file system.
|
|
167
|
+
* <p>
|
|
168
|
+
Example: {@code 2.15}
|
|
169
|
+
*
|
|
170
|
+
*/
|
|
171
|
+
"majorVersion": string;
|
|
172
|
+
"rootSquashConfiguration": model.RootSquashConfiguration;
|
|
173
|
+
}
|
|
174
|
+
export declare namespace LustreFileSystemSummary {
|
|
175
|
+
enum PerformanceTier {
|
|
176
|
+
MbpsPerTb125 = "MBPS_PER_TB_125",
|
|
177
|
+
MbpsPerTb250 = "MBPS_PER_TB_250",
|
|
178
|
+
MbpsPerTb500 = "MBPS_PER_TB_500",
|
|
179
|
+
MbpsPerTb1000 = "MBPS_PER_TB_1000",
|
|
180
|
+
/**
|
|
181
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
182
|
+
* version of the SDK.
|
|
183
|
+
*/
|
|
184
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
185
|
+
}
|
|
186
|
+
function getJsonObj(obj: LustreFileSystemSummary): object;
|
|
187
|
+
function getDeserializedJsonObj(obj: LustreFileSystemSummary): object;
|
|
188
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* File Storage with Lustre API
|
|
4
|
+
* Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see [File Storage with Lustre](https://docs.oracle.com/iaas/Content/lustre/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20250228
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.LustreFileSystemSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var LustreFileSystemSummary;
|
|
37
|
+
(function (LustreFileSystemSummary) {
|
|
38
|
+
let PerformanceTier;
|
|
39
|
+
(function (PerformanceTier) {
|
|
40
|
+
PerformanceTier["MbpsPerTb125"] = "MBPS_PER_TB_125";
|
|
41
|
+
PerformanceTier["MbpsPerTb250"] = "MBPS_PER_TB_250";
|
|
42
|
+
PerformanceTier["MbpsPerTb500"] = "MBPS_PER_TB_500";
|
|
43
|
+
PerformanceTier["MbpsPerTb1000"] = "MBPS_PER_TB_1000";
|
|
44
|
+
/**
|
|
45
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
46
|
+
* version of the SDK.
|
|
47
|
+
*/
|
|
48
|
+
PerformanceTier["UnknownValue"] = "UNKNOWN_VALUE";
|
|
49
|
+
})(PerformanceTier = LustreFileSystemSummary.PerformanceTier || (LustreFileSystemSummary.PerformanceTier = {}));
|
|
50
|
+
function getJsonObj(obj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
52
|
+
"rootSquashConfiguration": obj.rootSquashConfiguration
|
|
53
|
+
? model.RootSquashConfiguration.getJsonObj(obj.rootSquashConfiguration)
|
|
54
|
+
: undefined
|
|
55
|
+
});
|
|
56
|
+
return jsonObj;
|
|
57
|
+
}
|
|
58
|
+
LustreFileSystemSummary.getJsonObj = getJsonObj;
|
|
59
|
+
function getDeserializedJsonObj(obj) {
|
|
60
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
61
|
+
"rootSquashConfiguration": obj.rootSquashConfiguration
|
|
62
|
+
? model.RootSquashConfiguration.getDeserializedJsonObj(obj.rootSquashConfiguration)
|
|
63
|
+
: undefined
|
|
64
|
+
});
|
|
65
|
+
return jsonObj;
|
|
66
|
+
}
|
|
67
|
+
LustreFileSystemSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
68
|
+
})(LustreFileSystemSummary = exports.LustreFileSystemSummary || (exports.LustreFileSystemSummary = {}));
|
|
69
|
+
//# sourceMappingURL=lustre-file-system-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lustre-file-system-summary.js","sourceRoot":"","sources":["../../../../../lib/lustrefilestorage/lib/model/lustre-file-system-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0JlC,IAAiB,uBAAuB,CAqCvC;AArCD,WAAiB,uBAAuB;IACtC,IAAY,eAUX;IAVD,WAAY,eAAe;QACzB,mDAAgC,CAAA;QAChC,mDAAgC,CAAA;QAChC,mDAAgC,CAAA;QAChC,qDAAkC,CAAA;QAClC;;;WAGG;QACH,iDAA8B,CAAA;IAChC,CAAC,EAVW,eAAe,GAAf,uCAAe,KAAf,uCAAe,QAU1B;IAED,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACvE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,kCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACnF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,8CAAsB,yBAWrC,CAAA;AACH,CAAC,EArCgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAqCvC"}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File Storage with Lustre API
|
|
3
|
+
* Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see [File Storage with Lustre](https://docs.oracle.com/iaas/Content/lustre/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20250228
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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 * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A Lustre file system is a parallel file system that is used as a storage solution for HPC/AI/ML workloads.
|
|
16
|
+
* For more information, see [File Storage with Lustre](https://docs.oracle.com/iaas/Content/lustre/home.htm).
|
|
17
|
+
* <p>
|
|
18
|
+
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to
|
|
19
|
+
* an administrator. If you're an administrator who needs to write policies to give users access, see
|
|
20
|
+
* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export interface LustreFileSystem {
|
|
24
|
+
/**
|
|
25
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system.
|
|
26
|
+
*/
|
|
27
|
+
"id": string;
|
|
28
|
+
/**
|
|
29
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Lustre file system.
|
|
30
|
+
*/
|
|
31
|
+
"compartmentId": string;
|
|
32
|
+
/**
|
|
33
|
+
* The availability domain the file system is in. May be unset
|
|
34
|
+
* as a blank or NULL value.
|
|
35
|
+
* <p>
|
|
36
|
+
Example: {@code Uocm:PHX-AD-1}
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
"availabilityDomain": string;
|
|
40
|
+
/**
|
|
41
|
+
* A user-friendly name. It does not have to be unique, and it is changeable.
|
|
42
|
+
* Avoid entering confidential information.
|
|
43
|
+
* <p>
|
|
44
|
+
Example: {@code My Lustre file system}
|
|
45
|
+
*
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
"displayName": string;
|
|
49
|
+
/**
|
|
50
|
+
* Short description of the Lustre file system.
|
|
51
|
+
* Avoid entering confidential information.
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
"fileSystemDescription": string;
|
|
55
|
+
/**
|
|
56
|
+
* The date and time the Lustre file system was created, expressed
|
|
57
|
+
* in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
|
|
58
|
+
* <p>
|
|
59
|
+
Example: {@code 2024-04-25T21:10:29.600Z}
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
"timeCreated": Date;
|
|
63
|
+
/**
|
|
64
|
+
* The date and time the Lustre file system was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
65
|
+
* <p>
|
|
66
|
+
Example: {@code 2024-04-25T21:10:29.600Z}
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
"timeUpdated": Date;
|
|
70
|
+
/**
|
|
71
|
+
* The current state of the Lustre file system.
|
|
72
|
+
*/
|
|
73
|
+
"lifecycleState": LustreFileSystem.LifecycleState;
|
|
74
|
+
/**
|
|
75
|
+
* A message that describes the current state of the Lustre file system in more detail. For example,
|
|
76
|
+
* can be used to provide actionable information for a resource in the Failed state.
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
"lifecycleDetails"?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
82
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
83
|
+
* <p>
|
|
84
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
"freeformTags": {
|
|
88
|
+
[key: string]: string;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
92
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
93
|
+
* <p>
|
|
94
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
95
|
+
*
|
|
96
|
+
*/
|
|
97
|
+
"definedTags": {
|
|
98
|
+
[key: string]: {
|
|
99
|
+
[key: string]: any;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
104
|
+
* <p>
|
|
105
|
+
Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
"systemTags": {
|
|
109
|
+
[key: string]: {
|
|
110
|
+
[key: string]: any;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* A list of Network Security Group [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this lustre file system.
|
|
115
|
+
* A maximum of 5 is allowed.
|
|
116
|
+
* Setting this to an empty array after the list is created removes the lustre file system from all NSGs.
|
|
117
|
+
* For more information about NSGs, see [Security Rules](https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm).
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
"nsgIds"?: Array<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key used to encrypt the encryption keys associated with this file system.
|
|
123
|
+
*
|
|
124
|
+
*/
|
|
125
|
+
"kmsKeyId"?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Capacity of the Lustre file system in GB. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
128
|
+
*/
|
|
129
|
+
"capacityInGBs": number;
|
|
130
|
+
/**
|
|
131
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the Lustre file system is in.
|
|
132
|
+
*/
|
|
133
|
+
"subnetId": string;
|
|
134
|
+
/**
|
|
135
|
+
* The Lustre file system performance tier. A value of {@code MBPS_PER_TB_125} represents 125 megabytes per second per terabyte.
|
|
136
|
+
*/
|
|
137
|
+
"performanceTier": LustreFileSystem.PerformanceTier;
|
|
138
|
+
/**
|
|
139
|
+
* The IPv4 address of MGS (Lustre Management Service) used by clients to mount the file system. For example '10.0.0.4'.
|
|
140
|
+
*/
|
|
141
|
+
"managementServiceAddress": string;
|
|
142
|
+
/**
|
|
143
|
+
* The Lustre file system name. This is used in mount commands and other aspects of the client command line interface.
|
|
144
|
+
* The default file system name is 'lustre'. The file system name is limited to 8 characters. Allowed characters are lower and upper case English letters, numbers, and '_'.
|
|
145
|
+
*
|
|
146
|
+
*/
|
|
147
|
+
"fileSystemName": string;
|
|
148
|
+
/**
|
|
149
|
+
* Type of network used by clients to mount the file system.
|
|
150
|
+
* <p>
|
|
151
|
+
Example: {@code tcp}
|
|
152
|
+
*
|
|
153
|
+
*/
|
|
154
|
+
"lnet": string;
|
|
155
|
+
/**
|
|
156
|
+
* Major version of Lustre running in the Lustre file system.
|
|
157
|
+
* Example: {@code 2.15}
|
|
158
|
+
*
|
|
159
|
+
*/
|
|
160
|
+
"majorVersion": string;
|
|
161
|
+
/**
|
|
162
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group in which the Lustre file system exists.
|
|
163
|
+
*/
|
|
164
|
+
"clusterPlacementGroupId"?: string;
|
|
165
|
+
/**
|
|
166
|
+
* The date and time that the current billing cycle for the file system will end, expressed in
|
|
167
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. After the current cycle ends,
|
|
168
|
+
* this date is updated automatically to the next timestamp, which is 30 days later.
|
|
169
|
+
* File systems deleted earlier than this time will still incur charges until the billing cycle ends.
|
|
170
|
+
* <p>
|
|
171
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
172
|
+
*
|
|
173
|
+
*/
|
|
174
|
+
"timeBillingCycleEnd"?: Date;
|
|
175
|
+
"maintenanceWindow": model.MaintenanceWindow;
|
|
176
|
+
"rootSquashConfiguration": model.RootSquashConfiguration;
|
|
177
|
+
}
|
|
178
|
+
export declare namespace LustreFileSystem {
|
|
179
|
+
enum LifecycleState {
|
|
180
|
+
Creating = "CREATING",
|
|
181
|
+
Updating = "UPDATING",
|
|
182
|
+
Active = "ACTIVE",
|
|
183
|
+
Inactive = "INACTIVE",
|
|
184
|
+
Deleting = "DELETING",
|
|
185
|
+
Deleted = "DELETED",
|
|
186
|
+
Failed = "FAILED",
|
|
187
|
+
/**
|
|
188
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
189
|
+
* version of the SDK.
|
|
190
|
+
*/
|
|
191
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
192
|
+
}
|
|
193
|
+
enum PerformanceTier {
|
|
194
|
+
MbpsPerTb125 = "MBPS_PER_TB_125",
|
|
195
|
+
MbpsPerTb250 = "MBPS_PER_TB_250",
|
|
196
|
+
MbpsPerTb500 = "MBPS_PER_TB_500",
|
|
197
|
+
MbpsPerTb1000 = "MBPS_PER_TB_1000",
|
|
198
|
+
/**
|
|
199
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
200
|
+
* version of the SDK.
|
|
201
|
+
*/
|
|
202
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
203
|
+
}
|
|
204
|
+
function getJsonObj(obj: LustreFileSystem): object;
|
|
205
|
+
function getDeserializedJsonObj(obj: LustreFileSystem): object;
|
|
206
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* File Storage with Lustre API
|
|
4
|
+
* Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see [File Storage with Lustre](https://docs.oracle.com/iaas/Content/lustre/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20250228
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.LustreFileSystem = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var LustreFileSystem;
|
|
37
|
+
(function (LustreFileSystem) {
|
|
38
|
+
let LifecycleState;
|
|
39
|
+
(function (LifecycleState) {
|
|
40
|
+
LifecycleState["Creating"] = "CREATING";
|
|
41
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
42
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
43
|
+
LifecycleState["Inactive"] = "INACTIVE";
|
|
44
|
+
LifecycleState["Deleting"] = "DELETING";
|
|
45
|
+
LifecycleState["Deleted"] = "DELETED";
|
|
46
|
+
LifecycleState["Failed"] = "FAILED";
|
|
47
|
+
/**
|
|
48
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
49
|
+
* version of the SDK.
|
|
50
|
+
*/
|
|
51
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
52
|
+
})(LifecycleState = LustreFileSystem.LifecycleState || (LustreFileSystem.LifecycleState = {}));
|
|
53
|
+
let PerformanceTier;
|
|
54
|
+
(function (PerformanceTier) {
|
|
55
|
+
PerformanceTier["MbpsPerTb125"] = "MBPS_PER_TB_125";
|
|
56
|
+
PerformanceTier["MbpsPerTb250"] = "MBPS_PER_TB_250";
|
|
57
|
+
PerformanceTier["MbpsPerTb500"] = "MBPS_PER_TB_500";
|
|
58
|
+
PerformanceTier["MbpsPerTb1000"] = "MBPS_PER_TB_1000";
|
|
59
|
+
/**
|
|
60
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
61
|
+
* version of the SDK.
|
|
62
|
+
*/
|
|
63
|
+
PerformanceTier["UnknownValue"] = "UNKNOWN_VALUE";
|
|
64
|
+
})(PerformanceTier = LustreFileSystem.PerformanceTier || (LustreFileSystem.PerformanceTier = {}));
|
|
65
|
+
function getJsonObj(obj) {
|
|
66
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
67
|
+
"maintenanceWindow": obj.maintenanceWindow
|
|
68
|
+
? model.MaintenanceWindow.getJsonObj(obj.maintenanceWindow)
|
|
69
|
+
: undefined,
|
|
70
|
+
"rootSquashConfiguration": obj.rootSquashConfiguration
|
|
71
|
+
? model.RootSquashConfiguration.getJsonObj(obj.rootSquashConfiguration)
|
|
72
|
+
: undefined
|
|
73
|
+
});
|
|
74
|
+
return jsonObj;
|
|
75
|
+
}
|
|
76
|
+
LustreFileSystem.getJsonObj = getJsonObj;
|
|
77
|
+
function getDeserializedJsonObj(obj) {
|
|
78
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
79
|
+
"maintenanceWindow": obj.maintenanceWindow
|
|
80
|
+
? model.MaintenanceWindow.getDeserializedJsonObj(obj.maintenanceWindow)
|
|
81
|
+
: undefined,
|
|
82
|
+
"rootSquashConfiguration": obj.rootSquashConfiguration
|
|
83
|
+
? model.RootSquashConfiguration.getDeserializedJsonObj(obj.rootSquashConfiguration)
|
|
84
|
+
: undefined
|
|
85
|
+
});
|
|
86
|
+
return jsonObj;
|
|
87
|
+
}
|
|
88
|
+
LustreFileSystem.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
89
|
+
})(LustreFileSystem = exports.LustreFileSystem || (exports.LustreFileSystem = {}));
|
|
90
|
+
//# sourceMappingURL=lustre-file-system.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lustre-file-system.js","sourceRoot":"","sources":["../../../../../lib/lustrefilestorage/lib/model/lustre-file-system.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8JlC,IAAiB,gBAAgB,CA0DhC;AA1DD,WAAiB,gBAAgB;IAC/B,IAAY,cAaX;IAbD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAbW,cAAc,GAAd,+BAAc,KAAd,+BAAc,QAazB;IAED,IAAY,eAUX;IAVD,WAAY,eAAe;QACzB,mDAAgC,CAAA;QAChC,mDAAgC,CAAA;QAChC,mDAAgC,CAAA;QAChC,qDAAkC,CAAA;QAClC;;;WAGG;QACH,iDAA8B,CAAA;IAChC,CAAC,EAVW,eAAe,GAAf,gCAAe,KAAf,gCAAe,QAU1B;IAED,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBAC3D,CAAC,CAAC,SAAS;YACb,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACvE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,2BAAU,aAczB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACvE,CAAC,CAAC,SAAS;YACb,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACnF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,uCAAsB,yBAcrC,CAAA;AACH,CAAC,EA1DgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QA0DhC"}
|