@azure/arm-postgresql-flexible 10.0.0-beta.1 → 10.0.0-beta.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/dist/browser/api/administratorsMicrosoftEntra/operations.d.ts +0 -5
- package/dist/browser/api/administratorsMicrosoftEntra/operations.js +19 -16
- package/dist/browser/api/administratorsMicrosoftEntra/operations.js.map +1 -1
- package/dist/browser/api/advancedThreatProtectionSettings/operations.js +9 -5
- package/dist/browser/api/advancedThreatProtectionSettings/operations.js.map +1 -1
- package/dist/browser/api/backupsAutomaticAndOnDemand/operations.d.ts +0 -5
- package/dist/browser/api/backupsAutomaticAndOnDemand/operations.js +19 -16
- package/dist/browser/api/backupsAutomaticAndOnDemand/operations.js.map +1 -1
- package/dist/browser/api/backupsLongTermRetention/operations.js +18 -10
- package/dist/browser/api/backupsLongTermRetention/operations.js.map +1 -1
- package/dist/browser/api/capabilitiesByLocation/operations.js +5 -3
- package/dist/browser/api/capabilitiesByLocation/operations.js.map +1 -1
- package/dist/browser/api/capabilitiesByServer/operations.js +5 -3
- package/dist/browser/api/capabilitiesByServer/operations.js.map +1 -1
- package/dist/browser/api/capturedLogs/operations.js +5 -3
- package/dist/browser/api/capturedLogs/operations.js.map +1 -1
- package/dist/browser/api/configurations/operations.js +19 -11
- package/dist/browser/api/configurations/operations.js.map +1 -1
- package/dist/browser/api/databases/operations.d.ts +0 -5
- package/dist/browser/api/databases/operations.js +19 -16
- package/dist/browser/api/databases/operations.js.map +1 -1
- package/dist/browser/api/firewallRules/operations.d.ts +0 -5
- package/dist/browser/api/firewallRules/operations.js +19 -16
- package/dist/browser/api/firewallRules/operations.js.map +1 -1
- package/dist/browser/api/maintenanceEvents/index.d.ts +3 -0
- package/dist/browser/api/maintenanceEvents/index.js +4 -0
- package/dist/browser/api/maintenanceEvents/index.js.map +1 -0
- package/dist/browser/api/maintenanceEvents/operations.d.ts +23 -0
- package/dist/browser/api/maintenanceEvents/operations.js +147 -0
- package/dist/browser/api/maintenanceEvents/operations.js.map +1 -0
- package/dist/browser/api/maintenanceEvents/options.d.ts +21 -0
- package/dist/browser/api/maintenanceEvents/options.js.map +1 -0
- package/dist/browser/api/majorVersionUpgradePrecheck/index.d.ts +3 -0
- package/dist/browser/api/majorVersionUpgradePrecheck/index.js +4 -0
- package/dist/browser/api/majorVersionUpgradePrecheck/index.js.map +1 -0
- package/dist/browser/api/majorVersionUpgradePrecheck/operations.d.ts +14 -0
- package/dist/{react-native/api/advancedThreatProtectionSettings → browser/api/majorVersionUpgradePrecheck}/operations.js +24 -20
- package/dist/browser/api/majorVersionUpgradePrecheck/operations.js.map +1 -0
- package/dist/browser/api/majorVersionUpgradePrecheck/options.d.ts +8 -0
- package/dist/browser/api/majorVersionUpgradePrecheck/options.js.map +1 -0
- package/dist/browser/api/migrations/operations.d.ts +2 -2
- package/dist/browser/api/migrations/operations.js +26 -14
- package/dist/browser/api/migrations/operations.js.map +1 -1
- package/dist/browser/api/nameAvailability/operations.js +8 -4
- package/dist/browser/api/nameAvailability/operations.js.map +1 -1
- package/dist/browser/api/operations/operations.js +5 -3
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/postgreSQLManagementFlexibleServerContext.js +4 -2
- package/dist/browser/api/postgreSQLManagementFlexibleServerContext.js.map +1 -1
- package/dist/browser/api/privateDnsZoneSuffix/operations.js +4 -2
- package/dist/browser/api/privateDnsZoneSuffix/operations.js.map +1 -1
- package/dist/browser/api/privateEndpointConnections/operations.d.ts +0 -5
- package/dist/browser/api/privateEndpointConnections/operations.js +19 -16
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/browser/api/privateLinkResources/operations.js +9 -5
- package/dist/browser/api/privateLinkResources/operations.js.map +1 -1
- package/dist/browser/api/quotaUsages/operations.js +5 -3
- package/dist/browser/api/quotaUsages/operations.js.map +1 -1
- package/dist/browser/api/replicas/operations.js +5 -3
- package/dist/browser/api/replicas/operations.js.map +1 -1
- package/dist/browser/api/serverThreatProtectionSettings/operations.js +5 -3
- package/dist/browser/api/serverThreatProtectionSettings/operations.js.map +1 -1
- package/dist/browser/api/servers/index.d.ts +2 -2
- package/dist/browser/api/servers/index.js +1 -1
- package/dist/browser/api/servers/index.js.map +1 -1
- package/dist/browser/api/servers/operations.d.ts +7 -8
- package/dist/browser/api/servers/operations.js +91 -39
- package/dist/browser/api/servers/operations.js.map +1 -1
- package/dist/browser/api/servers/options.d.ts +5 -0
- package/dist/browser/api/servers/options.js.map +1 -1
- package/dist/browser/api/tuningOptionsOperations/index.d.ts +3 -0
- package/dist/browser/api/tuningOptionsOperations/index.js.map +1 -0
- package/dist/{esm/api/tuningOptions → browser/api/tuningOptionsOperations}/operations.d.ts +7 -7
- package/dist/browser/api/{tuningOptions → tuningOptionsOperations}/operations.js +14 -8
- package/dist/browser/api/tuningOptionsOperations/operations.js.map +1 -0
- package/dist/browser/api/{tuningOptions → tuningOptionsOperations}/options.d.ts +3 -3
- package/dist/browser/api/tuningOptionsOperations/options.js.map +1 -0
- package/dist/browser/api/virtualEndpoints/operations.d.ts +0 -5
- package/dist/browser/api/virtualEndpoints/operations.js +24 -19
- package/dist/browser/api/virtualEndpoints/operations.js.map +1 -1
- package/dist/browser/api/virtualNetworkSubnetUsage/operations.js +4 -2
- package/dist/browser/api/virtualNetworkSubnetUsage/operations.js.map +1 -1
- package/dist/browser/classic/administratorsMicrosoftEntra/index.d.ts +0 -5
- package/dist/browser/classic/administratorsMicrosoftEntra/index.js.map +1 -1
- package/dist/browser/classic/backupsAutomaticAndOnDemand/index.d.ts +0 -5
- package/dist/browser/classic/backupsAutomaticAndOnDemand/index.js.map +1 -1
- package/dist/browser/classic/databases/index.d.ts +0 -5
- package/dist/browser/classic/databases/index.js.map +1 -1
- package/dist/browser/classic/firewallRules/index.d.ts +0 -5
- package/dist/browser/classic/firewallRules/index.js.map +1 -1
- package/dist/browser/classic/index.d.ts +3 -1
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/maintenanceEvents/index.d.ts +27 -0
- package/dist/browser/classic/maintenanceEvents/index.js +34 -0
- package/dist/browser/classic/maintenanceEvents/index.js.map +1 -0
- package/dist/browser/classic/majorVersionUpgradePrecheck/index.d.ts +13 -0
- package/dist/browser/classic/majorVersionUpgradePrecheck/index.js +15 -0
- package/dist/browser/classic/majorVersionUpgradePrecheck/index.js.map +1 -0
- package/dist/browser/classic/migrations/index.d.ts +1 -1
- package/dist/browser/classic/migrations/index.js.map +1 -1
- package/dist/browser/classic/privateEndpointConnections/index.d.ts +0 -5
- package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/browser/classic/servers/index.d.ts +9 -8
- package/dist/browser/classic/servers/index.js +10 -1
- package/dist/browser/classic/servers/index.js.map +1 -1
- package/dist/browser/classic/tuningOptionsOperations/index.d.ts +15 -0
- package/dist/{react-native/classic/tuningOptions → browser/classic/tuningOptionsOperations}/index.js +4 -4
- package/dist/browser/classic/tuningOptionsOperations/index.js.map +1 -0
- package/dist/browser/classic/virtualEndpoints/index.d.ts +0 -5
- package/dist/browser/classic/virtualEndpoints/index.js.map +1 -1
- package/dist/browser/index.d.ts +8 -5
- package/dist/browser/index.js +2 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -2
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +769 -520
- package/dist/browser/models/models.js +452 -247
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/postgreSQLManagementFlexibleServerClient.d.ts +9 -3
- package/dist/browser/postgreSQLManagementFlexibleServerClient.js +12 -4
- package/dist/browser/postgreSQLManagementFlexibleServerClient.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +8 -1
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -1
- package/dist/commonjs/api/administratorsMicrosoftEntra/index.js +1 -0
- package/dist/commonjs/api/administratorsMicrosoftEntra/index.js.map +1 -1
- package/dist/commonjs/api/administratorsMicrosoftEntra/operations.d.ts +0 -5
- package/dist/commonjs/api/administratorsMicrosoftEntra/operations.js +20 -11
- package/dist/commonjs/api/administratorsMicrosoftEntra/operations.js.map +3 -3
- package/dist/commonjs/api/administratorsMicrosoftEntra/options.js +1 -0
- package/dist/commonjs/api/administratorsMicrosoftEntra/options.js.map +1 -1
- package/dist/commonjs/api/advancedThreatProtectionSettings/index.js +1 -0
- package/dist/commonjs/api/advancedThreatProtectionSettings/index.js.map +1 -1
- package/dist/commonjs/api/advancedThreatProtectionSettings/operations.js +10 -5
- package/dist/commonjs/api/advancedThreatProtectionSettings/operations.js.map +3 -3
- package/dist/commonjs/api/advancedThreatProtectionSettings/options.js +1 -0
- package/dist/commonjs/api/advancedThreatProtectionSettings/options.js.map +1 -1
- package/dist/commonjs/api/backupsAutomaticAndOnDemand/index.js +1 -0
- package/dist/commonjs/api/backupsAutomaticAndOnDemand/index.js.map +1 -1
- package/dist/commonjs/api/backupsAutomaticAndOnDemand/operations.d.ts +0 -5
- package/dist/commonjs/api/backupsAutomaticAndOnDemand/operations.js +20 -11
- package/dist/commonjs/api/backupsAutomaticAndOnDemand/operations.js.map +3 -3
- package/dist/commonjs/api/backupsAutomaticAndOnDemand/options.js +1 -0
- package/dist/commonjs/api/backupsAutomaticAndOnDemand/options.js.map +1 -1
- package/dist/commonjs/api/backupsLongTermRetention/index.js +1 -0
- package/dist/commonjs/api/backupsLongTermRetention/index.js.map +1 -1
- package/dist/commonjs/api/backupsLongTermRetention/operations.js +19 -10
- package/dist/commonjs/api/backupsLongTermRetention/operations.js.map +3 -3
- package/dist/commonjs/api/backupsLongTermRetention/options.js +1 -0
- package/dist/commonjs/api/backupsLongTermRetention/options.js.map +1 -1
- package/dist/commonjs/api/capabilitiesByLocation/index.js +1 -0
- package/dist/commonjs/api/capabilitiesByLocation/index.js.map +1 -1
- package/dist/commonjs/api/capabilitiesByLocation/operations.js +6 -3
- package/dist/commonjs/api/capabilitiesByLocation/operations.js.map +3 -3
- package/dist/commonjs/api/capabilitiesByLocation/options.js +1 -0
- package/dist/commonjs/api/capabilitiesByLocation/options.js.map +1 -1
- package/dist/commonjs/api/capabilitiesByServer/index.js +1 -0
- package/dist/commonjs/api/capabilitiesByServer/index.js.map +1 -1
- package/dist/commonjs/api/capabilitiesByServer/operations.js +6 -3
- package/dist/commonjs/api/capabilitiesByServer/operations.js.map +3 -3
- package/dist/commonjs/api/capabilitiesByServer/options.js +1 -0
- package/dist/commonjs/api/capabilitiesByServer/options.js.map +1 -1
- package/dist/commonjs/api/capturedLogs/index.js +1 -0
- package/dist/commonjs/api/capturedLogs/index.js.map +1 -1
- package/dist/commonjs/api/capturedLogs/operations.js +6 -3
- package/dist/commonjs/api/capturedLogs/operations.js.map +3 -3
- package/dist/commonjs/api/capturedLogs/options.js +1 -0
- package/dist/commonjs/api/capturedLogs/options.js.map +1 -1
- package/dist/commonjs/api/configurations/index.js +1 -0
- package/dist/commonjs/api/configurations/index.js.map +1 -1
- package/dist/commonjs/api/configurations/operations.js +20 -11
- package/dist/commonjs/api/configurations/operations.js.map +3 -3
- package/dist/commonjs/api/configurations/options.js +1 -0
- package/dist/commonjs/api/configurations/options.js.map +1 -1
- package/dist/commonjs/api/databases/index.js +1 -0
- package/dist/commonjs/api/databases/index.js.map +1 -1
- package/dist/commonjs/api/databases/operations.d.ts +0 -5
- package/dist/commonjs/api/databases/operations.js +20 -11
- package/dist/commonjs/api/databases/operations.js.map +3 -3
- package/dist/commonjs/api/databases/options.js +1 -0
- package/dist/commonjs/api/databases/options.js.map +1 -1
- package/dist/commonjs/api/firewallRules/index.js +1 -0
- package/dist/commonjs/api/firewallRules/index.js.map +1 -1
- package/dist/commonjs/api/firewallRules/operations.d.ts +0 -5
- package/dist/commonjs/api/firewallRules/operations.js +20 -11
- package/dist/commonjs/api/firewallRules/operations.js.map +3 -3
- package/dist/commonjs/api/firewallRules/options.js +1 -0
- package/dist/commonjs/api/firewallRules/options.js.map +1 -1
- package/dist/commonjs/api/index.js +1 -0
- package/dist/commonjs/api/index.js.map +1 -1
- package/dist/commonjs/api/maintenanceEvents/index.d.ts +3 -0
- package/dist/commonjs/api/maintenanceEvents/index.js +34 -0
- package/dist/commonjs/api/maintenanceEvents/index.js.map +7 -0
- package/dist/commonjs/api/maintenanceEvents/operations.d.ts +23 -0
- package/dist/commonjs/api/maintenanceEvents/operations.js +217 -0
- package/dist/commonjs/api/maintenanceEvents/operations.js.map +7 -0
- package/dist/commonjs/api/maintenanceEvents/options.d.ts +21 -0
- package/dist/commonjs/api/{tuningOptions → maintenanceEvents}/options.js +1 -0
- package/dist/commonjs/api/maintenanceEvents/options.js.map +7 -0
- package/dist/commonjs/api/majorVersionUpgradePrecheck/index.d.ts +3 -0
- package/dist/commonjs/api/majorVersionUpgradePrecheck/index.js +30 -0
- package/dist/commonjs/api/majorVersionUpgradePrecheck/index.js.map +7 -0
- package/dist/commonjs/api/majorVersionUpgradePrecheck/operations.d.ts +14 -0
- package/dist/commonjs/api/majorVersionUpgradePrecheck/operations.js +123 -0
- package/dist/commonjs/api/majorVersionUpgradePrecheck/operations.js.map +7 -0
- package/dist/commonjs/api/majorVersionUpgradePrecheck/options.d.ts +8 -0
- package/dist/commonjs/api/majorVersionUpgradePrecheck/options.js +16 -0
- package/dist/commonjs/api/majorVersionUpgradePrecheck/options.js.map +7 -0
- package/dist/commonjs/api/migrations/index.js +1 -0
- package/dist/commonjs/api/migrations/index.js.map +1 -1
- package/dist/commonjs/api/migrations/operations.d.ts +2 -2
- package/dist/commonjs/api/migrations/operations.js +27 -14
- package/dist/commonjs/api/migrations/operations.js.map +3 -3
- package/dist/commonjs/api/migrations/options.js +1 -0
- package/dist/commonjs/api/migrations/options.js.map +1 -1
- package/dist/commonjs/api/nameAvailability/index.js +1 -0
- package/dist/commonjs/api/nameAvailability/index.js.map +1 -1
- package/dist/commonjs/api/nameAvailability/operations.js +9 -4
- package/dist/commonjs/api/nameAvailability/operations.js.map +3 -3
- package/dist/commonjs/api/nameAvailability/options.js +1 -0
- package/dist/commonjs/api/nameAvailability/options.js.map +1 -1
- package/dist/commonjs/api/operations/index.js +1 -0
- package/dist/commonjs/api/operations/index.js.map +1 -1
- package/dist/commonjs/api/operations/operations.js +6 -3
- package/dist/commonjs/api/operations/operations.js.map +3 -3
- package/dist/commonjs/api/operations/options.js +1 -0
- package/dist/commonjs/api/operations/options.js.map +1 -1
- package/dist/commonjs/api/postgreSQLManagementFlexibleServerContext.js +5 -2
- package/dist/commonjs/api/postgreSQLManagementFlexibleServerContext.js.map +3 -3
- package/dist/commonjs/api/privateDnsZoneSuffix/index.js +1 -0
- package/dist/commonjs/api/privateDnsZoneSuffix/index.js.map +1 -1
- package/dist/commonjs/api/privateDnsZoneSuffix/operations.js +5 -2
- package/dist/commonjs/api/privateDnsZoneSuffix/operations.js.map +3 -3
- package/dist/commonjs/api/privateDnsZoneSuffix/options.js +1 -0
- package/dist/commonjs/api/privateDnsZoneSuffix/options.js.map +1 -1
- package/dist/commonjs/api/privateEndpointConnections/index.js +1 -0
- package/dist/commonjs/api/privateEndpointConnections/index.js.map +1 -1
- package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +0 -5
- package/dist/commonjs/api/privateEndpointConnections/operations.js +20 -11
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +3 -3
- package/dist/commonjs/api/privateEndpointConnections/options.js +1 -0
- package/dist/commonjs/api/privateEndpointConnections/options.js.map +1 -1
- package/dist/commonjs/api/privateLinkResources/index.js +1 -0
- package/dist/commonjs/api/privateLinkResources/index.js.map +1 -1
- package/dist/commonjs/api/privateLinkResources/operations.js +10 -5
- package/dist/commonjs/api/privateLinkResources/operations.js.map +3 -3
- package/dist/commonjs/api/privateLinkResources/options.js +1 -0
- package/dist/commonjs/api/privateLinkResources/options.js.map +1 -1
- package/dist/commonjs/api/quotaUsages/index.js +1 -0
- package/dist/commonjs/api/quotaUsages/index.js.map +1 -1
- package/dist/commonjs/api/quotaUsages/operations.js +6 -3
- package/dist/commonjs/api/quotaUsages/operations.js.map +3 -3
- package/dist/commonjs/api/quotaUsages/options.js +1 -0
- package/dist/commonjs/api/quotaUsages/options.js.map +1 -1
- package/dist/commonjs/api/replicas/index.js +1 -0
- package/dist/commonjs/api/replicas/index.js.map +1 -1
- package/dist/commonjs/api/replicas/operations.js +6 -3
- package/dist/commonjs/api/replicas/operations.js.map +3 -3
- package/dist/commonjs/api/replicas/options.js +1 -0
- package/dist/commonjs/api/replicas/options.js.map +1 -1
- package/dist/commonjs/api/serverThreatProtectionSettings/index.js +1 -0
- package/dist/commonjs/api/serverThreatProtectionSettings/index.js.map +1 -1
- package/dist/commonjs/api/serverThreatProtectionSettings/operations.js +6 -3
- package/dist/commonjs/api/serverThreatProtectionSettings/operations.js.map +3 -3
- package/dist/commonjs/api/serverThreatProtectionSettings/options.js +1 -0
- package/dist/commonjs/api/serverThreatProtectionSettings/options.js.map +1 -1
- package/dist/commonjs/api/servers/index.d.ts +2 -2
- package/dist/commonjs/api/servers/index.js +3 -0
- package/dist/commonjs/api/servers/index.js.map +3 -3
- package/dist/commonjs/api/servers/operations.d.ts +7 -8
- package/dist/commonjs/api/servers/operations.js +108 -30
- package/dist/commonjs/api/servers/operations.js.map +3 -3
- package/dist/commonjs/api/servers/options.d.ts +5 -0
- package/dist/commonjs/api/servers/options.js +1 -0
- package/dist/commonjs/api/servers/options.js.map +2 -2
- package/dist/commonjs/api/tuningOptionsOperations/index.d.ts +3 -0
- package/dist/commonjs/api/{tuningOptions → tuningOptionsOperations}/index.js +4 -3
- package/dist/commonjs/api/{tuningOptions → tuningOptionsOperations}/index.js.map +2 -2
- package/dist/commonjs/api/{tuningOptions → tuningOptionsOperations}/operations.d.ts +7 -7
- package/dist/commonjs/api/{tuningOptions → tuningOptionsOperations}/operations.js +15 -8
- package/dist/commonjs/api/tuningOptionsOperations/operations.js.map +7 -0
- package/dist/{react-native/api/tuningOptions → commonjs/api/tuningOptionsOperations}/options.d.ts +3 -3
- package/dist/commonjs/api/tuningOptionsOperations/options.js +16 -0
- package/dist/commonjs/api/tuningOptionsOperations/options.js.map +7 -0
- package/dist/commonjs/api/virtualEndpoints/index.js +1 -0
- package/dist/commonjs/api/virtualEndpoints/index.js.map +1 -1
- package/dist/commonjs/api/virtualEndpoints/operations.d.ts +0 -5
- package/dist/commonjs/api/virtualEndpoints/operations.js +25 -14
- package/dist/commonjs/api/virtualEndpoints/operations.js.map +3 -3
- package/dist/commonjs/api/virtualEndpoints/options.js +1 -0
- package/dist/commonjs/api/virtualEndpoints/options.js.map +1 -1
- package/dist/commonjs/api/virtualNetworkSubnetUsage/index.js +1 -0
- package/dist/commonjs/api/virtualNetworkSubnetUsage/index.js.map +1 -1
- package/dist/commonjs/api/virtualNetworkSubnetUsage/operations.js +5 -2
- package/dist/commonjs/api/virtualNetworkSubnetUsage/operations.js.map +3 -3
- package/dist/commonjs/api/virtualNetworkSubnetUsage/options.js +1 -0
- package/dist/commonjs/api/virtualNetworkSubnetUsage/options.js.map +1 -1
- package/dist/commonjs/classic/administratorsMicrosoftEntra/index.d.ts +0 -5
- package/dist/commonjs/classic/administratorsMicrosoftEntra/index.js +1 -0
- package/dist/commonjs/classic/administratorsMicrosoftEntra/index.js.map +3 -3
- package/dist/commonjs/classic/advancedThreatProtectionSettings/index.js +1 -0
- package/dist/commonjs/classic/advancedThreatProtectionSettings/index.js.map +1 -1
- package/dist/commonjs/classic/backupsAutomaticAndOnDemand/index.d.ts +0 -5
- package/dist/commonjs/classic/backupsAutomaticAndOnDemand/index.js +1 -0
- package/dist/commonjs/classic/backupsAutomaticAndOnDemand/index.js.map +3 -3
- package/dist/commonjs/classic/backupsLongTermRetention/index.js +1 -0
- package/dist/commonjs/classic/backupsLongTermRetention/index.js.map +1 -1
- package/dist/commonjs/classic/capabilitiesByLocation/index.js +1 -0
- package/dist/commonjs/classic/capabilitiesByLocation/index.js.map +1 -1
- package/dist/commonjs/classic/capabilitiesByServer/index.js +1 -0
- package/dist/commonjs/classic/capabilitiesByServer/index.js.map +1 -1
- package/dist/commonjs/classic/capturedLogs/index.js +1 -0
- package/dist/commonjs/classic/capturedLogs/index.js.map +1 -1
- package/dist/commonjs/classic/configurations/index.js +1 -0
- package/dist/commonjs/classic/configurations/index.js.map +1 -1
- package/dist/commonjs/classic/databases/index.d.ts +0 -5
- package/dist/commonjs/classic/databases/index.js +1 -0
- package/dist/commonjs/classic/databases/index.js.map +3 -3
- package/dist/commonjs/classic/firewallRules/index.d.ts +0 -5
- package/dist/commonjs/classic/firewallRules/index.js +1 -0
- package/dist/commonjs/classic/firewallRules/index.js.map +3 -3
- package/dist/commonjs/classic/index.d.ts +3 -1
- package/dist/commonjs/classic/index.js +1 -0
- package/dist/commonjs/classic/index.js.map +2 -2
- package/dist/commonjs/classic/maintenanceEvents/index.d.ts +27 -0
- package/dist/commonjs/classic/maintenanceEvents/index.js +72 -0
- package/dist/commonjs/classic/maintenanceEvents/index.js.map +7 -0
- package/dist/commonjs/classic/majorVersionUpgradePrecheck/index.d.ts +13 -0
- package/dist/commonjs/classic/majorVersionUpgradePrecheck/index.js +39 -0
- package/dist/commonjs/classic/majorVersionUpgradePrecheck/index.js.map +7 -0
- package/dist/commonjs/classic/migrations/index.d.ts +1 -1
- package/dist/commonjs/classic/migrations/index.js +1 -0
- package/dist/commonjs/classic/migrations/index.js.map +2 -2
- package/dist/commonjs/classic/nameAvailability/index.js +1 -0
- package/dist/commonjs/classic/nameAvailability/index.js.map +1 -1
- package/dist/commonjs/classic/operations/index.js +1 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/classic/privateDnsZoneSuffix/index.js +1 -0
- package/dist/commonjs/classic/privateDnsZoneSuffix/index.js.map +1 -1
- package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +0 -5
- package/dist/commonjs/classic/privateEndpointConnections/index.js +1 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.js.map +3 -3
- package/dist/commonjs/classic/privateLinkResources/index.js +1 -0
- package/dist/commonjs/classic/privateLinkResources/index.js.map +1 -1
- package/dist/commonjs/classic/quotaUsages/index.js +1 -0
- package/dist/commonjs/classic/quotaUsages/index.js.map +1 -1
- package/dist/commonjs/classic/replicas/index.js +1 -0
- package/dist/commonjs/classic/replicas/index.js.map +1 -1
- package/dist/commonjs/classic/serverThreatProtectionSettings/index.js +1 -0
- package/dist/commonjs/classic/serverThreatProtectionSettings/index.js.map +1 -1
- package/dist/commonjs/classic/servers/index.d.ts +9 -8
- package/dist/commonjs/classic/servers/index.js +22 -0
- package/dist/commonjs/classic/servers/index.js.map +3 -3
- package/dist/commonjs/classic/tuningOptionsOperations/index.d.ts +15 -0
- package/dist/commonjs/classic/{tuningOptions → tuningOptionsOperations}/index.js +10 -9
- package/dist/commonjs/classic/tuningOptionsOperations/index.js.map +7 -0
- package/dist/commonjs/classic/virtualEndpoints/index.d.ts +0 -5
- package/dist/commonjs/classic/virtualEndpoints/index.js +1 -0
- package/dist/commonjs/classic/virtualEndpoints/index.js.map +3 -3
- package/dist/commonjs/classic/virtualNetworkSubnetUsage/index.js +1 -0
- package/dist/commonjs/classic/virtualNetworkSubnetUsage/index.js.map +1 -1
- package/dist/commonjs/index.d.ts +8 -5
- package/dist/commonjs/index.js +14 -0
- package/dist/commonjs/index.js.map +3 -3
- package/dist/commonjs/logger.js +1 -0
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +2 -2
- package/dist/commonjs/models/index.js +9 -0
- package/dist/commonjs/models/index.js.map +3 -3
- package/dist/commonjs/models/models.d.ts +769 -520
- package/dist/commonjs/models/models.js +211 -8
- package/dist/commonjs/models/models.js.map +4 -4
- package/dist/commonjs/postgreSQLManagementFlexibleServerClient.d.ts +9 -3
- package/dist/commonjs/postgreSQLManagementFlexibleServerClient.js +13 -4
- package/dist/commonjs/postgreSQLManagementFlexibleServerClient.js.map +3 -3
- package/dist/commonjs/restorePollerHelpers.js +32 -24
- package/dist/commonjs/restorePollerHelpers.js.map +3 -3
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +1 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +2 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +3 -3
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js +2 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +3 -3
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +1 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +1 -1
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/simplePollerHelpers.js +1 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/urlTemplate.js +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/administratorsMicrosoftEntra/index.js +4 -7
- package/dist/esm/api/administratorsMicrosoftEntra/index.js.map +1 -7
- package/dist/esm/api/administratorsMicrosoftEntra/operations.d.ts +0 -5
- package/dist/esm/api/administratorsMicrosoftEntra/operations.js +123 -149
- package/dist/esm/api/administratorsMicrosoftEntra/operations.js.map +1 -7
- package/dist/esm/api/administratorsMicrosoftEntra/options.js +4 -0
- package/dist/esm/api/administratorsMicrosoftEntra/options.js.map +1 -7
- package/dist/esm/api/advancedThreatProtectionSettings/index.js +4 -5
- package/dist/esm/api/advancedThreatProtectionSettings/index.js.map +1 -7
- package/dist/esm/api/advancedThreatProtectionSettings/operations.js +61 -84
- package/dist/esm/api/advancedThreatProtectionSettings/operations.js.map +1 -7
- package/dist/esm/api/advancedThreatProtectionSettings/options.js +4 -0
- package/dist/esm/api/advancedThreatProtectionSettings/options.js.map +1 -7
- package/dist/esm/api/backupsAutomaticAndOnDemand/index.js +4 -7
- package/dist/esm/api/backupsAutomaticAndOnDemand/index.js.map +1 -7
- package/dist/esm/api/backupsAutomaticAndOnDemand/operations.d.ts +0 -5
- package/dist/esm/api/backupsAutomaticAndOnDemand/operations.js +119 -144
- package/dist/esm/api/backupsAutomaticAndOnDemand/operations.js.map +1 -7
- package/dist/esm/api/backupsAutomaticAndOnDemand/options.js +4 -0
- package/dist/esm/api/backupsAutomaticAndOnDemand/options.js.map +1 -7
- package/dist/esm/api/backupsLongTermRetention/index.js +4 -7
- package/dist/esm/api/backupsLongTermRetention/index.js.map +1 -7
- package/dist/esm/api/backupsLongTermRetention/operations.js +122 -157
- package/dist/esm/api/backupsLongTermRetention/operations.js.map +1 -7
- package/dist/esm/api/backupsLongTermRetention/options.js +4 -0
- package/dist/esm/api/backupsLongTermRetention/options.js.map +1 -7
- package/dist/esm/api/capabilitiesByLocation/index.js +4 -4
- package/dist/esm/api/capabilitiesByLocation/index.js.map +1 -7
- package/dist/esm/api/capabilitiesByLocation/operations.js +32 -41
- package/dist/esm/api/capabilitiesByLocation/operations.js.map +1 -7
- package/dist/esm/api/capabilitiesByLocation/options.js +4 -0
- package/dist/esm/api/capabilitiesByLocation/options.js.map +1 -7
- package/dist/esm/api/capabilitiesByServer/index.js +4 -4
- package/dist/esm/api/capabilitiesByServer/index.js.map +1 -7
- package/dist/esm/api/capabilitiesByServer/operations.js +33 -42
- package/dist/esm/api/capabilitiesByServer/operations.js.map +1 -7
- package/dist/esm/api/capabilitiesByServer/options.js +4 -0
- package/dist/esm/api/capabilitiesByServer/options.js.map +1 -7
- package/dist/esm/api/capturedLogs/index.js +4 -4
- package/dist/esm/api/capturedLogs/index.js.map +1 -7
- package/dist/esm/api/capturedLogs/operations.js +33 -42
- package/dist/esm/api/capturedLogs/operations.js.map +1 -7
- package/dist/esm/api/capturedLogs/options.js +4 -0
- package/dist/esm/api/capturedLogs/options.js.map +1 -7
- package/dist/esm/api/configurations/index.js +4 -7
- package/dist/esm/api/configurations/index.js.map +1 -7
- package/dist/esm/api/configurations/operations.js +127 -153
- package/dist/esm/api/configurations/operations.js.map +1 -7
- package/dist/esm/api/configurations/options.js +4 -0
- package/dist/esm/api/configurations/options.js.map +1 -7
- package/dist/esm/api/databases/index.js +4 -7
- package/dist/esm/api/databases/index.js.map +1 -7
- package/dist/esm/api/databases/operations.d.ts +0 -5
- package/dist/esm/api/databases/operations.js +123 -149
- package/dist/esm/api/databases/operations.js.map +1 -7
- package/dist/esm/api/databases/options.js +4 -0
- package/dist/esm/api/databases/options.js.map +1 -7
- package/dist/esm/api/firewallRules/index.js +4 -7
- package/dist/esm/api/firewallRules/index.js.map +1 -7
- package/dist/esm/api/firewallRules/operations.d.ts +0 -5
- package/dist/esm/api/firewallRules/operations.js +123 -156
- package/dist/esm/api/firewallRules/operations.js.map +1 -7
- package/dist/esm/api/firewallRules/options.js +4 -0
- package/dist/esm/api/firewallRules/options.js.map +1 -7
- package/dist/esm/api/index.js +4 -4
- package/dist/esm/api/index.js.map +1 -7
- package/dist/esm/api/maintenanceEvents/index.d.ts +3 -0
- package/dist/esm/api/maintenanceEvents/index.js +4 -0
- package/dist/esm/api/maintenanceEvents/index.js.map +1 -0
- package/dist/esm/api/maintenanceEvents/operations.d.ts +23 -0
- package/dist/esm/api/maintenanceEvents/operations.js +147 -0
- package/dist/esm/api/maintenanceEvents/operations.js.map +1 -0
- package/dist/esm/api/maintenanceEvents/options.d.ts +21 -0
- package/dist/esm/api/maintenanceEvents/options.js.map +1 -0
- package/dist/esm/api/majorVersionUpgradePrecheck/index.d.ts +3 -0
- package/dist/esm/api/majorVersionUpgradePrecheck/index.js +4 -0
- package/dist/esm/api/majorVersionUpgradePrecheck/index.js.map +1 -0
- package/dist/esm/api/majorVersionUpgradePrecheck/operations.d.ts +14 -0
- package/dist/{react-native/api/privateLinkResources → esm/api/majorVersionUpgradePrecheck}/operations.js +24 -20
- package/dist/esm/api/majorVersionUpgradePrecheck/operations.js.map +1 -0
- package/dist/esm/api/majorVersionUpgradePrecheck/options.d.ts +8 -0
- package/dist/esm/api/majorVersionUpgradePrecheck/options.js.map +1 -0
- package/dist/esm/api/migrations/index.js +4 -16
- package/dist/esm/api/migrations/index.js.map +1 -7
- package/dist/esm/api/migrations/operations.d.ts +2 -2
- package/dist/esm/api/migrations/operations.js +190 -247
- package/dist/esm/api/migrations/operations.js.map +1 -7
- package/dist/esm/api/migrations/options.js +4 -0
- package/dist/esm/api/migrations/options.js.map +1 -7
- package/dist/esm/api/nameAvailability/index.js +4 -5
- package/dist/esm/api/nameAvailability/index.js.map +1 -7
- package/dist/esm/api/nameAvailability/operations.js +58 -69
- package/dist/esm/api/nameAvailability/operations.js.map +1 -7
- package/dist/esm/api/nameAvailability/options.js +4 -0
- package/dist/esm/api/nameAvailability/options.js.map +1 -7
- package/dist/esm/api/operations/index.js +4 -4
- package/dist/esm/api/operations/index.js.map +1 -7
- package/dist/esm/api/operations/operations.js +30 -39
- package/dist/esm/api/operations/operations.js.map +1 -7
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -7
- package/dist/esm/api/postgreSQLManagementFlexibleServerContext.js +26 -21
- package/dist/esm/api/postgreSQLManagementFlexibleServerContext.js.map +1 -7
- package/dist/esm/api/privateDnsZoneSuffix/index.js +4 -4
- package/dist/esm/api/privateDnsZoneSuffix/index.js.map +1 -7
- package/dist/esm/api/privateDnsZoneSuffix/operations.js +27 -30
- package/dist/esm/api/privateDnsZoneSuffix/operations.js.map +1 -7
- package/dist/esm/api/privateDnsZoneSuffix/options.js +4 -0
- package/dist/esm/api/privateDnsZoneSuffix/options.js.map +1 -7
- package/dist/esm/api/privateEndpointConnections/index.js +4 -7
- package/dist/esm/api/privateEndpointConnections/index.js.map +1 -7
- package/dist/esm/api/privateEndpointConnections/operations.d.ts +0 -5
- package/dist/esm/api/privateEndpointConnections/operations.js +123 -162
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -7
- package/dist/esm/api/privateEndpointConnections/options.js +4 -0
- package/dist/esm/api/privateEndpointConnections/options.js.map +1 -7
- package/dist/esm/api/privateLinkResources/index.js +4 -5
- package/dist/esm/api/privateLinkResources/index.js.map +1 -7
- package/dist/esm/api/privateLinkResources/operations.js +61 -78
- package/dist/esm/api/privateLinkResources/operations.js.map +1 -7
- package/dist/esm/api/privateLinkResources/options.js +4 -0
- package/dist/esm/api/privateLinkResources/options.js.map +1 -7
- package/dist/esm/api/quotaUsages/index.js +4 -4
- package/dist/esm/api/quotaUsages/index.js.map +1 -7
- package/dist/esm/api/quotaUsages/operations.js +32 -41
- package/dist/esm/api/quotaUsages/operations.js.map +1 -7
- package/dist/esm/api/quotaUsages/options.js +4 -0
- package/dist/esm/api/quotaUsages/options.js.map +1 -7
- package/dist/esm/api/replicas/index.js +4 -4
- package/dist/esm/api/replicas/index.js.map +1 -7
- package/dist/esm/api/replicas/operations.js +33 -42
- package/dist/esm/api/replicas/operations.js.map +1 -7
- package/dist/esm/api/replicas/options.js +4 -0
- package/dist/esm/api/replicas/options.js.map +1 -7
- package/dist/esm/api/serverThreatProtectionSettings/index.js +4 -4
- package/dist/esm/api/serverThreatProtectionSettings/index.js.map +1 -7
- package/dist/esm/api/serverThreatProtectionSettings/operations.js +38 -52
- package/dist/esm/api/serverThreatProtectionSettings/operations.js.map +1 -7
- package/dist/esm/api/serverThreatProtectionSettings/options.js +4 -0
- package/dist/esm/api/serverThreatProtectionSettings/options.js.map +1 -7
- package/dist/esm/api/servers/index.d.ts +2 -2
- package/dist/esm/api/servers/index.js +4 -24
- package/dist/esm/api/servers/index.js.map +1 -7
- package/dist/esm/api/servers/operations.d.ts +7 -8
- package/dist/esm/api/servers/operations.js +364 -384
- package/dist/esm/api/servers/operations.js.map +1 -7
- package/dist/esm/api/servers/options.d.ts +5 -0
- package/dist/esm/api/servers/options.js +4 -0
- package/dist/esm/api/servers/options.js.map +1 -7
- package/dist/esm/api/tuningOptionsOperations/index.d.ts +3 -0
- package/dist/esm/api/tuningOptionsOperations/index.js.map +1 -0
- package/dist/{react-native/api/tuningOptions → esm/api/tuningOptionsOperations}/operations.d.ts +7 -7
- package/dist/{react-native/api/tuningOptions → esm/api/tuningOptionsOperations}/operations.js +14 -8
- package/dist/esm/api/tuningOptionsOperations/operations.js.map +1 -0
- package/dist/esm/api/{tuningOptions → tuningOptionsOperations}/options.d.ts +3 -3
- package/dist/esm/api/tuningOptionsOperations/options.js.map +1 -0
- package/dist/esm/api/virtualEndpoints/index.js +4 -8
- package/dist/esm/api/virtualEndpoints/index.js.map +1 -7
- package/dist/esm/api/virtualEndpoints/operations.d.ts +0 -5
- package/dist/esm/api/virtualEndpoints/operations.js +156 -193
- package/dist/esm/api/virtualEndpoints/operations.js.map +1 -7
- package/dist/esm/api/virtualEndpoints/options.js +4 -0
- package/dist/esm/api/virtualEndpoints/options.js.map +1 -7
- package/dist/esm/api/virtualNetworkSubnetUsage/index.js +4 -4
- package/dist/esm/api/virtualNetworkSubnetUsage/index.js.map +1 -7
- package/dist/esm/api/virtualNetworkSubnetUsage/operations.js +32 -39
- package/dist/esm/api/virtualNetworkSubnetUsage/operations.js.map +1 -7
- package/dist/esm/api/virtualNetworkSubnetUsage/options.js +4 -0
- package/dist/esm/api/virtualNetworkSubnetUsage/options.js.map +1 -7
- package/dist/esm/classic/administratorsMicrosoftEntra/index.d.ts +0 -5
- package/dist/esm/classic/administratorsMicrosoftEntra/index.js +30 -49
- package/dist/esm/classic/administratorsMicrosoftEntra/index.js.map +1 -7
- package/dist/esm/classic/advancedThreatProtectionSettings/index.js +11 -11
- package/dist/esm/classic/advancedThreatProtectionSettings/index.js.map +1 -7
- package/dist/esm/classic/backupsAutomaticAndOnDemand/index.d.ts +0 -5
- package/dist/esm/classic/backupsAutomaticAndOnDemand/index.js +30 -35
- package/dist/esm/classic/backupsAutomaticAndOnDemand/index.js.map +1 -7
- package/dist/esm/classic/backupsLongTermRetention/index.js +22 -27
- package/dist/esm/classic/backupsLongTermRetention/index.js.map +1 -7
- package/dist/esm/classic/capabilitiesByLocation/index.js +10 -10
- package/dist/esm/classic/capabilitiesByLocation/index.js.map +1 -7
- package/dist/esm/classic/capabilitiesByServer/index.js +10 -10
- package/dist/esm/classic/capabilitiesByServer/index.js.map +1 -7
- package/dist/esm/classic/capturedLogs/index.js +10 -10
- package/dist/esm/classic/capturedLogs/index.js.map +1 -7
- package/dist/esm/classic/configurations/index.js +29 -57
- package/dist/esm/classic/configurations/index.js.map +1 -7
- package/dist/esm/classic/databases/index.d.ts +0 -5
- package/dist/esm/classic/databases/index.js +29 -43
- package/dist/esm/classic/databases/index.js.map +1 -7
- package/dist/esm/classic/firewallRules/index.d.ts +0 -5
- package/dist/esm/classic/firewallRules/index.js +29 -43
- package/dist/esm/classic/firewallRules/index.js.map +1 -7
- package/dist/esm/classic/index.d.ts +3 -1
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -7
- package/dist/esm/classic/maintenanceEvents/index.d.ts +27 -0
- package/dist/esm/classic/maintenanceEvents/index.js +34 -0
- package/dist/esm/classic/maintenanceEvents/index.js.map +1 -0
- package/dist/esm/classic/majorVersionUpgradePrecheck/index.d.ts +13 -0
- package/dist/esm/classic/majorVersionUpgradePrecheck/index.js +15 -0
- package/dist/esm/classic/majorVersionUpgradePrecheck/index.js.map +1 -0
- package/dist/esm/classic/migrations/index.d.ts +1 -1
- package/dist/esm/classic/migrations/index.js +16 -23
- package/dist/esm/classic/migrations/index.js.map +1 -7
- package/dist/esm/classic/nameAvailability/index.js +11 -11
- package/dist/esm/classic/nameAvailability/index.js.map +1 -7
- package/dist/esm/classic/operations/index.js +10 -10
- package/dist/esm/classic/operations/index.js.map +1 -7
- package/dist/esm/classic/privateDnsZoneSuffix/index.js +10 -10
- package/dist/esm/classic/privateDnsZoneSuffix/index.js.map +1 -7
- package/dist/esm/classic/privateEndpointConnections/index.d.ts +0 -5
- package/dist/esm/classic/privateEndpointConnections/index.js +30 -68
- package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -7
- package/dist/esm/classic/privateLinkResources/index.js +11 -11
- package/dist/esm/classic/privateLinkResources/index.js.map +1 -7
- package/dist/esm/classic/quotaUsages/index.js +10 -10
- package/dist/esm/classic/quotaUsages/index.js.map +1 -7
- package/dist/esm/classic/replicas/index.js +10 -10
- package/dist/esm/classic/replicas/index.js.map +1 -7
- package/dist/esm/classic/serverThreatProtectionSettings/index.js +18 -39
- package/dist/esm/classic/serverThreatProtectionSettings/index.js.map +1 -7
- package/dist/esm/classic/servers/index.d.ts +9 -8
- package/dist/esm/classic/servers/index.js +85 -87
- package/dist/esm/classic/servers/index.js.map +1 -7
- package/dist/esm/classic/tuningOptionsOperations/index.d.ts +15 -0
- package/dist/{browser/classic/tuningOptions → esm/classic/tuningOptionsOperations}/index.js +4 -4
- package/dist/esm/classic/tuningOptionsOperations/index.js.map +1 -0
- package/dist/esm/classic/virtualEndpoints/index.d.ts +0 -5
- package/dist/esm/classic/virtualEndpoints/index.js +39 -73
- package/dist/esm/classic/virtualEndpoints/index.js.map +1 -7
- package/dist/esm/classic/virtualNetworkSubnetUsage/index.js +10 -10
- package/dist/esm/classic/virtualNetworkSubnetUsage/index.js.map +1 -7
- package/dist/esm/index.d.ts +8 -5
- package/dist/esm/index.js +8 -135
- package/dist/esm/index.js.map +1 -7
- package/dist/esm/logger.js +4 -4
- package/dist/esm/logger.js.map +1 -7
- package/dist/esm/models/index.d.ts +2 -2
- package/dist/esm/models/index.js +4 -130
- package/dist/esm/models/index.js.map +1 -7
- package/dist/esm/models/models.d.ts +769 -520
- package/dist/esm/models/models.js +3321 -2747
- package/dist/esm/models/models.js.map +1 -7
- package/dist/esm/postgreSQLManagementFlexibleServerClient.d.ts +9 -3
- package/dist/esm/postgreSQLManagementFlexibleServerClient.js +104 -97
- package/dist/esm/postgreSQLManagementFlexibleServerClient.js.map +1 -7
- package/dist/esm/restorePollerHelpers.js +132 -144
- package/dist/esm/restorePollerHelpers.js.map +1 -7
- package/dist/esm/static-helpers/cloudSettingHelpers.js +37 -26
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -7
- package/dist/esm/static-helpers/pagingHelpers.js +122 -98
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -7
- package/dist/esm/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js +86 -68
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -7
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +15 -9
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -7
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/simplePollerHelpers.js +43 -42
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -7
- package/dist/esm/static-helpers/urlTemplate.js +169 -142
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -7
- package/package.json +58 -126
- package/dist/browser/api/tuningOptions/index.d.ts +0 -3
- package/dist/browser/api/tuningOptions/index.js.map +0 -1
- package/dist/browser/api/tuningOptions/operations.d.ts +0 -18
- package/dist/browser/api/tuningOptions/operations.js.map +0 -1
- package/dist/browser/api/tuningOptions/options.js.map +0 -1
- package/dist/browser/classic/tuningOptions/index.d.ts +0 -15
- package/dist/browser/classic/tuningOptions/index.js.map +0 -1
- package/dist/commonjs/api/tuningOptions/index.d.ts +0 -3
- package/dist/commonjs/api/tuningOptions/operations.js.map +0 -7
- package/dist/commonjs/api/tuningOptions/options.d.ts +0 -14
- package/dist/commonjs/api/tuningOptions/options.js.map +0 -7
- package/dist/commonjs/classic/tuningOptions/index.d.ts +0 -15
- package/dist/commonjs/classic/tuningOptions/index.js.map +0 -7
- package/dist/esm/api/tuningOptions/index.d.ts +0 -3
- package/dist/esm/api/tuningOptions/index.js +0 -6
- package/dist/esm/api/tuningOptions/index.js.map +0 -7
- package/dist/esm/api/tuningOptions/operations.js +0 -134
- package/dist/esm/api/tuningOptions/operations.js.map +0 -7
- package/dist/esm/api/tuningOptions/options.js +0 -0
- package/dist/esm/api/tuningOptions/options.js.map +0 -7
- package/dist/esm/classic/tuningOptions/index.d.ts +0 -15
- package/dist/esm/classic/tuningOptions/index.js +0 -16
- package/dist/esm/classic/tuningOptions/index.js.map +0 -7
- package/dist/react-native/api/administratorsMicrosoftEntra/index.d.ts +0 -3
- package/dist/react-native/api/administratorsMicrosoftEntra/index.js +0 -4
- package/dist/react-native/api/administratorsMicrosoftEntra/index.js.map +0 -1
- package/dist/react-native/api/administratorsMicrosoftEntra/operations.d.ts +0 -28
- package/dist/react-native/api/administratorsMicrosoftEntra/operations.js +0 -139
- package/dist/react-native/api/administratorsMicrosoftEntra/operations.js.map +0 -1
- package/dist/react-native/api/administratorsMicrosoftEntra/options.d.ts +0 -18
- package/dist/react-native/api/administratorsMicrosoftEntra/options.js.map +0 -1
- package/dist/react-native/api/advancedThreatProtectionSettings/index.d.ts +0 -3
- package/dist/react-native/api/advancedThreatProtectionSettings/index.js +0 -4
- package/dist/react-native/api/advancedThreatProtectionSettings/index.js.map +0 -1
- package/dist/react-native/api/advancedThreatProtectionSettings/operations.d.ts +0 -14
- package/dist/react-native/api/advancedThreatProtectionSettings/operations.js.map +0 -1
- package/dist/react-native/api/advancedThreatProtectionSettings/options.d.ts +0 -8
- package/dist/react-native/api/advancedThreatProtectionSettings/options.js.map +0 -1
- package/dist/react-native/api/backupsAutomaticAndOnDemand/index.d.ts +0 -3
- package/dist/react-native/api/backupsAutomaticAndOnDemand/index.js +0 -4
- package/dist/react-native/api/backupsAutomaticAndOnDemand/index.js.map +0 -1
- package/dist/react-native/api/backupsAutomaticAndOnDemand/operations.d.ts +0 -28
- package/dist/react-native/api/backupsAutomaticAndOnDemand/operations.js +0 -135
- package/dist/react-native/api/backupsAutomaticAndOnDemand/operations.js.map +0 -1
- package/dist/react-native/api/backupsAutomaticAndOnDemand/options.d.ts +0 -18
- package/dist/react-native/api/backupsAutomaticAndOnDemand/options.js.map +0 -1
- package/dist/react-native/api/backupsLongTermRetention/index.d.ts +0 -3
- package/dist/react-native/api/backupsLongTermRetention/index.js +0 -4
- package/dist/react-native/api/backupsLongTermRetention/index.js.map +0 -1
- package/dist/react-native/api/backupsLongTermRetention/operations.d.ts +0 -23
- package/dist/react-native/api/backupsLongTermRetention/operations.js +0 -133
- package/dist/react-native/api/backupsLongTermRetention/operations.js.map +0 -1
- package/dist/react-native/api/backupsLongTermRetention/options.d.ts +0 -16
- package/dist/react-native/api/backupsLongTermRetention/options.js.map +0 -1
- package/dist/react-native/api/capabilitiesByLocation/index.d.ts +0 -3
- package/dist/react-native/api/capabilitiesByLocation/index.js +0 -4
- package/dist/react-native/api/capabilitiesByLocation/index.js.map +0 -1
- package/dist/react-native/api/capabilitiesByLocation/operations.d.ts +0 -10
- package/dist/react-native/api/capabilitiesByLocation/operations.js +0 -37
- package/dist/react-native/api/capabilitiesByLocation/operations.js.map +0 -1
- package/dist/react-native/api/capabilitiesByLocation/options.d.ts +0 -5
- package/dist/react-native/api/capabilitiesByLocation/options.js.map +0 -1
- package/dist/react-native/api/capabilitiesByServer/index.d.ts +0 -3
- package/dist/react-native/api/capabilitiesByServer/index.js +0 -4
- package/dist/react-native/api/capabilitiesByServer/index.js.map +0 -1
- package/dist/react-native/api/capabilitiesByServer/operations.d.ts +0 -10
- package/dist/react-native/api/capabilitiesByServer/operations.js +0 -38
- package/dist/react-native/api/capabilitiesByServer/operations.js.map +0 -1
- package/dist/react-native/api/capabilitiesByServer/options.d.ts +0 -5
- package/dist/react-native/api/capabilitiesByServer/options.js +0 -4
- package/dist/react-native/api/capabilitiesByServer/options.js.map +0 -1
- package/dist/react-native/api/capturedLogs/index.d.ts +0 -3
- package/dist/react-native/api/capturedLogs/index.js +0 -4
- package/dist/react-native/api/capturedLogs/index.js.map +0 -1
- package/dist/react-native/api/capturedLogs/operations.d.ts +0 -10
- package/dist/react-native/api/capturedLogs/operations.js +0 -38
- package/dist/react-native/api/capturedLogs/operations.js.map +0 -1
- package/dist/react-native/api/capturedLogs/options.d.ts +0 -5
- package/dist/react-native/api/capturedLogs/options.js +0 -4
- package/dist/react-native/api/capturedLogs/options.js.map +0 -1
- package/dist/react-native/api/configurations/index.d.ts +0 -3
- package/dist/react-native/api/configurations/index.js +0 -4
- package/dist/react-native/api/configurations/index.js.map +0 -1
- package/dist/react-native/api/configurations/operations.d.ts +0 -23
- package/dist/react-native/api/configurations/operations.js +0 -138
- package/dist/react-native/api/configurations/operations.js.map +0 -1
- package/dist/react-native/api/configurations/options.d.ts +0 -18
- package/dist/react-native/api/configurations/options.js +0 -4
- package/dist/react-native/api/configurations/options.js.map +0 -1
- package/dist/react-native/api/databases/index.d.ts +0 -3
- package/dist/react-native/api/databases/index.js +0 -4
- package/dist/react-native/api/databases/index.js.map +0 -1
- package/dist/react-native/api/databases/operations.d.ts +0 -28
- package/dist/react-native/api/databases/operations.js +0 -139
- package/dist/react-native/api/databases/operations.js.map +0 -1
- package/dist/react-native/api/databases/options.d.ts +0 -18
- package/dist/react-native/api/databases/options.js +0 -4
- package/dist/react-native/api/databases/options.js.map +0 -1
- package/dist/react-native/api/firewallRules/index.d.ts +0 -3
- package/dist/react-native/api/firewallRules/index.js +0 -4
- package/dist/react-native/api/firewallRules/index.js.map +0 -1
- package/dist/react-native/api/firewallRules/operations.d.ts +0 -28
- package/dist/react-native/api/firewallRules/operations.js +0 -139
- package/dist/react-native/api/firewallRules/operations.js.map +0 -1
- package/dist/react-native/api/firewallRules/options.d.ts +0 -18
- package/dist/react-native/api/firewallRules/options.js +0 -4
- package/dist/react-native/api/firewallRules/options.js.map +0 -1
- package/dist/react-native/api/index.d.ts +0 -3
- package/dist/react-native/api/index.js +0 -4
- package/dist/react-native/api/index.js.map +0 -1
- package/dist/react-native/api/migrations/index.d.ts +0 -3
- package/dist/react-native/api/migrations/index.js +0 -4
- package/dist/react-native/api/migrations/index.js.map +0 -1
- package/dist/react-native/api/migrations/operations.d.ts +0 -30
- package/dist/react-native/api/migrations/operations.js +0 -189
- package/dist/react-native/api/migrations/operations.js.map +0 -1
- package/dist/react-native/api/migrations/options.d.ts +0 -23
- package/dist/react-native/api/migrations/options.js +0 -4
- package/dist/react-native/api/migrations/options.js.map +0 -1
- package/dist/react-native/api/nameAvailability/index.d.ts +0 -3
- package/dist/react-native/api/nameAvailability/index.js +0 -4
- package/dist/react-native/api/nameAvailability/index.js.map +0 -1
- package/dist/react-native/api/nameAvailability/operations.d.ts +0 -13
- package/dist/react-native/api/nameAvailability/operations.js +0 -63
- package/dist/react-native/api/nameAvailability/operations.js.map +0 -1
- package/dist/react-native/api/nameAvailability/options.d.ts +0 -8
- package/dist/react-native/api/nameAvailability/options.js +0 -4
- package/dist/react-native/api/nameAvailability/options.js.map +0 -1
- package/dist/react-native/api/operations/index.d.ts +0 -3
- package/dist/react-native/api/operations/index.js +0 -4
- package/dist/react-native/api/operations/index.js.map +0 -1
- package/dist/react-native/api/operations/operations.d.ts +0 -10
- package/dist/react-native/api/operations/operations.js +0 -35
- package/dist/react-native/api/operations/operations.js.map +0 -1
- package/dist/react-native/api/operations/options.d.ts +0 -5
- package/dist/react-native/api/operations/options.js +0 -4
- package/dist/react-native/api/operations/options.js.map +0 -1
- package/dist/react-native/api/postgreSQLManagementFlexibleServerContext.d.ts +0 -22
- package/dist/react-native/api/postgreSQLManagementFlexibleServerContext.js +0 -28
- package/dist/react-native/api/postgreSQLManagementFlexibleServerContext.js.map +0 -1
- package/dist/react-native/api/privateDnsZoneSuffix/index.d.ts +0 -3
- package/dist/react-native/api/privateDnsZoneSuffix/index.js +0 -4
- package/dist/react-native/api/privateDnsZoneSuffix/index.js.map +0 -1
- package/dist/react-native/api/privateDnsZoneSuffix/operations.d.ts +0 -9
- package/dist/react-native/api/privateDnsZoneSuffix/operations.js +0 -31
- package/dist/react-native/api/privateDnsZoneSuffix/operations.js.map +0 -1
- package/dist/react-native/api/privateDnsZoneSuffix/options.d.ts +0 -5
- package/dist/react-native/api/privateDnsZoneSuffix/options.js +0 -4
- package/dist/react-native/api/privateDnsZoneSuffix/options.js.map +0 -1
- package/dist/react-native/api/privateEndpointConnections/index.d.ts +0 -3
- package/dist/react-native/api/privateEndpointConnections/index.js +0 -4
- package/dist/react-native/api/privateEndpointConnections/index.js.map +0 -1
- package/dist/react-native/api/privateEndpointConnections/operations.d.ts +0 -28
- package/dist/react-native/api/privateEndpointConnections/operations.js +0 -139
- package/dist/react-native/api/privateEndpointConnections/operations.js.map +0 -1
- package/dist/react-native/api/privateEndpointConnections/options.d.ts +0 -18
- package/dist/react-native/api/privateEndpointConnections/options.js +0 -4
- package/dist/react-native/api/privateEndpointConnections/options.js.map +0 -1
- package/dist/react-native/api/privateLinkResources/index.d.ts +0 -3
- package/dist/react-native/api/privateLinkResources/index.js +0 -4
- package/dist/react-native/api/privateLinkResources/index.js.map +0 -1
- package/dist/react-native/api/privateLinkResources/operations.d.ts +0 -14
- package/dist/react-native/api/privateLinkResources/operations.js.map +0 -1
- package/dist/react-native/api/privateLinkResources/options.d.ts +0 -8
- package/dist/react-native/api/privateLinkResources/options.js +0 -4
- package/dist/react-native/api/privateLinkResources/options.js.map +0 -1
- package/dist/react-native/api/quotaUsages/index.d.ts +0 -3
- package/dist/react-native/api/quotaUsages/index.js +0 -4
- package/dist/react-native/api/quotaUsages/index.js.map +0 -1
- package/dist/react-native/api/quotaUsages/operations.d.ts +0 -10
- package/dist/react-native/api/quotaUsages/operations.js +0 -37
- package/dist/react-native/api/quotaUsages/operations.js.map +0 -1
- package/dist/react-native/api/quotaUsages/options.d.ts +0 -5
- package/dist/react-native/api/quotaUsages/options.js +0 -4
- package/dist/react-native/api/quotaUsages/options.js.map +0 -1
- package/dist/react-native/api/replicas/index.d.ts +0 -3
- package/dist/react-native/api/replicas/index.js +0 -4
- package/dist/react-native/api/replicas/index.js.map +0 -1
- package/dist/react-native/api/replicas/operations.d.ts +0 -10
- package/dist/react-native/api/replicas/operations.js +0 -38
- package/dist/react-native/api/replicas/operations.js.map +0 -1
- package/dist/react-native/api/replicas/options.d.ts +0 -5
- package/dist/react-native/api/replicas/options.js +0 -4
- package/dist/react-native/api/replicas/options.js.map +0 -1
- package/dist/react-native/api/serverThreatProtectionSettings/index.d.ts +0 -3
- package/dist/react-native/api/serverThreatProtectionSettings/index.js +0 -4
- package/dist/react-native/api/serverThreatProtectionSettings/index.js.map +0 -1
- package/dist/react-native/api/serverThreatProtectionSettings/operations.d.ts +0 -10
- package/dist/react-native/api/serverThreatProtectionSettings/operations.js +0 -42
- package/dist/react-native/api/serverThreatProtectionSettings/operations.js.map +0 -1
- package/dist/react-native/api/serverThreatProtectionSettings/options.d.ts +0 -7
- package/dist/react-native/api/serverThreatProtectionSettings/options.js +0 -4
- package/dist/react-native/api/serverThreatProtectionSettings/options.js.map +0 -1
- package/dist/react-native/api/servers/index.d.ts +0 -3
- package/dist/react-native/api/servers/index.js +0 -4
- package/dist/react-native/api/servers/index.js.map +0 -1
- package/dist/react-native/api/servers/operations.d.ts +0 -52
- package/dist/react-native/api/servers/operations.js +0 -327
- package/dist/react-native/api/servers/operations.js.map +0 -1
- package/dist/react-native/api/servers/options.d.ts +0 -49
- package/dist/react-native/api/servers/options.js +0 -4
- package/dist/react-native/api/servers/options.js.map +0 -1
- package/dist/react-native/api/tuningOptions/index.d.ts +0 -3
- package/dist/react-native/api/tuningOptions/index.js.map +0 -1
- package/dist/react-native/api/tuningOptions/operations.js.map +0 -1
- package/dist/react-native/api/tuningOptions/options.js +0 -4
- package/dist/react-native/api/tuningOptions/options.js.map +0 -1
- package/dist/react-native/api/virtualEndpoints/index.d.ts +0 -3
- package/dist/react-native/api/virtualEndpoints/index.js +0 -4
- package/dist/react-native/api/virtualEndpoints/index.js.map +0 -1
- package/dist/react-native/api/virtualEndpoints/operations.d.ts +0 -32
- package/dist/react-native/api/virtualEndpoints/operations.js +0 -174
- package/dist/react-native/api/virtualEndpoints/operations.js.map +0 -1
- package/dist/react-native/api/virtualEndpoints/options.d.ts +0 -23
- package/dist/react-native/api/virtualEndpoints/options.js +0 -4
- package/dist/react-native/api/virtualEndpoints/options.js.map +0 -1
- package/dist/react-native/api/virtualNetworkSubnetUsage/index.d.ts +0 -3
- package/dist/react-native/api/virtualNetworkSubnetUsage/index.js +0 -4
- package/dist/react-native/api/virtualNetworkSubnetUsage/index.js.map +0 -1
- package/dist/react-native/api/virtualNetworkSubnetUsage/operations.d.ts +0 -9
- package/dist/react-native/api/virtualNetworkSubnetUsage/operations.js +0 -35
- package/dist/react-native/api/virtualNetworkSubnetUsage/operations.js.map +0 -1
- package/dist/react-native/api/virtualNetworkSubnetUsage/options.d.ts +0 -5
- package/dist/react-native/api/virtualNetworkSubnetUsage/options.js +0 -4
- package/dist/react-native/api/virtualNetworkSubnetUsage/options.js.map +0 -1
- package/dist/react-native/classic/administratorsMicrosoftEntra/index.d.ts +0 -32
- package/dist/react-native/classic/administratorsMicrosoftEntra/index.js +0 -34
- package/dist/react-native/classic/administratorsMicrosoftEntra/index.js.map +0 -1
- package/dist/react-native/classic/advancedThreatProtectionSettings/index.d.ts +0 -13
- package/dist/react-native/classic/advancedThreatProtectionSettings/index.js +0 -15
- package/dist/react-native/classic/advancedThreatProtectionSettings/index.js.map +0 -1
- package/dist/react-native/classic/backupsAutomaticAndOnDemand/index.d.ts +0 -32
- package/dist/react-native/classic/backupsAutomaticAndOnDemand/index.js +0 -34
- package/dist/react-native/classic/backupsAutomaticAndOnDemand/index.js.map +0 -1
- package/dist/react-native/classic/backupsLongTermRetention/index.d.ts +0 -23
- package/dist/react-native/classic/backupsLongTermRetention/index.js +0 -26
- package/dist/react-native/classic/backupsLongTermRetention/index.js.map +0 -1
- package/dist/react-native/classic/capabilitiesByLocation/index.d.ts +0 -11
- package/dist/react-native/classic/capabilitiesByLocation/index.js +0 -14
- package/dist/react-native/classic/capabilitiesByLocation/index.js.map +0 -1
- package/dist/react-native/classic/capabilitiesByServer/index.d.ts +0 -11
- package/dist/react-native/classic/capabilitiesByServer/index.js +0 -14
- package/dist/react-native/classic/capabilitiesByServer/index.js.map +0 -1
- package/dist/react-native/classic/capturedLogs/index.d.ts +0 -11
- package/dist/react-native/classic/capturedLogs/index.js +0 -14
- package/dist/react-native/classic/capturedLogs/index.js.map +0 -1
- package/dist/react-native/classic/configurations/index.d.ts +0 -27
- package/dist/react-native/classic/configurations/index.js +0 -34
- package/dist/react-native/classic/configurations/index.js.map +0 -1
- package/dist/react-native/classic/databases/index.d.ts +0 -32
- package/dist/react-native/classic/databases/index.js +0 -34
- package/dist/react-native/classic/databases/index.js.map +0 -1
- package/dist/react-native/classic/firewallRules/index.d.ts +0 -32
- package/dist/react-native/classic/firewallRules/index.js +0 -34
- package/dist/react-native/classic/firewallRules/index.js.map +0 -1
- package/dist/react-native/classic/index.d.ts +0 -24
- package/dist/react-native/classic/index.js +0 -4
- package/dist/react-native/classic/index.js.map +0 -1
- package/dist/react-native/classic/migrations/index.d.ts +0 -21
- package/dist/react-native/classic/migrations/index.js +0 -19
- package/dist/react-native/classic/migrations/index.js.map +0 -1
- package/dist/react-native/classic/nameAvailability/index.d.ts +0 -12
- package/dist/react-native/classic/nameAvailability/index.js +0 -15
- package/dist/react-native/classic/nameAvailability/index.js.map +0 -1
- package/dist/react-native/classic/operations/index.d.ts +0 -11
- package/dist/react-native/classic/operations/index.js +0 -14
- package/dist/react-native/classic/operations/index.js.map +0 -1
- package/dist/react-native/classic/privateDnsZoneSuffix/index.d.ts +0 -10
- package/dist/react-native/classic/privateDnsZoneSuffix/index.js +0 -14
- package/dist/react-native/classic/privateDnsZoneSuffix/index.js.map +0 -1
- package/dist/react-native/classic/privateEndpointConnections/index.d.ts +0 -32
- package/dist/react-native/classic/privateEndpointConnections/index.js +0 -34
- package/dist/react-native/classic/privateEndpointConnections/index.js.map +0 -1
- package/dist/react-native/classic/privateLinkResources/index.d.ts +0 -13
- package/dist/react-native/classic/privateLinkResources/index.js +0 -15
- package/dist/react-native/classic/privateLinkResources/index.js.map +0 -1
- package/dist/react-native/classic/quotaUsages/index.d.ts +0 -11
- package/dist/react-native/classic/quotaUsages/index.js +0 -14
- package/dist/react-native/classic/quotaUsages/index.js.map +0 -1
- package/dist/react-native/classic/replicas/index.d.ts +0 -11
- package/dist/react-native/classic/replicas/index.js +0 -14
- package/dist/react-native/classic/replicas/index.js.map +0 -1
- package/dist/react-native/classic/serverThreatProtectionSettings/index.d.ts +0 -16
- package/dist/react-native/classic/serverThreatProtectionSettings/index.js +0 -23
- package/dist/react-native/classic/serverThreatProtectionSettings/index.js.map +0 -1
- package/dist/react-native/classic/servers/index.d.ts +0 -64
- package/dist/react-native/classic/servers/index.js +0 -80
- package/dist/react-native/classic/servers/index.js.map +0 -1
- package/dist/react-native/classic/tuningOptions/index.d.ts +0 -15
- package/dist/react-native/classic/tuningOptions/index.js.map +0 -1
- package/dist/react-native/classic/virtualEndpoints/index.d.ts +0 -38
- package/dist/react-native/classic/virtualEndpoints/index.js +0 -43
- package/dist/react-native/classic/virtualEndpoints/index.js.map +0 -1
- package/dist/react-native/classic/virtualNetworkSubnetUsage/index.d.ts +0 -10
- package/dist/react-native/classic/virtualNetworkSubnetUsage/index.js +0 -14
- package/dist/react-native/classic/virtualNetworkSubnetUsage/index.js.map +0 -1
- package/dist/react-native/index.d.ts +0 -38
- package/dist/react-native/index.js +0 -8
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/logger.d.ts +0 -2
- package/dist/react-native/logger.js +0 -5
- package/dist/react-native/logger.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -3
- package/dist/react-native/models/index.js +0 -4
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/models.d.ts +0 -3355
- package/dist/react-native/models/models.js +0 -3117
- package/dist/react-native/models/models.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/dist/react-native/postgreSQLManagementFlexibleServerClient.d.ts +0 -81
- package/dist/react-native/postgreSQLManagementFlexibleServerClient.js +0 -121
- package/dist/react-native/postgreSQLManagementFlexibleServerClient.js.map +0 -1
- package/dist/react-native/restorePollerHelpers.d.ts +0 -21
- package/dist/react-native/restorePollerHelpers.js +0 -141
- package/dist/react-native/restorePollerHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +0 -22
- package/dist/react-native/static-helpers/cloudSettingHelpers.js +0 -38
- package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +0 -74
- package/dist/react-native/static-helpers/pagingHelpers.js +0 -143
- package/dist/react-native/static-helpers/pagingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +0 -34
- package/dist/react-native/static-helpers/pollingHelpers.js +0 -95
- package/dist/react-native/static-helpers/pollingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.d.ts +0 -8
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.js +0 -17
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.js.map +0 -1
- package/dist/react-native/static-helpers/simplePollerHelpers.d.ts +0 -73
- package/dist/react-native/static-helpers/simplePollerHelpers.js +0 -44
- package/dist/react-native/static-helpers/simplePollerHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/urlTemplate.d.ts +0 -5
- package/dist/react-native/static-helpers/urlTemplate.js +0 -200
- package/dist/react-native/static-helpers/urlTemplate.js.map +0 -1
- /package/dist/browser/api/{tuningOptions → maintenanceEvents}/options.js +0 -0
- /package/dist/{react-native/api/administratorsMicrosoftEntra → browser/api/majorVersionUpgradePrecheck}/options.js +0 -0
- /package/dist/browser/api/{tuningOptions → tuningOptionsOperations}/index.js +0 -0
- /package/dist/{react-native/api/advancedThreatProtectionSettings → browser/api/tuningOptionsOperations}/options.js +0 -0
- /package/dist/{react-native/api/backupsAutomaticAndOnDemand → esm/api/maintenanceEvents}/options.js +0 -0
- /package/dist/{react-native/api/backupsLongTermRetention → esm/api/majorVersionUpgradePrecheck}/options.js +0 -0
- /package/dist/{react-native/api/tuningOptions → esm/api/tuningOptionsOperations}/index.js +0 -0
- /package/dist/{react-native/api/capabilitiesByLocation → esm/api/tuningOptionsOperations}/options.js +0 -0
|
@@ -1,3117 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
import { areAllPropsUndefined } from "../static-helpers/serialization/check-prop-undefined.js";
|
|
4
|
-
export function _operationListDeserializer(item) {
|
|
5
|
-
return {
|
|
6
|
-
value: operationArrayDeserializer(item["value"]),
|
|
7
|
-
nextLink: item["nextLink"],
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export function operationArrayDeserializer(result) {
|
|
11
|
-
return result.map((item) => {
|
|
12
|
-
return operationDeserializer(item);
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
export function operationDeserializer(item) {
|
|
16
|
-
return {
|
|
17
|
-
name: item["name"],
|
|
18
|
-
display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
|
|
19
|
-
isDataAction: item["isDataAction"],
|
|
20
|
-
origin: item["origin"],
|
|
21
|
-
properties: !item["properties"]
|
|
22
|
-
? item["properties"]
|
|
23
|
-
: operationPropertiesDeserializer(item["properties"]),
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
export function operationDisplayDeserializer(item) {
|
|
27
|
-
return {
|
|
28
|
-
provider: item["provider"],
|
|
29
|
-
resource: item["resource"],
|
|
30
|
-
operation: item["operation"],
|
|
31
|
-
description: item["description"],
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
/** Intended executor of the operation. */
|
|
35
|
-
export var KnownOperationOrigin;
|
|
36
|
-
(function (KnownOperationOrigin) {
|
|
37
|
-
/** NotSpecified */
|
|
38
|
-
KnownOperationOrigin["NotSpecified"] = "NotSpecified";
|
|
39
|
-
/** user */
|
|
40
|
-
KnownOperationOrigin["User"] = "user";
|
|
41
|
-
/** system */
|
|
42
|
-
KnownOperationOrigin["System"] = "system";
|
|
43
|
-
})(KnownOperationOrigin || (KnownOperationOrigin = {}));
|
|
44
|
-
export function operationPropertiesDeserializer(item) {
|
|
45
|
-
return {
|
|
46
|
-
serviceSpecification: !item["serviceSpecification"]
|
|
47
|
-
? item["serviceSpecification"]
|
|
48
|
-
: serviceSpecificationDeserializer(item["serviceSpecification"]),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
export function serviceSpecificationDeserializer(item) {
|
|
52
|
-
return {
|
|
53
|
-
metricSpecifications: !item["metricSpecifications"]
|
|
54
|
-
? item["metricSpecifications"]
|
|
55
|
-
: metricSpecificationArrayDeserializer(item["metricSpecifications"]),
|
|
56
|
-
logSpecifications: !item["logSpecifications"]
|
|
57
|
-
? item["logSpecifications"]
|
|
58
|
-
: logSpecificationArrayDeserializer(item["logSpecifications"]),
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
export function metricSpecificationArrayDeserializer(result) {
|
|
62
|
-
return result.map((item) => {
|
|
63
|
-
return metricSpecificationDeserializer(item);
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
export function metricSpecificationDeserializer(item) {
|
|
67
|
-
return {
|
|
68
|
-
name: item["name"],
|
|
69
|
-
displayName: item["displayName"],
|
|
70
|
-
displayDescription: item["displayDescription"],
|
|
71
|
-
unit: item["unit"],
|
|
72
|
-
aggregationType: item["aggregationType"],
|
|
73
|
-
supportedAggregationTypes: !item["supportedAggregationTypes"]
|
|
74
|
-
? item["supportedAggregationTypes"]
|
|
75
|
-
: item["supportedAggregationTypes"].map((p) => {
|
|
76
|
-
return p;
|
|
77
|
-
}),
|
|
78
|
-
supportedTimeGrainTypes: !item["supportedTimeGrainTypes"]
|
|
79
|
-
? item["supportedTimeGrainTypes"]
|
|
80
|
-
: item["supportedTimeGrainTypes"].map((p) => {
|
|
81
|
-
return p;
|
|
82
|
-
}),
|
|
83
|
-
category: item["category"],
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
export function logSpecificationArrayDeserializer(result) {
|
|
87
|
-
return result.map((item) => {
|
|
88
|
-
return logSpecificationDeserializer(item);
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
export function logSpecificationDeserializer(item) {
|
|
92
|
-
return {
|
|
93
|
-
name: item["name"],
|
|
94
|
-
displayName: item["displayName"],
|
|
95
|
-
blobDuration: item["blobDuration"],
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
export function errorResponseDeserializer(item) {
|
|
99
|
-
return {
|
|
100
|
-
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
export function errorDetailDeserializer(item) {
|
|
104
|
-
return {
|
|
105
|
-
code: item["code"],
|
|
106
|
-
message: item["message"],
|
|
107
|
-
target: item["target"],
|
|
108
|
-
details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
|
|
109
|
-
additionalInfo: !item["additionalInfo"]
|
|
110
|
-
? item["additionalInfo"]
|
|
111
|
-
: errorAdditionalInfoArrayDeserializer(item["additionalInfo"]),
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
export function errorDetailArrayDeserializer(result) {
|
|
115
|
-
return result.map((item) => {
|
|
116
|
-
return errorDetailDeserializer(item);
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
export function errorAdditionalInfoArrayDeserializer(result) {
|
|
120
|
-
return result.map((item) => {
|
|
121
|
-
return errorAdditionalInfoDeserializer(item);
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
export function errorAdditionalInfoDeserializer(item) {
|
|
125
|
-
return {
|
|
126
|
-
type: item["type"],
|
|
127
|
-
info: item["info"],
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
export function migrationSerializer(item) {
|
|
131
|
-
return {
|
|
132
|
-
tags: item["tags"],
|
|
133
|
-
location: item["location"],
|
|
134
|
-
properties: areAllPropsUndefined(item, [
|
|
135
|
-
"migrationInstanceResourceId",
|
|
136
|
-
"migrationMode",
|
|
137
|
-
"migrationOption",
|
|
138
|
-
"sourceType",
|
|
139
|
-
"sslMode",
|
|
140
|
-
"sourceDbServerResourceId",
|
|
141
|
-
"sourceDbServerFullyQualifiedDomainName",
|
|
142
|
-
"targetDbServerFullyQualifiedDomainName",
|
|
143
|
-
"secretParameters",
|
|
144
|
-
"dbsToMigrate",
|
|
145
|
-
"setupLogicalReplicationOnSourceDbIfNeeded",
|
|
146
|
-
"overwriteDbsInTarget",
|
|
147
|
-
"migrationWindowStartTimeInUtc",
|
|
148
|
-
"migrationWindowEndTimeInUtc",
|
|
149
|
-
"migrateRoles",
|
|
150
|
-
"startDataMigration",
|
|
151
|
-
"triggerCutover",
|
|
152
|
-
"dbsToTriggerCutoverOn",
|
|
153
|
-
"cancel",
|
|
154
|
-
"dbsToCancelMigrationOn",
|
|
155
|
-
])
|
|
156
|
-
? undefined
|
|
157
|
-
: _migrationPropertiesSerializer(item),
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
export function migrationDeserializer(item) {
|
|
161
|
-
return {
|
|
162
|
-
tags: !item["tags"]
|
|
163
|
-
? item["tags"]
|
|
164
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
165
|
-
location: item["location"],
|
|
166
|
-
id: item["id"],
|
|
167
|
-
name: item["name"],
|
|
168
|
-
type: item["type"],
|
|
169
|
-
systemData: !item["systemData"]
|
|
170
|
-
? item["systemData"]
|
|
171
|
-
: systemDataDeserializer(item["systemData"]),
|
|
172
|
-
...(!item["properties"]
|
|
173
|
-
? item["properties"]
|
|
174
|
-
: _migrationPropertiesDeserializer(item["properties"])),
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
export function migrationPropertiesSerializer(item) {
|
|
178
|
-
return {
|
|
179
|
-
migrationInstanceResourceId: item["migrationInstanceResourceId"],
|
|
180
|
-
migrationMode: item["migrationMode"],
|
|
181
|
-
migrationOption: item["migrationOption"],
|
|
182
|
-
sourceType: item["sourceType"],
|
|
183
|
-
sslMode: item["sslMode"],
|
|
184
|
-
sourceDbServerResourceId: item["sourceDbServerResourceId"],
|
|
185
|
-
sourceDbServerFullyQualifiedDomainName: item["sourceDbServerFullyQualifiedDomainName"],
|
|
186
|
-
targetDbServerFullyQualifiedDomainName: item["targetDbServerFullyQualifiedDomainName"],
|
|
187
|
-
secretParameters: !item["secretParameters"]
|
|
188
|
-
? item["secretParameters"]
|
|
189
|
-
: migrationSecretParametersSerializer(item["secretParameters"]),
|
|
190
|
-
dbsToMigrate: !item["dbsToMigrate"]
|
|
191
|
-
? item["dbsToMigrate"]
|
|
192
|
-
: item["dbsToMigrate"].map((p) => {
|
|
193
|
-
return p;
|
|
194
|
-
}),
|
|
195
|
-
setupLogicalReplicationOnSourceDbIfNeeded: item["setupLogicalReplicationOnSourceDbIfNeeded"],
|
|
196
|
-
overwriteDbsInTarget: item["overwriteDbsInTarget"],
|
|
197
|
-
migrationWindowStartTimeInUtc: !item["migrationWindowStartTimeInUtc"]
|
|
198
|
-
? item["migrationWindowStartTimeInUtc"]
|
|
199
|
-
: item["migrationWindowStartTimeInUtc"].toISOString(),
|
|
200
|
-
migrationWindowEndTimeInUtc: !item["migrationWindowEndTimeInUtc"]
|
|
201
|
-
? item["migrationWindowEndTimeInUtc"]
|
|
202
|
-
: item["migrationWindowEndTimeInUtc"].toISOString(),
|
|
203
|
-
migrateRoles: item["migrateRoles"],
|
|
204
|
-
startDataMigration: item["startDataMigration"],
|
|
205
|
-
triggerCutover: item["triggerCutover"],
|
|
206
|
-
dbsToTriggerCutoverOn: !item["dbsToTriggerCutoverOn"]
|
|
207
|
-
? item["dbsToTriggerCutoverOn"]
|
|
208
|
-
: item["dbsToTriggerCutoverOn"].map((p) => {
|
|
209
|
-
return p;
|
|
210
|
-
}),
|
|
211
|
-
cancel: item["cancel"],
|
|
212
|
-
dbsToCancelMigrationOn: !item["dbsToCancelMigrationOn"]
|
|
213
|
-
? item["dbsToCancelMigrationOn"]
|
|
214
|
-
: item["dbsToCancelMigrationOn"].map((p) => {
|
|
215
|
-
return p;
|
|
216
|
-
}),
|
|
217
|
-
};
|
|
218
|
-
}
|
|
219
|
-
export function migrationPropertiesDeserializer(item) {
|
|
220
|
-
return {
|
|
221
|
-
migrationId: item["migrationId"],
|
|
222
|
-
currentStatus: !item["currentStatus"]
|
|
223
|
-
? item["currentStatus"]
|
|
224
|
-
: migrationStatusDeserializer(item["currentStatus"]),
|
|
225
|
-
migrationInstanceResourceId: item["migrationInstanceResourceId"],
|
|
226
|
-
migrationMode: item["migrationMode"],
|
|
227
|
-
migrationOption: item["migrationOption"],
|
|
228
|
-
sourceType: item["sourceType"],
|
|
229
|
-
sslMode: item["sslMode"],
|
|
230
|
-
sourceDbServerMetadata: !item["sourceDbServerMetadata"]
|
|
231
|
-
? item["sourceDbServerMetadata"]
|
|
232
|
-
: dbServerMetadataDeserializer(item["sourceDbServerMetadata"]),
|
|
233
|
-
targetDbServerMetadata: !item["targetDbServerMetadata"]
|
|
234
|
-
? item["targetDbServerMetadata"]
|
|
235
|
-
: dbServerMetadataDeserializer(item["targetDbServerMetadata"]),
|
|
236
|
-
sourceDbServerResourceId: item["sourceDbServerResourceId"],
|
|
237
|
-
sourceDbServerFullyQualifiedDomainName: item["sourceDbServerFullyQualifiedDomainName"],
|
|
238
|
-
targetDbServerResourceId: item["targetDbServerResourceId"],
|
|
239
|
-
targetDbServerFullyQualifiedDomainName: item["targetDbServerFullyQualifiedDomainName"],
|
|
240
|
-
secretParameters: !item["secretParameters"]
|
|
241
|
-
? item["secretParameters"]
|
|
242
|
-
: migrationSecretParametersDeserializer(item["secretParameters"]),
|
|
243
|
-
dbsToMigrate: !item["dbsToMigrate"]
|
|
244
|
-
? item["dbsToMigrate"]
|
|
245
|
-
: item["dbsToMigrate"].map((p) => {
|
|
246
|
-
return p;
|
|
247
|
-
}),
|
|
248
|
-
setupLogicalReplicationOnSourceDbIfNeeded: item["setupLogicalReplicationOnSourceDbIfNeeded"],
|
|
249
|
-
overwriteDbsInTarget: item["overwriteDbsInTarget"],
|
|
250
|
-
migrationWindowStartTimeInUtc: !item["migrationWindowStartTimeInUtc"]
|
|
251
|
-
? item["migrationWindowStartTimeInUtc"]
|
|
252
|
-
: new Date(item["migrationWindowStartTimeInUtc"]),
|
|
253
|
-
migrationWindowEndTimeInUtc: !item["migrationWindowEndTimeInUtc"]
|
|
254
|
-
? item["migrationWindowEndTimeInUtc"]
|
|
255
|
-
: new Date(item["migrationWindowEndTimeInUtc"]),
|
|
256
|
-
migrateRoles: item["migrateRoles"],
|
|
257
|
-
startDataMigration: item["startDataMigration"],
|
|
258
|
-
triggerCutover: item["triggerCutover"],
|
|
259
|
-
dbsToTriggerCutoverOn: !item["dbsToTriggerCutoverOn"]
|
|
260
|
-
? item["dbsToTriggerCutoverOn"]
|
|
261
|
-
: item["dbsToTriggerCutoverOn"].map((p) => {
|
|
262
|
-
return p;
|
|
263
|
-
}),
|
|
264
|
-
cancel: item["cancel"],
|
|
265
|
-
dbsToCancelMigrationOn: !item["dbsToCancelMigrationOn"]
|
|
266
|
-
? item["dbsToCancelMigrationOn"]
|
|
267
|
-
: item["dbsToCancelMigrationOn"].map((p) => {
|
|
268
|
-
return p;
|
|
269
|
-
}),
|
|
270
|
-
};
|
|
271
|
-
}
|
|
272
|
-
export function migrationStatusDeserializer(item) {
|
|
273
|
-
return {
|
|
274
|
-
state: item["state"],
|
|
275
|
-
error: item["error"],
|
|
276
|
-
currentSubStateDetails: !item["currentSubStateDetails"]
|
|
277
|
-
? item["currentSubStateDetails"]
|
|
278
|
-
: migrationSubstateDetailsDeserializer(item["currentSubStateDetails"]),
|
|
279
|
-
};
|
|
280
|
-
}
|
|
281
|
-
/** State of migration. */
|
|
282
|
-
export var KnownMigrationState;
|
|
283
|
-
(function (KnownMigrationState) {
|
|
284
|
-
/** InProgress */
|
|
285
|
-
KnownMigrationState["InProgress"] = "InProgress";
|
|
286
|
-
/** WaitingForUserAction */
|
|
287
|
-
KnownMigrationState["WaitingForUserAction"] = "WaitingForUserAction";
|
|
288
|
-
/** Canceled */
|
|
289
|
-
KnownMigrationState["Canceled"] = "Canceled";
|
|
290
|
-
/** Failed */
|
|
291
|
-
KnownMigrationState["Failed"] = "Failed";
|
|
292
|
-
/** Succeeded */
|
|
293
|
-
KnownMigrationState["Succeeded"] = "Succeeded";
|
|
294
|
-
/** ValidationFailed */
|
|
295
|
-
KnownMigrationState["ValidationFailed"] = "ValidationFailed";
|
|
296
|
-
/** CleaningUp */
|
|
297
|
-
KnownMigrationState["CleaningUp"] = "CleaningUp";
|
|
298
|
-
})(KnownMigrationState || (KnownMigrationState = {}));
|
|
299
|
-
export function migrationSubstateDetailsDeserializer(item) {
|
|
300
|
-
return {
|
|
301
|
-
currentSubState: item["currentSubState"],
|
|
302
|
-
dbDetails: !item["dbDetails"]
|
|
303
|
-
? item["dbDetails"]
|
|
304
|
-
: databaseMigrationStateRecordDeserializer(item["dbDetails"]),
|
|
305
|
-
validationDetails: !item["validationDetails"]
|
|
306
|
-
? item["validationDetails"]
|
|
307
|
-
: validationDetailsDeserializer(item["validationDetails"]),
|
|
308
|
-
};
|
|
309
|
-
}
|
|
310
|
-
/** Substate of migration. */
|
|
311
|
-
export var KnownMigrationSubstate;
|
|
312
|
-
(function (KnownMigrationSubstate) {
|
|
313
|
-
/** PerformingPreRequisiteSteps */
|
|
314
|
-
KnownMigrationSubstate["PerformingPreRequisiteSteps"] = "PerformingPreRequisiteSteps";
|
|
315
|
-
/** WaitingForLogicalReplicationSetupRequestOnSourceDB */
|
|
316
|
-
KnownMigrationSubstate["WaitingForLogicalReplicationSetupRequestOnSourceDB"] = "WaitingForLogicalReplicationSetupRequestOnSourceDB";
|
|
317
|
-
/** WaitingForDBsToMigrateSpecification */
|
|
318
|
-
KnownMigrationSubstate["WaitingForDBsToMigrateSpecification"] = "WaitingForDBsToMigrateSpecification";
|
|
319
|
-
/** WaitingForTargetDBOverwriteConfirmation */
|
|
320
|
-
KnownMigrationSubstate["WaitingForTargetDBOverwriteConfirmation"] = "WaitingForTargetDBOverwriteConfirmation";
|
|
321
|
-
/** WaitingForDataMigrationScheduling */
|
|
322
|
-
KnownMigrationSubstate["WaitingForDataMigrationScheduling"] = "WaitingForDataMigrationScheduling";
|
|
323
|
-
/** WaitingForDataMigrationWindow */
|
|
324
|
-
KnownMigrationSubstate["WaitingForDataMigrationWindow"] = "WaitingForDataMigrationWindow";
|
|
325
|
-
/** MigratingData */
|
|
326
|
-
KnownMigrationSubstate["MigratingData"] = "MigratingData";
|
|
327
|
-
/** WaitingForCutoverTrigger */
|
|
328
|
-
KnownMigrationSubstate["WaitingForCutoverTrigger"] = "WaitingForCutoverTrigger";
|
|
329
|
-
/** CompletingMigration */
|
|
330
|
-
KnownMigrationSubstate["CompletingMigration"] = "CompletingMigration";
|
|
331
|
-
/** Completed */
|
|
332
|
-
KnownMigrationSubstate["Completed"] = "Completed";
|
|
333
|
-
/** CancelingRequestedDBMigrations */
|
|
334
|
-
KnownMigrationSubstate["CancelingRequestedDBMigrations"] = "CancelingRequestedDBMigrations";
|
|
335
|
-
/** ValidationInProgress */
|
|
336
|
-
KnownMigrationSubstate["ValidationInProgress"] = "ValidationInProgress";
|
|
337
|
-
})(KnownMigrationSubstate || (KnownMigrationSubstate = {}));
|
|
338
|
-
export function databaseMigrationStateRecordDeserializer(item) {
|
|
339
|
-
const result = {};
|
|
340
|
-
Object.keys(item).map((key) => {
|
|
341
|
-
result[key] = !item[key] ? item[key] : databaseMigrationStateDeserializer(item[key]);
|
|
342
|
-
});
|
|
343
|
-
return result;
|
|
344
|
-
}
|
|
345
|
-
export function databaseMigrationStateDeserializer(item) {
|
|
346
|
-
return {
|
|
347
|
-
databaseName: item["databaseName"],
|
|
348
|
-
migrationState: item["migrationState"],
|
|
349
|
-
migrationOperation: item["migrationOperation"],
|
|
350
|
-
startedOn: !item["startedOn"] ? item["startedOn"] : new Date(item["startedOn"]),
|
|
351
|
-
endedOn: !item["endedOn"] ? item["endedOn"] : new Date(item["endedOn"]),
|
|
352
|
-
fullLoadQueuedTables: item["fullLoadQueuedTables"],
|
|
353
|
-
fullLoadErroredTables: item["fullLoadErroredTables"],
|
|
354
|
-
fullLoadLoadingTables: item["fullLoadLoadingTables"],
|
|
355
|
-
fullLoadCompletedTables: item["fullLoadCompletedTables"],
|
|
356
|
-
cdcUpdateCounter: item["cdcUpdateCounter"],
|
|
357
|
-
cdcDeleteCounter: item["cdcDeleteCounter"],
|
|
358
|
-
cdcInsertCounter: item["cdcInsertCounter"],
|
|
359
|
-
appliedChanges: item["appliedChanges"],
|
|
360
|
-
incomingChanges: item["incomingChanges"],
|
|
361
|
-
latency: item["latency"],
|
|
362
|
-
message: item["message"],
|
|
363
|
-
};
|
|
364
|
-
}
|
|
365
|
-
/** Migration state of a database. */
|
|
366
|
-
export var KnownMigrationDatabaseState;
|
|
367
|
-
(function (KnownMigrationDatabaseState) {
|
|
368
|
-
/** InProgress */
|
|
369
|
-
KnownMigrationDatabaseState["InProgress"] = "InProgress";
|
|
370
|
-
/** WaitingForCutoverTrigger */
|
|
371
|
-
KnownMigrationDatabaseState["WaitingForCutoverTrigger"] = "WaitingForCutoverTrigger";
|
|
372
|
-
/** Failed */
|
|
373
|
-
KnownMigrationDatabaseState["Failed"] = "Failed";
|
|
374
|
-
/** Canceled */
|
|
375
|
-
KnownMigrationDatabaseState["Canceled"] = "Canceled";
|
|
376
|
-
/** Succeeded */
|
|
377
|
-
KnownMigrationDatabaseState["Succeeded"] = "Succeeded";
|
|
378
|
-
/** Canceling */
|
|
379
|
-
KnownMigrationDatabaseState["Canceling"] = "Canceling";
|
|
380
|
-
})(KnownMigrationDatabaseState || (KnownMigrationDatabaseState = {}));
|
|
381
|
-
export function validationDetailsDeserializer(item) {
|
|
382
|
-
return {
|
|
383
|
-
status: item["status"],
|
|
384
|
-
validationStartTimeInUtc: !item["validationStartTimeInUtc"]
|
|
385
|
-
? item["validationStartTimeInUtc"]
|
|
386
|
-
: new Date(item["validationStartTimeInUtc"]),
|
|
387
|
-
validationEndTimeInUtc: !item["validationEndTimeInUtc"]
|
|
388
|
-
? item["validationEndTimeInUtc"]
|
|
389
|
-
: new Date(item["validationEndTimeInUtc"]),
|
|
390
|
-
serverLevelValidationDetails: !item["serverLevelValidationDetails"]
|
|
391
|
-
? item["serverLevelValidationDetails"]
|
|
392
|
-
: validationSummaryItemArrayDeserializer(item["serverLevelValidationDetails"]),
|
|
393
|
-
dbLevelValidationDetails: !item["dbLevelValidationDetails"]
|
|
394
|
-
? item["dbLevelValidationDetails"]
|
|
395
|
-
: dbLevelValidationStatusArrayDeserializer(item["dbLevelValidationDetails"]),
|
|
396
|
-
};
|
|
397
|
-
}
|
|
398
|
-
/** Validation status for migration. */
|
|
399
|
-
export var KnownValidationState;
|
|
400
|
-
(function (KnownValidationState) {
|
|
401
|
-
/** Failed */
|
|
402
|
-
KnownValidationState["Failed"] = "Failed";
|
|
403
|
-
/** Succeeded */
|
|
404
|
-
KnownValidationState["Succeeded"] = "Succeeded";
|
|
405
|
-
/** Warning */
|
|
406
|
-
KnownValidationState["Warning"] = "Warning";
|
|
407
|
-
})(KnownValidationState || (KnownValidationState = {}));
|
|
408
|
-
export function validationSummaryItemArrayDeserializer(result) {
|
|
409
|
-
return result.map((item) => {
|
|
410
|
-
return validationSummaryItemDeserializer(item);
|
|
411
|
-
});
|
|
412
|
-
}
|
|
413
|
-
export function validationSummaryItemDeserializer(item) {
|
|
414
|
-
return {
|
|
415
|
-
type: item["type"],
|
|
416
|
-
state: item["state"],
|
|
417
|
-
messages: !item["messages"]
|
|
418
|
-
? item["messages"]
|
|
419
|
-
: validationMessageArrayDeserializer(item["messages"]),
|
|
420
|
-
};
|
|
421
|
-
}
|
|
422
|
-
export function validationMessageArrayDeserializer(result) {
|
|
423
|
-
return result.map((item) => {
|
|
424
|
-
return validationMessageDeserializer(item);
|
|
425
|
-
});
|
|
426
|
-
}
|
|
427
|
-
export function validationMessageDeserializer(item) {
|
|
428
|
-
return {
|
|
429
|
-
state: item["state"],
|
|
430
|
-
message: item["message"],
|
|
431
|
-
};
|
|
432
|
-
}
|
|
433
|
-
export function dbLevelValidationStatusArrayDeserializer(result) {
|
|
434
|
-
return result.map((item) => {
|
|
435
|
-
return dbLevelValidationStatusDeserializer(item);
|
|
436
|
-
});
|
|
437
|
-
}
|
|
438
|
-
export function dbLevelValidationStatusDeserializer(item) {
|
|
439
|
-
return {
|
|
440
|
-
databaseName: item["databaseName"],
|
|
441
|
-
startedOn: !item["startedOn"] ? item["startedOn"] : new Date(item["startedOn"]),
|
|
442
|
-
endedOn: !item["endedOn"] ? item["endedOn"] : new Date(item["endedOn"]),
|
|
443
|
-
summary: !item["summary"]
|
|
444
|
-
? item["summary"]
|
|
445
|
-
: validationSummaryItemArrayDeserializer(item["summary"]),
|
|
446
|
-
};
|
|
447
|
-
}
|
|
448
|
-
/** Mode used to perform the migration: Online or Offline. */
|
|
449
|
-
export var KnownMigrationMode;
|
|
450
|
-
(function (KnownMigrationMode) {
|
|
451
|
-
/** Offline */
|
|
452
|
-
KnownMigrationMode["Offline"] = "Offline";
|
|
453
|
-
/** Online */
|
|
454
|
-
KnownMigrationMode["Online"] = "Online";
|
|
455
|
-
})(KnownMigrationMode || (KnownMigrationMode = {}));
|
|
456
|
-
/** Supported option for a migration */
|
|
457
|
-
export var KnownMigrationOption;
|
|
458
|
-
(function (KnownMigrationOption) {
|
|
459
|
-
/** Validate */
|
|
460
|
-
KnownMigrationOption["Validate"] = "Validate";
|
|
461
|
-
/** Migrate */
|
|
462
|
-
KnownMigrationOption["Migrate"] = "Migrate";
|
|
463
|
-
/** ValidateAndMigrate */
|
|
464
|
-
KnownMigrationOption["ValidateAndMigrate"] = "ValidateAndMigrate";
|
|
465
|
-
})(KnownMigrationOption || (KnownMigrationOption = {}));
|
|
466
|
-
/** Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL */
|
|
467
|
-
export var KnownSourceType;
|
|
468
|
-
(function (KnownSourceType) {
|
|
469
|
-
/** OnPremises */
|
|
470
|
-
KnownSourceType["OnPremises"] = "OnPremises";
|
|
471
|
-
/** AWS */
|
|
472
|
-
KnownSourceType["AWS"] = "AWS";
|
|
473
|
-
/** GCP */
|
|
474
|
-
KnownSourceType["GCP"] = "GCP";
|
|
475
|
-
/** AzureVM */
|
|
476
|
-
KnownSourceType["AzureVM"] = "AzureVM";
|
|
477
|
-
/** PostgreSQLSingleServer */
|
|
478
|
-
KnownSourceType["PostgreSQLSingleServer"] = "PostgreSQLSingleServer";
|
|
479
|
-
/** AWS_RDS */
|
|
480
|
-
KnownSourceType["AWSRDS"] = "AWS_RDS";
|
|
481
|
-
/** AWS_AURORA */
|
|
482
|
-
KnownSourceType["AWSAurora"] = "AWS_AURORA";
|
|
483
|
-
/** AWS_EC2 */
|
|
484
|
-
KnownSourceType["AWSEC2"] = "AWS_EC2";
|
|
485
|
-
/** GCP_CloudSQL */
|
|
486
|
-
KnownSourceType["GCPCloudSQL"] = "GCP_CloudSQL";
|
|
487
|
-
/** GCP_AlloyDB */
|
|
488
|
-
KnownSourceType["GCPAlloyDB"] = "GCP_AlloyDB";
|
|
489
|
-
/** GCP_Compute */
|
|
490
|
-
KnownSourceType["GCPCompute"] = "GCP_Compute";
|
|
491
|
-
/** EDB */
|
|
492
|
-
KnownSourceType["EDB"] = "EDB";
|
|
493
|
-
/** EDB_Oracle_Server */
|
|
494
|
-
KnownSourceType["EDBOracleServer"] = "EDB_Oracle_Server";
|
|
495
|
-
/** EDB_PostgreSQL */
|
|
496
|
-
KnownSourceType["EDBPostgreSQL"] = "EDB_PostgreSQL";
|
|
497
|
-
/** PostgreSQLFlexibleServer */
|
|
498
|
-
KnownSourceType["PostgreSQLFlexibleServer"] = "PostgreSQLFlexibleServer";
|
|
499
|
-
/** PostgreSQLCosmosDB */
|
|
500
|
-
KnownSourceType["PostgreSQLCosmosDB"] = "PostgreSQLCosmosDB";
|
|
501
|
-
/** Huawei_RDS */
|
|
502
|
-
KnownSourceType["HuaweiRDS"] = "Huawei_RDS";
|
|
503
|
-
/** Huawei_Compute */
|
|
504
|
-
KnownSourceType["HuaweiCompute"] = "Huawei_Compute";
|
|
505
|
-
/** Heroku_PostgreSQL */
|
|
506
|
-
KnownSourceType["HerokuPostgreSQL"] = "Heroku_PostgreSQL";
|
|
507
|
-
/** Crunchy_PostgreSQL */
|
|
508
|
-
KnownSourceType["CrunchyPostgreSQL"] = "Crunchy_PostgreSQL";
|
|
509
|
-
/** ApsaraDB_RDS */
|
|
510
|
-
KnownSourceType["ApsaraDBRDS"] = "ApsaraDB_RDS";
|
|
511
|
-
/** Digital_Ocean_Droplets */
|
|
512
|
-
KnownSourceType["DigitalOceanDroplets"] = "Digital_Ocean_Droplets";
|
|
513
|
-
/** Digital_Ocean_PostgreSQL */
|
|
514
|
-
KnownSourceType["DigitalOceanPostgreSQL"] = "Digital_Ocean_PostgreSQL";
|
|
515
|
-
/** Supabase_PostgreSQL */
|
|
516
|
-
KnownSourceType["SupabasePostgreSQL"] = "Supabase_PostgreSQL";
|
|
517
|
-
})(KnownSourceType || (KnownSourceType = {}));
|
|
518
|
-
/** SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'. */
|
|
519
|
-
export var KnownSslMode;
|
|
520
|
-
(function (KnownSslMode) {
|
|
521
|
-
/** Prefer */
|
|
522
|
-
KnownSslMode["Prefer"] = "Prefer";
|
|
523
|
-
/** Require */
|
|
524
|
-
KnownSslMode["Require"] = "Require";
|
|
525
|
-
/** VerifyCA */
|
|
526
|
-
KnownSslMode["VerifyCA"] = "VerifyCA";
|
|
527
|
-
/** VerifyFull */
|
|
528
|
-
KnownSslMode["VerifyFull"] = "VerifyFull";
|
|
529
|
-
})(KnownSslMode || (KnownSslMode = {}));
|
|
530
|
-
export function dbServerMetadataDeserializer(item) {
|
|
531
|
-
return {
|
|
532
|
-
location: item["location"],
|
|
533
|
-
version: item["version"],
|
|
534
|
-
storageMb: item["storageMb"],
|
|
535
|
-
sku: !item["sku"] ? item["sku"] : serverSkuDeserializer(item["sku"]),
|
|
536
|
-
};
|
|
537
|
-
}
|
|
538
|
-
export function serverSkuDeserializer(item) {
|
|
539
|
-
return {
|
|
540
|
-
name: item["name"],
|
|
541
|
-
tier: item["tier"],
|
|
542
|
-
};
|
|
543
|
-
}
|
|
544
|
-
/** Tier of the compute assigned to a server. */
|
|
545
|
-
export var KnownSkuTier;
|
|
546
|
-
(function (KnownSkuTier) {
|
|
547
|
-
/** Burstable */
|
|
548
|
-
KnownSkuTier["Burstable"] = "Burstable";
|
|
549
|
-
/** GeneralPurpose */
|
|
550
|
-
KnownSkuTier["GeneralPurpose"] = "GeneralPurpose";
|
|
551
|
-
/** MemoryOptimized */
|
|
552
|
-
KnownSkuTier["MemoryOptimized"] = "MemoryOptimized";
|
|
553
|
-
})(KnownSkuTier || (KnownSkuTier = {}));
|
|
554
|
-
export function migrationSecretParametersSerializer(item) {
|
|
555
|
-
return {
|
|
556
|
-
adminCredentials: adminCredentialsSerializer(item["adminCredentials"]),
|
|
557
|
-
sourceServerUsername: item["sourceServerUsername"],
|
|
558
|
-
targetServerUsername: item["targetServerUsername"],
|
|
559
|
-
};
|
|
560
|
-
}
|
|
561
|
-
export function migrationSecretParametersDeserializer(item) {
|
|
562
|
-
return {
|
|
563
|
-
adminCredentials: adminCredentialsDeserializer(item["adminCredentials"]),
|
|
564
|
-
sourceServerUsername: item["sourceServerUsername"],
|
|
565
|
-
targetServerUsername: item["targetServerUsername"],
|
|
566
|
-
};
|
|
567
|
-
}
|
|
568
|
-
export function adminCredentialsSerializer(item) {
|
|
569
|
-
return {
|
|
570
|
-
sourceServerPassword: item["sourceServerPassword"],
|
|
571
|
-
targetServerPassword: item["targetServerPassword"],
|
|
572
|
-
};
|
|
573
|
-
}
|
|
574
|
-
export function adminCredentialsDeserializer(item) {
|
|
575
|
-
return {
|
|
576
|
-
sourceServerPassword: item["sourceServerPassword"],
|
|
577
|
-
targetServerPassword: item["targetServerPassword"],
|
|
578
|
-
};
|
|
579
|
-
}
|
|
580
|
-
/** Indicates whether to setup logical replication on source server, if needed. */
|
|
581
|
-
export var KnownLogicalReplicationOnSourceServer;
|
|
582
|
-
(function (KnownLogicalReplicationOnSourceServer) {
|
|
583
|
-
/** True */
|
|
584
|
-
KnownLogicalReplicationOnSourceServer["True"] = "True";
|
|
585
|
-
/** False */
|
|
586
|
-
KnownLogicalReplicationOnSourceServer["False"] = "False";
|
|
587
|
-
})(KnownLogicalReplicationOnSourceServer || (KnownLogicalReplicationOnSourceServer = {}));
|
|
588
|
-
/** Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation. */
|
|
589
|
-
export var KnownOverwriteDatabasesOnTargetServer;
|
|
590
|
-
(function (KnownOverwriteDatabasesOnTargetServer) {
|
|
591
|
-
/** True */
|
|
592
|
-
KnownOverwriteDatabasesOnTargetServer["True"] = "True";
|
|
593
|
-
/** False */
|
|
594
|
-
KnownOverwriteDatabasesOnTargetServer["False"] = "False";
|
|
595
|
-
})(KnownOverwriteDatabasesOnTargetServer || (KnownOverwriteDatabasesOnTargetServer = {}));
|
|
596
|
-
/** Indicates if roles and permissions must be migrated. */
|
|
597
|
-
export var KnownMigrateRolesAndPermissions;
|
|
598
|
-
(function (KnownMigrateRolesAndPermissions) {
|
|
599
|
-
/** True */
|
|
600
|
-
KnownMigrateRolesAndPermissions["True"] = "True";
|
|
601
|
-
/** False */
|
|
602
|
-
KnownMigrateRolesAndPermissions["False"] = "False";
|
|
603
|
-
})(KnownMigrateRolesAndPermissions || (KnownMigrateRolesAndPermissions = {}));
|
|
604
|
-
/** Indicates if data migration must start right away. */
|
|
605
|
-
export var KnownStartDataMigration;
|
|
606
|
-
(function (KnownStartDataMigration) {
|
|
607
|
-
/** True */
|
|
608
|
-
KnownStartDataMigration["True"] = "True";
|
|
609
|
-
/** False */
|
|
610
|
-
KnownStartDataMigration["False"] = "False";
|
|
611
|
-
})(KnownStartDataMigration || (KnownStartDataMigration = {}));
|
|
612
|
-
/** Indicates if cutover must be triggered for the entire migration. */
|
|
613
|
-
export var KnownTriggerCutover;
|
|
614
|
-
(function (KnownTriggerCutover) {
|
|
615
|
-
/** True */
|
|
616
|
-
KnownTriggerCutover["True"] = "True";
|
|
617
|
-
/** False */
|
|
618
|
-
KnownTriggerCutover["False"] = "False";
|
|
619
|
-
})(KnownTriggerCutover || (KnownTriggerCutover = {}));
|
|
620
|
-
/** Indicates if cancel must be triggered for the entire migration. */
|
|
621
|
-
export var KnownCancel;
|
|
622
|
-
(function (KnownCancel) {
|
|
623
|
-
/** True */
|
|
624
|
-
KnownCancel["True"] = "True";
|
|
625
|
-
/** False */
|
|
626
|
-
KnownCancel["False"] = "False";
|
|
627
|
-
})(KnownCancel || (KnownCancel = {}));
|
|
628
|
-
export function trackedResourceSerializer(item) {
|
|
629
|
-
return { tags: item["tags"], location: item["location"] };
|
|
630
|
-
}
|
|
631
|
-
export function trackedResourceDeserializer(item) {
|
|
632
|
-
return {
|
|
633
|
-
id: item["id"],
|
|
634
|
-
name: item["name"],
|
|
635
|
-
type: item["type"],
|
|
636
|
-
systemData: !item["systemData"]
|
|
637
|
-
? item["systemData"]
|
|
638
|
-
: systemDataDeserializer(item["systemData"]),
|
|
639
|
-
tags: !item["tags"]
|
|
640
|
-
? item["tags"]
|
|
641
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
642
|
-
location: item["location"],
|
|
643
|
-
};
|
|
644
|
-
}
|
|
645
|
-
export function resourceSerializer(item) {
|
|
646
|
-
return item;
|
|
647
|
-
}
|
|
648
|
-
export function resourceDeserializer(item) {
|
|
649
|
-
return {
|
|
650
|
-
id: item["id"],
|
|
651
|
-
name: item["name"],
|
|
652
|
-
type: item["type"],
|
|
653
|
-
systemData: !item["systemData"]
|
|
654
|
-
? item["systemData"]
|
|
655
|
-
: systemDataDeserializer(item["systemData"]),
|
|
656
|
-
};
|
|
657
|
-
}
|
|
658
|
-
export function systemDataDeserializer(item) {
|
|
659
|
-
return {
|
|
660
|
-
createdBy: item["createdBy"],
|
|
661
|
-
createdByType: item["createdByType"],
|
|
662
|
-
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
663
|
-
lastModifiedBy: item["lastModifiedBy"],
|
|
664
|
-
lastModifiedByType: item["lastModifiedByType"],
|
|
665
|
-
lastModifiedAt: !item["lastModifiedAt"]
|
|
666
|
-
? item["lastModifiedAt"]
|
|
667
|
-
: new Date(item["lastModifiedAt"]),
|
|
668
|
-
};
|
|
669
|
-
}
|
|
670
|
-
/** The kind of entity that created the resource. */
|
|
671
|
-
export var KnownCreatedByType;
|
|
672
|
-
(function (KnownCreatedByType) {
|
|
673
|
-
/** The entity was created by a user. */
|
|
674
|
-
KnownCreatedByType["User"] = "User";
|
|
675
|
-
/** The entity was created by an application. */
|
|
676
|
-
KnownCreatedByType["Application"] = "Application";
|
|
677
|
-
/** The entity was created by a managed identity. */
|
|
678
|
-
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
679
|
-
/** The entity was created by a key. */
|
|
680
|
-
KnownCreatedByType["Key"] = "Key";
|
|
681
|
-
})(KnownCreatedByType || (KnownCreatedByType = {}));
|
|
682
|
-
export function migrationResourceForPatchSerializer(item) {
|
|
683
|
-
return {
|
|
684
|
-
properties: areAllPropsUndefined(item, [
|
|
685
|
-
"sourceDbServerResourceId",
|
|
686
|
-
"sourceDbServerFullyQualifiedDomainName",
|
|
687
|
-
"targetDbServerFullyQualifiedDomainName",
|
|
688
|
-
"secretParameters",
|
|
689
|
-
"dbsToMigrate",
|
|
690
|
-
"setupLogicalReplicationOnSourceDbIfNeeded",
|
|
691
|
-
"overwriteDbsInTarget",
|
|
692
|
-
"migrationWindowStartTimeInUtc",
|
|
693
|
-
"migrateRoles",
|
|
694
|
-
"startDataMigration",
|
|
695
|
-
"triggerCutover",
|
|
696
|
-
"dbsToTriggerCutoverOn",
|
|
697
|
-
"cancel",
|
|
698
|
-
"dbsToCancelMigrationOn",
|
|
699
|
-
"migrationMode",
|
|
700
|
-
])
|
|
701
|
-
? undefined
|
|
702
|
-
: _migrationResourceForPatchPropertiesSerializer(item),
|
|
703
|
-
tags: item["tags"],
|
|
704
|
-
};
|
|
705
|
-
}
|
|
706
|
-
export function migrationPropertiesForPatchSerializer(item) {
|
|
707
|
-
return {
|
|
708
|
-
sourceDbServerResourceId: item["sourceDbServerResourceId"],
|
|
709
|
-
sourceDbServerFullyQualifiedDomainName: item["sourceDbServerFullyQualifiedDomainName"],
|
|
710
|
-
targetDbServerFullyQualifiedDomainName: item["targetDbServerFullyQualifiedDomainName"],
|
|
711
|
-
secretParameters: !item["secretParameters"]
|
|
712
|
-
? item["secretParameters"]
|
|
713
|
-
: migrationSecretParametersForPatchSerializer(item["secretParameters"]),
|
|
714
|
-
dbsToMigrate: !item["dbsToMigrate"]
|
|
715
|
-
? item["dbsToMigrate"]
|
|
716
|
-
: item["dbsToMigrate"].map((p) => {
|
|
717
|
-
return p;
|
|
718
|
-
}),
|
|
719
|
-
setupLogicalReplicationOnSourceDbIfNeeded: item["setupLogicalReplicationOnSourceDbIfNeeded"],
|
|
720
|
-
overwriteDbsInTarget: item["overwriteDbsInTarget"],
|
|
721
|
-
migrationWindowStartTimeInUtc: !item["migrationWindowStartTimeInUtc"]
|
|
722
|
-
? item["migrationWindowStartTimeInUtc"]
|
|
723
|
-
: item["migrationWindowStartTimeInUtc"].toISOString(),
|
|
724
|
-
migrateRoles: item["migrateRoles"],
|
|
725
|
-
startDataMigration: item["startDataMigration"],
|
|
726
|
-
triggerCutover: item["triggerCutover"],
|
|
727
|
-
dbsToTriggerCutoverOn: !item["dbsToTriggerCutoverOn"]
|
|
728
|
-
? item["dbsToTriggerCutoverOn"]
|
|
729
|
-
: item["dbsToTriggerCutoverOn"].map((p) => {
|
|
730
|
-
return p;
|
|
731
|
-
}),
|
|
732
|
-
cancel: item["cancel"],
|
|
733
|
-
dbsToCancelMigrationOn: !item["dbsToCancelMigrationOn"]
|
|
734
|
-
? item["dbsToCancelMigrationOn"]
|
|
735
|
-
: item["dbsToCancelMigrationOn"].map((p) => {
|
|
736
|
-
return p;
|
|
737
|
-
}),
|
|
738
|
-
migrationMode: item["migrationMode"],
|
|
739
|
-
};
|
|
740
|
-
}
|
|
741
|
-
export function migrationSecretParametersForPatchSerializer(item) {
|
|
742
|
-
return {
|
|
743
|
-
adminCredentials: !item["adminCredentials"]
|
|
744
|
-
? item["adminCredentials"]
|
|
745
|
-
: adminCredentialsForPatchSerializer(item["adminCredentials"]),
|
|
746
|
-
sourceServerUsername: item["sourceServerUsername"],
|
|
747
|
-
targetServerUsername: item["targetServerUsername"],
|
|
748
|
-
};
|
|
749
|
-
}
|
|
750
|
-
export function adminCredentialsForPatchSerializer(item) {
|
|
751
|
-
return {
|
|
752
|
-
sourceServerPassword: item["sourceServerPassword"],
|
|
753
|
-
targetServerPassword: item["targetServerPassword"],
|
|
754
|
-
};
|
|
755
|
-
}
|
|
756
|
-
export function _migrationListDeserializer(item) {
|
|
757
|
-
return {
|
|
758
|
-
value: migrationArrayDeserializer(item["value"]),
|
|
759
|
-
nextLink: item["nextLink"],
|
|
760
|
-
};
|
|
761
|
-
}
|
|
762
|
-
export function migrationArraySerializer(result) {
|
|
763
|
-
return result.map((item) => {
|
|
764
|
-
return migrationSerializer(item);
|
|
765
|
-
});
|
|
766
|
-
}
|
|
767
|
-
export function migrationArrayDeserializer(result) {
|
|
768
|
-
return result.map((item) => {
|
|
769
|
-
return migrationDeserializer(item);
|
|
770
|
-
});
|
|
771
|
-
}
|
|
772
|
-
export function migrationNameAvailabilitySerializer(item) {
|
|
773
|
-
return { name: item["name"], type: item["type"] };
|
|
774
|
-
}
|
|
775
|
-
export function migrationNameAvailabilityDeserializer(item) {
|
|
776
|
-
return {
|
|
777
|
-
name: item["name"],
|
|
778
|
-
type: item["type"],
|
|
779
|
-
nameAvailable: item["nameAvailable"],
|
|
780
|
-
reason: item["reason"],
|
|
781
|
-
message: item["message"],
|
|
782
|
-
};
|
|
783
|
-
}
|
|
784
|
-
/** Migration name availability reason. */
|
|
785
|
-
export var KnownMigrationNameAvailabilityReason;
|
|
786
|
-
(function (KnownMigrationNameAvailabilityReason) {
|
|
787
|
-
/** Invalid */
|
|
788
|
-
KnownMigrationNameAvailabilityReason["Invalid"] = "Invalid";
|
|
789
|
-
/** AlreadyExists */
|
|
790
|
-
KnownMigrationNameAvailabilityReason["AlreadyExists"] = "AlreadyExists";
|
|
791
|
-
})(KnownMigrationNameAvailabilityReason || (KnownMigrationNameAvailabilityReason = {}));
|
|
792
|
-
export function serverSerializer(item) {
|
|
793
|
-
return {
|
|
794
|
-
tags: item["tags"],
|
|
795
|
-
location: item["location"],
|
|
796
|
-
properties: areAllPropsUndefined(item, [
|
|
797
|
-
"administratorLogin",
|
|
798
|
-
"administratorLoginPassword",
|
|
799
|
-
"version",
|
|
800
|
-
"storage",
|
|
801
|
-
"authConfig",
|
|
802
|
-
"dataEncryption",
|
|
803
|
-
"backup",
|
|
804
|
-
"network",
|
|
805
|
-
"highAvailability",
|
|
806
|
-
"maintenanceWindow",
|
|
807
|
-
"sourceServerResourceId",
|
|
808
|
-
"pointInTimeUTC",
|
|
809
|
-
"availabilityZone",
|
|
810
|
-
"replicationRole",
|
|
811
|
-
"replica",
|
|
812
|
-
"createMode",
|
|
813
|
-
"cluster",
|
|
814
|
-
])
|
|
815
|
-
? undefined
|
|
816
|
-
: _serverPropertiesSerializer(item),
|
|
817
|
-
sku: !item["sku"] ? item["sku"] : skuSerializer(item["sku"]),
|
|
818
|
-
identity: !item["identity"]
|
|
819
|
-
? item["identity"]
|
|
820
|
-
: userAssignedIdentitySerializer(item["identity"]),
|
|
821
|
-
};
|
|
822
|
-
}
|
|
823
|
-
export function serverDeserializer(item) {
|
|
824
|
-
return {
|
|
825
|
-
tags: !item["tags"]
|
|
826
|
-
? item["tags"]
|
|
827
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
828
|
-
location: item["location"],
|
|
829
|
-
id: item["id"],
|
|
830
|
-
name: item["name"],
|
|
831
|
-
type: item["type"],
|
|
832
|
-
systemData: !item["systemData"]
|
|
833
|
-
? item["systemData"]
|
|
834
|
-
: systemDataDeserializer(item["systemData"]),
|
|
835
|
-
...(!item["properties"]
|
|
836
|
-
? item["properties"]
|
|
837
|
-
: _serverPropertiesDeserializer(item["properties"])),
|
|
838
|
-
sku: !item["sku"] ? item["sku"] : skuDeserializer(item["sku"]),
|
|
839
|
-
identity: !item["identity"]
|
|
840
|
-
? item["identity"]
|
|
841
|
-
: userAssignedIdentityDeserializer(item["identity"]),
|
|
842
|
-
};
|
|
843
|
-
}
|
|
844
|
-
export function serverPropertiesSerializer(item) {
|
|
845
|
-
return {
|
|
846
|
-
administratorLogin: item["administratorLogin"],
|
|
847
|
-
administratorLoginPassword: item["administratorLoginPassword"],
|
|
848
|
-
version: item["version"],
|
|
849
|
-
storage: !item["storage"] ? item["storage"] : storageSerializer(item["storage"]),
|
|
850
|
-
authConfig: !item["authConfig"] ? item["authConfig"] : authConfigSerializer(item["authConfig"]),
|
|
851
|
-
dataEncryption: !item["dataEncryption"]
|
|
852
|
-
? item["dataEncryption"]
|
|
853
|
-
: dataEncryptionSerializer(item["dataEncryption"]),
|
|
854
|
-
backup: !item["backup"] ? item["backup"] : backupSerializer(item["backup"]),
|
|
855
|
-
network: !item["network"] ? item["network"] : networkSerializer(item["network"]),
|
|
856
|
-
highAvailability: !item["highAvailability"]
|
|
857
|
-
? item["highAvailability"]
|
|
858
|
-
: highAvailabilitySerializer(item["highAvailability"]),
|
|
859
|
-
maintenanceWindow: !item["maintenanceWindow"]
|
|
860
|
-
? item["maintenanceWindow"]
|
|
861
|
-
: maintenanceWindowSerializer(item["maintenanceWindow"]),
|
|
862
|
-
sourceServerResourceId: item["sourceServerResourceId"],
|
|
863
|
-
pointInTimeUTC: !item["pointInTimeUTC"]
|
|
864
|
-
? item["pointInTimeUTC"]
|
|
865
|
-
: item["pointInTimeUTC"].toISOString(),
|
|
866
|
-
availabilityZone: item["availabilityZone"],
|
|
867
|
-
replicationRole: item["replicationRole"],
|
|
868
|
-
replica: !item["replica"] ? item["replica"] : replicaSerializer(item["replica"]),
|
|
869
|
-
createMode: item["createMode"],
|
|
870
|
-
cluster: !item["cluster"] ? item["cluster"] : clusterSerializer(item["cluster"]),
|
|
871
|
-
};
|
|
872
|
-
}
|
|
873
|
-
export function serverPropertiesDeserializer(item) {
|
|
874
|
-
return {
|
|
875
|
-
administratorLogin: item["administratorLogin"],
|
|
876
|
-
administratorLoginPassword: item["administratorLoginPassword"],
|
|
877
|
-
version: item["version"],
|
|
878
|
-
minorVersion: item["minorVersion"],
|
|
879
|
-
state: item["state"],
|
|
880
|
-
fullyQualifiedDomainName: item["fullyQualifiedDomainName"],
|
|
881
|
-
storage: !item["storage"] ? item["storage"] : storageDeserializer(item["storage"]),
|
|
882
|
-
authConfig: !item["authConfig"]
|
|
883
|
-
? item["authConfig"]
|
|
884
|
-
: authConfigDeserializer(item["authConfig"]),
|
|
885
|
-
dataEncryption: !item["dataEncryption"]
|
|
886
|
-
? item["dataEncryption"]
|
|
887
|
-
: dataEncryptionDeserializer(item["dataEncryption"]),
|
|
888
|
-
backup: !item["backup"] ? item["backup"] : backupDeserializer(item["backup"]),
|
|
889
|
-
network: !item["network"] ? item["network"] : networkDeserializer(item["network"]),
|
|
890
|
-
highAvailability: !item["highAvailability"]
|
|
891
|
-
? item["highAvailability"]
|
|
892
|
-
: highAvailabilityDeserializer(item["highAvailability"]),
|
|
893
|
-
maintenanceWindow: !item["maintenanceWindow"]
|
|
894
|
-
? item["maintenanceWindow"]
|
|
895
|
-
: maintenanceWindowDeserializer(item["maintenanceWindow"]),
|
|
896
|
-
sourceServerResourceId: item["sourceServerResourceId"],
|
|
897
|
-
pointInTimeUTC: !item["pointInTimeUTC"]
|
|
898
|
-
? item["pointInTimeUTC"]
|
|
899
|
-
: new Date(item["pointInTimeUTC"]),
|
|
900
|
-
availabilityZone: item["availabilityZone"],
|
|
901
|
-
replicationRole: item["replicationRole"],
|
|
902
|
-
replicaCapacity: item["replicaCapacity"],
|
|
903
|
-
replica: !item["replica"] ? item["replica"] : replicaDeserializer(item["replica"]),
|
|
904
|
-
createMode: item["createMode"],
|
|
905
|
-
privateEndpointConnections: !item["privateEndpointConnections"]
|
|
906
|
-
? item["privateEndpointConnections"]
|
|
907
|
-
: privateEndpointConnectionArrayDeserializer(item["privateEndpointConnections"]),
|
|
908
|
-
cluster: !item["cluster"] ? item["cluster"] : clusterDeserializer(item["cluster"]),
|
|
909
|
-
};
|
|
910
|
-
}
|
|
911
|
-
/** Major version of PostgreSQL database engine. */
|
|
912
|
-
export var KnownPostgresMajorVersion;
|
|
913
|
-
(function (KnownPostgresMajorVersion) {
|
|
914
|
-
/** 18 */
|
|
915
|
-
KnownPostgresMajorVersion["Eighteen"] = "18";
|
|
916
|
-
/** 17 */
|
|
917
|
-
KnownPostgresMajorVersion["Seventeen"] = "17";
|
|
918
|
-
/** 16 */
|
|
919
|
-
KnownPostgresMajorVersion["Sixteen"] = "16";
|
|
920
|
-
/** 15 */
|
|
921
|
-
KnownPostgresMajorVersion["Fifteen"] = "15";
|
|
922
|
-
/** 14 */
|
|
923
|
-
KnownPostgresMajorVersion["Fourteen"] = "14";
|
|
924
|
-
/** 13 */
|
|
925
|
-
KnownPostgresMajorVersion["Thirteen"] = "13";
|
|
926
|
-
/** 12 */
|
|
927
|
-
KnownPostgresMajorVersion["Twelve"] = "12";
|
|
928
|
-
/** 11 */
|
|
929
|
-
KnownPostgresMajorVersion["Eleven"] = "11";
|
|
930
|
-
})(KnownPostgresMajorVersion || (KnownPostgresMajorVersion = {}));
|
|
931
|
-
/** Possible states of a server. */
|
|
932
|
-
export var KnownServerState;
|
|
933
|
-
(function (KnownServerState) {
|
|
934
|
-
/** Ready */
|
|
935
|
-
KnownServerState["Ready"] = "Ready";
|
|
936
|
-
/** Dropping */
|
|
937
|
-
KnownServerState["Dropping"] = "Dropping";
|
|
938
|
-
/** Disabled */
|
|
939
|
-
KnownServerState["Disabled"] = "Disabled";
|
|
940
|
-
/** Starting */
|
|
941
|
-
KnownServerState["Starting"] = "Starting";
|
|
942
|
-
/** Stopping */
|
|
943
|
-
KnownServerState["Stopping"] = "Stopping";
|
|
944
|
-
/** Stopped */
|
|
945
|
-
KnownServerState["Stopped"] = "Stopped";
|
|
946
|
-
/** Updating */
|
|
947
|
-
KnownServerState["Updating"] = "Updating";
|
|
948
|
-
/** Restarting */
|
|
949
|
-
KnownServerState["Restarting"] = "Restarting";
|
|
950
|
-
/** Inaccessible */
|
|
951
|
-
KnownServerState["Inaccessible"] = "Inaccessible";
|
|
952
|
-
/** Provisioning */
|
|
953
|
-
KnownServerState["Provisioning"] = "Provisioning";
|
|
954
|
-
})(KnownServerState || (KnownServerState = {}));
|
|
955
|
-
export function storageSerializer(item) {
|
|
956
|
-
return {
|
|
957
|
-
storageSizeGB: item["storageSizeGB"],
|
|
958
|
-
autoGrow: item["autoGrow"],
|
|
959
|
-
tier: item["tier"],
|
|
960
|
-
iops: item["iops"],
|
|
961
|
-
throughput: item["throughput"],
|
|
962
|
-
type: item["type"],
|
|
963
|
-
};
|
|
964
|
-
}
|
|
965
|
-
export function storageDeserializer(item) {
|
|
966
|
-
return {
|
|
967
|
-
storageSizeGB: item["storageSizeGB"],
|
|
968
|
-
autoGrow: item["autoGrow"],
|
|
969
|
-
tier: item["tier"],
|
|
970
|
-
iops: item["iops"],
|
|
971
|
-
throughput: item["throughput"],
|
|
972
|
-
type: item["type"],
|
|
973
|
-
};
|
|
974
|
-
}
|
|
975
|
-
/** Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size. */
|
|
976
|
-
export var KnownStorageAutoGrow;
|
|
977
|
-
(function (KnownStorageAutoGrow) {
|
|
978
|
-
/** Enabled */
|
|
979
|
-
KnownStorageAutoGrow["Enabled"] = "Enabled";
|
|
980
|
-
/** Disabled */
|
|
981
|
-
KnownStorageAutoGrow["Disabled"] = "Disabled";
|
|
982
|
-
})(KnownStorageAutoGrow || (KnownStorageAutoGrow = {}));
|
|
983
|
-
/** Storage tier of a server. */
|
|
984
|
-
export var KnownAzureManagedDiskPerformanceTier;
|
|
985
|
-
(function (KnownAzureManagedDiskPerformanceTier) {
|
|
986
|
-
/** P1 */
|
|
987
|
-
KnownAzureManagedDiskPerformanceTier["P1"] = "P1";
|
|
988
|
-
/** P2 */
|
|
989
|
-
KnownAzureManagedDiskPerformanceTier["P2"] = "P2";
|
|
990
|
-
/** P3 */
|
|
991
|
-
KnownAzureManagedDiskPerformanceTier["P3"] = "P3";
|
|
992
|
-
/** P4 */
|
|
993
|
-
KnownAzureManagedDiskPerformanceTier["P4"] = "P4";
|
|
994
|
-
/** P6 */
|
|
995
|
-
KnownAzureManagedDiskPerformanceTier["P6"] = "P6";
|
|
996
|
-
/** P10 */
|
|
997
|
-
KnownAzureManagedDiskPerformanceTier["P10"] = "P10";
|
|
998
|
-
/** P15 */
|
|
999
|
-
KnownAzureManagedDiskPerformanceTier["P15"] = "P15";
|
|
1000
|
-
/** P20 */
|
|
1001
|
-
KnownAzureManagedDiskPerformanceTier["P20"] = "P20";
|
|
1002
|
-
/** P30 */
|
|
1003
|
-
KnownAzureManagedDiskPerformanceTier["P30"] = "P30";
|
|
1004
|
-
/** P40 */
|
|
1005
|
-
KnownAzureManagedDiskPerformanceTier["P40"] = "P40";
|
|
1006
|
-
/** P50 */
|
|
1007
|
-
KnownAzureManagedDiskPerformanceTier["P50"] = "P50";
|
|
1008
|
-
/** P60 */
|
|
1009
|
-
KnownAzureManagedDiskPerformanceTier["P60"] = "P60";
|
|
1010
|
-
/** P70 */
|
|
1011
|
-
KnownAzureManagedDiskPerformanceTier["P70"] = "P70";
|
|
1012
|
-
/** P80 */
|
|
1013
|
-
KnownAzureManagedDiskPerformanceTier["P80"] = "P80";
|
|
1014
|
-
})(KnownAzureManagedDiskPerformanceTier || (KnownAzureManagedDiskPerformanceTier = {}));
|
|
1015
|
-
/** Type of storage assigned to a server. Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. If not specified, it defaults to Premium_LRS. */
|
|
1016
|
-
export var KnownStorageType;
|
|
1017
|
-
(function (KnownStorageType) {
|
|
1018
|
-
/** Premium_LRS */
|
|
1019
|
-
KnownStorageType["PremiumLRS"] = "Premium_LRS";
|
|
1020
|
-
/** PremiumV2_LRS */
|
|
1021
|
-
KnownStorageType["PremiumV2LRS"] = "PremiumV2_LRS";
|
|
1022
|
-
/** UltraSSD_LRS */
|
|
1023
|
-
KnownStorageType["UltraSSDLRS"] = "UltraSSD_LRS";
|
|
1024
|
-
})(KnownStorageType || (KnownStorageType = {}));
|
|
1025
|
-
export function authConfigSerializer(item) {
|
|
1026
|
-
return {
|
|
1027
|
-
activeDirectoryAuth: item["activeDirectoryAuth"],
|
|
1028
|
-
passwordAuth: item["passwordAuth"],
|
|
1029
|
-
tenantId: item["tenantId"],
|
|
1030
|
-
};
|
|
1031
|
-
}
|
|
1032
|
-
export function authConfigDeserializer(item) {
|
|
1033
|
-
return {
|
|
1034
|
-
activeDirectoryAuth: item["activeDirectoryAuth"],
|
|
1035
|
-
passwordAuth: item["passwordAuth"],
|
|
1036
|
-
tenantId: item["tenantId"],
|
|
1037
|
-
};
|
|
1038
|
-
}
|
|
1039
|
-
/** Indicates if the server supports Microsoft Entra authentication. */
|
|
1040
|
-
export var KnownMicrosoftEntraAuth;
|
|
1041
|
-
(function (KnownMicrosoftEntraAuth) {
|
|
1042
|
-
/** Enabled */
|
|
1043
|
-
KnownMicrosoftEntraAuth["Enabled"] = "Enabled";
|
|
1044
|
-
/** Disabled */
|
|
1045
|
-
KnownMicrosoftEntraAuth["Disabled"] = "Disabled";
|
|
1046
|
-
})(KnownMicrosoftEntraAuth || (KnownMicrosoftEntraAuth = {}));
|
|
1047
|
-
/** Indicates if the server supports password based authentication. */
|
|
1048
|
-
export var KnownPasswordBasedAuth;
|
|
1049
|
-
(function (KnownPasswordBasedAuth) {
|
|
1050
|
-
/** Enabled */
|
|
1051
|
-
KnownPasswordBasedAuth["Enabled"] = "Enabled";
|
|
1052
|
-
/** Disabled */
|
|
1053
|
-
KnownPasswordBasedAuth["Disabled"] = "Disabled";
|
|
1054
|
-
})(KnownPasswordBasedAuth || (KnownPasswordBasedAuth = {}));
|
|
1055
|
-
export function dataEncryptionSerializer(item) {
|
|
1056
|
-
return {
|
|
1057
|
-
primaryKeyURI: item["primaryKeyURI"],
|
|
1058
|
-
primaryUserAssignedIdentityId: item["primaryUserAssignedIdentityId"],
|
|
1059
|
-
geoBackupKeyURI: item["geoBackupKeyURI"],
|
|
1060
|
-
geoBackupUserAssignedIdentityId: item["geoBackupUserAssignedIdentityId"],
|
|
1061
|
-
type: item["type"],
|
|
1062
|
-
};
|
|
1063
|
-
}
|
|
1064
|
-
export function dataEncryptionDeserializer(item) {
|
|
1065
|
-
return {
|
|
1066
|
-
primaryKeyURI: item["primaryKeyURI"],
|
|
1067
|
-
primaryUserAssignedIdentityId: item["primaryUserAssignedIdentityId"],
|
|
1068
|
-
geoBackupKeyURI: item["geoBackupKeyURI"],
|
|
1069
|
-
geoBackupUserAssignedIdentityId: item["geoBackupUserAssignedIdentityId"],
|
|
1070
|
-
type: item["type"],
|
|
1071
|
-
primaryEncryptionKeyStatus: item["primaryEncryptionKeyStatus"],
|
|
1072
|
-
geoBackupEncryptionKeyStatus: item["geoBackupEncryptionKeyStatus"],
|
|
1073
|
-
};
|
|
1074
|
-
}
|
|
1075
|
-
/** Data encryption type used by a server. */
|
|
1076
|
-
export var KnownDataEncryptionType;
|
|
1077
|
-
(function (KnownDataEncryptionType) {
|
|
1078
|
-
/** SystemManaged */
|
|
1079
|
-
KnownDataEncryptionType["SystemManaged"] = "SystemManaged";
|
|
1080
|
-
/** AzureKeyVault */
|
|
1081
|
-
KnownDataEncryptionType["AzureKeyVault"] = "AzureKeyVault";
|
|
1082
|
-
})(KnownDataEncryptionType || (KnownDataEncryptionType = {}));
|
|
1083
|
-
/** Status of key used by a server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server. */
|
|
1084
|
-
export var KnownEncryptionKeyStatus;
|
|
1085
|
-
(function (KnownEncryptionKeyStatus) {
|
|
1086
|
-
/** Valid */
|
|
1087
|
-
KnownEncryptionKeyStatus["Valid"] = "Valid";
|
|
1088
|
-
/** Invalid */
|
|
1089
|
-
KnownEncryptionKeyStatus["Invalid"] = "Invalid";
|
|
1090
|
-
})(KnownEncryptionKeyStatus || (KnownEncryptionKeyStatus = {}));
|
|
1091
|
-
export function backupSerializer(item) {
|
|
1092
|
-
return {
|
|
1093
|
-
backupRetentionDays: item["backupRetentionDays"],
|
|
1094
|
-
geoRedundantBackup: item["geoRedundantBackup"],
|
|
1095
|
-
};
|
|
1096
|
-
}
|
|
1097
|
-
export function backupDeserializer(item) {
|
|
1098
|
-
return {
|
|
1099
|
-
backupRetentionDays: item["backupRetentionDays"],
|
|
1100
|
-
geoRedundantBackup: item["geoRedundantBackup"],
|
|
1101
|
-
earliestRestoreDate: !item["earliestRestoreDate"]
|
|
1102
|
-
? item["earliestRestoreDate"]
|
|
1103
|
-
: new Date(item["earliestRestoreDate"]),
|
|
1104
|
-
};
|
|
1105
|
-
}
|
|
1106
|
-
/** Indicates if the server is configured to create geographically redundant backups. */
|
|
1107
|
-
export var KnownGeographicallyRedundantBackup;
|
|
1108
|
-
(function (KnownGeographicallyRedundantBackup) {
|
|
1109
|
-
/** Enabled */
|
|
1110
|
-
KnownGeographicallyRedundantBackup["Enabled"] = "Enabled";
|
|
1111
|
-
/** Disabled */
|
|
1112
|
-
KnownGeographicallyRedundantBackup["Disabled"] = "Disabled";
|
|
1113
|
-
})(KnownGeographicallyRedundantBackup || (KnownGeographicallyRedundantBackup = {}));
|
|
1114
|
-
export function networkSerializer(item) {
|
|
1115
|
-
return {
|
|
1116
|
-
publicNetworkAccess: item["publicNetworkAccess"],
|
|
1117
|
-
delegatedSubnetResourceId: item["delegatedSubnetResourceId"],
|
|
1118
|
-
privateDnsZoneArmResourceId: item["privateDnsZoneArmResourceId"],
|
|
1119
|
-
};
|
|
1120
|
-
}
|
|
1121
|
-
export function networkDeserializer(item) {
|
|
1122
|
-
return {
|
|
1123
|
-
publicNetworkAccess: item["publicNetworkAccess"],
|
|
1124
|
-
delegatedSubnetResourceId: item["delegatedSubnetResourceId"],
|
|
1125
|
-
privateDnsZoneArmResourceId: item["privateDnsZoneArmResourceId"],
|
|
1126
|
-
};
|
|
1127
|
-
}
|
|
1128
|
-
/** Indicates if public network access is enabled or not. */
|
|
1129
|
-
export var KnownServerPublicNetworkAccessState;
|
|
1130
|
-
(function (KnownServerPublicNetworkAccessState) {
|
|
1131
|
-
/** Enabled */
|
|
1132
|
-
KnownServerPublicNetworkAccessState["Enabled"] = "Enabled";
|
|
1133
|
-
/** Disabled */
|
|
1134
|
-
KnownServerPublicNetworkAccessState["Disabled"] = "Disabled";
|
|
1135
|
-
})(KnownServerPublicNetworkAccessState || (KnownServerPublicNetworkAccessState = {}));
|
|
1136
|
-
export function highAvailabilitySerializer(item) {
|
|
1137
|
-
return { mode: item["mode"], standbyAvailabilityZone: item["standbyAvailabilityZone"] };
|
|
1138
|
-
}
|
|
1139
|
-
export function highAvailabilityDeserializer(item) {
|
|
1140
|
-
return {
|
|
1141
|
-
mode: item["mode"],
|
|
1142
|
-
state: item["state"],
|
|
1143
|
-
standbyAvailabilityZone: item["standbyAvailabilityZone"],
|
|
1144
|
-
};
|
|
1145
|
-
}
|
|
1146
|
-
/** Modes of high availability supported for this compute. */
|
|
1147
|
-
export var KnownPostgreSqlFlexibleServerHighAvailabilityMode;
|
|
1148
|
-
(function (KnownPostgreSqlFlexibleServerHighAvailabilityMode) {
|
|
1149
|
-
/** Disabled */
|
|
1150
|
-
KnownPostgreSqlFlexibleServerHighAvailabilityMode["Disabled"] = "Disabled";
|
|
1151
|
-
/** ZoneRedundant */
|
|
1152
|
-
KnownPostgreSqlFlexibleServerHighAvailabilityMode["ZoneRedundant"] = "ZoneRedundant";
|
|
1153
|
-
/** SameZone */
|
|
1154
|
-
KnownPostgreSqlFlexibleServerHighAvailabilityMode["SameZone"] = "SameZone";
|
|
1155
|
-
})(KnownPostgreSqlFlexibleServerHighAvailabilityMode || (KnownPostgreSqlFlexibleServerHighAvailabilityMode = {}));
|
|
1156
|
-
/** Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant. */
|
|
1157
|
-
export var KnownHighAvailabilityState;
|
|
1158
|
-
(function (KnownHighAvailabilityState) {
|
|
1159
|
-
/** NotEnabled */
|
|
1160
|
-
KnownHighAvailabilityState["NotEnabled"] = "NotEnabled";
|
|
1161
|
-
/** CreatingStandby */
|
|
1162
|
-
KnownHighAvailabilityState["CreatingStandby"] = "CreatingStandby";
|
|
1163
|
-
/** ReplicatingData */
|
|
1164
|
-
KnownHighAvailabilityState["ReplicatingData"] = "ReplicatingData";
|
|
1165
|
-
/** FailingOver */
|
|
1166
|
-
KnownHighAvailabilityState["FailingOver"] = "FailingOver";
|
|
1167
|
-
/** Healthy */
|
|
1168
|
-
KnownHighAvailabilityState["Healthy"] = "Healthy";
|
|
1169
|
-
/** RemovingStandby */
|
|
1170
|
-
KnownHighAvailabilityState["RemovingStandby"] = "RemovingStandby";
|
|
1171
|
-
})(KnownHighAvailabilityState || (KnownHighAvailabilityState = {}));
|
|
1172
|
-
export function maintenanceWindowSerializer(item) {
|
|
1173
|
-
return {
|
|
1174
|
-
customWindow: item["customWindow"],
|
|
1175
|
-
startHour: item["startHour"],
|
|
1176
|
-
startMinute: item["startMinute"],
|
|
1177
|
-
dayOfWeek: item["dayOfWeek"],
|
|
1178
|
-
};
|
|
1179
|
-
}
|
|
1180
|
-
export function maintenanceWindowDeserializer(item) {
|
|
1181
|
-
return {
|
|
1182
|
-
customWindow: item["customWindow"],
|
|
1183
|
-
startHour: item["startHour"],
|
|
1184
|
-
startMinute: item["startMinute"],
|
|
1185
|
-
dayOfWeek: item["dayOfWeek"],
|
|
1186
|
-
};
|
|
1187
|
-
}
|
|
1188
|
-
/** Role of the server in a replication set. */
|
|
1189
|
-
export var KnownReplicationRole;
|
|
1190
|
-
(function (KnownReplicationRole) {
|
|
1191
|
-
/** None */
|
|
1192
|
-
KnownReplicationRole["None"] = "None";
|
|
1193
|
-
/** Primary */
|
|
1194
|
-
KnownReplicationRole["Primary"] = "Primary";
|
|
1195
|
-
/** AsyncReplica */
|
|
1196
|
-
KnownReplicationRole["AsyncReplica"] = "AsyncReplica";
|
|
1197
|
-
/** GeoAsyncReplica */
|
|
1198
|
-
KnownReplicationRole["GeoAsyncReplica"] = "GeoAsyncReplica";
|
|
1199
|
-
})(KnownReplicationRole || (KnownReplicationRole = {}));
|
|
1200
|
-
export function replicaSerializer(item) {
|
|
1201
|
-
return {
|
|
1202
|
-
role: item["role"],
|
|
1203
|
-
promoteMode: item["promoteMode"],
|
|
1204
|
-
promoteOption: item["promoteOption"],
|
|
1205
|
-
};
|
|
1206
|
-
}
|
|
1207
|
-
export function replicaDeserializer(item) {
|
|
1208
|
-
return {
|
|
1209
|
-
role: item["role"],
|
|
1210
|
-
capacity: item["capacity"],
|
|
1211
|
-
replicationState: item["replicationState"],
|
|
1212
|
-
promoteMode: item["promoteMode"],
|
|
1213
|
-
promoteOption: item["promoteOption"],
|
|
1214
|
-
};
|
|
1215
|
-
}
|
|
1216
|
-
/** Indicates the replication state of a read replica. This property is returned only when the target server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating */
|
|
1217
|
-
export var KnownReplicationState;
|
|
1218
|
-
(function (KnownReplicationState) {
|
|
1219
|
-
/** The read replica server is fully synchronized and actively replicating data from the primary server. */
|
|
1220
|
-
KnownReplicationState["Active"] = "Active";
|
|
1221
|
-
/** The read replica server is behind the primary server and is currently catching up with pending changes. */
|
|
1222
|
-
KnownReplicationState["Catchup"] = "Catchup";
|
|
1223
|
-
/** The read replica server is being created and is in process of getting initialized. */
|
|
1224
|
-
KnownReplicationState["Provisioning"] = "Provisioning";
|
|
1225
|
-
/** The read replica server is undergoing some changes it can be changing compute size of promoting it to primary server. */
|
|
1226
|
-
KnownReplicationState["Updating"] = "Updating";
|
|
1227
|
-
/** Replication has failed or been interrupted. */
|
|
1228
|
-
KnownReplicationState["Broken"] = "Broken";
|
|
1229
|
-
/** The read replica server is being reconfigured, possibly due to changes in source or settings. */
|
|
1230
|
-
KnownReplicationState["Reconfiguring"] = "Reconfiguring";
|
|
1231
|
-
})(KnownReplicationState || (KnownReplicationState = {}));
|
|
1232
|
-
/** Type of operation to apply on the read replica. This property is write only. Standalone means that the read replica will be promoted to a standalone server, and will become a completely independent entity from the replication set. Switchover means that the read replica will roles with the primary server. */
|
|
1233
|
-
export var KnownReadReplicaPromoteMode;
|
|
1234
|
-
(function (KnownReadReplicaPromoteMode) {
|
|
1235
|
-
/** Read replica will become an independent server. */
|
|
1236
|
-
KnownReadReplicaPromoteMode["Standalone"] = "Standalone";
|
|
1237
|
-
/** Read replica will swap roles with primary server. */
|
|
1238
|
-
KnownReadReplicaPromoteMode["Switchover"] = "Switchover";
|
|
1239
|
-
})(KnownReadReplicaPromoteMode || (KnownReadReplicaPromoteMode = {}));
|
|
1240
|
-
/** Data synchronization option to use when processing the operation specified in the promoteMode property. This property is write only. */
|
|
1241
|
-
export var KnownReadReplicaPromoteOption;
|
|
1242
|
-
(function (KnownReadReplicaPromoteOption) {
|
|
1243
|
-
/** The operation will wait for data in the read replica to be fully synchronized with its source server, before it initiates the operation. */
|
|
1244
|
-
KnownReadReplicaPromoteOption["Planned"] = "Planned";
|
|
1245
|
-
/** The operation will not wait for data in the read replica to be synchronized with its source server, before it initiates the operation. */
|
|
1246
|
-
KnownReadReplicaPromoteOption["Forced"] = "Forced";
|
|
1247
|
-
})(KnownReadReplicaPromoteOption || (KnownReadReplicaPromoteOption = {}));
|
|
1248
|
-
/** Creation mode of a new server. */
|
|
1249
|
-
export var KnownCreateMode;
|
|
1250
|
-
(function (KnownCreateMode) {
|
|
1251
|
-
/** Default */
|
|
1252
|
-
KnownCreateMode["Default"] = "Default";
|
|
1253
|
-
/** Create */
|
|
1254
|
-
KnownCreateMode["Create"] = "Create";
|
|
1255
|
-
/** Update */
|
|
1256
|
-
KnownCreateMode["Update"] = "Update";
|
|
1257
|
-
/** PointInTimeRestore */
|
|
1258
|
-
KnownCreateMode["PointInTimeRestore"] = "PointInTimeRestore";
|
|
1259
|
-
/** GeoRestore */
|
|
1260
|
-
KnownCreateMode["GeoRestore"] = "GeoRestore";
|
|
1261
|
-
/** Replica */
|
|
1262
|
-
KnownCreateMode["Replica"] = "Replica";
|
|
1263
|
-
/** ReviveDropped */
|
|
1264
|
-
KnownCreateMode["ReviveDropped"] = "ReviveDropped";
|
|
1265
|
-
})(KnownCreateMode || (KnownCreateMode = {}));
|
|
1266
|
-
export function privateEndpointConnectionArraySerializer(result) {
|
|
1267
|
-
return result.map((item) => {
|
|
1268
|
-
return privateEndpointConnectionSerializer(item);
|
|
1269
|
-
});
|
|
1270
|
-
}
|
|
1271
|
-
export function privateEndpointConnectionArrayDeserializer(result) {
|
|
1272
|
-
return result.map((item) => {
|
|
1273
|
-
return privateEndpointConnectionDeserializer(item);
|
|
1274
|
-
});
|
|
1275
|
-
}
|
|
1276
|
-
export function privateEndpointConnectionSerializer(item) {
|
|
1277
|
-
return {
|
|
1278
|
-
properties: areAllPropsUndefined(item, ["privateEndpoint", "privateLinkServiceConnectionState"])
|
|
1279
|
-
? undefined
|
|
1280
|
-
: _privateEndpointConnectionPropertiesSerializer(item),
|
|
1281
|
-
};
|
|
1282
|
-
}
|
|
1283
|
-
export function privateEndpointConnectionDeserializer(item) {
|
|
1284
|
-
return {
|
|
1285
|
-
id: item["id"],
|
|
1286
|
-
name: item["name"],
|
|
1287
|
-
type: item["type"],
|
|
1288
|
-
systemData: !item["systemData"]
|
|
1289
|
-
? item["systemData"]
|
|
1290
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1291
|
-
...(!item["properties"]
|
|
1292
|
-
? item["properties"]
|
|
1293
|
-
: _privateEndpointConnectionPropertiesDeserializer(item["properties"])),
|
|
1294
|
-
};
|
|
1295
|
-
}
|
|
1296
|
-
export function privateEndpointConnectionPropertiesSerializer(item) {
|
|
1297
|
-
return {
|
|
1298
|
-
privateEndpoint: !item["privateEndpoint"]
|
|
1299
|
-
? item["privateEndpoint"]
|
|
1300
|
-
: privateEndpointSerializer(item["privateEndpoint"]),
|
|
1301
|
-
privateLinkServiceConnectionState: privateLinkServiceConnectionStateSerializer(item["privateLinkServiceConnectionState"]),
|
|
1302
|
-
};
|
|
1303
|
-
}
|
|
1304
|
-
export function privateEndpointConnectionPropertiesDeserializer(item) {
|
|
1305
|
-
return {
|
|
1306
|
-
groupIds: !item["groupIds"]
|
|
1307
|
-
? item["groupIds"]
|
|
1308
|
-
: item["groupIds"].map((p) => {
|
|
1309
|
-
return p;
|
|
1310
|
-
}),
|
|
1311
|
-
privateEndpoint: !item["privateEndpoint"]
|
|
1312
|
-
? item["privateEndpoint"]
|
|
1313
|
-
: privateEndpointDeserializer(item["privateEndpoint"]),
|
|
1314
|
-
privateLinkServiceConnectionState: privateLinkServiceConnectionStateDeserializer(item["privateLinkServiceConnectionState"]),
|
|
1315
|
-
provisioningState: item["provisioningState"],
|
|
1316
|
-
};
|
|
1317
|
-
}
|
|
1318
|
-
export function privateEndpointSerializer(item) {
|
|
1319
|
-
return item;
|
|
1320
|
-
}
|
|
1321
|
-
export function privateEndpointDeserializer(item) {
|
|
1322
|
-
return {
|
|
1323
|
-
id: item["id"],
|
|
1324
|
-
};
|
|
1325
|
-
}
|
|
1326
|
-
export function privateLinkServiceConnectionStateSerializer(item) {
|
|
1327
|
-
return {
|
|
1328
|
-
status: item["status"],
|
|
1329
|
-
description: item["description"],
|
|
1330
|
-
actionsRequired: item["actionsRequired"],
|
|
1331
|
-
};
|
|
1332
|
-
}
|
|
1333
|
-
export function privateLinkServiceConnectionStateDeserializer(item) {
|
|
1334
|
-
return {
|
|
1335
|
-
status: item["status"],
|
|
1336
|
-
description: item["description"],
|
|
1337
|
-
actionsRequired: item["actionsRequired"],
|
|
1338
|
-
};
|
|
1339
|
-
}
|
|
1340
|
-
/** The private endpoint connection status. */
|
|
1341
|
-
export var KnownPrivateEndpointServiceConnectionStatus;
|
|
1342
|
-
(function (KnownPrivateEndpointServiceConnectionStatus) {
|
|
1343
|
-
/** Connection waiting for approval or rejection */
|
|
1344
|
-
KnownPrivateEndpointServiceConnectionStatus["Pending"] = "Pending";
|
|
1345
|
-
/** Connection approved */
|
|
1346
|
-
KnownPrivateEndpointServiceConnectionStatus["Approved"] = "Approved";
|
|
1347
|
-
/** Connection Rejected */
|
|
1348
|
-
KnownPrivateEndpointServiceConnectionStatus["Rejected"] = "Rejected";
|
|
1349
|
-
})(KnownPrivateEndpointServiceConnectionStatus || (KnownPrivateEndpointServiceConnectionStatus = {}));
|
|
1350
|
-
/** The current provisioning state. */
|
|
1351
|
-
export var KnownPrivateEndpointConnectionProvisioningState;
|
|
1352
|
-
(function (KnownPrivateEndpointConnectionProvisioningState) {
|
|
1353
|
-
/** Connection has been provisioned */
|
|
1354
|
-
KnownPrivateEndpointConnectionProvisioningState["Succeeded"] = "Succeeded";
|
|
1355
|
-
/** Connection is being created */
|
|
1356
|
-
KnownPrivateEndpointConnectionProvisioningState["Creating"] = "Creating";
|
|
1357
|
-
/** Connection is being deleted */
|
|
1358
|
-
KnownPrivateEndpointConnectionProvisioningState["Deleting"] = "Deleting";
|
|
1359
|
-
/** Connection provisioning has failed */
|
|
1360
|
-
KnownPrivateEndpointConnectionProvisioningState["Failed"] = "Failed";
|
|
1361
|
-
})(KnownPrivateEndpointConnectionProvisioningState || (KnownPrivateEndpointConnectionProvisioningState = {}));
|
|
1362
|
-
export function clusterSerializer(item) {
|
|
1363
|
-
return { clusterSize: item["clusterSize"], defaultDatabaseName: item["defaultDatabaseName"] };
|
|
1364
|
-
}
|
|
1365
|
-
export function clusterDeserializer(item) {
|
|
1366
|
-
return {
|
|
1367
|
-
clusterSize: item["clusterSize"],
|
|
1368
|
-
defaultDatabaseName: item["defaultDatabaseName"],
|
|
1369
|
-
};
|
|
1370
|
-
}
|
|
1371
|
-
export function skuSerializer(item) {
|
|
1372
|
-
return { name: item["name"], tier: item["tier"] };
|
|
1373
|
-
}
|
|
1374
|
-
export function skuDeserializer(item) {
|
|
1375
|
-
return {
|
|
1376
|
-
name: item["name"],
|
|
1377
|
-
tier: item["tier"],
|
|
1378
|
-
};
|
|
1379
|
-
}
|
|
1380
|
-
export function userAssignedIdentitySerializer(item) {
|
|
1381
|
-
return {
|
|
1382
|
-
userAssignedIdentities: !item["userAssignedIdentities"]
|
|
1383
|
-
? item["userAssignedIdentities"]
|
|
1384
|
-
: userIdentityRecordSerializer(item["userAssignedIdentities"]),
|
|
1385
|
-
principalId: item["principalId"],
|
|
1386
|
-
type: item["type"],
|
|
1387
|
-
};
|
|
1388
|
-
}
|
|
1389
|
-
export function userAssignedIdentityDeserializer(item) {
|
|
1390
|
-
return {
|
|
1391
|
-
userAssignedIdentities: !item["userAssignedIdentities"]
|
|
1392
|
-
? item["userAssignedIdentities"]
|
|
1393
|
-
: userIdentityRecordDeserializer(item["userAssignedIdentities"]),
|
|
1394
|
-
principalId: item["principalId"],
|
|
1395
|
-
type: item["type"],
|
|
1396
|
-
tenantId: item["tenantId"],
|
|
1397
|
-
};
|
|
1398
|
-
}
|
|
1399
|
-
export function userIdentityRecordSerializer(item) {
|
|
1400
|
-
const result = {};
|
|
1401
|
-
Object.keys(item).map((key) => {
|
|
1402
|
-
result[key] = !item[key] ? item[key] : userIdentitySerializer(item[key]);
|
|
1403
|
-
});
|
|
1404
|
-
return result;
|
|
1405
|
-
}
|
|
1406
|
-
export function userIdentityRecordDeserializer(item) {
|
|
1407
|
-
const result = {};
|
|
1408
|
-
Object.keys(item).map((key) => {
|
|
1409
|
-
result[key] = !item[key] ? item[key] : userIdentityDeserializer(item[key]);
|
|
1410
|
-
});
|
|
1411
|
-
return result;
|
|
1412
|
-
}
|
|
1413
|
-
export function userIdentitySerializer(item) {
|
|
1414
|
-
return { principalId: item["principalId"], clientId: item["clientId"] };
|
|
1415
|
-
}
|
|
1416
|
-
export function userIdentityDeserializer(item) {
|
|
1417
|
-
return {
|
|
1418
|
-
principalId: item["principalId"],
|
|
1419
|
-
clientId: item["clientId"],
|
|
1420
|
-
};
|
|
1421
|
-
}
|
|
1422
|
-
/** Types of identities associated with a server. */
|
|
1423
|
-
export var KnownIdentityType;
|
|
1424
|
-
(function (KnownIdentityType) {
|
|
1425
|
-
/** None */
|
|
1426
|
-
KnownIdentityType["None"] = "None";
|
|
1427
|
-
/** UserAssigned */
|
|
1428
|
-
KnownIdentityType["UserAssigned"] = "UserAssigned";
|
|
1429
|
-
/** SystemAssigned */
|
|
1430
|
-
KnownIdentityType["SystemAssigned"] = "SystemAssigned";
|
|
1431
|
-
/** SystemAssigned,UserAssigned */
|
|
1432
|
-
KnownIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned,UserAssigned";
|
|
1433
|
-
})(KnownIdentityType || (KnownIdentityType = {}));
|
|
1434
|
-
export function serverForPatchSerializer(item) {
|
|
1435
|
-
return {
|
|
1436
|
-
sku: !item["sku"] ? item["sku"] : skuForPatchSerializer(item["sku"]),
|
|
1437
|
-
identity: !item["identity"]
|
|
1438
|
-
? item["identity"]
|
|
1439
|
-
: userAssignedIdentitySerializer(item["identity"]),
|
|
1440
|
-
properties: areAllPropsUndefined(item, [
|
|
1441
|
-
"administratorLoginPassword",
|
|
1442
|
-
"version",
|
|
1443
|
-
"storage",
|
|
1444
|
-
"backup",
|
|
1445
|
-
"highAvailability",
|
|
1446
|
-
"maintenanceWindow",
|
|
1447
|
-
"authConfig",
|
|
1448
|
-
"dataEncryption",
|
|
1449
|
-
"availabilityZone",
|
|
1450
|
-
"createMode",
|
|
1451
|
-
"replicationRole",
|
|
1452
|
-
"replica",
|
|
1453
|
-
"network",
|
|
1454
|
-
"cluster",
|
|
1455
|
-
])
|
|
1456
|
-
? undefined
|
|
1457
|
-
: _serverForPatchPropertiesSerializer(item),
|
|
1458
|
-
tags: item["tags"],
|
|
1459
|
-
};
|
|
1460
|
-
}
|
|
1461
|
-
export function skuForPatchSerializer(item) {
|
|
1462
|
-
return { name: item["name"], tier: item["tier"] };
|
|
1463
|
-
}
|
|
1464
|
-
export function serverPropertiesForPatchSerializer(item) {
|
|
1465
|
-
return {
|
|
1466
|
-
administratorLoginPassword: item["administratorLoginPassword"],
|
|
1467
|
-
version: item["version"],
|
|
1468
|
-
storage: !item["storage"] ? item["storage"] : storageSerializer(item["storage"]),
|
|
1469
|
-
backup: !item["backup"] ? item["backup"] : backupForPatchSerializer(item["backup"]),
|
|
1470
|
-
highAvailability: !item["highAvailability"]
|
|
1471
|
-
? item["highAvailability"]
|
|
1472
|
-
: highAvailabilityForPatchSerializer(item["highAvailability"]),
|
|
1473
|
-
maintenanceWindow: !item["maintenanceWindow"]
|
|
1474
|
-
? item["maintenanceWindow"]
|
|
1475
|
-
: maintenanceWindowForPatchSerializer(item["maintenanceWindow"]),
|
|
1476
|
-
authConfig: !item["authConfig"]
|
|
1477
|
-
? item["authConfig"]
|
|
1478
|
-
: authConfigForPatchSerializer(item["authConfig"]),
|
|
1479
|
-
dataEncryption: !item["dataEncryption"]
|
|
1480
|
-
? item["dataEncryption"]
|
|
1481
|
-
: dataEncryptionSerializer(item["dataEncryption"]),
|
|
1482
|
-
availabilityZone: item["availabilityZone"],
|
|
1483
|
-
createMode: item["createMode"],
|
|
1484
|
-
replicationRole: item["replicationRole"],
|
|
1485
|
-
replica: !item["replica"] ? item["replica"] : replicaSerializer(item["replica"]),
|
|
1486
|
-
network: !item["network"] ? item["network"] : networkSerializer(item["network"]),
|
|
1487
|
-
cluster: !item["cluster"] ? item["cluster"] : clusterSerializer(item["cluster"]),
|
|
1488
|
-
};
|
|
1489
|
-
}
|
|
1490
|
-
export function backupForPatchSerializer(item) {
|
|
1491
|
-
return { backupRetentionDays: item["backupRetentionDays"] };
|
|
1492
|
-
}
|
|
1493
|
-
export function highAvailabilityForPatchSerializer(item) {
|
|
1494
|
-
return { mode: item["mode"], standbyAvailabilityZone: item["standbyAvailabilityZone"] };
|
|
1495
|
-
}
|
|
1496
|
-
export function maintenanceWindowForPatchSerializer(item) {
|
|
1497
|
-
return {
|
|
1498
|
-
customWindow: item["customWindow"],
|
|
1499
|
-
startHour: item["startHour"],
|
|
1500
|
-
startMinute: item["startMinute"],
|
|
1501
|
-
dayOfWeek: item["dayOfWeek"],
|
|
1502
|
-
};
|
|
1503
|
-
}
|
|
1504
|
-
export function authConfigForPatchSerializer(item) {
|
|
1505
|
-
return {
|
|
1506
|
-
activeDirectoryAuth: item["activeDirectoryAuth"],
|
|
1507
|
-
passwordAuth: item["passwordAuth"],
|
|
1508
|
-
tenantId: item["tenantId"],
|
|
1509
|
-
};
|
|
1510
|
-
}
|
|
1511
|
-
/** Update mode of an existing server. */
|
|
1512
|
-
export var KnownCreateModeForPatch;
|
|
1513
|
-
(function (KnownCreateModeForPatch) {
|
|
1514
|
-
/** Default */
|
|
1515
|
-
KnownCreateModeForPatch["Default"] = "Default";
|
|
1516
|
-
/** Update */
|
|
1517
|
-
KnownCreateModeForPatch["Update"] = "Update";
|
|
1518
|
-
})(KnownCreateModeForPatch || (KnownCreateModeForPatch = {}));
|
|
1519
|
-
export function _serverListDeserializer(item) {
|
|
1520
|
-
return {
|
|
1521
|
-
value: serverArrayDeserializer(item["value"]),
|
|
1522
|
-
nextLink: item["nextLink"],
|
|
1523
|
-
};
|
|
1524
|
-
}
|
|
1525
|
-
export function serverArraySerializer(result) {
|
|
1526
|
-
return result.map((item) => {
|
|
1527
|
-
return serverSerializer(item);
|
|
1528
|
-
});
|
|
1529
|
-
}
|
|
1530
|
-
export function serverArrayDeserializer(result) {
|
|
1531
|
-
return result.map((item) => {
|
|
1532
|
-
return serverDeserializer(item);
|
|
1533
|
-
});
|
|
1534
|
-
}
|
|
1535
|
-
export function restartParameterSerializer(item) {
|
|
1536
|
-
return { restartWithFailover: item["restartWithFailover"], failoverMode: item["failoverMode"] };
|
|
1537
|
-
}
|
|
1538
|
-
/** Failover mode. */
|
|
1539
|
-
export var KnownFailoverMode;
|
|
1540
|
-
(function (KnownFailoverMode) {
|
|
1541
|
-
/** PlannedFailover */
|
|
1542
|
-
KnownFailoverMode["PlannedFailover"] = "PlannedFailover";
|
|
1543
|
-
/** ForcedFailover */
|
|
1544
|
-
KnownFailoverMode["ForcedFailover"] = "ForcedFailover";
|
|
1545
|
-
/** PlannedSwitchover */
|
|
1546
|
-
KnownFailoverMode["PlannedSwitchover"] = "PlannedSwitchover";
|
|
1547
|
-
/** ForcedSwitchover */
|
|
1548
|
-
KnownFailoverMode["ForcedSwitchover"] = "ForcedSwitchover";
|
|
1549
|
-
})(KnownFailoverMode || (KnownFailoverMode = {}));
|
|
1550
|
-
export function migrateNetworkStatusDeserializer(item) {
|
|
1551
|
-
return {
|
|
1552
|
-
subscriptionId: item["subscriptionId"],
|
|
1553
|
-
resourceGroupName: item["resourceGroupName"],
|
|
1554
|
-
serverName: item["serverName"],
|
|
1555
|
-
state: item["state"],
|
|
1556
|
-
};
|
|
1557
|
-
}
|
|
1558
|
-
/** The state of the network migration operation. */
|
|
1559
|
-
export var KnownNetworkMigrationState;
|
|
1560
|
-
(function (KnownNetworkMigrationState) {
|
|
1561
|
-
/** The network migration is pending. */
|
|
1562
|
-
KnownNetworkMigrationState["Pending"] = "Pending";
|
|
1563
|
-
/** The network migration is in progress. */
|
|
1564
|
-
KnownNetworkMigrationState["InProgress"] = "InProgress";
|
|
1565
|
-
/** The network migration succeeded. */
|
|
1566
|
-
KnownNetworkMigrationState["Succeeded"] = "Succeeded";
|
|
1567
|
-
/** The network migration failed. */
|
|
1568
|
-
KnownNetworkMigrationState["Failed"] = "Failed";
|
|
1569
|
-
/** The network migration cancellation is in progress. */
|
|
1570
|
-
KnownNetworkMigrationState["CancelInProgress"] = "CancelInProgress";
|
|
1571
|
-
/** The network migration was cancelled. */
|
|
1572
|
-
KnownNetworkMigrationState["Cancelled"] = "Cancelled";
|
|
1573
|
-
})(KnownNetworkMigrationState || (KnownNetworkMigrationState = {}));
|
|
1574
|
-
export function configurationDeserializer(item) {
|
|
1575
|
-
return {
|
|
1576
|
-
id: item["id"],
|
|
1577
|
-
name: item["name"],
|
|
1578
|
-
type: item["type"],
|
|
1579
|
-
systemData: !item["systemData"]
|
|
1580
|
-
? item["systemData"]
|
|
1581
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1582
|
-
...(!item["properties"]
|
|
1583
|
-
? item["properties"]
|
|
1584
|
-
: _configurationPropertiesDeserializer(item["properties"])),
|
|
1585
|
-
};
|
|
1586
|
-
}
|
|
1587
|
-
export function configurationPropertiesSerializer(item) {
|
|
1588
|
-
return { value: item["value"], source: item["source"] };
|
|
1589
|
-
}
|
|
1590
|
-
export function configurationPropertiesDeserializer(item) {
|
|
1591
|
-
return {
|
|
1592
|
-
value: item["value"],
|
|
1593
|
-
description: item["description"],
|
|
1594
|
-
defaultValue: item["defaultValue"],
|
|
1595
|
-
dataType: item["dataType"],
|
|
1596
|
-
allowedValues: item["allowedValues"],
|
|
1597
|
-
source: item["source"],
|
|
1598
|
-
isDynamicConfig: item["isDynamicConfig"],
|
|
1599
|
-
isReadOnly: item["isReadOnly"],
|
|
1600
|
-
isConfigPendingRestart: item["isConfigPendingRestart"],
|
|
1601
|
-
unit: item["unit"],
|
|
1602
|
-
documentationLink: item["documentationLink"],
|
|
1603
|
-
};
|
|
1604
|
-
}
|
|
1605
|
-
/** Data type of the configuration (also known as server parameter). */
|
|
1606
|
-
export var KnownConfigurationDataType;
|
|
1607
|
-
(function (KnownConfigurationDataType) {
|
|
1608
|
-
/** Boolean */
|
|
1609
|
-
KnownConfigurationDataType["Boolean"] = "Boolean";
|
|
1610
|
-
/** Numeric */
|
|
1611
|
-
KnownConfigurationDataType["Numeric"] = "Numeric";
|
|
1612
|
-
/** Integer */
|
|
1613
|
-
KnownConfigurationDataType["Integer"] = "Integer";
|
|
1614
|
-
/** Enumeration */
|
|
1615
|
-
KnownConfigurationDataType["Enumeration"] = "Enumeration";
|
|
1616
|
-
/** String */
|
|
1617
|
-
KnownConfigurationDataType["String"] = "String";
|
|
1618
|
-
/** Set */
|
|
1619
|
-
KnownConfigurationDataType["Set"] = "Set";
|
|
1620
|
-
})(KnownConfigurationDataType || (KnownConfigurationDataType = {}));
|
|
1621
|
-
export function proxyResourceSerializer(item) {
|
|
1622
|
-
return item;
|
|
1623
|
-
}
|
|
1624
|
-
export function proxyResourceDeserializer(item) {
|
|
1625
|
-
return {
|
|
1626
|
-
id: item["id"],
|
|
1627
|
-
name: item["name"],
|
|
1628
|
-
type: item["type"],
|
|
1629
|
-
systemData: !item["systemData"]
|
|
1630
|
-
? item["systemData"]
|
|
1631
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1632
|
-
};
|
|
1633
|
-
}
|
|
1634
|
-
export function configurationForUpdateSerializer(item) {
|
|
1635
|
-
return {
|
|
1636
|
-
properties: areAllPropsUndefined(item, ["value", "source"])
|
|
1637
|
-
? undefined
|
|
1638
|
-
: _configurationForUpdatePropertiesSerializer(item),
|
|
1639
|
-
};
|
|
1640
|
-
}
|
|
1641
|
-
export function _configurationListDeserializer(item) {
|
|
1642
|
-
return {
|
|
1643
|
-
value: configurationArrayDeserializer(item["value"]),
|
|
1644
|
-
nextLink: item["nextLink"],
|
|
1645
|
-
};
|
|
1646
|
-
}
|
|
1647
|
-
export function configurationArrayDeserializer(result) {
|
|
1648
|
-
return result.map((item) => {
|
|
1649
|
-
return configurationDeserializer(item);
|
|
1650
|
-
});
|
|
1651
|
-
}
|
|
1652
|
-
export function databaseSerializer(item) {
|
|
1653
|
-
return {
|
|
1654
|
-
properties: areAllPropsUndefined(item, ["charset", "collation"])
|
|
1655
|
-
? undefined
|
|
1656
|
-
: _databasePropertiesSerializer(item),
|
|
1657
|
-
};
|
|
1658
|
-
}
|
|
1659
|
-
export function databaseDeserializer(item) {
|
|
1660
|
-
return {
|
|
1661
|
-
id: item["id"],
|
|
1662
|
-
name: item["name"],
|
|
1663
|
-
type: item["type"],
|
|
1664
|
-
systemData: !item["systemData"]
|
|
1665
|
-
? item["systemData"]
|
|
1666
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1667
|
-
...(!item["properties"]
|
|
1668
|
-
? item["properties"]
|
|
1669
|
-
: _databasePropertiesDeserializer(item["properties"])),
|
|
1670
|
-
};
|
|
1671
|
-
}
|
|
1672
|
-
export function databasePropertiesSerializer(item) {
|
|
1673
|
-
return { charset: item["charset"], collation: item["collation"] };
|
|
1674
|
-
}
|
|
1675
|
-
export function databasePropertiesDeserializer(item) {
|
|
1676
|
-
return {
|
|
1677
|
-
charset: item["charset"],
|
|
1678
|
-
collation: item["collation"],
|
|
1679
|
-
};
|
|
1680
|
-
}
|
|
1681
|
-
export function _databaseListDeserializer(item) {
|
|
1682
|
-
return {
|
|
1683
|
-
value: databaseArrayDeserializer(item["value"]),
|
|
1684
|
-
nextLink: item["nextLink"],
|
|
1685
|
-
};
|
|
1686
|
-
}
|
|
1687
|
-
export function databaseArraySerializer(result) {
|
|
1688
|
-
return result.map((item) => {
|
|
1689
|
-
return databaseSerializer(item);
|
|
1690
|
-
});
|
|
1691
|
-
}
|
|
1692
|
-
export function databaseArrayDeserializer(result) {
|
|
1693
|
-
return result.map((item) => {
|
|
1694
|
-
return databaseDeserializer(item);
|
|
1695
|
-
});
|
|
1696
|
-
}
|
|
1697
|
-
export function firewallRuleSerializer(item) {
|
|
1698
|
-
return { properties: _firewallRulePropertiesSerializer(item) };
|
|
1699
|
-
}
|
|
1700
|
-
export function firewallRuleDeserializer(item) {
|
|
1701
|
-
return {
|
|
1702
|
-
id: item["id"],
|
|
1703
|
-
name: item["name"],
|
|
1704
|
-
type: item["type"],
|
|
1705
|
-
systemData: !item["systemData"]
|
|
1706
|
-
? item["systemData"]
|
|
1707
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1708
|
-
..._firewallRulePropertiesDeserializer(item["properties"]),
|
|
1709
|
-
};
|
|
1710
|
-
}
|
|
1711
|
-
export function firewallRulePropertiesSerializer(item) {
|
|
1712
|
-
return { startIpAddress: item["startIpAddress"], endIpAddress: item["endIpAddress"] };
|
|
1713
|
-
}
|
|
1714
|
-
export function firewallRulePropertiesDeserializer(item) {
|
|
1715
|
-
return {
|
|
1716
|
-
startIpAddress: item["startIpAddress"],
|
|
1717
|
-
endIpAddress: item["endIpAddress"],
|
|
1718
|
-
};
|
|
1719
|
-
}
|
|
1720
|
-
export function _firewallRuleListDeserializer(item) {
|
|
1721
|
-
return {
|
|
1722
|
-
value: firewallRuleArrayDeserializer(item["value"]),
|
|
1723
|
-
nextLink: item["nextLink"],
|
|
1724
|
-
};
|
|
1725
|
-
}
|
|
1726
|
-
export function firewallRuleArraySerializer(result) {
|
|
1727
|
-
return result.map((item) => {
|
|
1728
|
-
return firewallRuleSerializer(item);
|
|
1729
|
-
});
|
|
1730
|
-
}
|
|
1731
|
-
export function firewallRuleArrayDeserializer(result) {
|
|
1732
|
-
return result.map((item) => {
|
|
1733
|
-
return firewallRuleDeserializer(item);
|
|
1734
|
-
});
|
|
1735
|
-
}
|
|
1736
|
-
export function _privateEndpointConnectionListDeserializer(item) {
|
|
1737
|
-
return {
|
|
1738
|
-
value: privateEndpointConnectionArrayDeserializer(item["value"]),
|
|
1739
|
-
nextLink: item["nextLink"],
|
|
1740
|
-
};
|
|
1741
|
-
}
|
|
1742
|
-
export function privateLinkResourceDeserializer(item) {
|
|
1743
|
-
return {
|
|
1744
|
-
id: item["id"],
|
|
1745
|
-
name: item["name"],
|
|
1746
|
-
type: item["type"],
|
|
1747
|
-
systemData: !item["systemData"]
|
|
1748
|
-
? item["systemData"]
|
|
1749
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1750
|
-
...(!item["properties"]
|
|
1751
|
-
? item["properties"]
|
|
1752
|
-
: _privateLinkResourcePropertiesDeserializer(item["properties"])),
|
|
1753
|
-
};
|
|
1754
|
-
}
|
|
1755
|
-
export function privateLinkResourcePropertiesDeserializer(item) {
|
|
1756
|
-
return {
|
|
1757
|
-
groupId: item["groupId"],
|
|
1758
|
-
requiredMembers: !item["requiredMembers"]
|
|
1759
|
-
? item["requiredMembers"]
|
|
1760
|
-
: item["requiredMembers"].map((p) => {
|
|
1761
|
-
return p;
|
|
1762
|
-
}),
|
|
1763
|
-
requiredZoneNames: !item["requiredZoneNames"]
|
|
1764
|
-
? item["requiredZoneNames"]
|
|
1765
|
-
: item["requiredZoneNames"].map((p) => {
|
|
1766
|
-
return p;
|
|
1767
|
-
}),
|
|
1768
|
-
};
|
|
1769
|
-
}
|
|
1770
|
-
export function _privateLinkResourceListDeserializer(item) {
|
|
1771
|
-
return {
|
|
1772
|
-
value: privateLinkResourceArrayDeserializer(item["value"]),
|
|
1773
|
-
nextLink: item["nextLink"],
|
|
1774
|
-
};
|
|
1775
|
-
}
|
|
1776
|
-
export function privateLinkResourceArrayDeserializer(result) {
|
|
1777
|
-
return result.map((item) => {
|
|
1778
|
-
return privateLinkResourceDeserializer(item);
|
|
1779
|
-
});
|
|
1780
|
-
}
|
|
1781
|
-
export function virtualEndpointSerializer(item) {
|
|
1782
|
-
return {
|
|
1783
|
-
properties: areAllPropsUndefined(item, ["endpointType", "members"])
|
|
1784
|
-
? undefined
|
|
1785
|
-
: _virtualEndpointPropertiesSerializer(item),
|
|
1786
|
-
};
|
|
1787
|
-
}
|
|
1788
|
-
export function virtualEndpointDeserializer(item) {
|
|
1789
|
-
return {
|
|
1790
|
-
id: item["id"],
|
|
1791
|
-
name: item["name"],
|
|
1792
|
-
type: item["type"],
|
|
1793
|
-
systemData: !item["systemData"]
|
|
1794
|
-
? item["systemData"]
|
|
1795
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1796
|
-
...(!item["properties"]
|
|
1797
|
-
? item["properties"]
|
|
1798
|
-
: _virtualEndpointPropertiesDeserializer(item["properties"])),
|
|
1799
|
-
};
|
|
1800
|
-
}
|
|
1801
|
-
export function virtualEndpointResourcePropertiesSerializer(item) {
|
|
1802
|
-
return {
|
|
1803
|
-
endpointType: item["endpointType"],
|
|
1804
|
-
members: !item["members"]
|
|
1805
|
-
? item["members"]
|
|
1806
|
-
: item["members"].map((p) => {
|
|
1807
|
-
return p;
|
|
1808
|
-
}),
|
|
1809
|
-
};
|
|
1810
|
-
}
|
|
1811
|
-
export function virtualEndpointResourcePropertiesDeserializer(item) {
|
|
1812
|
-
return {
|
|
1813
|
-
endpointType: item["endpointType"],
|
|
1814
|
-
members: !item["members"]
|
|
1815
|
-
? item["members"]
|
|
1816
|
-
: item["members"].map((p) => {
|
|
1817
|
-
return p;
|
|
1818
|
-
}),
|
|
1819
|
-
virtualEndpoints: !item["virtualEndpoints"]
|
|
1820
|
-
? item["virtualEndpoints"]
|
|
1821
|
-
: item["virtualEndpoints"].map((p) => {
|
|
1822
|
-
return p;
|
|
1823
|
-
}),
|
|
1824
|
-
};
|
|
1825
|
-
}
|
|
1826
|
-
/** Type of endpoint for the virtual endpoints. */
|
|
1827
|
-
export var KnownVirtualEndpointType;
|
|
1828
|
-
(function (KnownVirtualEndpointType) {
|
|
1829
|
-
/** ReadWrite */
|
|
1830
|
-
KnownVirtualEndpointType["ReadWrite"] = "ReadWrite";
|
|
1831
|
-
})(KnownVirtualEndpointType || (KnownVirtualEndpointType = {}));
|
|
1832
|
-
export function virtualEndpointResourceForPatchSerializer(item) {
|
|
1833
|
-
return {
|
|
1834
|
-
properties: areAllPropsUndefined(item, ["endpointType", "members"])
|
|
1835
|
-
? undefined
|
|
1836
|
-
: _virtualEndpointResourceForPatchPropertiesSerializer(item),
|
|
1837
|
-
};
|
|
1838
|
-
}
|
|
1839
|
-
export function _virtualEndpointsListDeserializer(item) {
|
|
1840
|
-
return {
|
|
1841
|
-
value: virtualEndpointArrayDeserializer(item["value"]),
|
|
1842
|
-
nextLink: item["nextLink"],
|
|
1843
|
-
};
|
|
1844
|
-
}
|
|
1845
|
-
export function virtualEndpointArraySerializer(result) {
|
|
1846
|
-
return result.map((item) => {
|
|
1847
|
-
return virtualEndpointSerializer(item);
|
|
1848
|
-
});
|
|
1849
|
-
}
|
|
1850
|
-
export function virtualEndpointArrayDeserializer(result) {
|
|
1851
|
-
return result.map((item) => {
|
|
1852
|
-
return virtualEndpointDeserializer(item);
|
|
1853
|
-
});
|
|
1854
|
-
}
|
|
1855
|
-
export function administratorMicrosoftEntraDeserializer(item) {
|
|
1856
|
-
return {
|
|
1857
|
-
id: item["id"],
|
|
1858
|
-
name: item["name"],
|
|
1859
|
-
type: item["type"],
|
|
1860
|
-
systemData: !item["systemData"]
|
|
1861
|
-
? item["systemData"]
|
|
1862
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1863
|
-
..._administratorMicrosoftEntraPropertiesDeserializer(item["properties"]),
|
|
1864
|
-
};
|
|
1865
|
-
}
|
|
1866
|
-
export function administratorMicrosoftEntraPropertiesDeserializer(item) {
|
|
1867
|
-
return {
|
|
1868
|
-
principalType: item["principalType"],
|
|
1869
|
-
principalName: item["principalName"],
|
|
1870
|
-
objectId: item["objectId"],
|
|
1871
|
-
tenantId: item["tenantId"],
|
|
1872
|
-
};
|
|
1873
|
-
}
|
|
1874
|
-
/** Type of Microsoft Entra principal to which the server administrator is associated. */
|
|
1875
|
-
export var KnownPrincipalType;
|
|
1876
|
-
(function (KnownPrincipalType) {
|
|
1877
|
-
/** The principal type is not known or not specified. */
|
|
1878
|
-
KnownPrincipalType["Unknown"] = "Unknown";
|
|
1879
|
-
/** A Microsoft Entra user. */
|
|
1880
|
-
KnownPrincipalType["User"] = "User";
|
|
1881
|
-
/** A Microsoft Entra group. */
|
|
1882
|
-
KnownPrincipalType["Group"] = "Group";
|
|
1883
|
-
/** A Microsoft Entra service principal, typically representing an application or service identity */
|
|
1884
|
-
KnownPrincipalType["ServicePrincipal"] = "ServicePrincipal";
|
|
1885
|
-
})(KnownPrincipalType || (KnownPrincipalType = {}));
|
|
1886
|
-
export function administratorMicrosoftEntraAddSerializer(item) {
|
|
1887
|
-
return {
|
|
1888
|
-
properties: areAllPropsUndefined(item, ["principalType", "principalName", "tenantId"])
|
|
1889
|
-
? undefined
|
|
1890
|
-
: _administratorMicrosoftEntraAddPropertiesSerializer(item),
|
|
1891
|
-
};
|
|
1892
|
-
}
|
|
1893
|
-
export function administratorMicrosoftEntraPropertiesForAddSerializer(item) {
|
|
1894
|
-
return {
|
|
1895
|
-
principalType: item["principalType"],
|
|
1896
|
-
principalName: item["principalName"],
|
|
1897
|
-
tenantId: item["tenantId"],
|
|
1898
|
-
};
|
|
1899
|
-
}
|
|
1900
|
-
export function _administratorMicrosoftEntraListDeserializer(item) {
|
|
1901
|
-
return {
|
|
1902
|
-
value: administratorMicrosoftEntraArrayDeserializer(item["value"]),
|
|
1903
|
-
nextLink: item["nextLink"],
|
|
1904
|
-
};
|
|
1905
|
-
}
|
|
1906
|
-
export function administratorMicrosoftEntraArrayDeserializer(result) {
|
|
1907
|
-
return result.map((item) => {
|
|
1908
|
-
return administratorMicrosoftEntraDeserializer(item);
|
|
1909
|
-
});
|
|
1910
|
-
}
|
|
1911
|
-
export function _capabilityListDeserializer(item) {
|
|
1912
|
-
return {
|
|
1913
|
-
value: capabilityArrayDeserializer(item["value"]),
|
|
1914
|
-
nextLink: item["nextLink"],
|
|
1915
|
-
};
|
|
1916
|
-
}
|
|
1917
|
-
export function capabilityArrayDeserializer(result) {
|
|
1918
|
-
return result.map((item) => {
|
|
1919
|
-
return capabilityDeserializer(item);
|
|
1920
|
-
});
|
|
1921
|
-
}
|
|
1922
|
-
export function capabilityDeserializer(item) {
|
|
1923
|
-
return {
|
|
1924
|
-
status: item["status"],
|
|
1925
|
-
reason: item["reason"],
|
|
1926
|
-
name: item["name"],
|
|
1927
|
-
supportedServerEditions: !item["supportedServerEditions"]
|
|
1928
|
-
? item["supportedServerEditions"]
|
|
1929
|
-
: serverEditionCapabilityArrayDeserializer(item["supportedServerEditions"]),
|
|
1930
|
-
supportedServerVersions: !item["supportedServerVersions"]
|
|
1931
|
-
? item["supportedServerVersions"]
|
|
1932
|
-
: serverVersionCapabilityArrayDeserializer(item["supportedServerVersions"]),
|
|
1933
|
-
supportedFeatures: !item["supportedFeatures"]
|
|
1934
|
-
? item["supportedFeatures"]
|
|
1935
|
-
: supportedFeatureArrayDeserializer(item["supportedFeatures"]),
|
|
1936
|
-
fastProvisioningSupported: item["fastProvisioningSupported"],
|
|
1937
|
-
supportedFastProvisioningEditions: !item["supportedFastProvisioningEditions"]
|
|
1938
|
-
? item["supportedFastProvisioningEditions"]
|
|
1939
|
-
: fastProvisioningEditionCapabilityArrayDeserializer(item["supportedFastProvisioningEditions"]),
|
|
1940
|
-
geoBackupSupported: item["geoBackupSupported"],
|
|
1941
|
-
zoneRedundantHaSupported: item["zoneRedundantHaSupported"],
|
|
1942
|
-
zoneRedundantHaAndGeoBackupSupported: item["zoneRedundantHaAndGeoBackupSupported"],
|
|
1943
|
-
storageAutoGrowthSupported: item["storageAutoGrowthSupported"],
|
|
1944
|
-
onlineResizeSupported: item["onlineResizeSupported"],
|
|
1945
|
-
restricted: item["restricted"],
|
|
1946
|
-
};
|
|
1947
|
-
}
|
|
1948
|
-
export function serverEditionCapabilityArrayDeserializer(result) {
|
|
1949
|
-
return result.map((item) => {
|
|
1950
|
-
return serverEditionCapabilityDeserializer(item);
|
|
1951
|
-
});
|
|
1952
|
-
}
|
|
1953
|
-
export function serverEditionCapabilityDeserializer(item) {
|
|
1954
|
-
return {
|
|
1955
|
-
status: item["status"],
|
|
1956
|
-
reason: item["reason"],
|
|
1957
|
-
name: item["name"],
|
|
1958
|
-
defaultSkuName: item["defaultSkuName"],
|
|
1959
|
-
supportedStorageEditions: !item["supportedStorageEditions"]
|
|
1960
|
-
? item["supportedStorageEditions"]
|
|
1961
|
-
: storageEditionCapabilityArrayDeserializer(item["supportedStorageEditions"]),
|
|
1962
|
-
supportedServerSkus: !item["supportedServerSkus"]
|
|
1963
|
-
? item["supportedServerSkus"]
|
|
1964
|
-
: serverSkuCapabilityArrayDeserializer(item["supportedServerSkus"]),
|
|
1965
|
-
};
|
|
1966
|
-
}
|
|
1967
|
-
export function storageEditionCapabilityArrayDeserializer(result) {
|
|
1968
|
-
return result.map((item) => {
|
|
1969
|
-
return storageEditionCapabilityDeserializer(item);
|
|
1970
|
-
});
|
|
1971
|
-
}
|
|
1972
|
-
export function storageEditionCapabilityDeserializer(item) {
|
|
1973
|
-
return {
|
|
1974
|
-
status: item["status"],
|
|
1975
|
-
reason: item["reason"],
|
|
1976
|
-
name: item["name"],
|
|
1977
|
-
defaultStorageSizeMb: item["defaultStorageSizeMb"],
|
|
1978
|
-
supportedStorageMb: !item["supportedStorageMb"]
|
|
1979
|
-
? item["supportedStorageMb"]
|
|
1980
|
-
: storageMbCapabilityArrayDeserializer(item["supportedStorageMb"]),
|
|
1981
|
-
};
|
|
1982
|
-
}
|
|
1983
|
-
export function storageMbCapabilityArrayDeserializer(result) {
|
|
1984
|
-
return result.map((item) => {
|
|
1985
|
-
return storageMbCapabilityDeserializer(item);
|
|
1986
|
-
});
|
|
1987
|
-
}
|
|
1988
|
-
export function storageMbCapabilityDeserializer(item) {
|
|
1989
|
-
return {
|
|
1990
|
-
status: item["status"],
|
|
1991
|
-
reason: item["reason"],
|
|
1992
|
-
supportedIops: item["supportedIops"],
|
|
1993
|
-
supportedMaximumIops: item["supportedMaximumIops"],
|
|
1994
|
-
storageSizeMb: item["storageSizeMb"],
|
|
1995
|
-
maximumStorageSizeMb: item["maximumStorageSizeMb"],
|
|
1996
|
-
supportedThroughput: item["supportedThroughput"],
|
|
1997
|
-
supportedMaximumThroughput: item["supportedMaximumThroughput"],
|
|
1998
|
-
defaultIopsTier: item["defaultIopsTier"],
|
|
1999
|
-
supportedIopsTiers: !item["supportedIopsTiers"]
|
|
2000
|
-
? item["supportedIopsTiers"]
|
|
2001
|
-
: storageTierCapabilityArrayDeserializer(item["supportedIopsTiers"]),
|
|
2002
|
-
};
|
|
2003
|
-
}
|
|
2004
|
-
export function storageTierCapabilityArrayDeserializer(result) {
|
|
2005
|
-
return result.map((item) => {
|
|
2006
|
-
return storageTierCapabilityDeserializer(item);
|
|
2007
|
-
});
|
|
2008
|
-
}
|
|
2009
|
-
export function storageTierCapabilityDeserializer(item) {
|
|
2010
|
-
return {
|
|
2011
|
-
status: item["status"],
|
|
2012
|
-
reason: item["reason"],
|
|
2013
|
-
name: item["name"],
|
|
2014
|
-
iops: item["iops"],
|
|
2015
|
-
};
|
|
2016
|
-
}
|
|
2017
|
-
export function serverSkuCapabilityArrayDeserializer(result) {
|
|
2018
|
-
return result.map((item) => {
|
|
2019
|
-
return serverSkuCapabilityDeserializer(item);
|
|
2020
|
-
});
|
|
2021
|
-
}
|
|
2022
|
-
export function serverSkuCapabilityDeserializer(item) {
|
|
2023
|
-
return {
|
|
2024
|
-
status: item["status"],
|
|
2025
|
-
reason: item["reason"],
|
|
2026
|
-
name: item["name"],
|
|
2027
|
-
vCores: item["vCores"],
|
|
2028
|
-
supportedIops: item["supportedIops"],
|
|
2029
|
-
supportedMemoryPerVcoreMb: item["supportedMemoryPerVcoreMb"],
|
|
2030
|
-
supportedZones: !item["supportedZones"]
|
|
2031
|
-
? item["supportedZones"]
|
|
2032
|
-
: item["supportedZones"].map((p) => {
|
|
2033
|
-
return p;
|
|
2034
|
-
}),
|
|
2035
|
-
supportedHaMode: !item["supportedHaMode"]
|
|
2036
|
-
? item["supportedHaMode"]
|
|
2037
|
-
: item["supportedHaMode"].map((p) => {
|
|
2038
|
-
return p;
|
|
2039
|
-
}),
|
|
2040
|
-
supportedFeatures: !item["supportedFeatures"]
|
|
2041
|
-
? item["supportedFeatures"]
|
|
2042
|
-
: supportedFeatureArrayDeserializer(item["supportedFeatures"]),
|
|
2043
|
-
securityProfile: item["securityProfile"],
|
|
2044
|
-
};
|
|
2045
|
-
}
|
|
2046
|
-
/** Modes of high availability supported for this compute. */
|
|
2047
|
-
export var KnownHighAvailabilityMode;
|
|
2048
|
-
(function (KnownHighAvailabilityMode) {
|
|
2049
|
-
/** ZoneRedundant */
|
|
2050
|
-
KnownHighAvailabilityMode["ZoneRedundant"] = "ZoneRedundant";
|
|
2051
|
-
/** SameZone */
|
|
2052
|
-
KnownHighAvailabilityMode["SameZone"] = "SameZone";
|
|
2053
|
-
})(KnownHighAvailabilityMode || (KnownHighAvailabilityMode = {}));
|
|
2054
|
-
export function supportedFeatureArrayDeserializer(result) {
|
|
2055
|
-
return result.map((item) => {
|
|
2056
|
-
return supportedFeatureDeserializer(item);
|
|
2057
|
-
});
|
|
2058
|
-
}
|
|
2059
|
-
export function supportedFeatureDeserializer(item) {
|
|
2060
|
-
return {
|
|
2061
|
-
name: item["name"],
|
|
2062
|
-
status: item["status"],
|
|
2063
|
-
};
|
|
2064
|
-
}
|
|
2065
|
-
/** Status of the feature. Indicates if the feature is enabled or not. */
|
|
2066
|
-
export var KnownFeatureStatus;
|
|
2067
|
-
(function (KnownFeatureStatus) {
|
|
2068
|
-
/** Enabled */
|
|
2069
|
-
KnownFeatureStatus["Enabled"] = "Enabled";
|
|
2070
|
-
/** Disabled */
|
|
2071
|
-
KnownFeatureStatus["Disabled"] = "Disabled";
|
|
2072
|
-
})(KnownFeatureStatus || (KnownFeatureStatus = {}));
|
|
2073
|
-
export function serverVersionCapabilityArrayDeserializer(result) {
|
|
2074
|
-
return result.map((item) => {
|
|
2075
|
-
return serverVersionCapabilityDeserializer(item);
|
|
2076
|
-
});
|
|
2077
|
-
}
|
|
2078
|
-
export function serverVersionCapabilityDeserializer(item) {
|
|
2079
|
-
return {
|
|
2080
|
-
status: item["status"],
|
|
2081
|
-
reason: item["reason"],
|
|
2082
|
-
name: item["name"],
|
|
2083
|
-
supportedVersionsToUpgrade: !item["supportedVersionsToUpgrade"]
|
|
2084
|
-
? item["supportedVersionsToUpgrade"]
|
|
2085
|
-
: item["supportedVersionsToUpgrade"].map((p) => {
|
|
2086
|
-
return p;
|
|
2087
|
-
}),
|
|
2088
|
-
supportedFeatures: !item["supportedFeatures"]
|
|
2089
|
-
? item["supportedFeatures"]
|
|
2090
|
-
: supportedFeatureArrayDeserializer(item["supportedFeatures"]),
|
|
2091
|
-
};
|
|
2092
|
-
}
|
|
2093
|
-
/** Indicates if fast provisioning is supported. 'Enabled' means fast provisioning is supported. 'Disabled' stands for fast provisioning is not supported. Will be deprecated in the future. Look to Supported Features for 'FastProvisioning'. */
|
|
2094
|
-
export var KnownFastProvisioningSupport;
|
|
2095
|
-
(function (KnownFastProvisioningSupport) {
|
|
2096
|
-
/** Enabled */
|
|
2097
|
-
KnownFastProvisioningSupport["Enabled"] = "Enabled";
|
|
2098
|
-
/** Disabled */
|
|
2099
|
-
KnownFastProvisioningSupport["Disabled"] = "Disabled";
|
|
2100
|
-
})(KnownFastProvisioningSupport || (KnownFastProvisioningSupport = {}));
|
|
2101
|
-
export function fastProvisioningEditionCapabilityArrayDeserializer(result) {
|
|
2102
|
-
return result.map((item) => {
|
|
2103
|
-
return fastProvisioningEditionCapabilityDeserializer(item);
|
|
2104
|
-
});
|
|
2105
|
-
}
|
|
2106
|
-
export function fastProvisioningEditionCapabilityDeserializer(item) {
|
|
2107
|
-
return {
|
|
2108
|
-
status: item["status"],
|
|
2109
|
-
reason: item["reason"],
|
|
2110
|
-
supportedTier: item["supportedTier"],
|
|
2111
|
-
supportedSku: item["supportedSku"],
|
|
2112
|
-
supportedStorageGb: item["supportedStorageGb"],
|
|
2113
|
-
supportedServerVersions: item["supportedServerVersions"],
|
|
2114
|
-
serverCount: item["serverCount"],
|
|
2115
|
-
};
|
|
2116
|
-
}
|
|
2117
|
-
/** Indicates if geographically redundant backups are supported in this location. 'Enabled' means geographically redundant backups are supported. 'Disabled' stands for geographically redundant backup is not supported. Will be deprecated in the future. Look to Supported Features for 'GeoBackup'. */
|
|
2118
|
-
export var KnownGeographicallyRedundantBackupSupport;
|
|
2119
|
-
(function (KnownGeographicallyRedundantBackupSupport) {
|
|
2120
|
-
/** Enabled */
|
|
2121
|
-
KnownGeographicallyRedundantBackupSupport["Enabled"] = "Enabled";
|
|
2122
|
-
/** Disabled */
|
|
2123
|
-
KnownGeographicallyRedundantBackupSupport["Disabled"] = "Disabled";
|
|
2124
|
-
})(KnownGeographicallyRedundantBackupSupport || (KnownGeographicallyRedundantBackupSupport = {}));
|
|
2125
|
-
/** Indicates if high availability with zone redundancy is supported in this location. 'Enabled' means high availability with zone redundancy is supported. 'Disabled' stands for high availability with zone redundancy is not supported. Will be deprecated in the future. Look to Supported Features for 'ZoneRedundantHa'. */
|
|
2126
|
-
export var KnownZoneRedundantHighAvailabilitySupport;
|
|
2127
|
-
(function (KnownZoneRedundantHighAvailabilitySupport) {
|
|
2128
|
-
/** Enabled */
|
|
2129
|
-
KnownZoneRedundantHighAvailabilitySupport["Enabled"] = "Enabled";
|
|
2130
|
-
/** Disabled */
|
|
2131
|
-
KnownZoneRedundantHighAvailabilitySupport["Disabled"] = "Disabled";
|
|
2132
|
-
})(KnownZoneRedundantHighAvailabilitySupport || (KnownZoneRedundantHighAvailabilitySupport = {}));
|
|
2133
|
-
/** Indicates if high availability with zone redundancy is supported in conjunction with geographically redundant backups in this location. 'Enabled' means high availability with zone redundancy is supported in conjunction with geographically redundant backups is supported. 'Disabled' stands for high availability with zone redundancy is supported in conjunction with geographically redundant backups is not supported. Will be deprecated in the future. Look to Supported Features for 'ZoneRedundantHaAndGeoBackup'. */
|
|
2134
|
-
export var KnownZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport;
|
|
2135
|
-
(function (KnownZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport) {
|
|
2136
|
-
/** Enabled */
|
|
2137
|
-
KnownZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport["Enabled"] = "Enabled";
|
|
2138
|
-
/** Disabled */
|
|
2139
|
-
KnownZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport["Disabled"] = "Disabled";
|
|
2140
|
-
})(KnownZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport || (KnownZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport = {}));
|
|
2141
|
-
/** Indicates if storage autogrow is supported in this location. 'Enabled' means storage autogrow is supported. 'Disabled' stands for storage autogrow is not supported. Will be deprecated in the future. Look to Supported Features for 'StorageAutoGrowth'. */
|
|
2142
|
-
export var KnownStorageAutoGrowthSupport;
|
|
2143
|
-
(function (KnownStorageAutoGrowthSupport) {
|
|
2144
|
-
/** Enabled */
|
|
2145
|
-
KnownStorageAutoGrowthSupport["Enabled"] = "Enabled";
|
|
2146
|
-
/** Disabled */
|
|
2147
|
-
KnownStorageAutoGrowthSupport["Disabled"] = "Disabled";
|
|
2148
|
-
})(KnownStorageAutoGrowthSupport || (KnownStorageAutoGrowthSupport = {}));
|
|
2149
|
-
/** Indicates if resizing the storage, without interrupting the operation of the database engine, is supported in this location for the given subscription. 'Enabled' means resizing the storage without interrupting the operation of the database engine is supported. 'Disabled' means resizing the storage without interrupting the operation of the database engine is not supported. Will be deprecated in the future. Look to Supported Features for 'OnlineResize'. */
|
|
2150
|
-
export var KnownOnlineStorageResizeSupport;
|
|
2151
|
-
(function (KnownOnlineStorageResizeSupport) {
|
|
2152
|
-
/** Enabled */
|
|
2153
|
-
KnownOnlineStorageResizeSupport["Enabled"] = "Enabled";
|
|
2154
|
-
/** Disabled */
|
|
2155
|
-
KnownOnlineStorageResizeSupport["Disabled"] = "Disabled";
|
|
2156
|
-
})(KnownOnlineStorageResizeSupport || (KnownOnlineStorageResizeSupport = {}));
|
|
2157
|
-
/** Indicates if this location is restricted. 'Enabled' means location is restricted. 'Disabled' stands for location is not restricted. Will be deprecated in the future. Look to Supported Features for 'Restricted'. */
|
|
2158
|
-
export var KnownLocationRestricted;
|
|
2159
|
-
(function (KnownLocationRestricted) {
|
|
2160
|
-
/** Enabled */
|
|
2161
|
-
KnownLocationRestricted["Enabled"] = "Enabled";
|
|
2162
|
-
/** Disabled */
|
|
2163
|
-
KnownLocationRestricted["Disabled"] = "Disabled";
|
|
2164
|
-
})(KnownLocationRestricted || (KnownLocationRestricted = {}));
|
|
2165
|
-
export function capabilityBaseDeserializer(item) {
|
|
2166
|
-
return {
|
|
2167
|
-
status: item["status"],
|
|
2168
|
-
reason: item["reason"],
|
|
2169
|
-
};
|
|
2170
|
-
}
|
|
2171
|
-
export function _capturedLogListDeserializer(item) {
|
|
2172
|
-
return {
|
|
2173
|
-
value: capturedLogArrayDeserializer(item["value"]),
|
|
2174
|
-
nextLink: item["nextLink"],
|
|
2175
|
-
};
|
|
2176
|
-
}
|
|
2177
|
-
export function capturedLogArrayDeserializer(result) {
|
|
2178
|
-
return result.map((item) => {
|
|
2179
|
-
return capturedLogDeserializer(item);
|
|
2180
|
-
});
|
|
2181
|
-
}
|
|
2182
|
-
export function capturedLogDeserializer(item) {
|
|
2183
|
-
return {
|
|
2184
|
-
id: item["id"],
|
|
2185
|
-
name: item["name"],
|
|
2186
|
-
type: item["type"],
|
|
2187
|
-
systemData: !item["systemData"]
|
|
2188
|
-
? item["systemData"]
|
|
2189
|
-
: systemDataDeserializer(item["systemData"]),
|
|
2190
|
-
...(!item["properties"]
|
|
2191
|
-
? item["properties"]
|
|
2192
|
-
: _capturedLogPropertiesDeserializer(item["properties"])),
|
|
2193
|
-
};
|
|
2194
|
-
}
|
|
2195
|
-
export function capturedLogPropertiesDeserializer(item) {
|
|
2196
|
-
return {
|
|
2197
|
-
createdTime: !item["createdTime"] ? item["createdTime"] : new Date(item["createdTime"]),
|
|
2198
|
-
lastModifiedTime: !item["lastModifiedTime"]
|
|
2199
|
-
? item["lastModifiedTime"]
|
|
2200
|
-
: new Date(item["lastModifiedTime"]),
|
|
2201
|
-
sizeInKb: item["sizeInKb"],
|
|
2202
|
-
type: item["type"],
|
|
2203
|
-
url: item["url"],
|
|
2204
|
-
};
|
|
2205
|
-
}
|
|
2206
|
-
export function ltrPreBackupRequestSerializer(item) {
|
|
2207
|
-
return { backupSettings: backupSettingsSerializer(item["backupSettings"]) };
|
|
2208
|
-
}
|
|
2209
|
-
export function backupRequestBaseSerializer(item) {
|
|
2210
|
-
return { backupSettings: backupSettingsSerializer(item["backupSettings"]) };
|
|
2211
|
-
}
|
|
2212
|
-
export function backupSettingsSerializer(item) {
|
|
2213
|
-
return { backupName: item["backupName"] };
|
|
2214
|
-
}
|
|
2215
|
-
export function ltrPreBackupResponseDeserializer(item) {
|
|
2216
|
-
return {
|
|
2217
|
-
..._ltrPreBackupResponsePropertiesDeserializer(item["properties"]),
|
|
2218
|
-
};
|
|
2219
|
-
}
|
|
2220
|
-
export function backupsLongTermRetentionResponsePropertiesDeserializer(item) {
|
|
2221
|
-
return {
|
|
2222
|
-
numberOfContainers: item["numberOfContainers"],
|
|
2223
|
-
};
|
|
2224
|
-
}
|
|
2225
|
-
export function backupsLongTermRetentionRequestSerializer(item) {
|
|
2226
|
-
return {
|
|
2227
|
-
backupSettings: backupSettingsSerializer(item["backupSettings"]),
|
|
2228
|
-
targetDetails: backupStoreDetailsSerializer(item["targetDetails"]),
|
|
2229
|
-
};
|
|
2230
|
-
}
|
|
2231
|
-
export function backupStoreDetailsSerializer(item) {
|
|
2232
|
-
return {
|
|
2233
|
-
sasUriList: item["sasUriList"].map((p) => {
|
|
2234
|
-
return p;
|
|
2235
|
-
}),
|
|
2236
|
-
};
|
|
2237
|
-
}
|
|
2238
|
-
export function backupsLongTermRetentionResponseDeserializer(item) {
|
|
2239
|
-
return {
|
|
2240
|
-
...(!item["properties"]
|
|
2241
|
-
? item["properties"]
|
|
2242
|
-
: _backupsLongTermRetentionResponsePropertiesDeserializer(item["properties"])),
|
|
2243
|
-
};
|
|
2244
|
-
}
|
|
2245
|
-
export function ltrBackupOperationResponsePropertiesDeserializer(item) {
|
|
2246
|
-
return {
|
|
2247
|
-
datasourceSizeInBytes: item["datasourceSizeInBytes"],
|
|
2248
|
-
dataTransferredInBytes: item["dataTransferredInBytes"],
|
|
2249
|
-
backupName: item["backupName"],
|
|
2250
|
-
backupMetadata: item["backupMetadata"],
|
|
2251
|
-
status: item["status"],
|
|
2252
|
-
startTime: new Date(item["startTime"]),
|
|
2253
|
-
endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
|
|
2254
|
-
percentComplete: item["percentComplete"],
|
|
2255
|
-
errorCode: item["errorCode"],
|
|
2256
|
-
errorMessage: item["errorMessage"],
|
|
2257
|
-
};
|
|
2258
|
-
}
|
|
2259
|
-
/** Service-set extensible enum indicating the status of operation */
|
|
2260
|
-
export var KnownExecutionStatus;
|
|
2261
|
-
(function (KnownExecutionStatus) {
|
|
2262
|
-
/** Running */
|
|
2263
|
-
KnownExecutionStatus["Running"] = "Running";
|
|
2264
|
-
/** Cancelled */
|
|
2265
|
-
KnownExecutionStatus["Cancelled"] = "Cancelled";
|
|
2266
|
-
/** Failed */
|
|
2267
|
-
KnownExecutionStatus["Failed"] = "Failed";
|
|
2268
|
-
/** Succeeded */
|
|
2269
|
-
KnownExecutionStatus["Succeeded"] = "Succeeded";
|
|
2270
|
-
})(KnownExecutionStatus || (KnownExecutionStatus = {}));
|
|
2271
|
-
export function backupsLongTermRetentionOperationDeserializer(item) {
|
|
2272
|
-
return {
|
|
2273
|
-
id: item["id"],
|
|
2274
|
-
name: item["name"],
|
|
2275
|
-
type: item["type"],
|
|
2276
|
-
systemData: !item["systemData"]
|
|
2277
|
-
? item["systemData"]
|
|
2278
|
-
: systemDataDeserializer(item["systemData"]),
|
|
2279
|
-
...(!item["properties"]
|
|
2280
|
-
? item["properties"]
|
|
2281
|
-
: _backupsLongTermRetentionOperationPropertiesDeserializer(item["properties"])),
|
|
2282
|
-
};
|
|
2283
|
-
}
|
|
2284
|
-
export function _ltrServerBackupOperationListDeserializer(item) {
|
|
2285
|
-
return {
|
|
2286
|
-
value: backupsLongTermRetentionOperationArrayDeserializer(item["value"]),
|
|
2287
|
-
nextLink: item["nextLink"],
|
|
2288
|
-
};
|
|
2289
|
-
}
|
|
2290
|
-
export function backupsLongTermRetentionOperationArrayDeserializer(result) {
|
|
2291
|
-
return result.map((item) => {
|
|
2292
|
-
return backupsLongTermRetentionOperationDeserializer(item);
|
|
2293
|
-
});
|
|
2294
|
-
}
|
|
2295
|
-
export function advancedThreatProtectionSettingsModelSerializer(item) {
|
|
2296
|
-
return {
|
|
2297
|
-
properties: areAllPropsUndefined(item, ["state"])
|
|
2298
|
-
? undefined
|
|
2299
|
-
: _advancedThreatProtectionSettingsModelPropertiesSerializer(item),
|
|
2300
|
-
};
|
|
2301
|
-
}
|
|
2302
|
-
export function advancedThreatProtectionSettingsModelDeserializer(item) {
|
|
2303
|
-
return {
|
|
2304
|
-
id: item["id"],
|
|
2305
|
-
name: item["name"],
|
|
2306
|
-
type: item["type"],
|
|
2307
|
-
systemData: !item["systemData"]
|
|
2308
|
-
? item["systemData"]
|
|
2309
|
-
: systemDataDeserializer(item["systemData"]),
|
|
2310
|
-
...(!item["properties"]
|
|
2311
|
-
? item["properties"]
|
|
2312
|
-
: _advancedThreatProtectionSettingsModelPropertiesDeserializer(item["properties"])),
|
|
2313
|
-
};
|
|
2314
|
-
}
|
|
2315
|
-
export function advancedThreatProtectionSettingsPropertiesSerializer(item) {
|
|
2316
|
-
return { state: item["state"] };
|
|
2317
|
-
}
|
|
2318
|
-
export function advancedThreatProtectionSettingsPropertiesDeserializer(item) {
|
|
2319
|
-
return {
|
|
2320
|
-
state: item["state"],
|
|
2321
|
-
creationTime: !item["creationTime"] ? item["creationTime"] : new Date(item["creationTime"]),
|
|
2322
|
-
};
|
|
2323
|
-
}
|
|
2324
|
-
/** Known values of {@link ThreatProtectionName} that the service accepts. */
|
|
2325
|
-
export var KnownThreatProtectionName;
|
|
2326
|
-
(function (KnownThreatProtectionName) {
|
|
2327
|
-
/** Default */
|
|
2328
|
-
KnownThreatProtectionName["Default"] = "Default";
|
|
2329
|
-
})(KnownThreatProtectionName || (KnownThreatProtectionName = {}));
|
|
2330
|
-
export function _advancedThreatProtectionSettingsListDeserializer(item) {
|
|
2331
|
-
return {
|
|
2332
|
-
value: advancedThreatProtectionSettingsModelArrayDeserializer(item["value"]),
|
|
2333
|
-
nextLink: item["nextLink"],
|
|
2334
|
-
};
|
|
2335
|
-
}
|
|
2336
|
-
export function advancedThreatProtectionSettingsModelArraySerializer(result) {
|
|
2337
|
-
return result.map((item) => {
|
|
2338
|
-
return advancedThreatProtectionSettingsModelSerializer(item);
|
|
2339
|
-
});
|
|
2340
|
-
}
|
|
2341
|
-
export function advancedThreatProtectionSettingsModelArrayDeserializer(result) {
|
|
2342
|
-
return result.map((item) => {
|
|
2343
|
-
return advancedThreatProtectionSettingsModelDeserializer(item);
|
|
2344
|
-
});
|
|
2345
|
-
}
|
|
2346
|
-
export function backupAutomaticAndOnDemandDeserializer(item) {
|
|
2347
|
-
return {
|
|
2348
|
-
id: item["id"],
|
|
2349
|
-
name: item["name"],
|
|
2350
|
-
type: item["type"],
|
|
2351
|
-
systemData: !item["systemData"]
|
|
2352
|
-
? item["systemData"]
|
|
2353
|
-
: systemDataDeserializer(item["systemData"]),
|
|
2354
|
-
...(!item["properties"]
|
|
2355
|
-
? item["properties"]
|
|
2356
|
-
: _backupAutomaticAndOnDemandPropertiesDeserializer(item["properties"])),
|
|
2357
|
-
};
|
|
2358
|
-
}
|
|
2359
|
-
export function backupAutomaticAndOnDemandPropertiesDeserializer(item) {
|
|
2360
|
-
return {
|
|
2361
|
-
backupType: item["backupType"],
|
|
2362
|
-
completedTime: !item["completedTime"] ? item["completedTime"] : new Date(item["completedTime"]),
|
|
2363
|
-
source: item["source"],
|
|
2364
|
-
};
|
|
2365
|
-
}
|
|
2366
|
-
/** Type of backup. */
|
|
2367
|
-
export var KnownBackupType;
|
|
2368
|
-
(function (KnownBackupType) {
|
|
2369
|
-
/** Full */
|
|
2370
|
-
KnownBackupType["Full"] = "Full";
|
|
2371
|
-
/** Customer On-Demand */
|
|
2372
|
-
KnownBackupType["CustomerOnDemand"] = "Customer On-Demand";
|
|
2373
|
-
})(KnownBackupType || (KnownBackupType = {}));
|
|
2374
|
-
export function _backupAutomaticAndOnDemandListDeserializer(item) {
|
|
2375
|
-
return {
|
|
2376
|
-
value: backupAutomaticAndOnDemandArrayDeserializer(item["value"]),
|
|
2377
|
-
nextLink: item["nextLink"],
|
|
2378
|
-
};
|
|
2379
|
-
}
|
|
2380
|
-
export function backupAutomaticAndOnDemandArrayDeserializer(result) {
|
|
2381
|
-
return result.map((item) => {
|
|
2382
|
-
return backupAutomaticAndOnDemandDeserializer(item);
|
|
2383
|
-
});
|
|
2384
|
-
}
|
|
2385
|
-
export function tuningOptionsDeserializer(item) {
|
|
2386
|
-
return {
|
|
2387
|
-
id: item["id"],
|
|
2388
|
-
name: item["name"],
|
|
2389
|
-
type: item["type"],
|
|
2390
|
-
systemData: !item["systemData"]
|
|
2391
|
-
? item["systemData"]
|
|
2392
|
-
: systemDataDeserializer(item["systemData"]),
|
|
2393
|
-
properties: !item["properties"]
|
|
2394
|
-
? item["properties"]
|
|
2395
|
-
: tuningOptionsPropertiesDeserializer(item["properties"]),
|
|
2396
|
-
};
|
|
2397
|
-
}
|
|
2398
|
-
export function tuningOptionsPropertiesDeserializer(item) {
|
|
2399
|
-
return {
|
|
2400
|
-
state: item["state"],
|
|
2401
|
-
};
|
|
2402
|
-
}
|
|
2403
|
-
/** The name of the tuning option. */
|
|
2404
|
-
export var KnownTuningOptionParameterEnum;
|
|
2405
|
-
(function (KnownTuningOptionParameterEnum) {
|
|
2406
|
-
/** index */
|
|
2407
|
-
KnownTuningOptionParameterEnum["Index"] = "index";
|
|
2408
|
-
/** table */
|
|
2409
|
-
KnownTuningOptionParameterEnum["Table"] = "table";
|
|
2410
|
-
})(KnownTuningOptionParameterEnum || (KnownTuningOptionParameterEnum = {}));
|
|
2411
|
-
export function _tuningOptionsListDeserializer(item) {
|
|
2412
|
-
return {
|
|
2413
|
-
value: tuningOptionsArrayDeserializer(item["value"]),
|
|
2414
|
-
nextLink: item["nextLink"],
|
|
2415
|
-
};
|
|
2416
|
-
}
|
|
2417
|
-
export function tuningOptionsArrayDeserializer(result) {
|
|
2418
|
-
return result.map((item) => {
|
|
2419
|
-
return tuningOptionsDeserializer(item);
|
|
2420
|
-
});
|
|
2421
|
-
}
|
|
2422
|
-
export function _objectRecommendationListDeserializer(item) {
|
|
2423
|
-
return {
|
|
2424
|
-
value: objectRecommendationArrayDeserializer(item["value"]),
|
|
2425
|
-
nextLink: item["nextLink"],
|
|
2426
|
-
};
|
|
2427
|
-
}
|
|
2428
|
-
export function objectRecommendationArrayDeserializer(result) {
|
|
2429
|
-
return result.map((item) => {
|
|
2430
|
-
return objectRecommendationDeserializer(item);
|
|
2431
|
-
});
|
|
2432
|
-
}
|
|
2433
|
-
export function objectRecommendationDeserializer(item) {
|
|
2434
|
-
return {
|
|
2435
|
-
id: item["id"],
|
|
2436
|
-
name: item["name"],
|
|
2437
|
-
type: item["type"],
|
|
2438
|
-
systemData: !item["systemData"]
|
|
2439
|
-
? item["systemData"]
|
|
2440
|
-
: systemDataDeserializer(item["systemData"]),
|
|
2441
|
-
kind: item["kind"],
|
|
2442
|
-
...(!item["properties"]
|
|
2443
|
-
? item["properties"]
|
|
2444
|
-
: _objectRecommendationPropertiesDeserializer(item["properties"])),
|
|
2445
|
-
};
|
|
2446
|
-
}
|
|
2447
|
-
export function objectRecommendationPropertiesDeserializer(item) {
|
|
2448
|
-
return {
|
|
2449
|
-
initialRecommendedTime: !item["initialRecommendedTime"]
|
|
2450
|
-
? item["initialRecommendedTime"]
|
|
2451
|
-
: new Date(item["initialRecommendedTime"]),
|
|
2452
|
-
lastRecommendedTime: !item["lastRecommendedTime"]
|
|
2453
|
-
? item["lastRecommendedTime"]
|
|
2454
|
-
: new Date(item["lastRecommendedTime"]),
|
|
2455
|
-
timesRecommended: item["timesRecommended"],
|
|
2456
|
-
improvedQueryIds: !item["improvedQueryIds"]
|
|
2457
|
-
? item["improvedQueryIds"]
|
|
2458
|
-
: item["improvedQueryIds"].map((p) => {
|
|
2459
|
-
return p;
|
|
2460
|
-
}),
|
|
2461
|
-
recommendationReason: item["recommendationReason"],
|
|
2462
|
-
currentState: item["currentState"],
|
|
2463
|
-
recommendationType: item["recommendationType"],
|
|
2464
|
-
implementationDetails: !item["implementationDetails"]
|
|
2465
|
-
? item["implementationDetails"]
|
|
2466
|
-
: objectRecommendationPropertiesImplementationDetailsDeserializer(item["implementationDetails"]),
|
|
2467
|
-
analyzedWorkload: !item["analyzedWorkload"]
|
|
2468
|
-
? item["analyzedWorkload"]
|
|
2469
|
-
: objectRecommendationPropertiesAnalyzedWorkloadDeserializer(item["analyzedWorkload"]),
|
|
2470
|
-
estimatedImpact: !item["estimatedImpact"]
|
|
2471
|
-
? item["estimatedImpact"]
|
|
2472
|
-
: impactRecordArrayDeserializer(item["estimatedImpact"]),
|
|
2473
|
-
details: !item["details"]
|
|
2474
|
-
? item["details"]
|
|
2475
|
-
: objectRecommendationDetailsDeserializer(item["details"]),
|
|
2476
|
-
};
|
|
2477
|
-
}
|
|
2478
|
-
/** Type for this recommendation. */
|
|
2479
|
-
export var KnownRecommendationTypeEnum;
|
|
2480
|
-
(function (KnownRecommendationTypeEnum) {
|
|
2481
|
-
/** CreateIndex */
|
|
2482
|
-
KnownRecommendationTypeEnum["CreateIndex"] = "CreateIndex";
|
|
2483
|
-
/** DropIndex */
|
|
2484
|
-
KnownRecommendationTypeEnum["DropIndex"] = "DropIndex";
|
|
2485
|
-
/** ReIndex */
|
|
2486
|
-
KnownRecommendationTypeEnum["ReIndex"] = "ReIndex";
|
|
2487
|
-
/** AnalyzeTable */
|
|
2488
|
-
KnownRecommendationTypeEnum["AnalyzeTable"] = "AnalyzeTable";
|
|
2489
|
-
/** VacuumTable */
|
|
2490
|
-
KnownRecommendationTypeEnum["VacuumTable"] = "VacuumTable";
|
|
2491
|
-
})(KnownRecommendationTypeEnum || (KnownRecommendationTypeEnum = {}));
|
|
2492
|
-
export function objectRecommendationPropertiesImplementationDetailsDeserializer(item) {
|
|
2493
|
-
return {
|
|
2494
|
-
method: item["method"],
|
|
2495
|
-
script: item["script"],
|
|
2496
|
-
};
|
|
2497
|
-
}
|
|
2498
|
-
export function objectRecommendationPropertiesAnalyzedWorkloadDeserializer(item) {
|
|
2499
|
-
return {
|
|
2500
|
-
startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
|
|
2501
|
-
endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
|
|
2502
|
-
queryCount: item["queryCount"],
|
|
2503
|
-
};
|
|
2504
|
-
}
|
|
2505
|
-
export function impactRecordArrayDeserializer(result) {
|
|
2506
|
-
return result.map((item) => {
|
|
2507
|
-
return impactRecordDeserializer(item);
|
|
2508
|
-
});
|
|
2509
|
-
}
|
|
2510
|
-
export function impactRecordDeserializer(item) {
|
|
2511
|
-
return {
|
|
2512
|
-
dimensionName: item["dimensionName"],
|
|
2513
|
-
unit: item["unit"],
|
|
2514
|
-
queryId: item["queryId"],
|
|
2515
|
-
absoluteValue: item["absoluteValue"],
|
|
2516
|
-
};
|
|
2517
|
-
}
|
|
2518
|
-
export function objectRecommendationDetailsDeserializer(item) {
|
|
2519
|
-
return {
|
|
2520
|
-
databaseName: item["databaseName"],
|
|
2521
|
-
schema: item["schema"],
|
|
2522
|
-
table: item["table"],
|
|
2523
|
-
indexType: item["indexType"],
|
|
2524
|
-
indexName: item["indexName"],
|
|
2525
|
-
indexColumns: !item["indexColumns"]
|
|
2526
|
-
? item["indexColumns"]
|
|
2527
|
-
: item["indexColumns"].map((p) => {
|
|
2528
|
-
return p;
|
|
2529
|
-
}),
|
|
2530
|
-
includedColumns: !item["includedColumns"]
|
|
2531
|
-
? item["includedColumns"]
|
|
2532
|
-
: item["includedColumns"].map((p) => {
|
|
2533
|
-
return p;
|
|
2534
|
-
}),
|
|
2535
|
-
};
|
|
2536
|
-
}
|
|
2537
|
-
export function checkNameAvailabilityRequestSerializer(item) {
|
|
2538
|
-
return { name: item["name"], type: item["type"] };
|
|
2539
|
-
}
|
|
2540
|
-
export function nameAvailabilityModelDeserializer(item) {
|
|
2541
|
-
return {
|
|
2542
|
-
nameAvailable: item["nameAvailable"],
|
|
2543
|
-
reason: item["reason"],
|
|
2544
|
-
message: item["message"],
|
|
2545
|
-
name: item["name"],
|
|
2546
|
-
type: item["type"],
|
|
2547
|
-
};
|
|
2548
|
-
}
|
|
2549
|
-
export function checkNameAvailabilityResponseDeserializer(item) {
|
|
2550
|
-
return {
|
|
2551
|
-
nameAvailable: item["nameAvailable"],
|
|
2552
|
-
reason: item["reason"],
|
|
2553
|
-
message: item["message"],
|
|
2554
|
-
};
|
|
2555
|
-
}
|
|
2556
|
-
/** Possible reasons for a name not being available. */
|
|
2557
|
-
export var KnownCheckNameAvailabilityReason;
|
|
2558
|
-
(function (KnownCheckNameAvailabilityReason) {
|
|
2559
|
-
/** Name is invalid. */
|
|
2560
|
-
KnownCheckNameAvailabilityReason["Invalid"] = "Invalid";
|
|
2561
|
-
/** Name already exists. */
|
|
2562
|
-
KnownCheckNameAvailabilityReason["AlreadyExists"] = "AlreadyExists";
|
|
2563
|
-
})(KnownCheckNameAvailabilityReason || (KnownCheckNameAvailabilityReason = {}));
|
|
2564
|
-
export function _quotaUsageListDeserializer(item) {
|
|
2565
|
-
return {
|
|
2566
|
-
value: quotaUsageArrayDeserializer(item["value"]),
|
|
2567
|
-
nextLink: item["nextLink"],
|
|
2568
|
-
};
|
|
2569
|
-
}
|
|
2570
|
-
export function quotaUsageArrayDeserializer(result) {
|
|
2571
|
-
return result.map((item) => {
|
|
2572
|
-
return quotaUsageDeserializer(item);
|
|
2573
|
-
});
|
|
2574
|
-
}
|
|
2575
|
-
export function quotaUsageDeserializer(item) {
|
|
2576
|
-
return {
|
|
2577
|
-
name: !item["name"] ? item["name"] : namePropertyDeserializer(item["name"]),
|
|
2578
|
-
limit: item["limit"],
|
|
2579
|
-
unit: item["unit"],
|
|
2580
|
-
currentValue: item["currentValue"],
|
|
2581
|
-
id: item["id"],
|
|
2582
|
-
};
|
|
2583
|
-
}
|
|
2584
|
-
export function namePropertyDeserializer(item) {
|
|
2585
|
-
return {
|
|
2586
|
-
value: item["value"],
|
|
2587
|
-
localizedValue: item["localizedValue"],
|
|
2588
|
-
};
|
|
2589
|
-
}
|
|
2590
|
-
export function virtualNetworkSubnetUsageParameterSerializer(item) {
|
|
2591
|
-
return { virtualNetworkArmResourceId: item["virtualNetworkArmResourceId"] };
|
|
2592
|
-
}
|
|
2593
|
-
export function virtualNetworkSubnetUsageModelDeserializer(item) {
|
|
2594
|
-
return {
|
|
2595
|
-
delegatedSubnetsUsage: !item["delegatedSubnetsUsage"]
|
|
2596
|
-
? item["delegatedSubnetsUsage"]
|
|
2597
|
-
: delegatedSubnetUsageArrayDeserializer(item["delegatedSubnetsUsage"]),
|
|
2598
|
-
location: item["location"],
|
|
2599
|
-
subscriptionId: item["subscriptionId"],
|
|
2600
|
-
};
|
|
2601
|
-
}
|
|
2602
|
-
export function delegatedSubnetUsageArrayDeserializer(result) {
|
|
2603
|
-
return result.map((item) => {
|
|
2604
|
-
return delegatedSubnetUsageDeserializer(item);
|
|
2605
|
-
});
|
|
2606
|
-
}
|
|
2607
|
-
export function delegatedSubnetUsageDeserializer(item) {
|
|
2608
|
-
return {
|
|
2609
|
-
subnetName: item["subnetName"],
|
|
2610
|
-
usage: item["usage"],
|
|
2611
|
-
};
|
|
2612
|
-
}
|
|
2613
|
-
/** Known values of {@link MigrationListFilter} that the service accepts. */
|
|
2614
|
-
export var KnownMigrationListFilter;
|
|
2615
|
-
(function (KnownMigrationListFilter) {
|
|
2616
|
-
/** Active */
|
|
2617
|
-
KnownMigrationListFilter["Active"] = "Active";
|
|
2618
|
-
/** All */
|
|
2619
|
-
KnownMigrationListFilter["All"] = "All";
|
|
2620
|
-
})(KnownMigrationListFilter || (KnownMigrationListFilter = {}));
|
|
2621
|
-
/** Recommendations list filter. Retrieves recommendations based on type. */
|
|
2622
|
-
export var KnownRecommendationTypeParameterEnum;
|
|
2623
|
-
(function (KnownRecommendationTypeParameterEnum) {
|
|
2624
|
-
/** CreateIndex */
|
|
2625
|
-
KnownRecommendationTypeParameterEnum["CreateIndex"] = "CreateIndex";
|
|
2626
|
-
/** DropIndex */
|
|
2627
|
-
KnownRecommendationTypeParameterEnum["DropIndex"] = "DropIndex";
|
|
2628
|
-
/** ReIndex */
|
|
2629
|
-
KnownRecommendationTypeParameterEnum["ReIndex"] = "ReIndex";
|
|
2630
|
-
/** AnalyzeTable */
|
|
2631
|
-
KnownRecommendationTypeParameterEnum["AnalyzeTable"] = "AnalyzeTable";
|
|
2632
|
-
/** VacuumTable */
|
|
2633
|
-
KnownRecommendationTypeParameterEnum["VacuumTable"] = "VacuumTable";
|
|
2634
|
-
})(KnownRecommendationTypeParameterEnum || (KnownRecommendationTypeParameterEnum = {}));
|
|
2635
|
-
/** The available API versions. */
|
|
2636
|
-
export var KnownVersions;
|
|
2637
|
-
(function (KnownVersions) {
|
|
2638
|
-
/** The 2025-08-01 API version. */
|
|
2639
|
-
KnownVersions["V20250801"] = "2025-08-01";
|
|
2640
|
-
/** The 2026-01-01-preview API version. */
|
|
2641
|
-
KnownVersions["V20260101"] = "2026-01-01-preview";
|
|
2642
|
-
})(KnownVersions || (KnownVersions = {}));
|
|
2643
|
-
export function _migrationPropertiesSerializer(item) {
|
|
2644
|
-
return {
|
|
2645
|
-
migrationInstanceResourceId: item["migrationInstanceResourceId"],
|
|
2646
|
-
migrationMode: item["migrationMode"],
|
|
2647
|
-
migrationOption: item["migrationOption"],
|
|
2648
|
-
sourceType: item["sourceType"],
|
|
2649
|
-
sslMode: item["sslMode"],
|
|
2650
|
-
sourceDbServerResourceId: item["sourceDbServerResourceId"],
|
|
2651
|
-
sourceDbServerFullyQualifiedDomainName: item["sourceDbServerFullyQualifiedDomainName"],
|
|
2652
|
-
targetDbServerFullyQualifiedDomainName: item["targetDbServerFullyQualifiedDomainName"],
|
|
2653
|
-
secretParameters: !item["secretParameters"]
|
|
2654
|
-
? item["secretParameters"]
|
|
2655
|
-
: migrationSecretParametersSerializer(item["secretParameters"]),
|
|
2656
|
-
dbsToMigrate: !item["dbsToMigrate"]
|
|
2657
|
-
? item["dbsToMigrate"]
|
|
2658
|
-
: item["dbsToMigrate"].map((p) => {
|
|
2659
|
-
return p;
|
|
2660
|
-
}),
|
|
2661
|
-
setupLogicalReplicationOnSourceDbIfNeeded: item["setupLogicalReplicationOnSourceDbIfNeeded"],
|
|
2662
|
-
overwriteDbsInTarget: item["overwriteDbsInTarget"],
|
|
2663
|
-
migrationWindowStartTimeInUtc: !item["migrationWindowStartTimeInUtc"]
|
|
2664
|
-
? item["migrationWindowStartTimeInUtc"]
|
|
2665
|
-
: item["migrationWindowStartTimeInUtc"].toISOString(),
|
|
2666
|
-
migrationWindowEndTimeInUtc: !item["migrationWindowEndTimeInUtc"]
|
|
2667
|
-
? item["migrationWindowEndTimeInUtc"]
|
|
2668
|
-
: item["migrationWindowEndTimeInUtc"].toISOString(),
|
|
2669
|
-
migrateRoles: item["migrateRoles"],
|
|
2670
|
-
startDataMigration: item["startDataMigration"],
|
|
2671
|
-
triggerCutover: item["triggerCutover"],
|
|
2672
|
-
dbsToTriggerCutoverOn: !item["dbsToTriggerCutoverOn"]
|
|
2673
|
-
? item["dbsToTriggerCutoverOn"]
|
|
2674
|
-
: item["dbsToTriggerCutoverOn"].map((p) => {
|
|
2675
|
-
return p;
|
|
2676
|
-
}),
|
|
2677
|
-
cancel: item["cancel"],
|
|
2678
|
-
dbsToCancelMigrationOn: !item["dbsToCancelMigrationOn"]
|
|
2679
|
-
? item["dbsToCancelMigrationOn"]
|
|
2680
|
-
: item["dbsToCancelMigrationOn"].map((p) => {
|
|
2681
|
-
return p;
|
|
2682
|
-
}),
|
|
2683
|
-
};
|
|
2684
|
-
}
|
|
2685
|
-
export function _migrationPropertiesDeserializer(item) {
|
|
2686
|
-
return {
|
|
2687
|
-
migrationId: item["migrationId"],
|
|
2688
|
-
currentStatus: !item["currentStatus"]
|
|
2689
|
-
? item["currentStatus"]
|
|
2690
|
-
: migrationStatusDeserializer(item["currentStatus"]),
|
|
2691
|
-
migrationInstanceResourceId: item["migrationInstanceResourceId"],
|
|
2692
|
-
migrationMode: item["migrationMode"],
|
|
2693
|
-
migrationOption: item["migrationOption"],
|
|
2694
|
-
sourceType: item["sourceType"],
|
|
2695
|
-
sslMode: item["sslMode"],
|
|
2696
|
-
sourceDbServerMetadata: !item["sourceDbServerMetadata"]
|
|
2697
|
-
? item["sourceDbServerMetadata"]
|
|
2698
|
-
: dbServerMetadataDeserializer(item["sourceDbServerMetadata"]),
|
|
2699
|
-
targetDbServerMetadata: !item["targetDbServerMetadata"]
|
|
2700
|
-
? item["targetDbServerMetadata"]
|
|
2701
|
-
: dbServerMetadataDeserializer(item["targetDbServerMetadata"]),
|
|
2702
|
-
sourceDbServerResourceId: item["sourceDbServerResourceId"],
|
|
2703
|
-
sourceDbServerFullyQualifiedDomainName: item["sourceDbServerFullyQualifiedDomainName"],
|
|
2704
|
-
targetDbServerResourceId: item["targetDbServerResourceId"],
|
|
2705
|
-
targetDbServerFullyQualifiedDomainName: item["targetDbServerFullyQualifiedDomainName"],
|
|
2706
|
-
secretParameters: !item["secretParameters"]
|
|
2707
|
-
? item["secretParameters"]
|
|
2708
|
-
: migrationSecretParametersDeserializer(item["secretParameters"]),
|
|
2709
|
-
dbsToMigrate: !item["dbsToMigrate"]
|
|
2710
|
-
? item["dbsToMigrate"]
|
|
2711
|
-
: item["dbsToMigrate"].map((p) => {
|
|
2712
|
-
return p;
|
|
2713
|
-
}),
|
|
2714
|
-
setupLogicalReplicationOnSourceDbIfNeeded: item["setupLogicalReplicationOnSourceDbIfNeeded"],
|
|
2715
|
-
overwriteDbsInTarget: item["overwriteDbsInTarget"],
|
|
2716
|
-
migrationWindowStartTimeInUtc: !item["migrationWindowStartTimeInUtc"]
|
|
2717
|
-
? item["migrationWindowStartTimeInUtc"]
|
|
2718
|
-
: new Date(item["migrationWindowStartTimeInUtc"]),
|
|
2719
|
-
migrationWindowEndTimeInUtc: !item["migrationWindowEndTimeInUtc"]
|
|
2720
|
-
? item["migrationWindowEndTimeInUtc"]
|
|
2721
|
-
: new Date(item["migrationWindowEndTimeInUtc"]),
|
|
2722
|
-
migrateRoles: item["migrateRoles"],
|
|
2723
|
-
startDataMigration: item["startDataMigration"],
|
|
2724
|
-
triggerCutover: item["triggerCutover"],
|
|
2725
|
-
dbsToTriggerCutoverOn: !item["dbsToTriggerCutoverOn"]
|
|
2726
|
-
? item["dbsToTriggerCutoverOn"]
|
|
2727
|
-
: item["dbsToTriggerCutoverOn"].map((p) => {
|
|
2728
|
-
return p;
|
|
2729
|
-
}),
|
|
2730
|
-
cancel: item["cancel"],
|
|
2731
|
-
dbsToCancelMigrationOn: !item["dbsToCancelMigrationOn"]
|
|
2732
|
-
? item["dbsToCancelMigrationOn"]
|
|
2733
|
-
: item["dbsToCancelMigrationOn"].map((p) => {
|
|
2734
|
-
return p;
|
|
2735
|
-
}),
|
|
2736
|
-
};
|
|
2737
|
-
}
|
|
2738
|
-
export function _migrationResourceForPatchPropertiesSerializer(item) {
|
|
2739
|
-
return {
|
|
2740
|
-
sourceDbServerResourceId: item["sourceDbServerResourceId"],
|
|
2741
|
-
sourceDbServerFullyQualifiedDomainName: item["sourceDbServerFullyQualifiedDomainName"],
|
|
2742
|
-
targetDbServerFullyQualifiedDomainName: item["targetDbServerFullyQualifiedDomainName"],
|
|
2743
|
-
secretParameters: !item["secretParameters"]
|
|
2744
|
-
? item["secretParameters"]
|
|
2745
|
-
: migrationSecretParametersForPatchSerializer(item["secretParameters"]),
|
|
2746
|
-
dbsToMigrate: !item["dbsToMigrate"]
|
|
2747
|
-
? item["dbsToMigrate"]
|
|
2748
|
-
: item["dbsToMigrate"].map((p) => {
|
|
2749
|
-
return p;
|
|
2750
|
-
}),
|
|
2751
|
-
setupLogicalReplicationOnSourceDbIfNeeded: item["setupLogicalReplicationOnSourceDbIfNeeded"],
|
|
2752
|
-
overwriteDbsInTarget: item["overwriteDbsInTarget"],
|
|
2753
|
-
migrationWindowStartTimeInUtc: !item["migrationWindowStartTimeInUtc"]
|
|
2754
|
-
? item["migrationWindowStartTimeInUtc"]
|
|
2755
|
-
: item["migrationWindowStartTimeInUtc"].toISOString(),
|
|
2756
|
-
migrateRoles: item["migrateRoles"],
|
|
2757
|
-
startDataMigration: item["startDataMigration"],
|
|
2758
|
-
triggerCutover: item["triggerCutover"],
|
|
2759
|
-
dbsToTriggerCutoverOn: !item["dbsToTriggerCutoverOn"]
|
|
2760
|
-
? item["dbsToTriggerCutoverOn"]
|
|
2761
|
-
: item["dbsToTriggerCutoverOn"].map((p) => {
|
|
2762
|
-
return p;
|
|
2763
|
-
}),
|
|
2764
|
-
cancel: item["cancel"],
|
|
2765
|
-
dbsToCancelMigrationOn: !item["dbsToCancelMigrationOn"]
|
|
2766
|
-
? item["dbsToCancelMigrationOn"]
|
|
2767
|
-
: item["dbsToCancelMigrationOn"].map((p) => {
|
|
2768
|
-
return p;
|
|
2769
|
-
}),
|
|
2770
|
-
migrationMode: item["migrationMode"],
|
|
2771
|
-
};
|
|
2772
|
-
}
|
|
2773
|
-
export function _privateEndpointConnectionPropertiesSerializer(item) {
|
|
2774
|
-
return {
|
|
2775
|
-
privateEndpoint: !item["privateEndpoint"]
|
|
2776
|
-
? item["privateEndpoint"]
|
|
2777
|
-
: privateEndpointSerializer(item["privateEndpoint"]),
|
|
2778
|
-
privateLinkServiceConnectionState: !item["privateLinkServiceConnectionState"]
|
|
2779
|
-
? item["privateLinkServiceConnectionState"]
|
|
2780
|
-
: privateLinkServiceConnectionStateSerializer(item["privateLinkServiceConnectionState"]),
|
|
2781
|
-
};
|
|
2782
|
-
}
|
|
2783
|
-
export function _privateEndpointConnectionPropertiesDeserializer(item) {
|
|
2784
|
-
return {
|
|
2785
|
-
groupIds: !item["groupIds"]
|
|
2786
|
-
? item["groupIds"]
|
|
2787
|
-
: item["groupIds"].map((p) => {
|
|
2788
|
-
return p;
|
|
2789
|
-
}),
|
|
2790
|
-
privateEndpoint: !item["privateEndpoint"]
|
|
2791
|
-
? item["privateEndpoint"]
|
|
2792
|
-
: privateEndpointDeserializer(item["privateEndpoint"]),
|
|
2793
|
-
privateLinkServiceConnectionState: !item["privateLinkServiceConnectionState"]
|
|
2794
|
-
? item["privateLinkServiceConnectionState"]
|
|
2795
|
-
: privateLinkServiceConnectionStateDeserializer(item["privateLinkServiceConnectionState"]),
|
|
2796
|
-
provisioningState: item["provisioningState"],
|
|
2797
|
-
};
|
|
2798
|
-
}
|
|
2799
|
-
export function _serverPropertiesSerializer(item) {
|
|
2800
|
-
return {
|
|
2801
|
-
administratorLogin: item["administratorLogin"],
|
|
2802
|
-
administratorLoginPassword: item["administratorLoginPassword"],
|
|
2803
|
-
version: item["version"],
|
|
2804
|
-
storage: !item["storage"] ? item["storage"] : storageSerializer(item["storage"]),
|
|
2805
|
-
authConfig: !item["authConfig"] ? item["authConfig"] : authConfigSerializer(item["authConfig"]),
|
|
2806
|
-
dataEncryption: !item["dataEncryption"]
|
|
2807
|
-
? item["dataEncryption"]
|
|
2808
|
-
: dataEncryptionSerializer(item["dataEncryption"]),
|
|
2809
|
-
backup: !item["backup"] ? item["backup"] : backupSerializer(item["backup"]),
|
|
2810
|
-
network: !item["network"] ? item["network"] : networkSerializer(item["network"]),
|
|
2811
|
-
highAvailability: !item["highAvailability"]
|
|
2812
|
-
? item["highAvailability"]
|
|
2813
|
-
: highAvailabilitySerializer(item["highAvailability"]),
|
|
2814
|
-
maintenanceWindow: !item["maintenanceWindow"]
|
|
2815
|
-
? item["maintenanceWindow"]
|
|
2816
|
-
: maintenanceWindowSerializer(item["maintenanceWindow"]),
|
|
2817
|
-
sourceServerResourceId: item["sourceServerResourceId"],
|
|
2818
|
-
pointInTimeUTC: !item["pointInTimeUTC"]
|
|
2819
|
-
? item["pointInTimeUTC"]
|
|
2820
|
-
: item["pointInTimeUTC"].toISOString(),
|
|
2821
|
-
availabilityZone: item["availabilityZone"],
|
|
2822
|
-
replicationRole: item["replicationRole"],
|
|
2823
|
-
replica: !item["replica"] ? item["replica"] : replicaSerializer(item["replica"]),
|
|
2824
|
-
createMode: item["createMode"],
|
|
2825
|
-
cluster: !item["cluster"] ? item["cluster"] : clusterSerializer(item["cluster"]),
|
|
2826
|
-
};
|
|
2827
|
-
}
|
|
2828
|
-
export function _serverPropertiesDeserializer(item) {
|
|
2829
|
-
return {
|
|
2830
|
-
administratorLogin: item["administratorLogin"],
|
|
2831
|
-
administratorLoginPassword: item["administratorLoginPassword"],
|
|
2832
|
-
version: item["version"],
|
|
2833
|
-
minorVersion: item["minorVersion"],
|
|
2834
|
-
state: item["state"],
|
|
2835
|
-
fullyQualifiedDomainName: item["fullyQualifiedDomainName"],
|
|
2836
|
-
storage: !item["storage"] ? item["storage"] : storageDeserializer(item["storage"]),
|
|
2837
|
-
authConfig: !item["authConfig"]
|
|
2838
|
-
? item["authConfig"]
|
|
2839
|
-
: authConfigDeserializer(item["authConfig"]),
|
|
2840
|
-
dataEncryption: !item["dataEncryption"]
|
|
2841
|
-
? item["dataEncryption"]
|
|
2842
|
-
: dataEncryptionDeserializer(item["dataEncryption"]),
|
|
2843
|
-
backup: !item["backup"] ? item["backup"] : backupDeserializer(item["backup"]),
|
|
2844
|
-
network: !item["network"] ? item["network"] : networkDeserializer(item["network"]),
|
|
2845
|
-
highAvailability: !item["highAvailability"]
|
|
2846
|
-
? item["highAvailability"]
|
|
2847
|
-
: highAvailabilityDeserializer(item["highAvailability"]),
|
|
2848
|
-
maintenanceWindow: !item["maintenanceWindow"]
|
|
2849
|
-
? item["maintenanceWindow"]
|
|
2850
|
-
: maintenanceWindowDeserializer(item["maintenanceWindow"]),
|
|
2851
|
-
sourceServerResourceId: item["sourceServerResourceId"],
|
|
2852
|
-
pointInTimeUTC: !item["pointInTimeUTC"]
|
|
2853
|
-
? item["pointInTimeUTC"]
|
|
2854
|
-
: new Date(item["pointInTimeUTC"]),
|
|
2855
|
-
availabilityZone: item["availabilityZone"],
|
|
2856
|
-
replicationRole: item["replicationRole"],
|
|
2857
|
-
replicaCapacity: item["replicaCapacity"],
|
|
2858
|
-
replica: !item["replica"] ? item["replica"] : replicaDeserializer(item["replica"]),
|
|
2859
|
-
createMode: item["createMode"],
|
|
2860
|
-
privateEndpointConnections: !item["privateEndpointConnections"]
|
|
2861
|
-
? item["privateEndpointConnections"]
|
|
2862
|
-
: privateEndpointConnectionArrayDeserializer(item["privateEndpointConnections"]),
|
|
2863
|
-
cluster: !item["cluster"] ? item["cluster"] : clusterDeserializer(item["cluster"]),
|
|
2864
|
-
};
|
|
2865
|
-
}
|
|
2866
|
-
export function _serverForPatchPropertiesSerializer(item) {
|
|
2867
|
-
return {
|
|
2868
|
-
administratorLoginPassword: item["administratorLoginPassword"],
|
|
2869
|
-
version: item["version"],
|
|
2870
|
-
storage: !item["storage"] ? item["storage"] : storageSerializer(item["storage"]),
|
|
2871
|
-
backup: !item["backup"] ? item["backup"] : backupForPatchSerializer(item["backup"]),
|
|
2872
|
-
highAvailability: !item["highAvailability"]
|
|
2873
|
-
? item["highAvailability"]
|
|
2874
|
-
: highAvailabilityForPatchSerializer(item["highAvailability"]),
|
|
2875
|
-
maintenanceWindow: !item["maintenanceWindow"]
|
|
2876
|
-
? item["maintenanceWindow"]
|
|
2877
|
-
: maintenanceWindowForPatchSerializer(item["maintenanceWindow"]),
|
|
2878
|
-
authConfig: !item["authConfig"]
|
|
2879
|
-
? item["authConfig"]
|
|
2880
|
-
: authConfigForPatchSerializer(item["authConfig"]),
|
|
2881
|
-
dataEncryption: !item["dataEncryption"]
|
|
2882
|
-
? item["dataEncryption"]
|
|
2883
|
-
: dataEncryptionSerializer(item["dataEncryption"]),
|
|
2884
|
-
availabilityZone: item["availabilityZone"],
|
|
2885
|
-
createMode: item["createMode"],
|
|
2886
|
-
replicationRole: item["replicationRole"],
|
|
2887
|
-
replica: !item["replica"] ? item["replica"] : replicaSerializer(item["replica"]),
|
|
2888
|
-
network: !item["network"] ? item["network"] : networkSerializer(item["network"]),
|
|
2889
|
-
cluster: !item["cluster"] ? item["cluster"] : clusterSerializer(item["cluster"]),
|
|
2890
|
-
};
|
|
2891
|
-
}
|
|
2892
|
-
export function _configurationPropertiesSerializer(item) {
|
|
2893
|
-
return { value: item["value"], source: item["source"] };
|
|
2894
|
-
}
|
|
2895
|
-
export function _configurationPropertiesDeserializer(item) {
|
|
2896
|
-
return {
|
|
2897
|
-
value: item["value"],
|
|
2898
|
-
description: item["description"],
|
|
2899
|
-
defaultValue: item["defaultValue"],
|
|
2900
|
-
dataType: item["dataType"],
|
|
2901
|
-
allowedValues: item["allowedValues"],
|
|
2902
|
-
source: item["source"],
|
|
2903
|
-
isDynamicConfig: item["isDynamicConfig"],
|
|
2904
|
-
isReadOnly: item["isReadOnly"],
|
|
2905
|
-
isConfigPendingRestart: item["isConfigPendingRestart"],
|
|
2906
|
-
unit: item["unit"],
|
|
2907
|
-
documentationLink: item["documentationLink"],
|
|
2908
|
-
};
|
|
2909
|
-
}
|
|
2910
|
-
export function _configurationForUpdatePropertiesSerializer(item) {
|
|
2911
|
-
return { value: item["value"], source: item["source"] };
|
|
2912
|
-
}
|
|
2913
|
-
export function _configurationForUpdatePropertiesDeserializer(item) {
|
|
2914
|
-
return {
|
|
2915
|
-
value: item["value"],
|
|
2916
|
-
description: item["description"],
|
|
2917
|
-
defaultValue: item["defaultValue"],
|
|
2918
|
-
dataType: item["dataType"],
|
|
2919
|
-
allowedValues: item["allowedValues"],
|
|
2920
|
-
source: item["source"],
|
|
2921
|
-
isDynamicConfig: item["isDynamicConfig"],
|
|
2922
|
-
isReadOnly: item["isReadOnly"],
|
|
2923
|
-
isConfigPendingRestart: item["isConfigPendingRestart"],
|
|
2924
|
-
unit: item["unit"],
|
|
2925
|
-
documentationLink: item["documentationLink"],
|
|
2926
|
-
};
|
|
2927
|
-
}
|
|
2928
|
-
export function _databasePropertiesSerializer(item) {
|
|
2929
|
-
return { charset: item["charset"], collation: item["collation"] };
|
|
2930
|
-
}
|
|
2931
|
-
export function _databasePropertiesDeserializer(item) {
|
|
2932
|
-
return {
|
|
2933
|
-
charset: item["charset"],
|
|
2934
|
-
collation: item["collation"],
|
|
2935
|
-
};
|
|
2936
|
-
}
|
|
2937
|
-
export function _firewallRulePropertiesSerializer(item) {
|
|
2938
|
-
return { startIpAddress: item["startIpAddress"], endIpAddress: item["endIpAddress"] };
|
|
2939
|
-
}
|
|
2940
|
-
export function _firewallRulePropertiesDeserializer(item) {
|
|
2941
|
-
return {
|
|
2942
|
-
startIpAddress: item["startIpAddress"],
|
|
2943
|
-
endIpAddress: item["endIpAddress"],
|
|
2944
|
-
};
|
|
2945
|
-
}
|
|
2946
|
-
export function _privateLinkResourcePropertiesDeserializer(item) {
|
|
2947
|
-
return {
|
|
2948
|
-
groupId: item["groupId"],
|
|
2949
|
-
requiredMembers: !item["requiredMembers"]
|
|
2950
|
-
? item["requiredMembers"]
|
|
2951
|
-
: item["requiredMembers"].map((p) => {
|
|
2952
|
-
return p;
|
|
2953
|
-
}),
|
|
2954
|
-
requiredZoneNames: !item["requiredZoneNames"]
|
|
2955
|
-
? item["requiredZoneNames"]
|
|
2956
|
-
: item["requiredZoneNames"].map((p) => {
|
|
2957
|
-
return p;
|
|
2958
|
-
}),
|
|
2959
|
-
};
|
|
2960
|
-
}
|
|
2961
|
-
export function _virtualEndpointPropertiesSerializer(item) {
|
|
2962
|
-
return {
|
|
2963
|
-
endpointType: item["endpointType"],
|
|
2964
|
-
members: !item["members"]
|
|
2965
|
-
? item["members"]
|
|
2966
|
-
: item["members"].map((p) => {
|
|
2967
|
-
return p;
|
|
2968
|
-
}),
|
|
2969
|
-
};
|
|
2970
|
-
}
|
|
2971
|
-
export function _virtualEndpointPropertiesDeserializer(item) {
|
|
2972
|
-
return {
|
|
2973
|
-
endpointType: item["endpointType"],
|
|
2974
|
-
members: !item["members"]
|
|
2975
|
-
? item["members"]
|
|
2976
|
-
: item["members"].map((p) => {
|
|
2977
|
-
return p;
|
|
2978
|
-
}),
|
|
2979
|
-
virtualEndpoints: !item["virtualEndpoints"]
|
|
2980
|
-
? item["virtualEndpoints"]
|
|
2981
|
-
: item["virtualEndpoints"].map((p) => {
|
|
2982
|
-
return p;
|
|
2983
|
-
}),
|
|
2984
|
-
};
|
|
2985
|
-
}
|
|
2986
|
-
export function _virtualEndpointResourceForPatchPropertiesSerializer(item) {
|
|
2987
|
-
return {
|
|
2988
|
-
endpointType: item["endpointType"],
|
|
2989
|
-
members: !item["members"]
|
|
2990
|
-
? item["members"]
|
|
2991
|
-
: item["members"].map((p) => {
|
|
2992
|
-
return p;
|
|
2993
|
-
}),
|
|
2994
|
-
};
|
|
2995
|
-
}
|
|
2996
|
-
export function _virtualEndpointResourceForPatchPropertiesDeserializer(item) {
|
|
2997
|
-
return {
|
|
2998
|
-
endpointType: item["endpointType"],
|
|
2999
|
-
members: !item["members"]
|
|
3000
|
-
? item["members"]
|
|
3001
|
-
: item["members"].map((p) => {
|
|
3002
|
-
return p;
|
|
3003
|
-
}),
|
|
3004
|
-
virtualEndpoints: !item["virtualEndpoints"]
|
|
3005
|
-
? item["virtualEndpoints"]
|
|
3006
|
-
: item["virtualEndpoints"].map((p) => {
|
|
3007
|
-
return p;
|
|
3008
|
-
}),
|
|
3009
|
-
};
|
|
3010
|
-
}
|
|
3011
|
-
export function _administratorMicrosoftEntraPropertiesDeserializer(item) {
|
|
3012
|
-
return {
|
|
3013
|
-
principalType: item["principalType"],
|
|
3014
|
-
principalName: item["principalName"],
|
|
3015
|
-
objectId: item["objectId"],
|
|
3016
|
-
tenantId: item["tenantId"],
|
|
3017
|
-
};
|
|
3018
|
-
}
|
|
3019
|
-
export function _administratorMicrosoftEntraAddPropertiesSerializer(item) {
|
|
3020
|
-
return {
|
|
3021
|
-
principalType: item["principalType"],
|
|
3022
|
-
principalName: item["principalName"],
|
|
3023
|
-
tenantId: item["tenantId"],
|
|
3024
|
-
};
|
|
3025
|
-
}
|
|
3026
|
-
export function _capturedLogPropertiesDeserializer(item) {
|
|
3027
|
-
return {
|
|
3028
|
-
createdTime: !item["createdTime"] ? item["createdTime"] : new Date(item["createdTime"]),
|
|
3029
|
-
lastModifiedTime: !item["lastModifiedTime"]
|
|
3030
|
-
? item["lastModifiedTime"]
|
|
3031
|
-
: new Date(item["lastModifiedTime"]),
|
|
3032
|
-
sizeInKb: item["sizeInKb"],
|
|
3033
|
-
typePropertiesType: item["type"],
|
|
3034
|
-
url: item["url"],
|
|
3035
|
-
};
|
|
3036
|
-
}
|
|
3037
|
-
export function _ltrPreBackupResponsePropertiesDeserializer(item) {
|
|
3038
|
-
return {
|
|
3039
|
-
numberOfContainers: item["numberOfContainers"],
|
|
3040
|
-
};
|
|
3041
|
-
}
|
|
3042
|
-
export function _backupsLongTermRetentionResponsePropertiesDeserializer(item) {
|
|
3043
|
-
return {
|
|
3044
|
-
datasourceSizeInBytes: item["datasourceSizeInBytes"],
|
|
3045
|
-
dataTransferredInBytes: item["dataTransferredInBytes"],
|
|
3046
|
-
backupName: item["backupName"],
|
|
3047
|
-
backupMetadata: item["backupMetadata"],
|
|
3048
|
-
status: item["status"],
|
|
3049
|
-
startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
|
|
3050
|
-
endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
|
|
3051
|
-
percentComplete: item["percentComplete"],
|
|
3052
|
-
errorCode: item["errorCode"],
|
|
3053
|
-
errorMessage: item["errorMessage"],
|
|
3054
|
-
};
|
|
3055
|
-
}
|
|
3056
|
-
export function _backupsLongTermRetentionOperationPropertiesDeserializer(item) {
|
|
3057
|
-
return {
|
|
3058
|
-
datasourceSizeInBytes: item["datasourceSizeInBytes"],
|
|
3059
|
-
dataTransferredInBytes: item["dataTransferredInBytes"],
|
|
3060
|
-
backupName: item["backupName"],
|
|
3061
|
-
backupMetadata: item["backupMetadata"],
|
|
3062
|
-
status: item["status"],
|
|
3063
|
-
startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
|
|
3064
|
-
endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
|
|
3065
|
-
percentComplete: item["percentComplete"],
|
|
3066
|
-
errorCode: item["errorCode"],
|
|
3067
|
-
errorMessage: item["errorMessage"],
|
|
3068
|
-
};
|
|
3069
|
-
}
|
|
3070
|
-
export function _advancedThreatProtectionSettingsModelPropertiesSerializer(item) {
|
|
3071
|
-
return { state: item["state"] };
|
|
3072
|
-
}
|
|
3073
|
-
export function _advancedThreatProtectionSettingsModelPropertiesDeserializer(item) {
|
|
3074
|
-
return {
|
|
3075
|
-
state: item["state"],
|
|
3076
|
-
creationTime: !item["creationTime"] ? item["creationTime"] : new Date(item["creationTime"]),
|
|
3077
|
-
};
|
|
3078
|
-
}
|
|
3079
|
-
export function _backupAutomaticAndOnDemandPropertiesDeserializer(item) {
|
|
3080
|
-
return {
|
|
3081
|
-
backupType: item["backupType"],
|
|
3082
|
-
completedTime: !item["completedTime"] ? item["completedTime"] : new Date(item["completedTime"]),
|
|
3083
|
-
source: item["source"],
|
|
3084
|
-
};
|
|
3085
|
-
}
|
|
3086
|
-
export function _objectRecommendationPropertiesDeserializer(item) {
|
|
3087
|
-
return {
|
|
3088
|
-
initialRecommendedTime: !item["initialRecommendedTime"]
|
|
3089
|
-
? item["initialRecommendedTime"]
|
|
3090
|
-
: new Date(item["initialRecommendedTime"]),
|
|
3091
|
-
lastRecommendedTime: !item["lastRecommendedTime"]
|
|
3092
|
-
? item["lastRecommendedTime"]
|
|
3093
|
-
: new Date(item["lastRecommendedTime"]),
|
|
3094
|
-
timesRecommended: item["timesRecommended"],
|
|
3095
|
-
improvedQueryIds: !item["improvedQueryIds"]
|
|
3096
|
-
? item["improvedQueryIds"]
|
|
3097
|
-
: item["improvedQueryIds"].map((p) => {
|
|
3098
|
-
return p;
|
|
3099
|
-
}),
|
|
3100
|
-
recommendationReason: item["recommendationReason"],
|
|
3101
|
-
currentState: item["currentState"],
|
|
3102
|
-
recommendationType: item["recommendationType"],
|
|
3103
|
-
implementationDetails: !item["implementationDetails"]
|
|
3104
|
-
? item["implementationDetails"]
|
|
3105
|
-
: objectRecommendationPropertiesImplementationDetailsDeserializer(item["implementationDetails"]),
|
|
3106
|
-
analyzedWorkload: !item["analyzedWorkload"]
|
|
3107
|
-
? item["analyzedWorkload"]
|
|
3108
|
-
: objectRecommendationPropertiesAnalyzedWorkloadDeserializer(item["analyzedWorkload"]),
|
|
3109
|
-
estimatedImpact: !item["estimatedImpact"]
|
|
3110
|
-
? item["estimatedImpact"]
|
|
3111
|
-
: impactRecordArrayDeserializer(item["estimatedImpact"]),
|
|
3112
|
-
details: !item["details"]
|
|
3113
|
-
? item["details"]
|
|
3114
|
-
: objectRecommendationDetailsDeserializer(item["details"]),
|
|
3115
|
-
};
|
|
3116
|
-
}
|
|
3117
|
-
//# sourceMappingURL=models.js.map
|