@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
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
8
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
9
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
|
+
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); }
|
|
12
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
13
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
14
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
15
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
16
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
17
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
18
|
+
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; }
|
|
19
|
+
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; }
|
|
20
|
+
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; }
|
|
21
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
22
|
+
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); } }
|
|
23
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
24
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
25
|
+
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); }
|
|
26
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
27
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
28
|
+
* Nutanix Flow Management APIs
|
|
29
|
+
*
|
|
30
|
+
* OpenAPI spec version: 4.1.1
|
|
31
|
+
*
|
|
32
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
33
|
+
*
|
|
34
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
35
|
+
*
|
|
36
|
+
* Do not edit the class manually.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* The NetworkSecurityPolicyExportSpec model module.
|
|
41
|
+
* @module Ntnx/NetworkSecurityPolicyExportSpec
|
|
42
|
+
* @version 4.1.1
|
|
43
|
+
* @class NetworkSecurityPolicyExportSpec
|
|
44
|
+
*/
|
|
45
|
+
var _NetworkSecurityPolicyExportSpec_brand = /*#__PURE__*/new WeakSet();
|
|
46
|
+
var NetworkSecurityPolicyExportSpec = exports["default"] = /*#__PURE__*/function () {
|
|
47
|
+
/**
|
|
48
|
+
* Constructs a new <code>NetworkSecurityPolicyExportSpec</code>.
|
|
49
|
+
* Network Security Policy Export that provides the capability to export only the selected Network Security Policies.
|
|
50
|
+
* @alias module:Ntnx/NetworkSecurityPolicyExportSpec
|
|
51
|
+
*/
|
|
52
|
+
function NetworkSecurityPolicyExportSpec() {
|
|
53
|
+
_classCallCheck(this, NetworkSecurityPolicyExportSpec);
|
|
54
|
+
/*
|
|
55
|
+
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
56
|
+
* @param {Object} obj
|
|
57
|
+
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
58
|
+
* Otherwise, just returns the input object.
|
|
59
|
+
*/
|
|
60
|
+
_classPrivateMethodInitSpec(this, _NetworkSecurityPolicyExportSpec_brand);
|
|
61
|
+
this.$objectType = "microseg.v4.config.NetworkSecurityPolicyExportSpec";
|
|
62
|
+
/** @type {object<string, any>} */
|
|
63
|
+
this.$reserved = {
|
|
64
|
+
'$fv': "v4.r1"
|
|
65
|
+
};
|
|
66
|
+
/** @type {object<string, any>} */
|
|
67
|
+
this.$unknownFields = {};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Constructs a <code>NetworkSecurityPolicyExportSpec</code> from a plain JavaScript object, optionally creating a new instance.
|
|
72
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
73
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
74
|
+
* @param {module:Ntnx/NetworkSecurityPolicyExportSpec} obj Optional instance to populate.
|
|
75
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
76
|
+
* @return {module:Ntnx/NetworkSecurityPolicyExportSpec} The populated <code>NetworkSecurityPolicyExportSpec</code> instance.
|
|
77
|
+
*/
|
|
78
|
+
return _createClass(NetworkSecurityPolicyExportSpec, [{
|
|
79
|
+
key: "getPolicyReferences",
|
|
80
|
+
value:
|
|
81
|
+
/**
|
|
82
|
+
* Returns List of Network Security Policy external identifiers for export.
|
|
83
|
+
* @return {string[]}
|
|
84
|
+
*/
|
|
85
|
+
function getPolicyReferences() {
|
|
86
|
+
return this.policyReferences;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Sets List of Network Security Policy external identifiers for export.
|
|
91
|
+
* @param {string[]} policyReferences List of Network Security Policy external identifiers for export.
|
|
92
|
+
*/
|
|
93
|
+
}, {
|
|
94
|
+
key: "setPolicyReferences",
|
|
95
|
+
value: function setPolicyReferences(policyReferences) {
|
|
96
|
+
this.policyReferences = policyReferences;
|
|
97
|
+
}
|
|
98
|
+
}, {
|
|
99
|
+
key: "get$Reserved",
|
|
100
|
+
value: function get$Reserved() {
|
|
101
|
+
return this.$reserved;
|
|
102
|
+
}
|
|
103
|
+
}, {
|
|
104
|
+
key: "get$ObjectType",
|
|
105
|
+
value: function get$ObjectType() {
|
|
106
|
+
return this.$objectType;
|
|
107
|
+
}
|
|
108
|
+
}, {
|
|
109
|
+
key: "get$UnknownFields",
|
|
110
|
+
value: function get$UnknownFields() {
|
|
111
|
+
return this.$unknownFields;
|
|
112
|
+
}
|
|
113
|
+
}, {
|
|
114
|
+
key: "toJson",
|
|
115
|
+
value: function toJson(forMutation) {
|
|
116
|
+
if (forMutation === false) {
|
|
117
|
+
return _objectSpread(_objectSpread({}, typeof this.getPolicyReferences() !== 'undefined' && this.getPolicyReferences() !== null ? {
|
|
118
|
+
'policyReferences': this.getPolicyReferences()
|
|
119
|
+
} : {}), {}, {
|
|
120
|
+
'$reserved': this.get$Reserved(),
|
|
121
|
+
'$objectType': this.get$ObjectType(),
|
|
122
|
+
'$unknownFields': this.get$UnknownFields()
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
return _objectSpread(_objectSpread({}, typeof this.getPolicyReferences() !== 'undefined' && this.getPolicyReferences() !== null ? {
|
|
126
|
+
'policyReferences': this.getPolicyReferences()
|
|
127
|
+
} : {}), {}, {
|
|
128
|
+
'$reserved': this.get$Reserved(),
|
|
129
|
+
'$objectType': this.get$ObjectType(),
|
|
130
|
+
'$unknownFields': this.get$UnknownFields()
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
}, {
|
|
134
|
+
key: "validate",
|
|
135
|
+
value: function validate(scope, properties) {
|
|
136
|
+
var _this = this;
|
|
137
|
+
var propList = [];
|
|
138
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
|
|
139
|
+
//cases validate() and validate(scope)
|
|
140
|
+
propList = [];
|
|
141
|
+
} else if (arguments.length === 1) {
|
|
142
|
+
//case validate(properties)
|
|
143
|
+
propList = arguments[0];
|
|
144
|
+
scope = null;
|
|
145
|
+
} else {
|
|
146
|
+
//case validate(scope, properties)
|
|
147
|
+
propList = arguments[1];
|
|
148
|
+
}
|
|
149
|
+
var res = [];
|
|
150
|
+
var err = null;
|
|
151
|
+
propList.forEach(function (property) {
|
|
152
|
+
err = _this.validateProperty(property, scope);
|
|
153
|
+
if (err) {
|
|
154
|
+
res.push(err);
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
return new Promise(function (resolve, reject) {
|
|
158
|
+
if (res.length !== 0) {
|
|
159
|
+
reject(err);
|
|
160
|
+
} else {
|
|
161
|
+
resolve();
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
}, {
|
|
166
|
+
key: "validateProperty",
|
|
167
|
+
value: function validateProperty(scope, property) {
|
|
168
|
+
if (property === "policyReferences") {
|
|
169
|
+
if (typeof this.policyReferences === 'undefined' || this.policyReferences === null) {
|
|
170
|
+
return new _ValidationError["default"]("policyReferences", "undefined or null");
|
|
171
|
+
}
|
|
172
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.policyReferences, 1000)) {
|
|
173
|
+
return new _ValidationError["default"]("policyReferences", "does not satisfy required maxItems constraint: 1000");
|
|
174
|
+
}
|
|
175
|
+
if (!_ValidationUtils["default"].validateMinItems(this.policyReferences, 1)) {
|
|
176
|
+
return new _ValidationError["default"]("policyReferences", "does not satisfy required minItems constraint: 1");
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
if (property === "$reserved") {
|
|
180
|
+
if (typeof this.$reserved === 'undefined' || this.$reserved === null) {
|
|
181
|
+
return new _ValidationError["default"]("$reserved", "undefined or null");
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
if (property === "$objectType") {
|
|
185
|
+
if (typeof this.$objectType === 'undefined' || this.$objectType === null) {
|
|
186
|
+
return new _ValidationError["default"]("$objectType", "undefined or null");
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
if (property === "$unknownFields") {
|
|
190
|
+
if (typeof this.$unknownFields === 'undefined' || this.$unknownFields === null) {
|
|
191
|
+
return new _ValidationError["default"]("$unknownFields", "undefined or null");
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
return new _ValidationError["default"](property, "no such property exists");
|
|
195
|
+
}
|
|
196
|
+
}], [{
|
|
197
|
+
key: "constructFromObject",
|
|
198
|
+
value: function constructFromObject(data) {
|
|
199
|
+
var obj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
200
|
+
var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
201
|
+
var items, item, i, itemArr, discriminator;
|
|
202
|
+
if (data) {
|
|
203
|
+
obj = obj || new NetworkSecurityPolicyExportSpec();
|
|
204
|
+
if (data.hasOwnProperty('policyReferences') && data.policyReferences !== null && data.policyReferences !== undefined) {
|
|
205
|
+
itemArr = [];
|
|
206
|
+
items = data.policyReferences;
|
|
207
|
+
for (i = 0; i < items.length; i++) {
|
|
208
|
+
itemArr.push(items[i]);
|
|
209
|
+
}
|
|
210
|
+
obj.setPolicyReferences(itemArr);
|
|
211
|
+
}
|
|
212
|
+
if (data.hasOwnProperty('$reserved')) {
|
|
213
|
+
obj.$reserved = data['$reserved'];
|
|
214
|
+
}
|
|
215
|
+
if (data.hasOwnProperty('$objectType')) {
|
|
216
|
+
obj.$objectType = data['$objectType'];
|
|
217
|
+
}
|
|
218
|
+
if (data.hasOwnProperty('$unknownFields')) {
|
|
219
|
+
obj.$unknownFields = data['$unknownFields'];
|
|
220
|
+
}
|
|
221
|
+
if (!callFromChild) {
|
|
222
|
+
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
223
|
+
for (var property in data) {
|
|
224
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
225
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
226
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
227
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
228
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
229
|
+
obj.$unknownFields[property] = data[property];
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
return obj;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Converts a given snake_case string to camelCase.
|
|
239
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
240
|
+
* @returns {string} - The converted string in camelCase format.
|
|
241
|
+
*/
|
|
242
|
+
}, {
|
|
243
|
+
key: "snakeToCamel",
|
|
244
|
+
value: function snakeToCamel(snakeStr) {
|
|
245
|
+
return snakeStr.replace(/(_\w)/g, function (match) {
|
|
246
|
+
return match[1].toUpperCase();
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
}]);
|
|
250
|
+
}();
|
|
251
|
+
/**
|
|
252
|
+
* List of Network Security Policy external identifiers for export.
|
|
253
|
+
* @memberof NetworkSecurityPolicyExportSpec
|
|
254
|
+
*/
|
|
255
|
+
function _toJsonMapType(obj, forMutation) {
|
|
256
|
+
if (obj instanceof Map) {
|
|
257
|
+
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
258
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
259
|
+
k = _ref2[0],
|
|
260
|
+
v = _ref2[1];
|
|
261
|
+
return [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v];
|
|
262
|
+
}));
|
|
263
|
+
} else if (_typeof(obj) === 'object' && obj != null && obj.constructor === Object) {
|
|
264
|
+
return Object.fromEntries(Array.from(Object.entries(obj), function (entry) {
|
|
265
|
+
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
266
|
+
}));
|
|
267
|
+
}
|
|
268
|
+
return obj;
|
|
269
|
+
}
|
|
270
|
+
/*
|
|
271
|
+
* toJson method for a date type which serializes a Date object to proper Date or DateTime formatting
|
|
272
|
+
* @param {Object} obj Object to serialize
|
|
273
|
+
* @param {boolean} isDateOnly Boolean variable to identify Date or DateTime format for serialization
|
|
274
|
+
* @returns {Object|string} Returns serialized date object or original input object
|
|
275
|
+
*/
|
|
276
|
+
function _handleDateType(obj, isDateOnly) {
|
|
277
|
+
if (obj instanceof Date && isDateOnly !== undefined) {
|
|
278
|
+
return isDateOnly ? obj.toISOString().slice(0, 10) : obj.toISOString();
|
|
279
|
+
}
|
|
280
|
+
return obj;
|
|
281
|
+
}
|
|
282
|
+
NetworkSecurityPolicyExportSpec.prototype.policyReferences = undefined;
|
|
283
|
+
NetworkSecurityPolicyExportSpec.prototype.$reserved = undefined;
|
|
284
|
+
NetworkSecurityPolicyExportSpec.prototype.$objectType = undefined;
|
|
285
|
+
NetworkSecurityPolicyExportSpec.prototype.$unknownFields = undefined;
|
|
@@ -42,11 +42,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
42
42
|
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"); } /*
|
|
43
43
|
* Nutanix Flow Management APIs
|
|
44
44
|
*
|
|
45
|
-
* OpenAPI spec version: 4.
|
|
45
|
+
* OpenAPI spec version: 4.1.1
|
|
46
46
|
*
|
|
47
47
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
48
48
|
*
|
|
49
|
-
* Open API Dev Platform Codegen version:
|
|
49
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
50
50
|
*
|
|
51
51
|
* Do not edit the class manually.
|
|
52
52
|
*
|
|
@@ -54,7 +54,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
54
54
|
/**
|
|
55
55
|
* The NetworkSecurityPolicyRule model module.
|
|
56
56
|
* @module Ntnx/NetworkSecurityPolicyRule
|
|
57
|
-
* @version 4.
|
|
57
|
+
* @version 4.1.1
|
|
58
58
|
* @class NetworkSecurityPolicyRule
|
|
59
59
|
* @extends ExternalizableAbstractModel
|
|
60
60
|
*
|
|
@@ -89,7 +89,7 @@ var NetworkSecurityPolicyRule = exports["default"] = /*#__PURE__*/function (_Ext
|
|
|
89
89
|
_this.$objectType = "microseg.v4.config.NetworkSecurityPolicyRule";
|
|
90
90
|
/** @type {object<string, any>} */
|
|
91
91
|
_this.$reserved = {
|
|
92
|
-
'$fv': "v4.
|
|
92
|
+
'$fv': "v4.r1"
|
|
93
93
|
};
|
|
94
94
|
/** @type {object<string, any>} */
|
|
95
95
|
_this.$unknownFields = {};
|
|
@@ -381,7 +381,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
|
381
381
|
*/
|
|
382
382
|
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
383
383
|
/**
|
|
384
|
-
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this
|
|
384
|
+
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
|
|
385
385
|
* @memberof NetworkSecurityPolicyRule
|
|
386
386
|
*/
|
|
387
387
|
_TenantAwareModel["default"].prototype.tenantId = undefined;
|
|
@@ -11,11 +11,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
|
|
|
11
11
|
/*
|
|
12
12
|
* Nutanix Flow Management APIs
|
|
13
13
|
*
|
|
14
|
-
* OpenAPI spec version: 4.
|
|
14
|
+
* OpenAPI spec version: 4.1.1
|
|
15
15
|
*
|
|
16
16
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
17
|
*
|
|
18
|
-
* Open API Dev Platform Codegen version:
|
|
18
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
19
19
|
*
|
|
20
20
|
* Do not edit the class manually.
|
|
21
21
|
*
|
|
@@ -38,7 +38,7 @@ var RuleType = {
|
|
|
38
38
|
*/
|
|
39
39
|
$REDACTED: "$REDACTED",
|
|
40
40
|
/**
|
|
41
|
-
* An
|
|
41
|
+
* An application rule where inbound and outbound traffic is not allowed.
|
|
42
42
|
* @const
|
|
43
43
|
*/
|
|
44
44
|
QUARANTINE: "QUARANTINE",
|
|
@@ -53,7 +53,7 @@ var RuleType = {
|
|
|
53
53
|
*/
|
|
54
54
|
APPLICATION: "APPLICATION",
|
|
55
55
|
/**
|
|
56
|
-
* A rule for specifying allowed traffic inside
|
|
56
|
+
* A rule for specifying allowed traffic inside a secured entity group.
|
|
57
57
|
* @const
|
|
58
58
|
*/
|
|
59
59
|
INTRA_GROUP: "INTRA_GROUP",
|
|
@@ -61,7 +61,12 @@ var RuleType = {
|
|
|
61
61
|
* A rule for specifying that multiple environments should be isolated from each other.
|
|
62
62
|
* @const
|
|
63
63
|
*/
|
|
64
|
-
MULTI_ENV_ISOLATION: "MULTI_ENV_ISOLATION"
|
|
64
|
+
MULTI_ENV_ISOLATION: "MULTI_ENV_ISOLATION",
|
|
65
|
+
/**
|
|
66
|
+
* A rule for specifying that shared services will be used.
|
|
67
|
+
* @const
|
|
68
|
+
*/
|
|
69
|
+
SHARED_SERVICE: "SHARED_SERVICE"
|
|
65
70
|
};
|
|
66
71
|
|
|
67
72
|
/**
|
|
@@ -94,9 +99,10 @@ RuleType.validate = function (obj) {
|
|
|
94
99
|
case RuleType.APPLICATION:
|
|
95
100
|
case RuleType.INTRA_GROUP:
|
|
96
101
|
case RuleType.MULTI_ENV_ISOLATION:
|
|
102
|
+
case RuleType.SHARED_SERVICE:
|
|
97
103
|
return;
|
|
98
104
|
default:
|
|
99
|
-
throw new Error("Invalid : must be RuleType.{ $UNKNOWN|$REDACTED|QUARANTINE|TWO_ENV_ISOLATION|APPLICATION|INTRA_GROUP|MULTI_ENV_ISOLATION }");
|
|
105
|
+
throw new Error("Invalid : must be RuleType.{ $UNKNOWN|$REDACTED|QUARANTINE|TWO_ENV_ISOLATION|APPLICATION|INTRA_GROUP|MULTI_ENV_ISOLATION|SHARED_SERVICE }");
|
|
100
106
|
}
|
|
101
107
|
};
|
|
102
108
|
Object.freeze(RuleType);
|
|
@@ -11,11 +11,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
|
|
|
11
11
|
/*
|
|
12
12
|
* Nutanix Flow Management APIs
|
|
13
13
|
*
|
|
14
|
-
* OpenAPI spec version: 4.
|
|
14
|
+
* OpenAPI spec version: 4.1.1
|
|
15
15
|
*
|
|
16
16
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
17
|
*
|
|
18
|
-
* Open API Dev Platform Codegen version:
|
|
18
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
19
19
|
*
|
|
20
20
|
* Do not edit the class manually.
|
|
21
21
|
*
|
|
@@ -43,15 +43,25 @@ var SecurityPolicyScope = {
|
|
|
43
43
|
*/
|
|
44
44
|
ALL_VLAN: "ALL_VLAN",
|
|
45
45
|
/**
|
|
46
|
-
* Policy is scoped to all the VPCs.
|
|
46
|
+
* Policy is scoped to all the VPCs.
|
|
47
47
|
* @const
|
|
48
48
|
*/
|
|
49
49
|
ALL_VPC: "ALL_VPC",
|
|
50
50
|
/**
|
|
51
|
-
* Policy is scoped to the list of VPCs specified in vpcReferences.
|
|
51
|
+
* Policy is scoped to the list of VPCs specified in vpcReferences parameter.
|
|
52
52
|
* @const
|
|
53
53
|
*/
|
|
54
|
-
VPC_LIST: "VPC_LIST"
|
|
54
|
+
VPC_LIST: "VPC_LIST",
|
|
55
|
+
/**
|
|
56
|
+
* Policy is scoped across VLANs and VPCs.
|
|
57
|
+
* @const
|
|
58
|
+
*/
|
|
59
|
+
GLOBAL: "GLOBAL",
|
|
60
|
+
/**
|
|
61
|
+
* Policy is scoped to VPCs categorised into categories specified in reference external identifiers.
|
|
62
|
+
* @const
|
|
63
|
+
*/
|
|
64
|
+
VPC_AS_CATEGORY: "VPC_AS_CATEGORY"
|
|
55
65
|
};
|
|
56
66
|
|
|
57
67
|
/**
|
|
@@ -82,9 +92,11 @@ SecurityPolicyScope.validate = function (obj) {
|
|
|
82
92
|
case SecurityPolicyScope.ALL_VLAN:
|
|
83
93
|
case SecurityPolicyScope.ALL_VPC:
|
|
84
94
|
case SecurityPolicyScope.VPC_LIST:
|
|
95
|
+
case SecurityPolicyScope.GLOBAL:
|
|
96
|
+
case SecurityPolicyScope.VPC_AS_CATEGORY:
|
|
85
97
|
return;
|
|
86
98
|
default:
|
|
87
|
-
throw new Error("Invalid : must be SecurityPolicyScope.{ $UNKNOWN|$REDACTED|ALL_VLAN|ALL_VPC|VPC_LIST }");
|
|
99
|
+
throw new Error("Invalid : must be SecurityPolicyScope.{ $UNKNOWN|$REDACTED|ALL_VLAN|ALL_VPC|VPC_LIST|GLOBAL|VPC_AS_CATEGORY }");
|
|
88
100
|
}
|
|
89
101
|
};
|
|
90
102
|
Object.freeze(SecurityPolicyScope);
|
|
@@ -11,11 +11,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
|
|
|
11
11
|
/*
|
|
12
12
|
* Nutanix Flow Management APIs
|
|
13
13
|
*
|
|
14
|
-
* OpenAPI spec version: 4.
|
|
14
|
+
* OpenAPI spec version: 4.1.1
|
|
15
15
|
*
|
|
16
16
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
17
|
*
|
|
18
|
-
* Open API Dev Platform Codegen version:
|
|
18
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
19
19
|
*
|
|
20
20
|
* Do not edit the class manually.
|
|
21
21
|
*
|
|
@@ -11,11 +11,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
|
|
|
11
11
|
/*
|
|
12
12
|
* Nutanix Flow Management APIs
|
|
13
13
|
*
|
|
14
|
-
* OpenAPI spec version: 4.
|
|
14
|
+
* OpenAPI spec version: 4.1.1
|
|
15
15
|
*
|
|
16
16
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
17
|
*
|
|
18
|
-
* Open API Dev Platform Codegen version:
|
|
18
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
19
19
|
*
|
|
20
20
|
* Do not edit the class manually.
|
|
21
21
|
*
|
|
@@ -51,7 +51,12 @@ var SecurityPolicyType = {
|
|
|
51
51
|
* A Policy for specifying allowed traffic for an application.
|
|
52
52
|
* @const
|
|
53
53
|
*/
|
|
54
|
-
APPLICATION: "APPLICATION"
|
|
54
|
+
APPLICATION: "APPLICATION",
|
|
55
|
+
/**
|
|
56
|
+
* A policy for specifying allowed traffic for a shared service.
|
|
57
|
+
* @const
|
|
58
|
+
*/
|
|
59
|
+
SHAREDSERVICE: "SHAREDSERVICE"
|
|
55
60
|
};
|
|
56
61
|
|
|
57
62
|
/**
|
|
@@ -82,9 +87,10 @@ SecurityPolicyType.validate = function (obj) {
|
|
|
82
87
|
case SecurityPolicyType.QUARANTINE:
|
|
83
88
|
case SecurityPolicyType.ISOLATION:
|
|
84
89
|
case SecurityPolicyType.APPLICATION:
|
|
90
|
+
case SecurityPolicyType.SHAREDSERVICE:
|
|
85
91
|
return;
|
|
86
92
|
default:
|
|
87
|
-
throw new Error("Invalid : must be SecurityPolicyType.{ $UNKNOWN|$REDACTED|QUARANTINE|ISOLATION|APPLICATION }");
|
|
93
|
+
throw new Error("Invalid : must be SecurityPolicyType.{ $UNKNOWN|$REDACTED|QUARANTINE|ISOLATION|APPLICATION|SHAREDSERVICE }");
|
|
88
94
|
}
|
|
89
95
|
};
|
|
90
96
|
Object.freeze(SecurityPolicyType);
|
|
@@ -40,11 +40,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
|
|
|
40
40
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
41
41
|
* Nutanix Flow Management APIs
|
|
42
42
|
*
|
|
43
|
-
* OpenAPI spec version: 4.
|
|
43
|
+
* OpenAPI spec version: 4.1.1
|
|
44
44
|
*
|
|
45
45
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
46
46
|
*
|
|
47
|
-
* Open API Dev Platform Codegen version:
|
|
47
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
48
48
|
*
|
|
49
49
|
* Do not edit the class manually.
|
|
50
50
|
*
|
|
@@ -52,7 +52,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
52
52
|
/**
|
|
53
53
|
* The ServiceGroup model module.
|
|
54
54
|
* @module Ntnx/ServiceGroup
|
|
55
|
-
* @version 4.
|
|
55
|
+
* @version 4.1.1
|
|
56
56
|
* @class ServiceGroup
|
|
57
57
|
* @extends ExternalizableAbstractModel
|
|
58
58
|
*
|
|
@@ -82,7 +82,7 @@ var ServiceGroup = exports["default"] = /*#__PURE__*/function (_ExternalizableAb
|
|
|
82
82
|
_this.$objectType = "microseg.v4.config.ServiceGroup";
|
|
83
83
|
/** @type {object<string, any>} */
|
|
84
84
|
_this.$reserved = {
|
|
85
|
-
'$fv': "v4.
|
|
85
|
+
'$fv': "v4.r1"
|
|
86
86
|
};
|
|
87
87
|
/** @type {object<string, any>} */
|
|
88
88
|
_this.$unknownFields = {};
|
|
@@ -608,7 +608,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
|
608
608
|
*/
|
|
609
609
|
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
610
610
|
/**
|
|
611
|
-
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this
|
|
611
|
+
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
|
|
612
612
|
* @memberof ServiceGroup
|
|
613
613
|
*/
|
|
614
614
|
_TenantAwareModel["default"].prototype.tenantId = undefined;
|
|
@@ -37,11 +37,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
|
|
|
37
37
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
38
38
|
* Nutanix Flow Management APIs
|
|
39
39
|
*
|
|
40
|
-
* OpenAPI spec version: 4.
|
|
40
|
+
* OpenAPI spec version: 4.1.1
|
|
41
41
|
*
|
|
42
42
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
43
43
|
*
|
|
44
|
-
* Open API Dev Platform Codegen version:
|
|
44
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
45
45
|
*
|
|
46
46
|
* Do not edit the class manually.
|
|
47
47
|
*
|
|
@@ -49,7 +49,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
49
49
|
/**
|
|
50
50
|
* The SyncPolicy model module.
|
|
51
51
|
* @module Ntnx/SyncPolicy
|
|
52
|
-
* @version 4.
|
|
52
|
+
* @version 4.1.1
|
|
53
53
|
* @class SyncPolicy
|
|
54
54
|
* @extends ExternalizableAbstractModel
|
|
55
55
|
*
|
|
@@ -84,7 +84,7 @@ var SyncPolicy = exports["default"] = /*#__PURE__*/function (_ExternalizableAbst
|
|
|
84
84
|
_this.$objectType = "microseg.v4.config.SyncPolicy";
|
|
85
85
|
/** @type {object<string, any>} */
|
|
86
86
|
_this.$reserved = {
|
|
87
|
-
'$fv': "v4.
|
|
87
|
+
'$fv': "v4.r1"
|
|
88
88
|
};
|
|
89
89
|
/** @type {object<string, any>} */
|
|
90
90
|
_this.$unknownFields = {};
|
|
@@ -404,7 +404,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
|
404
404
|
*/
|
|
405
405
|
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
406
406
|
/**
|
|
407
|
-
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this
|
|
407
|
+
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
|
|
408
408
|
* @memberof SyncPolicy
|
|
409
409
|
*/
|
|
410
410
|
_TenantAwareModel["default"].prototype.tenantId = undefined;
|
|
@@ -27,11 +27,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
|
|
|
27
27
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
28
28
|
* Nutanix Flow Management APIs
|
|
29
29
|
*
|
|
30
|
-
* OpenAPI spec version: 4.
|
|
30
|
+
* OpenAPI spec version: 4.1.1
|
|
31
31
|
*
|
|
32
32
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
33
33
|
*
|
|
34
|
-
* Open API Dev Platform Codegen version:
|
|
34
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
35
35
|
*
|
|
36
36
|
* Do not edit the class manually.
|
|
37
37
|
*
|
|
@@ -39,7 +39,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
39
39
|
/**
|
|
40
40
|
* The TcpPortRangeSpec model module.
|
|
41
41
|
* @module Ntnx/TcpPortRangeSpec
|
|
42
|
-
* @version 4.
|
|
42
|
+
* @version 4.1.1
|
|
43
43
|
* @class TcpPortRangeSpec
|
|
44
44
|
*
|
|
45
45
|
* @param { Number } startPort The beginning of the port number of the TCP/UDP port range.
|
|
@@ -71,7 +71,7 @@ var TcpPortRangeSpec = exports["default"] = /*#__PURE__*/function () {
|
|
|
71
71
|
this.$objectType = "microseg.v4.config.TcpPortRangeSpec";
|
|
72
72
|
/** @type {object<string, any>} */
|
|
73
73
|
this.$reserved = {
|
|
74
|
-
'$fv': "v4.
|
|
74
|
+
'$fv': "v4.r1"
|
|
75
75
|
};
|
|
76
76
|
/** @type {object<string, any>} */
|
|
77
77
|
this.$unknownFields = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The TwoEnvIsolationRuleSpec model module.
|
|
3
3
|
* @module Ntnx/TwoEnvIsolationRuleSpec
|
|
4
|
-
* @version 4.
|
|
4
|
+
* @version 4.1.1
|
|
5
5
|
* @class TwoEnvIsolationRuleSpec
|
|
6
6
|
*
|
|
7
7
|
* @param { string[] } firstIsolationGroup Denotes the first group of category uuids that will be used in an isolation policy.
|