@nutanix-scratch/microseg-js-client 4.1.1 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -5
- package/dist/Ntnx-Microseg-js-client-prod.js +1 -1
- package/dist/Ntnx-Microseg-js-client.js +637 -543
- package/dist/es/ApiClient.d.ts +29 -7
- package/dist/es/ApiClient.js +854 -667
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +144 -183
- package/dist/es/apis/addressgroups-endpoints.d.ts +2 -2
- package/dist/es/apis/addressgroups-endpoints.js +210 -224
- package/dist/es/apis/directoryserverconfigs-endpoints.d.ts +2 -2
- package/dist/es/apis/directoryserverconfigs-endpoints.js +390 -407
- package/dist/es/apis/entitygroups-endpoints.d.ts +2 -2
- package/dist/es/apis/entitygroups-endpoints.js +210 -224
- package/dist/es/apis/networksecuritypolicies-endpoints.d.ts +3 -3
- package/dist/es/apis/networksecuritypolicies-endpoints.js +361 -371
- package/dist/es/apis/servicegroups-endpoints.d.ts +2 -2
- package/dist/es/apis/servicegroups-endpoints.js +210 -224
- package/dist/es/index.d.ts +17 -1
- package/dist/es/index.js +373 -309
- package/dist/es/models/common/v1/config/FQDN.d.ts +2 -7
- package/dist/es/models/common/v1/config/FQDN.js +141 -180
- package/dist/es/models/common/v1/config/Flag.d.ts +2 -8
- package/dist/es/models/common/v1/config/Flag.js +170 -211
- package/dist/es/models/common/v1/config/IPAddressOrFQDN.d.ts +2 -26
- package/dist/es/models/common/v1/config/IPAddressOrFQDN.js +196 -247
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +2 -8
- package/dist/es/models/common/v1/config/IPv4Address.js +174 -215
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +2 -8
- package/dist/es/models/common/v1/config/IPv6Address.js +174 -215
- package/dist/es/models/common/v1/config/KVPair.d.ts +2 -8
- package/dist/es/models/common/v1/config/KVPair.js +225 -270
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +139 -178
- package/dist/es/models/common/v1/config/Message.d.ts +2 -10
- package/dist/es/models/common/v1/config/Message.js +213 -258
- package/dist/es/models/common/v1/config/MessageSeverity.js +7 -9
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +2 -7
- package/dist/es/models/common/v1/config/TenantAwareModel.js +137 -177
- package/dist/es/models/common/v1/response/ApiLink.d.ts +2 -8
- package/dist/es/models/common/v1/response/ApiLink.js +165 -206
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +281 -344
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +154 -202
- package/dist/es/models/microseg/v4/config/AdInfo.d.ts +2 -10
- package/dist/es/models/microseg/v4/config/AdInfo.js +219 -265
- package/dist/es/models/microseg/v4/config/AdStatus.js +7 -9
- package/dist/es/models/microseg/v4/config/AddressGroup.d.ts +47 -33
- package/dist/es/models/microseg/v4/config/AddressGroup.js +468 -365
- package/dist/es/models/microseg/v4/config/Addresses.d.ts +48 -0
- package/dist/es/models/microseg/v4/config/Addresses.js +248 -0
- package/dist/es/models/microseg/v4/config/AllToAllIsolationGroup.d.ts +2 -14
- package/dist/es/models/microseg/v4/config/AllToAllIsolationGroup.js +152 -195
- package/dist/es/models/microseg/v4/config/AllowType.js +7 -9
- package/dist/es/models/microseg/v4/config/AllowedConfig.d.ts +5 -18
- package/dist/es/models/microseg/v4/config/AllowedConfig.js +153 -196
- package/dist/es/models/microseg/v4/config/AllowedEntity.d.ts +22 -10
- package/dist/es/models/microseg/v4/config/AllowedEntity.js +301 -278
- package/dist/es/models/microseg/v4/config/AllowedSelectBy.js +15 -11
- package/dist/es/models/microseg/v4/config/AllowedType.js +15 -11
- package/dist/es/models/microseg/v4/config/ApplicationRuleSpec.d.ts +33 -59
- package/dist/es/models/microseg/v4/config/ApplicationRuleSpec.js +871 -851
- package/dist/es/models/microseg/v4/config/CategoryAssociatedEntityType.js +7 -9
- package/dist/es/models/microseg/v4/config/CategoryMapping.d.ts +1 -27
- package/dist/es/models/microseg/v4/config/CategoryMapping.js +211 -259
- package/dist/es/models/microseg/v4/config/CreateAddressGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/CreateAddressGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/CreateDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/CreateDirectoryServerConfigApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/CreateDsCategoryMappingApiResponse.d.ts +2 -45
- package/dist/es/models/microseg/v4/config/CreateDsCategoryMappingApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/CreateEntityGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/CreateEntityGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyExportApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyExportApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyImportApiResponse.d.ts +2 -46
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyImportApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/CreateServiceGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/CreateServiceGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/DeleteAddressGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/DeleteAddressGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/DeleteDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/DeleteDirectoryServerConfigApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/DeleteDsCategoryMappingApiResponse.d.ts +2 -46
- package/dist/es/models/microseg/v4/config/DeleteDsCategoryMappingApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/DeleteEntityGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/DeleteEntityGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/DeleteNetworkSecurityPolicyApiResponse.d.ts +2 -45
- package/dist/es/models/microseg/v4/config/DeleteNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/DeleteServiceGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/DeleteServiceGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/DirectoryServerConfig.d.ts +1 -56
- package/dist/es/models/microseg/v4/config/DirectoryServerConfig.js +256 -314
- package/dist/es/models/microseg/v4/config/EntityGroup.d.ts +33 -33
- package/dist/es/models/microseg/v4/config/EntityGroup.js +348 -299
- package/dist/es/models/microseg/v4/config/ExceptConfig.d.ts +48 -0
- package/dist/es/models/microseg/v4/config/ExceptConfig.js +248 -0
- package/dist/es/models/microseg/v4/config/ExceptEntity.d.ts +87 -0
- package/dist/es/models/microseg/v4/config/ExceptEntity.js +382 -0
- package/dist/es/models/microseg/v4/config/ExceptSelectBy.d.ts +19 -0
- package/dist/es/models/microseg/v4/config/ExceptSelectBy.js +83 -0
- package/dist/es/models/microseg/v4/config/ExceptType.d.ts +19 -0
- package/dist/es/models/microseg/v4/config/ExceptType.js +77 -0
- package/dist/es/models/microseg/v4/config/GetAddressGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/GetAddressGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/GetDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/GetDirectoryServerConfigApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/GetDsCategoryMappingApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/GetDsCategoryMappingApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/GetEntityGroupApiResponse.d.ts +2 -46
- package/dist/es/models/microseg/v4/config/GetEntityGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/GetNetworkSecurityPolicyApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/GetNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/GetServiceGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/GetServiceGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/IPv4Range.d.ts +2 -8
- package/dist/es/models/microseg/v4/config/IPv4Range.js +171 -212
- package/dist/es/models/microseg/v4/config/IPv6Range.d.ts +72 -0
- package/dist/es/models/microseg/v4/config/IPv6Range.js +287 -0
- package/dist/es/models/microseg/v4/config/IcmpTypeCodeSpec.d.ts +2 -9
- package/dist/es/models/microseg/v4/config/IcmpTypeCodeSpec.js +205 -248
- package/dist/es/models/microseg/v4/config/IcmpV6TypeCodeSpec.d.ts +73 -0
- package/dist/es/models/microseg/v4/config/IcmpV6TypeCodeSpec.js +324 -0
- package/dist/es/models/microseg/v4/config/IntraEntityGroupRuleAction.js +7 -9
- package/dist/es/models/microseg/v4/config/IntraEntityGroupRuleSpec.d.ts +14 -33
- package/dist/es/models/microseg/v4/config/IntraEntityGroupRuleSpec.js +408 -427
- package/dist/es/models/microseg/v4/config/IpRange.d.ts +48 -0
- package/dist/es/models/microseg/v4/config/IpRange.js +248 -0
- package/dist/es/models/microseg/v4/config/IsolationGroup.d.ts +2 -9
- package/dist/es/models/microseg/v4/config/IsolationGroup.js +201 -244
- package/dist/es/models/microseg/v4/config/ListAddressGroupsApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/ListAddressGroupsApiResponse.js +209 -264
- package/dist/es/models/microseg/v4/config/ListDirectoryServerConfigsApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/ListDirectoryServerConfigsApiResponse.js +209 -264
- package/dist/es/models/microseg/v4/config/ListDsCategoryMappingsApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/ListDsCategoryMappingsApiResponse.js +209 -264
- package/dist/es/models/microseg/v4/config/ListEntityGroupsApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/ListEntityGroupsApiResponse.js +209 -264
- package/dist/es/models/microseg/v4/config/ListNetworkSecurityPoliciesApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/ListNetworkSecurityPoliciesApiResponse.js +212 -267
- package/dist/es/models/microseg/v4/config/ListNetworkSecurityPolicyRulesApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/ListNetworkSecurityPolicyRulesApiResponse.js +209 -264
- package/dist/es/models/microseg/v4/config/ListServiceGroupsApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/ListServiceGroupsApiResponse.js +209 -264
- package/dist/es/models/microseg/v4/config/MatchEntity.js +7 -9
- package/dist/es/models/microseg/v4/config/MatchField.js +7 -9
- package/dist/es/models/microseg/v4/config/MatchType.js +7 -9
- package/dist/es/models/microseg/v4/config/MatchingCriteria.d.ts +2 -10
- package/dist/es/models/microseg/v4/config/MatchingCriteria.js +212 -257
- package/dist/es/models/microseg/v4/config/MultiEnvIsolationRuleSpec.d.ts +2 -7
- package/dist/es/models/microseg/v4/config/MultiEnvIsolationRuleSpec.js +152 -195
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicy.d.ts +26 -51
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicy.js +663 -676
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicyExportSpec.d.ts +2 -7
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicyExportSpec.js +150 -189
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicyRule.d.ts +1 -18
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicyRule.js +201 -251
- package/dist/es/models/microseg/v4/config/RuleType.js +7 -9
- package/dist/es/models/microseg/v4/config/SecurityPolicyScope.js +7 -9
- package/dist/es/models/microseg/v4/config/SecurityPolicyState.js +7 -9
- package/dist/es/models/microseg/v4/config/SecurityPolicyType.js +7 -9
- package/dist/es/models/microseg/v4/config/ServiceGroup.d.ts +35 -42
- package/dist/es/models/microseg/v4/config/ServiceGroup.js +481 -436
- package/dist/es/models/microseg/v4/config/SyncPolicy.d.ts +1 -19
- package/dist/es/models/microseg/v4/config/SyncPolicy.js +216 -264
- package/dist/es/models/microseg/v4/config/TcpPortRangeSpec.d.ts +2 -8
- package/dist/es/models/microseg/v4/config/TcpPortRangeSpec.js +180 -221
- package/dist/es/models/microseg/v4/config/TwoEnvIsolationRuleSpec.d.ts +2 -8
- package/dist/es/models/microseg/v4/config/TwoEnvIsolationRuleSpec.js +186 -227
- package/dist/es/models/microseg/v4/config/UdpPortRangeSpec.d.ts +2 -8
- package/dist/es/models/microseg/v4/config/UdpPortRangeSpec.js +180 -221
- package/dist/es/models/microseg/v4/config/UpdateAddressGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/UpdateAddressGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/UpdateDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/UpdateDirectoryServerConfigApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/UpdateDsCategoryMappingApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/UpdateDsCategoryMappingApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/UpdateEntityGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/UpdateEntityGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/UpdateNetworkSecurityPolicyApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/UpdateNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/UpdateServiceGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/UpdateServiceGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/error/AppMessage.d.ts +2 -12
- package/dist/es/models/microseg/v4/error/AppMessage.js +264 -313
- package/dist/es/models/microseg/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/es/models/microseg/v4/error/ErrorResponse.js +175 -218
- package/dist/es/models/microseg/v4/error/SchemaValidationError.d.ts +2 -18
- package/dist/es/models/microseg/v4/error/SchemaValidationError.js +249 -300
- package/dist/es/models/microseg/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
- package/dist/es/models/microseg/v4/error/SchemaValidationErrorMessage.js +191 -234
- package/dist/es/models/microseg/v4/operation/DryRunSpec.d.ts +2 -8
- package/dist/es/models/microseg/v4/operation/DryRunSpec.js +173 -214
- package/dist/es/models/microseg/v4/operation/DryRunSummary.d.ts +1 -103
- package/dist/es/models/microseg/v4/operation/DryRunSummary.js +227 -287
- package/dist/es/models/microseg/v4/operation/PolicyCount.d.ts +2 -9
- package/dist/es/models/microseg/v4/operation/PolicyCount.js +191 -234
- package/dist/es/models/microseg/v4/operation/PolicyCountByType.d.ts +2 -15
- package/dist/es/models/microseg/v4/operation/PolicyCountByType.js +162 -203
- package/dist/es/models/microseg/v4/operation/PolicyMetadata.d.ts +2 -20
- package/dist/es/models/microseg/v4/operation/PolicyMetadata.js +326 -380
- package/dist/es/models/microseg/v4/operation/PolicyPreview.d.ts +1 -109
- package/dist/es/models/microseg/v4/operation/PolicyPreview.js +160 -208
- package/dist/es/models/microseg/v4/operation/PolicyUpgradeSummary.d.ts +2 -45
- package/dist/es/models/microseg/v4/operation/PolicyUpgradeSummary.js +202 -249
- package/dist/es/models/microseg/v4/operation/SecurityPolicyOptions.d.ts +5 -11
- package/dist/es/models/microseg/v4/operation/SecurityPolicyOptions.js +167 -208
- package/dist/es/models/microseg/v4/operation/SecurityPolicyType.js +7 -9
- package/dist/es/models/microseg/v4/operation/SubnetUpgradeSummary.d.ts +2 -9
- package/dist/es/models/microseg/v4/operation/SubnetUpgradeSummary.js +196 -239
- package/dist/es/models/microseg/v4/operation/TotalPolicyCount.d.ts +2 -28
- package/dist/es/models/microseg/v4/operation/TotalPolicyCount.js +171 -216
- package/dist/es/models/microseg/v4/operation/UpgradeJob.d.ts +2 -7
- package/dist/es/models/microseg/v4/operation/UpgradeJob.js +155 -198
- package/dist/es/models/microseg/v4/operation/UpgradeSpec.d.ts +2 -8
- package/dist/es/models/microseg/v4/operation/UpgradeSpec.js +166 -207
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +2 -7
- package/dist/es/models/prism/v4/config/TaskReference.js +142 -181
- package/dist/es/models/validation/ValidationError.js +26 -42
- package/dist/es/models/validation/ValidationScopes.js +3 -3
- package/dist/es/utils/ValidationUtils.js +39 -69
- package/dist/lib/ApiClient.d.ts +29 -7
- package/dist/lib/ApiClient.js +854 -667
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +144 -183
- package/dist/lib/apis/addressgroups-endpoints.d.ts +2 -2
- package/dist/lib/apis/addressgroups-endpoints.js +210 -224
- package/dist/lib/apis/directoryserverconfigs-endpoints.d.ts +2 -2
- package/dist/lib/apis/directoryserverconfigs-endpoints.js +390 -407
- package/dist/lib/apis/entitygroups-endpoints.d.ts +2 -2
- package/dist/lib/apis/entitygroups-endpoints.js +210 -224
- package/dist/lib/apis/networksecuritypolicies-endpoints.d.ts +3 -3
- package/dist/lib/apis/networksecuritypolicies-endpoints.js +361 -371
- package/dist/lib/apis/servicegroups-endpoints.d.ts +2 -2
- package/dist/lib/apis/servicegroups-endpoints.js +210 -224
- package/dist/lib/index.d.ts +17 -1
- package/dist/lib/index.js +373 -309
- package/dist/lib/models/common/v1/config/FQDN.d.ts +2 -7
- package/dist/lib/models/common/v1/config/FQDN.js +141 -180
- package/dist/lib/models/common/v1/config/Flag.d.ts +2 -8
- package/dist/lib/models/common/v1/config/Flag.js +170 -211
- package/dist/lib/models/common/v1/config/IPAddressOrFQDN.d.ts +2 -26
- package/dist/lib/models/common/v1/config/IPAddressOrFQDN.js +196 -247
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +2 -8
- package/dist/lib/models/common/v1/config/IPv4Address.js +174 -215
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +2 -8
- package/dist/lib/models/common/v1/config/IPv6Address.js +174 -215
- package/dist/lib/models/common/v1/config/KVPair.d.ts +2 -8
- package/dist/lib/models/common/v1/config/KVPair.js +225 -270
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +139 -178
- package/dist/lib/models/common/v1/config/Message.d.ts +2 -10
- package/dist/lib/models/common/v1/config/Message.js +213 -258
- package/dist/lib/models/common/v1/config/MessageSeverity.js +7 -9
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +2 -7
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +137 -177
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +2 -8
- package/dist/lib/models/common/v1/response/ApiLink.js +165 -206
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +281 -344
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +154 -202
- package/dist/lib/models/microseg/v4/config/AdInfo.d.ts +2 -10
- package/dist/lib/models/microseg/v4/config/AdInfo.js +219 -265
- package/dist/lib/models/microseg/v4/config/AdStatus.js +7 -9
- package/dist/lib/models/microseg/v4/config/AddressGroup.d.ts +47 -33
- package/dist/lib/models/microseg/v4/config/AddressGroup.js +468 -365
- package/dist/lib/models/microseg/v4/config/Addresses.d.ts +48 -0
- package/dist/lib/models/microseg/v4/config/Addresses.js +248 -0
- package/dist/lib/models/microseg/v4/config/AllToAllIsolationGroup.d.ts +2 -14
- package/dist/lib/models/microseg/v4/config/AllToAllIsolationGroup.js +152 -195
- package/dist/lib/models/microseg/v4/config/AllowType.js +7 -9
- package/dist/lib/models/microseg/v4/config/AllowedConfig.d.ts +5 -18
- package/dist/lib/models/microseg/v4/config/AllowedConfig.js +153 -196
- package/dist/lib/models/microseg/v4/config/AllowedEntity.d.ts +22 -10
- package/dist/lib/models/microseg/v4/config/AllowedEntity.js +301 -278
- package/dist/lib/models/microseg/v4/config/AllowedSelectBy.js +15 -11
- package/dist/lib/models/microseg/v4/config/AllowedType.js +15 -11
- package/dist/lib/models/microseg/v4/config/ApplicationRuleSpec.d.ts +33 -59
- package/dist/lib/models/microseg/v4/config/ApplicationRuleSpec.js +871 -851
- package/dist/lib/models/microseg/v4/config/CategoryAssociatedEntityType.js +7 -9
- package/dist/lib/models/microseg/v4/config/CategoryMapping.d.ts +1 -27
- package/dist/lib/models/microseg/v4/config/CategoryMapping.js +211 -259
- package/dist/lib/models/microseg/v4/config/CreateAddressGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/CreateAddressGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/CreateDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/CreateDirectoryServerConfigApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/CreateDsCategoryMappingApiResponse.d.ts +2 -45
- package/dist/lib/models/microseg/v4/config/CreateDsCategoryMappingApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/CreateEntityGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/CreateEntityGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyExportApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyExportApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyImportApiResponse.d.ts +2 -46
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyImportApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/CreateServiceGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/CreateServiceGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/DeleteAddressGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/DeleteAddressGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/DeleteDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/DeleteDirectoryServerConfigApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/DeleteDsCategoryMappingApiResponse.d.ts +2 -46
- package/dist/lib/models/microseg/v4/config/DeleteDsCategoryMappingApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/DeleteEntityGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/DeleteEntityGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/DeleteNetworkSecurityPolicyApiResponse.d.ts +2 -45
- package/dist/lib/models/microseg/v4/config/DeleteNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/DeleteServiceGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/DeleteServiceGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/DirectoryServerConfig.d.ts +1 -56
- package/dist/lib/models/microseg/v4/config/DirectoryServerConfig.js +256 -314
- package/dist/lib/models/microseg/v4/config/EntityGroup.d.ts +33 -33
- package/dist/lib/models/microseg/v4/config/EntityGroup.js +348 -299
- package/dist/lib/models/microseg/v4/config/ExceptConfig.d.ts +48 -0
- package/dist/lib/models/microseg/v4/config/ExceptConfig.js +248 -0
- package/dist/lib/models/microseg/v4/config/ExceptEntity.d.ts +87 -0
- package/dist/lib/models/microseg/v4/config/ExceptEntity.js +382 -0
- package/dist/lib/models/microseg/v4/config/ExceptSelectBy.d.ts +19 -0
- package/dist/lib/models/microseg/v4/config/ExceptSelectBy.js +83 -0
- package/dist/lib/models/microseg/v4/config/ExceptType.d.ts +19 -0
- package/dist/lib/models/microseg/v4/config/ExceptType.js +77 -0
- package/dist/lib/models/microseg/v4/config/GetAddressGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/GetAddressGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/GetDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/GetDirectoryServerConfigApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/GetDsCategoryMappingApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/GetDsCategoryMappingApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/GetEntityGroupApiResponse.d.ts +2 -46
- package/dist/lib/models/microseg/v4/config/GetEntityGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/GetNetworkSecurityPolicyApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/GetNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/GetServiceGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/GetServiceGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/IPv4Range.d.ts +2 -8
- package/dist/lib/models/microseg/v4/config/IPv4Range.js +171 -212
- package/dist/lib/models/microseg/v4/config/IPv6Range.d.ts +72 -0
- package/dist/lib/models/microseg/v4/config/IPv6Range.js +287 -0
- package/dist/lib/models/microseg/v4/config/IcmpTypeCodeSpec.d.ts +2 -9
- package/dist/lib/models/microseg/v4/config/IcmpTypeCodeSpec.js +205 -248
- package/dist/lib/models/microseg/v4/config/IcmpV6TypeCodeSpec.d.ts +73 -0
- package/dist/lib/models/microseg/v4/config/IcmpV6TypeCodeSpec.js +324 -0
- package/dist/lib/models/microseg/v4/config/IntraEntityGroupRuleAction.js +7 -9
- package/dist/lib/models/microseg/v4/config/IntraEntityGroupRuleSpec.d.ts +14 -33
- package/dist/lib/models/microseg/v4/config/IntraEntityGroupRuleSpec.js +408 -427
- package/dist/lib/models/microseg/v4/config/IpRange.d.ts +48 -0
- package/dist/lib/models/microseg/v4/config/IpRange.js +248 -0
- package/dist/lib/models/microseg/v4/config/IsolationGroup.d.ts +2 -9
- package/dist/lib/models/microseg/v4/config/IsolationGroup.js +201 -244
- package/dist/lib/models/microseg/v4/config/ListAddressGroupsApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/ListAddressGroupsApiResponse.js +209 -264
- package/dist/lib/models/microseg/v4/config/ListDirectoryServerConfigsApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/ListDirectoryServerConfigsApiResponse.js +209 -264
- package/dist/lib/models/microseg/v4/config/ListDsCategoryMappingsApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/ListDsCategoryMappingsApiResponse.js +209 -264
- package/dist/lib/models/microseg/v4/config/ListEntityGroupsApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/ListEntityGroupsApiResponse.js +209 -264
- package/dist/lib/models/microseg/v4/config/ListNetworkSecurityPoliciesApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/ListNetworkSecurityPoliciesApiResponse.js +212 -267
- package/dist/lib/models/microseg/v4/config/ListNetworkSecurityPolicyRulesApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/ListNetworkSecurityPolicyRulesApiResponse.js +209 -264
- package/dist/lib/models/microseg/v4/config/ListServiceGroupsApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/ListServiceGroupsApiResponse.js +209 -264
- package/dist/lib/models/microseg/v4/config/MatchEntity.js +7 -9
- package/dist/lib/models/microseg/v4/config/MatchField.js +7 -9
- package/dist/lib/models/microseg/v4/config/MatchType.js +7 -9
- package/dist/lib/models/microseg/v4/config/MatchingCriteria.d.ts +2 -10
- package/dist/lib/models/microseg/v4/config/MatchingCriteria.js +212 -257
- package/dist/lib/models/microseg/v4/config/MultiEnvIsolationRuleSpec.d.ts +2 -7
- package/dist/lib/models/microseg/v4/config/MultiEnvIsolationRuleSpec.js +152 -195
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicy.d.ts +26 -51
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicy.js +663 -676
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicyExportSpec.d.ts +2 -7
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicyExportSpec.js +150 -189
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicyRule.d.ts +1 -18
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicyRule.js +201 -251
- package/dist/lib/models/microseg/v4/config/RuleType.js +7 -9
- package/dist/lib/models/microseg/v4/config/SecurityPolicyScope.js +7 -9
- package/dist/lib/models/microseg/v4/config/SecurityPolicyState.js +7 -9
- package/dist/lib/models/microseg/v4/config/SecurityPolicyType.js +7 -9
- package/dist/lib/models/microseg/v4/config/ServiceGroup.d.ts +35 -42
- package/dist/lib/models/microseg/v4/config/ServiceGroup.js +481 -436
- package/dist/lib/models/microseg/v4/config/SyncPolicy.d.ts +1 -19
- package/dist/lib/models/microseg/v4/config/SyncPolicy.js +216 -264
- package/dist/lib/models/microseg/v4/config/TcpPortRangeSpec.d.ts +2 -8
- package/dist/lib/models/microseg/v4/config/TcpPortRangeSpec.js +180 -221
- package/dist/lib/models/microseg/v4/config/TwoEnvIsolationRuleSpec.d.ts +2 -8
- package/dist/lib/models/microseg/v4/config/TwoEnvIsolationRuleSpec.js +186 -227
- package/dist/lib/models/microseg/v4/config/UdpPortRangeSpec.d.ts +2 -8
- package/dist/lib/models/microseg/v4/config/UdpPortRangeSpec.js +180 -221
- package/dist/lib/models/microseg/v4/config/UpdateAddressGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/UpdateAddressGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/UpdateDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/UpdateDirectoryServerConfigApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/UpdateDsCategoryMappingApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/UpdateDsCategoryMappingApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/UpdateEntityGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/UpdateEntityGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/UpdateNetworkSecurityPolicyApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/UpdateNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/UpdateServiceGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/UpdateServiceGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/error/AppMessage.d.ts +2 -12
- package/dist/lib/models/microseg/v4/error/AppMessage.js +264 -313
- package/dist/lib/models/microseg/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/lib/models/microseg/v4/error/ErrorResponse.js +175 -218
- package/dist/lib/models/microseg/v4/error/SchemaValidationError.d.ts +2 -18
- package/dist/lib/models/microseg/v4/error/SchemaValidationError.js +249 -300
- package/dist/lib/models/microseg/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
- package/dist/lib/models/microseg/v4/error/SchemaValidationErrorMessage.js +191 -234
- package/dist/lib/models/microseg/v4/operation/DryRunSpec.d.ts +2 -8
- package/dist/lib/models/microseg/v4/operation/DryRunSpec.js +173 -214
- package/dist/lib/models/microseg/v4/operation/DryRunSummary.d.ts +1 -103
- package/dist/lib/models/microseg/v4/operation/DryRunSummary.js +227 -287
- package/dist/lib/models/microseg/v4/operation/PolicyCount.d.ts +2 -9
- package/dist/lib/models/microseg/v4/operation/PolicyCount.js +191 -234
- package/dist/lib/models/microseg/v4/operation/PolicyCountByType.d.ts +2 -15
- package/dist/lib/models/microseg/v4/operation/PolicyCountByType.js +162 -203
- package/dist/lib/models/microseg/v4/operation/PolicyMetadata.d.ts +2 -20
- package/dist/lib/models/microseg/v4/operation/PolicyMetadata.js +326 -380
- package/dist/lib/models/microseg/v4/operation/PolicyPreview.d.ts +1 -109
- package/dist/lib/models/microseg/v4/operation/PolicyPreview.js +160 -208
- package/dist/lib/models/microseg/v4/operation/PolicyUpgradeSummary.d.ts +2 -45
- package/dist/lib/models/microseg/v4/operation/PolicyUpgradeSummary.js +202 -249
- package/dist/lib/models/microseg/v4/operation/SecurityPolicyOptions.d.ts +5 -11
- package/dist/lib/models/microseg/v4/operation/SecurityPolicyOptions.js +167 -208
- package/dist/lib/models/microseg/v4/operation/SecurityPolicyType.js +7 -9
- package/dist/lib/models/microseg/v4/operation/SubnetUpgradeSummary.d.ts +2 -9
- package/dist/lib/models/microseg/v4/operation/SubnetUpgradeSummary.js +196 -239
- package/dist/lib/models/microseg/v4/operation/TotalPolicyCount.d.ts +2 -28
- package/dist/lib/models/microseg/v4/operation/TotalPolicyCount.js +171 -216
- package/dist/lib/models/microseg/v4/operation/UpgradeJob.d.ts +2 -7
- package/dist/lib/models/microseg/v4/operation/UpgradeJob.js +155 -198
- package/dist/lib/models/microseg/v4/operation/UpgradeSpec.d.ts +2 -8
- package/dist/lib/models/microseg/v4/operation/UpgradeSpec.js +166 -207
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +2 -7
- package/dist/lib/models/prism/v4/config/TaskReference.js +142 -181
- package/dist/lib/models/validation/ValidationError.js +26 -42
- package/dist/lib/models/validation/ValidationScopes.js +3 -3
- package/dist/lib/utils/ValidationUtils.js +39 -69
- package/package.json +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
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
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -18,38 +17,36 @@ var _CategoryMapping = _interopRequireDefault(require("../models/microseg/v4/con
|
|
|
18
17
|
var _ListDirectoryServerConfigsApiResponse = _interopRequireDefault(require("../models/microseg/v4/config/ListDirectoryServerConfigsApiResponse"));
|
|
19
18
|
var _CreateDsCategoryMappingApiResponse = _interopRequireDefault(require("../models/microseg/v4/config/CreateDsCategoryMappingApiResponse"));
|
|
20
19
|
var _UpdateDirectoryServerConfigApiResponse = _interopRequireDefault(require("../models/microseg/v4/config/UpdateDirectoryServerConfigApiResponse"));
|
|
21
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : {
|
|
22
|
-
|
|
23
|
-
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; }
|
|
24
|
-
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; }
|
|
25
|
-
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
26
|
-
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); } }
|
|
27
|
-
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
28
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
29
|
-
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); }
|
|
30
|
-
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
31
|
-
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
32
|
-
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
33
|
-
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
34
|
-
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"); } /*
|
|
20
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
21
|
+
/*
|
|
35
22
|
* Nutanix Flow Management APIs
|
|
36
23
|
*
|
|
37
|
-
* OpenAPI spec version: 4.
|
|
24
|
+
* OpenAPI spec version: 4.2.2
|
|
38
25
|
*
|
|
39
26
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
40
27
|
*
|
|
41
|
-
* Open API Dev Platform Codegen version: 17.
|
|
28
|
+
* Open API Dev Platform Codegen version: 17.5.1.10573-RELEASE
|
|
42
29
|
*
|
|
43
30
|
* Do not edit the class manually.
|
|
44
31
|
*
|
|
45
32
|
*/
|
|
33
|
+
|
|
46
34
|
/**
|
|
47
35
|
* DirectoryServerConfigs service.
|
|
48
|
-
* @version 4.
|
|
36
|
+
* @version 4.2.2
|
|
49
37
|
* @class DirectoryServerConfigsApi
|
|
50
38
|
*/
|
|
51
|
-
|
|
52
|
-
|
|
39
|
+
class DirectoryServerConfigsApi {
|
|
40
|
+
#headersToSkip;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Make the default {@link ApiClient} class available for developers to be able to extend it and bring
|
|
44
|
+
* their own fetch methods into the SDK
|
|
45
|
+
*/
|
|
46
|
+
static get ApiClient() {
|
|
47
|
+
return _ApiClient.ApiClient;
|
|
48
|
+
}
|
|
49
|
+
|
|
53
50
|
/**
|
|
54
51
|
* Constructs a new DirectoryServerConfigsApi.
|
|
55
52
|
* @alias module:api/DirectoryServerConfigsApi
|
|
@@ -57,15 +54,13 @@ var DirectoryServerConfigsApi = exports.DirectoryServerConfigsApi = /*#__PURE__*
|
|
|
57
54
|
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
58
55
|
* default to {@link module:ApiClient#instance} if unspecified.
|
|
59
56
|
*/
|
|
60
|
-
|
|
61
|
-
_classCallCheck(this, DirectoryServerConfigsApi);
|
|
62
|
-
_classPrivateFieldInitSpec(this, _headersToSkip, void 0);
|
|
57
|
+
constructor(apiClient) {
|
|
63
58
|
this.apiClient = apiClient || _ApiClient.ApiClient.instance;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
59
|
+
this.#headersToSkip = new Set();
|
|
60
|
+
this.#headersToSkip.add('authorization');
|
|
61
|
+
this.#headersToSkip.add('cookie');
|
|
62
|
+
this.#headersToSkip.add('host');
|
|
63
|
+
this.#headersToSkip.add('user-agent');
|
|
69
64
|
}
|
|
70
65
|
|
|
71
66
|
/**
|
|
@@ -75,406 +70,394 @@ var DirectoryServerConfigsApi = exports.DirectoryServerConfigsApi = /*#__PURE__*
|
|
|
75
70
|
* @param {Object} args Additional Arguments
|
|
76
71
|
* @return {Promise<CreateDsCategoryMappingApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CreateDsCategoryMappingApiResponse } and HTTP response
|
|
77
72
|
*/
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
postBody = body.toJson();
|
|
86
|
-
} else {
|
|
87
|
-
postBody = body;
|
|
88
|
-
}
|
|
89
|
-
// verify the required parameter 'body' is set
|
|
90
|
-
if (typeof postBody === 'undefined' || postBody === null) {
|
|
91
|
-
throw new Error("Invalid body when calling createCategoryMapping");
|
|
92
|
-
}
|
|
93
|
-
var pathParams = {};
|
|
94
|
-
var queryParams = {};
|
|
95
|
-
var headersToInclude = {};
|
|
96
|
-
Object.keys(argMap).forEach(function (header) {
|
|
97
|
-
if (!_classPrivateFieldGet(_headersToSkip, _this).has(header.toLowerCase())) {
|
|
98
|
-
headersToInclude[header] = argMap[header];
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
102
|
-
var formParams = {};
|
|
103
|
-
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
104
|
-
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
105
|
-
var contentTypes = ['application/json'];
|
|
106
|
-
var accepts = ['application/json'];
|
|
107
|
-
var returnType = _CreateDsCategoryMappingApiResponse["default"];
|
|
108
|
-
return this.apiClient.callApi('/api/microseg/v4.1/config/category-mappings', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
73
|
+
createCategoryMapping(body, ...args) {
|
|
74
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
75
|
+
let postBody = null;
|
|
76
|
+
if (body instanceof _CategoryMapping.default && typeof body.toJson === 'function') {
|
|
77
|
+
postBody = body.toJson();
|
|
78
|
+
} else {
|
|
79
|
+
postBody = body;
|
|
109
80
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
* Configures various aspects of identity categorization.
|
|
114
|
-
* @param { Partial<DirectoryServerConfig> } body specification
|
|
115
|
-
* @param {Object} args Additional Arguments
|
|
116
|
-
* @return {Promise<CreateDirectoryServerConfigApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CreateDirectoryServerConfigApiResponse } and HTTP response
|
|
117
|
-
*/
|
|
118
|
-
}, {
|
|
119
|
-
key: "createDirectoryServerConfig",
|
|
120
|
-
value: function createDirectoryServerConfig(body) {
|
|
121
|
-
var _this2 = this;
|
|
122
|
-
var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
|
|
123
|
-
var postBody = null;
|
|
124
|
-
if (body instanceof _DirectoryServerConfig["default"] && typeof body.toJson === 'function') {
|
|
125
|
-
postBody = body.toJson();
|
|
126
|
-
} else {
|
|
127
|
-
postBody = body;
|
|
128
|
-
}
|
|
129
|
-
// verify the required parameter 'body' is set
|
|
130
|
-
if (typeof postBody === 'undefined' || postBody === null) {
|
|
131
|
-
throw new Error("Invalid body when calling createDirectoryServerConfig");
|
|
132
|
-
}
|
|
133
|
-
var pathParams = {};
|
|
134
|
-
var queryParams = {};
|
|
135
|
-
var headersToInclude = {};
|
|
136
|
-
Object.keys(argMap).forEach(function (header) {
|
|
137
|
-
if (!_classPrivateFieldGet(_headersToSkip, _this2).has(header.toLowerCase())) {
|
|
138
|
-
headersToInclude[header] = argMap[header];
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
142
|
-
var formParams = {};
|
|
143
|
-
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
144
|
-
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
145
|
-
var contentTypes = ['application/json'];
|
|
146
|
-
var accepts = ['application/json'];
|
|
147
|
-
var returnType = _CreateDirectoryServerConfigApiResponse["default"];
|
|
148
|
-
return this.apiClient.callApi('/api/microseg/v4.1/config/directory-server-configs', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
81
|
+
// verify the required parameter 'body' is set
|
|
82
|
+
if (typeof postBody === 'undefined' || postBody === null) {
|
|
83
|
+
throw new Error("Invalid body when calling createCategoryMapping");
|
|
149
84
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
* @return {Promise<DeleteDirectoryServerConfigApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link DeleteDirectoryServerConfigApiResponse } and HTTP response
|
|
157
|
-
*/
|
|
158
|
-
}, {
|
|
159
|
-
key: "deleteDirectoryServerConfigById",
|
|
160
|
-
value: function deleteDirectoryServerConfigById(extId) {
|
|
161
|
-
var _this3 = this;
|
|
162
|
-
var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
|
|
163
|
-
var postBody = null;
|
|
164
|
-
// verify the required parameter 'extId' is set
|
|
165
|
-
if (typeof extId === 'undefined' || extId === null) {
|
|
166
|
-
throw new Error("Missing the required parameter 'extId' when calling deleteDirectoryServerConfigById");
|
|
85
|
+
const pathParams = {};
|
|
86
|
+
const queryParams = {};
|
|
87
|
+
let headersToInclude = {};
|
|
88
|
+
Object.keys(argMap).forEach(header => {
|
|
89
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
90
|
+
headersToInclude[header] = argMap[header];
|
|
167
91
|
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
181
|
-
var contentTypes = [];
|
|
182
|
-
var accepts = ['application/json'];
|
|
183
|
-
var returnType = _DeleteDirectoryServerConfigApiResponse["default"];
|
|
184
|
-
return this.apiClient.callApi('/api/microseg/v4.1/config/directory-server-configs/{extId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
185
|
-
}
|
|
92
|
+
});
|
|
93
|
+
const headerParams = {
|
|
94
|
+
...headersToInclude
|
|
95
|
+
};
|
|
96
|
+
const formParams = {};
|
|
97
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
98
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
99
|
+
const contentTypes = ['application/json'];
|
|
100
|
+
const accepts = ['application/json'];
|
|
101
|
+
const returnType = _CreateDsCategoryMappingApiResponse.default;
|
|
102
|
+
return this.apiClient.callApi('/api/microseg/v4.2/config/category-mappings', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
103
|
+
}
|
|
186
104
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
if (typeof extId === 'undefined' || extId === null) {
|
|
202
|
-
throw new Error("Missing the required parameter 'extId' when calling deleteDsCategoryMappingById");
|
|
203
|
-
}
|
|
204
|
-
var pathParams = {
|
|
205
|
-
'extId': extId
|
|
206
|
-
};
|
|
207
|
-
var queryParams = {};
|
|
208
|
-
var headersToInclude = {};
|
|
209
|
-
Object.keys(argMap).forEach(function (header) {
|
|
210
|
-
if (!_classPrivateFieldGet(_headersToSkip, _this4).has(header.toLowerCase())) {
|
|
211
|
-
headersToInclude[header] = argMap[header];
|
|
212
|
-
}
|
|
213
|
-
});
|
|
214
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
215
|
-
var formParams = {};
|
|
216
|
-
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
217
|
-
var contentTypes = [];
|
|
218
|
-
var accepts = ['application/json'];
|
|
219
|
-
var returnType = _DeleteDsCategoryMappingApiResponse["default"];
|
|
220
|
-
return this.apiClient.callApi('/api/microseg/v4.1/config/category-mappings/{extId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
105
|
+
/**
|
|
106
|
+
* Configure Directory Servers
|
|
107
|
+
* Configures various aspects of identity categorization.
|
|
108
|
+
* @param { Partial<DirectoryServerConfig> } body specification
|
|
109
|
+
* @param {Object} args Additional Arguments
|
|
110
|
+
* @return {Promise<CreateDirectoryServerConfigApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CreateDirectoryServerConfigApiResponse } and HTTP response
|
|
111
|
+
*/
|
|
112
|
+
createDirectoryServerConfig(body, ...args) {
|
|
113
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
114
|
+
let postBody = null;
|
|
115
|
+
if (body instanceof _DirectoryServerConfig.default && typeof body.toJson === 'function') {
|
|
116
|
+
postBody = body.toJson();
|
|
117
|
+
} else {
|
|
118
|
+
postBody = body;
|
|
221
119
|
}
|
|
120
|
+
// verify the required parameter 'body' is set
|
|
121
|
+
if (typeof postBody === 'undefined' || postBody === null) {
|
|
122
|
+
throw new Error("Invalid body when calling createDirectoryServerConfig");
|
|
123
|
+
}
|
|
124
|
+
const pathParams = {};
|
|
125
|
+
const queryParams = {};
|
|
126
|
+
let headersToInclude = {};
|
|
127
|
+
Object.keys(argMap).forEach(header => {
|
|
128
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
129
|
+
headersToInclude[header] = argMap[header];
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
const headerParams = {
|
|
133
|
+
...headersToInclude
|
|
134
|
+
};
|
|
135
|
+
const formParams = {};
|
|
136
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
137
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
138
|
+
const contentTypes = ['application/json'];
|
|
139
|
+
const accepts = ['application/json'];
|
|
140
|
+
const returnType = _CreateDirectoryServerConfigApiResponse.default;
|
|
141
|
+
return this.apiClient.callApi('/api/microseg/v4.2/config/directory-server-configs', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
142
|
+
}
|
|
222
143
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
144
|
+
/**
|
|
145
|
+
* Delete a Directory Server by ExtID
|
|
146
|
+
* Deletes the Directory Server with the provided ExtID.
|
|
147
|
+
* @param { String } extId UUID to specify Directory Server.
|
|
148
|
+
* @param {Object} args Additional Arguments
|
|
149
|
+
* @return {Promise<DeleteDirectoryServerConfigApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link DeleteDirectoryServerConfigApiResponse } and HTTP response
|
|
150
|
+
*/
|
|
151
|
+
deleteDirectoryServerConfigById(extId, ...args) {
|
|
152
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
153
|
+
const postBody = null;
|
|
154
|
+
// verify the required parameter 'extId' is set
|
|
155
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
156
|
+
throw new Error("Missing the required parameter 'extId' when calling deleteDirectoryServerConfigById");
|
|
157
|
+
}
|
|
158
|
+
const pathParams = {
|
|
159
|
+
'extId': extId
|
|
160
|
+
};
|
|
161
|
+
const queryParams = {};
|
|
162
|
+
let headersToInclude = {};
|
|
163
|
+
Object.keys(argMap).forEach(header => {
|
|
164
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
165
|
+
headersToInclude[header] = argMap[header];
|
|
239
166
|
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
167
|
+
});
|
|
168
|
+
const headerParams = {
|
|
169
|
+
...headersToInclude
|
|
170
|
+
};
|
|
171
|
+
const formParams = {};
|
|
172
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
173
|
+
const contentTypes = [];
|
|
174
|
+
const accepts = ['application/json'];
|
|
175
|
+
const returnType = _DeleteDirectoryServerConfigApiResponse.default;
|
|
176
|
+
return this.apiClient.callApi('/api/microseg/v4.2/config/directory-server-configs/{extId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Delete a Directory Config by ExtID
|
|
181
|
+
* Deletes the directory configuration with the provided ExtID.
|
|
182
|
+
* @param { String } extId Category Mapping UUID.
|
|
183
|
+
* @param {Object} args Additional Arguments
|
|
184
|
+
* @return {Promise<DeleteDsCategoryMappingApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link DeleteDsCategoryMappingApiResponse } and HTTP response
|
|
185
|
+
*/
|
|
186
|
+
deleteDsCategoryMappingById(extId, ...args) {
|
|
187
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
188
|
+
const postBody = null;
|
|
189
|
+
// verify the required parameter 'extId' is set
|
|
190
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
191
|
+
throw new Error("Missing the required parameter 'extId' when calling deleteDsCategoryMappingById");
|
|
257
192
|
}
|
|
193
|
+
const pathParams = {
|
|
194
|
+
'extId': extId
|
|
195
|
+
};
|
|
196
|
+
const queryParams = {};
|
|
197
|
+
let headersToInclude = {};
|
|
198
|
+
Object.keys(argMap).forEach(header => {
|
|
199
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
200
|
+
headersToInclude[header] = argMap[header];
|
|
201
|
+
}
|
|
202
|
+
});
|
|
203
|
+
const headerParams = {
|
|
204
|
+
...headersToInclude
|
|
205
|
+
};
|
|
206
|
+
const formParams = {};
|
|
207
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
208
|
+
const contentTypes = [];
|
|
209
|
+
const accepts = ['application/json'];
|
|
210
|
+
const returnType = _DeleteDsCategoryMappingApiResponse.default;
|
|
211
|
+
return this.apiClient.callApi('/api/microseg/v4.2/config/category-mappings/{extId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
212
|
+
}
|
|
258
213
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
214
|
+
/**
|
|
215
|
+
* Get details of Directory Server by ExtID
|
|
216
|
+
* Gets the list of Directory Server configurations.
|
|
217
|
+
* @param { String } extId UUID to specify Directory Server.
|
|
218
|
+
* @param {Object} args Additional Arguments
|
|
219
|
+
* @return {Promise<GetDirectoryServerConfigApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetDirectoryServerConfigApiResponse } and HTTP response
|
|
220
|
+
*/
|
|
221
|
+
getDirectoryServerConfigById(extId, ...args) {
|
|
222
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
223
|
+
const postBody = null;
|
|
224
|
+
// verify the required parameter 'extId' is set
|
|
225
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
226
|
+
throw new Error("Missing the required parameter 'extId' when calling getDirectoryServerConfigById");
|
|
227
|
+
}
|
|
228
|
+
const pathParams = {
|
|
229
|
+
'extId': extId
|
|
230
|
+
};
|
|
231
|
+
const queryParams = {};
|
|
232
|
+
let headersToInclude = {};
|
|
233
|
+
Object.keys(argMap).forEach(header => {
|
|
234
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
235
|
+
headersToInclude[header] = argMap[header];
|
|
275
236
|
}
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
237
|
+
});
|
|
238
|
+
const headerParams = {
|
|
239
|
+
...headersToInclude
|
|
240
|
+
};
|
|
241
|
+
const formParams = {};
|
|
242
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
243
|
+
const contentTypes = [];
|
|
244
|
+
const accepts = ['application/json'];
|
|
245
|
+
const returnType = _GetDirectoryServerConfigApiResponse.default;
|
|
246
|
+
return this.apiClient.callApi('/api/microseg/v4.2/config/directory-server-configs/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Get a Category to Directory Config information by ExtID
|
|
251
|
+
* Gets the category to directory configuration information with the provided ExtID.
|
|
252
|
+
* @param { String } extId Category Mapping UUID.
|
|
253
|
+
* @param {Object} args Additional Arguments
|
|
254
|
+
* @return {Promise<GetDsCategoryMappingApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetDsCategoryMappingApiResponse } and HTTP response
|
|
255
|
+
*/
|
|
256
|
+
getDsCategoryMappingById(extId, ...args) {
|
|
257
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
258
|
+
const postBody = null;
|
|
259
|
+
// verify the required parameter 'extId' is set
|
|
260
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
261
|
+
throw new Error("Missing the required parameter 'extId' when calling getDsCategoryMappingById");
|
|
293
262
|
}
|
|
263
|
+
const pathParams = {
|
|
264
|
+
'extId': extId
|
|
265
|
+
};
|
|
266
|
+
const queryParams = {};
|
|
267
|
+
let headersToInclude = {};
|
|
268
|
+
Object.keys(argMap).forEach(header => {
|
|
269
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
270
|
+
headersToInclude[header] = argMap[header];
|
|
271
|
+
}
|
|
272
|
+
});
|
|
273
|
+
const headerParams = {
|
|
274
|
+
...headersToInclude
|
|
275
|
+
};
|
|
276
|
+
const formParams = {};
|
|
277
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
278
|
+
const contentTypes = [];
|
|
279
|
+
const accepts = ['application/json'];
|
|
280
|
+
const returnType = _GetDsCategoryMappingApiResponse.default;
|
|
281
|
+
return this.apiClient.callApi('/api/microseg/v4.2/config/category-mappings/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
282
|
+
}
|
|
294
283
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
var pathParams = {};
|
|
316
|
-
var queryParams = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, opts.hasOwnProperty('$page') ? {
|
|
284
|
+
/**
|
|
285
|
+
* List all the Directory Server Category Mappings
|
|
286
|
+
* Gets the list of Directory Server Category Mappings.
|
|
287
|
+
* @param {Object} opts Optional parameters defined for the operation
|
|
288
|
+
* @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.
|
|
289
|
+
* @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.
|
|
290
|
+
* @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>
|
|
291
|
+
* 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'.
|
|
292
|
+
* @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.
|
|
293
|
+
* @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.
|
|
294
|
+
* @param {Object} args Additional Arguments
|
|
295
|
+
* @return {Promise<ListDsCategoryMappingsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListDsCategoryMappingsApiResponse } and HTTP response
|
|
296
|
+
*/
|
|
297
|
+
listCategoryMappings(opts, ...args) {
|
|
298
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
299
|
+
opts = opts || {};
|
|
300
|
+
const postBody = null;
|
|
301
|
+
const pathParams = {};
|
|
302
|
+
const queryParams = {
|
|
303
|
+
...(opts.hasOwnProperty('$page') ? {
|
|
317
304
|
'$page': opts['$page']
|
|
318
|
-
} : {}),
|
|
305
|
+
} : {}),
|
|
306
|
+
...(opts.hasOwnProperty('$limit') ? {
|
|
319
307
|
'$limit': opts['$limit']
|
|
320
|
-
} : {}),
|
|
308
|
+
} : {}),
|
|
309
|
+
...(opts.hasOwnProperty('$filter') ? {
|
|
321
310
|
'$filter': opts['$filter']
|
|
322
|
-
} : {}),
|
|
311
|
+
} : {}),
|
|
312
|
+
...(opts.hasOwnProperty('$orderby') ? {
|
|
323
313
|
'$orderby': opts['$orderby']
|
|
324
|
-
} : {}),
|
|
314
|
+
} : {}),
|
|
315
|
+
...(opts.hasOwnProperty('$select') ? {
|
|
325
316
|
'$select': opts['$select']
|
|
326
|
-
} : {})
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
317
|
+
} : {})
|
|
318
|
+
};
|
|
319
|
+
let headersToInclude = {};
|
|
320
|
+
Object.keys(argMap).forEach(header => {
|
|
321
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
322
|
+
headersToInclude[header] = argMap[header];
|
|
323
|
+
}
|
|
324
|
+
});
|
|
325
|
+
const headerParams = {
|
|
326
|
+
...headersToInclude
|
|
327
|
+
};
|
|
328
|
+
const formParams = {};
|
|
329
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
330
|
+
const contentTypes = [];
|
|
331
|
+
const accepts = ['application/json'];
|
|
332
|
+
const returnType = _ListDsCategoryMappingsApiResponse.default;
|
|
333
|
+
return this.apiClient.callApi('/api/microseg/v4.2/config/category-mappings', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
334
|
+
}
|
|
341
335
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
var pathParams = {};
|
|
358
|
-
var queryParams = _objectSpread({}, opts.hasOwnProperty('$select') ? {
|
|
336
|
+
/**
|
|
337
|
+
* List all the Directory Servers
|
|
338
|
+
* Gets the list of Directory Servers.
|
|
339
|
+
* @param {Object} opts Optional parameters defined for the operation
|
|
340
|
+
* @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.
|
|
341
|
+
* @param {Object} args Additional Arguments
|
|
342
|
+
* @return {Promise<ListDirectoryServerConfigsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListDirectoryServerConfigsApiResponse } and HTTP response
|
|
343
|
+
*/
|
|
344
|
+
listDirectoryServerConfigs(opts, ...args) {
|
|
345
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
346
|
+
opts = opts || {};
|
|
347
|
+
const postBody = null;
|
|
348
|
+
const pathParams = {};
|
|
349
|
+
const queryParams = {
|
|
350
|
+
...(opts.hasOwnProperty('$select') ? {
|
|
359
351
|
'$select': opts['$select']
|
|
360
|
-
} : {})
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
});
|
|
367
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
368
|
-
var formParams = {};
|
|
369
|
-
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
370
|
-
var contentTypes = [];
|
|
371
|
-
var accepts = ['application/json'];
|
|
372
|
-
var returnType = _ListDirectoryServerConfigsApiResponse["default"];
|
|
373
|
-
return this.apiClient.callApi('/api/microseg/v4.1/config/directory-server-configs', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* Update a Directory Server by ExtID
|
|
378
|
-
* Updates the Directory Server Config with the provided ExtID.
|
|
379
|
-
* @param { Partial<DirectoryServerConfig> } body specification
|
|
380
|
-
* @param { String } extId UUID to specify Directory Server.
|
|
381
|
-
* @param {Object} args Additional Arguments
|
|
382
|
-
* @return {Promise<UpdateDirectoryServerConfigApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link UpdateDirectoryServerConfigApiResponse } and HTTP response
|
|
383
|
-
*/
|
|
384
|
-
}, {
|
|
385
|
-
key: "updateDirectoryServerConfigById",
|
|
386
|
-
value: function updateDirectoryServerConfigById(extId, body) {
|
|
387
|
-
var _this9 = this;
|
|
388
|
-
var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
|
|
389
|
-
var postBody = null;
|
|
390
|
-
if (body instanceof _DirectoryServerConfig["default"] && typeof body.toJson === 'function') {
|
|
391
|
-
postBody = body.toJson();
|
|
392
|
-
} else {
|
|
393
|
-
postBody = body;
|
|
394
|
-
}
|
|
395
|
-
// verify the required parameter 'extId' is set
|
|
396
|
-
if (typeof extId === 'undefined' || extId === null) {
|
|
397
|
-
throw new Error("Missing the required parameter 'extId' when calling updateDirectoryServerConfigById");
|
|
352
|
+
} : {})
|
|
353
|
+
};
|
|
354
|
+
let headersToInclude = {};
|
|
355
|
+
Object.keys(argMap).forEach(header => {
|
|
356
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
357
|
+
headersToInclude[header] = argMap[header];
|
|
398
358
|
}
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
headersToInclude[header] = argMap[header];
|
|
411
|
-
}
|
|
412
|
-
});
|
|
413
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
414
|
-
var formParams = {};
|
|
415
|
-
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
416
|
-
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
417
|
-
var contentTypes = ['application/json'];
|
|
418
|
-
var accepts = ['application/json'];
|
|
419
|
-
var returnType = _UpdateDirectoryServerConfigApiResponse["default"];
|
|
420
|
-
return this.apiClient.callApi('/api/microseg/v4.1/config/directory-server-configs/{extId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
421
|
-
}
|
|
359
|
+
});
|
|
360
|
+
const headerParams = {
|
|
361
|
+
...headersToInclude
|
|
362
|
+
};
|
|
363
|
+
const formParams = {};
|
|
364
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
365
|
+
const contentTypes = [];
|
|
366
|
+
const accepts = ['application/json'];
|
|
367
|
+
const returnType = _ListDirectoryServerConfigsApiResponse.default;
|
|
368
|
+
return this.apiClient.callApi('/api/microseg/v4.2/config/directory-server-configs', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
369
|
+
}
|
|
422
370
|
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
371
|
+
/**
|
|
372
|
+
* Update a Directory Server by ExtID
|
|
373
|
+
* Updates the Directory Server Config with the provided ExtID.
|
|
374
|
+
* @param { Partial<DirectoryServerConfig> } body specification
|
|
375
|
+
* @param { String } extId UUID to specify Directory Server.
|
|
376
|
+
* @param {Object} args Additional Arguments
|
|
377
|
+
* @return {Promise<UpdateDirectoryServerConfigApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link UpdateDirectoryServerConfigApiResponse } and HTTP response
|
|
378
|
+
*/
|
|
379
|
+
updateDirectoryServerConfigById(extId, body, ...args) {
|
|
380
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
381
|
+
let postBody = null;
|
|
382
|
+
if (body instanceof _DirectoryServerConfig.default && typeof body.toJson === 'function') {
|
|
383
|
+
postBody = body.toJson();
|
|
384
|
+
} else {
|
|
385
|
+
postBody = body;
|
|
386
|
+
}
|
|
387
|
+
// verify the required parameter 'extId' is set
|
|
388
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
389
|
+
throw new Error("Missing the required parameter 'extId' when calling updateDirectoryServerConfigById");
|
|
390
|
+
}
|
|
391
|
+
// verify the required parameter 'body' is set
|
|
392
|
+
if (typeof postBody === 'undefined' || postBody === null) {
|
|
393
|
+
throw new Error("Invalid body when calling updateDirectoryServerConfigById");
|
|
394
|
+
}
|
|
395
|
+
const pathParams = {
|
|
396
|
+
'extId': extId
|
|
397
|
+
};
|
|
398
|
+
const queryParams = {};
|
|
399
|
+
let headersToInclude = {};
|
|
400
|
+
Object.keys(argMap).forEach(header => {
|
|
401
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
402
|
+
headersToInclude[header] = argMap[header];
|
|
449
403
|
}
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
404
|
+
});
|
|
405
|
+
const headerParams = {
|
|
406
|
+
...headersToInclude
|
|
407
|
+
};
|
|
408
|
+
const formParams = {};
|
|
409
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
410
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
411
|
+
const contentTypes = ['application/json'];
|
|
412
|
+
const accepts = ['application/json'];
|
|
413
|
+
const returnType = _UpdateDirectoryServerConfigApiResponse.default;
|
|
414
|
+
return this.apiClient.callApi('/api/microseg/v4.2/config/directory-server-configs/{extId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Update a Category to Directory Config mapping by ExtID
|
|
419
|
+
* Updates the category to directory configuration mapping information with the provided ExtID.
|
|
420
|
+
* @param { Required<Pick<CategoryMapping, 'name' | 'categoryName' | 'categoryValue' | 'adInfo'>> & Partial<CategoryMapping> } body specification
|
|
421
|
+
* @param { String } extId Category Mapping UUID.
|
|
422
|
+
* @param {Object} args Additional Arguments
|
|
423
|
+
* @return {Promise<UpdateDsCategoryMappingApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link UpdateDsCategoryMappingApiResponse } and HTTP response
|
|
424
|
+
*/
|
|
425
|
+
updateDsCategoryMappingById(extId, body, ...args) {
|
|
426
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
427
|
+
let postBody = null;
|
|
428
|
+
if (body instanceof _CategoryMapping.default && typeof body.toJson === 'function') {
|
|
429
|
+
postBody = body.toJson();
|
|
430
|
+
} else {
|
|
431
|
+
postBody = body;
|
|
432
|
+
}
|
|
433
|
+
// verify the required parameter 'extId' is set
|
|
434
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
435
|
+
throw new Error("Missing the required parameter 'extId' when calling updateDsCategoryMappingById");
|
|
468
436
|
}
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
/**
|
|
473
|
-
* Make the default {@link ApiClient} class available for developers to be able to extend it and bring
|
|
474
|
-
* their own fetch methods into the SDK
|
|
475
|
-
*/
|
|
476
|
-
function get() {
|
|
477
|
-
return _ApiClient.ApiClient;
|
|
437
|
+
// verify the required parameter 'body' is set
|
|
438
|
+
if (typeof postBody === 'undefined' || postBody === null) {
|
|
439
|
+
throw new Error("Invalid body when calling updateDsCategoryMappingById");
|
|
478
440
|
}
|
|
479
|
-
|
|
480
|
-
|
|
441
|
+
const pathParams = {
|
|
442
|
+
'extId': extId
|
|
443
|
+
};
|
|
444
|
+
const queryParams = {};
|
|
445
|
+
let headersToInclude = {};
|
|
446
|
+
Object.keys(argMap).forEach(header => {
|
|
447
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
448
|
+
headersToInclude[header] = argMap[header];
|
|
449
|
+
}
|
|
450
|
+
});
|
|
451
|
+
const headerParams = {
|
|
452
|
+
...headersToInclude
|
|
453
|
+
};
|
|
454
|
+
const formParams = {};
|
|
455
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
456
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
457
|
+
const contentTypes = ['application/json'];
|
|
458
|
+
const accepts = ['application/json'];
|
|
459
|
+
const returnType = _UpdateDsCategoryMappingApiResponse.default;
|
|
460
|
+
return this.apiClient.callApi('/api/microseg/v4.2/config/category-mappings/{extId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
exports.DirectoryServerConfigsApi = DirectoryServerConfigsApi;
|