@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,11 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The IntraEntityGroupRuleSpec model module.
|
|
3
3
|
* @module Ntnx/IntraEntityGroupRuleSpec
|
|
4
|
-
* @version 4.
|
|
4
|
+
* @version 4.1.1
|
|
5
5
|
* @class IntraEntityGroupRuleSpec
|
|
6
6
|
*
|
|
7
|
-
* @param { string[] } securedGroupCategoryReferences A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
|
|
8
|
-
*
|
|
9
7
|
* @param { IntraEntityGroupRuleAction } securedGroupAction
|
|
10
8
|
*/
|
|
11
9
|
export default class IntraEntityGroupRuleSpec {
|
|
@@ -26,21 +24,27 @@ export default class IntraEntityGroupRuleSpec {
|
|
|
26
24
|
static snakeToCamel(snakeStr: string): string;
|
|
27
25
|
/**
|
|
28
26
|
* Constructs a new <code>IntraEntityGroupRuleSpec</code>.
|
|
29
|
-
* A rule for specifying allowed traffic inside
|
|
27
|
+
* A rule for specifying allowed traffic inside a secured entity group.
|
|
30
28
|
* @alias module:Ntnx/IntraEntityGroupRuleSpec
|
|
31
29
|
*
|
|
32
|
-
* @param { string[] } securedGroupCategoryReferences A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
|
|
33
|
-
*
|
|
34
30
|
* @param { IntraEntityGroupRuleAction } securedGroupAction
|
|
35
31
|
*/
|
|
36
|
-
constructor(
|
|
37
|
-
securedGroupCategoryReferences: string[];
|
|
32
|
+
constructor(securedGroupAction: IntraEntityGroupRuleAction);
|
|
38
33
|
securedGroupAction: string;
|
|
39
34
|
$objectType: string;
|
|
40
35
|
/** @type {object<string, any>} */
|
|
41
36
|
$reserved: object;
|
|
42
37
|
/** @type {object<string, any>} */
|
|
43
38
|
$unknownFields: object;
|
|
39
|
+
/**
|
|
40
|
+
* @return {CategoryAssociatedEntityType}
|
|
41
|
+
*/
|
|
42
|
+
getSecuredGroupCategoryAssociatedEntityType(): CategoryAssociatedEntityType;
|
|
43
|
+
/**
|
|
44
|
+
* @param {CategoryAssociatedEntityType} securedGroupCategoryAssociatedEntityType
|
|
45
|
+
*/
|
|
46
|
+
setSecuredGroupCategoryAssociatedEntityType(securedGroupCategoryAssociatedEntityType: CategoryAssociatedEntityType): void;
|
|
47
|
+
securedGroupCategoryAssociatedEntityType: string;
|
|
44
48
|
/**
|
|
45
49
|
* Returns A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
|
|
46
50
|
* @return {string[]}
|
|
@@ -51,6 +55,18 @@ export default class IntraEntityGroupRuleSpec {
|
|
|
51
55
|
* @param {string[]} securedGroupCategoryReferences A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
|
|
52
56
|
*/
|
|
53
57
|
setSecuredGroupCategoryReferences(securedGroupCategoryReferences: string[]): void;
|
|
58
|
+
securedGroupCategoryReferences: string[];
|
|
59
|
+
/**
|
|
60
|
+
* Returns External identifier of the entity group belonging to the secured group.
|
|
61
|
+
* @return {string}
|
|
62
|
+
*/
|
|
63
|
+
getSecuredGroupEntityGroupReference(): string;
|
|
64
|
+
/**
|
|
65
|
+
* Sets External identifier of the entity group belonging to the secured group.
|
|
66
|
+
* @param {string} securedGroupEntityGroupReference External identifier of the entity group belonging to the secured group.
|
|
67
|
+
*/
|
|
68
|
+
setSecuredGroupEntityGroupReference(securedGroupEntityGroupReference: string): void;
|
|
69
|
+
securedGroupEntityGroupReference: string;
|
|
54
70
|
/**
|
|
55
71
|
* @return {IntraEntityGroupRuleAction}
|
|
56
72
|
*/
|
|
@@ -59,6 +75,46 @@ export default class IntraEntityGroupRuleSpec {
|
|
|
59
75
|
* @param {IntraEntityGroupRuleAction} securedGroupAction
|
|
60
76
|
*/
|
|
61
77
|
setSecuredGroupAction(securedGroupAction: IntraEntityGroupRuleAction): void;
|
|
78
|
+
/**
|
|
79
|
+
* Returns A list of service group references.
|
|
80
|
+
* @return {string[]}
|
|
81
|
+
*/
|
|
82
|
+
getSecuredGroupServiceReferences(): string[];
|
|
83
|
+
/**
|
|
84
|
+
* Sets A list of service group references.
|
|
85
|
+
* @param {string[]} securedGroupServiceReferences A list of service group references.
|
|
86
|
+
*/
|
|
87
|
+
setSecuredGroupServiceReferences(securedGroupServiceReferences: string[]): void;
|
|
88
|
+
securedGroupServiceReferences: string[];
|
|
89
|
+
/**
|
|
90
|
+
* @return {TcpPortRangeSpec[]}
|
|
91
|
+
*/
|
|
92
|
+
getTcpServices(): TcpPortRangeSpec[];
|
|
93
|
+
/**
|
|
94
|
+
* @param {TcpPortRangeSpec[]} tcpServices
|
|
95
|
+
*/
|
|
96
|
+
setTcpServices(tcpServices: TcpPortRangeSpec[]): void;
|
|
97
|
+
tcpServices: TcpPortRangeSpec[];
|
|
98
|
+
/**
|
|
99
|
+
* @return {UdpPortRangeSpec[]}
|
|
100
|
+
*/
|
|
101
|
+
getUdpServices(): UdpPortRangeSpec[];
|
|
102
|
+
/**
|
|
103
|
+
* @param {UdpPortRangeSpec[]} udpServices
|
|
104
|
+
*/
|
|
105
|
+
setUdpServices(udpServices: UdpPortRangeSpec[]): void;
|
|
106
|
+
udpServices: UdpPortRangeSpec[];
|
|
107
|
+
/**
|
|
108
|
+
* Returns ICMP Type Code List.
|
|
109
|
+
* @return {IcmpTypeCodeSpec[]}
|
|
110
|
+
*/
|
|
111
|
+
getIcmpServices(): IcmpTypeCodeSpec[];
|
|
112
|
+
/**
|
|
113
|
+
* Sets ICMP Type Code List.
|
|
114
|
+
* @param {IcmpTypeCodeSpec[]} icmpServices ICMP Type Code List.
|
|
115
|
+
*/
|
|
116
|
+
setIcmpServices(icmpServices: IcmpTypeCodeSpec[]): void;
|
|
117
|
+
icmpServices: IcmpTypeCodeSpec[];
|
|
62
118
|
get$Reserved(): any;
|
|
63
119
|
get$ObjectType(): string;
|
|
64
120
|
get$UnknownFields(): any;
|
|
@@ -66,12 +122,41 @@ export default class IntraEntityGroupRuleSpec {
|
|
|
66
122
|
$reserved: any;
|
|
67
123
|
$objectType: string;
|
|
68
124
|
$unknownFields: any;
|
|
125
|
+
icmpServices?: {
|
|
126
|
+
$reserved: any;
|
|
127
|
+
$objectType: string;
|
|
128
|
+
$unknownFields: any;
|
|
129
|
+
code?: number;
|
|
130
|
+
type?: number;
|
|
131
|
+
isAllAllowed?: boolean;
|
|
132
|
+
}[];
|
|
133
|
+
udpServices?: {
|
|
134
|
+
$reserved: any;
|
|
135
|
+
$objectType: string;
|
|
136
|
+
$unknownFields: any;
|
|
137
|
+
endPort?: number;
|
|
138
|
+
startPort?: number;
|
|
139
|
+
}[];
|
|
140
|
+
tcpServices?: {
|
|
141
|
+
$reserved: any;
|
|
142
|
+
$objectType: string;
|
|
143
|
+
$unknownFields: any;
|
|
144
|
+
endPort?: number;
|
|
145
|
+
startPort?: number;
|
|
146
|
+
}[];
|
|
147
|
+
securedGroupServiceReferences?: string[];
|
|
69
148
|
securedGroupAction?: string;
|
|
149
|
+
securedGroupEntityGroupReference?: string;
|
|
70
150
|
securedGroupCategoryReferences?: string[];
|
|
151
|
+
securedGroupCategoryAssociatedEntityType?: string;
|
|
71
152
|
};
|
|
72
153
|
validate(scope: any, properties: any, ...args: any[]): Promise<any>;
|
|
73
154
|
validateProperty(scope: any, property: any): ValidationError;
|
|
74
155
|
#private;
|
|
75
156
|
}
|
|
157
|
+
import CategoryAssociatedEntityType from "./CategoryAssociatedEntityType";
|
|
76
158
|
import IntraEntityGroupRuleAction from "./IntraEntityGroupRuleAction";
|
|
159
|
+
import TcpPortRangeSpec from "./TcpPortRangeSpec";
|
|
160
|
+
import UdpPortRangeSpec from "./UdpPortRangeSpec";
|
|
161
|
+
import IcmpTypeCodeSpec from "./IcmpTypeCodeSpec";
|
|
77
162
|
import ValidationError from "../../../validation/ValidationError";
|
|
@@ -4,7 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
+
var _CategoryAssociatedEntityType = _interopRequireDefault(require("./CategoryAssociatedEntityType"));
|
|
8
|
+
var _IcmpTypeCodeSpec = _interopRequireDefault(require("./IcmpTypeCodeSpec"));
|
|
7
9
|
var _IntraEntityGroupRuleAction = _interopRequireDefault(require("./IntraEntityGroupRuleAction"));
|
|
10
|
+
var _TcpPortRangeSpec = _interopRequireDefault(require("./TcpPortRangeSpec"));
|
|
11
|
+
var _UdpPortRangeSpec = _interopRequireDefault(require("./UdpPortRangeSpec"));
|
|
8
12
|
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
9
13
|
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
10
14
|
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
@@ -28,11 +32,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
|
|
|
28
32
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
29
33
|
* Nutanix Flow Management APIs
|
|
30
34
|
*
|
|
31
|
-
* OpenAPI spec version: 4.
|
|
35
|
+
* OpenAPI spec version: 4.1.1
|
|
32
36
|
*
|
|
33
37
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
34
38
|
*
|
|
35
|
-
* Open API Dev Platform Codegen version:
|
|
39
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
36
40
|
*
|
|
37
41
|
* Do not edit the class manually.
|
|
38
42
|
*
|
|
@@ -40,25 +44,21 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
40
44
|
/**
|
|
41
45
|
* The IntraEntityGroupRuleSpec model module.
|
|
42
46
|
* @module Ntnx/IntraEntityGroupRuleSpec
|
|
43
|
-
* @version 4.
|
|
47
|
+
* @version 4.1.1
|
|
44
48
|
* @class IntraEntityGroupRuleSpec
|
|
45
49
|
*
|
|
46
|
-
* @param { string[] } securedGroupCategoryReferences A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
|
|
47
|
-
*
|
|
48
50
|
* @param { IntraEntityGroupRuleAction } securedGroupAction
|
|
49
51
|
*/
|
|
50
52
|
var _IntraEntityGroupRuleSpec_brand = /*#__PURE__*/new WeakSet();
|
|
51
53
|
var IntraEntityGroupRuleSpec = exports["default"] = /*#__PURE__*/function () {
|
|
52
54
|
/**
|
|
53
55
|
* Constructs a new <code>IntraEntityGroupRuleSpec</code>.
|
|
54
|
-
* A rule for specifying allowed traffic inside
|
|
56
|
+
* A rule for specifying allowed traffic inside a secured entity group.
|
|
55
57
|
* @alias module:Ntnx/IntraEntityGroupRuleSpec
|
|
56
58
|
*
|
|
57
|
-
* @param { string[] } securedGroupCategoryReferences A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
|
|
58
|
-
*
|
|
59
59
|
* @param { IntraEntityGroupRuleAction } securedGroupAction
|
|
60
60
|
*/
|
|
61
|
-
function IntraEntityGroupRuleSpec(
|
|
61
|
+
function IntraEntityGroupRuleSpec(securedGroupAction) {
|
|
62
62
|
_classCallCheck(this, IntraEntityGroupRuleSpec);
|
|
63
63
|
/*
|
|
64
64
|
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
@@ -67,12 +67,11 @@ var IntraEntityGroupRuleSpec = exports["default"] = /*#__PURE__*/function () {
|
|
|
67
67
|
* Otherwise, just returns the input object.
|
|
68
68
|
*/
|
|
69
69
|
_classPrivateMethodInitSpec(this, _IntraEntityGroupRuleSpec_brand);
|
|
70
|
-
this.securedGroupCategoryReferences = securedGroupCategoryReferences;
|
|
71
70
|
this.securedGroupAction = securedGroupAction;
|
|
72
71
|
this.$objectType = "microseg.v4.config.IntraEntityGroupRuleSpec";
|
|
73
72
|
/** @type {object<string, any>} */
|
|
74
73
|
this.$reserved = {
|
|
75
|
-
'$fv': "v4.
|
|
74
|
+
'$fv': "v4.r1"
|
|
76
75
|
};
|
|
77
76
|
/** @type {object<string, any>} */
|
|
78
77
|
this.$unknownFields = {};
|
|
@@ -87,13 +86,31 @@ var IntraEntityGroupRuleSpec = exports["default"] = /*#__PURE__*/function () {
|
|
|
87
86
|
* @return {module:Ntnx/IntraEntityGroupRuleSpec} The populated <code>IntraEntityGroupRuleSpec</code> instance.
|
|
88
87
|
*/
|
|
89
88
|
return _createClass(IntraEntityGroupRuleSpec, [{
|
|
90
|
-
key: "
|
|
89
|
+
key: "getSecuredGroupCategoryAssociatedEntityType",
|
|
91
90
|
value:
|
|
91
|
+
/**
|
|
92
|
+
* @return {CategoryAssociatedEntityType}
|
|
93
|
+
*/
|
|
94
|
+
function getSecuredGroupCategoryAssociatedEntityType() {
|
|
95
|
+
return this.securedGroupCategoryAssociatedEntityType;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @param {CategoryAssociatedEntityType} securedGroupCategoryAssociatedEntityType
|
|
100
|
+
*/
|
|
101
|
+
}, {
|
|
102
|
+
key: "setSecuredGroupCategoryAssociatedEntityType",
|
|
103
|
+
value: function setSecuredGroupCategoryAssociatedEntityType(securedGroupCategoryAssociatedEntityType) {
|
|
104
|
+
this.securedGroupCategoryAssociatedEntityType = securedGroupCategoryAssociatedEntityType;
|
|
105
|
+
}
|
|
106
|
+
|
|
92
107
|
/**
|
|
93
108
|
* Returns A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
|
|
94
109
|
* @return {string[]}
|
|
95
110
|
*/
|
|
96
|
-
|
|
111
|
+
}, {
|
|
112
|
+
key: "getSecuredGroupCategoryReferences",
|
|
113
|
+
value: function getSecuredGroupCategoryReferences() {
|
|
97
114
|
return this.securedGroupCategoryReferences;
|
|
98
115
|
}
|
|
99
116
|
|
|
@@ -107,6 +124,26 @@ var IntraEntityGroupRuleSpec = exports["default"] = /*#__PURE__*/function () {
|
|
|
107
124
|
this.securedGroupCategoryReferences = securedGroupCategoryReferences;
|
|
108
125
|
}
|
|
109
126
|
|
|
127
|
+
/**
|
|
128
|
+
* Returns External identifier of the entity group belonging to the secured group.
|
|
129
|
+
* @return {string}
|
|
130
|
+
*/
|
|
131
|
+
}, {
|
|
132
|
+
key: "getSecuredGroupEntityGroupReference",
|
|
133
|
+
value: function getSecuredGroupEntityGroupReference() {
|
|
134
|
+
return this.securedGroupEntityGroupReference;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Sets External identifier of the entity group belonging to the secured group.
|
|
139
|
+
* @param {string} securedGroupEntityGroupReference External identifier of the entity group belonging to the secured group.
|
|
140
|
+
*/
|
|
141
|
+
}, {
|
|
142
|
+
key: "setSecuredGroupEntityGroupReference",
|
|
143
|
+
value: function setSecuredGroupEntityGroupReference(securedGroupEntityGroupReference) {
|
|
144
|
+
this.securedGroupEntityGroupReference = securedGroupEntityGroupReference;
|
|
145
|
+
}
|
|
146
|
+
|
|
110
147
|
/**
|
|
111
148
|
* @return {IntraEntityGroupRuleAction}
|
|
112
149
|
*/
|
|
@@ -124,6 +161,82 @@ var IntraEntityGroupRuleSpec = exports["default"] = /*#__PURE__*/function () {
|
|
|
124
161
|
value: function setSecuredGroupAction(securedGroupAction) {
|
|
125
162
|
this.securedGroupAction = securedGroupAction;
|
|
126
163
|
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Returns A list of service group references.
|
|
167
|
+
* @return {string[]}
|
|
168
|
+
*/
|
|
169
|
+
}, {
|
|
170
|
+
key: "getSecuredGroupServiceReferences",
|
|
171
|
+
value: function getSecuredGroupServiceReferences() {
|
|
172
|
+
return this.securedGroupServiceReferences;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Sets A list of service group references.
|
|
177
|
+
* @param {string[]} securedGroupServiceReferences A list of service group references.
|
|
178
|
+
*/
|
|
179
|
+
}, {
|
|
180
|
+
key: "setSecuredGroupServiceReferences",
|
|
181
|
+
value: function setSecuredGroupServiceReferences(securedGroupServiceReferences) {
|
|
182
|
+
this.securedGroupServiceReferences = securedGroupServiceReferences;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* @return {TcpPortRangeSpec[]}
|
|
187
|
+
*/
|
|
188
|
+
}, {
|
|
189
|
+
key: "getTcpServices",
|
|
190
|
+
value: function getTcpServices() {
|
|
191
|
+
return this.tcpServices;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @param {TcpPortRangeSpec[]} tcpServices
|
|
196
|
+
*/
|
|
197
|
+
}, {
|
|
198
|
+
key: "setTcpServices",
|
|
199
|
+
value: function setTcpServices(tcpServices) {
|
|
200
|
+
this.tcpServices = tcpServices;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @return {UdpPortRangeSpec[]}
|
|
205
|
+
*/
|
|
206
|
+
}, {
|
|
207
|
+
key: "getUdpServices",
|
|
208
|
+
value: function getUdpServices() {
|
|
209
|
+
return this.udpServices;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @param {UdpPortRangeSpec[]} udpServices
|
|
214
|
+
*/
|
|
215
|
+
}, {
|
|
216
|
+
key: "setUdpServices",
|
|
217
|
+
value: function setUdpServices(udpServices) {
|
|
218
|
+
this.udpServices = udpServices;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Returns ICMP Type Code List.
|
|
223
|
+
* @return {IcmpTypeCodeSpec[]}
|
|
224
|
+
*/
|
|
225
|
+
}, {
|
|
226
|
+
key: "getIcmpServices",
|
|
227
|
+
value: function getIcmpServices() {
|
|
228
|
+
return this.icmpServices;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Sets ICMP Type Code List.
|
|
233
|
+
* @param {IcmpTypeCodeSpec[]} icmpServices ICMP Type Code List.
|
|
234
|
+
*/
|
|
235
|
+
}, {
|
|
236
|
+
key: "setIcmpServices",
|
|
237
|
+
value: function setIcmpServices(icmpServices) {
|
|
238
|
+
this.icmpServices = icmpServices;
|
|
239
|
+
}
|
|
127
240
|
}, {
|
|
128
241
|
key: "get$Reserved",
|
|
129
242
|
value: function get$Reserved() {
|
|
@@ -143,20 +256,56 @@ var IntraEntityGroupRuleSpec = exports["default"] = /*#__PURE__*/function () {
|
|
|
143
256
|
key: "toJson",
|
|
144
257
|
value: function toJson(forMutation) {
|
|
145
258
|
if (forMutation === false) {
|
|
146
|
-
return _objectSpread(_objectSpread(_objectSpread({}, typeof this.
|
|
259
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getSecuredGroupCategoryAssociatedEntityType() !== 'undefined' && this.getSecuredGroupCategoryAssociatedEntityType() !== null ? {
|
|
260
|
+
'securedGroupCategoryAssociatedEntityType': this.getSecuredGroupCategoryAssociatedEntityType()
|
|
261
|
+
} : {}), typeof this.getSecuredGroupCategoryReferences() !== 'undefined' && this.getSecuredGroupCategoryReferences() !== null ? {
|
|
147
262
|
'securedGroupCategoryReferences': this.getSecuredGroupCategoryReferences()
|
|
263
|
+
} : {}), typeof this.getSecuredGroupEntityGroupReference() !== 'undefined' && this.getSecuredGroupEntityGroupReference() !== null ? {
|
|
264
|
+
'securedGroupEntityGroupReference': this.getSecuredGroupEntityGroupReference()
|
|
148
265
|
} : {}), typeof this.getSecuredGroupAction() !== 'undefined' && this.getSecuredGroupAction() !== null ? {
|
|
149
266
|
'securedGroupAction': this.getSecuredGroupAction()
|
|
267
|
+
} : {}), typeof this.getSecuredGroupServiceReferences() !== 'undefined' && this.getSecuredGroupServiceReferences() !== null ? {
|
|
268
|
+
'securedGroupServiceReferences': this.getSecuredGroupServiceReferences()
|
|
269
|
+
} : {}), typeof this.getTcpServices() !== 'undefined' && this.getTcpServices() !== null ? {
|
|
270
|
+
'tcpServices': this.getTcpServices().map(function (item) {
|
|
271
|
+
return item.toJson(false);
|
|
272
|
+
})
|
|
273
|
+
} : {}), typeof this.getUdpServices() !== 'undefined' && this.getUdpServices() !== null ? {
|
|
274
|
+
'udpServices': this.getUdpServices().map(function (item) {
|
|
275
|
+
return item.toJson(false);
|
|
276
|
+
})
|
|
277
|
+
} : {}), typeof this.getIcmpServices() !== 'undefined' && this.getIcmpServices() !== null ? {
|
|
278
|
+
'icmpServices': this.getIcmpServices().map(function (item) {
|
|
279
|
+
return item.toJson(false);
|
|
280
|
+
})
|
|
150
281
|
} : {}), {}, {
|
|
151
282
|
'$reserved': this.get$Reserved(),
|
|
152
283
|
'$objectType': this.get$ObjectType(),
|
|
153
284
|
'$unknownFields': this.get$UnknownFields()
|
|
154
285
|
});
|
|
155
286
|
}
|
|
156
|
-
return _objectSpread(_objectSpread(_objectSpread({}, typeof this.
|
|
287
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getSecuredGroupCategoryAssociatedEntityType() !== 'undefined' && this.getSecuredGroupCategoryAssociatedEntityType() !== null ? {
|
|
288
|
+
'securedGroupCategoryAssociatedEntityType': this.getSecuredGroupCategoryAssociatedEntityType()
|
|
289
|
+
} : {}), typeof this.getSecuredGroupCategoryReferences() !== 'undefined' && this.getSecuredGroupCategoryReferences() !== null ? {
|
|
157
290
|
'securedGroupCategoryReferences': this.getSecuredGroupCategoryReferences()
|
|
291
|
+
} : {}), typeof this.getSecuredGroupEntityGroupReference() !== 'undefined' && this.getSecuredGroupEntityGroupReference() !== null ? {
|
|
292
|
+
'securedGroupEntityGroupReference': this.getSecuredGroupEntityGroupReference()
|
|
158
293
|
} : {}), typeof this.getSecuredGroupAction() !== 'undefined' && this.getSecuredGroupAction() !== null ? {
|
|
159
294
|
'securedGroupAction': this.getSecuredGroupAction()
|
|
295
|
+
} : {}), typeof this.getSecuredGroupServiceReferences() !== 'undefined' && this.getSecuredGroupServiceReferences() !== null ? {
|
|
296
|
+
'securedGroupServiceReferences': this.getSecuredGroupServiceReferences()
|
|
297
|
+
} : {}), typeof this.getTcpServices() !== 'undefined' && this.getTcpServices() !== null ? {
|
|
298
|
+
'tcpServices': this.getTcpServices().map(function (item) {
|
|
299
|
+
return item.toJson(false);
|
|
300
|
+
})
|
|
301
|
+
} : {}), typeof this.getUdpServices() !== 'undefined' && this.getUdpServices() !== null ? {
|
|
302
|
+
'udpServices': this.getUdpServices().map(function (item) {
|
|
303
|
+
return item.toJson(false);
|
|
304
|
+
})
|
|
305
|
+
} : {}), typeof this.getIcmpServices() !== 'undefined' && this.getIcmpServices() !== null ? {
|
|
306
|
+
'icmpServices': this.getIcmpServices().map(function (item) {
|
|
307
|
+
return item.toJson(false);
|
|
308
|
+
})
|
|
160
309
|
} : {}), {}, {
|
|
161
310
|
'$reserved': this.get$Reserved(),
|
|
162
311
|
'$objectType': this.get$ObjectType(),
|
|
@@ -170,7 +319,7 @@ var IntraEntityGroupRuleSpec = exports["default"] = /*#__PURE__*/function () {
|
|
|
170
319
|
var propList = [];
|
|
171
320
|
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
|
|
172
321
|
//cases validate() and validate(scope)
|
|
173
|
-
propList = ["
|
|
322
|
+
propList = ["securedGroupAction"];
|
|
174
323
|
} else if (arguments.length === 1) {
|
|
175
324
|
//case validate(properties)
|
|
176
325
|
propList = arguments[0];
|
|
@@ -198,6 +347,11 @@ var IntraEntityGroupRuleSpec = exports["default"] = /*#__PURE__*/function () {
|
|
|
198
347
|
}, {
|
|
199
348
|
key: "validateProperty",
|
|
200
349
|
value: function validateProperty(scope, property) {
|
|
350
|
+
if (property === "securedGroupCategoryAssociatedEntityType") {
|
|
351
|
+
if (typeof this.securedGroupCategoryAssociatedEntityType === 'undefined' || this.securedGroupCategoryAssociatedEntityType === null) {
|
|
352
|
+
return new _ValidationError["default"]("securedGroupCategoryAssociatedEntityType", "undefined or null");
|
|
353
|
+
}
|
|
354
|
+
}
|
|
201
355
|
if (property === "securedGroupCategoryReferences") {
|
|
202
356
|
if (typeof this.securedGroupCategoryReferences === 'undefined' || this.securedGroupCategoryReferences === null) {
|
|
203
357
|
return new _ValidationError["default"]("securedGroupCategoryReferences", "undefined or null");
|
|
@@ -209,11 +363,51 @@ var IntraEntityGroupRuleSpec = exports["default"] = /*#__PURE__*/function () {
|
|
|
209
363
|
return new _ValidationError["default"]("securedGroupCategoryReferences", "does not satisfy required minItems constraint: 1");
|
|
210
364
|
}
|
|
211
365
|
}
|
|
366
|
+
if (property === "securedGroupEntityGroupReference") {
|
|
367
|
+
if (typeof this.securedGroupEntityGroupReference === 'undefined' || this.securedGroupEntityGroupReference === null) {
|
|
368
|
+
return new _ValidationError["default"]("securedGroupEntityGroupReference", "undefined or null");
|
|
369
|
+
}
|
|
370
|
+
if (!_ValidationUtils["default"].validatePattern(this.securedGroupEntityGroupReference, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
|
|
371
|
+
return new _ValidationError["default"]("securedGroupEntityGroupReference", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
|
|
372
|
+
}
|
|
373
|
+
}
|
|
212
374
|
if (property === "securedGroupAction") {
|
|
213
375
|
if (typeof this.securedGroupAction === 'undefined' || this.securedGroupAction === null) {
|
|
214
376
|
return new _ValidationError["default"]("securedGroupAction", "undefined or null");
|
|
215
377
|
}
|
|
216
378
|
}
|
|
379
|
+
if (property === "securedGroupServiceReferences") {
|
|
380
|
+
if (typeof this.securedGroupServiceReferences === 'undefined' || this.securedGroupServiceReferences === null) {
|
|
381
|
+
return new _ValidationError["default"]("securedGroupServiceReferences", "undefined or null");
|
|
382
|
+
}
|
|
383
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.securedGroupServiceReferences, 160)) {
|
|
384
|
+
return new _ValidationError["default"]("securedGroupServiceReferences", "does not satisfy required maxItems constraint: 160");
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
if (property === "tcpServices") {
|
|
388
|
+
if (typeof this.tcpServices === 'undefined' || this.tcpServices === null) {
|
|
389
|
+
return new _ValidationError["default"]("tcpServices", "undefined or null");
|
|
390
|
+
}
|
|
391
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.tcpServices, 160)) {
|
|
392
|
+
return new _ValidationError["default"]("tcpServices", "does not satisfy required maxItems constraint: 160");
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
if (property === "udpServices") {
|
|
396
|
+
if (typeof this.udpServices === 'undefined' || this.udpServices === null) {
|
|
397
|
+
return new _ValidationError["default"]("udpServices", "undefined or null");
|
|
398
|
+
}
|
|
399
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.udpServices, 160)) {
|
|
400
|
+
return new _ValidationError["default"]("udpServices", "does not satisfy required maxItems constraint: 160");
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
if (property === "icmpServices") {
|
|
404
|
+
if (typeof this.icmpServices === 'undefined' || this.icmpServices === null) {
|
|
405
|
+
return new _ValidationError["default"]("icmpServices", "undefined or null");
|
|
406
|
+
}
|
|
407
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.icmpServices, 160)) {
|
|
408
|
+
return new _ValidationError["default"]("icmpServices", "does not satisfy required maxItems constraint: 160");
|
|
409
|
+
}
|
|
410
|
+
}
|
|
217
411
|
if (property === "$reserved") {
|
|
218
412
|
if (typeof this.$reserved === 'undefined' || this.$reserved === null) {
|
|
219
413
|
return new _ValidationError["default"]("$reserved", "undefined or null");
|
|
@@ -239,6 +433,9 @@ var IntraEntityGroupRuleSpec = exports["default"] = /*#__PURE__*/function () {
|
|
|
239
433
|
var items, item, i, itemArr, discriminator;
|
|
240
434
|
if (data) {
|
|
241
435
|
obj = obj || new IntraEntityGroupRuleSpec();
|
|
436
|
+
if (data.hasOwnProperty('securedGroupCategoryAssociatedEntityType') && data.securedGroupCategoryAssociatedEntityType !== null && data.securedGroupCategoryAssociatedEntityType !== undefined) {
|
|
437
|
+
obj.setSecuredGroupCategoryAssociatedEntityType(_CategoryAssociatedEntityType["default"].constructFromObject(data['securedGroupCategoryAssociatedEntityType']));
|
|
438
|
+
}
|
|
242
439
|
if (data.hasOwnProperty('securedGroupCategoryReferences') && data.securedGroupCategoryReferences !== null && data.securedGroupCategoryReferences !== undefined) {
|
|
243
440
|
itemArr = [];
|
|
244
441
|
items = data.securedGroupCategoryReferences;
|
|
@@ -247,9 +444,47 @@ var IntraEntityGroupRuleSpec = exports["default"] = /*#__PURE__*/function () {
|
|
|
247
444
|
}
|
|
248
445
|
obj.setSecuredGroupCategoryReferences(itemArr);
|
|
249
446
|
}
|
|
447
|
+
if (data.hasOwnProperty('securedGroupEntityGroupReference') && data.securedGroupEntityGroupReference !== null && data.securedGroupEntityGroupReference !== undefined) {
|
|
448
|
+
obj.setSecuredGroupEntityGroupReference(data['securedGroupEntityGroupReference']);
|
|
449
|
+
}
|
|
250
450
|
if (data.hasOwnProperty('securedGroupAction') && data.securedGroupAction !== null && data.securedGroupAction !== undefined) {
|
|
251
451
|
obj.setSecuredGroupAction(_IntraEntityGroupRuleAction["default"].constructFromObject(data['securedGroupAction']));
|
|
252
452
|
}
|
|
453
|
+
if (data.hasOwnProperty('securedGroupServiceReferences') && data.securedGroupServiceReferences !== null && data.securedGroupServiceReferences !== undefined) {
|
|
454
|
+
itemArr = [];
|
|
455
|
+
items = data.securedGroupServiceReferences;
|
|
456
|
+
for (i = 0; i < items.length; i++) {
|
|
457
|
+
itemArr.push(items[i]);
|
|
458
|
+
}
|
|
459
|
+
obj.setSecuredGroupServiceReferences(itemArr);
|
|
460
|
+
}
|
|
461
|
+
if (data.hasOwnProperty('tcpServices') && data.tcpServices !== null && data.tcpServices !== undefined) {
|
|
462
|
+
itemArr = [];
|
|
463
|
+
items = data.tcpServices;
|
|
464
|
+
for (i = 0; i < items.length; i++) {
|
|
465
|
+
item = _TcpPortRangeSpec["default"].constructFromObject(items[i], undefined);
|
|
466
|
+
itemArr.push(item);
|
|
467
|
+
}
|
|
468
|
+
obj.setTcpServices(itemArr);
|
|
469
|
+
}
|
|
470
|
+
if (data.hasOwnProperty('udpServices') && data.udpServices !== null && data.udpServices !== undefined) {
|
|
471
|
+
itemArr = [];
|
|
472
|
+
items = data.udpServices;
|
|
473
|
+
for (i = 0; i < items.length; i++) {
|
|
474
|
+
item = _UdpPortRangeSpec["default"].constructFromObject(items[i], undefined);
|
|
475
|
+
itemArr.push(item);
|
|
476
|
+
}
|
|
477
|
+
obj.setUdpServices(itemArr);
|
|
478
|
+
}
|
|
479
|
+
if (data.hasOwnProperty('icmpServices') && data.icmpServices !== null && data.icmpServices !== undefined) {
|
|
480
|
+
itemArr = [];
|
|
481
|
+
items = data.icmpServices;
|
|
482
|
+
for (i = 0; i < items.length; i++) {
|
|
483
|
+
item = _IcmpTypeCodeSpec["default"].constructFromObject(items[i], undefined);
|
|
484
|
+
itemArr.push(item);
|
|
485
|
+
}
|
|
486
|
+
obj.setIcmpServices(itemArr);
|
|
487
|
+
}
|
|
253
488
|
if (data.hasOwnProperty('$reserved')) {
|
|
254
489
|
obj.$reserved = data['$reserved'];
|
|
255
490
|
}
|
|
@@ -290,7 +525,6 @@ var IntraEntityGroupRuleSpec = exports["default"] = /*#__PURE__*/function () {
|
|
|
290
525
|
}]);
|
|
291
526
|
}();
|
|
292
527
|
/**
|
|
293
|
-
* A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
|
|
294
528
|
* @memberof IntraEntityGroupRuleSpec
|
|
295
529
|
*/
|
|
296
530
|
function _toJsonMapType(obj, forMutation) {
|
|
@@ -320,12 +554,46 @@ function _handleDateType(obj, isDateOnly) {
|
|
|
320
554
|
}
|
|
321
555
|
return obj;
|
|
322
556
|
}
|
|
557
|
+
IntraEntityGroupRuleSpec.prototype.securedGroupCategoryAssociatedEntityType = undefined;
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
|
|
561
|
+
* @memberof IntraEntityGroupRuleSpec
|
|
562
|
+
*/
|
|
323
563
|
IntraEntityGroupRuleSpec.prototype.securedGroupCategoryReferences = undefined;
|
|
324
564
|
|
|
565
|
+
/**
|
|
566
|
+
* External identifier of the entity group belonging to the secured group.
|
|
567
|
+
* @memberof IntraEntityGroupRuleSpec
|
|
568
|
+
*/
|
|
569
|
+
IntraEntityGroupRuleSpec.prototype.securedGroupEntityGroupReference = undefined;
|
|
570
|
+
|
|
325
571
|
/**
|
|
326
572
|
* @memberof IntraEntityGroupRuleSpec
|
|
327
573
|
*/
|
|
328
574
|
IntraEntityGroupRuleSpec.prototype.securedGroupAction = undefined;
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* A list of service group references.
|
|
578
|
+
* @memberof IntraEntityGroupRuleSpec
|
|
579
|
+
*/
|
|
580
|
+
IntraEntityGroupRuleSpec.prototype.securedGroupServiceReferences = undefined;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* @memberof IntraEntityGroupRuleSpec
|
|
584
|
+
*/
|
|
585
|
+
IntraEntityGroupRuleSpec.prototype.tcpServices = undefined;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* @memberof IntraEntityGroupRuleSpec
|
|
589
|
+
*/
|
|
590
|
+
IntraEntityGroupRuleSpec.prototype.udpServices = undefined;
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* ICMP Type Code List.
|
|
594
|
+
* @memberof IntraEntityGroupRuleSpec
|
|
595
|
+
*/
|
|
596
|
+
IntraEntityGroupRuleSpec.prototype.icmpServices = undefined;
|
|
329
597
|
IntraEntityGroupRuleSpec.prototype.$reserved = undefined;
|
|
330
598
|
IntraEntityGroupRuleSpec.prototype.$objectType = undefined;
|
|
331
599
|
IntraEntityGroupRuleSpec.prototype.$unknownFields = undefined;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The IsolationGroup model module.
|
|
3
3
|
* @module Ntnx/IsolationGroup
|
|
4
|
-
* @version 4.
|
|
4
|
+
* @version 4.1.1
|
|
5
5
|
* @class IsolationGroup
|
|
6
|
-
*
|
|
7
|
-
* @param { string[] } groupCategoryReferences External identifiers of categories belonging to the isolation group.
|
|
8
6
|
*/
|
|
9
7
|
export default class IsolationGroup {
|
|
10
8
|
/**
|
|
@@ -22,20 +20,20 @@ export default class IsolationGroup {
|
|
|
22
20
|
* @returns {string} - The converted string in camelCase format.
|
|
23
21
|
*/
|
|
24
22
|
static snakeToCamel(snakeStr: string): string;
|
|
25
|
-
/**
|
|
26
|
-
* Constructs a new <code>IsolationGroup</code>.
|
|
27
|
-
* A set of network endpoints which is protected by an Isolation policy and defined as a list of categories.
|
|
28
|
-
* @alias module:Ntnx/IsolationGroup
|
|
29
|
-
*
|
|
30
|
-
* @param { string[] } groupCategoryReferences External identifiers of categories belonging to the isolation group.
|
|
31
|
-
*/
|
|
32
|
-
constructor(groupCategoryReferences: string[]);
|
|
33
|
-
groupCategoryReferences: string[];
|
|
34
23
|
$objectType: string;
|
|
35
24
|
/** @type {object<string, any>} */
|
|
36
25
|
$reserved: object;
|
|
37
26
|
/** @type {object<string, any>} */
|
|
38
27
|
$unknownFields: object;
|
|
28
|
+
/**
|
|
29
|
+
* @return {CategoryAssociatedEntityType}
|
|
30
|
+
*/
|
|
31
|
+
getGroupCategoryAssociatedEntityType(): CategoryAssociatedEntityType;
|
|
32
|
+
/**
|
|
33
|
+
* @param {CategoryAssociatedEntityType} groupCategoryAssociatedEntityType
|
|
34
|
+
*/
|
|
35
|
+
setGroupCategoryAssociatedEntityType(groupCategoryAssociatedEntityType: CategoryAssociatedEntityType): void;
|
|
36
|
+
groupCategoryAssociatedEntityType: string;
|
|
39
37
|
/**
|
|
40
38
|
* Returns External identifiers of categories belonging to the isolation group.
|
|
41
39
|
* @return {string[]}
|
|
@@ -46,6 +44,18 @@ export default class IsolationGroup {
|
|
|
46
44
|
* @param {string[]} groupCategoryReferences External identifiers of categories belonging to the isolation group.
|
|
47
45
|
*/
|
|
48
46
|
setGroupCategoryReferences(groupCategoryReferences: string[]): void;
|
|
47
|
+
groupCategoryReferences: string[];
|
|
48
|
+
/**
|
|
49
|
+
* Returns External identifier of the entity group belonging to the secured group.
|
|
50
|
+
* @return {string}
|
|
51
|
+
*/
|
|
52
|
+
getGroupEntityGroupReference(): string;
|
|
53
|
+
/**
|
|
54
|
+
* Sets External identifier of the entity group belonging to the secured group.
|
|
55
|
+
* @param {string} groupEntityGroupReference External identifier of the entity group belonging to the secured group.
|
|
56
|
+
*/
|
|
57
|
+
setGroupEntityGroupReference(groupEntityGroupReference: string): void;
|
|
58
|
+
groupEntityGroupReference: string;
|
|
49
59
|
get$Reserved(): any;
|
|
50
60
|
get$ObjectType(): string;
|
|
51
61
|
get$UnknownFields(): any;
|
|
@@ -53,10 +63,13 @@ export default class IsolationGroup {
|
|
|
53
63
|
$reserved: any;
|
|
54
64
|
$objectType: string;
|
|
55
65
|
$unknownFields: any;
|
|
66
|
+
groupEntityGroupReference?: string;
|
|
56
67
|
groupCategoryReferences?: string[];
|
|
68
|
+
groupCategoryAssociatedEntityType?: string;
|
|
57
69
|
};
|
|
58
70
|
validate(scope: any, properties: any, ...args: any[]): Promise<any>;
|
|
59
71
|
validateProperty(scope: any, property: any): ValidationError;
|
|
60
72
|
#private;
|
|
61
73
|
}
|
|
74
|
+
import CategoryAssociatedEntityType from "./CategoryAssociatedEntityType";
|
|
62
75
|
import ValidationError from "../../../validation/ValidationError";
|