@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,450 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _TenantAwareModel = _interopRequireDefault(require("../../../common/v1/config/TenantAwareModel"));
|
|
8
|
+
var _ApiLink = _interopRequireDefault(require("../../../common/v1/response/ApiLink"));
|
|
9
|
+
var _ExternalizableAbstractModel = _interopRequireDefault(require("../../../common/v1/response/ExternalizableAbstractModel"));
|
|
10
|
+
var _AllowedConfig = _interopRequireDefault(require("./AllowedConfig"));
|
|
11
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
12
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
13
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
15
|
+
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); }
|
|
16
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
17
|
+
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."); }
|
|
18
|
+
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; } }
|
|
19
|
+
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; }
|
|
20
|
+
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; } }
|
|
21
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
22
|
+
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; }
|
|
23
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
24
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
25
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
26
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
27
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
28
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
29
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
30
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
31
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
32
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
33
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
34
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
35
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
36
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
37
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
38
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
39
|
+
* Nutanix Flow Management APIs
|
|
40
|
+
*
|
|
41
|
+
* OpenAPI spec version: 4.1.1
|
|
42
|
+
*
|
|
43
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
44
|
+
*
|
|
45
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
46
|
+
*
|
|
47
|
+
* Do not edit the class manually.
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
/**
|
|
51
|
+
* The EntityGroup model module.
|
|
52
|
+
* @module Ntnx/EntityGroup
|
|
53
|
+
* @version 4.1.1
|
|
54
|
+
* @class EntityGroup
|
|
55
|
+
* @extends ExternalizableAbstractModel
|
|
56
|
+
*
|
|
57
|
+
* @param { string } name A short identifier of an Entity Group.
|
|
58
|
+
*/
|
|
59
|
+
var _EntityGroup_brand = /*#__PURE__*/new WeakSet();
|
|
60
|
+
var EntityGroup = exports["default"] = /*#__PURE__*/function (_ExternalizableAbstra) {
|
|
61
|
+
/**
|
|
62
|
+
* Constructs a new <code>EntityGroup</code>.
|
|
63
|
+
* @alias module:Ntnx/EntityGroup
|
|
64
|
+
* @extends module:Ntnx/ExternalizableAbstractModel
|
|
65
|
+
*
|
|
66
|
+
* @param { string } name A short identifier of an Entity Group.
|
|
67
|
+
*/
|
|
68
|
+
function EntityGroup(name) {
|
|
69
|
+
var _this;
|
|
70
|
+
_classCallCheck(this, EntityGroup);
|
|
71
|
+
_this = _callSuper(this, EntityGroup);
|
|
72
|
+
/*
|
|
73
|
+
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
74
|
+
* @param {Object} obj
|
|
75
|
+
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
76
|
+
* Otherwise, just returns the input object.
|
|
77
|
+
*/
|
|
78
|
+
_classPrivateMethodInitSpec(_this, _EntityGroup_brand);
|
|
79
|
+
_this.name = name;
|
|
80
|
+
_this.$objectType = "microseg.v4.config.EntityGroup";
|
|
81
|
+
/** @type {object<string, any>} */
|
|
82
|
+
_this.$reserved = {
|
|
83
|
+
'$fv': "v4.r1"
|
|
84
|
+
};
|
|
85
|
+
/** @type {object<string, any>} */
|
|
86
|
+
_this.$unknownFields = {};
|
|
87
|
+
return _this;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Constructs a <code>EntityGroup</code> from a plain JavaScript object, optionally creating a new instance.
|
|
92
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
93
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
94
|
+
* @param {module:Ntnx/EntityGroup} obj Optional instance to populate.
|
|
95
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
96
|
+
* @return {module:Ntnx/EntityGroup} The populated <code>EntityGroup</code> instance.
|
|
97
|
+
*/
|
|
98
|
+
_inherits(EntityGroup, _ExternalizableAbstra);
|
|
99
|
+
return _createClass(EntityGroup, [{
|
|
100
|
+
key: "getName",
|
|
101
|
+
value:
|
|
102
|
+
/**
|
|
103
|
+
* Returns A short identifier of an Entity Group.
|
|
104
|
+
* @return {string}
|
|
105
|
+
*/
|
|
106
|
+
function getName() {
|
|
107
|
+
return this.name;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Sets A short identifier of an Entity Group.
|
|
112
|
+
* @param {string} name A short identifier of an Entity Group.
|
|
113
|
+
*/
|
|
114
|
+
}, {
|
|
115
|
+
key: "setName",
|
|
116
|
+
value: function setName(name) {
|
|
117
|
+
this.name = name;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Returns A user defined annotation for an Entity Group.
|
|
122
|
+
* @return {string}
|
|
123
|
+
*/
|
|
124
|
+
}, {
|
|
125
|
+
key: "getDescription",
|
|
126
|
+
value: function getDescription() {
|
|
127
|
+
return this.description;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Sets A user defined annotation for an Entity Group.
|
|
132
|
+
* @param {string} description A user defined annotation for an Entity Group.
|
|
133
|
+
*/
|
|
134
|
+
}, {
|
|
135
|
+
key: "setDescription",
|
|
136
|
+
value: function setDescription(description) {
|
|
137
|
+
this.description = description;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @return {AllowedConfig}
|
|
142
|
+
*/
|
|
143
|
+
}, {
|
|
144
|
+
key: "getAllowedConfig",
|
|
145
|
+
value: function getAllowedConfig() {
|
|
146
|
+
return this.allowedConfig;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @param {AllowedConfig} allowedConfig
|
|
151
|
+
*/
|
|
152
|
+
}, {
|
|
153
|
+
key: "setAllowedConfig",
|
|
154
|
+
value: function setAllowedConfig(allowedConfig) {
|
|
155
|
+
this.allowedConfig = allowedConfig;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Returns Mapping an external identifier of an entity group to the list of policy external identifiers.
|
|
160
|
+
* @return {string[]}
|
|
161
|
+
*/
|
|
162
|
+
}, {
|
|
163
|
+
key: "getPolicyExtIds",
|
|
164
|
+
value: function getPolicyExtIds() {
|
|
165
|
+
return this.policyExtIds;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Sets Mapping an external identifier of an entity group to the list of policy external identifiers.
|
|
170
|
+
* @param {string[]} policyExtIds Mapping an external identifier of an entity group to the list of policy external identifiers.
|
|
171
|
+
*/
|
|
172
|
+
}, {
|
|
173
|
+
key: "setPolicyExtIds",
|
|
174
|
+
value: function setPolicyExtIds(policyExtIds) {
|
|
175
|
+
this.policyExtIds = policyExtIds;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Returns The external identifier of the user who created the Entity Group.
|
|
180
|
+
* @return {string}
|
|
181
|
+
*/
|
|
182
|
+
}, {
|
|
183
|
+
key: "getOwnerExtId",
|
|
184
|
+
value: function getOwnerExtId() {
|
|
185
|
+
return this.ownerExtId;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Sets The external identifier of the user who created the Entity Group.
|
|
190
|
+
* @param {string} ownerExtId The external identifier of the user who created the Entity Group.
|
|
191
|
+
*/
|
|
192
|
+
}, {
|
|
193
|
+
key: "setOwnerExtId",
|
|
194
|
+
value: function setOwnerExtId(ownerExtId) {
|
|
195
|
+
this.ownerExtId = ownerExtId;
|
|
196
|
+
}
|
|
197
|
+
}, {
|
|
198
|
+
key: "toJson",
|
|
199
|
+
value: function toJson(forMutation) {
|
|
200
|
+
if (forMutation === false) {
|
|
201
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
202
|
+
'name': this.getName()
|
|
203
|
+
} : {}), typeof this.getDescription() !== 'undefined' && this.getDescription() !== null ? {
|
|
204
|
+
'description': this.getDescription()
|
|
205
|
+
} : {}), typeof this.getAllowedConfig() !== 'undefined' && this.getAllowedConfig() !== null ? {
|
|
206
|
+
'allowedConfig': this.getAllowedConfig().toJson(false)
|
|
207
|
+
} : {}), typeof this.getPolicyExtIds() !== 'undefined' && this.getPolicyExtIds() !== null ? {
|
|
208
|
+
'policyExtIds': this.getPolicyExtIds()
|
|
209
|
+
} : {}), typeof this.getOwnerExtId() !== 'undefined' && this.getOwnerExtId() !== null ? {
|
|
210
|
+
'ownerExtId': this.getOwnerExtId()
|
|
211
|
+
} : {}), typeof this.getExtId() !== 'undefined' && this.getExtId() !== null ? {
|
|
212
|
+
'extId': this.getExtId()
|
|
213
|
+
} : {}), typeof this.getLinks() !== 'undefined' && this.getLinks() !== null ? {
|
|
214
|
+
'links': this.getLinks().map(function (item) {
|
|
215
|
+
return item.toJson(false);
|
|
216
|
+
})
|
|
217
|
+
} : {}), typeof this.getTenantId() !== 'undefined' && this.getTenantId() !== null ? {
|
|
218
|
+
'tenantId': this.getTenantId()
|
|
219
|
+
} : {}), {}, {
|
|
220
|
+
'$reserved': this.get$Reserved(),
|
|
221
|
+
'$objectType': this.get$ObjectType(),
|
|
222
|
+
'$unknownFields': this.get$UnknownFields()
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
226
|
+
'name': this.getName()
|
|
227
|
+
} : {}), typeof this.getDescription() !== 'undefined' && this.getDescription() !== null ? {
|
|
228
|
+
'description': this.getDescription()
|
|
229
|
+
} : {}), typeof this.getAllowedConfig() !== 'undefined' && this.getAllowedConfig() !== null ? {
|
|
230
|
+
'allowedConfig': this.getAllowedConfig().toJson(false)
|
|
231
|
+
} : {}), {}, {
|
|
232
|
+
'$reserved': this.get$Reserved(),
|
|
233
|
+
'$objectType': this.get$ObjectType(),
|
|
234
|
+
'$unknownFields': this.get$UnknownFields()
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
}, {
|
|
238
|
+
key: "validate",
|
|
239
|
+
value: function validate(scope, properties) {
|
|
240
|
+
var _this2 = this;
|
|
241
|
+
var propList = [];
|
|
242
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
|
|
243
|
+
//cases validate() and validate(scope)
|
|
244
|
+
propList = ["name"];
|
|
245
|
+
} else if (arguments.length === 1) {
|
|
246
|
+
//case validate(properties)
|
|
247
|
+
propList = arguments[0];
|
|
248
|
+
scope = null;
|
|
249
|
+
} else {
|
|
250
|
+
//case validate(scope, properties)
|
|
251
|
+
propList = arguments[1];
|
|
252
|
+
}
|
|
253
|
+
var res = [];
|
|
254
|
+
var err = null;
|
|
255
|
+
propList.forEach(function (property) {
|
|
256
|
+
err = _this2.validateProperty(property, scope);
|
|
257
|
+
if (err) {
|
|
258
|
+
res.push(err);
|
|
259
|
+
}
|
|
260
|
+
});
|
|
261
|
+
return new Promise(function (resolve, reject) {
|
|
262
|
+
if (res.length !== 0) {
|
|
263
|
+
reject(err);
|
|
264
|
+
} else {
|
|
265
|
+
resolve();
|
|
266
|
+
}
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
}, {
|
|
270
|
+
key: "validateProperty",
|
|
271
|
+
value: function validateProperty(scope, property) {
|
|
272
|
+
if (property === "name") {
|
|
273
|
+
if (typeof this.name === 'undefined' || this.name === null) {
|
|
274
|
+
return new _ValidationError["default"]("name", "undefined or null");
|
|
275
|
+
}
|
|
276
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.name, 64)) {
|
|
277
|
+
return new _ValidationError["default"]("name", "does not satisfy required maxLength constraint: 64");
|
|
278
|
+
}
|
|
279
|
+
if (!_ValidationUtils["default"].validatePattern(this.name, /^\\s*[a-zA-Z0-9]([a-zA-Z0-9-_ \\\\.]*[a-zA-Z0-9])?\\s*$/)) {
|
|
280
|
+
return new _ValidationError["default"]("name", "does not satisfy required pattern: /^\\s*[a-zA-Z0-9]([a-zA-Z0-9-_ \\\\.]*[a-zA-Z0-9])?\\s*$/");
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
if (property === "description") {
|
|
284
|
+
if (typeof this.description === 'undefined' || this.description === null) {
|
|
285
|
+
return new _ValidationError["default"]("description", "undefined or null");
|
|
286
|
+
}
|
|
287
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.description, 1000)) {
|
|
288
|
+
return new _ValidationError["default"]("description", "does not satisfy required maxLength constraint: 1000");
|
|
289
|
+
}
|
|
290
|
+
if (!_ValidationUtils["default"].validatePattern(this.description, /^\\s*([a-zA-Z0-9 _:.()-]*)\\s*$/)) {
|
|
291
|
+
return new _ValidationError["default"]("description", "does not satisfy required pattern: /^\\s*([a-zA-Z0-9 _:.()-]*)\\s*$/");
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
if (property === "allowedConfig") {
|
|
295
|
+
if (typeof this.allowedConfig === 'undefined' || this.allowedConfig === null) {
|
|
296
|
+
return new _ValidationError["default"]("allowedConfig", "undefined or null");
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
if (property === "policyExtIds") {
|
|
300
|
+
if (typeof this.policyExtIds === 'undefined' || this.policyExtIds === null) {
|
|
301
|
+
return new _ValidationError["default"]("policyExtIds", "undefined or null");
|
|
302
|
+
}
|
|
303
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.policyExtIds, 1000)) {
|
|
304
|
+
return new _ValidationError["default"]("policyExtIds", "does not satisfy required maxItems constraint: 1000");
|
|
305
|
+
}
|
|
306
|
+
if (!_ValidationUtils["default"].validateMinItems(this.policyExtIds, 1)) {
|
|
307
|
+
return new _ValidationError["default"]("policyExtIds", "does not satisfy required minItems constraint: 1");
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
if (property === "ownerExtId") {
|
|
311
|
+
if (typeof this.ownerExtId === 'undefined' || this.ownerExtId === null) {
|
|
312
|
+
return new _ValidationError["default"]("ownerExtId", "undefined or null");
|
|
313
|
+
}
|
|
314
|
+
if (!_ValidationUtils["default"].validatePattern(this.ownerExtId, /^[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}$/)) {
|
|
315
|
+
return new _ValidationError["default"]("ownerExtId", "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}$/");
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
return new _ValidationError["default"](property, "no such property exists");
|
|
319
|
+
}
|
|
320
|
+
}], [{
|
|
321
|
+
key: "constructFromObject",
|
|
322
|
+
value: function constructFromObject(data) {
|
|
323
|
+
var obj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
324
|
+
var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
325
|
+
var items, item, i, itemArr, discriminator;
|
|
326
|
+
if (data) {
|
|
327
|
+
obj = obj || new EntityGroup();
|
|
328
|
+
_ExternalizableAbstractModel["default"].constructFromObject(data, obj, true);
|
|
329
|
+
if (data.hasOwnProperty('name') && data.name !== null && data.name !== undefined) {
|
|
330
|
+
obj.setName(data['name']);
|
|
331
|
+
}
|
|
332
|
+
if (data.hasOwnProperty('description') && data.description !== null && data.description !== undefined) {
|
|
333
|
+
obj.setDescription(data['description']);
|
|
334
|
+
}
|
|
335
|
+
if (data.hasOwnProperty('allowedConfig') && data.allowedConfig !== null && data.allowedConfig !== undefined) {
|
|
336
|
+
obj.setAllowedConfig(_AllowedConfig["default"].constructFromObject(data['allowedConfig']));
|
|
337
|
+
}
|
|
338
|
+
if (data.hasOwnProperty('policyExtIds') && data.policyExtIds !== null && data.policyExtIds !== undefined) {
|
|
339
|
+
itemArr = [];
|
|
340
|
+
items = data.policyExtIds;
|
|
341
|
+
for (i = 0; i < items.length; i++) {
|
|
342
|
+
itemArr.push(items[i]);
|
|
343
|
+
}
|
|
344
|
+
obj.setPolicyExtIds(itemArr);
|
|
345
|
+
}
|
|
346
|
+
if (data.hasOwnProperty('ownerExtId') && data.ownerExtId !== null && data.ownerExtId !== undefined) {
|
|
347
|
+
obj.setOwnerExtId(data['ownerExtId']);
|
|
348
|
+
}
|
|
349
|
+
if (!callFromChild) {
|
|
350
|
+
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
351
|
+
for (var property in data) {
|
|
352
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
353
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
354
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
355
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
356
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
357
|
+
obj.$unknownFields[property] = data[property];
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
return obj;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Converts a given snake_case string to camelCase.
|
|
367
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
368
|
+
* @returns {string} - The converted string in camelCase format.
|
|
369
|
+
*/
|
|
370
|
+
}, {
|
|
371
|
+
key: "snakeToCamel",
|
|
372
|
+
value: function snakeToCamel(snakeStr) {
|
|
373
|
+
return snakeStr.replace(/(_\w)/g, function (match) {
|
|
374
|
+
return match[1].toUpperCase();
|
|
375
|
+
});
|
|
376
|
+
}
|
|
377
|
+
}]);
|
|
378
|
+
}(_ExternalizableAbstractModel["default"]);
|
|
379
|
+
/**
|
|
380
|
+
* A short identifier of an Entity Group.
|
|
381
|
+
* @memberof EntityGroup
|
|
382
|
+
*/
|
|
383
|
+
function _toJsonMapType(obj, forMutation) {
|
|
384
|
+
if (obj instanceof Map) {
|
|
385
|
+
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
386
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
387
|
+
k = _ref2[0],
|
|
388
|
+
v = _ref2[1];
|
|
389
|
+
return [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v];
|
|
390
|
+
}));
|
|
391
|
+
} else if (_typeof(obj) === 'object' && obj != null && obj.constructor === Object) {
|
|
392
|
+
return Object.fromEntries(Array.from(Object.entries(obj), function (entry) {
|
|
393
|
+
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
394
|
+
}));
|
|
395
|
+
}
|
|
396
|
+
return obj;
|
|
397
|
+
}
|
|
398
|
+
/*
|
|
399
|
+
* toJson method for a date type which serializes a Date object to proper Date or DateTime formatting
|
|
400
|
+
* @param {Object} obj Object to serialize
|
|
401
|
+
* @param {boolean} isDateOnly Boolean variable to identify Date or DateTime format for serialization
|
|
402
|
+
* @returns {Object|string} Returns serialized date object or original input object
|
|
403
|
+
*/
|
|
404
|
+
function _handleDateType(obj, isDateOnly) {
|
|
405
|
+
if (obj instanceof Date && isDateOnly !== undefined) {
|
|
406
|
+
return isDateOnly ? obj.toISOString().slice(0, 10) : obj.toISOString();
|
|
407
|
+
}
|
|
408
|
+
return obj;
|
|
409
|
+
}
|
|
410
|
+
EntityGroup.prototype.name = undefined;
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* A user defined annotation for an Entity Group.
|
|
414
|
+
* @memberof EntityGroup
|
|
415
|
+
*/
|
|
416
|
+
EntityGroup.prototype.description = undefined;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* @memberof EntityGroup
|
|
420
|
+
*/
|
|
421
|
+
EntityGroup.prototype.allowedConfig = undefined;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* Mapping an external identifier of an entity group to the list of policy external identifiers.
|
|
425
|
+
* @memberof EntityGroup
|
|
426
|
+
*/
|
|
427
|
+
EntityGroup.prototype.policyExtIds = undefined;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* The external identifier of the user who created the Entity Group.
|
|
431
|
+
* @memberof EntityGroup
|
|
432
|
+
*/
|
|
433
|
+
EntityGroup.prototype.ownerExtId = undefined;
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* A globally unique identifier of an instance that is suitable for external consumption.
|
|
437
|
+
* @memberof EntityGroup
|
|
438
|
+
*/
|
|
439
|
+
_ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
440
|
+
/**
|
|
441
|
+
* A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
|
|
442
|
+
* @memberof EntityGroup
|
|
443
|
+
*/
|
|
444
|
+
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
445
|
+
/**
|
|
446
|
+
* 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).
|
|
447
|
+
* @memberof EntityGroup
|
|
448
|
+
*/
|
|
449
|
+
_TenantAwareModel["default"].prototype.tenantId = undefined;
|
|
450
|
+
// Implement OneOfmicroseg.v4.config.GetEntityGroupApiResponsedata interface:
|
|
@@ -39,11 +39,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
39
39
|
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"); } /*
|
|
40
40
|
* Nutanix Flow Management APIs
|
|
41
41
|
*
|
|
42
|
-
* OpenAPI spec version: 4.
|
|
42
|
+
* OpenAPI spec version: 4.1.1
|
|
43
43
|
*
|
|
44
44
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
45
45
|
*
|
|
46
|
-
* Open API Dev Platform Codegen version:
|
|
46
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
47
47
|
*
|
|
48
48
|
* Do not edit the class manually.
|
|
49
49
|
*
|
|
@@ -51,14 +51,14 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
51
51
|
/**
|
|
52
52
|
* The GetAddressGroupApiResponse model module.
|
|
53
53
|
* @module Ntnx/GetAddressGroupApiResponse
|
|
54
|
-
* @version 4.
|
|
54
|
+
* @version 4.1.1
|
|
55
55
|
* @class GetAddressGroupApiResponse
|
|
56
56
|
*/
|
|
57
57
|
var _GetAddressGroupApiResponse_brand = /*#__PURE__*/new WeakSet();
|
|
58
58
|
var GetAddressGroupApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
|
|
59
59
|
/**
|
|
60
60
|
* Constructs a new <code>GetAddressGroupApiResponse</code>.
|
|
61
|
-
* REST response for all response codes in API path /microseg/v4.
|
|
61
|
+
* REST response for all response codes in API path /microseg/v4.1/config/address-groups/{extId} Get operation
|
|
62
62
|
* @alias module:Ntnx/GetAddressGroupApiResponse
|
|
63
63
|
*/
|
|
64
64
|
function GetAddressGroupApiResponse() {
|
|
@@ -75,7 +75,7 @@ var GetAddressGroupApiResponse = exports["default"] = /*#__PURE__*/function (_Pa
|
|
|
75
75
|
_this.$objectType = "microseg.v4.config.GetAddressGroupApiResponse";
|
|
76
76
|
/** @type {object<string, any>} */
|
|
77
77
|
_this.$reserved = {
|
|
78
|
-
'$fv': "v4.
|
|
78
|
+
'$fv': "v4.r1"
|
|
79
79
|
};
|
|
80
80
|
/** @type {object<string, any>} */
|
|
81
81
|
_this.$unknownFields = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The GetDirectoryServerConfigApiResponse model module.
|
|
3
3
|
* @module Ntnx/GetDirectoryServerConfigApiResponse
|
|
4
|
-
* @version 4.
|
|
4
|
+
* @version 4.1.1
|
|
5
5
|
* @class GetDirectoryServerConfigApiResponse
|
|
6
6
|
*/
|
|
7
7
|
export default class GetDirectoryServerConfigApiResponse extends Paginable {
|
|
@@ -39,11 +39,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
39
39
|
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"); } /*
|
|
40
40
|
* Nutanix Flow Management APIs
|
|
41
41
|
*
|
|
42
|
-
* OpenAPI spec version: 4.
|
|
42
|
+
* OpenAPI spec version: 4.1.1
|
|
43
43
|
*
|
|
44
44
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
45
45
|
*
|
|
46
|
-
* Open API Dev Platform Codegen version:
|
|
46
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
47
47
|
*
|
|
48
48
|
* Do not edit the class manually.
|
|
49
49
|
*
|
|
@@ -51,14 +51,14 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
51
51
|
/**
|
|
52
52
|
* The GetDirectoryServerConfigApiResponse model module.
|
|
53
53
|
* @module Ntnx/GetDirectoryServerConfigApiResponse
|
|
54
|
-
* @version 4.
|
|
54
|
+
* @version 4.1.1
|
|
55
55
|
* @class GetDirectoryServerConfigApiResponse
|
|
56
56
|
*/
|
|
57
57
|
var _GetDirectoryServerConfigApiResponse_brand = /*#__PURE__*/new WeakSet();
|
|
58
58
|
var GetDirectoryServerConfigApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
|
|
59
59
|
/**
|
|
60
60
|
* Constructs a new <code>GetDirectoryServerConfigApiResponse</code>.
|
|
61
|
-
* REST response for all response codes in API path /microseg/v4.
|
|
61
|
+
* REST response for all response codes in API path /microseg/v4.1/config/directory-server-configs/{extId} Get operation
|
|
62
62
|
* @alias module:Ntnx/GetDirectoryServerConfigApiResponse
|
|
63
63
|
*/
|
|
64
64
|
function GetDirectoryServerConfigApiResponse() {
|
|
@@ -75,7 +75,7 @@ var GetDirectoryServerConfigApiResponse = exports["default"] = /*#__PURE__*/func
|
|
|
75
75
|
_this.$objectType = "microseg.v4.config.GetDirectoryServerConfigApiResponse";
|
|
76
76
|
/** @type {object<string, any>} */
|
|
77
77
|
_this.$reserved = {
|
|
78
|
-
'$fv': "v4.
|
|
78
|
+
'$fv': "v4.r1"
|
|
79
79
|
};
|
|
80
80
|
/** @type {object<string, any>} */
|
|
81
81
|
_this.$unknownFields = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The GetDsCategoryMappingApiResponse model module.
|
|
3
3
|
* @module Ntnx/GetDsCategoryMappingApiResponse
|
|
4
|
-
* @version 4.
|
|
4
|
+
* @version 4.1.1
|
|
5
5
|
* @class GetDsCategoryMappingApiResponse
|
|
6
6
|
*/
|
|
7
7
|
export default class GetDsCategoryMappingApiResponse extends Paginable {
|
|
@@ -39,11 +39,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
39
39
|
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"); } /*
|
|
40
40
|
* Nutanix Flow Management APIs
|
|
41
41
|
*
|
|
42
|
-
* OpenAPI spec version: 4.
|
|
42
|
+
* OpenAPI spec version: 4.1.1
|
|
43
43
|
*
|
|
44
44
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
45
45
|
*
|
|
46
|
-
* Open API Dev Platform Codegen version:
|
|
46
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
47
47
|
*
|
|
48
48
|
* Do not edit the class manually.
|
|
49
49
|
*
|
|
@@ -51,14 +51,14 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
51
51
|
/**
|
|
52
52
|
* The GetDsCategoryMappingApiResponse model module.
|
|
53
53
|
* @module Ntnx/GetDsCategoryMappingApiResponse
|
|
54
|
-
* @version 4.
|
|
54
|
+
* @version 4.1.1
|
|
55
55
|
* @class GetDsCategoryMappingApiResponse
|
|
56
56
|
*/
|
|
57
57
|
var _GetDsCategoryMappingApiResponse_brand = /*#__PURE__*/new WeakSet();
|
|
58
58
|
var GetDsCategoryMappingApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
|
|
59
59
|
/**
|
|
60
60
|
* Constructs a new <code>GetDsCategoryMappingApiResponse</code>.
|
|
61
|
-
* REST response for all response codes in API path /microseg/v4.
|
|
61
|
+
* REST response for all response codes in API path /microseg/v4.1/config/category-mappings/{extId} Get operation
|
|
62
62
|
* @alias module:Ntnx/GetDsCategoryMappingApiResponse
|
|
63
63
|
*/
|
|
64
64
|
function GetDsCategoryMappingApiResponse() {
|
|
@@ -75,7 +75,7 @@ var GetDsCategoryMappingApiResponse = exports["default"] = /*#__PURE__*/function
|
|
|
75
75
|
_this.$objectType = "microseg.v4.config.GetDsCategoryMappingApiResponse";
|
|
76
76
|
/** @type {object<string, any>} */
|
|
77
77
|
_this.$reserved = {
|
|
78
|
-
'$fv': "v4.
|
|
78
|
+
'$fv': "v4.r1"
|
|
79
79
|
};
|
|
80
80
|
/** @type {object<string, any>} */
|
|
81
81
|
_this.$unknownFields = {};
|