@nutanix-scratch/microseg-js-client 4.0.1 → 4.1.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/README.md +21 -20
- package/dist/Ntnx-Microseg-js-client-prod.js +1 -1
- package/dist/Ntnx-Microseg-js-client.js +250 -107
- package/dist/es/ApiClient.d.ts +7 -1
- package/dist/es/ApiClient.js +16 -25
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +3 -3
- package/dist/es/apis/addressgroups-endpoints.d.ts +3 -21
- package/dist/es/apis/addressgroups-endpoints.js +11 -28
- package/dist/es/apis/directoryserverconfigs-endpoints.d.ts +3 -31
- package/dist/es/apis/directoryserverconfigs-endpoints.js +19 -45
- package/dist/es/apis/entitygroups-endpoints.d.ts +84 -0
- package/dist/es/apis/entitygroups-endpoints.js +281 -0
- package/dist/es/apis/networksecuritypolicies-endpoints.d.ts +10 -53
- package/dist/es/apis/networksecuritypolicies-endpoints.js +34 -68
- package/dist/es/apis/servicegroups-endpoints.d.ts +3 -25
- package/dist/es/apis/servicegroups-endpoints.js +11 -32
- package/dist/es/index.d.ts +27 -1
- package/dist/es/index.js +104 -0
- package/dist/es/models/common/v1/config/FQDN.d.ts +1 -1
- package/dist/es/models/common/v1/config/FQDN.js +5 -5
- package/dist/es/models/common/v1/config/Flag.d.ts +1 -1
- package/dist/es/models/common/v1/config/Flag.js +3 -3
- package/dist/es/models/common/v1/config/IPAddressOrFQDN.d.ts +1 -1
- package/dist/es/models/common/v1/config/IPAddressOrFQDN.js +3 -3
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +1 -1
- package/dist/es/models/common/v1/config/IPv4Address.js +3 -3
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +1 -1
- package/dist/es/models/common/v1/config/IPv6Address.js +3 -3
- package/dist/es/models/common/v1/config/KVPair.d.ts +1 -1
- package/dist/es/models/common/v1/config/KVPair.js +3 -3
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +3 -3
- package/dist/es/models/common/v1/config/Message.d.ts +1 -1
- package/dist/es/models/common/v1/config/Message.js +3 -3
- package/dist/es/models/common/v1/config/MessageSeverity.js +2 -2
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +4 -4
- package/dist/es/models/common/v1/config/TenantAwareModel.js +7 -7
- package/dist/es/models/common/v1/response/ApiLink.d.ts +1 -1
- package/dist/es/models/common/v1/response/ApiLink.js +3 -3
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +3 -3
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +4 -4
- package/dist/es/models/microseg/v4/config/AdInfo.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/AdInfo.js +4 -4
- package/dist/es/models/microseg/v4/config/AdStatus.js +2 -2
- package/dist/es/models/microseg/v4/config/AddressGroup.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/AddressGroup.js +9 -9
- package/dist/es/models/microseg/v4/config/AllToAllIsolationGroup.d.ts +3 -1
- package/dist/es/models/microseg/v4/config/AllToAllIsolationGroup.js +4 -4
- package/dist/es/models/microseg/v4/config/AllowType.js +2 -2
- package/dist/es/models/microseg/v4/config/AllowedConfig.d.ts +61 -0
- package/dist/es/models/microseg/v4/config/AllowedConfig.js +291 -0
- package/dist/es/models/microseg/v4/config/AllowedEntity.d.ts +86 -0
- package/dist/es/models/microseg/v4/config/AllowedEntity.js +406 -0
- package/dist/es/models/microseg/v4/config/AllowedSelectBy.d.ts +19 -0
- package/dist/es/models/microseg/v4/config/AllowedSelectBy.js +97 -0
- package/dist/es/models/microseg/v4/config/AllowedType.d.ts +19 -0
- package/dist/es/models/microseg/v4/config/AllowedType.js +115 -0
- package/dist/es/models/microseg/v4/config/ApplicationRuleSpec.d.ts +81 -12
- package/dist/es/models/microseg/v4/config/ApplicationRuleSpec.js +281 -16
- package/dist/es/models/microseg/v4/config/CategoryAssociatedEntityType.d.ts +19 -0
- package/dist/es/models/microseg/v4/config/CategoryAssociatedEntityType.js +91 -0
- package/dist/es/models/microseg/v4/config/CategoryMapping.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/CategoryMapping.js +5 -5
- package/dist/es/models/microseg/v4/config/CreateAddressGroupApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/CreateAddressGroupApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/CreateDirectoryServerConfigApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/CreateDirectoryServerConfigApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/CreateDsCategoryMappingApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/CreateDsCategoryMappingApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/CreateEntityGroupApiResponse.d.ts +99 -0
- package/dist/es/models/microseg/v4/config/CreateEntityGroupApiResponse.js +343 -0
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyExportApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyExportApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyImportApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyImportApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/CreateServiceGroupApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/CreateServiceGroupApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/DeleteAddressGroupApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/DeleteAddressGroupApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/DeleteDirectoryServerConfigApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/DeleteDirectoryServerConfigApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/DeleteDsCategoryMappingApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/DeleteDsCategoryMappingApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/DeleteEntityGroupApiResponse.d.ts +99 -0
- package/dist/es/models/microseg/v4/config/DeleteEntityGroupApiResponse.js +343 -0
- package/dist/es/models/microseg/v4/config/DeleteNetworkSecurityPolicyApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/DeleteNetworkSecurityPolicyApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/DeleteServiceGroupApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/DeleteServiceGroupApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/DirectoryServerConfig.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/DirectoryServerConfig.js +5 -5
- package/dist/es/models/microseg/v4/config/EntityGroup.d.ts +107 -0
- package/dist/es/models/microseg/v4/config/EntityGroup.js +450 -0
- package/dist/es/models/microseg/v4/config/GetAddressGroupApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/GetAddressGroupApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/GetDirectoryServerConfigApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/GetDirectoryServerConfigApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/GetDsCategoryMappingApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/GetDsCategoryMappingApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/GetEntityGroupApiResponse.d.ts +102 -0
- package/dist/es/models/microseg/v4/config/GetEntityGroupApiResponse.js +343 -0
- package/dist/es/models/microseg/v4/config/GetNetworkSecurityPolicyApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/GetNetworkSecurityPolicyApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/GetServiceGroupApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/GetServiceGroupApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/IPv4Range.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/IPv4Range.js +4 -4
- package/dist/es/models/microseg/v4/config/IcmpTypeCodeSpec.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/IcmpTypeCodeSpec.js +4 -4
- package/dist/es/models/microseg/v4/config/IntraEntityGroupRuleAction.js +2 -2
- package/dist/es/models/microseg/v4/config/IntraEntityGroupRuleSpec.d.ts +93 -8
- package/dist/es/models/microseg/v4/config/IntraEntityGroupRuleSpec.js +285 -17
- package/dist/es/models/microseg/v4/config/IsolationGroup.d.ts +25 -12
- package/dist/es/models/microseg/v4/config/IsolationGroup.js +89 -17
- package/dist/es/models/microseg/v4/config/ListAddressGroupsApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/ListAddressGroupsApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/ListDirectoryServerConfigsApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/ListDirectoryServerConfigsApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/ListDsCategoryMappingsApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/ListDsCategoryMappingsApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/ListEntityGroupsApiResponse.d.ts +99 -0
- package/dist/es/models/microseg/v4/config/ListEntityGroupsApiResponse.js +365 -0
- package/dist/es/models/microseg/v4/config/ListNetworkSecurityPoliciesApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/ListNetworkSecurityPoliciesApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/ListNetworkSecurityPolicyRulesApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/ListNetworkSecurityPolicyRulesApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/ListServiceGroupsApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/ListServiceGroupsApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/MatchEntity.js +2 -2
- package/dist/es/models/microseg/v4/config/MatchField.js +2 -2
- package/dist/es/models/microseg/v4/config/MatchType.js +2 -2
- package/dist/es/models/microseg/v4/config/MatchingCriteria.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/MatchingCriteria.js +4 -4
- package/dist/es/models/microseg/v4/config/MultiEnvIsolationRuleSpec.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/MultiEnvIsolationRuleSpec.js +4 -4
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicy.d.ts +43 -7
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicy.js +157 -17
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicyExportSpec.d.ts +52 -0
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicyExportSpec.js +285 -0
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicyRule.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicyRule.js +5 -5
- package/dist/es/models/microseg/v4/config/RuleType.js +12 -6
- package/dist/es/models/microseg/v4/config/SecurityPolicyScope.js +18 -6
- package/dist/es/models/microseg/v4/config/SecurityPolicyState.js +2 -2
- package/dist/es/models/microseg/v4/config/SecurityPolicyType.js +10 -4
- package/dist/es/models/microseg/v4/config/ServiceGroup.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/ServiceGroup.js +5 -5
- package/dist/es/models/microseg/v4/config/SyncPolicy.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/SyncPolicy.js +5 -5
- package/dist/es/models/microseg/v4/config/TcpPortRangeSpec.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/TcpPortRangeSpec.js +4 -4
- package/dist/es/models/microseg/v4/config/TwoEnvIsolationRuleSpec.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/TwoEnvIsolationRuleSpec.js +4 -4
- package/dist/es/models/microseg/v4/config/UdpPortRangeSpec.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/UdpPortRangeSpec.js +4 -4
- package/dist/es/models/microseg/v4/config/UpdateAddressGroupApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/UpdateAddressGroupApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/UpdateDirectoryServerConfigApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/UpdateDirectoryServerConfigApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/UpdateDsCategoryMappingApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/UpdateDsCategoryMappingApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/UpdateEntityGroupApiResponse.d.ts +99 -0
- package/dist/es/models/microseg/v4/config/UpdateEntityGroupApiResponse.js +343 -0
- package/dist/es/models/microseg/v4/config/UpdateNetworkSecurityPolicyApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/UpdateNetworkSecurityPolicyApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/config/UpdateServiceGroupApiResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/config/UpdateServiceGroupApiResponse.js +5 -5
- package/dist/es/models/microseg/v4/error/AppMessage.d.ts +4 -4
- package/dist/es/models/microseg/v4/error/AppMessage.js +8 -8
- package/dist/es/models/microseg/v4/error/ErrorResponse.d.ts +1 -1
- package/dist/es/models/microseg/v4/error/ErrorResponse.js +9 -4
- package/dist/es/models/microseg/v4/error/SchemaValidationError.d.ts +1 -1
- package/dist/es/models/microseg/v4/error/SchemaValidationError.js +4 -4
- package/dist/es/models/microseg/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
- package/dist/es/models/microseg/v4/error/SchemaValidationErrorMessage.js +4 -4
- package/dist/es/models/microseg/v4/operation/DryRunSpec.d.ts +1 -1
- package/dist/es/models/microseg/v4/operation/DryRunSpec.js +4 -4
- package/dist/es/models/microseg/v4/operation/DryRunSummary.d.ts +1 -1
- package/dist/es/models/microseg/v4/operation/DryRunSummary.js +5 -5
- package/dist/es/models/microseg/v4/operation/PolicyCount.d.ts +1 -1
- package/dist/es/models/microseg/v4/operation/PolicyCount.js +4 -4
- package/dist/es/models/microseg/v4/operation/PolicyCountByType.d.ts +1 -1
- package/dist/es/models/microseg/v4/operation/PolicyCountByType.js +4 -4
- package/dist/es/models/microseg/v4/operation/PolicyMetadata.d.ts +1 -1
- package/dist/es/models/microseg/v4/operation/PolicyMetadata.js +4 -4
- package/dist/es/models/microseg/v4/operation/PolicyPreview.d.ts +7 -1
- package/dist/es/models/microseg/v4/operation/PolicyPreview.js +5 -5
- package/dist/es/models/microseg/v4/operation/PolicyUpgradeSummary.d.ts +1 -1
- package/dist/es/models/microseg/v4/operation/PolicyUpgradeSummary.js +4 -4
- package/dist/es/models/microseg/v4/operation/SecurityPolicyOptions.d.ts +1 -1
- package/dist/es/models/microseg/v4/operation/SecurityPolicyOptions.js +4 -4
- package/dist/es/models/microseg/v4/operation/SecurityPolicyType.js +2 -2
- package/dist/es/models/microseg/v4/operation/SubnetUpgradeSummary.d.ts +1 -1
- package/dist/es/models/microseg/v4/operation/SubnetUpgradeSummary.js +4 -4
- package/dist/es/models/microseg/v4/operation/TotalPolicyCount.d.ts +1 -1
- package/dist/es/models/microseg/v4/operation/TotalPolicyCount.js +4 -4
- package/dist/es/models/microseg/v4/operation/UpgradeJob.d.ts +1 -1
- package/dist/es/models/microseg/v4/operation/UpgradeJob.js +4 -4
- package/dist/es/models/microseg/v4/operation/UpgradeSpec.d.ts +1 -1
- package/dist/es/models/microseg/v4/operation/UpgradeSpec.js +4 -4
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +4 -4
- package/dist/es/models/prism/v4/config/TaskReference.js +11 -8
- package/dist/es/models/validation/ValidationError.js +2 -2
- package/dist/es/utils/ValidationUtils.js +2 -2
- package/dist/lib/ApiClient.d.ts +7 -1
- package/dist/lib/ApiClient.js +16 -25
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +3 -3
- package/dist/lib/apis/addressgroups-endpoints.d.ts +3 -21
- package/dist/lib/apis/addressgroups-endpoints.js +11 -28
- package/dist/lib/apis/directoryserverconfigs-endpoints.d.ts +3 -31
- package/dist/lib/apis/directoryserverconfigs-endpoints.js +19 -45
- package/dist/lib/apis/entitygroups-endpoints.d.ts +84 -0
- package/dist/lib/apis/entitygroups-endpoints.js +281 -0
- package/dist/lib/apis/networksecuritypolicies-endpoints.d.ts +10 -53
- package/dist/lib/apis/networksecuritypolicies-endpoints.js +34 -68
- package/dist/lib/apis/servicegroups-endpoints.d.ts +3 -25
- package/dist/lib/apis/servicegroups-endpoints.js +11 -32
- package/dist/lib/index.d.ts +27 -1
- package/dist/lib/index.js +104 -0
- package/dist/lib/models/common/v1/config/FQDN.d.ts +1 -1
- package/dist/lib/models/common/v1/config/FQDN.js +5 -5
- package/dist/lib/models/common/v1/config/Flag.d.ts +1 -1
- package/dist/lib/models/common/v1/config/Flag.js +3 -3
- package/dist/lib/models/common/v1/config/IPAddressOrFQDN.d.ts +1 -1
- package/dist/lib/models/common/v1/config/IPAddressOrFQDN.js +3 -3
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +1 -1
- package/dist/lib/models/common/v1/config/IPv4Address.js +3 -3
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +1 -1
- package/dist/lib/models/common/v1/config/IPv6Address.js +3 -3
- package/dist/lib/models/common/v1/config/KVPair.d.ts +1 -1
- package/dist/lib/models/common/v1/config/KVPair.js +3 -3
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +3 -3
- package/dist/lib/models/common/v1/config/Message.d.ts +1 -1
- package/dist/lib/models/common/v1/config/Message.js +3 -3
- package/dist/lib/models/common/v1/config/MessageSeverity.js +2 -2
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +4 -4
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +7 -7
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ApiLink.js +3 -3
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +3 -3
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +4 -4
- package/dist/lib/models/microseg/v4/config/AdInfo.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/AdInfo.js +4 -4
- package/dist/lib/models/microseg/v4/config/AdStatus.js +2 -2
- package/dist/lib/models/microseg/v4/config/AddressGroup.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/AddressGroup.js +9 -9
- package/dist/lib/models/microseg/v4/config/AllToAllIsolationGroup.d.ts +3 -1
- package/dist/lib/models/microseg/v4/config/AllToAllIsolationGroup.js +4 -4
- package/dist/lib/models/microseg/v4/config/AllowType.js +2 -2
- package/dist/lib/models/microseg/v4/config/AllowedConfig.d.ts +61 -0
- package/dist/lib/models/microseg/v4/config/AllowedConfig.js +291 -0
- package/dist/lib/models/microseg/v4/config/AllowedEntity.d.ts +86 -0
- package/dist/lib/models/microseg/v4/config/AllowedEntity.js +406 -0
- package/dist/lib/models/microseg/v4/config/AllowedSelectBy.d.ts +19 -0
- package/dist/lib/models/microseg/v4/config/AllowedSelectBy.js +97 -0
- package/dist/lib/models/microseg/v4/config/AllowedType.d.ts +19 -0
- package/dist/lib/models/microseg/v4/config/AllowedType.js +115 -0
- package/dist/lib/models/microseg/v4/config/ApplicationRuleSpec.d.ts +81 -12
- package/dist/lib/models/microseg/v4/config/ApplicationRuleSpec.js +281 -16
- package/dist/lib/models/microseg/v4/config/CategoryAssociatedEntityType.d.ts +19 -0
- package/dist/lib/models/microseg/v4/config/CategoryAssociatedEntityType.js +91 -0
- package/dist/lib/models/microseg/v4/config/CategoryMapping.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/CategoryMapping.js +5 -5
- package/dist/lib/models/microseg/v4/config/CreateAddressGroupApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/CreateAddressGroupApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/CreateDirectoryServerConfigApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/CreateDirectoryServerConfigApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/CreateDsCategoryMappingApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/CreateDsCategoryMappingApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/CreateEntityGroupApiResponse.d.ts +99 -0
- package/dist/lib/models/microseg/v4/config/CreateEntityGroupApiResponse.js +343 -0
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyExportApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyExportApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyImportApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyImportApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/CreateServiceGroupApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/CreateServiceGroupApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/DeleteAddressGroupApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/DeleteAddressGroupApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/DeleteDirectoryServerConfigApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/DeleteDirectoryServerConfigApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/DeleteDsCategoryMappingApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/DeleteDsCategoryMappingApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/DeleteEntityGroupApiResponse.d.ts +99 -0
- package/dist/lib/models/microseg/v4/config/DeleteEntityGroupApiResponse.js +343 -0
- package/dist/lib/models/microseg/v4/config/DeleteNetworkSecurityPolicyApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/DeleteNetworkSecurityPolicyApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/DeleteServiceGroupApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/DeleteServiceGroupApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/DirectoryServerConfig.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/DirectoryServerConfig.js +5 -5
- package/dist/lib/models/microseg/v4/config/EntityGroup.d.ts +107 -0
- package/dist/lib/models/microseg/v4/config/EntityGroup.js +450 -0
- package/dist/lib/models/microseg/v4/config/GetAddressGroupApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/GetAddressGroupApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/GetDirectoryServerConfigApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/GetDirectoryServerConfigApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/GetDsCategoryMappingApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/GetDsCategoryMappingApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/GetEntityGroupApiResponse.d.ts +102 -0
- package/dist/lib/models/microseg/v4/config/GetEntityGroupApiResponse.js +343 -0
- package/dist/lib/models/microseg/v4/config/GetNetworkSecurityPolicyApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/GetNetworkSecurityPolicyApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/GetServiceGroupApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/GetServiceGroupApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/IPv4Range.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/IPv4Range.js +4 -4
- package/dist/lib/models/microseg/v4/config/IcmpTypeCodeSpec.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/IcmpTypeCodeSpec.js +4 -4
- package/dist/lib/models/microseg/v4/config/IntraEntityGroupRuleAction.js +2 -2
- package/dist/lib/models/microseg/v4/config/IntraEntityGroupRuleSpec.d.ts +93 -8
- package/dist/lib/models/microseg/v4/config/IntraEntityGroupRuleSpec.js +285 -17
- package/dist/lib/models/microseg/v4/config/IsolationGroup.d.ts +25 -12
- package/dist/lib/models/microseg/v4/config/IsolationGroup.js +89 -17
- package/dist/lib/models/microseg/v4/config/ListAddressGroupsApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/ListAddressGroupsApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/ListDirectoryServerConfigsApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/ListDirectoryServerConfigsApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/ListDsCategoryMappingsApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/ListDsCategoryMappingsApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/ListEntityGroupsApiResponse.d.ts +99 -0
- package/dist/lib/models/microseg/v4/config/ListEntityGroupsApiResponse.js +365 -0
- package/dist/lib/models/microseg/v4/config/ListNetworkSecurityPoliciesApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/ListNetworkSecurityPoliciesApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/ListNetworkSecurityPolicyRulesApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/ListNetworkSecurityPolicyRulesApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/ListServiceGroupsApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/ListServiceGroupsApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/MatchEntity.js +2 -2
- package/dist/lib/models/microseg/v4/config/MatchField.js +2 -2
- package/dist/lib/models/microseg/v4/config/MatchType.js +2 -2
- package/dist/lib/models/microseg/v4/config/MatchingCriteria.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/MatchingCriteria.js +4 -4
- package/dist/lib/models/microseg/v4/config/MultiEnvIsolationRuleSpec.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/MultiEnvIsolationRuleSpec.js +4 -4
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicy.d.ts +43 -7
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicy.js +157 -17
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicyExportSpec.d.ts +52 -0
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicyExportSpec.js +285 -0
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicyRule.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicyRule.js +5 -5
- package/dist/lib/models/microseg/v4/config/RuleType.js +12 -6
- package/dist/lib/models/microseg/v4/config/SecurityPolicyScope.js +18 -6
- package/dist/lib/models/microseg/v4/config/SecurityPolicyState.js +2 -2
- package/dist/lib/models/microseg/v4/config/SecurityPolicyType.js +10 -4
- package/dist/lib/models/microseg/v4/config/ServiceGroup.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/ServiceGroup.js +5 -5
- package/dist/lib/models/microseg/v4/config/SyncPolicy.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/SyncPolicy.js +5 -5
- package/dist/lib/models/microseg/v4/config/TcpPortRangeSpec.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/TcpPortRangeSpec.js +4 -4
- package/dist/lib/models/microseg/v4/config/TwoEnvIsolationRuleSpec.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/TwoEnvIsolationRuleSpec.js +4 -4
- package/dist/lib/models/microseg/v4/config/UdpPortRangeSpec.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/UdpPortRangeSpec.js +4 -4
- package/dist/lib/models/microseg/v4/config/UpdateAddressGroupApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/UpdateAddressGroupApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/UpdateDirectoryServerConfigApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/UpdateDirectoryServerConfigApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/UpdateDsCategoryMappingApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/UpdateDsCategoryMappingApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/UpdateEntityGroupApiResponse.d.ts +99 -0
- package/dist/lib/models/microseg/v4/config/UpdateEntityGroupApiResponse.js +343 -0
- package/dist/lib/models/microseg/v4/config/UpdateNetworkSecurityPolicyApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/UpdateNetworkSecurityPolicyApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/config/UpdateServiceGroupApiResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/config/UpdateServiceGroupApiResponse.js +5 -5
- package/dist/lib/models/microseg/v4/error/AppMessage.d.ts +4 -4
- package/dist/lib/models/microseg/v4/error/AppMessage.js +8 -8
- package/dist/lib/models/microseg/v4/error/ErrorResponse.d.ts +1 -1
- package/dist/lib/models/microseg/v4/error/ErrorResponse.js +9 -4
- package/dist/lib/models/microseg/v4/error/SchemaValidationError.d.ts +1 -1
- package/dist/lib/models/microseg/v4/error/SchemaValidationError.js +4 -4
- package/dist/lib/models/microseg/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
- package/dist/lib/models/microseg/v4/error/SchemaValidationErrorMessage.js +4 -4
- package/dist/lib/models/microseg/v4/operation/DryRunSpec.d.ts +1 -1
- package/dist/lib/models/microseg/v4/operation/DryRunSpec.js +4 -4
- package/dist/lib/models/microseg/v4/operation/DryRunSummary.d.ts +1 -1
- package/dist/lib/models/microseg/v4/operation/DryRunSummary.js +5 -5
- package/dist/lib/models/microseg/v4/operation/PolicyCount.d.ts +1 -1
- package/dist/lib/models/microseg/v4/operation/PolicyCount.js +4 -4
- package/dist/lib/models/microseg/v4/operation/PolicyCountByType.d.ts +1 -1
- package/dist/lib/models/microseg/v4/operation/PolicyCountByType.js +4 -4
- package/dist/lib/models/microseg/v4/operation/PolicyMetadata.d.ts +1 -1
- package/dist/lib/models/microseg/v4/operation/PolicyMetadata.js +4 -4
- package/dist/lib/models/microseg/v4/operation/PolicyPreview.d.ts +7 -1
- package/dist/lib/models/microseg/v4/operation/PolicyPreview.js +5 -5
- package/dist/lib/models/microseg/v4/operation/PolicyUpgradeSummary.d.ts +1 -1
- package/dist/lib/models/microseg/v4/operation/PolicyUpgradeSummary.js +4 -4
- package/dist/lib/models/microseg/v4/operation/SecurityPolicyOptions.d.ts +1 -1
- package/dist/lib/models/microseg/v4/operation/SecurityPolicyOptions.js +4 -4
- package/dist/lib/models/microseg/v4/operation/SecurityPolicyType.js +2 -2
- package/dist/lib/models/microseg/v4/operation/SubnetUpgradeSummary.d.ts +1 -1
- package/dist/lib/models/microseg/v4/operation/SubnetUpgradeSummary.js +4 -4
- package/dist/lib/models/microseg/v4/operation/TotalPolicyCount.d.ts +1 -1
- package/dist/lib/models/microseg/v4/operation/TotalPolicyCount.js +4 -4
- package/dist/lib/models/microseg/v4/operation/UpgradeJob.d.ts +1 -1
- package/dist/lib/models/microseg/v4/operation/UpgradeJob.js +4 -4
- package/dist/lib/models/microseg/v4/operation/UpgradeSpec.d.ts +1 -1
- package/dist/lib/models/microseg/v4/operation/UpgradeSpec.js +4 -4
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +4 -4
- package/dist/lib/models/prism/v4/config/TaskReference.js +11 -8
- package/dist/lib/models/validation/ValidationError.js +2 -2
- package/dist/lib/utils/ValidationUtils.js +2 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NetworkSecurityPolicies service.
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.1.1
|
|
4
4
|
* @class NetworkSecurityPoliciesApi
|
|
5
5
|
*/
|
|
6
6
|
export class NetworkSecurityPoliciesApi {
|
|
@@ -23,12 +23,14 @@ export class NetworkSecurityPoliciesApi {
|
|
|
23
23
|
* Imports all the Network Security Policies specified by the data file.
|
|
24
24
|
* @param { Partial<String | ReadableStream> } body Accepts file path as a string or a file stream
|
|
25
25
|
* @param {Object} opts Optional parameters defined for the operation
|
|
26
|
+
* @param { Boolean } opts.nTNXPurgePolicies The header parameter specifies if the existing policies need to be deleted or retained upon network security policy import.
|
|
26
27
|
* @param { Boolean } opts.$dryrun A URL query parameter that allows long running operations to execute in a dry-run mode providing ability to identify trouble spots and system failures without performing the actual operation. Additionally this mode also offers a summary snapshot of the resultant system in order to better understand how things fit together. The operation runs in dry-run mode only if the provided value is true.
|
|
27
28
|
|
|
28
29
|
* @param {Object} args Additional Arguments
|
|
29
30
|
* @return {Promise<CreateNetworkSecurityPolicyImportApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CreateNetworkSecurityPolicyImportApiResponse } and HTTP response
|
|
30
31
|
*/
|
|
31
32
|
applyNetworkSecurityPolicyImport(body: Partial<string | ReadableStream<any>>, opts: {
|
|
33
|
+
nTNXPurgePolicies: boolean;
|
|
32
34
|
$dryrun: boolean;
|
|
33
35
|
}, ...args: any): Promise<CreateNetworkSecurityPolicyImportApiResponse>;
|
|
34
36
|
/**
|
|
@@ -50,10 +52,11 @@ export class NetworkSecurityPoliciesApi {
|
|
|
50
52
|
/**
|
|
51
53
|
* Export Network Security Policies
|
|
52
54
|
* Prepares and exports all the Network Security Policies in the system. Export is achieved using two APIs. 1. POST /policies/$actions/prepare-export (ASYNC) - Serializes Network Security Policies and stores in DB. 2. GET /policies, Accept: application/octet-stream (SYNC) - Retrieves from DB and flushes to response.
|
|
55
|
+
* @param { Partial<NetworkSecurityPolicyExportSpec> } body specification
|
|
53
56
|
* @param {Object} args Additional Arguments
|
|
54
57
|
* @return {Promise<CreateNetworkSecurityPolicyExportApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CreateNetworkSecurityPolicyExportApiResponse } and HTTP response
|
|
55
58
|
*/
|
|
56
|
-
exportNetworkSecurityPolicy(...args: any): Promise<CreateNetworkSecurityPolicyExportApiResponse>;
|
|
59
|
+
exportNetworkSecurityPolicy(body: Partial<NetworkSecurityPolicyExportSpec>, ...args: any): Promise<CreateNetworkSecurityPolicyExportApiResponse>;
|
|
57
60
|
/**
|
|
58
61
|
* Get a Network Security Policy by ExtID
|
|
59
62
|
* Gets the Network Security Policy with the provided ExtID.
|
|
@@ -71,48 +74,9 @@ export class NetworkSecurityPoliciesApi {
|
|
|
71
74
|
* @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.
|
|
72
75
|
|
|
73
76
|
* @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>
|
|
74
|
-
* 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'
|
|
75
|
-
*
|
|
76
|
-
* - createdBy<br>
|
|
77
|
-
* - description<br>
|
|
78
|
-
* - extId<br>
|
|
79
|
-
* - isHitlogEnabled<br>
|
|
80
|
-
* - isIpv6TrafficAllowed<br>
|
|
81
|
-
* - isSystemDefined<br>
|
|
82
|
-
* - name<br>
|
|
83
|
-
* - securedGroups<br>
|
|
84
|
-
* - state<br>
|
|
85
|
-
* - type<br>
|
|
86
|
-
* - vpcReferences
|
|
87
|
-
* @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>
|
|
88
|
-
* The orderby can be applied to the following fields:<br>
|
|
89
|
-
* - creationTime<br>
|
|
90
|
-
* - description<br>
|
|
91
|
-
* - extId<br>
|
|
92
|
-
* - isSystemDefined<br>
|
|
93
|
-
* - lastUpdateTime<br>
|
|
94
|
-
* - name<br>
|
|
95
|
-
* - state<br>
|
|
96
|
-
* - type
|
|
77
|
+
* 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'.
|
|
78
|
+
* @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.
|
|
97
79
|
* @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.
|
|
98
|
-
- createdBy
|
|
99
|
-
- creationTime
|
|
100
|
-
- description
|
|
101
|
-
- extId
|
|
102
|
-
- isHitlogEnabled
|
|
103
|
-
- isIpv6TrafficAllowed
|
|
104
|
-
- isSystemDefined
|
|
105
|
-
- lastUpdateTime
|
|
106
|
-
- links
|
|
107
|
-
- name
|
|
108
|
-
- rules
|
|
109
|
-
- scope
|
|
110
|
-
- securedGroups
|
|
111
|
-
- state
|
|
112
|
-
- tenantId
|
|
113
|
-
- type
|
|
114
|
-
- vpcReferences
|
|
115
|
-
|
|
116
80
|
* @param {Object} args Additional Arguments
|
|
117
81
|
* @return {Promise<ListNetworkSecurityPoliciesApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListNetworkSecurityPoliciesApiResponse } and HTTP response
|
|
118
82
|
*/
|
|
@@ -133,17 +97,9 @@ export class NetworkSecurityPoliciesApi {
|
|
|
133
97
|
* @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.
|
|
134
98
|
|
|
135
99
|
* @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>
|
|
136
|
-
* 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'
|
|
137
|
-
*
|
|
138
|
-
* - type
|
|
139
|
-
* @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>
|
|
140
|
-
* The orderby can be applied to the following fields:<br>
|
|
141
|
-
* - type
|
|
100
|
+
* 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'.
|
|
101
|
+
* @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.
|
|
142
102
|
* @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.
|
|
143
|
-
- description
|
|
144
|
-
- extId
|
|
145
|
-
- type
|
|
146
|
-
|
|
147
103
|
* @param {Object} args Additional Arguments
|
|
148
104
|
* @return {Promise<ListNetworkSecurityPolicyRulesApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListNetworkSecurityPolicyRulesApiResponse } and HTTP response
|
|
149
105
|
*/
|
|
@@ -169,6 +125,7 @@ import CreateNetworkSecurityPolicyImportApiResponse from "../models/microseg/v4/
|
|
|
169
125
|
import NetworkSecurityPolicy from "../models/microseg/v4/config/NetworkSecurityPolicy";
|
|
170
126
|
import CreateNetworkSecurityPolicyApiResponse from "../models/microseg/v4/config/CreateNetworkSecurityPolicyApiResponse";
|
|
171
127
|
import DeleteNetworkSecurityPolicyApiResponse from "../models/microseg/v4/config/DeleteNetworkSecurityPolicyApiResponse";
|
|
128
|
+
import NetworkSecurityPolicyExportSpec from "../models/microseg/v4/config/NetworkSecurityPolicyExportSpec";
|
|
172
129
|
import CreateNetworkSecurityPolicyExportApiResponse from "../models/microseg/v4/config/CreateNetworkSecurityPolicyExportApiResponse";
|
|
173
130
|
import GetNetworkSecurityPolicyApiResponse from "../models/microseg/v4/config/GetNetworkSecurityPolicyApiResponse";
|
|
174
131
|
import ListNetworkSecurityPoliciesApiResponse from "../models/microseg/v4/config/ListNetworkSecurityPoliciesApiResponse";
|
|
@@ -10,11 +10,12 @@ var _ListNetworkSecurityPoliciesApiResponse = _interopRequireDefault(require("..
|
|
|
10
10
|
var _UpdateNetworkSecurityPolicyApiResponse = _interopRequireDefault(require("../models/microseg/v4/config/UpdateNetworkSecurityPolicyApiResponse"));
|
|
11
11
|
var _GetNetworkSecurityPolicyApiResponse = _interopRequireDefault(require("../models/microseg/v4/config/GetNetworkSecurityPolicyApiResponse"));
|
|
12
12
|
var _NetworkSecurityPolicy = _interopRequireDefault(require("../models/microseg/v4/config/NetworkSecurityPolicy"));
|
|
13
|
+
var _CreateNetworkSecurityPolicyExportApiResponse = _interopRequireDefault(require("../models/microseg/v4/config/CreateNetworkSecurityPolicyExportApiResponse"));
|
|
14
|
+
var _CreateNetworkSecurityPolicyApiResponse = _interopRequireDefault(require("../models/microseg/v4/config/CreateNetworkSecurityPolicyApiResponse"));
|
|
15
|
+
var _NetworkSecurityPolicyExportSpec = _interopRequireDefault(require("../models/microseg/v4/config/NetworkSecurityPolicyExportSpec"));
|
|
13
16
|
var _DeleteNetworkSecurityPolicyApiResponse = _interopRequireDefault(require("../models/microseg/v4/config/DeleteNetworkSecurityPolicyApiResponse"));
|
|
14
17
|
var _ListNetworkSecurityPolicyRulesApiResponse = _interopRequireDefault(require("../models/microseg/v4/config/ListNetworkSecurityPolicyRulesApiResponse"));
|
|
15
|
-
var _CreateNetworkSecurityPolicyExportApiResponse = _interopRequireDefault(require("../models/microseg/v4/config/CreateNetworkSecurityPolicyExportApiResponse"));
|
|
16
18
|
var _CreateNetworkSecurityPolicyImportApiResponse = _interopRequireDefault(require("../models/microseg/v4/config/CreateNetworkSecurityPolicyImportApiResponse"));
|
|
17
|
-
var _CreateNetworkSecurityPolicyApiResponse = _interopRequireDefault(require("../models/microseg/v4/config/CreateNetworkSecurityPolicyApiResponse"));
|
|
18
19
|
var _path2 = _interopRequireDefault(require("path"));
|
|
19
20
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
20
21
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -32,18 +33,18 @@ function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a),
|
|
|
32
33
|
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"); } /*
|
|
33
34
|
* Nutanix Flow Management APIs
|
|
34
35
|
*
|
|
35
|
-
* OpenAPI spec version: 4.
|
|
36
|
+
* OpenAPI spec version: 4.1.1
|
|
36
37
|
*
|
|
37
38
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
38
39
|
*
|
|
39
|
-
* Open API Dev Platform Codegen version:
|
|
40
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
40
41
|
*
|
|
41
42
|
* Do not edit the class manually.
|
|
42
43
|
*
|
|
43
44
|
*/
|
|
44
45
|
/**
|
|
45
46
|
* NetworkSecurityPolicies service.
|
|
46
|
-
* @version 4.
|
|
47
|
+
* @version 4.1.1
|
|
47
48
|
* @class NetworkSecurityPoliciesApi
|
|
48
49
|
*/
|
|
49
50
|
var _headersToSkip = /*#__PURE__*/new WeakMap();
|
|
@@ -71,6 +72,7 @@ var NetworkSecurityPoliciesApi = exports.NetworkSecurityPoliciesApi = /*#__PURE_
|
|
|
71
72
|
* Imports all the Network Security Policies specified by the data file.
|
|
72
73
|
* @param { Partial<String | ReadableStream> } body Accepts file path as a string or a file stream
|
|
73
74
|
* @param {Object} opts Optional parameters defined for the operation
|
|
75
|
+
* @param { Boolean } opts.nTNXPurgePolicies The header parameter specifies if the existing policies need to be deleted or retained upon network security policy import.
|
|
74
76
|
* @param { Boolean } opts.$dryrun A URL query parameter that allows long running operations to execute in a dry-run mode providing ability to identify trouble spots and system failures without performing the actual operation. Additionally this mode also offers a summary snapshot of the resultant system in order to better understand how things fit together. The operation runs in dry-run mode only if the provided value is true.
|
|
75
77
|
* @param {Object} args Additional Arguments
|
|
76
78
|
* @return {Promise<CreateNetworkSecurityPolicyImportApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CreateNetworkSecurityPolicyImportApiResponse } and HTTP response
|
|
@@ -126,14 +128,16 @@ var NetworkSecurityPoliciesApi = exports.NetworkSecurityPoliciesApi = /*#__PURE_
|
|
|
126
128
|
headersToInclude[header] = argMap[header];
|
|
127
129
|
}
|
|
128
130
|
});
|
|
129
|
-
var headerParams = _objectSpread({
|
|
131
|
+
var headerParams = _objectSpread({
|
|
132
|
+
'NTNX-Purge-Policies': opts['nTNXPurgePolicies']
|
|
133
|
+
}, headersToInclude);
|
|
130
134
|
var formParams = {};
|
|
131
135
|
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
132
136
|
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
133
137
|
var contentTypes = ['application/octet-stream'];
|
|
134
138
|
var accepts = ['application/json'];
|
|
135
139
|
var returnType = _CreateNetworkSecurityPolicyImportApiResponse["default"];
|
|
136
|
-
return this.apiClient.callApi('/api/microseg/v4.
|
|
140
|
+
return this.apiClient.callApi('/api/microseg/v4.1/config/policies/$actions/import', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
137
141
|
}
|
|
138
142
|
|
|
139
143
|
/**
|
|
@@ -173,7 +177,7 @@ var NetworkSecurityPoliciesApi = exports.NetworkSecurityPoliciesApi = /*#__PURE_
|
|
|
173
177
|
var contentTypes = ['application/json'];
|
|
174
178
|
var accepts = ['application/json'];
|
|
175
179
|
var returnType = _CreateNetworkSecurityPolicyApiResponse["default"];
|
|
176
|
-
return this.apiClient.callApi('/api/microseg/v4.
|
|
180
|
+
return this.apiClient.callApi('/api/microseg/v4.1/config/policies', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
177
181
|
}
|
|
178
182
|
|
|
179
183
|
/**
|
|
@@ -209,21 +213,27 @@ var NetworkSecurityPoliciesApi = exports.NetworkSecurityPoliciesApi = /*#__PURE_
|
|
|
209
213
|
var contentTypes = [];
|
|
210
214
|
var accepts = ['application/json'];
|
|
211
215
|
var returnType = _DeleteNetworkSecurityPolicyApiResponse["default"];
|
|
212
|
-
return this.apiClient.callApi('/api/microseg/v4.
|
|
216
|
+
return this.apiClient.callApi('/api/microseg/v4.1/config/policies/{extId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
213
217
|
}
|
|
214
218
|
|
|
215
219
|
/**
|
|
216
220
|
* Export Network Security Policies
|
|
217
221
|
* Prepares and exports all the Network Security Policies in the system. Export is achieved using two APIs. 1. POST /policies/$actions/prepare-export (ASYNC) - Serializes Network Security Policies and stores in DB. 2. GET /policies, Accept: application/octet-stream (SYNC) - Retrieves from DB and flushes to response.
|
|
222
|
+
* @param { Partial<NetworkSecurityPolicyExportSpec> } body specification
|
|
218
223
|
* @param {Object} args Additional Arguments
|
|
219
224
|
* @return {Promise<CreateNetworkSecurityPolicyExportApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CreateNetworkSecurityPolicyExportApiResponse } and HTTP response
|
|
220
225
|
*/
|
|
221
226
|
}, {
|
|
222
227
|
key: "exportNetworkSecurityPolicy",
|
|
223
|
-
value: function exportNetworkSecurityPolicy() {
|
|
228
|
+
value: function exportNetworkSecurityPolicy(body) {
|
|
224
229
|
var _this4 = this;
|
|
225
|
-
var argMap = arguments.length > 0 ? arguments.length <=
|
|
230
|
+
var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
|
|
226
231
|
var postBody = null;
|
|
232
|
+
if (body instanceof _NetworkSecurityPolicyExportSpec["default"] && typeof body.toJson === 'function') {
|
|
233
|
+
postBody = body.toJson();
|
|
234
|
+
} else {
|
|
235
|
+
postBody = body;
|
|
236
|
+
}
|
|
227
237
|
var pathParams = {};
|
|
228
238
|
var queryParams = {};
|
|
229
239
|
var headersToInclude = {};
|
|
@@ -234,11 +244,12 @@ var NetworkSecurityPoliciesApi = exports.NetworkSecurityPoliciesApi = /*#__PURE_
|
|
|
234
244
|
});
|
|
235
245
|
var headerParams = _objectSpread({}, headersToInclude);
|
|
236
246
|
var formParams = {};
|
|
247
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
237
248
|
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
238
|
-
var contentTypes = [];
|
|
249
|
+
var contentTypes = ['application/json'];
|
|
239
250
|
var accepts = ['application/json'];
|
|
240
251
|
var returnType = _CreateNetworkSecurityPolicyExportApiResponse["default"];
|
|
241
|
-
return this.apiClient.callApi('/api/microseg/v4.
|
|
252
|
+
return this.apiClient.callApi('/api/microseg/v4.1/config/policies/$actions/prepare-export', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
242
253
|
}
|
|
243
254
|
|
|
244
255
|
/**
|
|
@@ -274,7 +285,7 @@ var NetworkSecurityPoliciesApi = exports.NetworkSecurityPoliciesApi = /*#__PURE_
|
|
|
274
285
|
var contentTypes = [];
|
|
275
286
|
var accepts = ['application/json'];
|
|
276
287
|
var returnType = _GetNetworkSecurityPolicyApiResponse["default"];
|
|
277
|
-
return this.apiClient.callApi('/api/microseg/v4.
|
|
288
|
+
return this.apiClient.callApi('/api/microseg/v4.1/config/policies/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
278
289
|
}
|
|
279
290
|
|
|
280
291
|
/**
|
|
@@ -284,48 +295,10 @@ var NetworkSecurityPoliciesApi = exports.NetworkSecurityPoliciesApi = /*#__PURE_
|
|
|
284
295
|
* @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.
|
|
285
296
|
* @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.
|
|
286
297
|
* @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>
|
|
287
|
-
* 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'
|
|
288
|
-
*
|
|
289
|
-
* - createdBy<br>
|
|
290
|
-
* - description<br>
|
|
291
|
-
* - extId<br>
|
|
292
|
-
* - isHitlogEnabled<br>
|
|
293
|
-
* - isIpv6TrafficAllowed<br>
|
|
294
|
-
* - isSystemDefined<br>
|
|
295
|
-
* - name<br>
|
|
296
|
-
* - securedGroups<br>
|
|
297
|
-
* - state<br>
|
|
298
|
-
* - type<br>
|
|
299
|
-
* - vpcReferences
|
|
300
|
-
* @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>
|
|
301
|
-
* The orderby can be applied to the following fields:<br>
|
|
302
|
-
* - creationTime<br>
|
|
303
|
-
* - description<br>
|
|
304
|
-
* - extId<br>
|
|
305
|
-
* - isSystemDefined<br>
|
|
306
|
-
* - lastUpdateTime<br>
|
|
307
|
-
* - name<br>
|
|
308
|
-
* - state<br>
|
|
309
|
-
* - type
|
|
298
|
+
* 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'.
|
|
299
|
+
* @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.
|
|
310
300
|
* @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.
|
|
311
|
-
|
|
312
|
-
- creationTime
|
|
313
|
-
- description
|
|
314
|
-
- extId
|
|
315
|
-
- isHitlogEnabled
|
|
316
|
-
- isIpv6TrafficAllowed
|
|
317
|
-
- isSystemDefined
|
|
318
|
-
- lastUpdateTime
|
|
319
|
-
- links
|
|
320
|
-
- name
|
|
321
|
-
- rules
|
|
322
|
-
- scope
|
|
323
|
-
- securedGroups
|
|
324
|
-
- state
|
|
325
|
-
- tenantId
|
|
326
|
-
- type
|
|
327
|
-
- vpcReferences
|
|
328
|
-
* @param {Object} args Additional Arguments
|
|
301
|
+
* @param {Object} args Additional Arguments
|
|
329
302
|
* @return {Promise<ListNetworkSecurityPoliciesApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListNetworkSecurityPoliciesApiResponse } and HTTP response
|
|
330
303
|
*/
|
|
331
304
|
}, {
|
|
@@ -359,7 +332,7 @@ var NetworkSecurityPoliciesApi = exports.NetworkSecurityPoliciesApi = /*#__PURE_
|
|
|
359
332
|
var contentTypes = [];
|
|
360
333
|
var accepts = ['application/json', 'application/octet-stream'];
|
|
361
334
|
var returnType = _ListNetworkSecurityPoliciesApiResponse["default"];
|
|
362
|
-
return this.apiClient.callApi('/api/microseg/v4.
|
|
335
|
+
return this.apiClient.callApi('/api/microseg/v4.1/config/policies', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
363
336
|
}
|
|
364
337
|
|
|
365
338
|
/**
|
|
@@ -370,17 +343,10 @@ var NetworkSecurityPoliciesApi = exports.NetworkSecurityPoliciesApi = /*#__PURE_
|
|
|
370
343
|
* @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.
|
|
371
344
|
* @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.
|
|
372
345
|
* @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>
|
|
373
|
-
* 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'
|
|
374
|
-
*
|
|
375
|
-
* - type
|
|
376
|
-
* @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>
|
|
377
|
-
* The orderby can be applied to the following fields:<br>
|
|
378
|
-
* - type
|
|
346
|
+
* 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'.
|
|
347
|
+
* @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.
|
|
379
348
|
* @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.
|
|
380
|
-
|
|
381
|
-
- extId
|
|
382
|
-
- type
|
|
383
|
-
* @param {Object} args Additional Arguments
|
|
349
|
+
* @param {Object} args Additional Arguments
|
|
384
350
|
* @return {Promise<ListNetworkSecurityPolicyRulesApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListNetworkSecurityPolicyRulesApiResponse } and HTTP response
|
|
385
351
|
*/
|
|
386
352
|
}, {
|
|
@@ -420,7 +386,7 @@ var NetworkSecurityPoliciesApi = exports.NetworkSecurityPoliciesApi = /*#__PURE_
|
|
|
420
386
|
var contentTypes = [];
|
|
421
387
|
var accepts = ['application/json'];
|
|
422
388
|
var returnType = _ListNetworkSecurityPolicyRulesApiResponse["default"];
|
|
423
|
-
return this.apiClient.callApi('/api/microseg/v4.
|
|
389
|
+
return this.apiClient.callApi('/api/microseg/v4.1/config/policies/{policyExtId}/rules', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
424
390
|
}
|
|
425
391
|
|
|
426
392
|
/**
|
|
@@ -467,7 +433,7 @@ var NetworkSecurityPoliciesApi = exports.NetworkSecurityPoliciesApi = /*#__PURE_
|
|
|
467
433
|
var contentTypes = ['application/json'];
|
|
468
434
|
var accepts = ['application/json'];
|
|
469
435
|
var returnType = _UpdateNetworkSecurityPolicyApiResponse["default"];
|
|
470
|
-
return this.apiClient.callApi('/api/microseg/v4.
|
|
436
|
+
return this.apiClient.callApi('/api/microseg/v4.1/config/policies/{extId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
471
437
|
}
|
|
472
438
|
}], [{
|
|
473
439
|
key: "ApiClient",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* ServiceGroups service.
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.1.1
|
|
4
4
|
* @class ServiceGroupsApi
|
|
5
5
|
*/
|
|
6
6
|
export class ServiceGroupsApi {
|
|
@@ -51,31 +51,9 @@ export class ServiceGroupsApi {
|
|
|
51
51
|
* @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.
|
|
52
52
|
|
|
53
53
|
* @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>
|
|
54
|
-
* 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'
|
|
55
|
-
*
|
|
56
|
-
* - createdBy<br>
|
|
57
|
-
* - description<br>
|
|
58
|
-
* - extId<br>
|
|
59
|
-
* - isSystemDefined<br>
|
|
60
|
-
* - name
|
|
61
|
-
* @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>
|
|
62
|
-
* The orderby can be applied to the following fields:<br>
|
|
63
|
-
* - description<br>
|
|
64
|
-
* - extId<br>
|
|
65
|
-
* - name
|
|
54
|
+
* 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'.
|
|
55
|
+
* @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.
|
|
66
56
|
* @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.
|
|
67
|
-
- createdBy
|
|
68
|
-
- description
|
|
69
|
-
- extId
|
|
70
|
-
- icmpServices
|
|
71
|
-
- isSystemDefined
|
|
72
|
-
- links
|
|
73
|
-
- name
|
|
74
|
-
- policyReferences
|
|
75
|
-
- tcpServices
|
|
76
|
-
- tenantId
|
|
77
|
-
- udpServices
|
|
78
|
-
|
|
79
57
|
* @param {Object} args Additional Arguments
|
|
80
58
|
* @return {Promise<ListServiceGroupsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListServiceGroupsApiResponse } and HTTP response
|
|
81
59
|
*/
|
|
@@ -28,18 +28,18 @@ function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a),
|
|
|
28
28
|
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"); } /*
|
|
29
29
|
* Nutanix Flow Management APIs
|
|
30
30
|
*
|
|
31
|
-
* OpenAPI spec version: 4.
|
|
31
|
+
* OpenAPI spec version: 4.1.1
|
|
32
32
|
*
|
|
33
33
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
34
34
|
*
|
|
35
|
-
* Open API Dev Platform Codegen version:
|
|
35
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
36
36
|
*
|
|
37
37
|
* Do not edit the class manually.
|
|
38
38
|
*
|
|
39
39
|
*/
|
|
40
40
|
/**
|
|
41
41
|
* ServiceGroups service.
|
|
42
|
-
* @version 4.
|
|
42
|
+
* @version 4.1.1
|
|
43
43
|
* @class ServiceGroupsApi
|
|
44
44
|
*/
|
|
45
45
|
var _headersToSkip = /*#__PURE__*/new WeakMap();
|
|
@@ -99,7 +99,7 @@ var ServiceGroupsApi = exports.ServiceGroupsApi = /*#__PURE__*/function () {
|
|
|
99
99
|
var contentTypes = ['application/json'];
|
|
100
100
|
var accepts = ['application/json'];
|
|
101
101
|
var returnType = _CreateServiceGroupApiResponse["default"];
|
|
102
|
-
return this.apiClient.callApi('/api/microseg/v4.
|
|
102
|
+
return this.apiClient.callApi('/api/microseg/v4.1/config/service-groups', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/**
|
|
@@ -135,7 +135,7 @@ var ServiceGroupsApi = exports.ServiceGroupsApi = /*#__PURE__*/function () {
|
|
|
135
135
|
var contentTypes = [];
|
|
136
136
|
var accepts = ['application/json'];
|
|
137
137
|
var returnType = _DeleteServiceGroupApiResponse["default"];
|
|
138
|
-
return this.apiClient.callApi('/api/microseg/v4.
|
|
138
|
+
return this.apiClient.callApi('/api/microseg/v4.1/config/service-groups/{extId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
/**
|
|
@@ -171,7 +171,7 @@ var ServiceGroupsApi = exports.ServiceGroupsApi = /*#__PURE__*/function () {
|
|
|
171
171
|
var contentTypes = [];
|
|
172
172
|
var accepts = ['application/json'];
|
|
173
173
|
var returnType = _GetServiceGroupApiResponse["default"];
|
|
174
|
-
return this.apiClient.callApi('/api/microseg/v4.
|
|
174
|
+
return this.apiClient.callApi('/api/microseg/v4.1/config/service-groups/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
/**
|
|
@@ -181,31 +181,10 @@ var ServiceGroupsApi = exports.ServiceGroupsApi = /*#__PURE__*/function () {
|
|
|
181
181
|
* @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.
|
|
182
182
|
* @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.
|
|
183
183
|
* @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>
|
|
184
|
-
* 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'
|
|
185
|
-
*
|
|
186
|
-
* - createdBy<br>
|
|
187
|
-
* - description<br>
|
|
188
|
-
* - extId<br>
|
|
189
|
-
* - isSystemDefined<br>
|
|
190
|
-
* - name
|
|
191
|
-
* @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>
|
|
192
|
-
* The orderby can be applied to the following fields:<br>
|
|
193
|
-
* - description<br>
|
|
194
|
-
* - extId<br>
|
|
195
|
-
* - name
|
|
184
|
+
* 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'.
|
|
185
|
+
* @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.
|
|
196
186
|
* @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.
|
|
197
|
-
|
|
198
|
-
- description
|
|
199
|
-
- extId
|
|
200
|
-
- icmpServices
|
|
201
|
-
- isSystemDefined
|
|
202
|
-
- links
|
|
203
|
-
- name
|
|
204
|
-
- policyReferences
|
|
205
|
-
- tcpServices
|
|
206
|
-
- tenantId
|
|
207
|
-
- udpServices
|
|
208
|
-
* @param {Object} args Additional Arguments
|
|
187
|
+
* @param {Object} args Additional Arguments
|
|
209
188
|
* @return {Promise<ListServiceGroupsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListServiceGroupsApiResponse } and HTTP response
|
|
210
189
|
*/
|
|
211
190
|
}, {
|
|
@@ -239,7 +218,7 @@ var ServiceGroupsApi = exports.ServiceGroupsApi = /*#__PURE__*/function () {
|
|
|
239
218
|
var contentTypes = [];
|
|
240
219
|
var accepts = ['application/json'];
|
|
241
220
|
var returnType = _ListServiceGroupsApiResponse["default"];
|
|
242
|
-
return this.apiClient.callApi('/api/microseg/v4.
|
|
221
|
+
return this.apiClient.callApi('/api/microseg/v4.1/config/service-groups', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
243
222
|
}
|
|
244
223
|
|
|
245
224
|
/**
|
|
@@ -286,7 +265,7 @@ var ServiceGroupsApi = exports.ServiceGroupsApi = /*#__PURE__*/function () {
|
|
|
286
265
|
var contentTypes = ['application/json'];
|
|
287
266
|
var accepts = ['application/json'];
|
|
288
267
|
var returnType = _UpdateServiceGroupApiResponse["default"];
|
|
289
|
-
return this.apiClient.callApi('/api/microseg/v4.
|
|
268
|
+
return this.apiClient.callApi('/api/microseg/v4.1/config/service-groups/{extId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
290
269
|
}
|
|
291
270
|
}], [{
|
|
292
271
|
key: "ApiClient",
|