@nutanix-scratch/microseg-js-client 4.1.1 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -5
- package/dist/Ntnx-Microseg-js-client-prod.js +1 -1
- package/dist/Ntnx-Microseg-js-client.js +637 -543
- package/dist/es/ApiClient.d.ts +29 -7
- package/dist/es/ApiClient.js +854 -667
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +144 -183
- package/dist/es/apis/addressgroups-endpoints.d.ts +2 -2
- package/dist/es/apis/addressgroups-endpoints.js +210 -224
- package/dist/es/apis/directoryserverconfigs-endpoints.d.ts +2 -2
- package/dist/es/apis/directoryserverconfigs-endpoints.js +390 -407
- package/dist/es/apis/entitygroups-endpoints.d.ts +2 -2
- package/dist/es/apis/entitygroups-endpoints.js +210 -224
- package/dist/es/apis/networksecuritypolicies-endpoints.d.ts +3 -3
- package/dist/es/apis/networksecuritypolicies-endpoints.js +361 -371
- package/dist/es/apis/servicegroups-endpoints.d.ts +2 -2
- package/dist/es/apis/servicegroups-endpoints.js +210 -224
- package/dist/es/index.d.ts +17 -1
- package/dist/es/index.js +373 -309
- package/dist/es/models/common/v1/config/FQDN.d.ts +2 -7
- package/dist/es/models/common/v1/config/FQDN.js +141 -180
- package/dist/es/models/common/v1/config/Flag.d.ts +2 -8
- package/dist/es/models/common/v1/config/Flag.js +170 -211
- package/dist/es/models/common/v1/config/IPAddressOrFQDN.d.ts +2 -26
- package/dist/es/models/common/v1/config/IPAddressOrFQDN.js +196 -247
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +2 -8
- package/dist/es/models/common/v1/config/IPv4Address.js +174 -215
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +2 -8
- package/dist/es/models/common/v1/config/IPv6Address.js +174 -215
- package/dist/es/models/common/v1/config/KVPair.d.ts +2 -8
- package/dist/es/models/common/v1/config/KVPair.js +225 -270
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +139 -178
- package/dist/es/models/common/v1/config/Message.d.ts +2 -10
- package/dist/es/models/common/v1/config/Message.js +213 -258
- package/dist/es/models/common/v1/config/MessageSeverity.js +7 -9
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +2 -7
- package/dist/es/models/common/v1/config/TenantAwareModel.js +137 -177
- package/dist/es/models/common/v1/response/ApiLink.d.ts +2 -8
- package/dist/es/models/common/v1/response/ApiLink.js +165 -206
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +281 -344
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +154 -202
- package/dist/es/models/microseg/v4/config/AdInfo.d.ts +2 -10
- package/dist/es/models/microseg/v4/config/AdInfo.js +219 -265
- package/dist/es/models/microseg/v4/config/AdStatus.js +7 -9
- package/dist/es/models/microseg/v4/config/AddressGroup.d.ts +47 -33
- package/dist/es/models/microseg/v4/config/AddressGroup.js +468 -365
- package/dist/es/models/microseg/v4/config/Addresses.d.ts +48 -0
- package/dist/es/models/microseg/v4/config/Addresses.js +248 -0
- package/dist/es/models/microseg/v4/config/AllToAllIsolationGroup.d.ts +2 -14
- package/dist/es/models/microseg/v4/config/AllToAllIsolationGroup.js +152 -195
- package/dist/es/models/microseg/v4/config/AllowType.js +7 -9
- package/dist/es/models/microseg/v4/config/AllowedConfig.d.ts +5 -18
- package/dist/es/models/microseg/v4/config/AllowedConfig.js +153 -196
- package/dist/es/models/microseg/v4/config/AllowedEntity.d.ts +22 -10
- package/dist/es/models/microseg/v4/config/AllowedEntity.js +301 -278
- package/dist/es/models/microseg/v4/config/AllowedSelectBy.js +15 -11
- package/dist/es/models/microseg/v4/config/AllowedType.js +15 -11
- package/dist/es/models/microseg/v4/config/ApplicationRuleSpec.d.ts +33 -59
- package/dist/es/models/microseg/v4/config/ApplicationRuleSpec.js +871 -851
- package/dist/es/models/microseg/v4/config/CategoryAssociatedEntityType.js +7 -9
- package/dist/es/models/microseg/v4/config/CategoryMapping.d.ts +1 -27
- package/dist/es/models/microseg/v4/config/CategoryMapping.js +211 -259
- package/dist/es/models/microseg/v4/config/CreateAddressGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/CreateAddressGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/CreateDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/CreateDirectoryServerConfigApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/CreateDsCategoryMappingApiResponse.d.ts +2 -45
- package/dist/es/models/microseg/v4/config/CreateDsCategoryMappingApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/CreateEntityGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/CreateEntityGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyExportApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyExportApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyImportApiResponse.d.ts +2 -46
- package/dist/es/models/microseg/v4/config/CreateNetworkSecurityPolicyImportApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/CreateServiceGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/CreateServiceGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/DeleteAddressGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/DeleteAddressGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/DeleteDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/DeleteDirectoryServerConfigApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/DeleteDsCategoryMappingApiResponse.d.ts +2 -46
- package/dist/es/models/microseg/v4/config/DeleteDsCategoryMappingApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/DeleteEntityGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/DeleteEntityGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/DeleteNetworkSecurityPolicyApiResponse.d.ts +2 -45
- package/dist/es/models/microseg/v4/config/DeleteNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/DeleteServiceGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/DeleteServiceGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/DirectoryServerConfig.d.ts +1 -56
- package/dist/es/models/microseg/v4/config/DirectoryServerConfig.js +256 -314
- package/dist/es/models/microseg/v4/config/EntityGroup.d.ts +33 -33
- package/dist/es/models/microseg/v4/config/EntityGroup.js +348 -299
- package/dist/es/models/microseg/v4/config/ExceptConfig.d.ts +48 -0
- package/dist/es/models/microseg/v4/config/ExceptConfig.js +248 -0
- package/dist/es/models/microseg/v4/config/ExceptEntity.d.ts +87 -0
- package/dist/es/models/microseg/v4/config/ExceptEntity.js +382 -0
- package/dist/es/models/microseg/v4/config/ExceptSelectBy.d.ts +19 -0
- package/dist/es/models/microseg/v4/config/ExceptSelectBy.js +83 -0
- package/dist/es/models/microseg/v4/config/ExceptType.d.ts +19 -0
- package/dist/es/models/microseg/v4/config/ExceptType.js +77 -0
- package/dist/es/models/microseg/v4/config/GetAddressGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/GetAddressGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/GetDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/GetDirectoryServerConfigApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/GetDsCategoryMappingApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/GetDsCategoryMappingApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/GetEntityGroupApiResponse.d.ts +2 -46
- package/dist/es/models/microseg/v4/config/GetEntityGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/GetNetworkSecurityPolicyApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/GetNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/GetServiceGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/GetServiceGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/IPv4Range.d.ts +2 -8
- package/dist/es/models/microseg/v4/config/IPv4Range.js +171 -212
- package/dist/es/models/microseg/v4/config/IPv6Range.d.ts +72 -0
- package/dist/es/models/microseg/v4/config/IPv6Range.js +287 -0
- package/dist/es/models/microseg/v4/config/IcmpTypeCodeSpec.d.ts +2 -9
- package/dist/es/models/microseg/v4/config/IcmpTypeCodeSpec.js +205 -248
- package/dist/es/models/microseg/v4/config/IcmpV6TypeCodeSpec.d.ts +73 -0
- package/dist/es/models/microseg/v4/config/IcmpV6TypeCodeSpec.js +324 -0
- package/dist/es/models/microseg/v4/config/IntraEntityGroupRuleAction.js +7 -9
- package/dist/es/models/microseg/v4/config/IntraEntityGroupRuleSpec.d.ts +14 -33
- package/dist/es/models/microseg/v4/config/IntraEntityGroupRuleSpec.js +408 -427
- package/dist/es/models/microseg/v4/config/IpRange.d.ts +48 -0
- package/dist/es/models/microseg/v4/config/IpRange.js +248 -0
- package/dist/es/models/microseg/v4/config/IsolationGroup.d.ts +2 -9
- package/dist/es/models/microseg/v4/config/IsolationGroup.js +201 -244
- package/dist/es/models/microseg/v4/config/ListAddressGroupsApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/ListAddressGroupsApiResponse.js +209 -264
- package/dist/es/models/microseg/v4/config/ListDirectoryServerConfigsApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/ListDirectoryServerConfigsApiResponse.js +209 -264
- package/dist/es/models/microseg/v4/config/ListDsCategoryMappingsApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/ListDsCategoryMappingsApiResponse.js +209 -264
- package/dist/es/models/microseg/v4/config/ListEntityGroupsApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/ListEntityGroupsApiResponse.js +209 -264
- package/dist/es/models/microseg/v4/config/ListNetworkSecurityPoliciesApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/ListNetworkSecurityPoliciesApiResponse.js +212 -267
- package/dist/es/models/microseg/v4/config/ListNetworkSecurityPolicyRulesApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/ListNetworkSecurityPolicyRulesApiResponse.js +209 -264
- package/dist/es/models/microseg/v4/config/ListServiceGroupsApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/ListServiceGroupsApiResponse.js +209 -264
- package/dist/es/models/microseg/v4/config/MatchEntity.js +7 -9
- package/dist/es/models/microseg/v4/config/MatchField.js +7 -9
- package/dist/es/models/microseg/v4/config/MatchType.js +7 -9
- package/dist/es/models/microseg/v4/config/MatchingCriteria.d.ts +2 -10
- package/dist/es/models/microseg/v4/config/MatchingCriteria.js +212 -257
- package/dist/es/models/microseg/v4/config/MultiEnvIsolationRuleSpec.d.ts +2 -7
- package/dist/es/models/microseg/v4/config/MultiEnvIsolationRuleSpec.js +152 -195
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicy.d.ts +26 -51
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicy.js +663 -676
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicyExportSpec.d.ts +2 -7
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicyExportSpec.js +150 -189
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicyRule.d.ts +1 -18
- package/dist/es/models/microseg/v4/config/NetworkSecurityPolicyRule.js +201 -251
- package/dist/es/models/microseg/v4/config/RuleType.js +7 -9
- package/dist/es/models/microseg/v4/config/SecurityPolicyScope.js +7 -9
- package/dist/es/models/microseg/v4/config/SecurityPolicyState.js +7 -9
- package/dist/es/models/microseg/v4/config/SecurityPolicyType.js +7 -9
- package/dist/es/models/microseg/v4/config/ServiceGroup.d.ts +35 -42
- package/dist/es/models/microseg/v4/config/ServiceGroup.js +481 -436
- package/dist/es/models/microseg/v4/config/SyncPolicy.d.ts +1 -19
- package/dist/es/models/microseg/v4/config/SyncPolicy.js +216 -264
- package/dist/es/models/microseg/v4/config/TcpPortRangeSpec.d.ts +2 -8
- package/dist/es/models/microseg/v4/config/TcpPortRangeSpec.js +180 -221
- package/dist/es/models/microseg/v4/config/TwoEnvIsolationRuleSpec.d.ts +2 -8
- package/dist/es/models/microseg/v4/config/TwoEnvIsolationRuleSpec.js +186 -227
- package/dist/es/models/microseg/v4/config/UdpPortRangeSpec.d.ts +2 -8
- package/dist/es/models/microseg/v4/config/UdpPortRangeSpec.js +180 -221
- package/dist/es/models/microseg/v4/config/UpdateAddressGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/UpdateAddressGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/UpdateDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/UpdateDirectoryServerConfigApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/UpdateDsCategoryMappingApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/UpdateDsCategoryMappingApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/UpdateEntityGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/UpdateEntityGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/UpdateNetworkSecurityPolicyApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/UpdateNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/config/UpdateServiceGroupApiResponse.d.ts +2 -43
- package/dist/es/models/microseg/v4/config/UpdateServiceGroupApiResponse.js +187 -242
- package/dist/es/models/microseg/v4/error/AppMessage.d.ts +2 -12
- package/dist/es/models/microseg/v4/error/AppMessage.js +264 -313
- package/dist/es/models/microseg/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/es/models/microseg/v4/error/ErrorResponse.js +175 -218
- package/dist/es/models/microseg/v4/error/SchemaValidationError.d.ts +2 -18
- package/dist/es/models/microseg/v4/error/SchemaValidationError.js +249 -300
- package/dist/es/models/microseg/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
- package/dist/es/models/microseg/v4/error/SchemaValidationErrorMessage.js +191 -234
- package/dist/es/models/microseg/v4/operation/DryRunSpec.d.ts +2 -8
- package/dist/es/models/microseg/v4/operation/DryRunSpec.js +173 -214
- package/dist/es/models/microseg/v4/operation/DryRunSummary.d.ts +1 -103
- package/dist/es/models/microseg/v4/operation/DryRunSummary.js +227 -287
- package/dist/es/models/microseg/v4/operation/PolicyCount.d.ts +2 -9
- package/dist/es/models/microseg/v4/operation/PolicyCount.js +191 -234
- package/dist/es/models/microseg/v4/operation/PolicyCountByType.d.ts +2 -15
- package/dist/es/models/microseg/v4/operation/PolicyCountByType.js +162 -203
- package/dist/es/models/microseg/v4/operation/PolicyMetadata.d.ts +2 -20
- package/dist/es/models/microseg/v4/operation/PolicyMetadata.js +326 -380
- package/dist/es/models/microseg/v4/operation/PolicyPreview.d.ts +1 -109
- package/dist/es/models/microseg/v4/operation/PolicyPreview.js +160 -208
- package/dist/es/models/microseg/v4/operation/PolicyUpgradeSummary.d.ts +2 -45
- package/dist/es/models/microseg/v4/operation/PolicyUpgradeSummary.js +202 -249
- package/dist/es/models/microseg/v4/operation/SecurityPolicyOptions.d.ts +5 -11
- package/dist/es/models/microseg/v4/operation/SecurityPolicyOptions.js +167 -208
- package/dist/es/models/microseg/v4/operation/SecurityPolicyType.js +7 -9
- package/dist/es/models/microseg/v4/operation/SubnetUpgradeSummary.d.ts +2 -9
- package/dist/es/models/microseg/v4/operation/SubnetUpgradeSummary.js +196 -239
- package/dist/es/models/microseg/v4/operation/TotalPolicyCount.d.ts +2 -28
- package/dist/es/models/microseg/v4/operation/TotalPolicyCount.js +171 -216
- package/dist/es/models/microseg/v4/operation/UpgradeJob.d.ts +2 -7
- package/dist/es/models/microseg/v4/operation/UpgradeJob.js +155 -198
- package/dist/es/models/microseg/v4/operation/UpgradeSpec.d.ts +2 -8
- package/dist/es/models/microseg/v4/operation/UpgradeSpec.js +166 -207
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +2 -7
- package/dist/es/models/prism/v4/config/TaskReference.js +142 -181
- package/dist/es/models/validation/ValidationError.js +26 -42
- package/dist/es/models/validation/ValidationScopes.js +3 -3
- package/dist/es/utils/ValidationUtils.js +39 -69
- package/dist/lib/ApiClient.d.ts +29 -7
- package/dist/lib/ApiClient.js +854 -667
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +144 -183
- package/dist/lib/apis/addressgroups-endpoints.d.ts +2 -2
- package/dist/lib/apis/addressgroups-endpoints.js +210 -224
- package/dist/lib/apis/directoryserverconfigs-endpoints.d.ts +2 -2
- package/dist/lib/apis/directoryserverconfigs-endpoints.js +390 -407
- package/dist/lib/apis/entitygroups-endpoints.d.ts +2 -2
- package/dist/lib/apis/entitygroups-endpoints.js +210 -224
- package/dist/lib/apis/networksecuritypolicies-endpoints.d.ts +3 -3
- package/dist/lib/apis/networksecuritypolicies-endpoints.js +361 -371
- package/dist/lib/apis/servicegroups-endpoints.d.ts +2 -2
- package/dist/lib/apis/servicegroups-endpoints.js +210 -224
- package/dist/lib/index.d.ts +17 -1
- package/dist/lib/index.js +373 -309
- package/dist/lib/models/common/v1/config/FQDN.d.ts +2 -7
- package/dist/lib/models/common/v1/config/FQDN.js +141 -180
- package/dist/lib/models/common/v1/config/Flag.d.ts +2 -8
- package/dist/lib/models/common/v1/config/Flag.js +170 -211
- package/dist/lib/models/common/v1/config/IPAddressOrFQDN.d.ts +2 -26
- package/dist/lib/models/common/v1/config/IPAddressOrFQDN.js +196 -247
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +2 -8
- package/dist/lib/models/common/v1/config/IPv4Address.js +174 -215
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +2 -8
- package/dist/lib/models/common/v1/config/IPv6Address.js +174 -215
- package/dist/lib/models/common/v1/config/KVPair.d.ts +2 -8
- package/dist/lib/models/common/v1/config/KVPair.js +225 -270
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +139 -178
- package/dist/lib/models/common/v1/config/Message.d.ts +2 -10
- package/dist/lib/models/common/v1/config/Message.js +213 -258
- package/dist/lib/models/common/v1/config/MessageSeverity.js +7 -9
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +2 -7
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +137 -177
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +2 -8
- package/dist/lib/models/common/v1/response/ApiLink.js +165 -206
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +281 -344
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +154 -202
- package/dist/lib/models/microseg/v4/config/AdInfo.d.ts +2 -10
- package/dist/lib/models/microseg/v4/config/AdInfo.js +219 -265
- package/dist/lib/models/microseg/v4/config/AdStatus.js +7 -9
- package/dist/lib/models/microseg/v4/config/AddressGroup.d.ts +47 -33
- package/dist/lib/models/microseg/v4/config/AddressGroup.js +468 -365
- package/dist/lib/models/microseg/v4/config/Addresses.d.ts +48 -0
- package/dist/lib/models/microseg/v4/config/Addresses.js +248 -0
- package/dist/lib/models/microseg/v4/config/AllToAllIsolationGroup.d.ts +2 -14
- package/dist/lib/models/microseg/v4/config/AllToAllIsolationGroup.js +152 -195
- package/dist/lib/models/microseg/v4/config/AllowType.js +7 -9
- package/dist/lib/models/microseg/v4/config/AllowedConfig.d.ts +5 -18
- package/dist/lib/models/microseg/v4/config/AllowedConfig.js +153 -196
- package/dist/lib/models/microseg/v4/config/AllowedEntity.d.ts +22 -10
- package/dist/lib/models/microseg/v4/config/AllowedEntity.js +301 -278
- package/dist/lib/models/microseg/v4/config/AllowedSelectBy.js +15 -11
- package/dist/lib/models/microseg/v4/config/AllowedType.js +15 -11
- package/dist/lib/models/microseg/v4/config/ApplicationRuleSpec.d.ts +33 -59
- package/dist/lib/models/microseg/v4/config/ApplicationRuleSpec.js +871 -851
- package/dist/lib/models/microseg/v4/config/CategoryAssociatedEntityType.js +7 -9
- package/dist/lib/models/microseg/v4/config/CategoryMapping.d.ts +1 -27
- package/dist/lib/models/microseg/v4/config/CategoryMapping.js +211 -259
- package/dist/lib/models/microseg/v4/config/CreateAddressGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/CreateAddressGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/CreateDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/CreateDirectoryServerConfigApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/CreateDsCategoryMappingApiResponse.d.ts +2 -45
- package/dist/lib/models/microseg/v4/config/CreateDsCategoryMappingApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/CreateEntityGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/CreateEntityGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyExportApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyExportApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyImportApiResponse.d.ts +2 -46
- package/dist/lib/models/microseg/v4/config/CreateNetworkSecurityPolicyImportApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/CreateServiceGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/CreateServiceGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/DeleteAddressGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/DeleteAddressGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/DeleteDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/DeleteDirectoryServerConfigApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/DeleteDsCategoryMappingApiResponse.d.ts +2 -46
- package/dist/lib/models/microseg/v4/config/DeleteDsCategoryMappingApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/DeleteEntityGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/DeleteEntityGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/DeleteNetworkSecurityPolicyApiResponse.d.ts +2 -45
- package/dist/lib/models/microseg/v4/config/DeleteNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/DeleteServiceGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/DeleteServiceGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/DirectoryServerConfig.d.ts +1 -56
- package/dist/lib/models/microseg/v4/config/DirectoryServerConfig.js +256 -314
- package/dist/lib/models/microseg/v4/config/EntityGroup.d.ts +33 -33
- package/dist/lib/models/microseg/v4/config/EntityGroup.js +348 -299
- package/dist/lib/models/microseg/v4/config/ExceptConfig.d.ts +48 -0
- package/dist/lib/models/microseg/v4/config/ExceptConfig.js +248 -0
- package/dist/lib/models/microseg/v4/config/ExceptEntity.d.ts +87 -0
- package/dist/lib/models/microseg/v4/config/ExceptEntity.js +382 -0
- package/dist/lib/models/microseg/v4/config/ExceptSelectBy.d.ts +19 -0
- package/dist/lib/models/microseg/v4/config/ExceptSelectBy.js +83 -0
- package/dist/lib/models/microseg/v4/config/ExceptType.d.ts +19 -0
- package/dist/lib/models/microseg/v4/config/ExceptType.js +77 -0
- package/dist/lib/models/microseg/v4/config/GetAddressGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/GetAddressGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/GetDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/GetDirectoryServerConfigApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/GetDsCategoryMappingApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/GetDsCategoryMappingApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/GetEntityGroupApiResponse.d.ts +2 -46
- package/dist/lib/models/microseg/v4/config/GetEntityGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/GetNetworkSecurityPolicyApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/GetNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/GetServiceGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/GetServiceGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/IPv4Range.d.ts +2 -8
- package/dist/lib/models/microseg/v4/config/IPv4Range.js +171 -212
- package/dist/lib/models/microseg/v4/config/IPv6Range.d.ts +72 -0
- package/dist/lib/models/microseg/v4/config/IPv6Range.js +287 -0
- package/dist/lib/models/microseg/v4/config/IcmpTypeCodeSpec.d.ts +2 -9
- package/dist/lib/models/microseg/v4/config/IcmpTypeCodeSpec.js +205 -248
- package/dist/lib/models/microseg/v4/config/IcmpV6TypeCodeSpec.d.ts +73 -0
- package/dist/lib/models/microseg/v4/config/IcmpV6TypeCodeSpec.js +324 -0
- package/dist/lib/models/microseg/v4/config/IntraEntityGroupRuleAction.js +7 -9
- package/dist/lib/models/microseg/v4/config/IntraEntityGroupRuleSpec.d.ts +14 -33
- package/dist/lib/models/microseg/v4/config/IntraEntityGroupRuleSpec.js +408 -427
- package/dist/lib/models/microseg/v4/config/IpRange.d.ts +48 -0
- package/dist/lib/models/microseg/v4/config/IpRange.js +248 -0
- package/dist/lib/models/microseg/v4/config/IsolationGroup.d.ts +2 -9
- package/dist/lib/models/microseg/v4/config/IsolationGroup.js +201 -244
- package/dist/lib/models/microseg/v4/config/ListAddressGroupsApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/ListAddressGroupsApiResponse.js +209 -264
- package/dist/lib/models/microseg/v4/config/ListDirectoryServerConfigsApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/ListDirectoryServerConfigsApiResponse.js +209 -264
- package/dist/lib/models/microseg/v4/config/ListDsCategoryMappingsApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/ListDsCategoryMappingsApiResponse.js +209 -264
- package/dist/lib/models/microseg/v4/config/ListEntityGroupsApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/ListEntityGroupsApiResponse.js +209 -264
- package/dist/lib/models/microseg/v4/config/ListNetworkSecurityPoliciesApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/ListNetworkSecurityPoliciesApiResponse.js +212 -267
- package/dist/lib/models/microseg/v4/config/ListNetworkSecurityPolicyRulesApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/ListNetworkSecurityPolicyRulesApiResponse.js +209 -264
- package/dist/lib/models/microseg/v4/config/ListServiceGroupsApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/ListServiceGroupsApiResponse.js +209 -264
- package/dist/lib/models/microseg/v4/config/MatchEntity.js +7 -9
- package/dist/lib/models/microseg/v4/config/MatchField.js +7 -9
- package/dist/lib/models/microseg/v4/config/MatchType.js +7 -9
- package/dist/lib/models/microseg/v4/config/MatchingCriteria.d.ts +2 -10
- package/dist/lib/models/microseg/v4/config/MatchingCriteria.js +212 -257
- package/dist/lib/models/microseg/v4/config/MultiEnvIsolationRuleSpec.d.ts +2 -7
- package/dist/lib/models/microseg/v4/config/MultiEnvIsolationRuleSpec.js +152 -195
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicy.d.ts +26 -51
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicy.js +663 -676
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicyExportSpec.d.ts +2 -7
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicyExportSpec.js +150 -189
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicyRule.d.ts +1 -18
- package/dist/lib/models/microseg/v4/config/NetworkSecurityPolicyRule.js +201 -251
- package/dist/lib/models/microseg/v4/config/RuleType.js +7 -9
- package/dist/lib/models/microseg/v4/config/SecurityPolicyScope.js +7 -9
- package/dist/lib/models/microseg/v4/config/SecurityPolicyState.js +7 -9
- package/dist/lib/models/microseg/v4/config/SecurityPolicyType.js +7 -9
- package/dist/lib/models/microseg/v4/config/ServiceGroup.d.ts +35 -42
- package/dist/lib/models/microseg/v4/config/ServiceGroup.js +481 -436
- package/dist/lib/models/microseg/v4/config/SyncPolicy.d.ts +1 -19
- package/dist/lib/models/microseg/v4/config/SyncPolicy.js +216 -264
- package/dist/lib/models/microseg/v4/config/TcpPortRangeSpec.d.ts +2 -8
- package/dist/lib/models/microseg/v4/config/TcpPortRangeSpec.js +180 -221
- package/dist/lib/models/microseg/v4/config/TwoEnvIsolationRuleSpec.d.ts +2 -8
- package/dist/lib/models/microseg/v4/config/TwoEnvIsolationRuleSpec.js +186 -227
- package/dist/lib/models/microseg/v4/config/UdpPortRangeSpec.d.ts +2 -8
- package/dist/lib/models/microseg/v4/config/UdpPortRangeSpec.js +180 -221
- package/dist/lib/models/microseg/v4/config/UpdateAddressGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/UpdateAddressGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/UpdateDirectoryServerConfigApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/UpdateDirectoryServerConfigApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/UpdateDsCategoryMappingApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/UpdateDsCategoryMappingApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/UpdateEntityGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/UpdateEntityGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/UpdateNetworkSecurityPolicyApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/UpdateNetworkSecurityPolicyApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/config/UpdateServiceGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/microseg/v4/config/UpdateServiceGroupApiResponse.js +187 -242
- package/dist/lib/models/microseg/v4/error/AppMessage.d.ts +2 -12
- package/dist/lib/models/microseg/v4/error/AppMessage.js +264 -313
- package/dist/lib/models/microseg/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/lib/models/microseg/v4/error/ErrorResponse.js +175 -218
- package/dist/lib/models/microseg/v4/error/SchemaValidationError.d.ts +2 -18
- package/dist/lib/models/microseg/v4/error/SchemaValidationError.js +249 -300
- package/dist/lib/models/microseg/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
- package/dist/lib/models/microseg/v4/error/SchemaValidationErrorMessage.js +191 -234
- package/dist/lib/models/microseg/v4/operation/DryRunSpec.d.ts +2 -8
- package/dist/lib/models/microseg/v4/operation/DryRunSpec.js +173 -214
- package/dist/lib/models/microseg/v4/operation/DryRunSummary.d.ts +1 -103
- package/dist/lib/models/microseg/v4/operation/DryRunSummary.js +227 -287
- package/dist/lib/models/microseg/v4/operation/PolicyCount.d.ts +2 -9
- package/dist/lib/models/microseg/v4/operation/PolicyCount.js +191 -234
- package/dist/lib/models/microseg/v4/operation/PolicyCountByType.d.ts +2 -15
- package/dist/lib/models/microseg/v4/operation/PolicyCountByType.js +162 -203
- package/dist/lib/models/microseg/v4/operation/PolicyMetadata.d.ts +2 -20
- package/dist/lib/models/microseg/v4/operation/PolicyMetadata.js +326 -380
- package/dist/lib/models/microseg/v4/operation/PolicyPreview.d.ts +1 -109
- package/dist/lib/models/microseg/v4/operation/PolicyPreview.js +160 -208
- package/dist/lib/models/microseg/v4/operation/PolicyUpgradeSummary.d.ts +2 -45
- package/dist/lib/models/microseg/v4/operation/PolicyUpgradeSummary.js +202 -249
- package/dist/lib/models/microseg/v4/operation/SecurityPolicyOptions.d.ts +5 -11
- package/dist/lib/models/microseg/v4/operation/SecurityPolicyOptions.js +167 -208
- package/dist/lib/models/microseg/v4/operation/SecurityPolicyType.js +7 -9
- package/dist/lib/models/microseg/v4/operation/SubnetUpgradeSummary.d.ts +2 -9
- package/dist/lib/models/microseg/v4/operation/SubnetUpgradeSummary.js +196 -239
- package/dist/lib/models/microseg/v4/operation/TotalPolicyCount.d.ts +2 -28
- package/dist/lib/models/microseg/v4/operation/TotalPolicyCount.js +171 -216
- package/dist/lib/models/microseg/v4/operation/UpgradeJob.d.ts +2 -7
- package/dist/lib/models/microseg/v4/operation/UpgradeJob.js +155 -198
- package/dist/lib/models/microseg/v4/operation/UpgradeSpec.d.ts +2 -8
- package/dist/lib/models/microseg/v4/operation/UpgradeSpec.js +166 -207
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +2 -7
- package/dist/lib/models/prism/v4/config/TaskReference.js +142 -181
- package/dist/lib/models/validation/ValidationError.js +26 -42
- package/dist/lib/models/validation/ValidationScopes.js +3 -3
- package/dist/lib/utils/ValidationUtils.js +39 -69
- package/package.json +1 -1
|
@@ -3,47 +3,28 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
var _IPv4Address = _interopRequireDefault(require("../../../common/v1/config/IPv4Address"));
|
|
8
|
+
var _IPv6Address = _interopRequireDefault(require("../../../common/v1/config/IPv6Address"));
|
|
8
9
|
var _TenantAwareModel = _interopRequireDefault(require("../../../common/v1/config/TenantAwareModel"));
|
|
9
10
|
var _ApiLink = _interopRequireDefault(require("../../../common/v1/response/ApiLink"));
|
|
10
11
|
var _ExternalizableAbstractModel = _interopRequireDefault(require("../../../common/v1/response/ExternalizableAbstractModel"));
|
|
11
12
|
var _IPv4Range = _interopRequireDefault(require("./IPv4Range"));
|
|
13
|
+
var _IPv6Range = _interopRequireDefault(require("./IPv6Range"));
|
|
12
14
|
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
13
15
|
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
14
16
|
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
15
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : {
|
|
16
|
-
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); }
|
|
17
|
-
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
18
|
-
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."); }
|
|
19
|
-
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; } }
|
|
20
|
-
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; }
|
|
21
|
-
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; } }
|
|
22
|
-
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
23
|
-
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; }
|
|
24
|
-
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; }
|
|
25
|
-
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; }
|
|
26
|
-
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
27
|
-
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); } }
|
|
28
|
-
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
29
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
30
|
-
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); }
|
|
31
|
-
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
32
|
-
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); }
|
|
33
|
-
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
34
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
35
|
-
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
36
|
-
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); }
|
|
37
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
38
18
|
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
39
|
-
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
19
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
20
|
+
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
21
|
* Nutanix Flow Management APIs
|
|
41
22
|
*
|
|
42
|
-
* OpenAPI spec version: 4.
|
|
23
|
+
* OpenAPI spec version: 4.2.2
|
|
43
24
|
*
|
|
44
25
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
45
26
|
*
|
|
46
|
-
* Open API Dev Platform Codegen version: 17.
|
|
27
|
+
* Open API Dev Platform Codegen version: 17.5.1.10573-RELEASE
|
|
47
28
|
*
|
|
48
29
|
* Do not edit the class manually.
|
|
49
30
|
*
|
|
@@ -51,14 +32,14 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
51
32
|
/**
|
|
52
33
|
* The AddressGroup model module.
|
|
53
34
|
* @module Ntnx/AddressGroup
|
|
54
|
-
* @version 4.
|
|
35
|
+
* @version 4.2.2
|
|
55
36
|
* @class AddressGroup
|
|
56
37
|
* @extends ExternalizableAbstractModel
|
|
57
38
|
*
|
|
58
39
|
* @param { string } name A short identifier for an Address Group.
|
|
59
40
|
*/
|
|
60
41
|
var _AddressGroup_brand = /*#__PURE__*/new WeakSet();
|
|
61
|
-
|
|
42
|
+
class AddressGroup extends _ExternalizableAbstractModel.default {
|
|
62
43
|
/**
|
|
63
44
|
* Constructs a new <code>AddressGroup</code>.
|
|
64
45
|
* @alias module:Ntnx/AddressGroup
|
|
@@ -66,26 +47,23 @@ var AddressGroup = exports["default"] = /*#__PURE__*/function (_ExternalizableAb
|
|
|
66
47
|
*
|
|
67
48
|
* @param { string } name A short identifier for an Address Group.
|
|
68
49
|
*/
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
_classCallCheck(this, AddressGroup);
|
|
72
|
-
_this = _callSuper(this, AddressGroup);
|
|
50
|
+
constructor(name) {
|
|
51
|
+
super();
|
|
73
52
|
/*
|
|
74
53
|
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
75
54
|
* @param {Object} obj
|
|
76
55
|
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
77
56
|
* Otherwise, just returns the input object.
|
|
78
57
|
*/
|
|
79
|
-
_classPrivateMethodInitSpec(
|
|
80
|
-
|
|
81
|
-
|
|
58
|
+
_classPrivateMethodInitSpec(this, _AddressGroup_brand);
|
|
59
|
+
this.name = name;
|
|
60
|
+
this.$objectType = "microseg.v4.config.AddressGroup";
|
|
82
61
|
/** @type {object<string, any>} */
|
|
83
|
-
|
|
84
|
-
'$fv': "v4.
|
|
62
|
+
this.$reserved = {
|
|
63
|
+
'$fv': "v4.r2"
|
|
85
64
|
};
|
|
86
65
|
/** @type {object<string, any>} */
|
|
87
|
-
|
|
88
|
-
return _this;
|
|
66
|
+
this.$unknownFields = {};
|
|
89
67
|
}
|
|
90
68
|
|
|
91
69
|
/**
|
|
@@ -96,367 +74,468 @@ var AddressGroup = exports["default"] = /*#__PURE__*/function (_ExternalizableAb
|
|
|
96
74
|
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
97
75
|
* @return {module:Ntnx/AddressGroup} The populated <code>AddressGroup</code> instance.
|
|
98
76
|
*/
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
77
|
+
static constructFromObject(data, obj = null, callFromChild = false) {
|
|
78
|
+
let items, item, i, itemArr, discriminator;
|
|
79
|
+
if (data) {
|
|
80
|
+
obj = obj || new AddressGroup();
|
|
81
|
+
_ExternalizableAbstractModel.default.constructFromObject(data, obj, true);
|
|
82
|
+
if (data.hasOwnProperty('name') && data.name !== null && data.name !== undefined) {
|
|
83
|
+
obj.setName(data['name']);
|
|
84
|
+
}
|
|
85
|
+
if (data.hasOwnProperty('description') && data.description !== null && data.description !== undefined) {
|
|
86
|
+
obj.setDescription(data['description']);
|
|
87
|
+
}
|
|
88
|
+
if (data.hasOwnProperty('ipv4Addresses') && data.ipv4Addresses !== null && data.ipv4Addresses !== undefined) {
|
|
89
|
+
itemArr = [];
|
|
90
|
+
items = data.ipv4Addresses;
|
|
91
|
+
for (i = 0; i < items.length; i++) {
|
|
92
|
+
item = _IPv4Address.default.constructFromObject(items[i], undefined);
|
|
93
|
+
itemArr.push(item);
|
|
94
|
+
}
|
|
95
|
+
obj.setIpv4Addresses(itemArr);
|
|
96
|
+
}
|
|
97
|
+
if (data.hasOwnProperty('ipRanges') && data.ipRanges !== null && data.ipRanges !== undefined) {
|
|
98
|
+
itemArr = [];
|
|
99
|
+
items = data.ipRanges;
|
|
100
|
+
for (i = 0; i < items.length; i++) {
|
|
101
|
+
item = _IPv4Range.default.constructFromObject(items[i], undefined);
|
|
102
|
+
itemArr.push(item);
|
|
103
|
+
}
|
|
104
|
+
obj.setIpRanges(itemArr);
|
|
105
|
+
}
|
|
106
|
+
if (data.hasOwnProperty('ipv6Addresses') && data.ipv6Addresses !== null && data.ipv6Addresses !== undefined) {
|
|
107
|
+
itemArr = [];
|
|
108
|
+
items = data.ipv6Addresses;
|
|
109
|
+
for (i = 0; i < items.length; i++) {
|
|
110
|
+
item = _IPv6Address.default.constructFromObject(items[i], undefined);
|
|
111
|
+
itemArr.push(item);
|
|
112
|
+
}
|
|
113
|
+
obj.setIpv6Addresses(itemArr);
|
|
114
|
+
}
|
|
115
|
+
if (data.hasOwnProperty('ipv6Ranges') && data.ipv6Ranges !== null && data.ipv6Ranges !== undefined) {
|
|
116
|
+
itemArr = [];
|
|
117
|
+
items = data.ipv6Ranges;
|
|
118
|
+
for (i = 0; i < items.length; i++) {
|
|
119
|
+
item = _IPv6Range.default.constructFromObject(items[i], undefined);
|
|
120
|
+
itemArr.push(item);
|
|
121
|
+
}
|
|
122
|
+
obj.setIpv6Ranges(itemArr);
|
|
123
|
+
}
|
|
124
|
+
if (data.hasOwnProperty('policyReferences') && data.policyReferences !== null && data.policyReferences !== undefined) {
|
|
125
|
+
itemArr = [];
|
|
126
|
+
items = data.policyReferences;
|
|
127
|
+
for (i = 0; i < items.length; i++) {
|
|
128
|
+
itemArr.push(items[i]);
|
|
129
|
+
}
|
|
130
|
+
obj.setPolicyReferences(itemArr);
|
|
131
|
+
}
|
|
132
|
+
if (data.hasOwnProperty('createdBy') && data.createdBy !== null && data.createdBy !== undefined) {
|
|
133
|
+
obj.setCreatedBy(data['createdBy']);
|
|
134
|
+
}
|
|
135
|
+
if (data.hasOwnProperty('creationTime') && data.creationTime !== null && data.creationTime !== undefined) {
|
|
136
|
+
obj.setCreationTime(data['creationTime']);
|
|
137
|
+
}
|
|
138
|
+
if (data.hasOwnProperty('lastUpdateTime') && data.lastUpdateTime !== null && data.lastUpdateTime !== undefined) {
|
|
139
|
+
obj.setLastUpdateTime(data['lastUpdateTime']);
|
|
140
|
+
}
|
|
141
|
+
if (!callFromChild) {
|
|
142
|
+
obj.$unknownFields = {
|
|
143
|
+
...data.$unknownFields
|
|
144
|
+
};
|
|
145
|
+
for (const property in data) {
|
|
146
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
147
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
148
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
149
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
150
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
151
|
+
obj.$unknownFields[property] = data[property];
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
109
155
|
}
|
|
156
|
+
return obj;
|
|
157
|
+
}
|
|
110
158
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
159
|
+
/**
|
|
160
|
+
* Converts a given snake_case string to camelCase.
|
|
161
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
162
|
+
* @returns {string} - The converted string in camelCase format.
|
|
163
|
+
*/
|
|
164
|
+
static snakeToCamel(snakeStr) {
|
|
165
|
+
return snakeStr.replace(/(_\w)/g, match => match[1].toUpperCase());
|
|
166
|
+
}
|
|
120
167
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
return this.description;
|
|
129
|
-
}
|
|
168
|
+
/**
|
|
169
|
+
* Returns A short identifier for an Address Group.
|
|
170
|
+
* @return {string}
|
|
171
|
+
*/
|
|
172
|
+
getName() {
|
|
173
|
+
return this.name;
|
|
174
|
+
}
|
|
130
175
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
this.description = description;
|
|
139
|
-
}
|
|
176
|
+
/**
|
|
177
|
+
* Sets A short identifier for an Address Group.
|
|
178
|
+
* @param {string} name A short identifier for an Address Group.
|
|
179
|
+
*/
|
|
180
|
+
setName(name) {
|
|
181
|
+
this.name = name;
|
|
182
|
+
}
|
|
140
183
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
return this.ipv4Addresses;
|
|
149
|
-
}
|
|
184
|
+
/**
|
|
185
|
+
* Returns A user defined annotation for an Address Group.
|
|
186
|
+
* @return {string}
|
|
187
|
+
*/
|
|
188
|
+
getDescription() {
|
|
189
|
+
return this.description;
|
|
190
|
+
}
|
|
150
191
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
this.ipv4Addresses = ipv4Addresses;
|
|
159
|
-
}
|
|
192
|
+
/**
|
|
193
|
+
* Sets A user defined annotation for an Address Group.
|
|
194
|
+
* @param {string} description A user defined annotation for an Address Group.
|
|
195
|
+
*/
|
|
196
|
+
setDescription(description) {
|
|
197
|
+
this.description = description;
|
|
198
|
+
}
|
|
160
199
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
return this.ipRanges;
|
|
169
|
-
}
|
|
200
|
+
/**
|
|
201
|
+
* Returns List of CIDR blocks in the Address Group.
|
|
202
|
+
* @return {IPv4Address[]}
|
|
203
|
+
*/
|
|
204
|
+
getIpv4Addresses() {
|
|
205
|
+
return this.ipv4Addresses;
|
|
206
|
+
}
|
|
170
207
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
this.ipRanges = ipRanges;
|
|
179
|
-
}
|
|
208
|
+
/**
|
|
209
|
+
* Sets List of CIDR blocks in the Address Group.
|
|
210
|
+
* @param {IPv4Address[]} ipv4Addresses List of CIDR blocks in the Address Group.
|
|
211
|
+
*/
|
|
212
|
+
setIpv4Addresses(ipv4Addresses) {
|
|
213
|
+
this.ipv4Addresses = ipv4Addresses;
|
|
214
|
+
}
|
|
180
215
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
return this.policyReferences;
|
|
189
|
-
}
|
|
216
|
+
/**
|
|
217
|
+
* Returns List of IP range containing start and end IP.
|
|
218
|
+
* @return {IPv4Range[]}
|
|
219
|
+
*/
|
|
220
|
+
getIpRanges() {
|
|
221
|
+
return this.ipRanges;
|
|
222
|
+
}
|
|
190
223
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
this.policyReferences = policyReferences;
|
|
199
|
-
}
|
|
224
|
+
/**
|
|
225
|
+
* Sets List of IP range containing start and end IP.
|
|
226
|
+
* @param {IPv4Range[]} ipRanges List of IP range containing start and end IP.
|
|
227
|
+
*/
|
|
228
|
+
setIpRanges(ipRanges) {
|
|
229
|
+
this.ipRanges = ipRanges;
|
|
230
|
+
}
|
|
200
231
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
return this.createdBy;
|
|
209
|
-
}
|
|
232
|
+
/**
|
|
233
|
+
* Returns List of Ipv6 CIDR blocks in the Address Group.
|
|
234
|
+
* @return {IPv6Address[]}
|
|
235
|
+
*/
|
|
236
|
+
getIpv6Addresses() {
|
|
237
|
+
return this.ipv6Addresses;
|
|
238
|
+
}
|
|
210
239
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
240
|
+
/**
|
|
241
|
+
* Sets List of Ipv6 CIDR blocks in the Address Group.
|
|
242
|
+
* @param {IPv6Address[]} ipv6Addresses List of Ipv6 CIDR blocks in the Address Group.
|
|
243
|
+
*/
|
|
244
|
+
setIpv6Addresses(ipv6Addresses) {
|
|
245
|
+
this.ipv6Addresses = ipv6Addresses;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Returns List of IPv6 range containing start and end IP.
|
|
250
|
+
* @return {IPv6Range[]}
|
|
251
|
+
*/
|
|
252
|
+
getIpv6Ranges() {
|
|
253
|
+
return this.ipv6Ranges;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Sets List of IPv6 range containing start and end IP.
|
|
258
|
+
* @param {IPv6Range[]} ipv6Ranges List of IPv6 range containing start and end IP.
|
|
259
|
+
*/
|
|
260
|
+
setIpv6Ranges(ipv6Ranges) {
|
|
261
|
+
this.ipv6Ranges = ipv6Ranges;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Returns Reference to policy associated with Address Group.
|
|
266
|
+
* @return {string[]}
|
|
267
|
+
*/
|
|
268
|
+
getPolicyReferences() {
|
|
269
|
+
return this.policyReferences;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Sets Reference to policy associated with Address Group.
|
|
274
|
+
* @param {string[]} policyReferences Reference to policy associated with Address Group.
|
|
275
|
+
*/
|
|
276
|
+
setPolicyReferences(policyReferences) {
|
|
277
|
+
this.policyReferences = policyReferences;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Returns The external identifier of the user who created the Address Group.
|
|
282
|
+
* @return {string}
|
|
283
|
+
*/
|
|
284
|
+
getCreatedBy() {
|
|
285
|
+
return this.createdBy;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Sets The external identifier of the user who created the Address Group.
|
|
290
|
+
* @param {string} createdBy The external identifier of the user who created the Address Group.
|
|
291
|
+
*/
|
|
292
|
+
setCreatedBy(createdBy) {
|
|
293
|
+
this.createdBy = createdBy;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Returns The timestamp when the Address Group was created.
|
|
298
|
+
* @return {Date}
|
|
299
|
+
*/
|
|
300
|
+
getCreationTime() {
|
|
301
|
+
return this.creationTime;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Sets The timestamp when the Address Group was created.
|
|
306
|
+
* @param {Date} creationTime The timestamp when the Address Group was created.
|
|
307
|
+
*/
|
|
308
|
+
setCreationTime(creationTime) {
|
|
309
|
+
this.creationTime = creationTime;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Returns The timestamp when the Address Group was last updated.
|
|
314
|
+
* @return {Date}
|
|
315
|
+
*/
|
|
316
|
+
getLastUpdateTime() {
|
|
317
|
+
return this.lastUpdateTime;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Sets The timestamp when the Address Group was last updated.
|
|
322
|
+
* @param {Date} lastUpdateTime The timestamp when the Address Group was last updated.
|
|
323
|
+
*/
|
|
324
|
+
setLastUpdateTime(lastUpdateTime) {
|
|
325
|
+
this.lastUpdateTime = lastUpdateTime;
|
|
326
|
+
}
|
|
327
|
+
toJson(forMutation) {
|
|
328
|
+
if (forMutation === false) {
|
|
329
|
+
return {
|
|
330
|
+
...(typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
225
331
|
'name': this.getName()
|
|
226
|
-
} : {}),
|
|
332
|
+
} : {}),
|
|
333
|
+
...(typeof this.getDescription() !== 'undefined' && this.getDescription() !== null ? {
|
|
227
334
|
'description': this.getDescription()
|
|
228
|
-
} : {}),
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
'ipRanges': this.getIpRanges().map(
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
335
|
+
} : {}),
|
|
336
|
+
...(typeof this.getIpv4Addresses() !== 'undefined' && this.getIpv4Addresses() !== null ? {
|
|
337
|
+
'ipv4Addresses': this.getIpv4Addresses().map(item => item.toJson(false))
|
|
338
|
+
} : {}),
|
|
339
|
+
...(typeof this.getIpRanges() !== 'undefined' && this.getIpRanges() !== null ? {
|
|
340
|
+
'ipRanges': this.getIpRanges().map(item => item.toJson(false))
|
|
341
|
+
} : {}),
|
|
342
|
+
...(typeof this.getIpv6Addresses() !== 'undefined' && this.getIpv6Addresses() !== null ? {
|
|
343
|
+
'ipv6Addresses': this.getIpv6Addresses().map(item => item.toJson(false))
|
|
344
|
+
} : {}),
|
|
345
|
+
...(typeof this.getIpv6Ranges() !== 'undefined' && this.getIpv6Ranges() !== null ? {
|
|
346
|
+
'ipv6Ranges': this.getIpv6Ranges().map(item => item.toJson(false))
|
|
347
|
+
} : {}),
|
|
348
|
+
...(typeof this.getPolicyReferences() !== 'undefined' && this.getPolicyReferences() !== null ? {
|
|
237
349
|
'policyReferences': this.getPolicyReferences()
|
|
238
|
-
} : {}),
|
|
350
|
+
} : {}),
|
|
351
|
+
...(typeof this.getCreatedBy() !== 'undefined' && this.getCreatedBy() !== null ? {
|
|
239
352
|
'createdBy': this.getCreatedBy()
|
|
240
|
-
} : {}),
|
|
353
|
+
} : {}),
|
|
354
|
+
...(typeof this.getCreationTime() !== 'undefined' && this.getCreationTime() !== null ? {
|
|
355
|
+
'creationTime': _assertClassBrand(_AddressGroup_brand, this, _handleDateType).call(this, this.getCreationTime(), false)
|
|
356
|
+
} : {}),
|
|
357
|
+
...(typeof this.getLastUpdateTime() !== 'undefined' && this.getLastUpdateTime() !== null ? {
|
|
358
|
+
'lastUpdateTime': _assertClassBrand(_AddressGroup_brand, this, _handleDateType).call(this, this.getLastUpdateTime(), false)
|
|
359
|
+
} : {}),
|
|
360
|
+
...(typeof this.getExtId() !== 'undefined' && this.getExtId() !== null ? {
|
|
241
361
|
'extId': this.getExtId()
|
|
242
|
-
} : {}),
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
362
|
+
} : {}),
|
|
363
|
+
...(typeof this.getLinks() !== 'undefined' && this.getLinks() !== null ? {
|
|
364
|
+
'links': this.getLinks().map(item => item.toJson(false))
|
|
365
|
+
} : {}),
|
|
366
|
+
...(typeof this.getTenantId() !== 'undefined' && this.getTenantId() !== null ? {
|
|
247
367
|
'tenantId': this.getTenantId()
|
|
248
|
-
} : {}),
|
|
249
|
-
'$reserved': this.get$Reserved(),
|
|
250
|
-
'$objectType': this.get$ObjectType(),
|
|
251
|
-
'$unknownFields': this.get$UnknownFields()
|
|
252
|
-
});
|
|
253
|
-
}
|
|
254
|
-
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
255
|
-
'name': this.getName()
|
|
256
|
-
} : {}), typeof this.getDescription() !== 'undefined' && this.getDescription() !== null ? {
|
|
257
|
-
'description': this.getDescription()
|
|
258
|
-
} : {}), typeof this.getIpv4Addresses() !== 'undefined' && this.getIpv4Addresses() !== null ? {
|
|
259
|
-
'ipv4Addresses': this.getIpv4Addresses().map(function (item) {
|
|
260
|
-
return item.toJson(false);
|
|
261
|
-
})
|
|
262
|
-
} : {}), typeof this.getIpRanges() !== 'undefined' && this.getIpRanges() !== null ? {
|
|
263
|
-
'ipRanges': this.getIpRanges().map(function (item) {
|
|
264
|
-
return item.toJson(false);
|
|
265
|
-
})
|
|
266
|
-
} : {}), {}, {
|
|
368
|
+
} : {}),
|
|
267
369
|
'$reserved': this.get$Reserved(),
|
|
268
370
|
'$objectType': this.get$ObjectType(),
|
|
269
|
-
|
|
270
|
-
|
|
371
|
+
...(typeof this.get$UnknownFields() !== 'undefined' && this.get$UnknownFields() !== null ? this.get$UnknownFields() : {}),
|
|
372
|
+
'$unknownFields': {}
|
|
373
|
+
};
|
|
374
|
+
}
|
|
375
|
+
return {
|
|
376
|
+
...(typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
377
|
+
'name': this.getName()
|
|
378
|
+
} : {}),
|
|
379
|
+
...(typeof this.getDescription() !== 'undefined' && this.getDescription() !== null ? {
|
|
380
|
+
'description': this.getDescription()
|
|
381
|
+
} : {}),
|
|
382
|
+
...(typeof this.getIpv4Addresses() !== 'undefined' && this.getIpv4Addresses() !== null ? {
|
|
383
|
+
'ipv4Addresses': this.getIpv4Addresses().map(item => item.toJson(false))
|
|
384
|
+
} : {}),
|
|
385
|
+
...(typeof this.getIpRanges() !== 'undefined' && this.getIpRanges() !== null ? {
|
|
386
|
+
'ipRanges': this.getIpRanges().map(item => item.toJson(false))
|
|
387
|
+
} : {}),
|
|
388
|
+
...(typeof this.getIpv6Addresses() !== 'undefined' && this.getIpv6Addresses() !== null ? {
|
|
389
|
+
'ipv6Addresses': this.getIpv6Addresses().map(item => item.toJson(false))
|
|
390
|
+
} : {}),
|
|
391
|
+
...(typeof this.getIpv6Ranges() !== 'undefined' && this.getIpv6Ranges() !== null ? {
|
|
392
|
+
'ipv6Ranges': this.getIpv6Ranges().map(item => item.toJson(false))
|
|
393
|
+
} : {}),
|
|
394
|
+
'$reserved': this.get$Reserved(),
|
|
395
|
+
'$objectType': this.get$ObjectType(),
|
|
396
|
+
...(typeof this.get$UnknownFields() !== 'undefined' && this.get$UnknownFields() !== null ? this.get$UnknownFields() : {}),
|
|
397
|
+
'$unknownFields': {}
|
|
398
|
+
};
|
|
399
|
+
}
|
|
400
|
+
validate(scope, properties) {
|
|
401
|
+
let propList = [];
|
|
402
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes.default) {
|
|
403
|
+
//cases validate() and validate(scope)
|
|
404
|
+
propList = ["name"];
|
|
405
|
+
} else if (arguments.length === 1) {
|
|
406
|
+
//case validate(properties)
|
|
407
|
+
propList = arguments[0];
|
|
408
|
+
scope = null;
|
|
409
|
+
} else {
|
|
410
|
+
//case validate(scope, properties)
|
|
411
|
+
propList = arguments[1];
|
|
271
412
|
}
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
scope = null;
|
|
413
|
+
let res = [];
|
|
414
|
+
let err = null;
|
|
415
|
+
propList.forEach(property => {
|
|
416
|
+
err = this.validateProperty(property, scope);
|
|
417
|
+
if (err) {
|
|
418
|
+
res.push(err);
|
|
419
|
+
}
|
|
420
|
+
});
|
|
421
|
+
return new Promise(function (resolve, reject) {
|
|
422
|
+
if (res.length !== 0) {
|
|
423
|
+
reject(err);
|
|
284
424
|
} else {
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
resolve();
|
|
301
|
-
}
|
|
302
|
-
});
|
|
425
|
+
resolve();
|
|
426
|
+
}
|
|
427
|
+
});
|
|
428
|
+
}
|
|
429
|
+
validateProperty(scope, property) {
|
|
430
|
+
if (property === "name") {
|
|
431
|
+
if (typeof this.name === 'undefined' || this.name === null) {
|
|
432
|
+
return new _ValidationError.default("name", "undefined or null");
|
|
433
|
+
}
|
|
434
|
+
if (!_ValidationUtils.default.validateMaxLength(this.name, 64)) {
|
|
435
|
+
return new _ValidationError.default("name", "does not satisfy required maxLength constraint: 64");
|
|
436
|
+
}
|
|
437
|
+
if (!_ValidationUtils.default.validatePattern(this.name, /^\\s*[a-zA-Z0-9]([a-zA-Z0-9-_ \\\\.]*[a-zA-Z0-9])?\\s*$/)) {
|
|
438
|
+
return new _ValidationError.default("name", "does not satisfy required pattern: /^\\s*[a-zA-Z0-9]([a-zA-Z0-9-_ \\\\.]*[a-zA-Z0-9])?\\s*$/");
|
|
439
|
+
}
|
|
303
440
|
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
if (property === "name") {
|
|
308
|
-
if (typeof this.name === 'undefined' || this.name === null) {
|
|
309
|
-
return new _ValidationError["default"]("name", "undefined or null");
|
|
310
|
-
}
|
|
311
|
-
if (!_ValidationUtils["default"].validateMaxLength(this.name, 64)) {
|
|
312
|
-
return new _ValidationError["default"]("name", "does not satisfy required maxLength constraint: 64");
|
|
313
|
-
}
|
|
314
|
-
if (!_ValidationUtils["default"].validatePattern(this.name, /^\\s*[a-zA-Z0-9]([a-zA-Z0-9-_ \\\\.]*[a-zA-Z0-9])?\\s*$/)) {
|
|
315
|
-
return new _ValidationError["default"]("name", "does not satisfy required pattern: /^\\s*[a-zA-Z0-9]([a-zA-Z0-9-_ \\\\.]*[a-zA-Z0-9])?\\s*$/");
|
|
316
|
-
}
|
|
441
|
+
if (property === "description") {
|
|
442
|
+
if (typeof this.description === 'undefined' || this.description === null) {
|
|
443
|
+
return new _ValidationError.default("description", "undefined or null");
|
|
317
444
|
}
|
|
318
|
-
if (
|
|
319
|
-
|
|
320
|
-
return new _ValidationError["default"]("description", "undefined or null");
|
|
321
|
-
}
|
|
322
|
-
if (!_ValidationUtils["default"].validateMaxLength(this.description, 1000)) {
|
|
323
|
-
return new _ValidationError["default"]("description", "does not satisfy required maxLength constraint: 1000");
|
|
324
|
-
}
|
|
325
|
-
if (!_ValidationUtils["default"].validatePattern(this.description, /^\\s*([a-zA-Z0-9 _:.()-]*)\\s*$/)) {
|
|
326
|
-
return new _ValidationError["default"]("description", "does not satisfy required pattern: /^\\s*([a-zA-Z0-9 _:.()-]*)\\s*$/");
|
|
327
|
-
}
|
|
445
|
+
if (!_ValidationUtils.default.validateMaxLength(this.description, 1000)) {
|
|
446
|
+
return new _ValidationError.default("description", "does not satisfy required maxLength constraint: 1000");
|
|
328
447
|
}
|
|
329
|
-
if (
|
|
330
|
-
|
|
331
|
-
return new _ValidationError["default"]("ipv4Addresses", "undefined or null");
|
|
332
|
-
}
|
|
333
|
-
if (!_ValidationUtils["default"].validateMaxItems(this.ipv4Addresses, 4000)) {
|
|
334
|
-
return new _ValidationError["default"]("ipv4Addresses", "does not satisfy required maxItems constraint: 4000");
|
|
335
|
-
}
|
|
336
|
-
if (!_ValidationUtils["default"].validateMinItems(this.ipv4Addresses, 1)) {
|
|
337
|
-
return new _ValidationError["default"]("ipv4Addresses", "does not satisfy required minItems constraint: 1");
|
|
338
|
-
}
|
|
448
|
+
if (!_ValidationUtils.default.validatePattern(this.description, /^\\s*([a-zA-Z0-9 _:.()-]*)\\s*$/)) {
|
|
449
|
+
return new _ValidationError.default("description", "does not satisfy required pattern: /^\\s*([a-zA-Z0-9 _:.()-]*)\\s*$/");
|
|
339
450
|
}
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
if (!_ValidationUtils["default"].validateMaxItems(this.ipRanges, 4000)) {
|
|
345
|
-
return new _ValidationError["default"]("ipRanges", "does not satisfy required maxItems constraint: 4000");
|
|
346
|
-
}
|
|
347
|
-
if (!_ValidationUtils["default"].validateMinItems(this.ipRanges, 1)) {
|
|
348
|
-
return new _ValidationError["default"]("ipRanges", "does not satisfy required minItems constraint: 1");
|
|
349
|
-
}
|
|
451
|
+
}
|
|
452
|
+
if (property === "ipv4Addresses") {
|
|
453
|
+
if (typeof this.ipv4Addresses === 'undefined' || this.ipv4Addresses === null) {
|
|
454
|
+
return new _ValidationError.default("ipv4Addresses", "undefined or null");
|
|
350
455
|
}
|
|
351
|
-
if (
|
|
352
|
-
|
|
353
|
-
return new _ValidationError["default"]("policyReferences", "undefined or null");
|
|
354
|
-
}
|
|
355
|
-
if (!_ValidationUtils["default"].validateMaxItems(this.policyReferences, 1000)) {
|
|
356
|
-
return new _ValidationError["default"]("policyReferences", "does not satisfy required maxItems constraint: 1000");
|
|
357
|
-
}
|
|
358
|
-
if (!_ValidationUtils["default"].validateMinItems(this.policyReferences, 1)) {
|
|
359
|
-
return new _ValidationError["default"]("policyReferences", "does not satisfy required minItems constraint: 1");
|
|
360
|
-
}
|
|
456
|
+
if (!_ValidationUtils.default.validateMaxItems(this.ipv4Addresses, 4000)) {
|
|
457
|
+
return new _ValidationError.default("ipv4Addresses", "does not satisfy required maxItems constraint: 4000");
|
|
361
458
|
}
|
|
362
|
-
if (
|
|
363
|
-
|
|
364
|
-
return new _ValidationError["default"]("createdBy", "undefined or null");
|
|
365
|
-
}
|
|
366
|
-
if (!_ValidationUtils["default"].validatePattern(this.createdBy, /^[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}$/)) {
|
|
367
|
-
return new _ValidationError["default"]("createdBy", "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}$/");
|
|
368
|
-
}
|
|
459
|
+
if (!_ValidationUtils.default.validateMinItems(this.ipv4Addresses, 1)) {
|
|
460
|
+
return new _ValidationError.default("ipv4Addresses", "does not satisfy required minItems constraint: 1");
|
|
369
461
|
}
|
|
370
|
-
return new _ValidationError["default"](property, "no such property exists");
|
|
371
462
|
}
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
if (data.hasOwnProperty('name') && data.name !== null && data.name !== undefined) {
|
|
382
|
-
obj.setName(data['name']);
|
|
383
|
-
}
|
|
384
|
-
if (data.hasOwnProperty('description') && data.description !== null && data.description !== undefined) {
|
|
385
|
-
obj.setDescription(data['description']);
|
|
386
|
-
}
|
|
387
|
-
if (data.hasOwnProperty('ipv4Addresses') && data.ipv4Addresses !== null && data.ipv4Addresses !== undefined) {
|
|
388
|
-
itemArr = [];
|
|
389
|
-
items = data.ipv4Addresses;
|
|
390
|
-
for (i = 0; i < items.length; i++) {
|
|
391
|
-
item = _IPv4Address["default"].constructFromObject(items[i], undefined);
|
|
392
|
-
itemArr.push(item);
|
|
393
|
-
}
|
|
394
|
-
obj.setIpv4Addresses(itemArr);
|
|
395
|
-
}
|
|
396
|
-
if (data.hasOwnProperty('ipRanges') && data.ipRanges !== null && data.ipRanges !== undefined) {
|
|
397
|
-
itemArr = [];
|
|
398
|
-
items = data.ipRanges;
|
|
399
|
-
for (i = 0; i < items.length; i++) {
|
|
400
|
-
item = _IPv4Range["default"].constructFromObject(items[i], undefined);
|
|
401
|
-
itemArr.push(item);
|
|
402
|
-
}
|
|
403
|
-
obj.setIpRanges(itemArr);
|
|
404
|
-
}
|
|
405
|
-
if (data.hasOwnProperty('policyReferences') && data.policyReferences !== null && data.policyReferences !== undefined) {
|
|
406
|
-
itemArr = [];
|
|
407
|
-
items = data.policyReferences;
|
|
408
|
-
for (i = 0; i < items.length; i++) {
|
|
409
|
-
itemArr.push(items[i]);
|
|
410
|
-
}
|
|
411
|
-
obj.setPolicyReferences(itemArr);
|
|
412
|
-
}
|
|
413
|
-
if (data.hasOwnProperty('createdBy') && data.createdBy !== null && data.createdBy !== undefined) {
|
|
414
|
-
obj.setCreatedBy(data['createdBy']);
|
|
415
|
-
}
|
|
416
|
-
if (!callFromChild) {
|
|
417
|
-
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
418
|
-
for (var property in data) {
|
|
419
|
-
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
420
|
-
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
421
|
-
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
422
|
-
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
423
|
-
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
424
|
-
obj.$unknownFields[property] = data[property];
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
}
|
|
463
|
+
if (property === "ipRanges") {
|
|
464
|
+
if (typeof this.ipRanges === 'undefined' || this.ipRanges === null) {
|
|
465
|
+
return new _ValidationError.default("ipRanges", "undefined or null");
|
|
466
|
+
}
|
|
467
|
+
if (!_ValidationUtils.default.validateMaxItems(this.ipRanges, 4000)) {
|
|
468
|
+
return new _ValidationError.default("ipRanges", "does not satisfy required maxItems constraint: 4000");
|
|
469
|
+
}
|
|
470
|
+
if (!_ValidationUtils.default.validateMinItems(this.ipRanges, 1)) {
|
|
471
|
+
return new _ValidationError.default("ipRanges", "does not satisfy required minItems constraint: 1");
|
|
428
472
|
}
|
|
429
|
-
return obj;
|
|
430
473
|
}
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
return match[1].toUpperCase();
|
|
442
|
-
});
|
|
474
|
+
if (property === "ipv6Addresses") {
|
|
475
|
+
if (typeof this.ipv6Addresses === 'undefined' || this.ipv6Addresses === null) {
|
|
476
|
+
return new _ValidationError.default("ipv6Addresses", "undefined or null");
|
|
477
|
+
}
|
|
478
|
+
if (!_ValidationUtils.default.validateMaxItems(this.ipv6Addresses, 4000)) {
|
|
479
|
+
return new _ValidationError.default("ipv6Addresses", "does not satisfy required maxItems constraint: 4000");
|
|
480
|
+
}
|
|
481
|
+
if (!_ValidationUtils.default.validateMinItems(this.ipv6Addresses, 1)) {
|
|
482
|
+
return new _ValidationError.default("ipv6Addresses", "does not satisfy required minItems constraint: 1");
|
|
483
|
+
}
|
|
443
484
|
}
|
|
444
|
-
|
|
445
|
-
|
|
485
|
+
if (property === "ipv6Ranges") {
|
|
486
|
+
if (typeof this.ipv6Ranges === 'undefined' || this.ipv6Ranges === null) {
|
|
487
|
+
return new _ValidationError.default("ipv6Ranges", "undefined or null");
|
|
488
|
+
}
|
|
489
|
+
if (!_ValidationUtils.default.validateMaxItems(this.ipv6Ranges, 4000)) {
|
|
490
|
+
return new _ValidationError.default("ipv6Ranges", "does not satisfy required maxItems constraint: 4000");
|
|
491
|
+
}
|
|
492
|
+
if (!_ValidationUtils.default.validateMinItems(this.ipv6Ranges, 1)) {
|
|
493
|
+
return new _ValidationError.default("ipv6Ranges", "does not satisfy required minItems constraint: 1");
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
if (property === "policyReferences") {
|
|
497
|
+
if (typeof this.policyReferences === 'undefined' || this.policyReferences === null) {
|
|
498
|
+
return new _ValidationError.default("policyReferences", "undefined or null");
|
|
499
|
+
}
|
|
500
|
+
if (!_ValidationUtils.default.validateMaxItems(this.policyReferences, 1000)) {
|
|
501
|
+
return new _ValidationError.default("policyReferences", "does not satisfy required maxItems constraint: 1000");
|
|
502
|
+
}
|
|
503
|
+
if (!_ValidationUtils.default.validateMinItems(this.policyReferences, 1)) {
|
|
504
|
+
return new _ValidationError.default("policyReferences", "does not satisfy required minItems constraint: 1");
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
if (property === "createdBy") {
|
|
508
|
+
if (typeof this.createdBy === 'undefined' || this.createdBy === null) {
|
|
509
|
+
return new _ValidationError.default("createdBy", "undefined or null");
|
|
510
|
+
}
|
|
511
|
+
if (!_ValidationUtils.default.validatePattern(this.createdBy, /^[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}$/)) {
|
|
512
|
+
return new _ValidationError.default("createdBy", "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}$/");
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
if (property === "creationTime") {
|
|
516
|
+
if (typeof this.creationTime === 'undefined' || this.creationTime === null) {
|
|
517
|
+
return new _ValidationError.default("creationTime", "undefined or null");
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
if (property === "lastUpdateTime") {
|
|
521
|
+
if (typeof this.lastUpdateTime === 'undefined' || this.lastUpdateTime === null) {
|
|
522
|
+
return new _ValidationError.default("lastUpdateTime", "undefined or null");
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
return new _ValidationError.default(property, "no such property exists");
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
|
|
446
529
|
/**
|
|
447
530
|
* A short identifier for an Address Group.
|
|
448
531
|
* @memberof AddressGroup
|
|
449
532
|
*/
|
|
533
|
+
exports.default = AddressGroup;
|
|
450
534
|
function _toJsonMapType(obj, forMutation) {
|
|
451
535
|
if (obj instanceof Map) {
|
|
452
|
-
return Object.fromEntries(Array.from(obj,
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
v = _ref2[1];
|
|
456
|
-
return [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v];
|
|
457
|
-
}));
|
|
458
|
-
} else if (_typeof(obj) === 'object' && obj != null && obj.constructor === Object) {
|
|
459
|
-
return Object.fromEntries(Array.from(Object.entries(obj), function (entry) {
|
|
536
|
+
return Object.fromEntries(Array.from(obj, ([k, v]) => [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v]));
|
|
537
|
+
} else if (typeof obj === 'object' && obj != null && obj.constructor === Object) {
|
|
538
|
+
return Object.fromEntries(Array.from(Object.entries(obj), entry => {
|
|
460
539
|
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
461
540
|
}));
|
|
462
541
|
}
|
|
@@ -494,6 +573,18 @@ AddressGroup.prototype.ipv4Addresses = undefined;
|
|
|
494
573
|
*/
|
|
495
574
|
AddressGroup.prototype.ipRanges = undefined;
|
|
496
575
|
|
|
576
|
+
/**
|
|
577
|
+
* List of Ipv6 CIDR blocks in the Address Group.
|
|
578
|
+
* @memberof AddressGroup
|
|
579
|
+
*/
|
|
580
|
+
AddressGroup.prototype.ipv6Addresses = undefined;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* List of IPv6 range containing start and end IP.
|
|
584
|
+
* @memberof AddressGroup
|
|
585
|
+
*/
|
|
586
|
+
AddressGroup.prototype.ipv6Ranges = undefined;
|
|
587
|
+
|
|
497
588
|
/**
|
|
498
589
|
* Reference to policy associated with Address Group.
|
|
499
590
|
* @memberof AddressGroup
|
|
@@ -506,19 +597,31 @@ AddressGroup.prototype.policyReferences = undefined;
|
|
|
506
597
|
*/
|
|
507
598
|
AddressGroup.prototype.createdBy = undefined;
|
|
508
599
|
|
|
600
|
+
/**
|
|
601
|
+
* The timestamp when the Address Group was created.
|
|
602
|
+
* @memberof AddressGroup
|
|
603
|
+
*/
|
|
604
|
+
AddressGroup.prototype.creationTime = undefined;
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* The timestamp when the Address Group was last updated.
|
|
608
|
+
* @memberof AddressGroup
|
|
609
|
+
*/
|
|
610
|
+
AddressGroup.prototype.lastUpdateTime = undefined;
|
|
611
|
+
|
|
509
612
|
/**
|
|
510
613
|
* A globally unique identifier of an instance that is suitable for external consumption.
|
|
511
614
|
* @memberof AddressGroup
|
|
512
615
|
*/
|
|
513
|
-
_ExternalizableAbstractModel
|
|
616
|
+
_ExternalizableAbstractModel.default.prototype.extId = undefined;
|
|
514
617
|
/**
|
|
515
618
|
* 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.
|
|
516
619
|
* @memberof AddressGroup
|
|
517
620
|
*/
|
|
518
|
-
_ExternalizableAbstractModel
|
|
621
|
+
_ExternalizableAbstractModel.default.prototype.links = undefined;
|
|
519
622
|
/**
|
|
520
623
|
* 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).
|
|
521
624
|
* @memberof AddressGroup
|
|
522
625
|
*/
|
|
523
|
-
_TenantAwareModel
|
|
626
|
+
_TenantAwareModel.default.prototype.tenantId = undefined;
|
|
524
627
|
// Implement OneOfmicroseg.v4.config.GetAddressGroupApiResponsedata interface:
|