@nutanix-scratch/objects-js-client 4.0.1-alpha.2 → 4.0.1
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 +202 -49
- package/README.md +39 -27
- package/dist/Ntnx-Objects-js-client-prod.js +1 -1
- package/dist/Ntnx-Objects-js-client.js +227 -96
- package/dist/es/ApiClient.d.ts +8 -1
- package/dist/es/ApiClient.js +249 -189
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +9 -9
- package/dist/es/apis/objectstores-endpoints.d.ts +66 -95
- package/dist/es/apis/objectstores-endpoints.js +205 -170
- package/dist/es/apis/stats-endpoints.d.ts +69 -0
- package/dist/es/apis/stats-endpoints.js +154 -0
- package/dist/es/index.d.ts +43 -21
- package/dist/es/index.js +135 -47
- package/dist/es/models/common/v1/config/FQDN.d.ts +24 -20
- package/dist/es/models/common/v1/config/FQDN.js +56 -21
- package/dist/es/models/common/v1/config/Flag.d.ts +32 -26
- package/dist/es/models/common/v1/config/Flag.js +65 -21
- package/dist/es/models/common/v1/config/IPAddress.d.ts +42 -26
- package/dist/es/models/common/v1/config/IPAddress.js +53 -21
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +40 -26
- package/dist/es/models/common/v1/config/IPv4Address.js +64 -23
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +40 -26
- package/dist/es/models/common/v1/config/IPv6Address.js +64 -23
- package/dist/es/models/common/v1/config/KVPair.d.ts +35 -26
- package/dist/es/models/common/v1/config/KVPair.js +70 -24
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +275 -0
- package/dist/es/models/common/v1/config/Message.d.ts +41 -38
- package/dist/es/models/common/v1/config/Message.js +57 -25
- package/dist/es/models/common/v1/config/MessageSeverity.js +7 -7
- package/dist/es/models/common/v1/config/Metadata.d.ts +46 -44
- package/dist/es/models/common/v1/config/Metadata.js +65 -27
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +22 -20
- package/dist/es/models/common/v1/config/TenantAwareModel.js +51 -19
- package/dist/es/models/common/v1/response/ApiLink.d.ts +28 -26
- package/dist/es/models/common/v1/response/ApiLink.js +53 -21
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +79 -44
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +71 -27
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +24 -18
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +71 -31
- package/dist/es/models/common/v1/stats/DownSamplingOperator.d.ts +19 -0
- package/dist/es/models/common/v1/stats/DownSamplingOperator.js +109 -0
- package/dist/es/models/common/v1/stats/TimeIntValuePair.d.ts +64 -0
- package/dist/es/models/common/v1/stats/TimeIntValuePair.js +313 -0
- package/dist/es/models/objects/v4/config/Certificate.d.ts +146 -0
- package/dist/es/models/objects/v4/{operations → config}/Certificate.js +184 -43
- package/dist/es/models/objects/v4/{operations → config}/CertificateProjection.d.ts +2 -1
- package/dist/{lib/models/objects/v4/operations → es/models/objects/v4/config}/CertificateProjection.js +41 -17
- package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.d.ts +101 -0
- package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.js +343 -0
- package/dist/es/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +99 -0
- package/dist/{lib/models/objects/v4/operations/TaskReferenceApiResponse.js → es/models/objects/v4/config/CreateObjectstoreApiResponse.js} +86 -54
- package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +99 -0
- package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.js +343 -0
- package/dist/es/models/objects/v4/config/GetCaApiResponse.d.ts +98 -0
- package/dist/es/models/objects/v4/{operations/TaskReferenceApiResponse.js → config/GetCaApiResponse.js} +88 -57
- package/dist/es/models/objects/v4/config/GetCertificateApiResponse.d.ts +99 -0
- package/dist/es/models/objects/v4/{operations/CertificateApiResponse.js → config/GetCertificateApiResponse.js} +88 -56
- package/dist/es/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +101 -0
- package/dist/{lib/models/objects/v4/operations/ObjectstoreApiResponse.js → es/models/objects/v4/config/GetObjectstoreApiResponse.js} +89 -57
- package/dist/es/models/objects/v4/config/ListCertificatesApiResponse.d.ts +100 -0
- package/dist/es/models/objects/v4/{operations/CertificateListApiResponse.js → config/ListCertificatesApiResponse.js} +89 -57
- package/dist/es/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +100 -0
- package/dist/es/models/objects/v4/{operations/ObjectstoreListApiResponse.js → config/ListObjectstoresApiResponse.js} +92 -60
- package/dist/es/models/objects/v4/config/ObjectStore.d.ts +313 -0
- package/dist/es/models/objects/v4/{operations/Objectstore.js → config/ObjectStore.js} +213 -157
- package/dist/es/models/objects/v4/config/ObjectStoreProjection.d.ts +174 -0
- package/dist/{lib/models/objects/v4/operations/ObjectstoreProjection.js → es/models/objects/v4/config/ObjectStoreProjection.js} +211 -65
- package/dist/es/models/objects/v4/{operations/StateEnum.d.ts → config/State.d.ts} +6 -6
- package/dist/es/models/objects/v4/config/State.js +133 -0
- package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +99 -0
- package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.js +343 -0
- package/dist/es/models/objects/v4/error/AppMessage.d.ts +57 -48
- package/dist/es/models/objects/v4/error/AppMessage.js +61 -29
- package/dist/es/models/objects/v4/error/ErrorResponse.d.ts +23 -19
- package/dist/es/models/objects/v4/error/ErrorResponse.js +62 -25
- package/dist/es/models/objects/v4/error/SchemaValidationError.d.ts +53 -43
- package/dist/es/models/objects/v4/error/SchemaValidationError.js +62 -29
- package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +34 -32
- package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.js +55 -23
- package/dist/es/models/objects/v4/stats/GetObjectstoreStatsApiResponse.d.ts +99 -0
- package/dist/es/models/objects/v4/stats/GetObjectstoreStatsApiResponse.js +343 -0
- package/dist/es/models/objects/v4/stats/ObjectstoreStats.d.ts +423 -0
- package/dist/es/models/objects/v4/stats/ObjectstoreStats.js +1425 -0
- package/dist/es/models/objects/v4/stats/TimeFloatValuePair.d.ts +64 -0
- package/dist/es/models/objects/v4/stats/TimeFloatValuePair.js +313 -0
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +22 -20
- package/dist/es/models/prism/v4/config/TaskReference.js +55 -20
- package/dist/es/models/validation/ValidationError.js +5 -5
- package/dist/es/utils/ValidationUtils.js +5 -5
- package/dist/lib/ApiClient.d.ts +8 -1
- package/dist/lib/ApiClient.js +249 -189
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +9 -9
- package/dist/lib/apis/objectstores-endpoints.d.ts +66 -95
- package/dist/lib/apis/objectstores-endpoints.js +205 -170
- package/dist/lib/apis/stats-endpoints.d.ts +69 -0
- package/dist/lib/apis/stats-endpoints.js +154 -0
- package/dist/lib/index.d.ts +43 -21
- package/dist/lib/index.js +135 -47
- package/dist/lib/models/common/v1/config/FQDN.d.ts +24 -20
- package/dist/lib/models/common/v1/config/FQDN.js +56 -21
- package/dist/lib/models/common/v1/config/Flag.d.ts +32 -26
- package/dist/lib/models/common/v1/config/Flag.js +65 -21
- package/dist/lib/models/common/v1/config/IPAddress.d.ts +42 -26
- package/dist/lib/models/common/v1/config/IPAddress.js +53 -21
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +40 -26
- package/dist/lib/models/common/v1/config/IPv4Address.js +64 -23
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +40 -26
- package/dist/lib/models/common/v1/config/IPv6Address.js +64 -23
- package/dist/lib/models/common/v1/config/KVPair.d.ts +35 -26
- package/dist/lib/models/common/v1/config/KVPair.js +70 -24
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +275 -0
- package/dist/lib/models/common/v1/config/Message.d.ts +41 -38
- package/dist/lib/models/common/v1/config/Message.js +57 -25
- package/dist/lib/models/common/v1/config/MessageSeverity.js +7 -7
- package/dist/lib/models/common/v1/config/Metadata.d.ts +46 -44
- package/dist/lib/models/common/v1/config/Metadata.js +65 -27
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +22 -20
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +51 -19
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +28 -26
- package/dist/lib/models/common/v1/response/ApiLink.js +53 -21
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +79 -44
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +71 -27
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +24 -18
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +71 -31
- package/dist/lib/models/common/v1/stats/DownSamplingOperator.d.ts +19 -0
- package/dist/lib/models/common/v1/stats/DownSamplingOperator.js +109 -0
- package/dist/lib/models/common/v1/stats/TimeIntValuePair.d.ts +64 -0
- package/dist/lib/models/common/v1/stats/TimeIntValuePair.js +313 -0
- package/dist/lib/models/objects/v4/config/Certificate.d.ts +146 -0
- package/dist/lib/models/objects/v4/{operations → config}/Certificate.js +184 -43
- package/dist/lib/models/objects/v4/{operations → config}/CertificateProjection.d.ts +2 -1
- package/dist/{es/models/objects/v4/operations → lib/models/objects/v4/config}/CertificateProjection.js +41 -17
- package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.d.ts +101 -0
- package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.js +343 -0
- package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +99 -0
- package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.js +343 -0
- package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +99 -0
- package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.js +343 -0
- package/dist/lib/models/objects/v4/config/GetCaApiResponse.d.ts +98 -0
- package/dist/lib/models/objects/v4/{operations/CertificateApiResponse.js → config/GetCaApiResponse.js} +88 -57
- package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.d.ts +99 -0
- package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.js +343 -0
- package/dist/lib/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +101 -0
- package/dist/{es/models/objects/v4/operations/ObjectstoreApiResponse.js → lib/models/objects/v4/config/GetObjectstoreApiResponse.js} +89 -57
- package/dist/lib/models/objects/v4/config/ListCertificatesApiResponse.d.ts +100 -0
- package/dist/lib/models/objects/v4/{operations/CertificateListApiResponse.js → config/ListCertificatesApiResponse.js} +89 -57
- package/dist/lib/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +100 -0
- package/dist/lib/models/objects/v4/{operations/ObjectstoreListApiResponse.js → config/ListObjectstoresApiResponse.js} +92 -60
- package/dist/lib/models/objects/v4/config/ObjectStore.d.ts +313 -0
- package/dist/lib/models/objects/v4/{operations/Objectstore.js → config/ObjectStore.js} +213 -157
- package/dist/lib/models/objects/v4/config/ObjectStoreProjection.d.ts +174 -0
- package/dist/{es/models/objects/v4/operations/ObjectstoreProjection.js → lib/models/objects/v4/config/ObjectStoreProjection.js} +211 -65
- package/dist/lib/models/objects/v4/{operations/StateEnum.d.ts → config/State.d.ts} +6 -6
- package/dist/lib/models/objects/v4/config/State.js +133 -0
- package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +99 -0
- package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.js +343 -0
- package/dist/lib/models/objects/v4/error/AppMessage.d.ts +57 -48
- package/dist/lib/models/objects/v4/error/AppMessage.js +61 -29
- package/dist/lib/models/objects/v4/error/ErrorResponse.d.ts +23 -19
- package/dist/lib/models/objects/v4/error/ErrorResponse.js +62 -25
- package/dist/lib/models/objects/v4/error/SchemaValidationError.d.ts +53 -43
- package/dist/lib/models/objects/v4/error/SchemaValidationError.js +62 -29
- package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +34 -32
- package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.js +55 -23
- package/dist/lib/models/objects/v4/stats/GetObjectstoreStatsApiResponse.d.ts +99 -0
- package/dist/lib/models/objects/v4/stats/GetObjectstoreStatsApiResponse.js +343 -0
- package/dist/lib/models/objects/v4/stats/ObjectstoreStats.d.ts +423 -0
- package/dist/lib/models/objects/v4/stats/ObjectstoreStats.js +1425 -0
- package/dist/lib/models/objects/v4/stats/TimeFloatValuePair.d.ts +64 -0
- package/dist/lib/models/objects/v4/stats/TimeFloatValuePair.js +313 -0
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +22 -20
- package/dist/lib/models/prism/v4/config/TaskReference.js +55 -20
- package/dist/lib/models/validation/ValidationError.js +5 -5
- package/dist/lib/utils/ValidationUtils.js +5 -5
- package/package.json +1 -1
- package/dist/es/models/objects/v4/operations/Certificate.d.ts +0 -78
- package/dist/es/models/objects/v4/operations/CertificateApiResponse.d.ts +0 -59
- package/dist/es/models/objects/v4/operations/CertificateListApiResponse.d.ts +0 -59
- package/dist/es/models/objects/v4/operations/Objectstore.d.ts +0 -242
- package/dist/es/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +0 -59
- package/dist/es/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +0 -59
- package/dist/es/models/objects/v4/operations/ObjectstoreProjection.d.ts +0 -50
- package/dist/es/models/objects/v4/operations/StateEnum.js +0 -145
- package/dist/es/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +0 -59
- package/dist/lib/models/objects/v4/operations/Certificate.d.ts +0 -78
- package/dist/lib/models/objects/v4/operations/CertificateApiResponse.d.ts +0 -59
- package/dist/lib/models/objects/v4/operations/CertificateListApiResponse.d.ts +0 -59
- package/dist/lib/models/objects/v4/operations/Objectstore.d.ts +0 -242
- package/dist/lib/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +0 -59
- package/dist/lib/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +0 -59
- package/dist/lib/models/objects/v4/operations/ObjectstoreProjection.d.ts +0 -50
- package/dist/lib/models/objects/v4/operations/StateEnum.js +0 -145
- package/dist/lib/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +0 -59
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stats service.
|
|
3
|
+
* @version 4.0.1
|
|
4
|
+
* @class StatsApi
|
|
5
|
+
*/
|
|
6
|
+
export class StatsApi {
|
|
7
|
+
/**
|
|
8
|
+
* Make the default {@link ApiClient} class available for developers to be able to extend it and bring
|
|
9
|
+
* their own fetch methods into the SDK
|
|
10
|
+
*/
|
|
11
|
+
static get ApiClient(): typeof ApiClient;
|
|
12
|
+
/**
|
|
13
|
+
* Constructs a new StatsApi.
|
|
14
|
+
* @alias module:api/StatsApi
|
|
15
|
+
* @class
|
|
16
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
17
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
18
|
+
*/
|
|
19
|
+
constructor(apiClient?: any);
|
|
20
|
+
apiClient: any;
|
|
21
|
+
/**
|
|
22
|
+
* Get the Object store stats
|
|
23
|
+
* Get the time series stats of an Object store. If $samplingInterval is not set, a value of 120 seconds will be used. If $statType is not set, the operator \"SUM\" will be used. The stats can be fetched for an Object store when it is in the state \"OBJECT_STORE_AVAILABLE\".
|
|
24
|
+
* @param { String } extId The UUID of the Object store.
|
|
25
|
+
* @param { Date } $startTime The start time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
|
|
26
|
+
|
|
27
|
+
* @param { Date } $endTime The end time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, end time of 2022-04-23T013:23:45.678+09:00 would consider all stats till 13:23:45 .678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
|
|
28
|
+
|
|
29
|
+
* @param {Object} opts Optional parameters defined for the operation
|
|
30
|
+
* @param { Number } opts.$samplingInterval The sampling interval in seconds at which statistical data should be collected. For example, if you want performance statistics every 30 seconds, then provide the value as 30.
|
|
31
|
+
|
|
32
|
+
* @param { DownSamplingOperator } opts.$statType
|
|
33
|
+
* @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
|
|
34
|
+
- bucketCount
|
|
35
|
+
- deleteRequestsPerSecond
|
|
36
|
+
- getBucketOperationsPerSecond
|
|
37
|
+
- getObjectTtfbMsecs
|
|
38
|
+
- getRequestThroughputBytesPerSecond
|
|
39
|
+
- getRequestsPerSecond
|
|
40
|
+
- headRequestsPerSecond
|
|
41
|
+
- inboundBytesPerSecond
|
|
42
|
+
- listMultipartUploadsOperationsPerSecond
|
|
43
|
+
- multipartUploadStartOperationsPerSecond
|
|
44
|
+
- nfsReadRequestsPerSecond
|
|
45
|
+
- nfsReadThroughputBytesPerSecond
|
|
46
|
+
- nfsWriteRequestsPerSecond
|
|
47
|
+
- nfsWriteThroughputBytesPerSecond
|
|
48
|
+
- objectCount
|
|
49
|
+
- objectOperationsPerSecond
|
|
50
|
+
- outboundBytesPerSecond
|
|
51
|
+
- postRequestsPerSecond
|
|
52
|
+
- putRequestThroughputBytesPerSecond
|
|
53
|
+
- putRequestsPerSecond
|
|
54
|
+
- selectObjectContentOperationsPerSecond
|
|
55
|
+
- storageUsageBytes
|
|
56
|
+
|
|
57
|
+
* @param {Object} args Additional Arguments
|
|
58
|
+
* @return {Promise<GetObjectstoreStatsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetObjectstoreStatsApiResponse } and HTTP response
|
|
59
|
+
*/
|
|
60
|
+
getObjectstoreStatsById(extId: string, $startTime: Date, $endTime: Date, opts: {
|
|
61
|
+
$samplingInterval: number;
|
|
62
|
+
$statType: DownSamplingOperator;
|
|
63
|
+
$select: string;
|
|
64
|
+
}, ...args: any): Promise<GetObjectstoreStatsApiResponse>;
|
|
65
|
+
#private;
|
|
66
|
+
}
|
|
67
|
+
import DownSamplingOperator from "../models/common/v1/stats/DownSamplingOperator";
|
|
68
|
+
import GetObjectstoreStatsApiResponse from "../models/objects/v4/stats/GetObjectstoreStatsApiResponse";
|
|
69
|
+
import { ApiClient } from "../ApiClient";
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.StatsApi = void 0;
|
|
8
|
+
var _ApiClient = require("../ApiClient");
|
|
9
|
+
var _GetObjectstoreStatsApiResponse = _interopRequireDefault(require("../models/objects/v4/stats/GetObjectstoreStatsApiResponse"));
|
|
10
|
+
var _DownSamplingOperator = _interopRequireDefault(require("../models/common/v1/stats/DownSamplingOperator"));
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
15
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
16
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
17
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
21
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
22
|
+
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
23
|
+
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
24
|
+
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"); } /*
|
|
25
|
+
* Nutanix Objects Storage Management APIs
|
|
26
|
+
*
|
|
27
|
+
* OpenAPI spec version: 4.0.1
|
|
28
|
+
*
|
|
29
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
30
|
+
*
|
|
31
|
+
* Open API Dev Platform Codegen version: 16.9.1.8738-RELEASE
|
|
32
|
+
*
|
|
33
|
+
* Do not edit the class manually.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Stats service.
|
|
38
|
+
* @version 4.0.1
|
|
39
|
+
* @class StatsApi
|
|
40
|
+
*/
|
|
41
|
+
var _headersToSkip = /*#__PURE__*/new WeakMap();
|
|
42
|
+
var StatsApi = exports.StatsApi = /*#__PURE__*/function () {
|
|
43
|
+
/**
|
|
44
|
+
* Constructs a new StatsApi.
|
|
45
|
+
* @alias module:api/StatsApi
|
|
46
|
+
* @class
|
|
47
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
48
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
49
|
+
*/
|
|
50
|
+
function StatsApi(apiClient) {
|
|
51
|
+
_classCallCheck(this, StatsApi);
|
|
52
|
+
_classPrivateFieldInitSpec(this, _headersToSkip, void 0);
|
|
53
|
+
this.apiClient = apiClient || _ApiClient.ApiClient.instance;
|
|
54
|
+
_classPrivateFieldSet(_headersToSkip, this, new Set());
|
|
55
|
+
_classPrivateFieldGet(_headersToSkip, this).add('authorization');
|
|
56
|
+
_classPrivateFieldGet(_headersToSkip, this).add('cookie');
|
|
57
|
+
_classPrivateFieldGet(_headersToSkip, this).add('host');
|
|
58
|
+
_classPrivateFieldGet(_headersToSkip, this).add('user-agent');
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Get the Object store stats
|
|
63
|
+
* Get the time series stats of an Object store. If $samplingInterval is not set, a value of 120 seconds will be used. If $statType is not set, the operator \"SUM\" will be used. The stats can be fetched for an Object store when it is in the state \"OBJECT_STORE_AVAILABLE\".
|
|
64
|
+
* @param { String } extId The UUID of the Object store.
|
|
65
|
+
* @param { Date } $startTime The start time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
|
|
66
|
+
* @param { Date } $endTime The end time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, end time of 2022-04-23T013:23:45.678+09:00 would consider all stats till 13:23:45 .678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
|
|
67
|
+
* @param {Object} opts Optional parameters defined for the operation
|
|
68
|
+
* @param { Number } opts.$samplingInterval The sampling interval in seconds at which statistical data should be collected. For example, if you want performance statistics every 30 seconds, then provide the value as 30.
|
|
69
|
+
* @param { DownSamplingOperator } opts.$statType
|
|
70
|
+
* @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
|
|
71
|
+
- bucketCount
|
|
72
|
+
- deleteRequestsPerSecond
|
|
73
|
+
- getBucketOperationsPerSecond
|
|
74
|
+
- getObjectTtfbMsecs
|
|
75
|
+
- getRequestThroughputBytesPerSecond
|
|
76
|
+
- getRequestsPerSecond
|
|
77
|
+
- headRequestsPerSecond
|
|
78
|
+
- inboundBytesPerSecond
|
|
79
|
+
- listMultipartUploadsOperationsPerSecond
|
|
80
|
+
- multipartUploadStartOperationsPerSecond
|
|
81
|
+
- nfsReadRequestsPerSecond
|
|
82
|
+
- nfsReadThroughputBytesPerSecond
|
|
83
|
+
- nfsWriteRequestsPerSecond
|
|
84
|
+
- nfsWriteThroughputBytesPerSecond
|
|
85
|
+
- objectCount
|
|
86
|
+
- objectOperationsPerSecond
|
|
87
|
+
- outboundBytesPerSecond
|
|
88
|
+
- postRequestsPerSecond
|
|
89
|
+
- putRequestThroughputBytesPerSecond
|
|
90
|
+
- putRequestsPerSecond
|
|
91
|
+
- selectObjectContentOperationsPerSecond
|
|
92
|
+
- storageUsageBytes
|
|
93
|
+
* @param {Object} args Additional Arguments
|
|
94
|
+
* @return {Promise<GetObjectstoreStatsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetObjectstoreStatsApiResponse } and HTTP response
|
|
95
|
+
*/
|
|
96
|
+
return _createClass(StatsApi, [{
|
|
97
|
+
key: "getObjectstoreStatsById",
|
|
98
|
+
value: function getObjectstoreStatsById(extId, $startTime, $endTime, opts) {
|
|
99
|
+
var _this = this;
|
|
100
|
+
var argMap = (arguments.length <= 4 ? 0 : arguments.length - 4) > 0 ? arguments.length <= 4 ? undefined : arguments[4] : {};
|
|
101
|
+
opts = opts || {};
|
|
102
|
+
var postBody = null;
|
|
103
|
+
// verify the required parameter 'extId' is set
|
|
104
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
105
|
+
throw new Error("Missing the required parameter 'extId' when calling getObjectstoreStatsById");
|
|
106
|
+
}
|
|
107
|
+
// verify the required parameter '$startTime' is set
|
|
108
|
+
if (typeof $startTime === 'undefined' || $startTime === null) {
|
|
109
|
+
throw new Error("Missing the required parameter '$startTime' when calling getObjectstoreStatsById");
|
|
110
|
+
}
|
|
111
|
+
// verify the required parameter '$endTime' is set
|
|
112
|
+
if (typeof $endTime === 'undefined' || $endTime === null) {
|
|
113
|
+
throw new Error("Missing the required parameter '$endTime' when calling getObjectstoreStatsById");
|
|
114
|
+
}
|
|
115
|
+
var pathParams = {
|
|
116
|
+
'extId': extId
|
|
117
|
+
};
|
|
118
|
+
var queryParams = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, {
|
|
119
|
+
'$startTime': $startTime
|
|
120
|
+
}), {
|
|
121
|
+
'$endTime': $endTime
|
|
122
|
+
}), opts.hasOwnProperty('$samplingInterval') ? {
|
|
123
|
+
'$samplingInterval': opts['$samplingInterval']
|
|
124
|
+
} : {}), opts.hasOwnProperty('$statType') ? {
|
|
125
|
+
'$statType': opts['$statType']
|
|
126
|
+
} : {}), opts.hasOwnProperty('$select') ? {
|
|
127
|
+
'$select': opts['$select']
|
|
128
|
+
} : {});
|
|
129
|
+
var headersToInclude = {};
|
|
130
|
+
Object.keys(argMap).forEach(function (header) {
|
|
131
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this).has(header.toLowerCase())) {
|
|
132
|
+
headersToInclude[header] = argMap[header];
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
var headerParams = _objectSpread({}, headersToInclude);
|
|
136
|
+
var formParams = {};
|
|
137
|
+
var authNames = ['basicAuthScheme'];
|
|
138
|
+
var contentTypes = [];
|
|
139
|
+
var accepts = ['application/json'];
|
|
140
|
+
var returnType = _GetObjectstoreStatsApiResponse["default"];
|
|
141
|
+
return this.apiClient.callApi('/api/objects/v4.0/stats/object-stores/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
142
|
+
}
|
|
143
|
+
}], [{
|
|
144
|
+
key: "ApiClient",
|
|
145
|
+
get:
|
|
146
|
+
/**
|
|
147
|
+
* Make the default {@link ApiClient} class available for developers to be able to extend it and bring
|
|
148
|
+
* their own fetch methods into the SDK
|
|
149
|
+
*/
|
|
150
|
+
function get() {
|
|
151
|
+
return _ApiClient.ApiClient;
|
|
152
|
+
}
|
|
153
|
+
}]);
|
|
154
|
+
}();
|
package/dist/es/index.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
export { ApiClient };
|
|
3
3
|
export { ObjectStoresApi };
|
|
4
|
+
export { StatsApi };
|
|
4
5
|
export { FQDN };
|
|
5
6
|
export { Flag };
|
|
6
7
|
export { IPAddress };
|
|
7
8
|
export { IPv4Address };
|
|
8
9
|
export { IPv6Address };
|
|
9
10
|
export { KVPair };
|
|
11
|
+
export { MapOfStringWrapper };
|
|
10
12
|
export { Message };
|
|
11
13
|
export { MessageSeverity };
|
|
12
14
|
export { Metadata };
|
|
@@ -14,31 +16,42 @@ declare namespace _default {
|
|
|
14
16
|
export { ApiLink };
|
|
15
17
|
export { ApiResponseMetadata };
|
|
16
18
|
export { ExternalizableAbstractModel };
|
|
19
|
+
export { DownSamplingOperator };
|
|
20
|
+
export { TimeIntValuePair };
|
|
21
|
+
export { Certificate };
|
|
22
|
+
export { CertificateProjection };
|
|
23
|
+
export { CreateCertificateApiResponse };
|
|
24
|
+
export { CreateObjectstoreApiResponse };
|
|
25
|
+
export { DeleteObjectstoreApiResponse };
|
|
26
|
+
export { GetCaApiResponse };
|
|
27
|
+
export { GetCertificateApiResponse };
|
|
28
|
+
export { GetObjectstoreApiResponse };
|
|
29
|
+
export { ListCertificatesApiResponse };
|
|
30
|
+
export { ListObjectstoresApiResponse };
|
|
31
|
+
export { ObjectStore };
|
|
32
|
+
export { ObjectStoreProjection };
|
|
33
|
+
export { State };
|
|
34
|
+
export { UpdateObjectstoreApiResponse };
|
|
17
35
|
export { AppMessage };
|
|
18
36
|
export { ErrorResponse };
|
|
19
37
|
export { SchemaValidationError };
|
|
20
38
|
export { SchemaValidationErrorMessage };
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export { CertificateProjection };
|
|
25
|
-
export { Objectstore };
|
|
26
|
-
export { ObjectstoreApiResponse };
|
|
27
|
-
export { ObjectstoreListApiResponse };
|
|
28
|
-
export { ObjectstoreProjection };
|
|
29
|
-
export { StateEnum };
|
|
30
|
-
export { TaskReferenceApiResponse };
|
|
39
|
+
export { GetObjectstoreStatsApiResponse };
|
|
40
|
+
export { ObjectstoreStats };
|
|
41
|
+
export { TimeFloatValuePair };
|
|
31
42
|
export { TaskReference };
|
|
32
43
|
}
|
|
33
44
|
export default _default;
|
|
34
45
|
import { ApiClient } from "./ApiClient";
|
|
35
46
|
import { ObjectStoresApi } from "./apis/objectstores-endpoints";
|
|
47
|
+
import { StatsApi } from "./apis/stats-endpoints";
|
|
36
48
|
import FQDN from "./models/common/v1/config/FQDN";
|
|
37
49
|
import Flag from "./models/common/v1/config/Flag";
|
|
38
50
|
import IPAddress from "./models/common/v1/config/IPAddress";
|
|
39
51
|
import IPv4Address from "./models/common/v1/config/IPv4Address";
|
|
40
52
|
import IPv6Address from "./models/common/v1/config/IPv6Address";
|
|
41
53
|
import KVPair from "./models/common/v1/config/KVPair";
|
|
54
|
+
import MapOfStringWrapper from "./models/common/v1/config/MapOfStringWrapper";
|
|
42
55
|
import Message from "./models/common/v1/config/Message";
|
|
43
56
|
import MessageSeverity from "./models/common/v1/config/MessageSeverity";
|
|
44
57
|
import Metadata from "./models/common/v1/config/Metadata";
|
|
@@ -46,19 +59,28 @@ import TenantAwareModel from "./models/common/v1/config/TenantAwareModel";
|
|
|
46
59
|
import ApiLink from "./models/common/v1/response/ApiLink";
|
|
47
60
|
import ApiResponseMetadata from "./models/common/v1/response/ApiResponseMetadata";
|
|
48
61
|
import ExternalizableAbstractModel from "./models/common/v1/response/ExternalizableAbstractModel";
|
|
62
|
+
import DownSamplingOperator from "./models/common/v1/stats/DownSamplingOperator";
|
|
63
|
+
import TimeIntValuePair from "./models/common/v1/stats/TimeIntValuePair";
|
|
64
|
+
import Certificate from "./models/objects/v4/config/Certificate";
|
|
65
|
+
import CertificateProjection from "./models/objects/v4/config/CertificateProjection";
|
|
66
|
+
import CreateCertificateApiResponse from "./models/objects/v4/config/CreateCertificateApiResponse";
|
|
67
|
+
import CreateObjectstoreApiResponse from "./models/objects/v4/config/CreateObjectstoreApiResponse";
|
|
68
|
+
import DeleteObjectstoreApiResponse from "./models/objects/v4/config/DeleteObjectstoreApiResponse";
|
|
69
|
+
import GetCaApiResponse from "./models/objects/v4/config/GetCaApiResponse";
|
|
70
|
+
import GetCertificateApiResponse from "./models/objects/v4/config/GetCertificateApiResponse";
|
|
71
|
+
import GetObjectstoreApiResponse from "./models/objects/v4/config/GetObjectstoreApiResponse";
|
|
72
|
+
import ListCertificatesApiResponse from "./models/objects/v4/config/ListCertificatesApiResponse";
|
|
73
|
+
import ListObjectstoresApiResponse from "./models/objects/v4/config/ListObjectstoresApiResponse";
|
|
74
|
+
import ObjectStore from "./models/objects/v4/config/ObjectStore";
|
|
75
|
+
import ObjectStoreProjection from "./models/objects/v4/config/ObjectStoreProjection";
|
|
76
|
+
import State from "./models/objects/v4/config/State";
|
|
77
|
+
import UpdateObjectstoreApiResponse from "./models/objects/v4/config/UpdateObjectstoreApiResponse";
|
|
49
78
|
import AppMessage from "./models/objects/v4/error/AppMessage";
|
|
50
79
|
import ErrorResponse from "./models/objects/v4/error/ErrorResponse";
|
|
51
80
|
import SchemaValidationError from "./models/objects/v4/error/SchemaValidationError";
|
|
52
81
|
import SchemaValidationErrorMessage from "./models/objects/v4/error/SchemaValidationErrorMessage";
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import CertificateProjection from "./models/objects/v4/operations/CertificateProjection";
|
|
57
|
-
import Objectstore from "./models/objects/v4/operations/Objectstore";
|
|
58
|
-
import ObjectstoreApiResponse from "./models/objects/v4/operations/ObjectstoreApiResponse";
|
|
59
|
-
import ObjectstoreListApiResponse from "./models/objects/v4/operations/ObjectstoreListApiResponse";
|
|
60
|
-
import ObjectstoreProjection from "./models/objects/v4/operations/ObjectstoreProjection";
|
|
61
|
-
import StateEnum from "./models/objects/v4/operations/StateEnum";
|
|
62
|
-
import TaskReferenceApiResponse from "./models/objects/v4/operations/TaskReferenceApiResponse";
|
|
82
|
+
import GetObjectstoreStatsApiResponse from "./models/objects/v4/stats/GetObjectstoreStatsApiResponse";
|
|
83
|
+
import ObjectstoreStats from "./models/objects/v4/stats/ObjectstoreStats";
|
|
84
|
+
import TimeFloatValuePair from "./models/objects/v4/stats/TimeFloatValuePair";
|
|
63
85
|
import TaskReference from "./models/prism/v4/config/TaskReference";
|
|
64
|
-
export { ApiClient, ObjectStoresApi, FQDN, Flag, IPAddress, IPv4Address, IPv6Address, KVPair, Message, MessageSeverity, Metadata, TenantAwareModel, ApiLink, ApiResponseMetadata, ExternalizableAbstractModel,
|
|
86
|
+
export { ApiClient, ObjectStoresApi, StatsApi, FQDN, Flag, IPAddress, IPv4Address, IPv6Address, KVPair, MapOfStringWrapper, Message, MessageSeverity, Metadata, TenantAwareModel, ApiLink, ApiResponseMetadata, ExternalizableAbstractModel, DownSamplingOperator, TimeIntValuePair, Certificate, CertificateProjection, CreateCertificateApiResponse, CreateObjectstoreApiResponse, DeleteObjectstoreApiResponse, GetCaApiResponse, GetCertificateApiResponse, GetObjectstoreApiResponse, ListCertificatesApiResponse, ListObjectstoresApiResponse, ObjectStore, ObjectStoreProjection, State, UpdateObjectstoreApiResponse, AppMessage, ErrorResponse, SchemaValidationError, SchemaValidationErrorMessage, GetObjectstoreStatsApiResponse, ObjectstoreStats, TimeFloatValuePair, TaskReference };
|
package/dist/es/index.js
CHANGED
|
@@ -33,22 +33,34 @@ Object.defineProperty(exports, "Certificate", {
|
|
|
33
33
|
return _Certificate["default"];
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
|
-
Object.defineProperty(exports, "
|
|
36
|
+
Object.defineProperty(exports, "CertificateProjection", {
|
|
37
37
|
enumerable: true,
|
|
38
38
|
get: function get() {
|
|
39
|
-
return
|
|
39
|
+
return _CertificateProjection["default"];
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
Object.defineProperty(exports, "
|
|
42
|
+
Object.defineProperty(exports, "CreateCertificateApiResponse", {
|
|
43
43
|
enumerable: true,
|
|
44
44
|
get: function get() {
|
|
45
|
-
return
|
|
45
|
+
return _CreateCertificateApiResponse["default"];
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
|
-
Object.defineProperty(exports, "
|
|
48
|
+
Object.defineProperty(exports, "CreateObjectstoreApiResponse", {
|
|
49
49
|
enumerable: true,
|
|
50
50
|
get: function get() {
|
|
51
|
-
return
|
|
51
|
+
return _CreateObjectstoreApiResponse["default"];
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "DeleteObjectstoreApiResponse", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function get() {
|
|
57
|
+
return _DeleteObjectstoreApiResponse["default"];
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "DownSamplingOperator", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function get() {
|
|
63
|
+
return _DownSamplingOperator["default"];
|
|
52
64
|
}
|
|
53
65
|
});
|
|
54
66
|
Object.defineProperty(exports, "ErrorResponse", {
|
|
@@ -75,6 +87,30 @@ Object.defineProperty(exports, "Flag", {
|
|
|
75
87
|
return _Flag["default"];
|
|
76
88
|
}
|
|
77
89
|
});
|
|
90
|
+
Object.defineProperty(exports, "GetCaApiResponse", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function get() {
|
|
93
|
+
return _GetCaApiResponse["default"];
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "GetCertificateApiResponse", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function get() {
|
|
99
|
+
return _GetCertificateApiResponse["default"];
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "GetObjectstoreApiResponse", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function get() {
|
|
105
|
+
return _GetObjectstoreApiResponse["default"];
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "GetObjectstoreStatsApiResponse", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function get() {
|
|
111
|
+
return _GetObjectstoreStatsApiResponse["default"];
|
|
112
|
+
}
|
|
113
|
+
});
|
|
78
114
|
Object.defineProperty(exports, "IPAddress", {
|
|
79
115
|
enumerable: true,
|
|
80
116
|
get: function get() {
|
|
@@ -99,6 +135,24 @@ Object.defineProperty(exports, "KVPair", {
|
|
|
99
135
|
return _KVPair["default"];
|
|
100
136
|
}
|
|
101
137
|
});
|
|
138
|
+
Object.defineProperty(exports, "ListCertificatesApiResponse", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function get() {
|
|
141
|
+
return _ListCertificatesApiResponse["default"];
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "ListObjectstoresApiResponse", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function get() {
|
|
147
|
+
return _ListObjectstoresApiResponse["default"];
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
Object.defineProperty(exports, "MapOfStringWrapper", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function get() {
|
|
153
|
+
return _MapOfStringWrapper["default"];
|
|
154
|
+
}
|
|
155
|
+
});
|
|
102
156
|
Object.defineProperty(exports, "Message", {
|
|
103
157
|
enumerable: true,
|
|
104
158
|
get: function get() {
|
|
@@ -117,34 +171,28 @@ Object.defineProperty(exports, "Metadata", {
|
|
|
117
171
|
return _Metadata["default"];
|
|
118
172
|
}
|
|
119
173
|
});
|
|
120
|
-
Object.defineProperty(exports, "
|
|
174
|
+
Object.defineProperty(exports, "ObjectStore", {
|
|
121
175
|
enumerable: true,
|
|
122
176
|
get: function get() {
|
|
123
|
-
return
|
|
177
|
+
return _ObjectStore["default"];
|
|
124
178
|
}
|
|
125
179
|
});
|
|
126
|
-
Object.defineProperty(exports, "
|
|
180
|
+
Object.defineProperty(exports, "ObjectStoreProjection", {
|
|
127
181
|
enumerable: true,
|
|
128
182
|
get: function get() {
|
|
129
|
-
return
|
|
183
|
+
return _ObjectStoreProjection["default"];
|
|
130
184
|
}
|
|
131
185
|
});
|
|
132
|
-
Object.defineProperty(exports, "
|
|
133
|
-
enumerable: true,
|
|
134
|
-
get: function get() {
|
|
135
|
-
return _ObjectstoreApiResponse["default"];
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
Object.defineProperty(exports, "ObjectstoreListApiResponse", {
|
|
186
|
+
Object.defineProperty(exports, "ObjectStoresApi", {
|
|
139
187
|
enumerable: true,
|
|
140
188
|
get: function get() {
|
|
141
|
-
return
|
|
189
|
+
return _objectstoresEndpoints.ObjectStoresApi;
|
|
142
190
|
}
|
|
143
191
|
});
|
|
144
|
-
Object.defineProperty(exports, "
|
|
192
|
+
Object.defineProperty(exports, "ObjectstoreStats", {
|
|
145
193
|
enumerable: true,
|
|
146
194
|
get: function get() {
|
|
147
|
-
return
|
|
195
|
+
return _ObjectstoreStats["default"];
|
|
148
196
|
}
|
|
149
197
|
});
|
|
150
198
|
Object.defineProperty(exports, "SchemaValidationError", {
|
|
@@ -159,22 +207,22 @@ Object.defineProperty(exports, "SchemaValidationErrorMessage", {
|
|
|
159
207
|
return _SchemaValidationErrorMessage["default"];
|
|
160
208
|
}
|
|
161
209
|
});
|
|
162
|
-
Object.defineProperty(exports, "
|
|
210
|
+
Object.defineProperty(exports, "State", {
|
|
163
211
|
enumerable: true,
|
|
164
212
|
get: function get() {
|
|
165
|
-
return
|
|
213
|
+
return _State["default"];
|
|
166
214
|
}
|
|
167
215
|
});
|
|
168
|
-
Object.defineProperty(exports, "
|
|
216
|
+
Object.defineProperty(exports, "StatsApi", {
|
|
169
217
|
enumerable: true,
|
|
170
218
|
get: function get() {
|
|
171
|
-
return
|
|
219
|
+
return _statsEndpoints.StatsApi;
|
|
172
220
|
}
|
|
173
221
|
});
|
|
174
|
-
Object.defineProperty(exports, "
|
|
222
|
+
Object.defineProperty(exports, "TaskReference", {
|
|
175
223
|
enumerable: true,
|
|
176
224
|
get: function get() {
|
|
177
|
-
return
|
|
225
|
+
return _TaskReference["default"];
|
|
178
226
|
}
|
|
179
227
|
});
|
|
180
228
|
Object.defineProperty(exports, "TenantAwareModel", {
|
|
@@ -183,15 +231,35 @@ Object.defineProperty(exports, "TenantAwareModel", {
|
|
|
183
231
|
return _TenantAwareModel["default"];
|
|
184
232
|
}
|
|
185
233
|
});
|
|
234
|
+
Object.defineProperty(exports, "TimeFloatValuePair", {
|
|
235
|
+
enumerable: true,
|
|
236
|
+
get: function get() {
|
|
237
|
+
return _TimeFloatValuePair["default"];
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
Object.defineProperty(exports, "TimeIntValuePair", {
|
|
241
|
+
enumerable: true,
|
|
242
|
+
get: function get() {
|
|
243
|
+
return _TimeIntValuePair["default"];
|
|
244
|
+
}
|
|
245
|
+
});
|
|
246
|
+
Object.defineProperty(exports, "UpdateObjectstoreApiResponse", {
|
|
247
|
+
enumerable: true,
|
|
248
|
+
get: function get() {
|
|
249
|
+
return _UpdateObjectstoreApiResponse["default"];
|
|
250
|
+
}
|
|
251
|
+
});
|
|
186
252
|
exports["default"] = void 0;
|
|
187
253
|
var _ApiClient = require("./ApiClient");
|
|
188
254
|
var _objectstoresEndpoints = require("./apis/objectstores-endpoints");
|
|
255
|
+
var _statsEndpoints = require("./apis/stats-endpoints");
|
|
189
256
|
var _FQDN = _interopRequireDefault(require("./models/common/v1/config/FQDN"));
|
|
190
257
|
var _Flag = _interopRequireDefault(require("./models/common/v1/config/Flag"));
|
|
191
258
|
var _IPAddress = _interopRequireDefault(require("./models/common/v1/config/IPAddress"));
|
|
192
259
|
var _IPv4Address = _interopRequireDefault(require("./models/common/v1/config/IPv4Address"));
|
|
193
260
|
var _IPv6Address = _interopRequireDefault(require("./models/common/v1/config/IPv6Address"));
|
|
194
261
|
var _KVPair = _interopRequireDefault(require("./models/common/v1/config/KVPair"));
|
|
262
|
+
var _MapOfStringWrapper = _interopRequireDefault(require("./models/common/v1/config/MapOfStringWrapper"));
|
|
195
263
|
var _Message = _interopRequireDefault(require("./models/common/v1/config/Message"));
|
|
196
264
|
var _MessageSeverity = _interopRequireDefault(require("./models/common/v1/config/MessageSeverity"));
|
|
197
265
|
var _Metadata = _interopRequireDefault(require("./models/common/v1/config/Metadata"));
|
|
@@ -199,34 +267,45 @@ var _TenantAwareModel = _interopRequireDefault(require("./models/common/v1/confi
|
|
|
199
267
|
var _ApiLink = _interopRequireDefault(require("./models/common/v1/response/ApiLink"));
|
|
200
268
|
var _ApiResponseMetadata = _interopRequireDefault(require("./models/common/v1/response/ApiResponseMetadata"));
|
|
201
269
|
var _ExternalizableAbstractModel = _interopRequireDefault(require("./models/common/v1/response/ExternalizableAbstractModel"));
|
|
270
|
+
var _DownSamplingOperator = _interopRequireDefault(require("./models/common/v1/stats/DownSamplingOperator"));
|
|
271
|
+
var _TimeIntValuePair = _interopRequireDefault(require("./models/common/v1/stats/TimeIntValuePair"));
|
|
272
|
+
var _Certificate = _interopRequireDefault(require("./models/objects/v4/config/Certificate"));
|
|
273
|
+
var _CertificateProjection = _interopRequireDefault(require("./models/objects/v4/config/CertificateProjection"));
|
|
274
|
+
var _CreateCertificateApiResponse = _interopRequireDefault(require("./models/objects/v4/config/CreateCertificateApiResponse"));
|
|
275
|
+
var _CreateObjectstoreApiResponse = _interopRequireDefault(require("./models/objects/v4/config/CreateObjectstoreApiResponse"));
|
|
276
|
+
var _DeleteObjectstoreApiResponse = _interopRequireDefault(require("./models/objects/v4/config/DeleteObjectstoreApiResponse"));
|
|
277
|
+
var _GetCaApiResponse = _interopRequireDefault(require("./models/objects/v4/config/GetCaApiResponse"));
|
|
278
|
+
var _GetCertificateApiResponse = _interopRequireDefault(require("./models/objects/v4/config/GetCertificateApiResponse"));
|
|
279
|
+
var _GetObjectstoreApiResponse = _interopRequireDefault(require("./models/objects/v4/config/GetObjectstoreApiResponse"));
|
|
280
|
+
var _ListCertificatesApiResponse = _interopRequireDefault(require("./models/objects/v4/config/ListCertificatesApiResponse"));
|
|
281
|
+
var _ListObjectstoresApiResponse = _interopRequireDefault(require("./models/objects/v4/config/ListObjectstoresApiResponse"));
|
|
282
|
+
var _ObjectStore = _interopRequireDefault(require("./models/objects/v4/config/ObjectStore"));
|
|
283
|
+
var _ObjectStoreProjection = _interopRequireDefault(require("./models/objects/v4/config/ObjectStoreProjection"));
|
|
284
|
+
var _State = _interopRequireDefault(require("./models/objects/v4/config/State"));
|
|
285
|
+
var _UpdateObjectstoreApiResponse = _interopRequireDefault(require("./models/objects/v4/config/UpdateObjectstoreApiResponse"));
|
|
202
286
|
var _AppMessage = _interopRequireDefault(require("./models/objects/v4/error/AppMessage"));
|
|
203
287
|
var _ErrorResponse = _interopRequireDefault(require("./models/objects/v4/error/ErrorResponse"));
|
|
204
288
|
var _SchemaValidationError = _interopRequireDefault(require("./models/objects/v4/error/SchemaValidationError"));
|
|
205
289
|
var _SchemaValidationErrorMessage = _interopRequireDefault(require("./models/objects/v4/error/SchemaValidationErrorMessage"));
|
|
206
|
-
var
|
|
207
|
-
var
|
|
208
|
-
var
|
|
209
|
-
var _CertificateProjection = _interopRequireDefault(require("./models/objects/v4/operations/CertificateProjection"));
|
|
210
|
-
var _Objectstore = _interopRequireDefault(require("./models/objects/v4/operations/Objectstore"));
|
|
211
|
-
var _ObjectstoreApiResponse = _interopRequireDefault(require("./models/objects/v4/operations/ObjectstoreApiResponse"));
|
|
212
|
-
var _ObjectstoreListApiResponse = _interopRequireDefault(require("./models/objects/v4/operations/ObjectstoreListApiResponse"));
|
|
213
|
-
var _ObjectstoreProjection = _interopRequireDefault(require("./models/objects/v4/operations/ObjectstoreProjection"));
|
|
214
|
-
var _StateEnum = _interopRequireDefault(require("./models/objects/v4/operations/StateEnum"));
|
|
215
|
-
var _TaskReferenceApiResponse = _interopRequireDefault(require("./models/objects/v4/operations/TaskReferenceApiResponse"));
|
|
290
|
+
var _GetObjectstoreStatsApiResponse = _interopRequireDefault(require("./models/objects/v4/stats/GetObjectstoreStatsApiResponse"));
|
|
291
|
+
var _ObjectstoreStats = _interopRequireDefault(require("./models/objects/v4/stats/ObjectstoreStats"));
|
|
292
|
+
var _TimeFloatValuePair = _interopRequireDefault(require("./models/objects/v4/stats/TimeFloatValuePair"));
|
|
216
293
|
var _TaskReference = _interopRequireDefault(require("./models/prism/v4/config/TaskReference"));
|
|
217
|
-
function _interopRequireDefault(
|
|
294
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
218
295
|
// Export base files
|
|
219
296
|
// Export APIs
|
|
220
297
|
// Export models
|
|
221
298
|
var _default = exports["default"] = {
|
|
222
299
|
ApiClient: _ApiClient.ApiClient,
|
|
223
300
|
ObjectStoresApi: _objectstoresEndpoints.ObjectStoresApi,
|
|
301
|
+
StatsApi: _statsEndpoints.StatsApi,
|
|
224
302
|
FQDN: _FQDN["default"],
|
|
225
303
|
Flag: _Flag["default"],
|
|
226
304
|
IPAddress: _IPAddress["default"],
|
|
227
305
|
IPv4Address: _IPv4Address["default"],
|
|
228
306
|
IPv6Address: _IPv6Address["default"],
|
|
229
307
|
KVPair: _KVPair["default"],
|
|
308
|
+
MapOfStringWrapper: _MapOfStringWrapper["default"],
|
|
230
309
|
Message: _Message["default"],
|
|
231
310
|
MessageSeverity: _MessageSeverity["default"],
|
|
232
311
|
Metadata: _Metadata["default"],
|
|
@@ -234,19 +313,28 @@ var _default = exports["default"] = {
|
|
|
234
313
|
ApiLink: _ApiLink["default"],
|
|
235
314
|
ApiResponseMetadata: _ApiResponseMetadata["default"],
|
|
236
315
|
ExternalizableAbstractModel: _ExternalizableAbstractModel["default"],
|
|
316
|
+
DownSamplingOperator: _DownSamplingOperator["default"],
|
|
317
|
+
TimeIntValuePair: _TimeIntValuePair["default"],
|
|
318
|
+
Certificate: _Certificate["default"],
|
|
319
|
+
CertificateProjection: _CertificateProjection["default"],
|
|
320
|
+
CreateCertificateApiResponse: _CreateCertificateApiResponse["default"],
|
|
321
|
+
CreateObjectstoreApiResponse: _CreateObjectstoreApiResponse["default"],
|
|
322
|
+
DeleteObjectstoreApiResponse: _DeleteObjectstoreApiResponse["default"],
|
|
323
|
+
GetCaApiResponse: _GetCaApiResponse["default"],
|
|
324
|
+
GetCertificateApiResponse: _GetCertificateApiResponse["default"],
|
|
325
|
+
GetObjectstoreApiResponse: _GetObjectstoreApiResponse["default"],
|
|
326
|
+
ListCertificatesApiResponse: _ListCertificatesApiResponse["default"],
|
|
327
|
+
ListObjectstoresApiResponse: _ListObjectstoresApiResponse["default"],
|
|
328
|
+
ObjectStore: _ObjectStore["default"],
|
|
329
|
+
ObjectStoreProjection: _ObjectStoreProjection["default"],
|
|
330
|
+
State: _State["default"],
|
|
331
|
+
UpdateObjectstoreApiResponse: _UpdateObjectstoreApiResponse["default"],
|
|
237
332
|
AppMessage: _AppMessage["default"],
|
|
238
333
|
ErrorResponse: _ErrorResponse["default"],
|
|
239
334
|
SchemaValidationError: _SchemaValidationError["default"],
|
|
240
335
|
SchemaValidationErrorMessage: _SchemaValidationErrorMessage["default"],
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
CertificateProjection: _CertificateProjection["default"],
|
|
245
|
-
Objectstore: _Objectstore["default"],
|
|
246
|
-
ObjectstoreApiResponse: _ObjectstoreApiResponse["default"],
|
|
247
|
-
ObjectstoreListApiResponse: _ObjectstoreListApiResponse["default"],
|
|
248
|
-
ObjectstoreProjection: _ObjectstoreProjection["default"],
|
|
249
|
-
StateEnum: _StateEnum["default"],
|
|
250
|
-
TaskReferenceApiResponse: _TaskReferenceApiResponse["default"],
|
|
336
|
+
GetObjectstoreStatsApiResponse: _GetObjectstoreStatsApiResponse["default"],
|
|
337
|
+
ObjectstoreStats: _ObjectstoreStats["default"],
|
|
338
|
+
TimeFloatValuePair: _TimeFloatValuePair["default"],
|
|
251
339
|
TaskReference: _TaskReference["default"]
|
|
252
340
|
};
|