@azure/arm-postgresql-flexible 2.0.0 → 5.0.0
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/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +70 -82
- package/dist/index.js +3801 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/capabilitiesList.d.ts +2 -0
- package/dist-esm/samples-dev/capabilitiesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/capabilitiesList.js +44 -0
- package/dist-esm/samples-dev/capabilitiesList.js.map +1 -0
- package/dist-esm/samples-dev/configurationGet.d.ts +2 -0
- package/dist-esm/samples-dev/configurationGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationGet.js +32 -0
- package/dist-esm/samples-dev/configurationGet.js.map +1 -0
- package/dist-esm/samples-dev/configurationList.d.ts +2 -0
- package/dist-esm/samples-dev/configurationList.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationList.js +45 -0
- package/dist-esm/samples-dev/configurationList.js.map +1 -0
- package/dist-esm/samples-dev/createADatabase.d.ts +2 -0
- package/dist-esm/samples-dev/createADatabase.d.ts.map +1 -0
- package/dist-esm/samples-dev/createADatabase.js +33 -0
- package/dist-esm/samples-dev/createADatabase.js.map +1 -0
- package/dist-esm/samples-dev/createADatabaseAsAPointInTimeRestore.d.ts +2 -0
- package/dist-esm/samples-dev/createADatabaseAsAPointInTimeRestore.d.ts.map +1 -0
- package/dist-esm/samples-dev/createADatabaseAsAPointInTimeRestore.js +37 -0
- package/dist-esm/samples-dev/createADatabaseAsAPointInTimeRestore.js.map +1 -0
- package/dist-esm/samples-dev/createANewServer.d.ts +2 -0
- package/dist-esm/samples-dev/createANewServer.d.ts.map +1 -0
- package/dist-esm/samples-dev/createANewServer.js +48 -0
- package/dist-esm/samples-dev/createANewServer.js.map +1 -0
- package/dist-esm/samples-dev/deleteADatabase.d.ts +2 -0
- package/dist-esm/samples-dev/deleteADatabase.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteADatabase.js +32 -0
- package/dist-esm/samples-dev/deleteADatabase.js.map +1 -0
- package/dist-esm/samples-dev/firewallRuleCreate.d.ts +2 -0
- package/dist-esm/samples-dev/firewallRuleCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/firewallRuleCreate.js +36 -0
- package/dist-esm/samples-dev/firewallRuleCreate.js.map +1 -0
- package/dist-esm/samples-dev/firewallRuleDelete.d.ts +2 -0
- package/dist-esm/samples-dev/firewallRuleDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/firewallRuleDelete.js +32 -0
- package/dist-esm/samples-dev/firewallRuleDelete.js.map +1 -0
- package/dist-esm/samples-dev/firewallRuleList.d.ts +2 -0
- package/dist-esm/samples-dev/firewallRuleList.d.ts.map +1 -0
- package/dist-esm/samples-dev/firewallRuleList.js +45 -0
- package/dist-esm/samples-dev/firewallRuleList.js.map +1 -0
- package/dist-esm/samples-dev/getADatabase.d.ts +2 -0
- package/dist-esm/samples-dev/getADatabase.d.ts.map +1 -0
- package/dist-esm/samples-dev/getADatabase.js +32 -0
- package/dist-esm/samples-dev/getADatabase.js.map +1 -0
- package/dist-esm/samples-dev/getPrivateDnsZoneSuffix.d.ts +2 -0
- package/dist-esm/samples-dev/getPrivateDnsZoneSuffix.d.ts.map +1 -0
- package/dist-esm/samples-dev/getPrivateDnsZoneSuffix.js +29 -0
- package/dist-esm/samples-dev/getPrivateDnsZoneSuffix.js.map +1 -0
- package/dist-esm/samples-dev/listDatabasesInAServer.d.ts +2 -0
- package/dist-esm/samples-dev/listDatabasesInAServer.d.ts.map +1 -0
- package/dist-esm/samples-dev/listDatabasesInAServer.js +45 -0
- package/dist-esm/samples-dev/listDatabasesInAServer.js.map +1 -0
- package/dist-esm/samples-dev/nameAvailability.d.ts +2 -0
- package/dist-esm/samples-dev/nameAvailability.d.ts.map +1 -0
- package/dist-esm/samples-dev/nameAvailability.js +33 -0
- package/dist-esm/samples-dev/nameAvailability.js.map +1 -0
- package/dist-esm/samples-dev/operationList.d.ts +2 -0
- package/dist-esm/samples-dev/operationList.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationList.js +29 -0
- package/dist-esm/samples-dev/operationList.js.map +1 -0
- package/dist-esm/samples-dev/serverDelete.d.ts +2 -0
- package/dist-esm/samples-dev/serverDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverDelete.js +31 -0
- package/dist-esm/samples-dev/serverDelete.js.map +1 -0
- package/dist-esm/samples-dev/serverGet.d.ts +2 -0
- package/dist-esm/samples-dev/serverGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverGet.js +31 -0
- package/dist-esm/samples-dev/serverGet.js.map +1 -0
- package/dist-esm/samples-dev/serverGetWithVnet.d.ts +2 -0
- package/dist-esm/samples-dev/serverGetWithVnet.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverGetWithVnet.js +31 -0
- package/dist-esm/samples-dev/serverGetWithVnet.js.map +1 -0
- package/dist-esm/samples-dev/serverList.d.ts +2 -0
- package/dist-esm/samples-dev/serverList.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverList.js +43 -0
- package/dist-esm/samples-dev/serverList.js.map +1 -0
- package/dist-esm/samples-dev/serverListByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/serverListByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverListByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/serverListByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/serverRestart.d.ts +2 -0
- package/dist-esm/samples-dev/serverRestart.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverRestart.js +31 -0
- package/dist-esm/samples-dev/serverRestart.js.map +1 -0
- package/dist-esm/samples-dev/serverRestartWithFailover.d.ts +2 -0
- package/dist-esm/samples-dev/serverRestartWithFailover.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverRestartWithFailover.js +36 -0
- package/dist-esm/samples-dev/serverRestartWithFailover.js.map +1 -0
- package/dist-esm/samples-dev/serverStart.d.ts +2 -0
- package/dist-esm/samples-dev/serverStart.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverStart.js +31 -0
- package/dist-esm/samples-dev/serverStart.js.map +1 -0
- package/dist-esm/samples-dev/serverStop.d.ts +2 -0
- package/dist-esm/samples-dev/serverStop.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverStop.js +31 -0
- package/dist-esm/samples-dev/serverStop.js.map +1 -0
- package/dist-esm/samples-dev/serverUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/serverUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverUpdate.js +39 -0
- package/dist-esm/samples-dev/serverUpdate.js.map +1 -0
- package/dist-esm/samples-dev/serverUpdateWithCustomerMaintenanceWindow.d.ts +2 -0
- package/dist-esm/samples-dev/serverUpdateWithCustomerMaintenanceWindow.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverUpdateWithCustomerMaintenanceWindow.js +41 -0
- package/dist-esm/samples-dev/serverUpdateWithCustomerMaintenanceWindow.js.map +1 -0
- package/dist-esm/samples-dev/updateAUserConfiguration.d.ts +2 -0
- package/dist-esm/samples-dev/updateAUserConfiguration.d.ts.map +1 -0
- package/dist-esm/samples-dev/updateAUserConfiguration.js +33 -0
- package/dist-esm/samples-dev/updateAUserConfiguration.js.map +1 -0
- package/dist-esm/samples-dev/virtualNetworkSubnetUsageList.d.ts +2 -0
- package/dist-esm/samples-dev/virtualNetworkSubnetUsageList.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualNetworkSubnetUsageList.js +33 -0
- package/dist-esm/samples-dev/virtualNetworkSubnetUsageList.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/{esm/models/checkNameAvailabilityMappers.js → dist-esm/src/index.js} +5 -2
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1104 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +112 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +42 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +819 -743
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +22 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +84 -63
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/checkNameAvailability.d.ts +19 -0
- package/dist-esm/src/operations/checkNameAvailability.d.ts.map +1 -0
- package/dist-esm/src/operations/checkNameAvailability.js +49 -0
- package/dist-esm/src/operations/checkNameAvailability.js.map +1 -0
- package/dist-esm/src/operations/configurations.d.ts +83 -0
- package/dist-esm/src/operations/configurations.d.ts.map +1 -0
- package/dist-esm/src/operations/configurations.js +343 -0
- package/dist-esm/src/operations/configurations.js.map +1 -0
- package/dist-esm/src/operations/databases.d.ts +81 -0
- package/dist-esm/src/operations/databases.d.ts.map +1 -0
- package/dist-esm/src/operations/databases.js +331 -0
- package/dist-esm/src/operations/databases.js.map +1 -0
- package/dist-esm/src/operations/firewallRules.d.ts +81 -0
- package/dist-esm/src/operations/firewallRules.d.ts.map +1 -0
- package/dist-esm/src/operations/firewallRules.js +331 -0
- package/dist-esm/src/operations/firewallRules.js.map +1 -0
- package/dist-esm/src/operations/getPrivateDnsZoneSuffix.d.ts +18 -0
- package/dist-esm/src/operations/getPrivateDnsZoneSuffix.d.ts.map +1 -0
- package/dist-esm/src/operations/getPrivateDnsZoneSuffix.js +46 -0
- package/dist-esm/src/operations/getPrivateDnsZoneSuffix.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/locationBasedCapabilities.d.ts +35 -0
- package/dist-esm/src/operations/locationBasedCapabilities.d.ts.map +1 -0
- package/dist-esm/src/operations/locationBasedCapabilities.js +132 -0
- package/dist-esm/src/operations/locationBasedCapabilities.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +18 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +46 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/servers.d.ts +151 -0
- package/dist-esm/src/operations/servers.d.ts.map +1 -0
- package/dist-esm/src/operations/servers.js +717 -0
- package/dist-esm/src/operations/servers.js.map +1 -0
- package/dist-esm/src/operations/virtualNetworkSubnetUsage.d.ts +20 -0
- package/dist-esm/src/operations/virtualNetworkSubnetUsage.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualNetworkSubnetUsage.js +54 -0
- package/dist-esm/src/operations/virtualNetworkSubnetUsage.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts.map +1 -0
- package/{src/models/getPrivateDnsZoneSuffixMappers.ts → dist-esm/src/operationsInterfaces/checkNameAvailability.js} +2 -6
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurations.d.ts +58 -0
- package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -0
- package/{src/models/checkNameAvailabilityMappers.ts → dist-esm/src/operationsInterfaces/configurations.js} +2 -8
- package/dist-esm/src/operationsInterfaces/configurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/databases.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -0
- package/{esm/models/getPrivateDnsZoneSuffixMappers.js → dist-esm/src/operationsInterfaces/databases.js} +2 -2
- package/dist-esm/src/operationsInterfaces/databases.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/firewallRules.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/firewallRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/firewallRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.js +9 -0
- package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +17 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.js +9 -0
- package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/servers.d.ts +115 -0
- package/dist-esm/src/operationsInterfaces/servers.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/servers.js} +2 -1
- package/dist-esm/src/operationsInterfaces/servers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkSubnetUsage.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkSubnetUsage.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkSubnetUsage.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkSubnetUsage.js.map +1 -0
- package/dist-esm/src/postgreSQLManagementClient.d.ts +26 -0
- package/dist-esm/src/postgreSQLManagementClient.d.ts.map +1 -0
- package/dist-esm/src/postgreSQLManagementClient.js +59 -0
- package/dist-esm/src/postgreSQLManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +80 -33
- package/review/arm-postgresql-flexible.api.md +865 -0
- package/rollup.config.js +181 -30
- package/src/{models/operationsMappers.ts → index.ts} +4 -8
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +908 -1203
- package/src/models/mappers.ts +789 -718
- package/src/models/parameters.ts +117 -64
- package/src/operations/checkNameAvailability.ts +35 -57
- package/src/operations/configurations.ts +374 -148
- package/src/operations/databases.ts +355 -212
- package/src/operations/firewallRules.ts +355 -212
- package/src/operations/getPrivateDnsZoneSuffix.ts +28 -67
- package/src/operations/index.ts +1 -2
- package/src/operations/locationBasedCapabilities.ts +109 -79
- package/src/operations/operations.ts +27 -41
- package/src/operations/servers.ts +745 -412
- package/src/operations/virtualNetworkSubnetUsage.ts +40 -57
- package/src/operationsInterfaces/checkNameAvailability.ts +26 -0
- package/src/operationsInterfaces/configurations.ts +119 -0
- package/src/operationsInterfaces/databases.ts +109 -0
- package/src/operationsInterfaces/firewallRules.ts +109 -0
- package/src/operationsInterfaces/getPrivateDnsZoneSuffix.ts +23 -0
- package/src/operationsInterfaces/index.ts +17 -0
- package/src/operationsInterfaces/locationBasedCapabilities.ts +27 -0
- package/src/operationsInterfaces/operations.ts +21 -0
- package/src/operationsInterfaces/servers.ts +202 -0
- package/src/operationsInterfaces/virtualNetworkSubnetUsage.ts +28 -0
- package/src/postgreSQLManagementClient.ts +97 -49
- package/tsconfig.json +5 -4
- package/types/arm-postgresql-flexible.d.ts +1581 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-postgresql-flexible.js +0 -3349
- package/dist/arm-postgresql-flexible.js.map +0 -1
- package/dist/arm-postgresql-flexible.min.js +0 -1
- package/dist/arm-postgresql-flexible.min.js.map +0 -1
- package/esm/models/checkNameAvailabilityMappers.d.ts +0 -2
- package/esm/models/checkNameAvailabilityMappers.d.ts.map +0 -1
- package/esm/models/checkNameAvailabilityMappers.js.map +0 -1
- package/esm/models/configurationsMappers.d.ts +0 -2
- package/esm/models/configurationsMappers.d.ts.map +0 -1
- package/esm/models/configurationsMappers.js +0 -9
- package/esm/models/configurationsMappers.js.map +0 -1
- package/esm/models/databasesMappers.d.ts +0 -2
- package/esm/models/databasesMappers.d.ts.map +0 -1
- package/esm/models/databasesMappers.js +0 -9
- package/esm/models/databasesMappers.js.map +0 -1
- package/esm/models/firewallRulesMappers.d.ts +0 -2
- package/esm/models/firewallRulesMappers.d.ts.map +0 -1
- package/esm/models/firewallRulesMappers.js +0 -9
- package/esm/models/firewallRulesMappers.js.map +0 -1
- package/esm/models/getPrivateDnsZoneSuffixMappers.d.ts +0 -2
- package/esm/models/getPrivateDnsZoneSuffixMappers.d.ts.map +0 -1
- package/esm/models/getPrivateDnsZoneSuffixMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1426
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/locationBasedCapabilitiesMappers.d.ts +0 -2
- package/esm/models/locationBasedCapabilitiesMappers.d.ts.map +0 -1
- package/esm/models/locationBasedCapabilitiesMappers.js +0 -9
- package/esm/models/locationBasedCapabilitiesMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -45
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -14
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/serversMappers.d.ts +0 -2
- package/esm/models/serversMappers.d.ts.map +0 -1
- package/esm/models/serversMappers.js +0 -9
- package/esm/models/serversMappers.js.map +0 -1
- package/esm/models/virtualNetworkSubnetUsageMappers.d.ts +0 -2
- package/esm/models/virtualNetworkSubnetUsageMappers.d.ts.map +0 -1
- package/esm/models/virtualNetworkSubnetUsageMappers.js +0 -9
- package/esm/models/virtualNetworkSubnetUsageMappers.js.map +0 -1
- package/esm/operations/checkNameAvailability.d.ts +0 -34
- package/esm/operations/checkNameAvailability.d.ts.map +0 -1
- package/esm/operations/checkNameAvailability.js +0 -59
- package/esm/operations/checkNameAvailability.js.map +0 -1
- package/esm/operations/configurations.d.ts +0 -97
- package/esm/operations/configurations.d.ts.map +0 -1
- package/esm/operations/configurations.js +0 -181
- package/esm/operations/configurations.js.map +0 -1
- package/esm/operations/databases.d.ts +0 -115
- package/esm/operations/databases.d.ts.map +0 -1
- package/esm/operations/databases.js +0 -237
- package/esm/operations/databases.js.map +0 -1
- package/esm/operations/firewallRules.d.ts +0 -115
- package/esm/operations/firewallRules.d.ts.map +0 -1
- package/esm/operations/firewallRules.js +0 -237
- package/esm/operations/firewallRules.js.map +0 -1
- package/esm/operations/getPrivateDnsZoneSuffix.d.ts +0 -34
- package/esm/operations/getPrivateDnsZoneSuffix.d.ts.map +0 -1
- package/esm/operations/getPrivateDnsZoneSuffix.js +0 -69
- package/esm/operations/getPrivateDnsZoneSuffix.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/locationBasedCapabilities.d.ts +0 -49
- package/esm/operations/locationBasedCapabilities.d.ts.map +0 -1
- package/esm/operations/locationBasedCapabilities.js +0 -84
- package/esm/operations/locationBasedCapabilities.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -50
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/servers.d.ts +0 -206
- package/esm/operations/servers.d.ts.map +0 -1
- package/esm/operations/servers.js +0 -484
- package/esm/operations/servers.js.map +0 -1
- package/esm/operations/virtualNetworkSubnetUsage.d.ts +0 -34
- package/esm/operations/virtualNetworkSubnetUsage.d.ts.map +0 -1
- package/esm/operations/virtualNetworkSubnetUsage.js +0 -61
- package/esm/operations/virtualNetworkSubnetUsage.js.map +0 -1
- package/esm/postgreSQLManagementClient.d.ts +0 -32
- package/esm/postgreSQLManagementClient.d.ts.map +0 -1
- package/esm/postgreSQLManagementClient.js +0 -45
- package/esm/postgreSQLManagementClient.js.map +0 -1
- package/esm/postgreSQLManagementClientContext.d.ts +0 -21
- package/esm/postgreSQLManagementClientContext.d.ts.map +0 -1
- package/esm/postgreSQLManagementClientContext.js +0 -59
- package/esm/postgreSQLManagementClientContext.js.map +0 -1
- package/src/models/configurationsMappers.ts +0 -34
- package/src/models/databasesMappers.ts +0 -34
- package/src/models/firewallRulesMappers.ts +0 -34
- package/src/models/locationBasedCapabilitiesMappers.ts +0 -20
- package/src/models/serversMappers.ts +0 -35
- package/src/models/virtualNetworkSubnetUsageMappers.ts +0 -16
- package/src/postgreSQLManagementClientContext.ts +0 -65
|
@@ -0,0 +1,1104 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
/** Sku information related properties of a server. */
|
|
3
|
+
export interface Sku {
|
|
4
|
+
/** The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. */
|
|
5
|
+
name: string;
|
|
6
|
+
/** The tier of the particular SKU, e.g. Burstable. */
|
|
7
|
+
tier: SkuTier;
|
|
8
|
+
}
|
|
9
|
+
/** Storage properties of a server */
|
|
10
|
+
export interface Storage {
|
|
11
|
+
/** Max storage allowed for a server. */
|
|
12
|
+
storageSizeGB?: number;
|
|
13
|
+
}
|
|
14
|
+
/** Backup properties of a server */
|
|
15
|
+
export interface Backup {
|
|
16
|
+
/** Backup retention days for the server. */
|
|
17
|
+
backupRetentionDays?: number;
|
|
18
|
+
/** A value indicating whether Geo-Redundant backup is enabled on the server. */
|
|
19
|
+
geoRedundantBackup?: GeoRedundantBackupEnum;
|
|
20
|
+
/**
|
|
21
|
+
* The earliest restore point time (ISO8601 format) for server.
|
|
22
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
23
|
+
*/
|
|
24
|
+
readonly earliestRestoreDate?: Date;
|
|
25
|
+
}
|
|
26
|
+
/** Network properties of a server */
|
|
27
|
+
export interface Network {
|
|
28
|
+
/**
|
|
29
|
+
* public network access is enabled or not
|
|
30
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
31
|
+
*/
|
|
32
|
+
readonly publicNetworkAccess?: ServerPublicNetworkAccessState;
|
|
33
|
+
/** delegated subnet arm resource id. */
|
|
34
|
+
delegatedSubnetResourceId?: string;
|
|
35
|
+
/** private dns zone arm resource id. */
|
|
36
|
+
privateDnsZoneArmResourceId?: string;
|
|
37
|
+
}
|
|
38
|
+
/** High availability properties of a server */
|
|
39
|
+
export interface HighAvailability {
|
|
40
|
+
/** The HA mode for the server. */
|
|
41
|
+
mode?: HighAvailabilityMode;
|
|
42
|
+
/**
|
|
43
|
+
* A state of a HA server that is visible to user.
|
|
44
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
45
|
+
*/
|
|
46
|
+
readonly state?: ServerHAState;
|
|
47
|
+
/** availability zone information of the standby. */
|
|
48
|
+
standbyAvailabilityZone?: string;
|
|
49
|
+
}
|
|
50
|
+
/** Maintenance window properties of a server. */
|
|
51
|
+
export interface MaintenanceWindow {
|
|
52
|
+
/** indicates whether custom window is enabled or disabled */
|
|
53
|
+
customWindow?: string;
|
|
54
|
+
/** start hour for maintenance window */
|
|
55
|
+
startHour?: number;
|
|
56
|
+
/** start minute for maintenance window */
|
|
57
|
+
startMinute?: number;
|
|
58
|
+
/** day of week for maintenance window */
|
|
59
|
+
dayOfWeek?: number;
|
|
60
|
+
}
|
|
61
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
62
|
+
export interface SystemData {
|
|
63
|
+
/** The identity that created the resource. */
|
|
64
|
+
createdBy?: string;
|
|
65
|
+
/** The type of identity that created the resource. */
|
|
66
|
+
createdByType?: CreatedByType;
|
|
67
|
+
/** The timestamp of resource creation (UTC). */
|
|
68
|
+
createdAt?: Date;
|
|
69
|
+
/** The identity that last modified the resource. */
|
|
70
|
+
lastModifiedBy?: string;
|
|
71
|
+
/** The type of identity that last modified the resource. */
|
|
72
|
+
lastModifiedByType?: CreatedByType;
|
|
73
|
+
/** The timestamp of resource last modification (UTC) */
|
|
74
|
+
lastModifiedAt?: Date;
|
|
75
|
+
}
|
|
76
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
77
|
+
export interface Resource {
|
|
78
|
+
/**
|
|
79
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
80
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
81
|
+
*/
|
|
82
|
+
readonly id?: string;
|
|
83
|
+
/**
|
|
84
|
+
* The name of the resource
|
|
85
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
86
|
+
*/
|
|
87
|
+
readonly name?: string;
|
|
88
|
+
/**
|
|
89
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
90
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
91
|
+
*/
|
|
92
|
+
readonly type?: string;
|
|
93
|
+
}
|
|
94
|
+
/** An error response from the Batch service. */
|
|
95
|
+
export interface CloudError {
|
|
96
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
|
|
97
|
+
error?: ErrorResponse;
|
|
98
|
+
}
|
|
99
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
|
|
100
|
+
export interface ErrorResponse {
|
|
101
|
+
/**
|
|
102
|
+
* The error code.
|
|
103
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
104
|
+
*/
|
|
105
|
+
readonly code?: string;
|
|
106
|
+
/**
|
|
107
|
+
* The error message.
|
|
108
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
109
|
+
*/
|
|
110
|
+
readonly message?: string;
|
|
111
|
+
/**
|
|
112
|
+
* The error target.
|
|
113
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
114
|
+
*/
|
|
115
|
+
readonly target?: string;
|
|
116
|
+
/**
|
|
117
|
+
* The error details.
|
|
118
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
119
|
+
*/
|
|
120
|
+
readonly details?: ErrorResponse[];
|
|
121
|
+
/**
|
|
122
|
+
* The error additional info.
|
|
123
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
124
|
+
*/
|
|
125
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
126
|
+
}
|
|
127
|
+
/** The resource management error additional info. */
|
|
128
|
+
export interface ErrorAdditionalInfo {
|
|
129
|
+
/**
|
|
130
|
+
* The additional info type.
|
|
131
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
132
|
+
*/
|
|
133
|
+
readonly type?: string;
|
|
134
|
+
/**
|
|
135
|
+
* The additional info.
|
|
136
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
137
|
+
*/
|
|
138
|
+
readonly info?: Record<string, unknown>;
|
|
139
|
+
}
|
|
140
|
+
/** Represents a server to be updated. */
|
|
141
|
+
export interface ServerForUpdate {
|
|
142
|
+
/** The location the resource resides in. */
|
|
143
|
+
location?: string;
|
|
144
|
+
/** The SKU (pricing tier) of the server. */
|
|
145
|
+
sku?: Sku;
|
|
146
|
+
/** Application-specific metadata in the form of key-value pairs. */
|
|
147
|
+
tags?: {
|
|
148
|
+
[propertyName: string]: string;
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* The password of the administrator login.
|
|
152
|
+
* This value contains a credential. Consider obscuring before showing to users
|
|
153
|
+
*/
|
|
154
|
+
administratorLoginPassword?: string;
|
|
155
|
+
/** Storage properties of a server. */
|
|
156
|
+
storage?: Storage;
|
|
157
|
+
/** Backup properties of a server. */
|
|
158
|
+
backup?: Backup;
|
|
159
|
+
/** High availability properties of a server. */
|
|
160
|
+
highAvailability?: HighAvailability;
|
|
161
|
+
/** Maintenance window properties of a server. */
|
|
162
|
+
maintenanceWindow?: MaintenanceWindow;
|
|
163
|
+
/** The mode to update a new PostgreSQL server. */
|
|
164
|
+
createMode?: CreateModeForUpdate;
|
|
165
|
+
}
|
|
166
|
+
/** A list of servers. */
|
|
167
|
+
export interface ServerListResult {
|
|
168
|
+
/** The list of flexible servers */
|
|
169
|
+
value?: Server[];
|
|
170
|
+
/** The link used to get the next page of operations. */
|
|
171
|
+
nextLink?: string;
|
|
172
|
+
}
|
|
173
|
+
/** Represents server restart parameters. */
|
|
174
|
+
export interface RestartParameter {
|
|
175
|
+
/** Indicates whether to restart the server with failover. */
|
|
176
|
+
restartWithFailover?: boolean;
|
|
177
|
+
/** Failover mode. */
|
|
178
|
+
failoverMode?: FailoverMode;
|
|
179
|
+
}
|
|
180
|
+
/** A list of firewall rules. */
|
|
181
|
+
export interface FirewallRuleListResult {
|
|
182
|
+
/** The list of firewall rules in a server. */
|
|
183
|
+
value?: FirewallRule[];
|
|
184
|
+
/** The link used to get the next page of operations. */
|
|
185
|
+
nextLink?: string;
|
|
186
|
+
}
|
|
187
|
+
/** A list of server configurations. */
|
|
188
|
+
export interface ConfigurationListResult {
|
|
189
|
+
/** The list of server configurations. */
|
|
190
|
+
value?: Configuration[];
|
|
191
|
+
/** The link used to get the next page of operations. */
|
|
192
|
+
nextLink?: string;
|
|
193
|
+
}
|
|
194
|
+
/** Request from client to check resource name availability. */
|
|
195
|
+
export interface NameAvailabilityRequest {
|
|
196
|
+
/** Resource name to verify. */
|
|
197
|
+
name: string;
|
|
198
|
+
/** Resource type used for verification. */
|
|
199
|
+
type?: string;
|
|
200
|
+
}
|
|
201
|
+
/** Represents a resource name availability. */
|
|
202
|
+
export interface NameAvailability {
|
|
203
|
+
/**
|
|
204
|
+
* Error Message.
|
|
205
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
206
|
+
*/
|
|
207
|
+
readonly message?: string;
|
|
208
|
+
/**
|
|
209
|
+
* Indicates whether the resource name is available.
|
|
210
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
211
|
+
*/
|
|
212
|
+
readonly nameAvailable?: boolean;
|
|
213
|
+
/**
|
|
214
|
+
* name of the PostgreSQL server.
|
|
215
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
216
|
+
*/
|
|
217
|
+
readonly name?: string;
|
|
218
|
+
/**
|
|
219
|
+
* type of the server
|
|
220
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
221
|
+
*/
|
|
222
|
+
readonly type?: string;
|
|
223
|
+
/**
|
|
224
|
+
* The name availability reason.
|
|
225
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
226
|
+
*/
|
|
227
|
+
readonly reason?: Reason;
|
|
228
|
+
}
|
|
229
|
+
/** location capability */
|
|
230
|
+
export interface CapabilitiesListResult {
|
|
231
|
+
/**
|
|
232
|
+
* A list of supported capabilities.
|
|
233
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
234
|
+
*/
|
|
235
|
+
readonly value?: CapabilityProperties[];
|
|
236
|
+
/**
|
|
237
|
+
* Link to retrieve next page of results.
|
|
238
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
239
|
+
*/
|
|
240
|
+
readonly nextLink?: string;
|
|
241
|
+
}
|
|
242
|
+
/** Location capabilities. */
|
|
243
|
+
export interface CapabilityProperties {
|
|
244
|
+
/**
|
|
245
|
+
* zone name
|
|
246
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
247
|
+
*/
|
|
248
|
+
readonly zone?: string;
|
|
249
|
+
/**
|
|
250
|
+
* A value indicating whether a new server in this region can have geo-backups to paired region.
|
|
251
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
252
|
+
*/
|
|
253
|
+
readonly geoBackupSupported?: boolean;
|
|
254
|
+
/**
|
|
255
|
+
* A value indicating whether a new server in this region can support multi zone HA.
|
|
256
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
257
|
+
*/
|
|
258
|
+
readonly zoneRedundantHaSupported?: boolean;
|
|
259
|
+
/**
|
|
260
|
+
* A value indicating whether a new server in this region can have geo-backups to paired region.
|
|
261
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
262
|
+
*/
|
|
263
|
+
readonly zoneRedundantHaAndGeoBackupSupported?: boolean;
|
|
264
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
265
|
+
readonly supportedFlexibleServerEditions?: FlexibleServerEditionCapability[];
|
|
266
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
267
|
+
readonly supportedHyperscaleNodeEditions?: HyperscaleNodeEditionCapability[];
|
|
268
|
+
/**
|
|
269
|
+
* The status
|
|
270
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
271
|
+
*/
|
|
272
|
+
readonly status?: string;
|
|
273
|
+
}
|
|
274
|
+
/** Flexible server edition capabilities. */
|
|
275
|
+
export interface FlexibleServerEditionCapability {
|
|
276
|
+
/**
|
|
277
|
+
* Server edition name
|
|
278
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
279
|
+
*/
|
|
280
|
+
readonly name?: string;
|
|
281
|
+
/**
|
|
282
|
+
* The list of editions supported by this server edition.
|
|
283
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
284
|
+
*/
|
|
285
|
+
readonly supportedStorageEditions?: StorageEditionCapability[];
|
|
286
|
+
/**
|
|
287
|
+
* The list of server versions supported by this server edition.
|
|
288
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
289
|
+
*/
|
|
290
|
+
readonly supportedServerVersions?: ServerVersionCapability[];
|
|
291
|
+
/**
|
|
292
|
+
* The status
|
|
293
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
294
|
+
*/
|
|
295
|
+
readonly status?: string;
|
|
296
|
+
}
|
|
297
|
+
/** storage edition capability */
|
|
298
|
+
export interface StorageEditionCapability {
|
|
299
|
+
/**
|
|
300
|
+
* storage edition name
|
|
301
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
302
|
+
*/
|
|
303
|
+
readonly name?: string;
|
|
304
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
305
|
+
readonly supportedStorageMB?: StorageMBCapability[];
|
|
306
|
+
/**
|
|
307
|
+
* The status
|
|
308
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
309
|
+
*/
|
|
310
|
+
readonly status?: string;
|
|
311
|
+
}
|
|
312
|
+
/** storage size in MB capability */
|
|
313
|
+
export interface StorageMBCapability {
|
|
314
|
+
/**
|
|
315
|
+
* storage MB name
|
|
316
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
317
|
+
*/
|
|
318
|
+
readonly name?: string;
|
|
319
|
+
/**
|
|
320
|
+
* supported IOPS
|
|
321
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
322
|
+
*/
|
|
323
|
+
readonly supportedIops?: number;
|
|
324
|
+
/**
|
|
325
|
+
* storage size in MB
|
|
326
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
327
|
+
*/
|
|
328
|
+
readonly storageSizeMB?: number;
|
|
329
|
+
/**
|
|
330
|
+
* The status
|
|
331
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
332
|
+
*/
|
|
333
|
+
readonly status?: string;
|
|
334
|
+
}
|
|
335
|
+
/** Server version capabilities. */
|
|
336
|
+
export interface ServerVersionCapability {
|
|
337
|
+
/**
|
|
338
|
+
* server version
|
|
339
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
340
|
+
*/
|
|
341
|
+
readonly name?: string;
|
|
342
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
343
|
+
readonly supportedVcores?: VcoreCapability[];
|
|
344
|
+
/**
|
|
345
|
+
* The status
|
|
346
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
347
|
+
*/
|
|
348
|
+
readonly status?: string;
|
|
349
|
+
}
|
|
350
|
+
/** Vcores capability */
|
|
351
|
+
export interface VcoreCapability {
|
|
352
|
+
/**
|
|
353
|
+
* vCore name
|
|
354
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
355
|
+
*/
|
|
356
|
+
readonly name?: string;
|
|
357
|
+
/**
|
|
358
|
+
* supported vCores
|
|
359
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
360
|
+
*/
|
|
361
|
+
readonly vCores?: number;
|
|
362
|
+
/**
|
|
363
|
+
* supported IOPS
|
|
364
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
365
|
+
*/
|
|
366
|
+
readonly supportedIops?: number;
|
|
367
|
+
/**
|
|
368
|
+
* supported memory per vCore in MB
|
|
369
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
370
|
+
*/
|
|
371
|
+
readonly supportedMemoryPerVcoreMB?: number;
|
|
372
|
+
/**
|
|
373
|
+
* The status
|
|
374
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
375
|
+
*/
|
|
376
|
+
readonly status?: string;
|
|
377
|
+
}
|
|
378
|
+
/** Hyperscale node edition capabilities. */
|
|
379
|
+
export interface HyperscaleNodeEditionCapability {
|
|
380
|
+
/**
|
|
381
|
+
* Server edition name
|
|
382
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
383
|
+
*/
|
|
384
|
+
readonly name?: string;
|
|
385
|
+
/**
|
|
386
|
+
* The list of editions supported by this server edition.
|
|
387
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
388
|
+
*/
|
|
389
|
+
readonly supportedStorageEditions?: StorageEditionCapability[];
|
|
390
|
+
/**
|
|
391
|
+
* The list of server versions supported by this server edition.
|
|
392
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
393
|
+
*/
|
|
394
|
+
readonly supportedServerVersions?: ServerVersionCapability[];
|
|
395
|
+
/**
|
|
396
|
+
* The list of Node Types supported by this server edition.
|
|
397
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
398
|
+
*/
|
|
399
|
+
readonly supportedNodeTypes?: NodeTypeCapability[];
|
|
400
|
+
/**
|
|
401
|
+
* The status
|
|
402
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
403
|
+
*/
|
|
404
|
+
readonly status?: string;
|
|
405
|
+
}
|
|
406
|
+
/** node type capability */
|
|
407
|
+
export interface NodeTypeCapability {
|
|
408
|
+
/**
|
|
409
|
+
* note type name
|
|
410
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
411
|
+
*/
|
|
412
|
+
readonly name?: string;
|
|
413
|
+
/**
|
|
414
|
+
* note type
|
|
415
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
416
|
+
*/
|
|
417
|
+
readonly nodeType?: string;
|
|
418
|
+
/**
|
|
419
|
+
* The status
|
|
420
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
421
|
+
*/
|
|
422
|
+
readonly status?: string;
|
|
423
|
+
}
|
|
424
|
+
/** Virtual network subnet usage parameter */
|
|
425
|
+
export interface VirtualNetworkSubnetUsageParameter {
|
|
426
|
+
/** Virtual network resource id. */
|
|
427
|
+
virtualNetworkArmResourceId?: string;
|
|
428
|
+
}
|
|
429
|
+
/** Virtual network subnet usage data. */
|
|
430
|
+
export interface VirtualNetworkSubnetUsageResult {
|
|
431
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
432
|
+
readonly delegatedSubnetsUsage?: DelegatedSubnetUsage[];
|
|
433
|
+
}
|
|
434
|
+
/** Delegated subnet usage data. */
|
|
435
|
+
export interface DelegatedSubnetUsage {
|
|
436
|
+
/**
|
|
437
|
+
* name of the subnet
|
|
438
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
439
|
+
*/
|
|
440
|
+
readonly subnetName?: string;
|
|
441
|
+
/**
|
|
442
|
+
* Number of used delegated subnets
|
|
443
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
444
|
+
*/
|
|
445
|
+
readonly usage?: number;
|
|
446
|
+
}
|
|
447
|
+
/** A list of resource provider operations. */
|
|
448
|
+
export interface OperationListResult {
|
|
449
|
+
/** Collection of available operation details */
|
|
450
|
+
value?: Operation[];
|
|
451
|
+
/**
|
|
452
|
+
* URL client should use to fetch the next page (per server side paging).
|
|
453
|
+
* It's null for now, added for future use.
|
|
454
|
+
*/
|
|
455
|
+
nextLink?: string;
|
|
456
|
+
}
|
|
457
|
+
/** REST API operation definition. */
|
|
458
|
+
export interface Operation {
|
|
459
|
+
/**
|
|
460
|
+
* The name of the operation being performed on this particular object.
|
|
461
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
462
|
+
*/
|
|
463
|
+
readonly name?: string;
|
|
464
|
+
/**
|
|
465
|
+
* The localized display information for this particular operation or action.
|
|
466
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
467
|
+
*/
|
|
468
|
+
readonly display?: OperationDisplay;
|
|
469
|
+
/** Indicates whether the operation is a data action */
|
|
470
|
+
isDataAction?: boolean;
|
|
471
|
+
/**
|
|
472
|
+
* The intended executor of the operation.
|
|
473
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
474
|
+
*/
|
|
475
|
+
readonly origin?: OperationOrigin;
|
|
476
|
+
/**
|
|
477
|
+
* Additional descriptions for the operation.
|
|
478
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
479
|
+
*/
|
|
480
|
+
readonly properties?: {
|
|
481
|
+
[propertyName: string]: Record<string, unknown>;
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
/** Display metadata associated with the operation. */
|
|
485
|
+
export interface OperationDisplay {
|
|
486
|
+
/**
|
|
487
|
+
* Operation resource provider name.
|
|
488
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
489
|
+
*/
|
|
490
|
+
readonly provider?: string;
|
|
491
|
+
/**
|
|
492
|
+
* Resource on which the operation is performed.
|
|
493
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
494
|
+
*/
|
|
495
|
+
readonly resource?: string;
|
|
496
|
+
/**
|
|
497
|
+
* Localized friendly name for the operation.
|
|
498
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
499
|
+
*/
|
|
500
|
+
readonly operation?: string;
|
|
501
|
+
/**
|
|
502
|
+
* Operation description.
|
|
503
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
504
|
+
*/
|
|
505
|
+
readonly description?: string;
|
|
506
|
+
}
|
|
507
|
+
/** A List of databases. */
|
|
508
|
+
export interface DatabaseListResult {
|
|
509
|
+
/** The list of databases housed in a server */
|
|
510
|
+
value?: Database[];
|
|
511
|
+
/** The link used to get the next page of databases. */
|
|
512
|
+
nextLink?: string;
|
|
513
|
+
}
|
|
514
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
515
|
+
export declare type TrackedResource = Resource & {
|
|
516
|
+
/** Resource tags. */
|
|
517
|
+
tags?: {
|
|
518
|
+
[propertyName: string]: string;
|
|
519
|
+
};
|
|
520
|
+
/** The geo-location where the resource lives */
|
|
521
|
+
location: string;
|
|
522
|
+
};
|
|
523
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
524
|
+
export declare type ProxyResource = Resource & {};
|
|
525
|
+
/** Represents a server. */
|
|
526
|
+
export declare type Server = TrackedResource & {
|
|
527
|
+
/** The SKU (pricing tier) of the server. */
|
|
528
|
+
sku?: Sku;
|
|
529
|
+
/**
|
|
530
|
+
* The system metadata relating to this resource.
|
|
531
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
532
|
+
*/
|
|
533
|
+
readonly systemData?: SystemData;
|
|
534
|
+
/** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). */
|
|
535
|
+
administratorLogin?: string;
|
|
536
|
+
/**
|
|
537
|
+
* The administrator login password (required for server creation).
|
|
538
|
+
* This value contains a credential. Consider obscuring before showing to users
|
|
539
|
+
*/
|
|
540
|
+
administratorLoginPassword?: string;
|
|
541
|
+
/** PostgreSQL Server version. */
|
|
542
|
+
version?: ServerVersion;
|
|
543
|
+
/**
|
|
544
|
+
* The minor version of the server.
|
|
545
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
546
|
+
*/
|
|
547
|
+
readonly minorVersion?: string;
|
|
548
|
+
/**
|
|
549
|
+
* A state of a server that is visible to user.
|
|
550
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
551
|
+
*/
|
|
552
|
+
readonly state?: ServerState;
|
|
553
|
+
/**
|
|
554
|
+
* The fully qualified domain name of a server.
|
|
555
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
556
|
+
*/
|
|
557
|
+
readonly fullyQualifiedDomainName?: string;
|
|
558
|
+
/** Storage properties of a server. */
|
|
559
|
+
storage?: Storage;
|
|
560
|
+
/** Backup properties of a server. */
|
|
561
|
+
backup?: Backup;
|
|
562
|
+
/** Network properties of a server. */
|
|
563
|
+
network?: Network;
|
|
564
|
+
/** High availability properties of a server. */
|
|
565
|
+
highAvailability?: HighAvailability;
|
|
566
|
+
/** Maintenance window properties of a server. */
|
|
567
|
+
maintenanceWindow?: MaintenanceWindow;
|
|
568
|
+
/** The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore'. */
|
|
569
|
+
sourceServerResourceId?: string;
|
|
570
|
+
/** Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore'. */
|
|
571
|
+
pointInTimeUTC?: Date;
|
|
572
|
+
/** availability zone information of the server. */
|
|
573
|
+
availabilityZone?: string;
|
|
574
|
+
/** The mode to create a new PostgreSQL server. */
|
|
575
|
+
createMode?: CreateMode;
|
|
576
|
+
};
|
|
577
|
+
/** Represents a server firewall rule. */
|
|
578
|
+
export declare type FirewallRule = ProxyResource & {
|
|
579
|
+
/**
|
|
580
|
+
* The system metadata relating to this resource.
|
|
581
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
582
|
+
*/
|
|
583
|
+
readonly systemData?: SystemData;
|
|
584
|
+
/** The start IP address of the server firewall rule. Must be IPv4 format. */
|
|
585
|
+
startIpAddress: string;
|
|
586
|
+
/** The end IP address of the server firewall rule. Must be IPv4 format. */
|
|
587
|
+
endIpAddress: string;
|
|
588
|
+
};
|
|
589
|
+
/** Represents a Configuration. */
|
|
590
|
+
export declare type Configuration = ProxyResource & {
|
|
591
|
+
/**
|
|
592
|
+
* The system metadata relating to this resource.
|
|
593
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
594
|
+
*/
|
|
595
|
+
readonly systemData?: SystemData;
|
|
596
|
+
/** Value of the configuration. */
|
|
597
|
+
value?: string;
|
|
598
|
+
/**
|
|
599
|
+
* Description of the configuration.
|
|
600
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
601
|
+
*/
|
|
602
|
+
readonly description?: string;
|
|
603
|
+
/**
|
|
604
|
+
* Default value of the configuration.
|
|
605
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
606
|
+
*/
|
|
607
|
+
readonly defaultValue?: string;
|
|
608
|
+
/**
|
|
609
|
+
* Data type of the configuration.
|
|
610
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
611
|
+
*/
|
|
612
|
+
readonly dataType?: ConfigurationDataType;
|
|
613
|
+
/**
|
|
614
|
+
* Allowed values of the configuration.
|
|
615
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
616
|
+
*/
|
|
617
|
+
readonly allowedValues?: string;
|
|
618
|
+
/** Source of the configuration. */
|
|
619
|
+
source?: string;
|
|
620
|
+
/**
|
|
621
|
+
* Configuration dynamic or static.
|
|
622
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
623
|
+
*/
|
|
624
|
+
readonly isDynamicConfig?: boolean;
|
|
625
|
+
/**
|
|
626
|
+
* Configuration read-only or not.
|
|
627
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
628
|
+
*/
|
|
629
|
+
readonly isReadOnly?: boolean;
|
|
630
|
+
/**
|
|
631
|
+
* Configuration is pending restart or not.
|
|
632
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
633
|
+
*/
|
|
634
|
+
readonly isConfigPendingRestart?: boolean;
|
|
635
|
+
/**
|
|
636
|
+
* Configuration unit.
|
|
637
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
638
|
+
*/
|
|
639
|
+
readonly unit?: string;
|
|
640
|
+
/**
|
|
641
|
+
* Configuration documentation link.
|
|
642
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
643
|
+
*/
|
|
644
|
+
readonly documentationLink?: string;
|
|
645
|
+
};
|
|
646
|
+
/** Represents a Database. */
|
|
647
|
+
export declare type Database = ProxyResource & {
|
|
648
|
+
/**
|
|
649
|
+
* The system metadata relating to this resource.
|
|
650
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
651
|
+
*/
|
|
652
|
+
readonly systemData?: SystemData;
|
|
653
|
+
/** The charset of the database. */
|
|
654
|
+
charset?: string;
|
|
655
|
+
/** The collation of the database. */
|
|
656
|
+
collation?: string;
|
|
657
|
+
};
|
|
658
|
+
/** Known values of {@link SkuTier} that the service accepts. */
|
|
659
|
+
export declare enum KnownSkuTier {
|
|
660
|
+
Burstable = "Burstable",
|
|
661
|
+
GeneralPurpose = "GeneralPurpose",
|
|
662
|
+
MemoryOptimized = "MemoryOptimized"
|
|
663
|
+
}
|
|
664
|
+
/**
|
|
665
|
+
* Defines values for SkuTier. \
|
|
666
|
+
* {@link KnownSkuTier} can be used interchangeably with SkuTier,
|
|
667
|
+
* this enum contains the known values that the service supports.
|
|
668
|
+
* ### Known values supported by the service
|
|
669
|
+
* **Burstable** \
|
|
670
|
+
* **GeneralPurpose** \
|
|
671
|
+
* **MemoryOptimized**
|
|
672
|
+
*/
|
|
673
|
+
export declare type SkuTier = string;
|
|
674
|
+
/** Known values of {@link ServerVersion} that the service accepts. */
|
|
675
|
+
export declare enum KnownServerVersion {
|
|
676
|
+
Thirteen = "13",
|
|
677
|
+
Twelve = "12",
|
|
678
|
+
Eleven = "11"
|
|
679
|
+
}
|
|
680
|
+
/**
|
|
681
|
+
* Defines values for ServerVersion. \
|
|
682
|
+
* {@link KnownServerVersion} can be used interchangeably with ServerVersion,
|
|
683
|
+
* this enum contains the known values that the service supports.
|
|
684
|
+
* ### Known values supported by the service
|
|
685
|
+
* **13** \
|
|
686
|
+
* **12** \
|
|
687
|
+
* **11**
|
|
688
|
+
*/
|
|
689
|
+
export declare type ServerVersion = string;
|
|
690
|
+
/** Known values of {@link ServerState} that the service accepts. */
|
|
691
|
+
export declare enum KnownServerState {
|
|
692
|
+
Ready = "Ready",
|
|
693
|
+
Dropping = "Dropping",
|
|
694
|
+
Disabled = "Disabled",
|
|
695
|
+
Starting = "Starting",
|
|
696
|
+
Stopping = "Stopping",
|
|
697
|
+
Stopped = "Stopped",
|
|
698
|
+
Updating = "Updating"
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* Defines values for ServerState. \
|
|
702
|
+
* {@link KnownServerState} can be used interchangeably with ServerState,
|
|
703
|
+
* this enum contains the known values that the service supports.
|
|
704
|
+
* ### Known values supported by the service
|
|
705
|
+
* **Ready** \
|
|
706
|
+
* **Dropping** \
|
|
707
|
+
* **Disabled** \
|
|
708
|
+
* **Starting** \
|
|
709
|
+
* **Stopping** \
|
|
710
|
+
* **Stopped** \
|
|
711
|
+
* **Updating**
|
|
712
|
+
*/
|
|
713
|
+
export declare type ServerState = string;
|
|
714
|
+
/** Known values of {@link GeoRedundantBackupEnum} that the service accepts. */
|
|
715
|
+
export declare enum KnownGeoRedundantBackupEnum {
|
|
716
|
+
Enabled = "Enabled",
|
|
717
|
+
Disabled = "Disabled"
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* Defines values for GeoRedundantBackupEnum. \
|
|
721
|
+
* {@link KnownGeoRedundantBackupEnum} can be used interchangeably with GeoRedundantBackupEnum,
|
|
722
|
+
* this enum contains the known values that the service supports.
|
|
723
|
+
* ### Known values supported by the service
|
|
724
|
+
* **Enabled** \
|
|
725
|
+
* **Disabled**
|
|
726
|
+
*/
|
|
727
|
+
export declare type GeoRedundantBackupEnum = string;
|
|
728
|
+
/** Known values of {@link ServerPublicNetworkAccessState} that the service accepts. */
|
|
729
|
+
export declare enum KnownServerPublicNetworkAccessState {
|
|
730
|
+
Enabled = "Enabled",
|
|
731
|
+
Disabled = "Disabled"
|
|
732
|
+
}
|
|
733
|
+
/**
|
|
734
|
+
* Defines values for ServerPublicNetworkAccessState. \
|
|
735
|
+
* {@link KnownServerPublicNetworkAccessState} can be used interchangeably with ServerPublicNetworkAccessState,
|
|
736
|
+
* this enum contains the known values that the service supports.
|
|
737
|
+
* ### Known values supported by the service
|
|
738
|
+
* **Enabled** \
|
|
739
|
+
* **Disabled**
|
|
740
|
+
*/
|
|
741
|
+
export declare type ServerPublicNetworkAccessState = string;
|
|
742
|
+
/** Known values of {@link HighAvailabilityMode} that the service accepts. */
|
|
743
|
+
export declare enum KnownHighAvailabilityMode {
|
|
744
|
+
Disabled = "Disabled",
|
|
745
|
+
ZoneRedundant = "ZoneRedundant"
|
|
746
|
+
}
|
|
747
|
+
/**
|
|
748
|
+
* Defines values for HighAvailabilityMode. \
|
|
749
|
+
* {@link KnownHighAvailabilityMode} can be used interchangeably with HighAvailabilityMode,
|
|
750
|
+
* this enum contains the known values that the service supports.
|
|
751
|
+
* ### Known values supported by the service
|
|
752
|
+
* **Disabled** \
|
|
753
|
+
* **ZoneRedundant**
|
|
754
|
+
*/
|
|
755
|
+
export declare type HighAvailabilityMode = string;
|
|
756
|
+
/** Known values of {@link ServerHAState} that the service accepts. */
|
|
757
|
+
export declare enum KnownServerHAState {
|
|
758
|
+
NotEnabled = "NotEnabled",
|
|
759
|
+
CreatingStandby = "CreatingStandby",
|
|
760
|
+
ReplicatingData = "ReplicatingData",
|
|
761
|
+
FailingOver = "FailingOver",
|
|
762
|
+
Healthy = "Healthy",
|
|
763
|
+
RemovingStandby = "RemovingStandby"
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* Defines values for ServerHAState. \
|
|
767
|
+
* {@link KnownServerHAState} can be used interchangeably with ServerHAState,
|
|
768
|
+
* this enum contains the known values that the service supports.
|
|
769
|
+
* ### Known values supported by the service
|
|
770
|
+
* **NotEnabled** \
|
|
771
|
+
* **CreatingStandby** \
|
|
772
|
+
* **ReplicatingData** \
|
|
773
|
+
* **FailingOver** \
|
|
774
|
+
* **Healthy** \
|
|
775
|
+
* **RemovingStandby**
|
|
776
|
+
*/
|
|
777
|
+
export declare type ServerHAState = string;
|
|
778
|
+
/** Known values of {@link CreateMode} that the service accepts. */
|
|
779
|
+
export declare enum KnownCreateMode {
|
|
780
|
+
Default = "Default",
|
|
781
|
+
Create = "Create",
|
|
782
|
+
Update = "Update",
|
|
783
|
+
PointInTimeRestore = "PointInTimeRestore"
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
* Defines values for CreateMode. \
|
|
787
|
+
* {@link KnownCreateMode} can be used interchangeably with CreateMode,
|
|
788
|
+
* this enum contains the known values that the service supports.
|
|
789
|
+
* ### Known values supported by the service
|
|
790
|
+
* **Default** \
|
|
791
|
+
* **Create** \
|
|
792
|
+
* **Update** \
|
|
793
|
+
* **PointInTimeRestore**
|
|
794
|
+
*/
|
|
795
|
+
export declare type CreateMode = string;
|
|
796
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
797
|
+
export declare enum KnownCreatedByType {
|
|
798
|
+
User = "User",
|
|
799
|
+
Application = "Application",
|
|
800
|
+
ManagedIdentity = "ManagedIdentity",
|
|
801
|
+
Key = "Key"
|
|
802
|
+
}
|
|
803
|
+
/**
|
|
804
|
+
* Defines values for CreatedByType. \
|
|
805
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
806
|
+
* this enum contains the known values that the service supports.
|
|
807
|
+
* ### Known values supported by the service
|
|
808
|
+
* **User** \
|
|
809
|
+
* **Application** \
|
|
810
|
+
* **ManagedIdentity** \
|
|
811
|
+
* **Key**
|
|
812
|
+
*/
|
|
813
|
+
export declare type CreatedByType = string;
|
|
814
|
+
/** Known values of {@link CreateModeForUpdate} that the service accepts. */
|
|
815
|
+
export declare enum KnownCreateModeForUpdate {
|
|
816
|
+
Default = "Default",
|
|
817
|
+
Update = "Update"
|
|
818
|
+
}
|
|
819
|
+
/**
|
|
820
|
+
* Defines values for CreateModeForUpdate. \
|
|
821
|
+
* {@link KnownCreateModeForUpdate} can be used interchangeably with CreateModeForUpdate,
|
|
822
|
+
* this enum contains the known values that the service supports.
|
|
823
|
+
* ### Known values supported by the service
|
|
824
|
+
* **Default** \
|
|
825
|
+
* **Update**
|
|
826
|
+
*/
|
|
827
|
+
export declare type CreateModeForUpdate = string;
|
|
828
|
+
/** Known values of {@link FailoverMode} that the service accepts. */
|
|
829
|
+
export declare enum KnownFailoverMode {
|
|
830
|
+
PlannedFailover = "PlannedFailover",
|
|
831
|
+
ForcedFailover = "ForcedFailover",
|
|
832
|
+
PlannedSwitchover = "PlannedSwitchover",
|
|
833
|
+
ForcedSwitchover = "ForcedSwitchover"
|
|
834
|
+
}
|
|
835
|
+
/**
|
|
836
|
+
* Defines values for FailoverMode. \
|
|
837
|
+
* {@link KnownFailoverMode} can be used interchangeably with FailoverMode,
|
|
838
|
+
* this enum contains the known values that the service supports.
|
|
839
|
+
* ### Known values supported by the service
|
|
840
|
+
* **PlannedFailover** \
|
|
841
|
+
* **ForcedFailover** \
|
|
842
|
+
* **PlannedSwitchover** \
|
|
843
|
+
* **ForcedSwitchover**
|
|
844
|
+
*/
|
|
845
|
+
export declare type FailoverMode = string;
|
|
846
|
+
/** Known values of {@link ConfigurationDataType} that the service accepts. */
|
|
847
|
+
export declare enum KnownConfigurationDataType {
|
|
848
|
+
Boolean = "Boolean",
|
|
849
|
+
Numeric = "Numeric",
|
|
850
|
+
Integer = "Integer",
|
|
851
|
+
Enumeration = "Enumeration"
|
|
852
|
+
}
|
|
853
|
+
/**
|
|
854
|
+
* Defines values for ConfigurationDataType. \
|
|
855
|
+
* {@link KnownConfigurationDataType} can be used interchangeably with ConfigurationDataType,
|
|
856
|
+
* this enum contains the known values that the service supports.
|
|
857
|
+
* ### Known values supported by the service
|
|
858
|
+
* **Boolean** \
|
|
859
|
+
* **Numeric** \
|
|
860
|
+
* **Integer** \
|
|
861
|
+
* **Enumeration**
|
|
862
|
+
*/
|
|
863
|
+
export declare type ConfigurationDataType = string;
|
|
864
|
+
/** Known values of {@link Reason} that the service accepts. */
|
|
865
|
+
export declare enum KnownReason {
|
|
866
|
+
Invalid = "Invalid",
|
|
867
|
+
AlreadyExists = "AlreadyExists"
|
|
868
|
+
}
|
|
869
|
+
/**
|
|
870
|
+
* Defines values for Reason. \
|
|
871
|
+
* {@link KnownReason} can be used interchangeably with Reason,
|
|
872
|
+
* this enum contains the known values that the service supports.
|
|
873
|
+
* ### Known values supported by the service
|
|
874
|
+
* **Invalid** \
|
|
875
|
+
* **AlreadyExists**
|
|
876
|
+
*/
|
|
877
|
+
export declare type Reason = string;
|
|
878
|
+
/** Known values of {@link OperationOrigin} that the service accepts. */
|
|
879
|
+
export declare enum KnownOperationOrigin {
|
|
880
|
+
NotSpecified = "NotSpecified",
|
|
881
|
+
User = "user",
|
|
882
|
+
System = "system"
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* Defines values for OperationOrigin. \
|
|
886
|
+
* {@link KnownOperationOrigin} can be used interchangeably with OperationOrigin,
|
|
887
|
+
* this enum contains the known values that the service supports.
|
|
888
|
+
* ### Known values supported by the service
|
|
889
|
+
* **NotSpecified** \
|
|
890
|
+
* **user** \
|
|
891
|
+
* **system**
|
|
892
|
+
*/
|
|
893
|
+
export declare type OperationOrigin = string;
|
|
894
|
+
/** Optional parameters. */
|
|
895
|
+
export interface ServersCreateOptionalParams extends coreClient.OperationOptions {
|
|
896
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
897
|
+
updateIntervalInMs?: number;
|
|
898
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
899
|
+
resumeFrom?: string;
|
|
900
|
+
}
|
|
901
|
+
/** Contains response data for the create operation. */
|
|
902
|
+
export declare type ServersCreateResponse = Server;
|
|
903
|
+
/** Optional parameters. */
|
|
904
|
+
export interface ServersUpdateOptionalParams extends coreClient.OperationOptions {
|
|
905
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
906
|
+
updateIntervalInMs?: number;
|
|
907
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
908
|
+
resumeFrom?: string;
|
|
909
|
+
}
|
|
910
|
+
/** Contains response data for the update operation. */
|
|
911
|
+
export declare type ServersUpdateResponse = Server;
|
|
912
|
+
/** Optional parameters. */
|
|
913
|
+
export interface ServersDeleteOptionalParams extends coreClient.OperationOptions {
|
|
914
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
915
|
+
updateIntervalInMs?: number;
|
|
916
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
917
|
+
resumeFrom?: string;
|
|
918
|
+
}
|
|
919
|
+
/** Optional parameters. */
|
|
920
|
+
export interface ServersGetOptionalParams extends coreClient.OperationOptions {
|
|
921
|
+
}
|
|
922
|
+
/** Contains response data for the get operation. */
|
|
923
|
+
export declare type ServersGetResponse = Server;
|
|
924
|
+
/** Optional parameters. */
|
|
925
|
+
export interface ServersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
926
|
+
}
|
|
927
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
928
|
+
export declare type ServersListByResourceGroupResponse = ServerListResult;
|
|
929
|
+
/** Optional parameters. */
|
|
930
|
+
export interface ServersListOptionalParams extends coreClient.OperationOptions {
|
|
931
|
+
}
|
|
932
|
+
/** Contains response data for the list operation. */
|
|
933
|
+
export declare type ServersListResponse = ServerListResult;
|
|
934
|
+
/** Optional parameters. */
|
|
935
|
+
export interface ServersRestartOptionalParams extends coreClient.OperationOptions {
|
|
936
|
+
/** The parameters for restarting a server. */
|
|
937
|
+
parameters?: RestartParameter;
|
|
938
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
939
|
+
updateIntervalInMs?: number;
|
|
940
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
941
|
+
resumeFrom?: string;
|
|
942
|
+
}
|
|
943
|
+
/** Optional parameters. */
|
|
944
|
+
export interface ServersStartOptionalParams extends coreClient.OperationOptions {
|
|
945
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
946
|
+
updateIntervalInMs?: number;
|
|
947
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
948
|
+
resumeFrom?: string;
|
|
949
|
+
}
|
|
950
|
+
/** Optional parameters. */
|
|
951
|
+
export interface ServersStopOptionalParams extends coreClient.OperationOptions {
|
|
952
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
953
|
+
updateIntervalInMs?: number;
|
|
954
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
955
|
+
resumeFrom?: string;
|
|
956
|
+
}
|
|
957
|
+
/** Optional parameters. */
|
|
958
|
+
export interface ServersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
959
|
+
}
|
|
960
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
961
|
+
export declare type ServersListByResourceGroupNextResponse = ServerListResult;
|
|
962
|
+
/** Optional parameters. */
|
|
963
|
+
export interface ServersListNextOptionalParams extends coreClient.OperationOptions {
|
|
964
|
+
}
|
|
965
|
+
/** Contains response data for the listNext operation. */
|
|
966
|
+
export declare type ServersListNextResponse = ServerListResult;
|
|
967
|
+
/** Optional parameters. */
|
|
968
|
+
export interface FirewallRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
969
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
970
|
+
updateIntervalInMs?: number;
|
|
971
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
972
|
+
resumeFrom?: string;
|
|
973
|
+
}
|
|
974
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
975
|
+
export declare type FirewallRulesCreateOrUpdateResponse = FirewallRule;
|
|
976
|
+
/** Optional parameters. */
|
|
977
|
+
export interface FirewallRulesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
978
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
979
|
+
updateIntervalInMs?: number;
|
|
980
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
981
|
+
resumeFrom?: string;
|
|
982
|
+
}
|
|
983
|
+
/** Optional parameters. */
|
|
984
|
+
export interface FirewallRulesGetOptionalParams extends coreClient.OperationOptions {
|
|
985
|
+
}
|
|
986
|
+
/** Contains response data for the get operation. */
|
|
987
|
+
export declare type FirewallRulesGetResponse = FirewallRule;
|
|
988
|
+
/** Optional parameters. */
|
|
989
|
+
export interface FirewallRulesListByServerOptionalParams extends coreClient.OperationOptions {
|
|
990
|
+
}
|
|
991
|
+
/** Contains response data for the listByServer operation. */
|
|
992
|
+
export declare type FirewallRulesListByServerResponse = FirewallRuleListResult;
|
|
993
|
+
/** Optional parameters. */
|
|
994
|
+
export interface FirewallRulesListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
995
|
+
}
|
|
996
|
+
/** Contains response data for the listByServerNext operation. */
|
|
997
|
+
export declare type FirewallRulesListByServerNextResponse = FirewallRuleListResult;
|
|
998
|
+
/** Optional parameters. */
|
|
999
|
+
export interface ConfigurationsListByServerOptionalParams extends coreClient.OperationOptions {
|
|
1000
|
+
}
|
|
1001
|
+
/** Contains response data for the listByServer operation. */
|
|
1002
|
+
export declare type ConfigurationsListByServerResponse = ConfigurationListResult;
|
|
1003
|
+
/** Optional parameters. */
|
|
1004
|
+
export interface ConfigurationsGetOptionalParams extends coreClient.OperationOptions {
|
|
1005
|
+
}
|
|
1006
|
+
/** Contains response data for the get operation. */
|
|
1007
|
+
export declare type ConfigurationsGetResponse = Configuration;
|
|
1008
|
+
/** Optional parameters. */
|
|
1009
|
+
export interface ConfigurationsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1010
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1011
|
+
updateIntervalInMs?: number;
|
|
1012
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1013
|
+
resumeFrom?: string;
|
|
1014
|
+
}
|
|
1015
|
+
/** Contains response data for the update operation. */
|
|
1016
|
+
export declare type ConfigurationsUpdateResponse = Configuration;
|
|
1017
|
+
/** Optional parameters. */
|
|
1018
|
+
export interface ConfigurationsPutOptionalParams extends coreClient.OperationOptions {
|
|
1019
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1020
|
+
updateIntervalInMs?: number;
|
|
1021
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1022
|
+
resumeFrom?: string;
|
|
1023
|
+
}
|
|
1024
|
+
/** Contains response data for the put operation. */
|
|
1025
|
+
export declare type ConfigurationsPutResponse = Configuration;
|
|
1026
|
+
/** Optional parameters. */
|
|
1027
|
+
export interface ConfigurationsListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
1028
|
+
}
|
|
1029
|
+
/** Contains response data for the listByServerNext operation. */
|
|
1030
|
+
export declare type ConfigurationsListByServerNextResponse = ConfigurationListResult;
|
|
1031
|
+
/** Optional parameters. */
|
|
1032
|
+
export interface CheckNameAvailabilityExecuteOptionalParams extends coreClient.OperationOptions {
|
|
1033
|
+
}
|
|
1034
|
+
/** Contains response data for the execute operation. */
|
|
1035
|
+
export declare type CheckNameAvailabilityExecuteResponse = NameAvailability;
|
|
1036
|
+
/** Optional parameters. */
|
|
1037
|
+
export interface LocationBasedCapabilitiesExecuteOptionalParams extends coreClient.OperationOptions {
|
|
1038
|
+
}
|
|
1039
|
+
/** Contains response data for the execute operation. */
|
|
1040
|
+
export declare type LocationBasedCapabilitiesExecuteResponse = CapabilitiesListResult;
|
|
1041
|
+
/** Optional parameters. */
|
|
1042
|
+
export interface LocationBasedCapabilitiesExecuteNextOptionalParams extends coreClient.OperationOptions {
|
|
1043
|
+
}
|
|
1044
|
+
/** Contains response data for the executeNext operation. */
|
|
1045
|
+
export declare type LocationBasedCapabilitiesExecuteNextResponse = CapabilitiesListResult;
|
|
1046
|
+
/** Optional parameters. */
|
|
1047
|
+
export interface VirtualNetworkSubnetUsageExecuteOptionalParams extends coreClient.OperationOptions {
|
|
1048
|
+
}
|
|
1049
|
+
/** Contains response data for the execute operation. */
|
|
1050
|
+
export declare type VirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult;
|
|
1051
|
+
/** Optional parameters. */
|
|
1052
|
+
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
1053
|
+
}
|
|
1054
|
+
/** Contains response data for the list operation. */
|
|
1055
|
+
export declare type OperationsListResponse = OperationListResult;
|
|
1056
|
+
/** Optional parameters. */
|
|
1057
|
+
export interface DatabasesCreateOptionalParams extends coreClient.OperationOptions {
|
|
1058
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1059
|
+
updateIntervalInMs?: number;
|
|
1060
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1061
|
+
resumeFrom?: string;
|
|
1062
|
+
}
|
|
1063
|
+
/** Contains response data for the create operation. */
|
|
1064
|
+
export declare type DatabasesCreateResponse = Database;
|
|
1065
|
+
/** Optional parameters. */
|
|
1066
|
+
export interface DatabasesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1067
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1068
|
+
updateIntervalInMs?: number;
|
|
1069
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1070
|
+
resumeFrom?: string;
|
|
1071
|
+
}
|
|
1072
|
+
/** Optional parameters. */
|
|
1073
|
+
export interface DatabasesGetOptionalParams extends coreClient.OperationOptions {
|
|
1074
|
+
}
|
|
1075
|
+
/** Contains response data for the get operation. */
|
|
1076
|
+
export declare type DatabasesGetResponse = Database;
|
|
1077
|
+
/** Optional parameters. */
|
|
1078
|
+
export interface DatabasesListByServerOptionalParams extends coreClient.OperationOptions {
|
|
1079
|
+
}
|
|
1080
|
+
/** Contains response data for the listByServer operation. */
|
|
1081
|
+
export declare type DatabasesListByServerResponse = DatabaseListResult;
|
|
1082
|
+
/** Optional parameters. */
|
|
1083
|
+
export interface DatabasesListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
1084
|
+
}
|
|
1085
|
+
/** Contains response data for the listByServerNext operation. */
|
|
1086
|
+
export declare type DatabasesListByServerNextResponse = DatabaseListResult;
|
|
1087
|
+
/** Optional parameters. */
|
|
1088
|
+
export interface GetPrivateDnsZoneSuffixExecuteOptionalParams extends coreClient.OperationOptions {
|
|
1089
|
+
}
|
|
1090
|
+
/** Contains response data for the execute operation. */
|
|
1091
|
+
export declare type GetPrivateDnsZoneSuffixExecuteResponse = {
|
|
1092
|
+
/** The parsed response body. */
|
|
1093
|
+
body: string;
|
|
1094
|
+
};
|
|
1095
|
+
/** Optional parameters. */
|
|
1096
|
+
export interface PostgreSQLManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
1097
|
+
/** server parameter */
|
|
1098
|
+
$host?: string;
|
|
1099
|
+
/** Api Version */
|
|
1100
|
+
apiVersion?: string;
|
|
1101
|
+
/** Overrides client endpoint. */
|
|
1102
|
+
endpoint?: string;
|
|
1103
|
+
}
|
|
1104
|
+
//# sourceMappingURL=index.d.ts.map
|