@nutanix-scratch/objects-js-client 4.0.1-beta.1 → 4.0.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/README.md +33 -20
- package/dist/Ntnx-Objects-js-client-prod.js +1 -1
- package/dist/Ntnx-Objects-js-client.js +331 -259
- package/dist/es/ApiClient.d.ts +35 -7
- package/dist/es/ApiClient.js +862 -684
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +144 -183
- package/dist/es/apis/objectstores-endpoints.d.ts +9 -70
- package/dist/es/apis/objectstores-endpoints.js +407 -477
- package/dist/es/apis/stats-endpoints.d.ts +46 -0
- package/dist/es/apis/stats-endpoints.js +122 -0
- package/dist/es/index.d.ts +13 -1
- package/dist/es/index.js +152 -104
- package/dist/es/models/common/v1/config/FQDN.d.ts +2 -7
- package/dist/es/models/common/v1/config/FQDN.js +141 -180
- package/dist/es/models/common/v1/config/Flag.d.ts +2 -8
- package/dist/es/models/common/v1/config/Flag.js +170 -211
- package/dist/es/models/common/v1/config/IPAddress.d.ts +2 -20
- package/dist/es/models/common/v1/config/IPAddress.js +170 -217
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +2 -8
- package/dist/es/models/common/v1/config/IPv4Address.js +174 -215
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +2 -8
- package/dist/es/models/common/v1/config/IPv6Address.js +174 -215
- package/dist/es/models/common/v1/config/KVPair.d.ts +2 -8
- package/dist/es/models/common/v1/config/KVPair.js +225 -270
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +139 -178
- package/dist/es/models/common/v1/config/Message.d.ts +2 -10
- package/dist/es/models/common/v1/config/Message.js +213 -258
- package/dist/es/models/common/v1/config/MessageSeverity.js +7 -9
- package/dist/es/models/common/v1/config/Metadata.d.ts +2 -11
- package/dist/es/models/common/v1/config/Metadata.js +261 -308
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +5 -10
- package/dist/es/models/common/v1/config/TenantAwareModel.js +138 -178
- package/dist/es/models/common/v1/response/ApiLink.d.ts +2 -8
- package/dist/es/models/common/v1/response/ApiLink.js +165 -206
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +281 -344
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +155 -203
- package/dist/es/models/common/v1/stats/DownSamplingOperator.d.ts +19 -0
- package/dist/es/models/common/v1/stats/DownSamplingOperator.js +107 -0
- package/dist/es/models/common/v1/stats/TimeIntValuePair.d.ts +58 -0
- package/dist/es/models/common/v1/stats/TimeIntValuePair.js +272 -0
- package/dist/es/models/objects/v4/config/Certificate.d.ts +24 -34
- package/dist/es/models/objects/v4/config/Certificate.js +342 -310
- package/dist/es/models/objects/v4/config/CertificateProjection.d.ts +1 -1
- package/dist/es/models/objects/v4/config/CertificateProjection.js +75 -103
- package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.js +187 -242
- package/dist/es/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/config/CreateObjectstoreApiResponse.js +187 -242
- package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.js +187 -242
- package/dist/es/models/objects/v4/config/GetCaApiResponse.d.ts +2 -45
- package/dist/es/models/objects/v4/config/GetCaApiResponse.js +187 -242
- package/dist/es/models/objects/v4/config/GetCertificateApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/config/GetCertificateApiResponse.js +187 -242
- package/dist/es/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/config/GetObjectstoreApiResponse.js +187 -242
- package/dist/es/models/objects/v4/config/ListCertificatesApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/config/ListCertificatesApiResponse.js +213 -268
- package/dist/es/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/config/ListObjectstoresApiResponse.js +213 -268
- package/dist/es/models/objects/v4/config/ObjectStore.d.ts +1 -96
- package/dist/es/models/objects/v4/config/ObjectStore.js +629 -712
- package/dist/es/models/objects/v4/config/ObjectStoreProjection.d.ts +1 -129
- package/dist/es/models/objects/v4/config/ObjectStoreProjection.js +222 -239
- package/dist/es/models/objects/v4/config/State.js +7 -9
- package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.js +187 -242
- package/dist/es/models/objects/v4/error/AppMessage.d.ts +5 -15
- package/dist/es/models/objects/v4/error/AppMessage.js +265 -314
- package/dist/es/models/objects/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/es/models/objects/v4/error/ErrorResponse.js +177 -219
- package/dist/es/models/objects/v4/error/SchemaValidationError.d.ts +2 -18
- package/dist/es/models/objects/v4/error/SchemaValidationError.js +249 -300
- package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
- package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.js +191 -234
- package/dist/es/models/objects/v4/stats/GetObjectstoreStatsApiResponse.d.ts +58 -0
- package/dist/es/models/objects/v4/stats/GetObjectstoreStatsApiResponse.js +288 -0
- package/dist/es/models/objects/v4/stats/ObjectstoreStats.d.ts +255 -0
- package/dist/es/models/objects/v4/stats/ObjectstoreStats.js +1253 -0
- package/dist/es/models/objects/v4/stats/TimeFloatValuePair.d.ts +58 -0
- package/dist/es/models/objects/v4/stats/TimeFloatValuePair.js +272 -0
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +2 -7
- package/dist/es/models/prism/v4/config/TaskReference.js +142 -181
- package/dist/es/models/validation/ValidationError.js +26 -42
- package/dist/es/models/validation/ValidationScopes.js +3 -3
- package/dist/es/utils/ValidationUtils.js +39 -69
- package/dist/lib/ApiClient.d.ts +35 -7
- package/dist/lib/ApiClient.js +862 -684
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +144 -183
- package/dist/lib/apis/objectstores-endpoints.d.ts +9 -70
- package/dist/lib/apis/objectstores-endpoints.js +407 -477
- package/dist/lib/apis/stats-endpoints.d.ts +46 -0
- package/dist/lib/apis/stats-endpoints.js +122 -0
- package/dist/lib/index.d.ts +13 -1
- package/dist/lib/index.js +152 -104
- package/dist/lib/models/common/v1/config/FQDN.d.ts +2 -7
- package/dist/lib/models/common/v1/config/FQDN.js +141 -180
- package/dist/lib/models/common/v1/config/Flag.d.ts +2 -8
- package/dist/lib/models/common/v1/config/Flag.js +170 -211
- package/dist/lib/models/common/v1/config/IPAddress.d.ts +2 -20
- package/dist/lib/models/common/v1/config/IPAddress.js +170 -217
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +2 -8
- package/dist/lib/models/common/v1/config/IPv4Address.js +174 -215
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +2 -8
- package/dist/lib/models/common/v1/config/IPv6Address.js +174 -215
- package/dist/lib/models/common/v1/config/KVPair.d.ts +2 -8
- package/dist/lib/models/common/v1/config/KVPair.js +225 -270
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +139 -178
- package/dist/lib/models/common/v1/config/Message.d.ts +2 -10
- package/dist/lib/models/common/v1/config/Message.js +213 -258
- package/dist/lib/models/common/v1/config/MessageSeverity.js +7 -9
- package/dist/lib/models/common/v1/config/Metadata.d.ts +2 -11
- package/dist/lib/models/common/v1/config/Metadata.js +261 -308
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +5 -10
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +138 -178
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +2 -8
- package/dist/lib/models/common/v1/response/ApiLink.js +165 -206
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +281 -344
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +155 -203
- package/dist/lib/models/common/v1/stats/DownSamplingOperator.d.ts +19 -0
- package/dist/lib/models/common/v1/stats/DownSamplingOperator.js +107 -0
- package/dist/lib/models/common/v1/stats/TimeIntValuePair.d.ts +58 -0
- package/dist/lib/models/common/v1/stats/TimeIntValuePair.js +272 -0
- package/dist/lib/models/objects/v4/config/Certificate.d.ts +24 -34
- package/dist/lib/models/objects/v4/config/Certificate.js +342 -310
- package/dist/lib/models/objects/v4/config/CertificateProjection.d.ts +1 -1
- package/dist/lib/models/objects/v4/config/CertificateProjection.js +75 -103
- package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.js +187 -242
- package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.js +187 -242
- package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.js +187 -242
- package/dist/lib/models/objects/v4/config/GetCaApiResponse.d.ts +2 -45
- package/dist/lib/models/objects/v4/config/GetCaApiResponse.js +187 -242
- package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.js +187 -242
- package/dist/lib/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/config/GetObjectstoreApiResponse.js +187 -242
- package/dist/lib/models/objects/v4/config/ListCertificatesApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/config/ListCertificatesApiResponse.js +213 -268
- package/dist/lib/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/config/ListObjectstoresApiResponse.js +213 -268
- package/dist/lib/models/objects/v4/config/ObjectStore.d.ts +1 -96
- package/dist/lib/models/objects/v4/config/ObjectStore.js +629 -712
- package/dist/lib/models/objects/v4/config/ObjectStoreProjection.d.ts +1 -129
- package/dist/lib/models/objects/v4/config/ObjectStoreProjection.js +222 -239
- package/dist/lib/models/objects/v4/config/State.js +7 -9
- package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.js +187 -242
- package/dist/lib/models/objects/v4/error/AppMessage.d.ts +5 -15
- package/dist/lib/models/objects/v4/error/AppMessage.js +265 -314
- package/dist/lib/models/objects/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/lib/models/objects/v4/error/ErrorResponse.js +177 -219
- package/dist/lib/models/objects/v4/error/SchemaValidationError.d.ts +2 -18
- package/dist/lib/models/objects/v4/error/SchemaValidationError.js +249 -300
- package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
- package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.js +191 -234
- package/dist/lib/models/objects/v4/stats/GetObjectstoreStatsApiResponse.d.ts +58 -0
- package/dist/lib/models/objects/v4/stats/GetObjectstoreStatsApiResponse.js +288 -0
- package/dist/lib/models/objects/v4/stats/ObjectstoreStats.d.ts +255 -0
- package/dist/lib/models/objects/v4/stats/ObjectstoreStats.js +1253 -0
- package/dist/lib/models/objects/v4/stats/TimeFloatValuePair.d.ts +58 -0
- package/dist/lib/models/objects/v4/stats/TimeFloatValuePair.js +272 -0
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +2 -7
- package/dist/lib/models/prism/v4/config/TaskReference.js +142 -181
- package/dist/lib/models/validation/ValidationError.js +26 -42
- package/dist/lib/models/validation/ValidationScopes.js +3 -3
- package/dist/lib/utils/ValidationUtils.js +39 -69
- package/package.json +2 -2
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _ApiResponseMetadata = _interopRequireDefault(require("../../../common/v1/response/ApiResponseMetadata"));
|
|
8
|
+
var _ErrorResponse = _interopRequireDefault(require("../error/ErrorResponse"));
|
|
9
|
+
var _ObjectstoreStats = _interopRequireDefault(require("./ObjectstoreStats"));
|
|
10
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
11
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
12
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
13
|
+
var _Paginable = _interopRequireDefault(require("../../../../Paginable"));
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
16
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
17
|
+
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
18
|
+
* Nutanix Objects Storage Management APIs
|
|
19
|
+
*
|
|
20
|
+
* OpenAPI spec version: 4.0.2
|
|
21
|
+
*
|
|
22
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
23
|
+
*
|
|
24
|
+
* Open API Dev Platform Codegen version: 17.5.0.10128-RELEASE
|
|
25
|
+
*
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* The GetObjectstoreStatsApiResponse model module.
|
|
31
|
+
* @module Ntnx/GetObjectstoreStatsApiResponse
|
|
32
|
+
* @version 4.0.2
|
|
33
|
+
* @class GetObjectstoreStatsApiResponse
|
|
34
|
+
*/
|
|
35
|
+
var _GetObjectstoreStatsApiResponse_brand = /*#__PURE__*/new WeakSet();
|
|
36
|
+
class GetObjectstoreStatsApiResponse extends _Paginable.default {
|
|
37
|
+
/**
|
|
38
|
+
* Constructs a new <code>GetObjectstoreStatsApiResponse</code>.
|
|
39
|
+
* REST response for all response codes in API path /objects/v4.0/stats/object-stores/{extId} Get operation
|
|
40
|
+
* @alias module:Ntnx/GetObjectstoreStatsApiResponse
|
|
41
|
+
*/
|
|
42
|
+
constructor() {
|
|
43
|
+
super();
|
|
44
|
+
/*
|
|
45
|
+
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
46
|
+
* @param {Object} obj
|
|
47
|
+
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
48
|
+
* Otherwise, just returns the input object.
|
|
49
|
+
*/
|
|
50
|
+
_classPrivateMethodInitSpec(this, _GetObjectstoreStatsApiResponse_brand);
|
|
51
|
+
this.$objectType = "objects.v4.stats.GetObjectstoreStatsApiResponse";
|
|
52
|
+
/** @type {object<string, any>} */
|
|
53
|
+
this.$reserved = {
|
|
54
|
+
'$fv': "v4.r0"
|
|
55
|
+
};
|
|
56
|
+
/** @type {object<string, any>} */
|
|
57
|
+
this.$unknownFields = {};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Constructs a <code>GetObjectstoreStatsApiResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
62
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
63
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
64
|
+
* @param {module:Ntnx/GetObjectstoreStatsApiResponse} obj Optional instance to populate.
|
|
65
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
66
|
+
* @return {module:Ntnx/GetObjectstoreStatsApiResponse} The populated <code>GetObjectstoreStatsApiResponse</code> instance.
|
|
67
|
+
*/
|
|
68
|
+
static constructFromObject(data, obj = null, callFromChild = false) {
|
|
69
|
+
let items, item, i, itemArr, discriminator;
|
|
70
|
+
if (data) {
|
|
71
|
+
obj = obj || new GetObjectstoreStatsApiResponse();
|
|
72
|
+
if (data.hasOwnProperty('metadata')) {
|
|
73
|
+
_Paginable.default.constructFromObject(data['metadata'], obj);
|
|
74
|
+
}
|
|
75
|
+
if (data.hasOwnProperty('metadata') && data.metadata !== null && data.metadata !== undefined) {
|
|
76
|
+
obj.setMetadata(_ApiResponseMetadata.default.constructFromObject(data['metadata']));
|
|
77
|
+
}
|
|
78
|
+
if (data.hasOwnProperty('data') && data.data !== null && data.data !== undefined) {
|
|
79
|
+
if (data['data'].hasOwnProperty('$objectType')) {
|
|
80
|
+
discriminator = data['data']['$objectType'];
|
|
81
|
+
} else {
|
|
82
|
+
discriminator = typeof data['data'];
|
|
83
|
+
}
|
|
84
|
+
switch (discriminator) {
|
|
85
|
+
case 'objects.v4.stats.ObjectstoreStats':
|
|
86
|
+
obj.setData(_ObjectstoreStats.default.constructFromObject(data['data'], undefined));
|
|
87
|
+
break;
|
|
88
|
+
case 'objects.v4.error.ErrorResponse':
|
|
89
|
+
obj.setData(_ErrorResponse.default.constructFromObject(data['data'], undefined));
|
|
90
|
+
break;
|
|
91
|
+
default:
|
|
92
|
+
throw "Unknown datatype " + discriminator + " in data";
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
if (data.hasOwnProperty('$reserved')) {
|
|
96
|
+
obj.$reserved = data['$reserved'];
|
|
97
|
+
}
|
|
98
|
+
if (data.hasOwnProperty('$objectType')) {
|
|
99
|
+
obj.$objectType = data['$objectType'];
|
|
100
|
+
}
|
|
101
|
+
if (data.hasOwnProperty('$unknownFields')) {
|
|
102
|
+
obj.$unknownFields = data['$unknownFields'];
|
|
103
|
+
}
|
|
104
|
+
if (!callFromChild) {
|
|
105
|
+
obj.$unknownFields = {
|
|
106
|
+
...data.$unknownFields
|
|
107
|
+
};
|
|
108
|
+
for (const property in data) {
|
|
109
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
110
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
111
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
112
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
113
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
114
|
+
obj.$unknownFields[property] = data[property];
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
return obj;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Converts a given snake_case string to camelCase.
|
|
124
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
125
|
+
* @returns {string} - The converted string in camelCase format.
|
|
126
|
+
*/
|
|
127
|
+
static snakeToCamel(snakeStr) {
|
|
128
|
+
return snakeStr.replace(/(_\w)/g, match => match[1].toUpperCase());
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @return {ApiResponseMetadata}
|
|
133
|
+
*/
|
|
134
|
+
getMetadata() {
|
|
135
|
+
return this.metadata;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @param {ApiResponseMetadata} metadata
|
|
140
|
+
*/
|
|
141
|
+
setMetadata(metadata) {
|
|
142
|
+
this.metadata = metadata;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @return {ObjectstoreStats | ErrorResponse}
|
|
147
|
+
*/
|
|
148
|
+
getData() {
|
|
149
|
+
return this.data;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @param {ObjectstoreStats | ErrorResponse} data
|
|
154
|
+
*/
|
|
155
|
+
setData(data) {
|
|
156
|
+
this.data = data;
|
|
157
|
+
}
|
|
158
|
+
get$Reserved() {
|
|
159
|
+
return this.$reserved;
|
|
160
|
+
}
|
|
161
|
+
get$ObjectType() {
|
|
162
|
+
return this.$objectType;
|
|
163
|
+
}
|
|
164
|
+
get$UnknownFields() {
|
|
165
|
+
return this.$unknownFields;
|
|
166
|
+
}
|
|
167
|
+
toJson(forMutation) {
|
|
168
|
+
if (forMutation === false) {
|
|
169
|
+
return {
|
|
170
|
+
...(typeof this.getMetadata() !== 'undefined' && this.getMetadata() !== null ? {
|
|
171
|
+
'metadata': this.getMetadata().toJson(false)
|
|
172
|
+
} : {}),
|
|
173
|
+
...(typeof this.getData() !== 'undefined' && this.getData() !== null ? {
|
|
174
|
+
'data': typeof this.getData().toJson !== "undefined" ? this.getData().toJson(false) : Array.isArray(this.getData()) ? this.getData().map(item => typeof item.toJson !== "undefined" ? item.toJson(false) : item) : _assertClassBrand(_GetObjectstoreStatsApiResponse_brand, this, _toJsonMapType).call(this, this.getData(), false)
|
|
175
|
+
} : {}),
|
|
176
|
+
'$reserved': this.get$Reserved(),
|
|
177
|
+
'$objectType': this.get$ObjectType(),
|
|
178
|
+
...(typeof this.get$UnknownFields() !== 'undefined' && this.get$UnknownFields() !== null ? this.get$UnknownFields() : {}),
|
|
179
|
+
'$unknownFields': {}
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
return {
|
|
183
|
+
...(typeof this.getMetadata() !== 'undefined' && this.getMetadata() !== null ? {
|
|
184
|
+
'metadata': this.getMetadata().toJson(false)
|
|
185
|
+
} : {}),
|
|
186
|
+
...(typeof this.getData() !== 'undefined' && this.getData() !== null ? {
|
|
187
|
+
'data': typeof this.getData().toJson !== "undefined" ? this.getData().toJson() : Array.isArray(this.getData()) ? this.getData().map(item => typeof item.toJson !== "undefined" ? item.toJson() : item) : _assertClassBrand(_GetObjectstoreStatsApiResponse_brand, this, _toJsonMapType).call(this, this.getData())
|
|
188
|
+
} : {}),
|
|
189
|
+
'$reserved': this.get$Reserved(),
|
|
190
|
+
'$objectType': this.get$ObjectType(),
|
|
191
|
+
...(typeof this.get$UnknownFields() !== 'undefined' && this.get$UnknownFields() !== null ? this.get$UnknownFields() : {}),
|
|
192
|
+
'$unknownFields': {}
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
validate(scope, properties) {
|
|
196
|
+
let propList = [];
|
|
197
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes.default) {
|
|
198
|
+
//cases validate() and validate(scope)
|
|
199
|
+
propList = [];
|
|
200
|
+
} else if (arguments.length === 1) {
|
|
201
|
+
//case validate(properties)
|
|
202
|
+
propList = arguments[0];
|
|
203
|
+
scope = null;
|
|
204
|
+
} else {
|
|
205
|
+
//case validate(scope, properties)
|
|
206
|
+
propList = arguments[1];
|
|
207
|
+
}
|
|
208
|
+
let res = [];
|
|
209
|
+
let err = null;
|
|
210
|
+
propList.forEach(property => {
|
|
211
|
+
err = this.validateProperty(property, scope);
|
|
212
|
+
if (err) {
|
|
213
|
+
res.push(err);
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
return new Promise(function (resolve, reject) {
|
|
217
|
+
if (res.length !== 0) {
|
|
218
|
+
reject(err);
|
|
219
|
+
} else {
|
|
220
|
+
resolve();
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
validateProperty(scope, property) {
|
|
225
|
+
if (property === "metadata") {
|
|
226
|
+
if (typeof this.metadata === 'undefined' || this.metadata === null) {
|
|
227
|
+
return new _ValidationError.default("metadata", "undefined or null");
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
if (property === "data") {
|
|
231
|
+
if (typeof this.data === 'undefined' || this.data === null) {
|
|
232
|
+
return new _ValidationError.default("data", "undefined or null");
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
if (property === "$reserved") {
|
|
236
|
+
if (typeof this.$reserved === 'undefined' || this.$reserved === null) {
|
|
237
|
+
return new _ValidationError.default("$reserved", "undefined or null");
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
if (property === "$objectType") {
|
|
241
|
+
if (typeof this.$objectType === 'undefined' || this.$objectType === null) {
|
|
242
|
+
return new _ValidationError.default("$objectType", "undefined or null");
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
if (property === "$unknownFields") {
|
|
246
|
+
if (typeof this.$unknownFields === 'undefined' || this.$unknownFields === null) {
|
|
247
|
+
return new _ValidationError.default("$unknownFields", "undefined or null");
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
return new _ValidationError.default(property, "no such property exists");
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* @memberof GetObjectstoreStatsApiResponse
|
|
256
|
+
*/
|
|
257
|
+
exports.default = GetObjectstoreStatsApiResponse;
|
|
258
|
+
function _toJsonMapType(obj, forMutation) {
|
|
259
|
+
if (obj instanceof Map) {
|
|
260
|
+
return Object.fromEntries(Array.from(obj, ([k, v]) => [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v]));
|
|
261
|
+
} else if (typeof obj === 'object' && obj != null && obj.constructor === Object) {
|
|
262
|
+
return Object.fromEntries(Array.from(Object.entries(obj), entry => {
|
|
263
|
+
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
264
|
+
}));
|
|
265
|
+
}
|
|
266
|
+
return obj;
|
|
267
|
+
}
|
|
268
|
+
/*
|
|
269
|
+
* toJson method for a date type which serializes a Date object to proper Date or DateTime formatting
|
|
270
|
+
* @param {Object} obj Object to serialize
|
|
271
|
+
* @param {boolean} isDateOnly Boolean variable to identify Date or DateTime format for serialization
|
|
272
|
+
* @returns {Object|string} Returns serialized date object or original input object
|
|
273
|
+
*/
|
|
274
|
+
function _handleDateType(obj, isDateOnly) {
|
|
275
|
+
if (obj instanceof Date && isDateOnly !== undefined) {
|
|
276
|
+
return isDateOnly ? obj.toISOString().slice(0, 10) : obj.toISOString();
|
|
277
|
+
}
|
|
278
|
+
return obj;
|
|
279
|
+
}
|
|
280
|
+
GetObjectstoreStatsApiResponse.prototype.metadata = undefined;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @memberof GetObjectstoreStatsApiResponse
|
|
284
|
+
*/
|
|
285
|
+
GetObjectstoreStatsApiResponse.prototype.data = undefined;
|
|
286
|
+
GetObjectstoreStatsApiResponse.prototype.$reserved = undefined;
|
|
287
|
+
GetObjectstoreStatsApiResponse.prototype.$objectType = undefined;
|
|
288
|
+
GetObjectstoreStatsApiResponse.prototype.$unknownFields = undefined;
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ObjectstoreStats model module.
|
|
3
|
+
* @module Ntnx/ObjectstoreStats
|
|
4
|
+
* @version 4.0.2
|
|
5
|
+
* @class ObjectstoreStats
|
|
6
|
+
* @extends ExternalizableAbstractModel
|
|
7
|
+
*/
|
|
8
|
+
export default class ObjectstoreStats extends ExternalizableAbstractModel {
|
|
9
|
+
/**
|
|
10
|
+
* Returns Number of Objects in the Object store. This stat is updated every 10 minutes. It includes the count of the incomplete multipart uploads.
|
|
11
|
+
* @return {TimeIntValuePair[]}
|
|
12
|
+
*/
|
|
13
|
+
getObjectCount(): TimeIntValuePair[];
|
|
14
|
+
/**
|
|
15
|
+
* Sets Number of Objects in the Object store. This stat is updated every 10 minutes. It includes the count of the incomplete multipart uploads.
|
|
16
|
+
* @param {TimeIntValuePair[]} objectCount Number of Objects in the Object store. This stat is updated every 10 minutes. It includes the count of the incomplete multipart uploads.
|
|
17
|
+
*/
|
|
18
|
+
setObjectCount(objectCount: TimeIntValuePair[]): void;
|
|
19
|
+
objectCount: TimeIntValuePair[];
|
|
20
|
+
/**
|
|
21
|
+
* Returns Number of Buckets in the Object store. This stat is updated every 10 minutes.
|
|
22
|
+
* @return {TimeIntValuePair[]}
|
|
23
|
+
*/
|
|
24
|
+
getBucketCount(): TimeIntValuePair[];
|
|
25
|
+
/**
|
|
26
|
+
* Sets Number of Buckets in the Object store. This stat is updated every 10 minutes.
|
|
27
|
+
* @param {TimeIntValuePair[]} bucketCount Number of Buckets in the Object store. This stat is updated every 10 minutes.
|
|
28
|
+
*/
|
|
29
|
+
setBucketCount(bucketCount: TimeIntValuePair[]): void;
|
|
30
|
+
bucketCount: TimeIntValuePair[];
|
|
31
|
+
/**
|
|
32
|
+
* Returns Total storage in bytes used by the Objects and Buckets. This stat is updated every 10 minutes. It includes the storage used by the incomplete multipart uploads.
|
|
33
|
+
* @return {TimeIntValuePair[]}
|
|
34
|
+
*/
|
|
35
|
+
getStorageUsageBytes(): TimeIntValuePair[];
|
|
36
|
+
/**
|
|
37
|
+
* Sets Total storage in bytes used by the Objects and Buckets. This stat is updated every 10 minutes. It includes the storage used by the incomplete multipart uploads.
|
|
38
|
+
* @param {TimeIntValuePair[]} storageUsageBytes Total storage in bytes used by the Objects and Buckets. This stat is updated every 10 minutes. It includes the storage used by the incomplete multipart uploads.
|
|
39
|
+
*/
|
|
40
|
+
setStorageUsageBytes(storageUsageBytes: TimeIntValuePair[]): void;
|
|
41
|
+
storageUsageBytes: TimeIntValuePair[];
|
|
42
|
+
/**
|
|
43
|
+
* Returns Number of bytes written per second to the Object store from operations on the Objects and Buckets.
|
|
44
|
+
* @return {TimeFloatValuePair[]}
|
|
45
|
+
*/
|
|
46
|
+
getInboundBytesPerSecond(): TimeFloatValuePair[];
|
|
47
|
+
/**
|
|
48
|
+
* Sets Number of bytes written per second to the Object store from operations on the Objects and Buckets.
|
|
49
|
+
* @param {TimeFloatValuePair[]} inboundBytesPerSecond Number of bytes written per second to the Object store from operations on the Objects and Buckets.
|
|
50
|
+
*/
|
|
51
|
+
setInboundBytesPerSecond(inboundBytesPerSecond: TimeFloatValuePair[]): void;
|
|
52
|
+
inboundBytesPerSecond: TimeFloatValuePair[];
|
|
53
|
+
/**
|
|
54
|
+
* Returns Number of bytes read per second from the Object store from operations on the Objects and Buckets.
|
|
55
|
+
* @return {TimeFloatValuePair[]}
|
|
56
|
+
*/
|
|
57
|
+
getOutboundBytesPerSecond(): TimeFloatValuePair[];
|
|
58
|
+
/**
|
|
59
|
+
* Sets Number of bytes read per second from the Object store from operations on the Objects and Buckets.
|
|
60
|
+
* @param {TimeFloatValuePair[]} outboundBytesPerSecond Number of bytes read per second from the Object store from operations on the Objects and Buckets.
|
|
61
|
+
*/
|
|
62
|
+
setOutboundBytesPerSecond(outboundBytesPerSecond: TimeFloatValuePair[]): void;
|
|
63
|
+
outboundBytesPerSecond: TimeFloatValuePair[];
|
|
64
|
+
/**
|
|
65
|
+
* Returns Throughput of HTTP GET requests in bytes per second.
|
|
66
|
+
* @return {TimeFloatValuePair[]}
|
|
67
|
+
*/
|
|
68
|
+
getGetRequestThroughputBytesPerSecond(): TimeFloatValuePair[];
|
|
69
|
+
/**
|
|
70
|
+
* Sets Throughput of HTTP GET requests in bytes per second.
|
|
71
|
+
* @param {TimeFloatValuePair[]} getRequestThroughputBytesPerSecond Throughput of HTTP GET requests in bytes per second.
|
|
72
|
+
*/
|
|
73
|
+
setGetRequestThroughputBytesPerSecond(getRequestThroughputBytesPerSecond: TimeFloatValuePair[]): void;
|
|
74
|
+
getRequestThroughputBytesPerSecond: TimeFloatValuePair[];
|
|
75
|
+
/**
|
|
76
|
+
* Returns Throughput of HTTP PUT requests in bytes per second.
|
|
77
|
+
* @return {TimeFloatValuePair[]}
|
|
78
|
+
*/
|
|
79
|
+
getPutRequestThroughputBytesPerSecond(): TimeFloatValuePair[];
|
|
80
|
+
/**
|
|
81
|
+
* Sets Throughput of HTTP PUT requests in bytes per second.
|
|
82
|
+
* @param {TimeFloatValuePair[]} putRequestThroughputBytesPerSecond Throughput of HTTP PUT requests in bytes per second.
|
|
83
|
+
*/
|
|
84
|
+
setPutRequestThroughputBytesPerSecond(putRequestThroughputBytesPerSecond: TimeFloatValuePair[]): void;
|
|
85
|
+
putRequestThroughputBytesPerSecond: TimeFloatValuePair[];
|
|
86
|
+
/**
|
|
87
|
+
* Returns Number of HTTP POST requests per second on the Objects and Buckets of the Object store.
|
|
88
|
+
* @return {TimeFloatValuePair[]}
|
|
89
|
+
*/
|
|
90
|
+
getPostRequestsPerSecond(): TimeFloatValuePair[];
|
|
91
|
+
/**
|
|
92
|
+
* Sets Number of HTTP POST requests per second on the Objects and Buckets of the Object store.
|
|
93
|
+
* @param {TimeFloatValuePair[]} postRequestsPerSecond Number of HTTP POST requests per second on the Objects and Buckets of the Object store.
|
|
94
|
+
*/
|
|
95
|
+
setPostRequestsPerSecond(postRequestsPerSecond: TimeFloatValuePair[]): void;
|
|
96
|
+
postRequestsPerSecond: TimeFloatValuePair[];
|
|
97
|
+
/**
|
|
98
|
+
* Returns Number of HTTP HEAD requests per second on the Objects and Buckets of the Object store.
|
|
99
|
+
* @return {TimeFloatValuePair[]}
|
|
100
|
+
*/
|
|
101
|
+
getHeadRequestsPerSecond(): TimeFloatValuePair[];
|
|
102
|
+
/**
|
|
103
|
+
* Sets Number of HTTP HEAD requests per second on the Objects and Buckets of the Object store.
|
|
104
|
+
* @param {TimeFloatValuePair[]} headRequestsPerSecond Number of HTTP HEAD requests per second on the Objects and Buckets of the Object store.
|
|
105
|
+
*/
|
|
106
|
+
setHeadRequestsPerSecond(headRequestsPerSecond: TimeFloatValuePair[]): void;
|
|
107
|
+
headRequestsPerSecond: TimeFloatValuePair[];
|
|
108
|
+
/**
|
|
109
|
+
* Returns Number of HTTP GET requests per second on the Objects and Buckets of the Object store.
|
|
110
|
+
* @return {TimeFloatValuePair[]}
|
|
111
|
+
*/
|
|
112
|
+
getGetRequestsPerSecond(): TimeFloatValuePair[];
|
|
113
|
+
/**
|
|
114
|
+
* Sets Number of HTTP GET requests per second on the Objects and Buckets of the Object store.
|
|
115
|
+
* @param {TimeFloatValuePair[]} getRequestsPerSecond Number of HTTP GET requests per second on the Objects and Buckets of the Object store.
|
|
116
|
+
*/
|
|
117
|
+
setGetRequestsPerSecond(getRequestsPerSecond: TimeFloatValuePair[]): void;
|
|
118
|
+
getRequestsPerSecond: TimeFloatValuePair[];
|
|
119
|
+
/**
|
|
120
|
+
* Returns Number of HTTP PUT requests per second on the Objects and Buckets of the Object store.
|
|
121
|
+
* @return {TimeFloatValuePair[]}
|
|
122
|
+
*/
|
|
123
|
+
getPutRequestsPerSecond(): TimeFloatValuePair[];
|
|
124
|
+
/**
|
|
125
|
+
* Sets Number of HTTP PUT requests per second on the Objects and Buckets of the Object store.
|
|
126
|
+
* @param {TimeFloatValuePair[]} putRequestsPerSecond Number of HTTP PUT requests per second on the Objects and Buckets of the Object store.
|
|
127
|
+
*/
|
|
128
|
+
setPutRequestsPerSecond(putRequestsPerSecond: TimeFloatValuePair[]): void;
|
|
129
|
+
putRequestsPerSecond: TimeFloatValuePair[];
|
|
130
|
+
/**
|
|
131
|
+
* Returns Number of HTTP DELETE requests per second on the Objects and Buckets of the Object store.
|
|
132
|
+
* @return {TimeFloatValuePair[]}
|
|
133
|
+
*/
|
|
134
|
+
getDeleteRequestsPerSecond(): TimeFloatValuePair[];
|
|
135
|
+
/**
|
|
136
|
+
* Sets Number of HTTP DELETE requests per second on the Objects and Buckets of the Object store.
|
|
137
|
+
* @param {TimeFloatValuePair[]} deleteRequestsPerSecond Number of HTTP DELETE requests per second on the Objects and Buckets of the Object store.
|
|
138
|
+
*/
|
|
139
|
+
setDeleteRequestsPerSecond(deleteRequestsPerSecond: TimeFloatValuePair[]): void;
|
|
140
|
+
deleteRequestsPerSecond: TimeFloatValuePair[];
|
|
141
|
+
/**
|
|
142
|
+
* Returns Number of operations per second on the objects of the Object store.
|
|
143
|
+
* @return {TimeFloatValuePair[]}
|
|
144
|
+
*/
|
|
145
|
+
getObjectOperationsPerSecond(): TimeFloatValuePair[];
|
|
146
|
+
/**
|
|
147
|
+
* Sets Number of operations per second on the objects of the Object store.
|
|
148
|
+
* @param {TimeFloatValuePair[]} objectOperationsPerSecond Number of operations per second on the objects of the Object store.
|
|
149
|
+
*/
|
|
150
|
+
setObjectOperationsPerSecond(objectOperationsPerSecond: TimeFloatValuePair[]): void;
|
|
151
|
+
objectOperationsPerSecond: TimeFloatValuePair[];
|
|
152
|
+
/**
|
|
153
|
+
* Returns Time to the first byte in milliseconds for Get Object requests.
|
|
154
|
+
* @return {TimeFloatValuePair[]}
|
|
155
|
+
*/
|
|
156
|
+
getGetObjectTtfbMsecs(): TimeFloatValuePair[];
|
|
157
|
+
/**
|
|
158
|
+
* Sets Time to the first byte in milliseconds for Get Object requests.
|
|
159
|
+
* @param {TimeFloatValuePair[]} getObjectTtfbMsecs Time to the first byte in milliseconds for Get Object requests.
|
|
160
|
+
*/
|
|
161
|
+
setGetObjectTtfbMsecs(getObjectTtfbMsecs: TimeFloatValuePair[]): void;
|
|
162
|
+
getObjectTtfbMsecs: TimeFloatValuePair[];
|
|
163
|
+
/**
|
|
164
|
+
* Returns Number of GetBucket operations per second.
|
|
165
|
+
* @return {TimeFloatValuePair[]}
|
|
166
|
+
*/
|
|
167
|
+
getGetBucketOperationsPerSecond(): TimeFloatValuePair[];
|
|
168
|
+
/**
|
|
169
|
+
* Sets Number of GetBucket operations per second.
|
|
170
|
+
* @param {TimeFloatValuePair[]} getBucketOperationsPerSecond Number of GetBucket operations per second.
|
|
171
|
+
*/
|
|
172
|
+
setGetBucketOperationsPerSecond(getBucketOperationsPerSecond: TimeFloatValuePair[]): void;
|
|
173
|
+
getBucketOperationsPerSecond: TimeFloatValuePair[];
|
|
174
|
+
/**
|
|
175
|
+
* Returns The number of ListMultipartUploads operations per second.
|
|
176
|
+
* @return {TimeFloatValuePair[]}
|
|
177
|
+
*/
|
|
178
|
+
getListMultipartUploadsOperationsPerSecond(): TimeFloatValuePair[];
|
|
179
|
+
/**
|
|
180
|
+
* Sets The number of ListMultipartUploads operations per second.
|
|
181
|
+
* @param {TimeFloatValuePair[]} listMultipartUploadsOperationsPerSecond The number of ListMultipartUploads operations per second.
|
|
182
|
+
*/
|
|
183
|
+
setListMultipartUploadsOperationsPerSecond(listMultipartUploadsOperationsPerSecond: TimeFloatValuePair[]): void;
|
|
184
|
+
listMultipartUploadsOperationsPerSecond: TimeFloatValuePair[];
|
|
185
|
+
/**
|
|
186
|
+
* Returns The number of CreateMultipartUpload operations per second.
|
|
187
|
+
* @return {TimeFloatValuePair[]}
|
|
188
|
+
*/
|
|
189
|
+
getMultipartUploadStartOperationsPerSecond(): TimeFloatValuePair[];
|
|
190
|
+
/**
|
|
191
|
+
* Sets The number of CreateMultipartUpload operations per second.
|
|
192
|
+
* @param {TimeFloatValuePair[]} multipartUploadStartOperationsPerSecond The number of CreateMultipartUpload operations per second.
|
|
193
|
+
*/
|
|
194
|
+
setMultipartUploadStartOperationsPerSecond(multipartUploadStartOperationsPerSecond: TimeFloatValuePair[]): void;
|
|
195
|
+
multipartUploadStartOperationsPerSecond: TimeFloatValuePair[];
|
|
196
|
+
/**
|
|
197
|
+
* Returns The number of SelectObjectContent operations per second.
|
|
198
|
+
* @return {TimeFloatValuePair[]}
|
|
199
|
+
*/
|
|
200
|
+
getSelectObjectContentOperationsPerSecond(): TimeFloatValuePair[];
|
|
201
|
+
/**
|
|
202
|
+
* Sets The number of SelectObjectContent operations per second.
|
|
203
|
+
* @param {TimeFloatValuePair[]} selectObjectContentOperationsPerSecond The number of SelectObjectContent operations per second.
|
|
204
|
+
*/
|
|
205
|
+
setSelectObjectContentOperationsPerSecond(selectObjectContentOperationsPerSecond: TimeFloatValuePair[]): void;
|
|
206
|
+
selectObjectContentOperationsPerSecond: TimeFloatValuePair[];
|
|
207
|
+
/**
|
|
208
|
+
* Returns Number of Network File System (NFS) read requests per second on the objects of the Object store.
|
|
209
|
+
* @return {TimeFloatValuePair[]}
|
|
210
|
+
*/
|
|
211
|
+
getNfsReadRequestsPerSecond(): TimeFloatValuePair[];
|
|
212
|
+
/**
|
|
213
|
+
* Sets Number of Network File System (NFS) read requests per second on the objects of the Object store.
|
|
214
|
+
* @param {TimeFloatValuePair[]} nfsReadRequestsPerSecond Number of Network File System (NFS) read requests per second on the objects of the Object store.
|
|
215
|
+
*/
|
|
216
|
+
setNfsReadRequestsPerSecond(nfsReadRequestsPerSecond: TimeFloatValuePair[]): void;
|
|
217
|
+
nfsReadRequestsPerSecond: TimeFloatValuePair[];
|
|
218
|
+
/**
|
|
219
|
+
* Returns Number of Network File System (NFS) write requests per second on the objects of the Object store.
|
|
220
|
+
* @return {TimeFloatValuePair[]}
|
|
221
|
+
*/
|
|
222
|
+
getNfsWriteRequestsPerSecond(): TimeFloatValuePair[];
|
|
223
|
+
/**
|
|
224
|
+
* Sets Number of Network File System (NFS) write requests per second on the objects of the Object store.
|
|
225
|
+
* @param {TimeFloatValuePair[]} nfsWriteRequestsPerSecond Number of Network File System (NFS) write requests per second on the objects of the Object store.
|
|
226
|
+
*/
|
|
227
|
+
setNfsWriteRequestsPerSecond(nfsWriteRequestsPerSecond: TimeFloatValuePair[]): void;
|
|
228
|
+
nfsWriteRequestsPerSecond: TimeFloatValuePair[];
|
|
229
|
+
/**
|
|
230
|
+
* Returns Throughput of Network File System (NFS) read operations in bytes per second on the objects of the Object store.
|
|
231
|
+
* @return {TimeFloatValuePair[]}
|
|
232
|
+
*/
|
|
233
|
+
getNfsReadThroughputBytesPerSecond(): TimeFloatValuePair[];
|
|
234
|
+
/**
|
|
235
|
+
* Sets Throughput of Network File System (NFS) read operations in bytes per second on the objects of the Object store.
|
|
236
|
+
* @param {TimeFloatValuePair[]} nfsReadThroughputBytesPerSecond Throughput of Network File System (NFS) read operations in bytes per second on the objects of the Object store.
|
|
237
|
+
*/
|
|
238
|
+
setNfsReadThroughputBytesPerSecond(nfsReadThroughputBytesPerSecond: TimeFloatValuePair[]): void;
|
|
239
|
+
nfsReadThroughputBytesPerSecond: TimeFloatValuePair[];
|
|
240
|
+
/**
|
|
241
|
+
* Returns Throughput of Network File System (NFS) write operations in bytes per second on the objects of the Object store.
|
|
242
|
+
* @return {TimeFloatValuePair[]}
|
|
243
|
+
*/
|
|
244
|
+
getNfsWriteThroughputBytesPerSecond(): TimeFloatValuePair[];
|
|
245
|
+
/**
|
|
246
|
+
* Sets Throughput of Network File System (NFS) write operations in bytes per second on the objects of the Object store.
|
|
247
|
+
* @param {TimeFloatValuePair[]} nfsWriteThroughputBytesPerSecond Throughput of Network File System (NFS) write operations in bytes per second on the objects of the Object store.
|
|
248
|
+
*/
|
|
249
|
+
setNfsWriteThroughputBytesPerSecond(nfsWriteThroughputBytesPerSecond: TimeFloatValuePair[]): void;
|
|
250
|
+
nfsWriteThroughputBytesPerSecond: TimeFloatValuePair[];
|
|
251
|
+
#private;
|
|
252
|
+
}
|
|
253
|
+
import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel";
|
|
254
|
+
import TimeIntValuePair from "../../../common/v1/stats/TimeIntValuePair";
|
|
255
|
+
import TimeFloatValuePair from "./TimeFloatValuePair";
|