@azure/arm-cosmosdbforpostgresql 1.1.0-beta.2 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +17 -20
- package/dist/browser/api/clusters/index.d.ts +3 -0
- package/dist/browser/api/clusters/index.js +4 -0
- package/dist/browser/api/clusters/index.js.map +1 -0
- package/dist/browser/api/clusters/operations.d.ts +51 -0
- package/dist/browser/api/clusters/operations.js +371 -0
- package/dist/browser/api/clusters/operations.js.map +1 -0
- package/dist/browser/api/clusters/options.d.ts +52 -0
- package/dist/browser/api/clusters/options.js +4 -0
- package/dist/browser/api/clusters/options.js.map +1 -0
- package/dist/browser/api/configurations/index.d.ts +3 -0
- package/dist/browser/api/configurations/index.js +4 -0
- package/dist/browser/api/configurations/index.js.map +1 -0
- package/dist/browser/api/configurations/operations.d.ts +35 -0
- package/dist/browser/api/configurations/operations.js +244 -0
- package/dist/browser/api/configurations/operations.js.map +1 -0
- package/dist/browser/api/configurations/options.d.ts +27 -0
- package/dist/browser/api/configurations/options.js +4 -0
- package/dist/browser/api/configurations/options.js.map +1 -0
- package/dist/browser/api/cosmosDBForPostgreSQLContext.d.ts +22 -0
- package/dist/browser/api/cosmosDBForPostgreSQLContext.js +26 -0
- package/dist/browser/api/cosmosDBForPostgreSQLContext.js.map +1 -0
- package/dist/browser/api/firewallRules/index.d.ts +3 -0
- package/dist/browser/api/firewallRules/index.js +4 -0
- package/dist/browser/api/firewallRules/index.js.map +1 -0
- package/dist/browser/api/firewallRules/operations.d.ts +23 -0
- package/dist/browser/api/firewallRules/operations.js +143 -0
- package/dist/browser/api/firewallRules/operations.js.map +1 -0
- package/dist/browser/api/firewallRules/options.d.ts +18 -0
- package/dist/browser/api/firewallRules/options.js +4 -0
- package/dist/browser/api/firewallRules/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +3 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +37 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/browser/api/privateEndpointConnections/index.js +4 -0
- package/dist/browser/api/privateEndpointConnections/index.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/operations.d.ts +23 -0
- package/dist/browser/api/privateEndpointConnections/operations.js +143 -0
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/options.d.ts +18 -0
- package/dist/browser/api/privateEndpointConnections/options.js +4 -0
- package/dist/browser/api/privateEndpointConnections/options.js.map +1 -0
- package/dist/browser/api/privateLinkResources/index.d.ts +3 -0
- package/dist/browser/api/privateLinkResources/index.js +4 -0
- package/dist/browser/api/privateLinkResources/index.js.map +1 -0
- package/dist/browser/api/privateLinkResources/operations.d.ts +14 -0
- package/dist/browser/api/privateLinkResources/operations.js +71 -0
- package/dist/browser/api/privateLinkResources/operations.js.map +1 -0
- package/dist/browser/api/privateLinkResources/options.d.ts +8 -0
- package/dist/browser/api/privateLinkResources/options.js +4 -0
- package/dist/browser/api/privateLinkResources/options.js.map +1 -0
- package/dist/browser/api/roles/index.d.ts +3 -0
- package/dist/browser/api/roles/index.js +4 -0
- package/dist/browser/api/roles/index.js.map +1 -0
- package/dist/browser/api/roles/operations.d.ts +23 -0
- package/dist/browser/api/roles/operations.js +143 -0
- package/dist/browser/api/roles/operations.js.map +1 -0
- package/dist/browser/api/roles/options.d.ts +18 -0
- package/dist/browser/api/roles/options.js +4 -0
- package/dist/browser/api/roles/options.js.map +1 -0
- package/dist/browser/api/servers/index.d.ts +3 -0
- package/dist/browser/api/servers/index.js +4 -0
- package/dist/browser/api/servers/index.js.map +1 -0
- package/dist/browser/api/servers/operations.d.ts +14 -0
- package/dist/browser/api/servers/operations.js +71 -0
- package/dist/browser/api/servers/operations.js.map +1 -0
- package/dist/browser/api/servers/options.d.ts +8 -0
- package/dist/browser/api/servers/options.js +4 -0
- package/dist/browser/api/servers/options.js.map +1 -0
- package/dist/browser/classic/clusters/index.d.ts +61 -0
- package/dist/browser/classic/clusters/index.js +81 -0
- package/dist/browser/classic/clusters/index.js.map +1 -0
- package/dist/browser/classic/configurations/index.d.ts +33 -0
- package/dist/browser/classic/configurations/index.js +37 -0
- package/dist/browser/classic/configurations/index.js.map +1 -0
- package/dist/browser/classic/firewallRules/index.d.ts +27 -0
- package/dist/browser/classic/firewallRules/index.js +34 -0
- package/dist/browser/classic/firewallRules/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +9 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -0
- package/dist/browser/classic/operations/index.js +14 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/privateEndpointConnections/index.d.ts +27 -0
- package/dist/browser/classic/privateEndpointConnections/index.js +34 -0
- package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -0
- package/dist/browser/classic/privateLinkResources/index.d.ts +13 -0
- package/dist/browser/classic/privateLinkResources/index.js +15 -0
- package/dist/browser/classic/privateLinkResources/index.js.map +1 -0
- package/dist/browser/classic/roles/index.d.ts +27 -0
- package/dist/browser/classic/roles/index.js +34 -0
- package/dist/browser/classic/roles/index.js.map +1 -0
- package/dist/browser/classic/servers/index.d.ts +13 -0
- package/dist/browser/classic/servers/index.js +15 -0
- package/dist/browser/classic/servers/index.js.map +1 -0
- package/dist/browser/cosmosDBForPostgreSQL.d.ts +34 -25
- package/dist/browser/cosmosDBForPostgreSQL.js +46 -113
- package/dist/browser/cosmosDBForPostgreSQL.js.map +1 -1
- package/dist/browser/index.d.ts +22 -3
- package/dist/browser/index.js +7 -11
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -1213
- package/dist/browser/models/index.js +3 -117
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +1151 -0
- package/dist/browser/models/models.js +1242 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +118 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/browser/static-helpers/pollingHelpers.js +95 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/clusters/index.d.ts +3 -0
- package/dist/commonjs/api/clusters/index.js +48 -0
- package/dist/commonjs/api/clusters/index.js.map +7 -0
- package/dist/commonjs/api/clusters/operations.d.ts +51 -0
- package/dist/commonjs/api/clusters/operations.js +502 -0
- package/dist/commonjs/api/clusters/operations.js.map +7 -0
- package/dist/commonjs/api/clusters/options.d.ts +52 -0
- package/dist/commonjs/api/clusters/options.js +16 -0
- package/dist/commonjs/api/clusters/options.js.map +7 -0
- package/dist/commonjs/api/configurations/index.d.ts +3 -0
- package/dist/commonjs/api/configurations/index.js +40 -0
- package/dist/commonjs/api/configurations/index.js.map +7 -0
- package/dist/commonjs/api/configurations/operations.d.ts +35 -0
- package/dist/commonjs/api/configurations/operations.js +373 -0
- package/dist/commonjs/api/configurations/operations.js.map +7 -0
- package/dist/commonjs/api/configurations/options.d.ts +27 -0
- package/dist/commonjs/api/configurations/options.js +16 -0
- package/dist/commonjs/api/configurations/options.js.map +7 -0
- package/dist/commonjs/api/cosmosDBForPostgreSQLContext.d.ts +22 -0
- package/dist/commonjs/api/cosmosDBForPostgreSQLContext.js +47 -0
- package/dist/commonjs/api/cosmosDBForPostgreSQLContext.js.map +7 -0
- package/dist/commonjs/api/firewallRules/index.d.ts +3 -0
- package/dist/commonjs/api/firewallRules/index.js +34 -0
- package/dist/commonjs/api/firewallRules/index.js.map +7 -0
- package/dist/commonjs/api/firewallRules/operations.d.ts +23 -0
- package/dist/commonjs/api/firewallRules/operations.js +214 -0
- package/dist/commonjs/api/firewallRules/operations.js.map +7 -0
- package/dist/commonjs/api/firewallRules/options.d.ts +18 -0
- package/dist/commonjs/api/firewallRules/options.js +16 -0
- package/dist/commonjs/api/firewallRules/options.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +3 -0
- package/dist/commonjs/api/index.js +28 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +28 -0
- package/dist/commonjs/api/operations/index.js.map +7 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +74 -0
- package/dist/commonjs/api/operations/operations.js.map +7 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +16 -0
- package/dist/commonjs/api/operations/options.js.map +7 -0
- package/dist/commonjs/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/commonjs/api/privateEndpointConnections/index.js +34 -0
- package/dist/commonjs/api/privateEndpointConnections/index.js.map +7 -0
- package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +23 -0
- package/dist/commonjs/api/privateEndpointConnections/operations.js +220 -0
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +7 -0
- package/dist/commonjs/api/privateEndpointConnections/options.d.ts +18 -0
- package/dist/commonjs/api/privateEndpointConnections/options.js +16 -0
- package/dist/commonjs/api/privateEndpointConnections/options.js.map +7 -0
- package/dist/commonjs/api/privateLinkResources/index.d.ts +3 -0
- package/dist/commonjs/api/privateLinkResources/index.js +30 -0
- package/dist/commonjs/api/privateLinkResources/index.js.map +7 -0
- package/dist/commonjs/api/privateLinkResources/operations.d.ts +14 -0
- package/dist/commonjs/api/privateLinkResources/operations.js +123 -0
- package/dist/commonjs/api/privateLinkResources/operations.js.map +7 -0
- package/dist/commonjs/api/privateLinkResources/options.d.ts +8 -0
- package/dist/commonjs/api/privateLinkResources/options.js +16 -0
- package/dist/commonjs/api/privateLinkResources/options.js.map +7 -0
- package/dist/commonjs/api/roles/index.d.ts +3 -0
- package/dist/commonjs/api/roles/index.js +34 -0
- package/dist/commonjs/api/roles/index.js.map +7 -0
- package/dist/commonjs/api/roles/operations.d.ts +23 -0
- package/dist/commonjs/api/roles/operations.js +207 -0
- package/dist/commonjs/api/roles/operations.js.map +7 -0
- package/dist/commonjs/api/roles/options.d.ts +18 -0
- package/dist/commonjs/api/roles/options.js +16 -0
- package/dist/commonjs/api/roles/options.js.map +7 -0
- package/dist/commonjs/api/servers/index.d.ts +3 -0
- package/dist/commonjs/api/servers/index.js +30 -0
- package/dist/commonjs/api/servers/index.js.map +7 -0
- package/dist/commonjs/api/servers/operations.d.ts +14 -0
- package/dist/commonjs/api/servers/operations.js +117 -0
- package/dist/commonjs/api/servers/operations.js.map +7 -0
- package/dist/commonjs/api/servers/options.d.ts +8 -0
- package/dist/commonjs/api/servers/options.js +16 -0
- package/dist/commonjs/api/servers/options.js.map +7 -0
- package/dist/commonjs/classic/clusters/index.d.ts +61 -0
- package/dist/commonjs/classic/clusters/index.js +105 -0
- package/dist/commonjs/classic/clusters/index.js.map +7 -0
- package/dist/commonjs/classic/configurations/index.d.ts +33 -0
- package/dist/commonjs/classic/configurations/index.js +96 -0
- package/dist/commonjs/classic/configurations/index.js.map +7 -0
- package/dist/commonjs/classic/firewallRules/index.d.ts +27 -0
- package/dist/commonjs/classic/firewallRules/index.js +79 -0
- package/dist/commonjs/classic/firewallRules/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +9 -0
- package/dist/commonjs/classic/index.js +16 -0
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.js +38 -0
- package/dist/commonjs/classic/operations/index.js.map +7 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +27 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.js +91 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.js.map +7 -0
- package/dist/commonjs/classic/privateLinkResources/index.d.ts +13 -0
- package/dist/commonjs/classic/privateLinkResources/index.js +39 -0
- package/dist/commonjs/classic/privateLinkResources/index.js.map +7 -0
- package/dist/commonjs/classic/roles/index.d.ts +27 -0
- package/dist/commonjs/classic/roles/index.js +58 -0
- package/dist/commonjs/classic/roles/index.js.map +7 -0
- package/dist/commonjs/classic/servers/index.d.ts +13 -0
- package/dist/commonjs/classic/servers/index.js +39 -0
- package/dist/commonjs/classic/servers/index.js.map +7 -0
- package/dist/commonjs/cosmosDBForPostgreSQL.d.ts +34 -25
- package/dist/commonjs/cosmosDBForPostgreSQL.js +74 -124
- package/dist/commonjs/cosmosDBForPostgreSQL.js.map +7 -1
- package/dist/commonjs/index.d.ts +22 -3
- package/dist/commonjs/index.js +74 -19
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +29 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/models/index.d.ts +2 -1213
- package/dist/commonjs/models/index.js +60 -121
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +1151 -0
- package/dist/commonjs/models/models.js +1314 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +131 -0
- package/dist/commonjs/restorePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/clusters/index.d.ts +3 -0
- package/dist/esm/api/clusters/index.js +4 -0
- package/dist/esm/api/clusters/index.js.map +1 -0
- package/dist/esm/api/clusters/operations.d.ts +51 -0
- package/dist/esm/api/clusters/operations.js +371 -0
- package/dist/esm/api/clusters/operations.js.map +1 -0
- package/dist/esm/api/clusters/options.d.ts +52 -0
- package/dist/esm/api/clusters/options.js +4 -0
- package/dist/esm/api/clusters/options.js.map +1 -0
- package/dist/esm/api/configurations/index.d.ts +3 -0
- package/dist/esm/api/configurations/index.js +4 -0
- package/dist/esm/api/configurations/index.js.map +1 -0
- package/dist/esm/api/configurations/operations.d.ts +35 -0
- package/dist/esm/api/configurations/operations.js +244 -0
- package/dist/esm/api/configurations/operations.js.map +1 -0
- package/dist/esm/api/configurations/options.d.ts +27 -0
- package/dist/esm/api/configurations/options.js +4 -0
- package/dist/esm/api/configurations/options.js.map +1 -0
- package/dist/esm/api/cosmosDBForPostgreSQLContext.d.ts +22 -0
- package/dist/esm/api/cosmosDBForPostgreSQLContext.js +26 -0
- package/dist/esm/api/cosmosDBForPostgreSQLContext.js.map +1 -0
- package/dist/esm/api/firewallRules/index.d.ts +3 -0
- package/dist/esm/api/firewallRules/index.js +4 -0
- package/dist/esm/api/firewallRules/index.js.map +1 -0
- package/dist/esm/api/firewallRules/operations.d.ts +23 -0
- package/dist/esm/api/firewallRules/operations.js +143 -0
- package/dist/esm/api/firewallRules/operations.js.map +1 -0
- package/dist/esm/api/firewallRules/options.d.ts +18 -0
- package/dist/esm/api/firewallRules/options.js +4 -0
- package/dist/esm/api/firewallRules/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +3 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +37 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/esm/api/privateEndpointConnections/index.js +4 -0
- package/dist/esm/api/privateEndpointConnections/index.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/operations.d.ts +23 -0
- package/dist/esm/api/privateEndpointConnections/operations.js +143 -0
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/options.d.ts +18 -0
- package/dist/esm/api/privateEndpointConnections/options.js +4 -0
- package/dist/esm/api/privateEndpointConnections/options.js.map +1 -0
- package/dist/esm/api/privateLinkResources/index.d.ts +3 -0
- package/dist/esm/api/privateLinkResources/index.js +4 -0
- package/dist/esm/api/privateLinkResources/index.js.map +1 -0
- package/dist/esm/api/privateLinkResources/operations.d.ts +14 -0
- package/dist/esm/api/privateLinkResources/operations.js +71 -0
- package/dist/esm/api/privateLinkResources/operations.js.map +1 -0
- package/dist/esm/api/privateLinkResources/options.d.ts +8 -0
- package/dist/esm/api/privateLinkResources/options.js +4 -0
- package/dist/esm/api/privateLinkResources/options.js.map +1 -0
- package/dist/esm/api/roles/index.d.ts +3 -0
- package/dist/esm/api/roles/index.js +4 -0
- package/dist/esm/api/roles/index.js.map +1 -0
- package/dist/esm/api/roles/operations.d.ts +23 -0
- package/dist/esm/api/roles/operations.js +143 -0
- package/dist/esm/api/roles/operations.js.map +1 -0
- package/dist/esm/api/roles/options.d.ts +18 -0
- package/dist/esm/api/roles/options.js +4 -0
- package/dist/esm/api/roles/options.js.map +1 -0
- package/dist/esm/api/servers/index.d.ts +3 -0
- package/dist/esm/api/servers/index.js +4 -0
- package/dist/esm/api/servers/index.js.map +1 -0
- package/dist/esm/api/servers/operations.d.ts +14 -0
- package/dist/esm/api/servers/operations.js +71 -0
- package/dist/esm/api/servers/operations.js.map +1 -0
- package/dist/esm/api/servers/options.d.ts +8 -0
- package/dist/esm/api/servers/options.js +4 -0
- package/dist/esm/api/servers/options.js.map +1 -0
- package/dist/esm/classic/clusters/index.d.ts +61 -0
- package/dist/esm/classic/clusters/index.js +81 -0
- package/dist/esm/classic/clusters/index.js.map +1 -0
- package/dist/esm/classic/configurations/index.d.ts +33 -0
- package/dist/esm/classic/configurations/index.js +37 -0
- package/dist/esm/classic/configurations/index.js.map +1 -0
- package/dist/esm/classic/firewallRules/index.d.ts +27 -0
- package/dist/esm/classic/firewallRules/index.js +34 -0
- package/dist/esm/classic/firewallRules/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +9 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -0
- package/dist/esm/classic/operations/index.js +14 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/privateEndpointConnections/index.d.ts +27 -0
- package/dist/esm/classic/privateEndpointConnections/index.js +34 -0
- package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -0
- package/dist/esm/classic/privateLinkResources/index.d.ts +13 -0
- package/dist/esm/classic/privateLinkResources/index.js +15 -0
- package/dist/esm/classic/privateLinkResources/index.js.map +1 -0
- package/dist/esm/classic/roles/index.d.ts +27 -0
- package/dist/esm/classic/roles/index.js +34 -0
- package/dist/esm/classic/roles/index.js.map +1 -0
- package/dist/esm/classic/servers/index.d.ts +13 -0
- package/dist/esm/classic/servers/index.js +15 -0
- package/dist/esm/classic/servers/index.js.map +1 -0
- package/dist/esm/cosmosDBForPostgreSQL.d.ts +34 -25
- package/dist/esm/cosmosDBForPostgreSQL.js +46 -113
- package/dist/esm/cosmosDBForPostgreSQL.js.map +1 -1
- package/dist/esm/index.d.ts +22 -3
- package/dist/esm/index.js +7 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -1213
- package/dist/esm/models/index.js +3 -117
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +1151 -0
- package/dist/esm/models/models.js +1242 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +118 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/esm/static-helpers/pollingHelpers.js +95 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +230 -95
- package/CHANGELOG.md +0 -39
- package/dist/browser/cosmosDBForPostgreSQL.d.ts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/lroImpl.d.ts +0 -11
- package/dist/browser/lroImpl.d.ts.map +0 -1
- package/dist/browser/lroImpl.js +0 -18
- package/dist/browser/lroImpl.js.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/mappers.d.ts +0 -57
- package/dist/browser/models/mappers.d.ts.map +0 -1
- package/dist/browser/models/mappers.js +0 -1889
- package/dist/browser/models/mappers.js.map +0 -1
- package/dist/browser/models/parameters.d.ts +0 -24
- package/dist/browser/models/parameters.d.ts.map +0 -1
- package/dist/browser/models/parameters.js +0 -217
- package/dist/browser/models/parameters.js.map +0 -1
- package/dist/browser/operations/clusters.d.ts +0 -174
- package/dist/browser/operations/clusters.d.ts.map +0 -1
- package/dist/browser/operations/clusters.js +0 -880
- package/dist/browser/operations/clusters.js.map +0 -1
- package/dist/browser/operations/configurations.d.ts +0 -126
- package/dist/browser/operations/configurations.d.ts.map +0 -1
- package/dist/browser/operations/configurations.js +0 -543
- package/dist/browser/operations/configurations.js.map +0 -1
- package/dist/browser/operations/firewallRules.d.ts +0 -73
- package/dist/browser/operations/firewallRules.d.ts.map +0 -1
- package/dist/browser/operations/firewallRules.js +0 -312
- package/dist/browser/operations/firewallRules.js.map +0 -1
- package/dist/browser/operations/index.d.ts +0 -9
- package/dist/browser/operations/index.d.ts.map +0 -1
- package/dist/browser/operations/index.js +0 -16
- package/dist/browser/operations/index.js.map +0 -1
- package/dist/browser/operations/operations.d.ts +0 -26
- package/dist/browser/operations/operations.d.ts.map +0 -1
- package/dist/browser/operations/operations.js +0 -79
- package/dist/browser/operations/operations.js.map +0 -1
- package/dist/browser/operations/privateEndpointConnections.d.ts +0 -78
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist/browser/operations/privateEndpointConnections.js +0 -327
- package/dist/browser/operations/privateEndpointConnections.js.map +0 -1
- package/dist/browser/operations/privateLinkResources.d.ts +0 -38
- package/dist/browser/operations/privateLinkResources.d.ts.map +0 -1
- package/dist/browser/operations/privateLinkResources.js +0 -120
- package/dist/browser/operations/privateLinkResources.js.map +0 -1
- package/dist/browser/operations/roles.d.ts +0 -73
- package/dist/browser/operations/roles.d.ts.map +0 -1
- package/dist/browser/operations/roles.js +0 -306
- package/dist/browser/operations/roles.js.map +0 -1
- package/dist/browser/operations/servers.d.ts +0 -38
- package/dist/browser/operations/servers.d.ts.map +0 -1
- package/dist/browser/operations/servers.js +0 -120
- package/dist/browser/operations/servers.js.map +0 -1
- package/dist/browser/operationsInterfaces/clusters.d.ts +0 -138
- package/dist/browser/operationsInterfaces/clusters.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/clusters.js +0 -9
- package/dist/browser/operationsInterfaces/clusters.js.map +0 -1
- package/dist/browser/operationsInterfaces/configurations.d.ts +0 -82
- package/dist/browser/operationsInterfaces/configurations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/configurations.js +0 -9
- package/dist/browser/operationsInterfaces/configurations.js.map +0 -1
- package/dist/browser/operationsInterfaces/firewallRules.d.ts +0 -56
- package/dist/browser/operationsInterfaces/firewallRules.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/firewallRules.js +0 -9
- package/dist/browser/operationsInterfaces/firewallRules.js.map +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -9
- package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/index.js +0 -16
- package/dist/browser/operationsInterfaces/index.js.map +0 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
- package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/operations.js +0 -9
- package/dist/browser/operationsInterfaces/operations.js.map +0 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +0 -61
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js +0 -9
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +0 -21
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.js +0 -9
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist/browser/operationsInterfaces/roles.d.ts +0 -56
- package/dist/browser/operationsInterfaces/roles.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/roles.js +0 -9
- package/dist/browser/operationsInterfaces/roles.js.map +0 -1
- package/dist/browser/operationsInterfaces/servers.d.ts +0 -21
- package/dist/browser/operationsInterfaces/servers.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/servers.js +0 -9
- package/dist/browser/operationsInterfaces/servers.js.map +0 -1
- package/dist/browser/pagingHelper.d.ts +0 -13
- package/dist/browser/pagingHelper.d.ts.map +0 -1
- package/dist/browser/pagingHelper.js +0 -30
- package/dist/browser/pagingHelper.js.map +0 -1
- package/dist/commonjs/cosmosDBForPostgreSQL.d.ts.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/lroImpl.d.ts +0 -11
- package/dist/commonjs/lroImpl.d.ts.map +0 -1
- package/dist/commonjs/lroImpl.js +0 -21
- package/dist/commonjs/lroImpl.js.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.d.ts +0 -57
- package/dist/commonjs/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.js +0 -1893
- package/dist/commonjs/models/mappers.js.map +0 -1
- package/dist/commonjs/models/parameters.d.ts +0 -24
- package/dist/commonjs/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/models/parameters.js +0 -220
- package/dist/commonjs/models/parameters.js.map +0 -1
- package/dist/commonjs/operations/clusters.d.ts +0 -174
- package/dist/commonjs/operations/clusters.d.ts.map +0 -1
- package/dist/commonjs/operations/clusters.js +0 -885
- package/dist/commonjs/operations/clusters.js.map +0 -1
- package/dist/commonjs/operations/configurations.d.ts +0 -126
- package/dist/commonjs/operations/configurations.d.ts.map +0 -1
- package/dist/commonjs/operations/configurations.js +0 -548
- package/dist/commonjs/operations/configurations.js.map +0 -1
- package/dist/commonjs/operations/firewallRules.d.ts +0 -73
- package/dist/commonjs/operations/firewallRules.d.ts.map +0 -1
- package/dist/commonjs/operations/firewallRules.js +0 -317
- package/dist/commonjs/operations/firewallRules.js.map +0 -1
- package/dist/commonjs/operations/index.d.ts +0 -9
- package/dist/commonjs/operations/index.d.ts.map +0 -1
- package/dist/commonjs/operations/index.js +0 -19
- package/dist/commonjs/operations/index.js.map +0 -1
- package/dist/commonjs/operations/operations.d.ts +0 -26
- package/dist/commonjs/operations/operations.d.ts.map +0 -1
- package/dist/commonjs/operations/operations.js +0 -84
- package/dist/commonjs/operations/operations.js.map +0 -1
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +0 -78
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +0 -332
- package/dist/commonjs/operations/privateEndpointConnections.js.map +0 -1
- package/dist/commonjs/operations/privateLinkResources.d.ts +0 -38
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +0 -1
- package/dist/commonjs/operations/privateLinkResources.js +0 -125
- package/dist/commonjs/operations/privateLinkResources.js.map +0 -1
- package/dist/commonjs/operations/roles.d.ts +0 -73
- package/dist/commonjs/operations/roles.d.ts.map +0 -1
- package/dist/commonjs/operations/roles.js +0 -311
- package/dist/commonjs/operations/roles.js.map +0 -1
- package/dist/commonjs/operations/servers.d.ts +0 -38
- package/dist/commonjs/operations/servers.d.ts.map +0 -1
- package/dist/commonjs/operations/servers.js +0 -125
- package/dist/commonjs/operations/servers.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/clusters.d.ts +0 -138
- package/dist/commonjs/operationsInterfaces/clusters.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/clusters.js +0 -10
- package/dist/commonjs/operationsInterfaces/clusters.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/configurations.d.ts +0 -82
- package/dist/commonjs/operationsInterfaces/configurations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/configurations.js +0 -10
- package/dist/commonjs/operationsInterfaces/configurations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/firewallRules.d.ts +0 -56
- package/dist/commonjs/operationsInterfaces/firewallRules.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/firewallRules.js +0 -10
- package/dist/commonjs/operationsInterfaces/firewallRules.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -9
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -19
- package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.js +0 -10
- package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +0 -61
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +0 -10
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +0 -21
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +0 -10
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/roles.d.ts +0 -56
- package/dist/commonjs/operationsInterfaces/roles.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/roles.js +0 -10
- package/dist/commonjs/operationsInterfaces/roles.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/servers.d.ts +0 -21
- package/dist/commonjs/operationsInterfaces/servers.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/servers.js +0 -10
- package/dist/commonjs/operationsInterfaces/servers.js.map +0 -1
- package/dist/commonjs/pagingHelper.d.ts +0 -13
- package/dist/commonjs/pagingHelper.d.ts.map +0 -1
- package/dist/commonjs/pagingHelper.js +0 -34
- package/dist/commonjs/pagingHelper.js.map +0 -1
- package/dist/esm/cosmosDBForPostgreSQL.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/lroImpl.d.ts +0 -11
- package/dist/esm/lroImpl.d.ts.map +0 -1
- package/dist/esm/lroImpl.js +0 -18
- package/dist/esm/lroImpl.js.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/mappers.d.ts +0 -57
- package/dist/esm/models/mappers.d.ts.map +0 -1
- package/dist/esm/models/mappers.js +0 -1889
- package/dist/esm/models/mappers.js.map +0 -1
- package/dist/esm/models/parameters.d.ts +0 -24
- package/dist/esm/models/parameters.d.ts.map +0 -1
- package/dist/esm/models/parameters.js +0 -217
- package/dist/esm/models/parameters.js.map +0 -1
- package/dist/esm/operations/clusters.d.ts +0 -174
- package/dist/esm/operations/clusters.d.ts.map +0 -1
- package/dist/esm/operations/clusters.js +0 -880
- package/dist/esm/operations/clusters.js.map +0 -1
- package/dist/esm/operations/configurations.d.ts +0 -126
- package/dist/esm/operations/configurations.d.ts.map +0 -1
- package/dist/esm/operations/configurations.js +0 -543
- package/dist/esm/operations/configurations.js.map +0 -1
- package/dist/esm/operations/firewallRules.d.ts +0 -73
- package/dist/esm/operations/firewallRules.d.ts.map +0 -1
- package/dist/esm/operations/firewallRules.js +0 -312
- package/dist/esm/operations/firewallRules.js.map +0 -1
- package/dist/esm/operations/index.d.ts +0 -9
- package/dist/esm/operations/index.d.ts.map +0 -1
- package/dist/esm/operations/index.js +0 -16
- package/dist/esm/operations/index.js.map +0 -1
- package/dist/esm/operations/operations.d.ts +0 -26
- package/dist/esm/operations/operations.d.ts.map +0 -1
- package/dist/esm/operations/operations.js +0 -79
- package/dist/esm/operations/operations.js.map +0 -1
- package/dist/esm/operations/privateEndpointConnections.d.ts +0 -78
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist/esm/operations/privateEndpointConnections.js +0 -327
- package/dist/esm/operations/privateEndpointConnections.js.map +0 -1
- package/dist/esm/operations/privateLinkResources.d.ts +0 -38
- package/dist/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/dist/esm/operations/privateLinkResources.js +0 -120
- package/dist/esm/operations/privateLinkResources.js.map +0 -1
- package/dist/esm/operations/roles.d.ts +0 -73
- package/dist/esm/operations/roles.d.ts.map +0 -1
- package/dist/esm/operations/roles.js +0 -306
- package/dist/esm/operations/roles.js.map +0 -1
- package/dist/esm/operations/servers.d.ts +0 -38
- package/dist/esm/operations/servers.d.ts.map +0 -1
- package/dist/esm/operations/servers.js +0 -120
- package/dist/esm/operations/servers.js.map +0 -1
- package/dist/esm/operationsInterfaces/clusters.d.ts +0 -138
- package/dist/esm/operationsInterfaces/clusters.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/clusters.js +0 -9
- package/dist/esm/operationsInterfaces/clusters.js.map +0 -1
- package/dist/esm/operationsInterfaces/configurations.d.ts +0 -82
- package/dist/esm/operationsInterfaces/configurations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/configurations.js +0 -9
- package/dist/esm/operationsInterfaces/configurations.js.map +0 -1
- package/dist/esm/operationsInterfaces/firewallRules.d.ts +0 -56
- package/dist/esm/operationsInterfaces/firewallRules.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/firewallRules.js +0 -9
- package/dist/esm/operationsInterfaces/firewallRules.js.map +0 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -9
- package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/index.js +0 -16
- package/dist/esm/operationsInterfaces/index.js.map +0 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
- package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/operations.js +0 -9
- package/dist/esm/operationsInterfaces/operations.js.map +0 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +0 -61
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +0 -9
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +0 -21
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.js +0 -9
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist/esm/operationsInterfaces/roles.d.ts +0 -56
- package/dist/esm/operationsInterfaces/roles.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/roles.js +0 -9
- package/dist/esm/operationsInterfaces/roles.js.map +0 -1
- package/dist/esm/operationsInterfaces/servers.d.ts +0 -21
- package/dist/esm/operationsInterfaces/servers.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/servers.js +0 -9
- package/dist/esm/operationsInterfaces/servers.js.map +0 -1
- package/dist/esm/pagingHelper.d.ts +0 -13
- package/dist/esm/pagingHelper.d.ts.map +0 -1
- package/dist/esm/pagingHelper.js +0 -30
- package/dist/esm/pagingHelper.js.map +0 -1
- package/dist/react-native/cosmosDBForPostgreSQL.d.ts +0 -27
- package/dist/react-native/cosmosDBForPostgreSQL.d.ts.map +0 -1
- package/dist/react-native/cosmosDBForPostgreSQL.js +0 -120
- package/dist/react-native/cosmosDBForPostgreSQL.js.map +0 -1
- package/dist/react-native/index.d.ts +0 -5
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/index.js +0 -13
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/lroImpl.d.ts +0 -11
- package/dist/react-native/lroImpl.d.ts.map +0 -1
- package/dist/react-native/lroImpl.js +0 -18
- package/dist/react-native/lroImpl.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -1214
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/index.js +0 -118
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/mappers.d.ts +0 -57
- package/dist/react-native/models/mappers.d.ts.map +0 -1
- package/dist/react-native/models/mappers.js +0 -1889
- package/dist/react-native/models/mappers.js.map +0 -1
- package/dist/react-native/models/parameters.d.ts +0 -24
- package/dist/react-native/models/parameters.d.ts.map +0 -1
- package/dist/react-native/models/parameters.js +0 -217
- package/dist/react-native/models/parameters.js.map +0 -1
- package/dist/react-native/operations/clusters.d.ts +0 -174
- package/dist/react-native/operations/clusters.d.ts.map +0 -1
- package/dist/react-native/operations/clusters.js +0 -880
- package/dist/react-native/operations/clusters.js.map +0 -1
- package/dist/react-native/operations/configurations.d.ts +0 -126
- package/dist/react-native/operations/configurations.d.ts.map +0 -1
- package/dist/react-native/operations/configurations.js +0 -543
- package/dist/react-native/operations/configurations.js.map +0 -1
- package/dist/react-native/operations/firewallRules.d.ts +0 -73
- package/dist/react-native/operations/firewallRules.d.ts.map +0 -1
- package/dist/react-native/operations/firewallRules.js +0 -312
- package/dist/react-native/operations/firewallRules.js.map +0 -1
- package/dist/react-native/operations/index.d.ts +0 -9
- package/dist/react-native/operations/index.d.ts.map +0 -1
- package/dist/react-native/operations/index.js +0 -16
- package/dist/react-native/operations/index.js.map +0 -1
- package/dist/react-native/operations/operations.d.ts +0 -26
- package/dist/react-native/operations/operations.d.ts.map +0 -1
- package/dist/react-native/operations/operations.js +0 -79
- package/dist/react-native/operations/operations.js.map +0 -1
- package/dist/react-native/operations/privateEndpointConnections.d.ts +0 -78
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist/react-native/operations/privateEndpointConnections.js +0 -327
- package/dist/react-native/operations/privateEndpointConnections.js.map +0 -1
- package/dist/react-native/operations/privateLinkResources.d.ts +0 -38
- package/dist/react-native/operations/privateLinkResources.d.ts.map +0 -1
- package/dist/react-native/operations/privateLinkResources.js +0 -120
- package/dist/react-native/operations/privateLinkResources.js.map +0 -1
- package/dist/react-native/operations/roles.d.ts +0 -73
- package/dist/react-native/operations/roles.d.ts.map +0 -1
- package/dist/react-native/operations/roles.js +0 -306
- package/dist/react-native/operations/roles.js.map +0 -1
- package/dist/react-native/operations/servers.d.ts +0 -38
- package/dist/react-native/operations/servers.d.ts.map +0 -1
- package/dist/react-native/operations/servers.js +0 -120
- package/dist/react-native/operations/servers.js.map +0 -1
- package/dist/react-native/operationsInterfaces/clusters.d.ts +0 -138
- package/dist/react-native/operationsInterfaces/clusters.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/clusters.js +0 -9
- package/dist/react-native/operationsInterfaces/clusters.js.map +0 -1
- package/dist/react-native/operationsInterfaces/configurations.d.ts +0 -82
- package/dist/react-native/operationsInterfaces/configurations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/configurations.js +0 -9
- package/dist/react-native/operationsInterfaces/configurations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/firewallRules.d.ts +0 -56
- package/dist/react-native/operationsInterfaces/firewallRules.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/firewallRules.js +0 -9
- package/dist/react-native/operationsInterfaces/firewallRules.js.map +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -9
- package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -16
- package/dist/react-native/operationsInterfaces/index.js.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.js +0 -9
- package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +0 -61
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +0 -9
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +0 -21
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +0 -9
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist/react-native/operationsInterfaces/roles.d.ts +0 -56
- package/dist/react-native/operationsInterfaces/roles.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/roles.js +0 -9
- package/dist/react-native/operationsInterfaces/roles.js.map +0 -1
- package/dist/react-native/operationsInterfaces/servers.d.ts +0 -21
- package/dist/react-native/operationsInterfaces/servers.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/servers.js +0 -9
- package/dist/react-native/operationsInterfaces/servers.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/dist/react-native/pagingHelper.d.ts +0 -13
- package/dist/react-native/pagingHelper.d.ts.map +0 -1
- package/dist/react-native/pagingHelper.js +0 -30
- package/dist/react-native/pagingHelper.js.map +0 -1
- package/review/arm-cosmosdbforpostgresql-node.api.md +0 -1004
|
@@ -0,0 +1,1242 @@
|
|
|
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 _operationListResultDeserializer(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
|
+
isDataAction: item["isDataAction"],
|
|
19
|
+
display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
|
|
20
|
+
origin: item["origin"],
|
|
21
|
+
actionType: item["actionType"],
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export function operationDisplayDeserializer(item) {
|
|
25
|
+
return {
|
|
26
|
+
provider: item["provider"],
|
|
27
|
+
resource: item["resource"],
|
|
28
|
+
operation: item["operation"],
|
|
29
|
+
description: item["description"],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
33
|
+
export var KnownOrigin;
|
|
34
|
+
(function (KnownOrigin) {
|
|
35
|
+
/** Indicates the operation is initiated by a user. */
|
|
36
|
+
KnownOrigin["User"] = "user";
|
|
37
|
+
/** Indicates the operation is initiated by a system. */
|
|
38
|
+
KnownOrigin["System"] = "system";
|
|
39
|
+
/** Indicates the operation is initiated by a user or system. */
|
|
40
|
+
KnownOrigin["UserSystem"] = "user,system";
|
|
41
|
+
})(KnownOrigin || (KnownOrigin = {}));
|
|
42
|
+
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
43
|
+
export var KnownActionType;
|
|
44
|
+
(function (KnownActionType) {
|
|
45
|
+
/** Actions are for internal-only APIs. */
|
|
46
|
+
KnownActionType["Internal"] = "Internal";
|
|
47
|
+
})(KnownActionType || (KnownActionType = {}));
|
|
48
|
+
export function errorResponseDeserializer(item) {
|
|
49
|
+
return {
|
|
50
|
+
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export function errorDetailDeserializer(item) {
|
|
54
|
+
return {
|
|
55
|
+
code: item["code"],
|
|
56
|
+
message: item["message"],
|
|
57
|
+
target: item["target"],
|
|
58
|
+
details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
|
|
59
|
+
additionalInfo: !item["additionalInfo"]
|
|
60
|
+
? item["additionalInfo"]
|
|
61
|
+
: errorAdditionalInfoArrayDeserializer(item["additionalInfo"]),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
export function errorDetailArrayDeserializer(result) {
|
|
65
|
+
return result.map((item) => {
|
|
66
|
+
return errorDetailDeserializer(item);
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
export function errorAdditionalInfoArrayDeserializer(result) {
|
|
70
|
+
return result.map((item) => {
|
|
71
|
+
return errorAdditionalInfoDeserializer(item);
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
export function errorAdditionalInfoDeserializer(item) {
|
|
75
|
+
return {
|
|
76
|
+
type: item["type"],
|
|
77
|
+
info: item["info"],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
export function clusterSerializer(item) {
|
|
81
|
+
return {
|
|
82
|
+
tags: item["tags"],
|
|
83
|
+
location: item["location"],
|
|
84
|
+
properties: areAllPropsUndefined(item, [
|
|
85
|
+
"administratorLoginPassword",
|
|
86
|
+
"dataEncryption",
|
|
87
|
+
"postgresqlVersion",
|
|
88
|
+
"citusVersion",
|
|
89
|
+
"maintenanceWindow",
|
|
90
|
+
"preferredPrimaryZone",
|
|
91
|
+
"enableShardsOnCoordinator",
|
|
92
|
+
"enableHa",
|
|
93
|
+
"coordinatorServerEdition",
|
|
94
|
+
"coordinatorStorageQuotaInMb",
|
|
95
|
+
"coordinatorVCores",
|
|
96
|
+
"coordinatorEnablePublicIpAccess",
|
|
97
|
+
"nodeServerEdition",
|
|
98
|
+
"nodeCount",
|
|
99
|
+
"nodeStorageQuotaInMb",
|
|
100
|
+
"nodeVCores",
|
|
101
|
+
"nodeEnablePublicIpAccess",
|
|
102
|
+
"sourceResourceId",
|
|
103
|
+
"sourceLocation",
|
|
104
|
+
"pointInTimeUTC",
|
|
105
|
+
"databaseName",
|
|
106
|
+
"enableGeoBackup",
|
|
107
|
+
"authConfig",
|
|
108
|
+
])
|
|
109
|
+
? undefined
|
|
110
|
+
: _clusterPropertiesSerializer(item),
|
|
111
|
+
identity: !item["identity"] ? item["identity"] : identityPropertiesSerializer(item["identity"]),
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
export function clusterDeserializer(item) {
|
|
115
|
+
return {
|
|
116
|
+
tags: !item["tags"]
|
|
117
|
+
? item["tags"]
|
|
118
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
119
|
+
location: item["location"],
|
|
120
|
+
id: item["id"],
|
|
121
|
+
name: item["name"],
|
|
122
|
+
type: item["type"],
|
|
123
|
+
systemData: !item["systemData"]
|
|
124
|
+
? item["systemData"]
|
|
125
|
+
: systemDataDeserializer(item["systemData"]),
|
|
126
|
+
...(!item["properties"]
|
|
127
|
+
? item["properties"]
|
|
128
|
+
: _clusterPropertiesDeserializer(item["properties"])),
|
|
129
|
+
identity: !item["identity"]
|
|
130
|
+
? item["identity"]
|
|
131
|
+
: identityPropertiesDeserializer(item["identity"]),
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
export function clusterPropertiesSerializer(item) {
|
|
135
|
+
return {
|
|
136
|
+
administratorLoginPassword: item["administratorLoginPassword"],
|
|
137
|
+
dataEncryption: !item["dataEncryption"]
|
|
138
|
+
? item["dataEncryption"]
|
|
139
|
+
: dataEncryptionSerializer(item["dataEncryption"]),
|
|
140
|
+
postgresqlVersion: item["postgresqlVersion"],
|
|
141
|
+
citusVersion: item["citusVersion"],
|
|
142
|
+
maintenanceWindow: !item["maintenanceWindow"]
|
|
143
|
+
? item["maintenanceWindow"]
|
|
144
|
+
: maintenanceWindowSerializer(item["maintenanceWindow"]),
|
|
145
|
+
preferredPrimaryZone: item["preferredPrimaryZone"],
|
|
146
|
+
enableShardsOnCoordinator: item["enableShardsOnCoordinator"],
|
|
147
|
+
enableHa: item["enableHa"],
|
|
148
|
+
coordinatorServerEdition: item["coordinatorServerEdition"],
|
|
149
|
+
coordinatorStorageQuotaInMb: item["coordinatorStorageQuotaInMb"],
|
|
150
|
+
coordinatorVCores: item["coordinatorVCores"],
|
|
151
|
+
coordinatorEnablePublicIpAccess: item["coordinatorEnablePublicIpAccess"],
|
|
152
|
+
nodeServerEdition: item["nodeServerEdition"],
|
|
153
|
+
nodeCount: item["nodeCount"],
|
|
154
|
+
nodeStorageQuotaInMb: item["nodeStorageQuotaInMb"],
|
|
155
|
+
nodeVCores: item["nodeVCores"],
|
|
156
|
+
nodeEnablePublicIpAccess: item["nodeEnablePublicIpAccess"],
|
|
157
|
+
sourceResourceId: item["sourceResourceId"],
|
|
158
|
+
sourceLocation: item["sourceLocation"],
|
|
159
|
+
pointInTimeUTC: !item["pointInTimeUTC"]
|
|
160
|
+
? item["pointInTimeUTC"]
|
|
161
|
+
: item["pointInTimeUTC"].toISOString(),
|
|
162
|
+
databaseName: item["databaseName"],
|
|
163
|
+
enableGeoBackup: item["enableGeoBackup"],
|
|
164
|
+
authConfig: !item["authConfig"] ? item["authConfig"] : authConfigSerializer(item["authConfig"]),
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
export function clusterPropertiesDeserializer(item) {
|
|
168
|
+
return {
|
|
169
|
+
aadAuthEnabled: item["aadAuthEnabled"],
|
|
170
|
+
administratorLogin: item["administratorLogin"],
|
|
171
|
+
administratorLoginPassword: item["administratorLoginPassword"],
|
|
172
|
+
dataEncryption: !item["dataEncryption"]
|
|
173
|
+
? item["dataEncryption"]
|
|
174
|
+
: dataEncryptionDeserializer(item["dataEncryption"]),
|
|
175
|
+
provisioningState: item["provisioningState"],
|
|
176
|
+
state: item["state"],
|
|
177
|
+
postgresqlVersion: item["postgresqlVersion"],
|
|
178
|
+
citusVersion: item["citusVersion"],
|
|
179
|
+
maintenanceWindow: !item["maintenanceWindow"]
|
|
180
|
+
? item["maintenanceWindow"]
|
|
181
|
+
: maintenanceWindowDeserializer(item["maintenanceWindow"]),
|
|
182
|
+
preferredPrimaryZone: item["preferredPrimaryZone"],
|
|
183
|
+
enableShardsOnCoordinator: item["enableShardsOnCoordinator"],
|
|
184
|
+
enableHa: item["enableHa"],
|
|
185
|
+
coordinatorServerEdition: item["coordinatorServerEdition"],
|
|
186
|
+
coordinatorStorageQuotaInMb: item["coordinatorStorageQuotaInMb"],
|
|
187
|
+
coordinatorVCores: item["coordinatorVCores"],
|
|
188
|
+
coordinatorEnablePublicIpAccess: item["coordinatorEnablePublicIpAccess"],
|
|
189
|
+
nodeServerEdition: item["nodeServerEdition"],
|
|
190
|
+
nodeCount: item["nodeCount"],
|
|
191
|
+
nodeStorageQuotaInMb: item["nodeStorageQuotaInMb"],
|
|
192
|
+
nodeVCores: item["nodeVCores"],
|
|
193
|
+
nodeEnablePublicIpAccess: item["nodeEnablePublicIpAccess"],
|
|
194
|
+
serverNames: !item["serverNames"]
|
|
195
|
+
? item["serverNames"]
|
|
196
|
+
: serverNameItemArrayDeserializer(item["serverNames"]),
|
|
197
|
+
sourceResourceId: item["sourceResourceId"],
|
|
198
|
+
sourceLocation: item["sourceLocation"],
|
|
199
|
+
passwordEnabled: item["passwordEnabled"],
|
|
200
|
+
pointInTimeUTC: !item["pointInTimeUTC"]
|
|
201
|
+
? item["pointInTimeUTC"]
|
|
202
|
+
: new Date(item["pointInTimeUTC"]),
|
|
203
|
+
readReplicas: !item["readReplicas"]
|
|
204
|
+
? item["readReplicas"]
|
|
205
|
+
: item["readReplicas"].map((p) => {
|
|
206
|
+
return p;
|
|
207
|
+
}),
|
|
208
|
+
earliestRestoreTime: !item["earliestRestoreTime"]
|
|
209
|
+
? item["earliestRestoreTime"]
|
|
210
|
+
: new Date(item["earliestRestoreTime"]),
|
|
211
|
+
privateEndpointConnections: !item["privateEndpointConnections"]
|
|
212
|
+
? item["privateEndpointConnections"]
|
|
213
|
+
: simplePrivateEndpointConnectionArrayDeserializer(item["privateEndpointConnections"]),
|
|
214
|
+
databaseName: item["databaseName"],
|
|
215
|
+
enableGeoBackup: item["enableGeoBackup"],
|
|
216
|
+
authConfig: !item["authConfig"]
|
|
217
|
+
? item["authConfig"]
|
|
218
|
+
: authConfigDeserializer(item["authConfig"]),
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
/** Indicates whether the cluster was created using AAD authentication. */
|
|
222
|
+
export var KnownAadEnabledEnum;
|
|
223
|
+
(function (KnownAadEnabledEnum) {
|
|
224
|
+
/** enabled */
|
|
225
|
+
KnownAadEnabledEnum["Enabled"] = "enabled";
|
|
226
|
+
/** disabled */
|
|
227
|
+
KnownAadEnabledEnum["Disabled"] = "disabled";
|
|
228
|
+
})(KnownAadEnabledEnum || (KnownAadEnabledEnum = {}));
|
|
229
|
+
export function dataEncryptionSerializer(item) {
|
|
230
|
+
return {
|
|
231
|
+
primaryKeyUri: item["primaryKeyUri"],
|
|
232
|
+
primaryUserAssignedIdentityId: item["primaryUserAssignedIdentityId"],
|
|
233
|
+
type: item["type"],
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
export function dataEncryptionDeserializer(item) {
|
|
237
|
+
return {
|
|
238
|
+
primaryKeyUri: item["primaryKeyUri"],
|
|
239
|
+
primaryUserAssignedIdentityId: item["primaryUserAssignedIdentityId"],
|
|
240
|
+
type: item["type"],
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
/** Known values of {@link DataEncryptionType} that the service accepts. */
|
|
244
|
+
export var KnownDataEncryptionType;
|
|
245
|
+
(function (KnownDataEncryptionType) {
|
|
246
|
+
/** AzureKeyVault */
|
|
247
|
+
KnownDataEncryptionType["AzureKeyVault"] = "AzureKeyVault";
|
|
248
|
+
/** SystemAssigned */
|
|
249
|
+
KnownDataEncryptionType["SystemAssigned"] = "SystemAssigned";
|
|
250
|
+
})(KnownDataEncryptionType || (KnownDataEncryptionType = {}));
|
|
251
|
+
export function maintenanceWindowSerializer(item) {
|
|
252
|
+
return {
|
|
253
|
+
customWindow: item["customWindow"],
|
|
254
|
+
startHour: item["startHour"],
|
|
255
|
+
startMinute: item["startMinute"],
|
|
256
|
+
dayOfWeek: item["dayOfWeek"],
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
export function maintenanceWindowDeserializer(item) {
|
|
260
|
+
return {
|
|
261
|
+
customWindow: item["customWindow"],
|
|
262
|
+
startHour: item["startHour"],
|
|
263
|
+
startMinute: item["startMinute"],
|
|
264
|
+
dayOfWeek: item["dayOfWeek"],
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
export function serverNameItemArrayDeserializer(result) {
|
|
268
|
+
return result.map((item) => {
|
|
269
|
+
return serverNameItemDeserializer(item);
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
export function serverNameItemDeserializer(item) {
|
|
273
|
+
return {
|
|
274
|
+
name: item["name"],
|
|
275
|
+
fullyQualifiedDomainName: item["fullyQualifiedDomainName"],
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
/** Indicates whether the cluster was created with a password or using AAD authentication. */
|
|
279
|
+
export var KnownPasswordEnabledEnum;
|
|
280
|
+
(function (KnownPasswordEnabledEnum) {
|
|
281
|
+
/** enabled */
|
|
282
|
+
KnownPasswordEnabledEnum["Enabled"] = "enabled";
|
|
283
|
+
/** disabled */
|
|
284
|
+
KnownPasswordEnabledEnum["Disabled"] = "disabled";
|
|
285
|
+
})(KnownPasswordEnabledEnum || (KnownPasswordEnabledEnum = {}));
|
|
286
|
+
export function simplePrivateEndpointConnectionArrayDeserializer(result) {
|
|
287
|
+
return result.map((item) => {
|
|
288
|
+
return simplePrivateEndpointConnectionDeserializer(item);
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
export function simplePrivateEndpointConnectionDeserializer(item) {
|
|
292
|
+
return {
|
|
293
|
+
id: item["id"],
|
|
294
|
+
name: item["name"],
|
|
295
|
+
type: item["type"],
|
|
296
|
+
systemData: !item["systemData"]
|
|
297
|
+
? item["systemData"]
|
|
298
|
+
: systemDataDeserializer(item["systemData"]),
|
|
299
|
+
...(!item["properties"]
|
|
300
|
+
? item["properties"]
|
|
301
|
+
: _simplePrivateEndpointConnectionPropertiesDeserializer(item["properties"])),
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
export function privateEndpointConnectionSimplePropertiesDeserializer(item) {
|
|
305
|
+
return {
|
|
306
|
+
privateEndpoint: !item["privateEndpoint"]
|
|
307
|
+
? item["privateEndpoint"]
|
|
308
|
+
: privateEndpointPropertyDeserializer(item["privateEndpoint"]),
|
|
309
|
+
groupIds: !item["groupIds"]
|
|
310
|
+
? item["groupIds"]
|
|
311
|
+
: item["groupIds"].map((p) => {
|
|
312
|
+
return p;
|
|
313
|
+
}),
|
|
314
|
+
privateLinkServiceConnectionState: !item["privateLinkServiceConnectionState"]
|
|
315
|
+
? item["privateLinkServiceConnectionState"]
|
|
316
|
+
: privateLinkServiceConnectionStateDeserializer(item["privateLinkServiceConnectionState"]),
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
export function privateEndpointPropertyDeserializer(item) {
|
|
320
|
+
return {
|
|
321
|
+
id: item["id"],
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
export function privateLinkServiceConnectionStateSerializer(item) {
|
|
325
|
+
return {
|
|
326
|
+
status: item["status"],
|
|
327
|
+
description: item["description"],
|
|
328
|
+
actionsRequired: item["actionsRequired"],
|
|
329
|
+
};
|
|
330
|
+
}
|
|
331
|
+
export function privateLinkServiceConnectionStateDeserializer(item) {
|
|
332
|
+
return {
|
|
333
|
+
status: item["status"],
|
|
334
|
+
description: item["description"],
|
|
335
|
+
actionsRequired: item["actionsRequired"],
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
/** The private endpoint connection status. */
|
|
339
|
+
export var KnownPrivateEndpointServiceConnectionStatus;
|
|
340
|
+
(function (KnownPrivateEndpointServiceConnectionStatus) {
|
|
341
|
+
/** Connection waiting for approval or rejection */
|
|
342
|
+
KnownPrivateEndpointServiceConnectionStatus["Pending"] = "Pending";
|
|
343
|
+
/** Connection approved */
|
|
344
|
+
KnownPrivateEndpointServiceConnectionStatus["Approved"] = "Approved";
|
|
345
|
+
/** Connection Rejected */
|
|
346
|
+
KnownPrivateEndpointServiceConnectionStatus["Rejected"] = "Rejected";
|
|
347
|
+
})(KnownPrivateEndpointServiceConnectionStatus || (KnownPrivateEndpointServiceConnectionStatus = {}));
|
|
348
|
+
export function authConfigSerializer(item) {
|
|
349
|
+
return { activeDirectoryAuth: item["activeDirectoryAuth"], passwordAuth: item["passwordAuth"] };
|
|
350
|
+
}
|
|
351
|
+
export function authConfigDeserializer(item) {
|
|
352
|
+
return {
|
|
353
|
+
activeDirectoryAuth: item["activeDirectoryAuth"],
|
|
354
|
+
passwordAuth: item["passwordAuth"],
|
|
355
|
+
};
|
|
356
|
+
}
|
|
357
|
+
/** Known values of {@link ActiveDirectoryAuth} that the service accepts. */
|
|
358
|
+
export var KnownActiveDirectoryAuth;
|
|
359
|
+
(function (KnownActiveDirectoryAuth) {
|
|
360
|
+
/** enabled */
|
|
361
|
+
KnownActiveDirectoryAuth["Enabled"] = "enabled";
|
|
362
|
+
/** disabled */
|
|
363
|
+
KnownActiveDirectoryAuth["Disabled"] = "disabled";
|
|
364
|
+
})(KnownActiveDirectoryAuth || (KnownActiveDirectoryAuth = {}));
|
|
365
|
+
/** Known values of {@link PasswordAuth} that the service accepts. */
|
|
366
|
+
export var KnownPasswordAuth;
|
|
367
|
+
(function (KnownPasswordAuth) {
|
|
368
|
+
/** enabled */
|
|
369
|
+
KnownPasswordAuth["Enabled"] = "enabled";
|
|
370
|
+
/** disabled */
|
|
371
|
+
KnownPasswordAuth["Disabled"] = "disabled";
|
|
372
|
+
})(KnownPasswordAuth || (KnownPasswordAuth = {}));
|
|
373
|
+
export function identityPropertiesSerializer(item) {
|
|
374
|
+
return {
|
|
375
|
+
type: item["type"],
|
|
376
|
+
userAssignedIdentities: !item["userAssignedIdentities"]
|
|
377
|
+
? item["userAssignedIdentities"]
|
|
378
|
+
: userAssignedIdentityRecordSerializer(item["userAssignedIdentities"]),
|
|
379
|
+
};
|
|
380
|
+
}
|
|
381
|
+
export function identityPropertiesDeserializer(item) {
|
|
382
|
+
return {
|
|
383
|
+
type: item["type"],
|
|
384
|
+
userAssignedIdentities: !item["userAssignedIdentities"]
|
|
385
|
+
? item["userAssignedIdentities"]
|
|
386
|
+
: userAssignedIdentityRecordDeserializer(item["userAssignedIdentities"]),
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
/** Known values of {@link IdentityType} that the service accepts. */
|
|
390
|
+
export var KnownIdentityType;
|
|
391
|
+
(function (KnownIdentityType) {
|
|
392
|
+
/** UserAssigned */
|
|
393
|
+
KnownIdentityType["UserAssigned"] = "UserAssigned";
|
|
394
|
+
/** SystemAssigned */
|
|
395
|
+
KnownIdentityType["SystemAssigned"] = "SystemAssigned";
|
|
396
|
+
})(KnownIdentityType || (KnownIdentityType = {}));
|
|
397
|
+
export function userAssignedIdentityRecordSerializer(item) {
|
|
398
|
+
const result = {};
|
|
399
|
+
Object.keys(item).map((key) => {
|
|
400
|
+
result[key] = !item[key] ? item[key] : userAssignedIdentitySerializer(item[key]);
|
|
401
|
+
});
|
|
402
|
+
return result;
|
|
403
|
+
}
|
|
404
|
+
export function userAssignedIdentityRecordDeserializer(item) {
|
|
405
|
+
const result = {};
|
|
406
|
+
Object.keys(item).map((key) => {
|
|
407
|
+
result[key] = !item[key] ? item[key] : userAssignedIdentityDeserializer(item[key]);
|
|
408
|
+
});
|
|
409
|
+
return result;
|
|
410
|
+
}
|
|
411
|
+
export function userAssignedIdentitySerializer(_item) {
|
|
412
|
+
return {};
|
|
413
|
+
}
|
|
414
|
+
export function userAssignedIdentityDeserializer(item) {
|
|
415
|
+
return {
|
|
416
|
+
principalId: item["principalId"],
|
|
417
|
+
clientId: item["clientId"],
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
export function proxyResourceSerializer(_item) {
|
|
421
|
+
return {};
|
|
422
|
+
}
|
|
423
|
+
export function proxyResourceDeserializer(item) {
|
|
424
|
+
return {
|
|
425
|
+
id: item["id"],
|
|
426
|
+
name: item["name"],
|
|
427
|
+
type: item["type"],
|
|
428
|
+
systemData: !item["systemData"]
|
|
429
|
+
? item["systemData"]
|
|
430
|
+
: systemDataDeserializer(item["systemData"]),
|
|
431
|
+
};
|
|
432
|
+
}
|
|
433
|
+
export function resourceSerializer(_item) {
|
|
434
|
+
return {};
|
|
435
|
+
}
|
|
436
|
+
export function resourceDeserializer(item) {
|
|
437
|
+
return {
|
|
438
|
+
id: item["id"],
|
|
439
|
+
name: item["name"],
|
|
440
|
+
type: item["type"],
|
|
441
|
+
systemData: !item["systemData"]
|
|
442
|
+
? item["systemData"]
|
|
443
|
+
: systemDataDeserializer(item["systemData"]),
|
|
444
|
+
};
|
|
445
|
+
}
|
|
446
|
+
export function systemDataDeserializer(item) {
|
|
447
|
+
return {
|
|
448
|
+
createdBy: item["createdBy"],
|
|
449
|
+
createdByType: item["createdByType"],
|
|
450
|
+
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
451
|
+
lastModifiedBy: item["lastModifiedBy"],
|
|
452
|
+
lastModifiedByType: item["lastModifiedByType"],
|
|
453
|
+
lastModifiedAt: !item["lastModifiedAt"]
|
|
454
|
+
? item["lastModifiedAt"]
|
|
455
|
+
: new Date(item["lastModifiedAt"]),
|
|
456
|
+
};
|
|
457
|
+
}
|
|
458
|
+
/** The kind of entity that created the resource. */
|
|
459
|
+
export var KnownCreatedByType;
|
|
460
|
+
(function (KnownCreatedByType) {
|
|
461
|
+
/** The entity was created by a user. */
|
|
462
|
+
KnownCreatedByType["User"] = "User";
|
|
463
|
+
/** The entity was created by an application. */
|
|
464
|
+
KnownCreatedByType["Application"] = "Application";
|
|
465
|
+
/** The entity was created by a managed identity. */
|
|
466
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
467
|
+
/** The entity was created by a key. */
|
|
468
|
+
KnownCreatedByType["Key"] = "Key";
|
|
469
|
+
})(KnownCreatedByType || (KnownCreatedByType = {}));
|
|
470
|
+
export function trackedResourceSerializer(item) {
|
|
471
|
+
return { tags: item["tags"], location: item["location"] };
|
|
472
|
+
}
|
|
473
|
+
export function trackedResourceDeserializer(item) {
|
|
474
|
+
return {
|
|
475
|
+
id: item["id"],
|
|
476
|
+
name: item["name"],
|
|
477
|
+
type: item["type"],
|
|
478
|
+
systemData: !item["systemData"]
|
|
479
|
+
? item["systemData"]
|
|
480
|
+
: systemDataDeserializer(item["systemData"]),
|
|
481
|
+
tags: !item["tags"]
|
|
482
|
+
? item["tags"]
|
|
483
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
484
|
+
location: item["location"],
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
export function clusterForUpdateSerializer(item) {
|
|
488
|
+
return {
|
|
489
|
+
properties: areAllPropsUndefined(item, [
|
|
490
|
+
"administratorLoginPassword",
|
|
491
|
+
"postgresqlVersion",
|
|
492
|
+
"citusVersion",
|
|
493
|
+
"enableShardsOnCoordinator",
|
|
494
|
+
"enableHa",
|
|
495
|
+
"preferredPrimaryZone",
|
|
496
|
+
"coordinatorServerEdition",
|
|
497
|
+
"coordinatorStorageQuotaInMb",
|
|
498
|
+
"coordinatorVCores",
|
|
499
|
+
"coordinatorEnablePublicIpAccess",
|
|
500
|
+
"nodeServerEdition",
|
|
501
|
+
"nodeCount",
|
|
502
|
+
"nodeStorageQuotaInMb",
|
|
503
|
+
"nodeVCores",
|
|
504
|
+
"maintenanceWindow",
|
|
505
|
+
])
|
|
506
|
+
? undefined
|
|
507
|
+
: _clusterForUpdatePropertiesSerializer(item),
|
|
508
|
+
identity: !item["identity"] ? item["identity"] : identityPropertiesSerializer(item["identity"]),
|
|
509
|
+
tags: item["tags"],
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
export function clusterPropertiesForUpdateSerializer(item) {
|
|
513
|
+
return {
|
|
514
|
+
administratorLoginPassword: item["administratorLoginPassword"],
|
|
515
|
+
postgresqlVersion: item["postgresqlVersion"],
|
|
516
|
+
citusVersion: item["citusVersion"],
|
|
517
|
+
enableShardsOnCoordinator: item["enableShardsOnCoordinator"],
|
|
518
|
+
enableHa: item["enableHa"],
|
|
519
|
+
preferredPrimaryZone: item["preferredPrimaryZone"],
|
|
520
|
+
coordinatorServerEdition: item["coordinatorServerEdition"],
|
|
521
|
+
coordinatorStorageQuotaInMb: item["coordinatorStorageQuotaInMb"],
|
|
522
|
+
coordinatorVCores: item["coordinatorVCores"],
|
|
523
|
+
coordinatorEnablePublicIpAccess: item["coordinatorEnablePublicIpAccess"],
|
|
524
|
+
nodeServerEdition: item["nodeServerEdition"],
|
|
525
|
+
nodeCount: item["nodeCount"],
|
|
526
|
+
nodeStorageQuotaInMb: item["nodeStorageQuotaInMb"],
|
|
527
|
+
nodeVCores: item["nodeVCores"],
|
|
528
|
+
maintenanceWindow: !item["maintenanceWindow"]
|
|
529
|
+
? item["maintenanceWindow"]
|
|
530
|
+
: maintenanceWindowSerializer(item["maintenanceWindow"]),
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
export function _clusterListResultDeserializer(item) {
|
|
534
|
+
return {
|
|
535
|
+
value: clusterArrayDeserializer(item["value"]),
|
|
536
|
+
nextLink: item["nextLink"],
|
|
537
|
+
};
|
|
538
|
+
}
|
|
539
|
+
export function clusterArraySerializer(result) {
|
|
540
|
+
return result.map((item) => {
|
|
541
|
+
return clusterSerializer(item);
|
|
542
|
+
});
|
|
543
|
+
}
|
|
544
|
+
export function clusterArrayDeserializer(result) {
|
|
545
|
+
return result.map((item) => {
|
|
546
|
+
return clusterDeserializer(item);
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
export function promoteRequestSerializer(item) {
|
|
550
|
+
return { enableGeoBackup: item["enableGeoBackup"] };
|
|
551
|
+
}
|
|
552
|
+
export function nameAvailabilityRequestSerializer(item) {
|
|
553
|
+
return { name: item["name"], type: item["type"] };
|
|
554
|
+
}
|
|
555
|
+
export function nameAvailabilityDeserializer(item) {
|
|
556
|
+
return {
|
|
557
|
+
message: item["message"],
|
|
558
|
+
nameAvailable: item["nameAvailable"],
|
|
559
|
+
name: item["name"],
|
|
560
|
+
type: item["type"],
|
|
561
|
+
};
|
|
562
|
+
}
|
|
563
|
+
export function configurationDeserializer(item) {
|
|
564
|
+
return {
|
|
565
|
+
id: item["id"],
|
|
566
|
+
name: item["name"],
|
|
567
|
+
type: item["type"],
|
|
568
|
+
systemData: !item["systemData"]
|
|
569
|
+
? item["systemData"]
|
|
570
|
+
: systemDataDeserializer(item["systemData"]),
|
|
571
|
+
...(!item["properties"]
|
|
572
|
+
? item["properties"]
|
|
573
|
+
: _configurationPropertiesDeserializer(item["properties"])),
|
|
574
|
+
};
|
|
575
|
+
}
|
|
576
|
+
export function configurationPropertiesDeserializer(item) {
|
|
577
|
+
return {
|
|
578
|
+
description: item["description"],
|
|
579
|
+
dataType: item["dataType"],
|
|
580
|
+
allowedValues: item["allowedValues"],
|
|
581
|
+
requiresRestart: item["requiresRestart"],
|
|
582
|
+
serverRoleGroupConfigurations: serverRoleGroupConfigurationArrayDeserializer(item["serverRoleGroupConfigurations"]),
|
|
583
|
+
provisioningState: item["provisioningState"],
|
|
584
|
+
};
|
|
585
|
+
}
|
|
586
|
+
/** Data type of the configuration. */
|
|
587
|
+
export var KnownConfigurationDataType;
|
|
588
|
+
(function (KnownConfigurationDataType) {
|
|
589
|
+
/** Boolean */
|
|
590
|
+
KnownConfigurationDataType["Boolean"] = "Boolean";
|
|
591
|
+
/** Numeric */
|
|
592
|
+
KnownConfigurationDataType["Numeric"] = "Numeric";
|
|
593
|
+
/** Integer */
|
|
594
|
+
KnownConfigurationDataType["Integer"] = "Integer";
|
|
595
|
+
/** Enumeration */
|
|
596
|
+
KnownConfigurationDataType["Enumeration"] = "Enumeration";
|
|
597
|
+
})(KnownConfigurationDataType || (KnownConfigurationDataType = {}));
|
|
598
|
+
export function serverRoleGroupConfigurationArrayDeserializer(result) {
|
|
599
|
+
return result.map((item) => {
|
|
600
|
+
return serverRoleGroupConfigurationDeserializer(item);
|
|
601
|
+
});
|
|
602
|
+
}
|
|
603
|
+
export function serverRoleGroupConfigurationDeserializer(item) {
|
|
604
|
+
return {
|
|
605
|
+
role: item["role"],
|
|
606
|
+
value: item["value"],
|
|
607
|
+
defaultValue: item["defaultValue"],
|
|
608
|
+
source: item["source"],
|
|
609
|
+
};
|
|
610
|
+
}
|
|
611
|
+
/** The role of a server. */
|
|
612
|
+
export var KnownServerRole;
|
|
613
|
+
(function (KnownServerRole) {
|
|
614
|
+
/** Coordinator */
|
|
615
|
+
KnownServerRole["Coordinator"] = "Coordinator";
|
|
616
|
+
/** Worker */
|
|
617
|
+
KnownServerRole["Worker"] = "Worker";
|
|
618
|
+
})(KnownServerRole || (KnownServerRole = {}));
|
|
619
|
+
/** The current provisioning state. */
|
|
620
|
+
export var KnownProvisioningState;
|
|
621
|
+
(function (KnownProvisioningState) {
|
|
622
|
+
/** Succeeded */
|
|
623
|
+
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
624
|
+
/** Canceled */
|
|
625
|
+
KnownProvisioningState["Canceled"] = "Canceled";
|
|
626
|
+
/** InProgress */
|
|
627
|
+
KnownProvisioningState["InProgress"] = "InProgress";
|
|
628
|
+
/** Failed */
|
|
629
|
+
KnownProvisioningState["Failed"] = "Failed";
|
|
630
|
+
})(KnownProvisioningState || (KnownProvisioningState = {}));
|
|
631
|
+
export function _clusterConfigurationListResultDeserializer(item) {
|
|
632
|
+
return {
|
|
633
|
+
value: !item["value"] ? item["value"] : configurationArrayDeserializer(item["value"]),
|
|
634
|
+
nextLink: item["nextLink"],
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
export function configurationArrayDeserializer(result) {
|
|
638
|
+
return result.map((item) => {
|
|
639
|
+
return configurationDeserializer(item);
|
|
640
|
+
});
|
|
641
|
+
}
|
|
642
|
+
export function _serverConfigurationListResultDeserializer(item) {
|
|
643
|
+
return {
|
|
644
|
+
value: serverConfigurationArrayDeserializer(item["value"]),
|
|
645
|
+
nextLink: item["nextLink"],
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
export function serverConfigurationArraySerializer(result) {
|
|
649
|
+
return result.map((item) => {
|
|
650
|
+
return serverConfigurationSerializer(item);
|
|
651
|
+
});
|
|
652
|
+
}
|
|
653
|
+
export function serverConfigurationArrayDeserializer(result) {
|
|
654
|
+
return result.map((item) => {
|
|
655
|
+
return serverConfigurationDeserializer(item);
|
|
656
|
+
});
|
|
657
|
+
}
|
|
658
|
+
export function serverConfigurationSerializer(item) {
|
|
659
|
+
return {
|
|
660
|
+
properties: areAllPropsUndefined(item, ["value"])
|
|
661
|
+
? undefined
|
|
662
|
+
: _serverConfigurationPropertiesSerializer(item),
|
|
663
|
+
};
|
|
664
|
+
}
|
|
665
|
+
export function serverConfigurationDeserializer(item) {
|
|
666
|
+
return {
|
|
667
|
+
id: item["id"],
|
|
668
|
+
name: item["name"],
|
|
669
|
+
type: item["type"],
|
|
670
|
+
systemData: !item["systemData"]
|
|
671
|
+
? item["systemData"]
|
|
672
|
+
: systemDataDeserializer(item["systemData"]),
|
|
673
|
+
...(!item["properties"]
|
|
674
|
+
? item["properties"]
|
|
675
|
+
: _serverConfigurationPropertiesDeserializer(item["properties"])),
|
|
676
|
+
};
|
|
677
|
+
}
|
|
678
|
+
export function serverConfigurationPropertiesSerializer(item) {
|
|
679
|
+
return { value: item["value"] };
|
|
680
|
+
}
|
|
681
|
+
export function serverConfigurationPropertiesDeserializer(item) {
|
|
682
|
+
return {
|
|
683
|
+
value: item["value"],
|
|
684
|
+
source: item["source"],
|
|
685
|
+
description: item["description"],
|
|
686
|
+
defaultValue: item["defaultValue"],
|
|
687
|
+
dataType: item["dataType"],
|
|
688
|
+
allowedValues: item["allowedValues"],
|
|
689
|
+
requiresRestart: item["requiresRestart"],
|
|
690
|
+
provisioningState: item["provisioningState"],
|
|
691
|
+
};
|
|
692
|
+
}
|
|
693
|
+
export function firewallRuleSerializer(item) {
|
|
694
|
+
return { properties: _firewallRulePropertiesSerializer(item) };
|
|
695
|
+
}
|
|
696
|
+
export function firewallRuleDeserializer(item) {
|
|
697
|
+
return {
|
|
698
|
+
id: item["id"],
|
|
699
|
+
name: item["name"],
|
|
700
|
+
type: item["type"],
|
|
701
|
+
systemData: !item["systemData"]
|
|
702
|
+
? item["systemData"]
|
|
703
|
+
: systemDataDeserializer(item["systemData"]),
|
|
704
|
+
..._firewallRulePropertiesDeserializer(item["properties"]),
|
|
705
|
+
};
|
|
706
|
+
}
|
|
707
|
+
export function firewallRulePropertiesSerializer(item) {
|
|
708
|
+
return { startIpAddress: item["startIpAddress"], endIpAddress: item["endIpAddress"] };
|
|
709
|
+
}
|
|
710
|
+
export function firewallRulePropertiesDeserializer(item) {
|
|
711
|
+
return {
|
|
712
|
+
startIpAddress: item["startIpAddress"],
|
|
713
|
+
endIpAddress: item["endIpAddress"],
|
|
714
|
+
provisioningState: item["provisioningState"],
|
|
715
|
+
};
|
|
716
|
+
}
|
|
717
|
+
export function _firewallRuleListResultDeserializer(item) {
|
|
718
|
+
return {
|
|
719
|
+
value: firewallRuleArrayDeserializer(item["value"]),
|
|
720
|
+
nextLink: item["nextLink"],
|
|
721
|
+
};
|
|
722
|
+
}
|
|
723
|
+
export function firewallRuleArraySerializer(result) {
|
|
724
|
+
return result.map((item) => {
|
|
725
|
+
return firewallRuleSerializer(item);
|
|
726
|
+
});
|
|
727
|
+
}
|
|
728
|
+
export function firewallRuleArrayDeserializer(result) {
|
|
729
|
+
return result.map((item) => {
|
|
730
|
+
return firewallRuleDeserializer(item);
|
|
731
|
+
});
|
|
732
|
+
}
|
|
733
|
+
export function privateEndpointConnectionSerializer(item) {
|
|
734
|
+
return {
|
|
735
|
+
properties: areAllPropsUndefined(item, ["privateEndpoint", "privateLinkServiceConnectionState"])
|
|
736
|
+
? undefined
|
|
737
|
+
: _privateEndpointConnectionPropertiesSerializer(item),
|
|
738
|
+
};
|
|
739
|
+
}
|
|
740
|
+
export function privateEndpointConnectionDeserializer(item) {
|
|
741
|
+
return {
|
|
742
|
+
id: item["id"],
|
|
743
|
+
name: item["name"],
|
|
744
|
+
type: item["type"],
|
|
745
|
+
systemData: !item["systemData"]
|
|
746
|
+
? item["systemData"]
|
|
747
|
+
: systemDataDeserializer(item["systemData"]),
|
|
748
|
+
...(!item["properties"]
|
|
749
|
+
? item["properties"]
|
|
750
|
+
: _privateEndpointConnectionPropertiesDeserializer(item["properties"])),
|
|
751
|
+
};
|
|
752
|
+
}
|
|
753
|
+
export function privateEndpointConnectionPropertiesSerializer(item) {
|
|
754
|
+
return {
|
|
755
|
+
privateEndpoint: !item["privateEndpoint"]
|
|
756
|
+
? item["privateEndpoint"]
|
|
757
|
+
: privateEndpointSerializer(item["privateEndpoint"]),
|
|
758
|
+
privateLinkServiceConnectionState: privateLinkServiceConnectionStateSerializer(item["privateLinkServiceConnectionState"]),
|
|
759
|
+
};
|
|
760
|
+
}
|
|
761
|
+
export function privateEndpointConnectionPropertiesDeserializer(item) {
|
|
762
|
+
return {
|
|
763
|
+
groupIds: !item["groupIds"]
|
|
764
|
+
? item["groupIds"]
|
|
765
|
+
: item["groupIds"].map((p) => {
|
|
766
|
+
return p;
|
|
767
|
+
}),
|
|
768
|
+
privateEndpoint: !item["privateEndpoint"]
|
|
769
|
+
? item["privateEndpoint"]
|
|
770
|
+
: privateEndpointDeserializer(item["privateEndpoint"]),
|
|
771
|
+
privateLinkServiceConnectionState: privateLinkServiceConnectionStateDeserializer(item["privateLinkServiceConnectionState"]),
|
|
772
|
+
provisioningState: item["provisioningState"],
|
|
773
|
+
};
|
|
774
|
+
}
|
|
775
|
+
export function privateEndpointSerializer(_item) {
|
|
776
|
+
return {};
|
|
777
|
+
}
|
|
778
|
+
export function privateEndpointDeserializer(item) {
|
|
779
|
+
return {
|
|
780
|
+
id: item["id"],
|
|
781
|
+
};
|
|
782
|
+
}
|
|
783
|
+
/** The current provisioning state. */
|
|
784
|
+
export var KnownPrivateEndpointConnectionProvisioningState;
|
|
785
|
+
(function (KnownPrivateEndpointConnectionProvisioningState) {
|
|
786
|
+
/** Connection has been provisioned */
|
|
787
|
+
KnownPrivateEndpointConnectionProvisioningState["Succeeded"] = "Succeeded";
|
|
788
|
+
/** Connection is being created */
|
|
789
|
+
KnownPrivateEndpointConnectionProvisioningState["Creating"] = "Creating";
|
|
790
|
+
/** Connection is being deleted */
|
|
791
|
+
KnownPrivateEndpointConnectionProvisioningState["Deleting"] = "Deleting";
|
|
792
|
+
/** Connection provisioning has failed */
|
|
793
|
+
KnownPrivateEndpointConnectionProvisioningState["Failed"] = "Failed";
|
|
794
|
+
})(KnownPrivateEndpointConnectionProvisioningState || (KnownPrivateEndpointConnectionProvisioningState = {}));
|
|
795
|
+
export function _privateEndpointConnectionListResultDeserializer(item) {
|
|
796
|
+
return {
|
|
797
|
+
value: privateEndpointConnectionArrayDeserializer(item["value"]),
|
|
798
|
+
nextLink: item["nextLink"],
|
|
799
|
+
};
|
|
800
|
+
}
|
|
801
|
+
export function privateEndpointConnectionArraySerializer(result) {
|
|
802
|
+
return result.map((item) => {
|
|
803
|
+
return privateEndpointConnectionSerializer(item);
|
|
804
|
+
});
|
|
805
|
+
}
|
|
806
|
+
export function privateEndpointConnectionArrayDeserializer(result) {
|
|
807
|
+
return result.map((item) => {
|
|
808
|
+
return privateEndpointConnectionDeserializer(item);
|
|
809
|
+
});
|
|
810
|
+
}
|
|
811
|
+
export function privateLinkResourceDeserializer(item) {
|
|
812
|
+
return {
|
|
813
|
+
id: item["id"],
|
|
814
|
+
name: item["name"],
|
|
815
|
+
type: item["type"],
|
|
816
|
+
systemData: !item["systemData"]
|
|
817
|
+
? item["systemData"]
|
|
818
|
+
: systemDataDeserializer(item["systemData"]),
|
|
819
|
+
...(!item["properties"]
|
|
820
|
+
? item["properties"]
|
|
821
|
+
: _privateLinkResourcePropertiesDeserializer(item["properties"])),
|
|
822
|
+
};
|
|
823
|
+
}
|
|
824
|
+
export function privateLinkResourcePropertiesDeserializer(item) {
|
|
825
|
+
return {
|
|
826
|
+
groupId: item["groupId"],
|
|
827
|
+
requiredMembers: !item["requiredMembers"]
|
|
828
|
+
? item["requiredMembers"]
|
|
829
|
+
: item["requiredMembers"].map((p) => {
|
|
830
|
+
return p;
|
|
831
|
+
}),
|
|
832
|
+
requiredZoneNames: !item["requiredZoneNames"]
|
|
833
|
+
? item["requiredZoneNames"]
|
|
834
|
+
: item["requiredZoneNames"].map((p) => {
|
|
835
|
+
return p;
|
|
836
|
+
}),
|
|
837
|
+
};
|
|
838
|
+
}
|
|
839
|
+
export function _privateLinkResourceListResultDeserializer(item) {
|
|
840
|
+
return {
|
|
841
|
+
value: privateLinkResourceArrayDeserializer(item["value"]),
|
|
842
|
+
nextLink: item["nextLink"],
|
|
843
|
+
};
|
|
844
|
+
}
|
|
845
|
+
export function privateLinkResourceArrayDeserializer(result) {
|
|
846
|
+
return result.map((item) => {
|
|
847
|
+
return privateLinkResourceDeserializer(item);
|
|
848
|
+
});
|
|
849
|
+
}
|
|
850
|
+
export function roleSerializer(item) {
|
|
851
|
+
return { properties: _rolePropertiesSerializer(item) };
|
|
852
|
+
}
|
|
853
|
+
export function roleDeserializer(item) {
|
|
854
|
+
return {
|
|
855
|
+
id: item["id"],
|
|
856
|
+
name: item["name"],
|
|
857
|
+
type: item["type"],
|
|
858
|
+
systemData: !item["systemData"]
|
|
859
|
+
? item["systemData"]
|
|
860
|
+
: systemDataDeserializer(item["systemData"]),
|
|
861
|
+
..._rolePropertiesDeserializer(item["properties"]),
|
|
862
|
+
};
|
|
863
|
+
}
|
|
864
|
+
export function rolePropertiesSerializer(item) {
|
|
865
|
+
return {
|
|
866
|
+
roleType: item["roleType"],
|
|
867
|
+
password: item["password"],
|
|
868
|
+
externalIdentity: areAllPropsUndefined(item, ["objectId", "principalType", "tenantId"])
|
|
869
|
+
? undefined
|
|
870
|
+
: _rolePropertiesExternalIdentitySerializer(item),
|
|
871
|
+
};
|
|
872
|
+
}
|
|
873
|
+
export function rolePropertiesDeserializer(item) {
|
|
874
|
+
return {
|
|
875
|
+
roleType: item["roleType"],
|
|
876
|
+
password: item["password"],
|
|
877
|
+
...(!item["externalIdentity"]
|
|
878
|
+
? item["externalIdentity"]
|
|
879
|
+
: _rolePropertiesExternalIdentityDeserializer(item["externalIdentity"])),
|
|
880
|
+
provisioningState: item["provisioningState"],
|
|
881
|
+
};
|
|
882
|
+
}
|
|
883
|
+
/** Known values of {@link RoleType} that the service accepts. */
|
|
884
|
+
export var KnownRoleType;
|
|
885
|
+
(function (KnownRoleType) {
|
|
886
|
+
/** user */
|
|
887
|
+
KnownRoleType["User"] = "user";
|
|
888
|
+
/** admin */
|
|
889
|
+
KnownRoleType["Admin"] = "admin";
|
|
890
|
+
})(KnownRoleType || (KnownRoleType = {}));
|
|
891
|
+
export function rolePropertiesExternalIdentitySerializer(item) {
|
|
892
|
+
return {
|
|
893
|
+
objectId: item["objectId"],
|
|
894
|
+
principalType: item["principalType"],
|
|
895
|
+
tenantId: item["tenantId"],
|
|
896
|
+
};
|
|
897
|
+
}
|
|
898
|
+
export function rolePropertiesExternalIdentityDeserializer(item) {
|
|
899
|
+
return {
|
|
900
|
+
objectId: item["objectId"],
|
|
901
|
+
principalType: item["principalType"],
|
|
902
|
+
tenantId: item["tenantId"],
|
|
903
|
+
};
|
|
904
|
+
}
|
|
905
|
+
/** Known values of {@link PrincipalType} that the service accepts. */
|
|
906
|
+
export var KnownPrincipalType;
|
|
907
|
+
(function (KnownPrincipalType) {
|
|
908
|
+
/** user */
|
|
909
|
+
KnownPrincipalType["User"] = "user";
|
|
910
|
+
/** servicePrincipal */
|
|
911
|
+
KnownPrincipalType["ServicePrincipal"] = "servicePrincipal";
|
|
912
|
+
/** group */
|
|
913
|
+
KnownPrincipalType["Group"] = "group";
|
|
914
|
+
})(KnownPrincipalType || (KnownPrincipalType = {}));
|
|
915
|
+
export function _roleListResultDeserializer(item) {
|
|
916
|
+
return {
|
|
917
|
+
value: roleArrayDeserializer(item["value"]),
|
|
918
|
+
nextLink: item["nextLink"],
|
|
919
|
+
};
|
|
920
|
+
}
|
|
921
|
+
export function roleArraySerializer(result) {
|
|
922
|
+
return result.map((item) => {
|
|
923
|
+
return roleSerializer(item);
|
|
924
|
+
});
|
|
925
|
+
}
|
|
926
|
+
export function roleArrayDeserializer(result) {
|
|
927
|
+
return result.map((item) => {
|
|
928
|
+
return roleDeserializer(item);
|
|
929
|
+
});
|
|
930
|
+
}
|
|
931
|
+
export function clusterServerDeserializer(item) {
|
|
932
|
+
return {
|
|
933
|
+
id: item["id"],
|
|
934
|
+
name: item["name"],
|
|
935
|
+
type: item["type"],
|
|
936
|
+
systemData: !item["systemData"]
|
|
937
|
+
? item["systemData"]
|
|
938
|
+
: systemDataDeserializer(item["systemData"]),
|
|
939
|
+
...(!item["properties"]
|
|
940
|
+
? item["properties"]
|
|
941
|
+
: _clusterServerPropertiesDeserializer(item["properties"])),
|
|
942
|
+
};
|
|
943
|
+
}
|
|
944
|
+
export function clusterServerPropertiesDeserializer(item) {
|
|
945
|
+
return {
|
|
946
|
+
serverEdition: item["serverEdition"],
|
|
947
|
+
storageQuotaInMb: item["storageQuotaInMb"],
|
|
948
|
+
vCores: item["vCores"],
|
|
949
|
+
enableHa: item["enableHa"],
|
|
950
|
+
enablePublicIpAccess: item["enablePublicIpAccess"],
|
|
951
|
+
isReadOnly: item["isReadOnly"],
|
|
952
|
+
administratorLogin: item["administratorLogin"],
|
|
953
|
+
fullyQualifiedDomainName: item["fullyQualifiedDomainName"],
|
|
954
|
+
role: item["role"],
|
|
955
|
+
state: item["state"],
|
|
956
|
+
haState: item["haState"],
|
|
957
|
+
availabilityZone: item["availabilityZone"],
|
|
958
|
+
postgresqlVersion: item["postgresqlVersion"],
|
|
959
|
+
citusVersion: item["citusVersion"],
|
|
960
|
+
};
|
|
961
|
+
}
|
|
962
|
+
export function serverPropertiesDeserializer(item) {
|
|
963
|
+
return {
|
|
964
|
+
serverEdition: item["serverEdition"],
|
|
965
|
+
storageQuotaInMb: item["storageQuotaInMb"],
|
|
966
|
+
vCores: item["vCores"],
|
|
967
|
+
enableHa: item["enableHa"],
|
|
968
|
+
enablePublicIpAccess: item["enablePublicIpAccess"],
|
|
969
|
+
isReadOnly: item["isReadOnly"],
|
|
970
|
+
administratorLogin: item["administratorLogin"],
|
|
971
|
+
};
|
|
972
|
+
}
|
|
973
|
+
export function _clusterServerListResultDeserializer(item) {
|
|
974
|
+
return {
|
|
975
|
+
value: clusterServerArrayDeserializer(item["value"]),
|
|
976
|
+
nextLink: item["nextLink"],
|
|
977
|
+
};
|
|
978
|
+
}
|
|
979
|
+
export function clusterServerArrayDeserializer(result) {
|
|
980
|
+
return result.map((item) => {
|
|
981
|
+
return clusterServerDeserializer(item);
|
|
982
|
+
});
|
|
983
|
+
}
|
|
984
|
+
/** The available API versions. */
|
|
985
|
+
export var KnownVersions;
|
|
986
|
+
(function (KnownVersions) {
|
|
987
|
+
/** The 2023-03-02-preview API version. */
|
|
988
|
+
KnownVersions["V20230302Preview"] = "2023-03-02-preview";
|
|
989
|
+
})(KnownVersions || (KnownVersions = {}));
|
|
990
|
+
export function _simplePrivateEndpointConnectionPropertiesDeserializer(item) {
|
|
991
|
+
return {
|
|
992
|
+
privateEndpoint: !item["privateEndpoint"]
|
|
993
|
+
? item["privateEndpoint"]
|
|
994
|
+
: privateEndpointPropertyDeserializer(item["privateEndpoint"]),
|
|
995
|
+
groupIds: !item["groupIds"]
|
|
996
|
+
? item["groupIds"]
|
|
997
|
+
: item["groupIds"].map((p) => {
|
|
998
|
+
return p;
|
|
999
|
+
}),
|
|
1000
|
+
privateLinkServiceConnectionState: !item["privateLinkServiceConnectionState"]
|
|
1001
|
+
? item["privateLinkServiceConnectionState"]
|
|
1002
|
+
: privateLinkServiceConnectionStateDeserializer(item["privateLinkServiceConnectionState"]),
|
|
1003
|
+
};
|
|
1004
|
+
}
|
|
1005
|
+
export function _clusterPropertiesSerializer(item) {
|
|
1006
|
+
return {
|
|
1007
|
+
administratorLoginPassword: item["administratorLoginPassword"],
|
|
1008
|
+
dataEncryption: !item["dataEncryption"]
|
|
1009
|
+
? item["dataEncryption"]
|
|
1010
|
+
: dataEncryptionSerializer(item["dataEncryption"]),
|
|
1011
|
+
postgresqlVersion: item["postgresqlVersion"],
|
|
1012
|
+
citusVersion: item["citusVersion"],
|
|
1013
|
+
maintenanceWindow: !item["maintenanceWindow"]
|
|
1014
|
+
? item["maintenanceWindow"]
|
|
1015
|
+
: maintenanceWindowSerializer(item["maintenanceWindow"]),
|
|
1016
|
+
preferredPrimaryZone: item["preferredPrimaryZone"],
|
|
1017
|
+
enableShardsOnCoordinator: item["enableShardsOnCoordinator"],
|
|
1018
|
+
enableHa: item["enableHa"],
|
|
1019
|
+
coordinatorServerEdition: item["coordinatorServerEdition"],
|
|
1020
|
+
coordinatorStorageQuotaInMb: item["coordinatorStorageQuotaInMb"],
|
|
1021
|
+
coordinatorVCores: item["coordinatorVCores"],
|
|
1022
|
+
coordinatorEnablePublicIpAccess: item["coordinatorEnablePublicIpAccess"],
|
|
1023
|
+
nodeServerEdition: item["nodeServerEdition"],
|
|
1024
|
+
nodeCount: item["nodeCount"],
|
|
1025
|
+
nodeStorageQuotaInMb: item["nodeStorageQuotaInMb"],
|
|
1026
|
+
nodeVCores: item["nodeVCores"],
|
|
1027
|
+
nodeEnablePublicIpAccess: item["nodeEnablePublicIpAccess"],
|
|
1028
|
+
sourceResourceId: item["sourceResourceId"],
|
|
1029
|
+
sourceLocation: item["sourceLocation"],
|
|
1030
|
+
pointInTimeUTC: !item["pointInTimeUTC"]
|
|
1031
|
+
? item["pointInTimeUTC"]
|
|
1032
|
+
: item["pointInTimeUTC"].toISOString(),
|
|
1033
|
+
databaseName: item["databaseName"],
|
|
1034
|
+
enableGeoBackup: item["enableGeoBackup"],
|
|
1035
|
+
authConfig: !item["authConfig"] ? item["authConfig"] : authConfigSerializer(item["authConfig"]),
|
|
1036
|
+
};
|
|
1037
|
+
}
|
|
1038
|
+
export function _clusterPropertiesDeserializer(item) {
|
|
1039
|
+
return {
|
|
1040
|
+
aadAuthEnabled: item["aadAuthEnabled"],
|
|
1041
|
+
administratorLogin: item["administratorLogin"],
|
|
1042
|
+
administratorLoginPassword: item["administratorLoginPassword"],
|
|
1043
|
+
dataEncryption: !item["dataEncryption"]
|
|
1044
|
+
? item["dataEncryption"]
|
|
1045
|
+
: dataEncryptionDeserializer(item["dataEncryption"]),
|
|
1046
|
+
provisioningState: item["provisioningState"],
|
|
1047
|
+
state: item["state"],
|
|
1048
|
+
postgresqlVersion: item["postgresqlVersion"],
|
|
1049
|
+
citusVersion: item["citusVersion"],
|
|
1050
|
+
maintenanceWindow: !item["maintenanceWindow"]
|
|
1051
|
+
? item["maintenanceWindow"]
|
|
1052
|
+
: maintenanceWindowDeserializer(item["maintenanceWindow"]),
|
|
1053
|
+
preferredPrimaryZone: item["preferredPrimaryZone"],
|
|
1054
|
+
enableShardsOnCoordinator: item["enableShardsOnCoordinator"],
|
|
1055
|
+
enableHa: item["enableHa"],
|
|
1056
|
+
coordinatorServerEdition: item["coordinatorServerEdition"],
|
|
1057
|
+
coordinatorStorageQuotaInMb: item["coordinatorStorageQuotaInMb"],
|
|
1058
|
+
coordinatorVCores: item["coordinatorVCores"],
|
|
1059
|
+
coordinatorEnablePublicIpAccess: item["coordinatorEnablePublicIpAccess"],
|
|
1060
|
+
nodeServerEdition: item["nodeServerEdition"],
|
|
1061
|
+
nodeCount: item["nodeCount"],
|
|
1062
|
+
nodeStorageQuotaInMb: item["nodeStorageQuotaInMb"],
|
|
1063
|
+
nodeVCores: item["nodeVCores"],
|
|
1064
|
+
nodeEnablePublicIpAccess: item["nodeEnablePublicIpAccess"],
|
|
1065
|
+
serverNames: !item["serverNames"]
|
|
1066
|
+
? item["serverNames"]
|
|
1067
|
+
: serverNameItemArrayDeserializer(item["serverNames"]),
|
|
1068
|
+
sourceResourceId: item["sourceResourceId"],
|
|
1069
|
+
sourceLocation: item["sourceLocation"],
|
|
1070
|
+
passwordEnabled: item["passwordEnabled"],
|
|
1071
|
+
pointInTimeUTC: !item["pointInTimeUTC"]
|
|
1072
|
+
? item["pointInTimeUTC"]
|
|
1073
|
+
: new Date(item["pointInTimeUTC"]),
|
|
1074
|
+
readReplicas: !item["readReplicas"]
|
|
1075
|
+
? item["readReplicas"]
|
|
1076
|
+
: item["readReplicas"].map((p) => {
|
|
1077
|
+
return p;
|
|
1078
|
+
}),
|
|
1079
|
+
earliestRestoreTime: !item["earliestRestoreTime"]
|
|
1080
|
+
? item["earliestRestoreTime"]
|
|
1081
|
+
: new Date(item["earliestRestoreTime"]),
|
|
1082
|
+
privateEndpointConnections: !item["privateEndpointConnections"]
|
|
1083
|
+
? item["privateEndpointConnections"]
|
|
1084
|
+
: simplePrivateEndpointConnectionArrayDeserializer(item["privateEndpointConnections"]),
|
|
1085
|
+
databaseName: item["databaseName"],
|
|
1086
|
+
enableGeoBackup: item["enableGeoBackup"],
|
|
1087
|
+
authConfig: !item["authConfig"]
|
|
1088
|
+
? item["authConfig"]
|
|
1089
|
+
: authConfigDeserializer(item["authConfig"]),
|
|
1090
|
+
};
|
|
1091
|
+
}
|
|
1092
|
+
export function _clusterForUpdatePropertiesSerializer(item) {
|
|
1093
|
+
return {
|
|
1094
|
+
administratorLoginPassword: item["administratorLoginPassword"],
|
|
1095
|
+
postgresqlVersion: item["postgresqlVersion"],
|
|
1096
|
+
citusVersion: item["citusVersion"],
|
|
1097
|
+
enableShardsOnCoordinator: item["enableShardsOnCoordinator"],
|
|
1098
|
+
enableHa: item["enableHa"],
|
|
1099
|
+
preferredPrimaryZone: item["preferredPrimaryZone"],
|
|
1100
|
+
coordinatorServerEdition: item["coordinatorServerEdition"],
|
|
1101
|
+
coordinatorStorageQuotaInMb: item["coordinatorStorageQuotaInMb"],
|
|
1102
|
+
coordinatorVCores: item["coordinatorVCores"],
|
|
1103
|
+
coordinatorEnablePublicIpAccess: item["coordinatorEnablePublicIpAccess"],
|
|
1104
|
+
nodeServerEdition: item["nodeServerEdition"],
|
|
1105
|
+
nodeCount: item["nodeCount"],
|
|
1106
|
+
nodeStorageQuotaInMb: item["nodeStorageQuotaInMb"],
|
|
1107
|
+
nodeVCores: item["nodeVCores"],
|
|
1108
|
+
maintenanceWindow: !item["maintenanceWindow"]
|
|
1109
|
+
? item["maintenanceWindow"]
|
|
1110
|
+
: maintenanceWindowSerializer(item["maintenanceWindow"]),
|
|
1111
|
+
};
|
|
1112
|
+
}
|
|
1113
|
+
export function _configurationPropertiesDeserializer(item) {
|
|
1114
|
+
return {
|
|
1115
|
+
description: item["description"],
|
|
1116
|
+
dataType: item["dataType"],
|
|
1117
|
+
allowedValues: item["allowedValues"],
|
|
1118
|
+
requiresRestart: item["requiresRestart"],
|
|
1119
|
+
serverRoleGroupConfigurations: !item["serverRoleGroupConfigurations"]
|
|
1120
|
+
? item["serverRoleGroupConfigurations"]
|
|
1121
|
+
: serverRoleGroupConfigurationArrayDeserializer(item["serverRoleGroupConfigurations"]),
|
|
1122
|
+
provisioningState: item["provisioningState"],
|
|
1123
|
+
};
|
|
1124
|
+
}
|
|
1125
|
+
export function _serverConfigurationPropertiesSerializer(item) {
|
|
1126
|
+
return { value: item["value"] };
|
|
1127
|
+
}
|
|
1128
|
+
export function _serverConfigurationPropertiesDeserializer(item) {
|
|
1129
|
+
return {
|
|
1130
|
+
value: item["value"],
|
|
1131
|
+
source: item["source"],
|
|
1132
|
+
description: item["description"],
|
|
1133
|
+
defaultValue: item["defaultValue"],
|
|
1134
|
+
dataType: item["dataType"],
|
|
1135
|
+
allowedValues: item["allowedValues"],
|
|
1136
|
+
requiresRestart: item["requiresRestart"],
|
|
1137
|
+
provisioningState: item["provisioningState"],
|
|
1138
|
+
};
|
|
1139
|
+
}
|
|
1140
|
+
export function _firewallRulePropertiesSerializer(item) {
|
|
1141
|
+
return { startIpAddress: item["startIpAddress"], endIpAddress: item["endIpAddress"] };
|
|
1142
|
+
}
|
|
1143
|
+
export function _firewallRulePropertiesDeserializer(item) {
|
|
1144
|
+
return {
|
|
1145
|
+
startIpAddress: item["startIpAddress"],
|
|
1146
|
+
endIpAddress: item["endIpAddress"],
|
|
1147
|
+
provisioningState: item["provisioningState"],
|
|
1148
|
+
};
|
|
1149
|
+
}
|
|
1150
|
+
export function _privateEndpointConnectionPropertiesSerializer(item) {
|
|
1151
|
+
return {
|
|
1152
|
+
privateEndpoint: !item["privateEndpoint"]
|
|
1153
|
+
? item["privateEndpoint"]
|
|
1154
|
+
: privateEndpointSerializer(item["privateEndpoint"]),
|
|
1155
|
+
privateLinkServiceConnectionState: !item["privateLinkServiceConnectionState"]
|
|
1156
|
+
? item["privateLinkServiceConnectionState"]
|
|
1157
|
+
: privateLinkServiceConnectionStateSerializer(item["privateLinkServiceConnectionState"]),
|
|
1158
|
+
};
|
|
1159
|
+
}
|
|
1160
|
+
export function _privateEndpointConnectionPropertiesDeserializer(item) {
|
|
1161
|
+
return {
|
|
1162
|
+
groupIds: !item["groupIds"]
|
|
1163
|
+
? item["groupIds"]
|
|
1164
|
+
: item["groupIds"].map((p) => {
|
|
1165
|
+
return p;
|
|
1166
|
+
}),
|
|
1167
|
+
privateEndpoint: !item["privateEndpoint"]
|
|
1168
|
+
? item["privateEndpoint"]
|
|
1169
|
+
: privateEndpointDeserializer(item["privateEndpoint"]),
|
|
1170
|
+
privateLinkServiceConnectionState: !item["privateLinkServiceConnectionState"]
|
|
1171
|
+
? item["privateLinkServiceConnectionState"]
|
|
1172
|
+
: privateLinkServiceConnectionStateDeserializer(item["privateLinkServiceConnectionState"]),
|
|
1173
|
+
provisioningState: item["provisioningState"],
|
|
1174
|
+
};
|
|
1175
|
+
}
|
|
1176
|
+
export function _privateLinkResourcePropertiesDeserializer(item) {
|
|
1177
|
+
return {
|
|
1178
|
+
groupId: item["groupId"],
|
|
1179
|
+
requiredMembers: !item["requiredMembers"]
|
|
1180
|
+
? item["requiredMembers"]
|
|
1181
|
+
: item["requiredMembers"].map((p) => {
|
|
1182
|
+
return p;
|
|
1183
|
+
}),
|
|
1184
|
+
requiredZoneNames: !item["requiredZoneNames"]
|
|
1185
|
+
? item["requiredZoneNames"]
|
|
1186
|
+
: item["requiredZoneNames"].map((p) => {
|
|
1187
|
+
return p;
|
|
1188
|
+
}),
|
|
1189
|
+
};
|
|
1190
|
+
}
|
|
1191
|
+
export function _rolePropertiesExternalIdentitySerializer(item) {
|
|
1192
|
+
return {
|
|
1193
|
+
objectId: item["objectId"],
|
|
1194
|
+
principalType: item["principalType"],
|
|
1195
|
+
tenantId: item["tenantId"],
|
|
1196
|
+
};
|
|
1197
|
+
}
|
|
1198
|
+
export function _rolePropertiesExternalIdentityDeserializer(item) {
|
|
1199
|
+
return {
|
|
1200
|
+
objectId: item["objectId"],
|
|
1201
|
+
principalType: item["principalType"],
|
|
1202
|
+
tenantId: item["tenantId"],
|
|
1203
|
+
};
|
|
1204
|
+
}
|
|
1205
|
+
export function _rolePropertiesSerializer(item) {
|
|
1206
|
+
return {
|
|
1207
|
+
roleType: item["roleType"],
|
|
1208
|
+
password: item["password"],
|
|
1209
|
+
externalIdentity: !item["externalIdentity"]
|
|
1210
|
+
? item["externalIdentity"]
|
|
1211
|
+
: rolePropertiesExternalIdentitySerializer(item["externalIdentity"]),
|
|
1212
|
+
};
|
|
1213
|
+
}
|
|
1214
|
+
export function _rolePropertiesDeserializer(item) {
|
|
1215
|
+
return {
|
|
1216
|
+
roleType: item["roleType"],
|
|
1217
|
+
password: item["password"],
|
|
1218
|
+
externalIdentity: !item["externalIdentity"]
|
|
1219
|
+
? item["externalIdentity"]
|
|
1220
|
+
: rolePropertiesExternalIdentityDeserializer(item["externalIdentity"]),
|
|
1221
|
+
provisioningState: item["provisioningState"],
|
|
1222
|
+
};
|
|
1223
|
+
}
|
|
1224
|
+
export function _clusterServerPropertiesDeserializer(item) {
|
|
1225
|
+
return {
|
|
1226
|
+
serverEdition: item["serverEdition"],
|
|
1227
|
+
storageQuotaInMb: item["storageQuotaInMb"],
|
|
1228
|
+
vCores: item["vCores"],
|
|
1229
|
+
enableHa: item["enableHa"],
|
|
1230
|
+
enablePublicIpAccess: item["enablePublicIpAccess"],
|
|
1231
|
+
isReadOnly: item["isReadOnly"],
|
|
1232
|
+
administratorLogin: item["administratorLogin"],
|
|
1233
|
+
fullyQualifiedDomainName: item["fullyQualifiedDomainName"],
|
|
1234
|
+
role: item["role"],
|
|
1235
|
+
state: item["state"],
|
|
1236
|
+
haState: item["haState"],
|
|
1237
|
+
availabilityZone: item["availabilityZone"],
|
|
1238
|
+
postgresqlVersion: item["postgresqlVersion"],
|
|
1239
|
+
citusVersion: item["citusVersion"],
|
|
1240
|
+
};
|
|
1241
|
+
}
|
|
1242
|
+
//# sourceMappingURL=models.js.map
|