@nutanix-scratch/licensing-js-client 4.0.1-alpha.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 +49 -0
- package/README.md +197 -0
- package/dist/Ntnx-Licensing-js-client-prod.js +1 -0
- package/dist/Ntnx-Licensing-js-client.js +1257 -0
- package/dist/es/ApiClient.d.ts +159 -0
- package/dist/es/ApiClient.js +1211 -0
- package/dist/es/Paginable.d.ts +95 -0
- package/dist/es/Paginable.js +287 -0
- package/dist/es/apis/enduserlicenseagreements-endpoints.d.ts +51 -0
- package/dist/es/apis/enduserlicenseagreements-endpoints.js +183 -0
- package/dist/es/apis/licenses-endpoints.d.ts +292 -0
- package/dist/es/apis/licenses-endpoints.js +666 -0
- package/dist/es/index.d.ts +160 -0
- package/dist/es/index.js +636 -0
- package/dist/es/models/common/v1/config/Flag.d.ts +58 -0
- package/dist/es/models/common/v1/config/Flag.js +275 -0
- package/dist/es/models/common/v1/config/KVPair.d.ts +62 -0
- package/dist/es/models/common/v1/config/KVPair.js +332 -0
- package/dist/es/models/common/v1/config/Message.d.ts +84 -0
- package/dist/es/models/common/v1/config/Message.js +354 -0
- package/dist/es/models/common/v1/config/MessageSeverity.d.ts +19 -0
- package/dist/es/models/common/v1/config/MessageSeverity.js +91 -0
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +50 -0
- package/dist/es/models/common/v1/config/TenantAwareModel.js +243 -0
- package/dist/es/models/common/v1/response/ApiLink.d.ts +62 -0
- package/dist/es/models/common/v1/response/ApiLink.js +280 -0
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +98 -0
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +438 -0
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +42 -0
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +270 -0
- package/dist/es/models/licensing/v4/agreements/AddUserApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/agreements/AddUserApiResponse.js +311 -0
- package/dist/es/models/licensing/v4/agreements/Eula.d.ts +95 -0
- package/dist/es/models/licensing/v4/agreements/Eula.js +404 -0
- package/dist/es/models/licensing/v4/agreements/EulaUser.d.ts +103 -0
- package/dist/es/models/licensing/v4/agreements/EulaUser.js +409 -0
- package/dist/es/models/licensing/v4/agreements/GetEulaApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/agreements/GetEulaApiResponse.js +311 -0
- package/dist/es/models/licensing/v4/agreements/UpdateEulaApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/agreements/UpdateEulaApiResponse.js +311 -0
- package/dist/es/models/licensing/v4/config/AllowanceDetail.d.ts +82 -0
- package/dist/es/models/licensing/v4/config/AllowanceDetail.js +358 -0
- package/dist/es/models/licensing/v4/config/AllowanceDetailProjection.d.ts +9 -0
- package/dist/es/models/licensing/v4/config/AllowanceDetailProjection.js +131 -0
- package/dist/es/models/licensing/v4/config/BaseClusterInfo.d.ts +32 -0
- package/dist/es/models/licensing/v4/config/BaseClusterInfo.js +223 -0
- package/dist/es/models/licensing/v4/config/BaseLicenseInfo.d.ts +74 -0
- package/dist/es/models/licensing/v4/config/BaseLicenseInfo.js +374 -0
- package/dist/es/models/licensing/v4/config/CapacityViolation.d.ts +80 -0
- package/dist/es/models/licensing/v4/config/CapacityViolation.js +350 -0
- package/dist/es/models/licensing/v4/config/ClusterAllowance.d.ts +55 -0
- package/dist/es/models/licensing/v4/config/ClusterAllowance.js +319 -0
- package/dist/es/models/licensing/v4/config/ClusterAllowanceProjection.d.ts +34 -0
- package/dist/es/models/licensing/v4/config/ClusterAllowanceProjection.js +241 -0
- package/dist/es/models/licensing/v4/config/ClusterEntitlement.d.ts +79 -0
- package/dist/es/models/licensing/v4/config/ClusterEntitlement.js +398 -0
- package/dist/es/models/licensing/v4/config/ClusterEntitlementProjection.d.ts +36 -0
- package/dist/es/models/licensing/v4/config/ClusterEntitlementProjection.js +249 -0
- package/dist/es/models/licensing/v4/config/ClusterTypeEnum.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/ClusterTypeEnum.js +91 -0
- package/dist/es/models/licensing/v4/config/ClusterViolation.d.ts +57 -0
- package/dist/es/models/licensing/v4/config/ClusterViolation.js +346 -0
- package/dist/es/models/licensing/v4/config/Compliance.d.ts +55 -0
- package/dist/es/models/licensing/v4/config/Compliance.js +319 -0
- package/dist/es/models/licensing/v4/config/ComplianceProjection.d.ts +34 -0
- package/dist/es/models/licensing/v4/config/ComplianceProjection.js +241 -0
- package/dist/es/models/licensing/v4/config/Consumption.d.ts +44 -0
- package/dist/es/models/licensing/v4/config/Consumption.js +266 -0
- package/dist/es/models/licensing/v4/config/ConsumptionProjection.d.ts +9 -0
- package/dist/es/models/licensing/v4/config/ConsumptionProjection.js +129 -0
- package/dist/es/models/licensing/v4/config/EnforcementActionsEnum.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/EnforcementActionsEnum.js +139 -0
- package/dist/es/models/licensing/v4/config/EnforcementLevelEnum.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/EnforcementLevelEnum.js +85 -0
- package/dist/es/models/licensing/v4/config/EnforcementPolicyEnum.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/EnforcementPolicyEnum.js +85 -0
- package/dist/es/models/licensing/v4/config/EntitlementDetail.d.ts +124 -0
- package/dist/es/models/licensing/v4/config/EntitlementDetail.js +501 -0
- package/dist/es/models/licensing/v4/config/EntitlementDetailProjection.d.ts +9 -0
- package/dist/es/models/licensing/v4/config/EntitlementDetailProjection.js +134 -0
- package/dist/es/models/licensing/v4/config/ExpiredLicense.d.ts +59 -0
- package/dist/es/models/licensing/v4/config/ExpiredLicense.js +324 -0
- package/dist/es/models/licensing/v4/config/Feature.d.ts +94 -0
- package/dist/es/models/licensing/v4/config/Feature.js +449 -0
- package/dist/es/models/licensing/v4/config/FeatureDetail.d.ts +74 -0
- package/dist/es/models/licensing/v4/config/FeatureDetail.js +327 -0
- package/dist/es/models/licensing/v4/config/FeatureProjection.d.ts +9 -0
- package/dist/es/models/licensing/v4/config/FeatureProjection.js +134 -0
- package/dist/es/models/licensing/v4/config/FeatureViolation.d.ts +32 -0
- package/dist/es/models/licensing/v4/config/FeatureViolation.js +229 -0
- package/dist/es/models/licensing/v4/config/GetClusterAllowanceApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/config/GetClusterAllowanceApiResponse.js +311 -0
- package/dist/es/models/licensing/v4/config/GetClusterEntitlementApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/config/GetClusterEntitlementApiResponse.js +311 -0
- package/dist/es/models/licensing/v4/config/GetClusterViolationApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/config/GetClusterViolationApiResponse.js +311 -0
- package/dist/es/models/licensing/v4/config/GetComplianceApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/config/GetComplianceApiResponse.js +311 -0
- package/dist/es/models/licensing/v4/config/GetLicenseApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/config/GetLicenseApiResponse.js +311 -0
- package/dist/es/models/licensing/v4/config/GetSettingApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/config/GetSettingApiResponse.js +311 -0
- package/dist/es/models/licensing/v4/config/License.d.ts +69 -0
- package/dist/es/models/licensing/v4/config/License.js +376 -0
- package/dist/es/models/licensing/v4/config/LicenseCategoryEnum.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/LicenseCategoryEnum.js +271 -0
- package/dist/es/models/licensing/v4/config/LicenseProjection.d.ts +39 -0
- package/dist/es/models/licensing/v4/config/LicenseProjection.js +264 -0
- package/dist/es/models/licensing/v4/config/LicenseTypeEnum.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/LicenseTypeEnum.js +235 -0
- package/dist/es/models/licensing/v4/config/ListClusterAllowancesApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/config/ListClusterAllowancesApiResponse.js +338 -0
- package/dist/es/models/licensing/v4/config/ListClusterEntitlementsApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/config/ListClusterEntitlementsApiResponse.js +338 -0
- package/dist/es/models/licensing/v4/config/ListClusterViolationsApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/config/ListClusterViolationsApiResponse.js +333 -0
- package/dist/es/models/licensing/v4/config/ListCompliancesApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/config/ListCompliancesApiResponse.js +338 -0
- package/dist/es/models/licensing/v4/config/ListFeaturesApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/config/ListFeaturesApiResponse.js +338 -0
- package/dist/es/models/licensing/v4/config/ListLicensesApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/config/ListLicensesApiResponse.js +338 -0
- package/dist/es/models/licensing/v4/config/ListSettingsApiResponse.d.ts +59 -0
- package/dist/es/models/licensing/v4/config/ListSettingsApiResponse.js +333 -0
- package/dist/es/models/licensing/v4/config/LogicalVersion.d.ts +62 -0
- package/dist/es/models/licensing/v4/config/LogicalVersion.js +280 -0
- package/dist/es/models/licensing/v4/config/MeterEnum.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/MeterEnum.js +121 -0
- package/dist/es/models/licensing/v4/config/NutanixClusterConfig.d.ts +98 -0
- package/dist/es/models/licensing/v4/config/NutanixClusterConfig.js +406 -0
- package/dist/es/models/licensing/v4/config/PostPaidCategoryEnum.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/PostPaidCategoryEnum.js +85 -0
- package/dist/es/models/licensing/v4/config/PostPaidConfig.d.ts +74 -0
- package/dist/es/models/licensing/v4/config/PostPaidConfig.js +324 -0
- package/dist/es/models/licensing/v4/config/ProductNameEnum.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/ProductNameEnum.js +115 -0
- package/dist/es/models/licensing/v4/config/ResetScopeEnum.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/ResetScopeEnum.js +85 -0
- package/dist/es/models/licensing/v4/config/ScopeEnum.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/ScopeEnum.js +97 -0
- package/dist/es/models/licensing/v4/config/Service.d.ts +104 -0
- package/dist/es/models/licensing/v4/config/Service.js +444 -0
- package/dist/es/models/licensing/v4/config/ServiceProjection.d.ts +9 -0
- package/dist/es/models/licensing/v4/config/ServiceProjection.js +134 -0
- package/dist/es/models/licensing/v4/config/ServiceViolation.d.ts +60 -0
- package/dist/es/models/licensing/v4/config/ServiceViolation.js +278 -0
- package/dist/es/models/licensing/v4/config/ServiceViolationEnum.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/ServiceViolationEnum.js +91 -0
- package/dist/es/models/licensing/v4/config/Setting.d.ts +133 -0
- package/dist/es/models/licensing/v4/config/Setting.js +568 -0
- package/dist/es/models/licensing/v4/config/StatusEnum.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/StatusEnum.js +85 -0
- package/dist/es/models/licensing/v4/config/SubCategoryEnum.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/SubCategoryEnum.js +85 -0
- package/dist/es/models/licensing/v4/config/TypeEnum.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/TypeEnum.js +85 -0
- package/dist/es/models/licensing/v4/error/AppMessage.d.ts +108 -0
- package/dist/es/models/licensing/v4/error/AppMessage.js +432 -0
- package/dist/es/models/licensing/v4/error/ErrorResponse.d.ts +48 -0
- package/dist/es/models/licensing/v4/error/ErrorResponse.js +299 -0
- package/dist/es/models/licensing/v4/error/SchemaValidationError.d.ts +98 -0
- package/dist/es/models/licensing/v4/error/SchemaValidationError.js +407 -0
- package/dist/es/models/licensing/v4/error/SchemaValidationErrorMessage.d.ts +74 -0
- package/dist/es/models/licensing/v4/error/SchemaValidationErrorMessage.js +318 -0
- package/dist/es/models/validation/ValidationError.d.ts +13 -0
- package/dist/es/models/validation/ValidationError.js +60 -0
- package/dist/es/models/validation/ValidationScopes.d.ts +9 -0
- package/dist/es/models/validation/ValidationScopes.js +38 -0
- package/dist/es/utils/ValidationUtils.d.ts +13 -0
- package/dist/es/utils/ValidationUtils.js +85 -0
- package/dist/lib/ApiClient.d.ts +159 -0
- package/dist/lib/ApiClient.js +1211 -0
- package/dist/lib/Paginable.d.ts +95 -0
- package/dist/lib/Paginable.js +287 -0
- package/dist/lib/apis/enduserlicenseagreements-endpoints.d.ts +51 -0
- package/dist/lib/apis/enduserlicenseagreements-endpoints.js +183 -0
- package/dist/lib/apis/licenses-endpoints.d.ts +292 -0
- package/dist/lib/apis/licenses-endpoints.js +666 -0
- package/dist/lib/index.d.ts +160 -0
- package/dist/lib/index.js +636 -0
- package/dist/lib/models/common/v1/config/Flag.d.ts +58 -0
- package/dist/lib/models/common/v1/config/Flag.js +275 -0
- package/dist/lib/models/common/v1/config/KVPair.d.ts +62 -0
- package/dist/lib/models/common/v1/config/KVPair.js +332 -0
- package/dist/lib/models/common/v1/config/Message.d.ts +84 -0
- package/dist/lib/models/common/v1/config/Message.js +354 -0
- package/dist/lib/models/common/v1/config/MessageSeverity.d.ts +19 -0
- package/dist/lib/models/common/v1/config/MessageSeverity.js +91 -0
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +50 -0
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +243 -0
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +62 -0
- package/dist/lib/models/common/v1/response/ApiLink.js +280 -0
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +98 -0
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +438 -0
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +42 -0
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +270 -0
- package/dist/lib/models/licensing/v4/agreements/AddUserApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/agreements/AddUserApiResponse.js +311 -0
- package/dist/lib/models/licensing/v4/agreements/Eula.d.ts +95 -0
- package/dist/lib/models/licensing/v4/agreements/Eula.js +404 -0
- package/dist/lib/models/licensing/v4/agreements/EulaUser.d.ts +103 -0
- package/dist/lib/models/licensing/v4/agreements/EulaUser.js +409 -0
- package/dist/lib/models/licensing/v4/agreements/GetEulaApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/agreements/GetEulaApiResponse.js +311 -0
- package/dist/lib/models/licensing/v4/agreements/UpdateEulaApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/agreements/UpdateEulaApiResponse.js +311 -0
- package/dist/lib/models/licensing/v4/config/AllowanceDetail.d.ts +82 -0
- package/dist/lib/models/licensing/v4/config/AllowanceDetail.js +358 -0
- package/dist/lib/models/licensing/v4/config/AllowanceDetailProjection.d.ts +9 -0
- package/dist/lib/models/licensing/v4/config/AllowanceDetailProjection.js +131 -0
- package/dist/lib/models/licensing/v4/config/BaseClusterInfo.d.ts +32 -0
- package/dist/lib/models/licensing/v4/config/BaseClusterInfo.js +223 -0
- package/dist/lib/models/licensing/v4/config/BaseLicenseInfo.d.ts +74 -0
- package/dist/lib/models/licensing/v4/config/BaseLicenseInfo.js +374 -0
- package/dist/lib/models/licensing/v4/config/CapacityViolation.d.ts +80 -0
- package/dist/lib/models/licensing/v4/config/CapacityViolation.js +350 -0
- package/dist/lib/models/licensing/v4/config/ClusterAllowance.d.ts +55 -0
- package/dist/lib/models/licensing/v4/config/ClusterAllowance.js +319 -0
- package/dist/lib/models/licensing/v4/config/ClusterAllowanceProjection.d.ts +34 -0
- package/dist/lib/models/licensing/v4/config/ClusterAllowanceProjection.js +241 -0
- package/dist/lib/models/licensing/v4/config/ClusterEntitlement.d.ts +79 -0
- package/dist/lib/models/licensing/v4/config/ClusterEntitlement.js +398 -0
- package/dist/lib/models/licensing/v4/config/ClusterEntitlementProjection.d.ts +36 -0
- package/dist/lib/models/licensing/v4/config/ClusterEntitlementProjection.js +249 -0
- package/dist/lib/models/licensing/v4/config/ClusterTypeEnum.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/ClusterTypeEnum.js +91 -0
- package/dist/lib/models/licensing/v4/config/ClusterViolation.d.ts +57 -0
- package/dist/lib/models/licensing/v4/config/ClusterViolation.js +346 -0
- package/dist/lib/models/licensing/v4/config/Compliance.d.ts +55 -0
- package/dist/lib/models/licensing/v4/config/Compliance.js +319 -0
- package/dist/lib/models/licensing/v4/config/ComplianceProjection.d.ts +34 -0
- package/dist/lib/models/licensing/v4/config/ComplianceProjection.js +241 -0
- package/dist/lib/models/licensing/v4/config/Consumption.d.ts +44 -0
- package/dist/lib/models/licensing/v4/config/Consumption.js +266 -0
- package/dist/lib/models/licensing/v4/config/ConsumptionProjection.d.ts +9 -0
- package/dist/lib/models/licensing/v4/config/ConsumptionProjection.js +129 -0
- package/dist/lib/models/licensing/v4/config/EnforcementActionsEnum.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/EnforcementActionsEnum.js +139 -0
- package/dist/lib/models/licensing/v4/config/EnforcementLevelEnum.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/EnforcementLevelEnum.js +85 -0
- package/dist/lib/models/licensing/v4/config/EnforcementPolicyEnum.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/EnforcementPolicyEnum.js +85 -0
- package/dist/lib/models/licensing/v4/config/EntitlementDetail.d.ts +124 -0
- package/dist/lib/models/licensing/v4/config/EntitlementDetail.js +501 -0
- package/dist/lib/models/licensing/v4/config/EntitlementDetailProjection.d.ts +9 -0
- package/dist/lib/models/licensing/v4/config/EntitlementDetailProjection.js +134 -0
- package/dist/lib/models/licensing/v4/config/ExpiredLicense.d.ts +59 -0
- package/dist/lib/models/licensing/v4/config/ExpiredLicense.js +324 -0
- package/dist/lib/models/licensing/v4/config/Feature.d.ts +94 -0
- package/dist/lib/models/licensing/v4/config/Feature.js +449 -0
- package/dist/lib/models/licensing/v4/config/FeatureDetail.d.ts +74 -0
- package/dist/lib/models/licensing/v4/config/FeatureDetail.js +327 -0
- package/dist/lib/models/licensing/v4/config/FeatureProjection.d.ts +9 -0
- package/dist/lib/models/licensing/v4/config/FeatureProjection.js +134 -0
- package/dist/lib/models/licensing/v4/config/FeatureViolation.d.ts +32 -0
- package/dist/lib/models/licensing/v4/config/FeatureViolation.js +229 -0
- package/dist/lib/models/licensing/v4/config/GetClusterAllowanceApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/config/GetClusterAllowanceApiResponse.js +311 -0
- package/dist/lib/models/licensing/v4/config/GetClusterEntitlementApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/config/GetClusterEntitlementApiResponse.js +311 -0
- package/dist/lib/models/licensing/v4/config/GetClusterViolationApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/config/GetClusterViolationApiResponse.js +311 -0
- package/dist/lib/models/licensing/v4/config/GetComplianceApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/config/GetComplianceApiResponse.js +311 -0
- package/dist/lib/models/licensing/v4/config/GetLicenseApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/config/GetLicenseApiResponse.js +311 -0
- package/dist/lib/models/licensing/v4/config/GetSettingApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/config/GetSettingApiResponse.js +311 -0
- package/dist/lib/models/licensing/v4/config/License.d.ts +69 -0
- package/dist/lib/models/licensing/v4/config/License.js +376 -0
- package/dist/lib/models/licensing/v4/config/LicenseCategoryEnum.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/LicenseCategoryEnum.js +271 -0
- package/dist/lib/models/licensing/v4/config/LicenseProjection.d.ts +39 -0
- package/dist/lib/models/licensing/v4/config/LicenseProjection.js +264 -0
- package/dist/lib/models/licensing/v4/config/LicenseTypeEnum.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/LicenseTypeEnum.js +235 -0
- package/dist/lib/models/licensing/v4/config/ListClusterAllowancesApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/config/ListClusterAllowancesApiResponse.js +338 -0
- package/dist/lib/models/licensing/v4/config/ListClusterEntitlementsApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/config/ListClusterEntitlementsApiResponse.js +338 -0
- package/dist/lib/models/licensing/v4/config/ListClusterViolationsApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/config/ListClusterViolationsApiResponse.js +333 -0
- package/dist/lib/models/licensing/v4/config/ListCompliancesApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/config/ListCompliancesApiResponse.js +338 -0
- package/dist/lib/models/licensing/v4/config/ListFeaturesApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/config/ListFeaturesApiResponse.js +338 -0
- package/dist/lib/models/licensing/v4/config/ListLicensesApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/config/ListLicensesApiResponse.js +338 -0
- package/dist/lib/models/licensing/v4/config/ListSettingsApiResponse.d.ts +59 -0
- package/dist/lib/models/licensing/v4/config/ListSettingsApiResponse.js +333 -0
- package/dist/lib/models/licensing/v4/config/LogicalVersion.d.ts +62 -0
- package/dist/lib/models/licensing/v4/config/LogicalVersion.js +280 -0
- package/dist/lib/models/licensing/v4/config/MeterEnum.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/MeterEnum.js +121 -0
- package/dist/lib/models/licensing/v4/config/NutanixClusterConfig.d.ts +98 -0
- package/dist/lib/models/licensing/v4/config/NutanixClusterConfig.js +406 -0
- package/dist/lib/models/licensing/v4/config/PostPaidCategoryEnum.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/PostPaidCategoryEnum.js +85 -0
- package/dist/lib/models/licensing/v4/config/PostPaidConfig.d.ts +74 -0
- package/dist/lib/models/licensing/v4/config/PostPaidConfig.js +324 -0
- package/dist/lib/models/licensing/v4/config/ProductNameEnum.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/ProductNameEnum.js +115 -0
- package/dist/lib/models/licensing/v4/config/ResetScopeEnum.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/ResetScopeEnum.js +85 -0
- package/dist/lib/models/licensing/v4/config/ScopeEnum.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/ScopeEnum.js +97 -0
- package/dist/lib/models/licensing/v4/config/Service.d.ts +104 -0
- package/dist/lib/models/licensing/v4/config/Service.js +444 -0
- package/dist/lib/models/licensing/v4/config/ServiceProjection.d.ts +9 -0
- package/dist/lib/models/licensing/v4/config/ServiceProjection.js +134 -0
- package/dist/lib/models/licensing/v4/config/ServiceViolation.d.ts +60 -0
- package/dist/lib/models/licensing/v4/config/ServiceViolation.js +278 -0
- package/dist/lib/models/licensing/v4/config/ServiceViolationEnum.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/ServiceViolationEnum.js +91 -0
- package/dist/lib/models/licensing/v4/config/Setting.d.ts +133 -0
- package/dist/lib/models/licensing/v4/config/Setting.js +568 -0
- package/dist/lib/models/licensing/v4/config/StatusEnum.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/StatusEnum.js +85 -0
- package/dist/lib/models/licensing/v4/config/SubCategoryEnum.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/SubCategoryEnum.js +85 -0
- package/dist/lib/models/licensing/v4/config/TypeEnum.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/TypeEnum.js +85 -0
- package/dist/lib/models/licensing/v4/error/AppMessage.d.ts +108 -0
- package/dist/lib/models/licensing/v4/error/AppMessage.js +432 -0
- package/dist/lib/models/licensing/v4/error/ErrorResponse.d.ts +48 -0
- package/dist/lib/models/licensing/v4/error/ErrorResponse.js +299 -0
- package/dist/lib/models/licensing/v4/error/SchemaValidationError.d.ts +98 -0
- package/dist/lib/models/licensing/v4/error/SchemaValidationError.js +407 -0
- package/dist/lib/models/licensing/v4/error/SchemaValidationErrorMessage.d.ts +74 -0
- package/dist/lib/models/licensing/v4/error/SchemaValidationErrorMessage.js +318 -0
- package/dist/lib/models/validation/ValidationError.d.ts +13 -0
- package/dist/lib/models/validation/ValidationError.js +60 -0
- package/dist/lib/models/validation/ValidationScopes.d.ts +9 -0
- package/dist/lib/models/validation/ValidationScopes.js +38 -0
- package/dist/lib/utils/ValidationUtils.d.ts +13 -0
- package/dist/lib/utils/ValidationUtils.js +85 -0
- package/package.json +53 -0
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Licenses service.
|
|
3
|
+
* @version 4.0.1-alpha-1
|
|
4
|
+
* @class LicensesApi
|
|
5
|
+
*/
|
|
6
|
+
export class LicensesApi {
|
|
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 LicensesApi.
|
|
14
|
+
* @alias module:api/LicensesApi
|
|
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 allowances for a cluster
|
|
23
|
+
* API to fetch allowances for a particular cluster.
|
|
24
|
+
* @param { String } extId Prism Central or Prism Element UUID.
|
|
25
|
+
* @param {Object} args Additional Arguments
|
|
26
|
+
* @return {Promise<GetClusterAllowanceApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetClusterAllowanceApiResponse } and HTTP response
|
|
27
|
+
*/
|
|
28
|
+
getClusterAllowanceByClusterId(extId: string, ...args: any): Promise<GetClusterAllowanceApiResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* List license entitlements for a cluster
|
|
31
|
+
* API to fetch entitlements for a particular cluster.
|
|
32
|
+
* @param { String } extId Prism Central or Prism Element UUID.
|
|
33
|
+
* @param {Object} args Additional Arguments
|
|
34
|
+
* @return {Promise<GetClusterEntitlementApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetClusterEntitlementApiResponse } and HTTP response
|
|
35
|
+
*/
|
|
36
|
+
getClusterEntitlementByClusterId(extId: string, ...args: any): Promise<GetClusterEntitlementApiResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Get license violation for a cluster
|
|
39
|
+
* API to fetch violations for a particular cluster.
|
|
40
|
+
* @param { String } extId Prism Central or Prism Element UUID.
|
|
41
|
+
* @param {Object} args Additional Arguments
|
|
42
|
+
* @return {Promise<GetClusterViolationApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetClusterViolationApiResponse } and HTTP response
|
|
43
|
+
*/
|
|
44
|
+
getClusterViolationByClusterId(extId: string, ...args: any): Promise<GetClusterViolationApiResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* List license compliances for a cluster
|
|
47
|
+
* API to fetch compliances for a particular cluster.
|
|
48
|
+
* @param { String } extId Prism Central or Prism Element UUID.
|
|
49
|
+
* @param {Object} args Additional Arguments
|
|
50
|
+
* @return {Promise<GetComplianceApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetComplianceApiResponse } and HTTP response
|
|
51
|
+
*/
|
|
52
|
+
getComplianceByClusterId(extId: string, ...args: any): Promise<GetComplianceApiResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Get applied license inventory by license ID
|
|
55
|
+
* API to fetch license details for a particular license identifier.
|
|
56
|
+
* @param { String } extId License ID to be fetched, Example: LIC-01485985
|
|
57
|
+
* @param {Object} args Additional Arguments
|
|
58
|
+
* @return {Promise<GetLicenseApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetLicenseApiResponse } and HTTP response
|
|
59
|
+
*/
|
|
60
|
+
getLicenseById(extId: string, ...args: any): Promise<GetLicenseApiResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* Get license configurations for a cluster
|
|
63
|
+
* API to fetch setting details for a particular cluster.
|
|
64
|
+
* @param { String } extId Prism Central or Prism Element UUID.
|
|
65
|
+
* @param {Object} args Additional Arguments
|
|
66
|
+
* @return {Promise<GetSettingApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetSettingApiResponse } and HTTP response
|
|
67
|
+
*/
|
|
68
|
+
getSettingByClusterId(extId: string, ...args: any): Promise<GetSettingApiResponse>;
|
|
69
|
+
/**
|
|
70
|
+
* List allowances
|
|
71
|
+
* API to fetch allowances.
|
|
72
|
+
* @param {Object} opts Optional parameters defined for the operation
|
|
73
|
+
* @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
|
|
74
|
+
|
|
75
|
+
* @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
|
|
76
|
+
|
|
77
|
+
* @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
|
|
78
|
+
* For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.<br>
|
|
79
|
+
* The filter can be applied to the following fields:<br>
|
|
80
|
+
* - clusterExtId<br>
|
|
81
|
+
* - extId<br>
|
|
82
|
+
* - isDeleted<br>
|
|
83
|
+
* - name<br>
|
|
84
|
+
* - type
|
|
85
|
+
* @param { String } opts.$expand A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby. The following expansion keys are supported.
|
|
86
|
+
- allowanceDetails
|
|
87
|
+
|
|
88
|
+
* @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.
|
|
89
|
+
- clusterExtId
|
|
90
|
+
- extId
|
|
91
|
+
- name
|
|
92
|
+
- type
|
|
93
|
+
|
|
94
|
+
* @param {Object} args Additional Arguments
|
|
95
|
+
* @return {Promise<ListClusterAllowancesApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListClusterAllowancesApiResponse } and HTTP response
|
|
96
|
+
*/
|
|
97
|
+
listAllowances(opts: {
|
|
98
|
+
$page: number;
|
|
99
|
+
$limit: number;
|
|
100
|
+
$filter: string;
|
|
101
|
+
$expand: string;
|
|
102
|
+
$select: string;
|
|
103
|
+
}, ...args: any): Promise<ListClusterAllowancesApiResponse>;
|
|
104
|
+
/**
|
|
105
|
+
* List license compliances
|
|
106
|
+
* API to fetch list of compliances across clusters.
|
|
107
|
+
* @param {Object} opts Optional parameters defined for the operation
|
|
108
|
+
* @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
|
|
109
|
+
|
|
110
|
+
* @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
|
|
111
|
+
|
|
112
|
+
* @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
|
|
113
|
+
* For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.<br>
|
|
114
|
+
* The filter can be applied to the following fields:<br>
|
|
115
|
+
* - clusterExtId<br>
|
|
116
|
+
* - isDeleted<br>
|
|
117
|
+
* - type
|
|
118
|
+
* @param { String } opts.$expand A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby. The following expansion keys are supported.
|
|
119
|
+
- compliance
|
|
120
|
+
|
|
121
|
+
* @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.
|
|
122
|
+
- clusterExtId
|
|
123
|
+
- type
|
|
124
|
+
|
|
125
|
+
* @param {Object} args Additional Arguments
|
|
126
|
+
* @return {Promise<ListCompliancesApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListCompliancesApiResponse } and HTTP response
|
|
127
|
+
*/
|
|
128
|
+
listCompliances(opts: {
|
|
129
|
+
$page: number;
|
|
130
|
+
$limit: number;
|
|
131
|
+
$filter: string;
|
|
132
|
+
$expand: string;
|
|
133
|
+
$select: string;
|
|
134
|
+
}, ...args: any): Promise<ListCompliancesApiResponse>;
|
|
135
|
+
/**
|
|
136
|
+
* List license entitlements
|
|
137
|
+
* API to fetch entitlements list.
|
|
138
|
+
* @param {Object} opts Optional parameters defined for the operation
|
|
139
|
+
* @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
|
|
140
|
+
|
|
141
|
+
* @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
|
|
142
|
+
|
|
143
|
+
* @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
|
|
144
|
+
* For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.<br>
|
|
145
|
+
* The filter can be applied to the following fields:<br>
|
|
146
|
+
* - clusterExtId<br>
|
|
147
|
+
* - extId<br>
|
|
148
|
+
* - isDeleted<br>
|
|
149
|
+
* - name<br>
|
|
150
|
+
* - type
|
|
151
|
+
* @param { String } opts.$expand A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby. The following expansion keys are supported.
|
|
152
|
+
- entitlementDetails
|
|
153
|
+
|
|
154
|
+
* @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.
|
|
155
|
+
- clusterExtId
|
|
156
|
+
- extId
|
|
157
|
+
- name
|
|
158
|
+
- type
|
|
159
|
+
|
|
160
|
+
* @param {Object} args Additional Arguments
|
|
161
|
+
* @return {Promise<ListClusterEntitlementsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListClusterEntitlementsApiResponse } and HTTP response
|
|
162
|
+
*/
|
|
163
|
+
listEntitlements(opts: {
|
|
164
|
+
$page: number;
|
|
165
|
+
$limit: number;
|
|
166
|
+
$filter: string;
|
|
167
|
+
$expand: string;
|
|
168
|
+
$select: string;
|
|
169
|
+
}, ...args: any): Promise<ListClusterEntitlementsApiResponse>;
|
|
170
|
+
/**
|
|
171
|
+
* List license features
|
|
172
|
+
* API to fetch features list.
|
|
173
|
+
* @param {Object} opts Optional parameters defined for the operation
|
|
174
|
+
* @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
|
|
175
|
+
|
|
176
|
+
* @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
|
|
177
|
+
|
|
178
|
+
* @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
|
|
179
|
+
* For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.<br>
|
|
180
|
+
* The filter can be applied to the following fields:<br>
|
|
181
|
+
* - licenseCategory<br>
|
|
182
|
+
* - licenseSubCategory<br>
|
|
183
|
+
* - licenseType<br>
|
|
184
|
+
* - name<br>
|
|
185
|
+
* - scope<br>
|
|
186
|
+
* - type<br>
|
|
187
|
+
* - value
|
|
188
|
+
* @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.<br>
|
|
189
|
+
* The orderby can be applied to the following fields:<br>
|
|
190
|
+
* - licenseCategory<br>
|
|
191
|
+
* - licenseType<br>
|
|
192
|
+
* - name
|
|
193
|
+
* @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.
|
|
194
|
+
- licenseCategory
|
|
195
|
+
- licenseSubCategory
|
|
196
|
+
- licenseType
|
|
197
|
+
- name
|
|
198
|
+
- type
|
|
199
|
+
- value
|
|
200
|
+
|
|
201
|
+
* @param {Object} args Additional Arguments
|
|
202
|
+
* @return {Promise<ListFeaturesApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListFeaturesApiResponse } and HTTP response
|
|
203
|
+
*/
|
|
204
|
+
listFeatures(opts: {
|
|
205
|
+
$page: number;
|
|
206
|
+
$limit: number;
|
|
207
|
+
$filter: string;
|
|
208
|
+
$orderby: string;
|
|
209
|
+
$select: string;
|
|
210
|
+
}, ...args: any): Promise<ListFeaturesApiResponse>;
|
|
211
|
+
/**
|
|
212
|
+
* List applied license inventory
|
|
213
|
+
* API to fetch license list along with consumption details using expansion.
|
|
214
|
+
* @param {Object} opts Optional parameters defined for the operation
|
|
215
|
+
* @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
|
|
216
|
+
|
|
217
|
+
* @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
|
|
218
|
+
|
|
219
|
+
* @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
|
|
220
|
+
* For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.<br>
|
|
221
|
+
* The filter can be applied to the following fields:<br>
|
|
222
|
+
* - category<br>
|
|
223
|
+
* - extId<br>
|
|
224
|
+
* - isDeleted<br>
|
|
225
|
+
* - meter<br>
|
|
226
|
+
* - subCategory<br>
|
|
227
|
+
* - type
|
|
228
|
+
* @param { String } opts.$expand A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby. The following expansion keys are supported.
|
|
229
|
+
- consumptionDetails
|
|
230
|
+
|
|
231
|
+
* @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.
|
|
232
|
+
- category
|
|
233
|
+
- meter
|
|
234
|
+
- subCategory
|
|
235
|
+
- type
|
|
236
|
+
|
|
237
|
+
* @param {Object} args Additional Arguments
|
|
238
|
+
* @return {Promise<ListLicensesApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListLicensesApiResponse } and HTTP response
|
|
239
|
+
*/
|
|
240
|
+
listLicenses(opts: {
|
|
241
|
+
$page: number;
|
|
242
|
+
$limit: number;
|
|
243
|
+
$filter: string;
|
|
244
|
+
$expand: string;
|
|
245
|
+
$select: string;
|
|
246
|
+
}, ...args: any): Promise<ListLicensesApiResponse>;
|
|
247
|
+
/**
|
|
248
|
+
* List license configurations
|
|
249
|
+
* API to fetch settings list.
|
|
250
|
+
* @param {Object} opts Optional parameters defined for the operation
|
|
251
|
+
* @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
|
|
252
|
+
|
|
253
|
+
* @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
|
|
254
|
+
|
|
255
|
+
* @param {Object} args Additional Arguments
|
|
256
|
+
* @return {Promise<ListSettingsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListSettingsApiResponse } and HTTP response
|
|
257
|
+
*/
|
|
258
|
+
listSettings(opts: {
|
|
259
|
+
$page: number;
|
|
260
|
+
$limit: number;
|
|
261
|
+
}, ...args: any): Promise<ListSettingsApiResponse>;
|
|
262
|
+
/**
|
|
263
|
+
* List license violations
|
|
264
|
+
* API to fetch violations list.
|
|
265
|
+
* @param {Object} opts Optional parameters defined for the operation
|
|
266
|
+
* @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
|
|
267
|
+
|
|
268
|
+
* @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
|
|
269
|
+
|
|
270
|
+
* @param {Object} args Additional Arguments
|
|
271
|
+
* @return {Promise<ListClusterViolationsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListClusterViolationsApiResponse } and HTTP response
|
|
272
|
+
*/
|
|
273
|
+
listViolations(opts: {
|
|
274
|
+
$page: number;
|
|
275
|
+
$limit: number;
|
|
276
|
+
}, ...args: any): Promise<ListClusterViolationsApiResponse>;
|
|
277
|
+
#private;
|
|
278
|
+
}
|
|
279
|
+
import GetClusterAllowanceApiResponse from "../models/licensing/v4/config/GetClusterAllowanceApiResponse";
|
|
280
|
+
import GetClusterEntitlementApiResponse from "../models/licensing/v4/config/GetClusterEntitlementApiResponse";
|
|
281
|
+
import GetClusterViolationApiResponse from "../models/licensing/v4/config/GetClusterViolationApiResponse";
|
|
282
|
+
import GetComplianceApiResponse from "../models/licensing/v4/config/GetComplianceApiResponse";
|
|
283
|
+
import GetLicenseApiResponse from "../models/licensing/v4/config/GetLicenseApiResponse";
|
|
284
|
+
import GetSettingApiResponse from "../models/licensing/v4/config/GetSettingApiResponse";
|
|
285
|
+
import ListClusterAllowancesApiResponse from "../models/licensing/v4/config/ListClusterAllowancesApiResponse";
|
|
286
|
+
import ListCompliancesApiResponse from "../models/licensing/v4/config/ListCompliancesApiResponse";
|
|
287
|
+
import ListClusterEntitlementsApiResponse from "../models/licensing/v4/config/ListClusterEntitlementsApiResponse";
|
|
288
|
+
import ListFeaturesApiResponse from "../models/licensing/v4/config/ListFeaturesApiResponse";
|
|
289
|
+
import ListLicensesApiResponse from "../models/licensing/v4/config/ListLicensesApiResponse";
|
|
290
|
+
import ListSettingsApiResponse from "../models/licensing/v4/config/ListSettingsApiResponse";
|
|
291
|
+
import ListClusterViolationsApiResponse from "../models/licensing/v4/config/ListClusterViolationsApiResponse";
|
|
292
|
+
import { ApiClient } from "../ApiClient";
|