@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
package/src/models/index.ts
CHANGED
|
@@ -6,552 +6,484 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
/** Sku information related properties of a server. */
|
|
12
|
+
export interface Sku {
|
|
13
|
+
/** The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. */
|
|
14
|
+
name: string;
|
|
15
|
+
/** The tier of the particular SKU, e.g. Burstable. */
|
|
16
|
+
tier: SkuTier;
|
|
17
|
+
}
|
|
13
18
|
|
|
14
|
-
/**
|
|
15
|
-
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Virtual network resource id.
|
|
20
|
-
*/
|
|
21
|
-
virtualNetworkArmResourceId?: string;
|
|
19
|
+
/** Storage properties of a server */
|
|
20
|
+
export interface Storage {
|
|
21
|
+
/** Max storage allowed for a server. */
|
|
22
|
+
storageSizeGB?: number;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
/**
|
|
25
|
-
|
|
26
|
-
*/
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
|
|
30
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
31
|
-
*/
|
|
32
|
-
readonly subnetName?: string;
|
|
25
|
+
/** Backup properties of a server */
|
|
26
|
+
export interface Backup {
|
|
27
|
+
/** Backup retention days for the server. */
|
|
28
|
+
backupRetentionDays?: number;
|
|
29
|
+
/** A value indicating whether Geo-Redundant backup is enabled on the server. */
|
|
30
|
+
geoRedundantBackup?: GeoRedundantBackupEnum;
|
|
33
31
|
/**
|
|
34
|
-
*
|
|
35
|
-
*
|
|
32
|
+
* The earliest restore point time (ISO8601 format) for server.
|
|
33
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
36
34
|
*/
|
|
37
|
-
readonly
|
|
35
|
+
readonly earliestRestoreDate?: Date;
|
|
38
36
|
}
|
|
39
37
|
|
|
40
|
-
/**
|
|
41
|
-
|
|
42
|
-
*/
|
|
43
|
-
export interface VirtualNetworkSubnetUsageResult {
|
|
38
|
+
/** Network properties of a server */
|
|
39
|
+
export interface Network {
|
|
44
40
|
/**
|
|
45
|
-
*
|
|
41
|
+
* public network access is enabled or not
|
|
42
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
46
43
|
*/
|
|
47
|
-
readonly
|
|
44
|
+
readonly publicNetworkAccess?: ServerPublicNetworkAccessState;
|
|
45
|
+
/** delegated subnet arm resource id. */
|
|
46
|
+
delegatedSubnetResourceId?: string;
|
|
47
|
+
/** private dns zone arm resource id. */
|
|
48
|
+
privateDnsZoneArmResourceId?: string;
|
|
48
49
|
}
|
|
49
50
|
|
|
50
|
-
/**
|
|
51
|
-
|
|
52
|
-
*/
|
|
53
|
-
|
|
51
|
+
/** High availability properties of a server */
|
|
52
|
+
export interface HighAvailability {
|
|
53
|
+
/** The HA mode for the server. */
|
|
54
|
+
mode?: HighAvailabilityMode;
|
|
54
55
|
/**
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
readonly name?: string;
|
|
59
|
-
/**
|
|
60
|
-
* supported IOPS
|
|
61
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
56
|
+
* A state of a HA server that is visible to user.
|
|
57
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
62
58
|
*/
|
|
63
|
-
readonly
|
|
64
|
-
/**
|
|
65
|
-
|
|
66
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
67
|
-
*/
|
|
68
|
-
readonly storageSizeMB?: number;
|
|
59
|
+
readonly state?: ServerHAState;
|
|
60
|
+
/** availability zone information of the standby. */
|
|
61
|
+
standbyAvailabilityZone?: string;
|
|
69
62
|
}
|
|
70
63
|
|
|
71
|
-
/**
|
|
72
|
-
|
|
73
|
-
*/
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
64
|
+
/** Maintenance window properties of a server. */
|
|
65
|
+
export interface MaintenanceWindow {
|
|
66
|
+
/** indicates whether custom window is enabled or disabled */
|
|
67
|
+
customWindow?: string;
|
|
68
|
+
/** start hour for maintenance window */
|
|
69
|
+
startHour?: number;
|
|
70
|
+
/** start minute for maintenance window */
|
|
71
|
+
startMinute?: number;
|
|
72
|
+
/** day of week for maintenance window */
|
|
73
|
+
dayOfWeek?: number;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
77
|
+
export interface SystemData {
|
|
78
|
+
/** The identity that created the resource. */
|
|
79
|
+
createdBy?: string;
|
|
80
|
+
/** The type of identity that created the resource. */
|
|
81
|
+
createdByType?: CreatedByType;
|
|
82
|
+
/** The timestamp of resource creation (UTC). */
|
|
83
|
+
createdAt?: Date;
|
|
84
|
+
/** The identity that last modified the resource. */
|
|
85
|
+
lastModifiedBy?: string;
|
|
86
|
+
/** The type of identity that last modified the resource. */
|
|
87
|
+
lastModifiedByType?: CreatedByType;
|
|
88
|
+
/** The timestamp of resource last modification (UTC) */
|
|
89
|
+
lastModifiedAt?: Date;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
93
|
+
export interface Resource {
|
|
80
94
|
/**
|
|
81
|
-
*
|
|
82
|
-
*
|
|
95
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
96
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
83
97
|
*/
|
|
84
|
-
readonly
|
|
98
|
+
readonly id?: string;
|
|
85
99
|
/**
|
|
86
|
-
*
|
|
87
|
-
*
|
|
100
|
+
* The name of the resource
|
|
101
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
88
102
|
*/
|
|
89
|
-
readonly
|
|
103
|
+
readonly name?: string;
|
|
90
104
|
/**
|
|
91
|
-
*
|
|
92
|
-
*
|
|
105
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
106
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
93
107
|
*/
|
|
94
|
-
readonly
|
|
108
|
+
readonly type?: string;
|
|
95
109
|
}
|
|
96
110
|
|
|
97
|
-
/**
|
|
98
|
-
|
|
99
|
-
*/
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* server version
|
|
103
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
104
|
-
*/
|
|
105
|
-
readonly name?: string;
|
|
106
|
-
/**
|
|
107
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
108
|
-
*/
|
|
109
|
-
readonly supportedVcores?: VcoreCapability[];
|
|
111
|
+
/** An error response from the Batch service. */
|
|
112
|
+
export interface CloudError {
|
|
113
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
|
|
114
|
+
error?: ErrorResponse;
|
|
110
115
|
}
|
|
111
116
|
|
|
112
|
-
/**
|
|
113
|
-
|
|
114
|
-
*/
|
|
115
|
-
export interface StorageEditionCapability {
|
|
117
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
|
|
118
|
+
export interface ErrorResponse {
|
|
116
119
|
/**
|
|
117
|
-
*
|
|
118
|
-
*
|
|
120
|
+
* The error code.
|
|
121
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
119
122
|
*/
|
|
120
|
-
readonly
|
|
123
|
+
readonly code?: string;
|
|
121
124
|
/**
|
|
122
|
-
*
|
|
125
|
+
* The error message.
|
|
126
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
123
127
|
*/
|
|
124
|
-
readonly
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* Server edition capabilities.
|
|
129
|
-
*/
|
|
130
|
-
export interface ServerEditionCapability {
|
|
128
|
+
readonly message?: string;
|
|
131
129
|
/**
|
|
132
|
-
*
|
|
133
|
-
*
|
|
130
|
+
* The error target.
|
|
131
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
134
132
|
*/
|
|
135
|
-
readonly
|
|
133
|
+
readonly target?: string;
|
|
136
134
|
/**
|
|
137
|
-
*
|
|
135
|
+
* The error details.
|
|
136
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
138
137
|
*/
|
|
139
|
-
readonly
|
|
138
|
+
readonly details?: ErrorResponse[];
|
|
140
139
|
/**
|
|
141
|
-
*
|
|
140
|
+
* The error additional info.
|
|
141
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
142
142
|
*/
|
|
143
|
-
readonly
|
|
143
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
/**
|
|
147
|
-
|
|
148
|
-
*/
|
|
149
|
-
export interface CapabilityProperties {
|
|
146
|
+
/** The resource management error additional info. */
|
|
147
|
+
export interface ErrorAdditionalInfo {
|
|
150
148
|
/**
|
|
151
|
-
*
|
|
152
|
-
*
|
|
149
|
+
* The additional info type.
|
|
150
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
153
151
|
*/
|
|
154
|
-
readonly
|
|
152
|
+
readonly type?: string;
|
|
155
153
|
/**
|
|
156
|
-
*
|
|
154
|
+
* The additional info.
|
|
155
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
157
156
|
*/
|
|
158
|
-
readonly
|
|
157
|
+
readonly info?: Record<string, unknown>;
|
|
159
158
|
}
|
|
160
159
|
|
|
161
|
-
/**
|
|
162
|
-
|
|
163
|
-
*/
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
160
|
+
/** Represents a server to be updated. */
|
|
161
|
+
export interface ServerForUpdate {
|
|
162
|
+
/** The location the resource resides in. */
|
|
163
|
+
location?: string;
|
|
164
|
+
/** The SKU (pricing tier) of the server. */
|
|
165
|
+
sku?: Sku;
|
|
166
|
+
/** Application-specific metadata in the form of key-value pairs. */
|
|
167
|
+
tags?: { [propertyName: string]: string };
|
|
169
168
|
/**
|
|
170
|
-
*
|
|
169
|
+
* The password of the administrator login.
|
|
170
|
+
* This value contains a credential. Consider obscuring before showing to users
|
|
171
171
|
*/
|
|
172
|
-
|
|
172
|
+
administratorLoginPassword?: string;
|
|
173
|
+
/** Storage properties of a server. */
|
|
174
|
+
storage?: Storage;
|
|
175
|
+
/** Backup properties of a server. */
|
|
176
|
+
backup?: Backup;
|
|
177
|
+
/** High availability properties of a server. */
|
|
178
|
+
highAvailability?: HighAvailability;
|
|
179
|
+
/** Maintenance window properties of a server. */
|
|
180
|
+
maintenanceWindow?: MaintenanceWindow;
|
|
181
|
+
/** The mode to update a new PostgreSQL server. */
|
|
182
|
+
createMode?: CreateModeForUpdate;
|
|
173
183
|
}
|
|
174
184
|
|
|
175
|
-
/**
|
|
176
|
-
|
|
177
|
-
*/
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
|
|
181
|
-
*/
|
|
182
|
-
customWindow?: string;
|
|
183
|
-
/**
|
|
184
|
-
* start hour for maintenance window
|
|
185
|
-
*/
|
|
186
|
-
startHour?: number;
|
|
187
|
-
/**
|
|
188
|
-
* start minute for maintenance window
|
|
189
|
-
*/
|
|
190
|
-
startMinute?: number;
|
|
191
|
-
/**
|
|
192
|
-
* day of week for maintenance window
|
|
193
|
-
*/
|
|
194
|
-
dayOfWeek?: number;
|
|
185
|
+
/** A list of servers. */
|
|
186
|
+
export interface ServerListResult {
|
|
187
|
+
/** The list of flexible servers */
|
|
188
|
+
value?: Server[];
|
|
189
|
+
/** The link used to get the next page of operations. */
|
|
190
|
+
nextLink?: string;
|
|
195
191
|
}
|
|
196
192
|
|
|
197
|
-
/**
|
|
198
|
-
|
|
199
|
-
*/
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
|
|
203
|
-
*/
|
|
204
|
-
subnetArmResourceId?: string;
|
|
193
|
+
/** Represents server restart parameters. */
|
|
194
|
+
export interface RestartParameter {
|
|
195
|
+
/** Indicates whether to restart the server with failover. */
|
|
196
|
+
restartWithFailover?: boolean;
|
|
197
|
+
/** Failover mode. */
|
|
198
|
+
failoverMode?: FailoverMode;
|
|
205
199
|
}
|
|
206
200
|
|
|
207
|
-
/**
|
|
208
|
-
|
|
209
|
-
*/
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
|
|
213
|
-
*/
|
|
214
|
-
privateDnsZoneArmResourceId?: string;
|
|
201
|
+
/** A list of firewall rules. */
|
|
202
|
+
export interface FirewallRuleListResult {
|
|
203
|
+
/** The list of firewall rules in a server. */
|
|
204
|
+
value?: FirewallRule[];
|
|
205
|
+
/** The link used to get the next page of operations. */
|
|
206
|
+
nextLink?: string;
|
|
215
207
|
}
|
|
216
208
|
|
|
217
|
-
/**
|
|
218
|
-
|
|
219
|
-
*/
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
|
|
223
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
224
|
-
*/
|
|
225
|
-
readonly principalId?: string;
|
|
226
|
-
/**
|
|
227
|
-
* The tenant ID of resource.
|
|
228
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
229
|
-
*/
|
|
230
|
-
readonly tenantId?: string;
|
|
231
|
-
/**
|
|
232
|
-
* The identity type. Possible values include: 'SystemAssigned'
|
|
233
|
-
*/
|
|
234
|
-
type?: ResourceIdentityType;
|
|
209
|
+
/** A list of server configurations. */
|
|
210
|
+
export interface ConfigurationListResult {
|
|
211
|
+
/** The list of server configurations. */
|
|
212
|
+
value?: Configuration[];
|
|
213
|
+
/** The link used to get the next page of operations. */
|
|
214
|
+
nextLink?: string;
|
|
235
215
|
}
|
|
236
216
|
|
|
237
|
-
/**
|
|
238
|
-
|
|
239
|
-
*/
|
|
240
|
-
export interface Sku {
|
|
241
|
-
/**
|
|
242
|
-
* The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3.
|
|
243
|
-
*/
|
|
217
|
+
/** Request from client to check resource name availability. */
|
|
218
|
+
export interface NameAvailabilityRequest {
|
|
219
|
+
/** Resource name to verify. */
|
|
244
220
|
name: string;
|
|
245
|
-
/**
|
|
246
|
-
|
|
247
|
-
* 'GeneralPurpose', 'MemoryOptimized'
|
|
248
|
-
*/
|
|
249
|
-
tier: SkuTier;
|
|
221
|
+
/** Resource type used for verification. */
|
|
222
|
+
type?: string;
|
|
250
223
|
}
|
|
251
224
|
|
|
252
|
-
/**
|
|
253
|
-
|
|
254
|
-
* @summary Resource
|
|
255
|
-
*/
|
|
256
|
-
export interface Resource extends BaseResource {
|
|
225
|
+
/** Represents a resource name availability. */
|
|
226
|
+
export interface NameAvailability {
|
|
257
227
|
/**
|
|
258
|
-
*
|
|
259
|
-
*
|
|
260
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
228
|
+
* Error Message.
|
|
229
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
261
230
|
*/
|
|
262
|
-
readonly
|
|
231
|
+
readonly message?: string;
|
|
263
232
|
/**
|
|
264
|
-
*
|
|
265
|
-
*
|
|
233
|
+
* Indicates whether the resource name is available.
|
|
234
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
266
235
|
*/
|
|
267
|
-
readonly
|
|
236
|
+
readonly nameAvailable?: boolean;
|
|
268
237
|
/**
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
238
|
+
* name of the PostgreSQL server.
|
|
239
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
272
240
|
*/
|
|
273
|
-
readonly
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* The resource model definition for an Azure Resource Manager tracked top level resource which has
|
|
278
|
-
* 'tags' and a 'location'
|
|
279
|
-
* @summary Tracked Resource
|
|
280
|
-
*/
|
|
281
|
-
export interface TrackedResource extends Resource {
|
|
241
|
+
readonly name?: string;
|
|
282
242
|
/**
|
|
283
|
-
*
|
|
243
|
+
* type of the server
|
|
244
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
284
245
|
*/
|
|
285
|
-
|
|
246
|
+
readonly type?: string;
|
|
286
247
|
/**
|
|
287
|
-
* The
|
|
248
|
+
* The name availability reason.
|
|
249
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
288
250
|
*/
|
|
289
|
-
|
|
251
|
+
readonly reason?: Reason;
|
|
290
252
|
}
|
|
291
253
|
|
|
292
|
-
/**
|
|
293
|
-
|
|
294
|
-
*/
|
|
295
|
-
export interface Server extends TrackedResource {
|
|
296
|
-
/**
|
|
297
|
-
* The Azure Active Directory identity of the server.
|
|
298
|
-
*/
|
|
299
|
-
identity?: Identity;
|
|
300
|
-
/**
|
|
301
|
-
* The SKU (pricing tier) of the server.
|
|
302
|
-
*/
|
|
303
|
-
sku?: Sku;
|
|
304
|
-
/**
|
|
305
|
-
* The administrator's login name of a server. Can only be specified when the server is being
|
|
306
|
-
* created (and is required for creation).
|
|
307
|
-
*/
|
|
308
|
-
administratorLogin?: string;
|
|
309
|
-
/**
|
|
310
|
-
* The administrator login password (required for server creation).
|
|
311
|
-
*/
|
|
312
|
-
administratorLoginPassword?: string;
|
|
254
|
+
/** location capability */
|
|
255
|
+
export interface CapabilitiesListResult {
|
|
313
256
|
/**
|
|
314
|
-
*
|
|
257
|
+
* A list of supported capabilities.
|
|
258
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
315
259
|
*/
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* A state of a server that is visible to user. Possible values include: 'Ready', 'Dropping',
|
|
319
|
-
* 'Disabled', 'Starting', 'Stopping', 'Stopped', 'Updating'
|
|
320
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
321
|
-
*/
|
|
322
|
-
readonly state?: ServerState;
|
|
323
|
-
/**
|
|
324
|
-
* A state of a HA server that is visible to user. Possible values include: 'NotEnabled',
|
|
325
|
-
* 'CreatingStandby', 'ReplicatingData', 'FailingOver', 'Healthy', 'RemovingStandby'
|
|
326
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
327
|
-
*/
|
|
328
|
-
readonly haState?: ServerHAState;
|
|
329
|
-
/**
|
|
330
|
-
* The fully qualified domain name of a server.
|
|
331
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
332
|
-
*/
|
|
333
|
-
readonly fullyQualifiedDomainName?: string;
|
|
260
|
+
readonly value?: CapabilityProperties[];
|
|
334
261
|
/**
|
|
335
|
-
*
|
|
336
|
-
|
|
337
|
-
displayName?: string;
|
|
338
|
-
/**
|
|
339
|
-
* Storage profile of a server.
|
|
340
|
-
*/
|
|
341
|
-
storageProfile?: StorageProfile;
|
|
342
|
-
/**
|
|
343
|
-
* public network access is enabled or not. Possible values include: 'Enabled', 'Disabled'
|
|
344
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
345
|
-
*/
|
|
346
|
-
readonly publicNetworkAccess?: ServerPublicNetworkAccessState;
|
|
347
|
-
/**
|
|
348
|
-
* Maintenance window of a server.
|
|
349
|
-
*/
|
|
350
|
-
maintenanceWindow?: MaintenanceWindow;
|
|
351
|
-
/**
|
|
352
|
-
* stand by count value can be either enabled or disabled. Possible values include: 'Enabled',
|
|
353
|
-
* 'Disabled'
|
|
262
|
+
* Link to retrieve next page of results.
|
|
263
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
354
264
|
*/
|
|
355
|
-
|
|
265
|
+
readonly nextLink?: string;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/** Location capabilities. */
|
|
269
|
+
export interface CapabilityProperties {
|
|
356
270
|
/**
|
|
357
|
-
*
|
|
271
|
+
* zone name
|
|
272
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
358
273
|
*/
|
|
359
|
-
|
|
274
|
+
readonly zone?: string;
|
|
360
275
|
/**
|
|
361
|
-
*
|
|
276
|
+
* A value indicating whether a new server in this region can have geo-backups to paired region.
|
|
277
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
362
278
|
*/
|
|
363
|
-
|
|
279
|
+
readonly geoBackupSupported?: boolean;
|
|
364
280
|
/**
|
|
365
|
-
*
|
|
281
|
+
* A value indicating whether a new server in this region can support multi zone HA.
|
|
282
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
366
283
|
*/
|
|
367
|
-
|
|
284
|
+
readonly zoneRedundantHaSupported?: boolean;
|
|
368
285
|
/**
|
|
369
|
-
*
|
|
286
|
+
* A value indicating whether a new server in this region can have geo-backups to paired region.
|
|
287
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
370
288
|
*/
|
|
371
|
-
|
|
289
|
+
readonly zoneRedundantHaAndGeoBackupSupported?: boolean;
|
|
290
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
291
|
+
readonly supportedFlexibleServerEditions?: FlexibleServerEditionCapability[];
|
|
292
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
293
|
+
readonly supportedHyperscaleNodeEditions?: HyperscaleNodeEditionCapability[];
|
|
372
294
|
/**
|
|
373
|
-
*
|
|
295
|
+
* The status
|
|
296
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
374
297
|
*/
|
|
375
|
-
|
|
298
|
+
readonly status?: string;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/** Flexible server edition capabilities. */
|
|
302
|
+
export interface FlexibleServerEditionCapability {
|
|
376
303
|
/**
|
|
377
|
-
*
|
|
378
|
-
*
|
|
304
|
+
* Server edition name
|
|
305
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
379
306
|
*/
|
|
380
|
-
readonly
|
|
307
|
+
readonly name?: string;
|
|
381
308
|
/**
|
|
382
|
-
*
|
|
383
|
-
*
|
|
309
|
+
* The list of editions supported by this server edition.
|
|
310
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
384
311
|
*/
|
|
385
|
-
readonly
|
|
386
|
-
delegatedSubnetArguments?: ServerPropertiesDelegatedSubnetArguments;
|
|
387
|
-
privateDnsZoneArguments?: ServerPropertiesPrivateDnsZoneArguments;
|
|
312
|
+
readonly supportedStorageEditions?: StorageEditionCapability[];
|
|
388
313
|
/**
|
|
389
|
-
* The
|
|
390
|
-
*
|
|
314
|
+
* The list of server versions supported by this server edition.
|
|
315
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
391
316
|
*/
|
|
392
|
-
|
|
317
|
+
readonly supportedServerVersions?: ServerVersionCapability[];
|
|
393
318
|
/**
|
|
394
|
-
*
|
|
319
|
+
* The status
|
|
320
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
395
321
|
*/
|
|
396
|
-
|
|
322
|
+
readonly status?: string;
|
|
397
323
|
}
|
|
398
324
|
|
|
399
|
-
/**
|
|
400
|
-
|
|
401
|
-
*/
|
|
402
|
-
export interface ServerForUpdate {
|
|
403
|
-
/**
|
|
404
|
-
* The location the resource resides in.
|
|
405
|
-
*/
|
|
406
|
-
location?: string;
|
|
325
|
+
/** storage edition capability */
|
|
326
|
+
export interface StorageEditionCapability {
|
|
407
327
|
/**
|
|
408
|
-
*
|
|
328
|
+
* storage edition name
|
|
329
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
409
330
|
*/
|
|
410
|
-
|
|
331
|
+
readonly name?: string;
|
|
332
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
333
|
+
readonly supportedStorageMB?: StorageMBCapability[];
|
|
411
334
|
/**
|
|
412
|
-
* The
|
|
335
|
+
* The status
|
|
336
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
413
337
|
*/
|
|
414
|
-
|
|
338
|
+
readonly status?: string;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/** storage size in MB capability */
|
|
342
|
+
export interface StorageMBCapability {
|
|
415
343
|
/**
|
|
416
|
-
*
|
|
344
|
+
* storage MB name
|
|
345
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
417
346
|
*/
|
|
418
|
-
|
|
347
|
+
readonly name?: string;
|
|
419
348
|
/**
|
|
420
|
-
*
|
|
421
|
-
*
|
|
349
|
+
* supported IOPS
|
|
350
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
422
351
|
*/
|
|
423
|
-
|
|
352
|
+
readonly supportedIops?: number;
|
|
424
353
|
/**
|
|
425
|
-
*
|
|
354
|
+
* storage size in MB
|
|
355
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
426
356
|
*/
|
|
427
|
-
|
|
357
|
+
readonly storageSizeMB?: number;
|
|
428
358
|
/**
|
|
429
|
-
*
|
|
359
|
+
* The status
|
|
360
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
430
361
|
*/
|
|
431
|
-
|
|
362
|
+
readonly status?: string;
|
|
432
363
|
}
|
|
433
364
|
|
|
434
|
-
/**
|
|
435
|
-
|
|
436
|
-
* and a location
|
|
437
|
-
* @summary Proxy Resource
|
|
438
|
-
*/
|
|
439
|
-
export interface ProxyResource extends Resource {
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* Represents a server firewall rule.
|
|
444
|
-
*/
|
|
445
|
-
export interface FirewallRule extends ProxyResource {
|
|
365
|
+
/** Server version capabilities. */
|
|
366
|
+
export interface ServerVersionCapability {
|
|
446
367
|
/**
|
|
447
|
-
*
|
|
368
|
+
* server version
|
|
369
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
448
370
|
*/
|
|
449
|
-
|
|
371
|
+
readonly name?: string;
|
|
372
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
373
|
+
readonly supportedVcores?: VcoreCapability[];
|
|
450
374
|
/**
|
|
451
|
-
* The
|
|
375
|
+
* The status
|
|
376
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
452
377
|
*/
|
|
453
|
-
|
|
378
|
+
readonly status?: string;
|
|
454
379
|
}
|
|
455
380
|
|
|
456
|
-
/**
|
|
457
|
-
|
|
458
|
-
*/
|
|
459
|
-
export interface Configuration extends ProxyResource {
|
|
460
|
-
/**
|
|
461
|
-
* Value of the configuration.
|
|
462
|
-
*/
|
|
463
|
-
value?: string;
|
|
381
|
+
/** Vcores capability */
|
|
382
|
+
export interface VcoreCapability {
|
|
464
383
|
/**
|
|
465
|
-
*
|
|
466
|
-
*
|
|
384
|
+
* vCore name
|
|
385
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
467
386
|
*/
|
|
468
|
-
readonly
|
|
387
|
+
readonly name?: string;
|
|
469
388
|
/**
|
|
470
|
-
*
|
|
471
|
-
*
|
|
389
|
+
* supported vCores
|
|
390
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
472
391
|
*/
|
|
473
|
-
readonly
|
|
392
|
+
readonly vCores?: number;
|
|
474
393
|
/**
|
|
475
|
-
*
|
|
476
|
-
*
|
|
477
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
394
|
+
* supported IOPS
|
|
395
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
478
396
|
*/
|
|
479
|
-
readonly
|
|
397
|
+
readonly supportedIops?: number;
|
|
480
398
|
/**
|
|
481
|
-
*
|
|
482
|
-
*
|
|
399
|
+
* supported memory per vCore in MB
|
|
400
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
483
401
|
*/
|
|
484
|
-
readonly
|
|
402
|
+
readonly supportedMemoryPerVcoreMB?: number;
|
|
485
403
|
/**
|
|
486
|
-
*
|
|
404
|
+
* The status
|
|
405
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
487
406
|
*/
|
|
488
|
-
|
|
407
|
+
readonly status?: string;
|
|
489
408
|
}
|
|
490
409
|
|
|
491
|
-
/**
|
|
492
|
-
|
|
493
|
-
*/
|
|
494
|
-
export interface OperationDisplay {
|
|
410
|
+
/** Hyperscale node edition capabilities. */
|
|
411
|
+
export interface HyperscaleNodeEditionCapability {
|
|
495
412
|
/**
|
|
496
|
-
*
|
|
497
|
-
*
|
|
413
|
+
* Server edition name
|
|
414
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
498
415
|
*/
|
|
499
|
-
readonly
|
|
416
|
+
readonly name?: string;
|
|
500
417
|
/**
|
|
501
|
-
*
|
|
502
|
-
*
|
|
418
|
+
* The list of editions supported by this server edition.
|
|
419
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
503
420
|
*/
|
|
504
|
-
readonly
|
|
421
|
+
readonly supportedStorageEditions?: StorageEditionCapability[];
|
|
505
422
|
/**
|
|
506
|
-
*
|
|
507
|
-
*
|
|
423
|
+
* The list of server versions supported by this server edition.
|
|
424
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
508
425
|
*/
|
|
509
|
-
readonly
|
|
426
|
+
readonly supportedServerVersions?: ServerVersionCapability[];
|
|
510
427
|
/**
|
|
511
|
-
*
|
|
512
|
-
*
|
|
428
|
+
* The list of Node Types supported by this server edition.
|
|
429
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
513
430
|
*/
|
|
514
|
-
readonly
|
|
431
|
+
readonly supportedNodeTypes?: NodeTypeCapability[];
|
|
432
|
+
/**
|
|
433
|
+
* The status
|
|
434
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
435
|
+
*/
|
|
436
|
+
readonly status?: string;
|
|
515
437
|
}
|
|
516
438
|
|
|
517
|
-
/**
|
|
518
|
-
|
|
519
|
-
*/
|
|
520
|
-
export interface Operation {
|
|
439
|
+
/** node type capability */
|
|
440
|
+
export interface NodeTypeCapability {
|
|
521
441
|
/**
|
|
522
|
-
*
|
|
523
|
-
*
|
|
442
|
+
* note type name
|
|
443
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
524
444
|
*/
|
|
525
445
|
readonly name?: string;
|
|
526
446
|
/**
|
|
527
|
-
*
|
|
528
|
-
*
|
|
447
|
+
* note type
|
|
448
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
529
449
|
*/
|
|
530
|
-
readonly
|
|
450
|
+
readonly nodeType?: string;
|
|
531
451
|
/**
|
|
532
|
-
*
|
|
452
|
+
* The status
|
|
453
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
533
454
|
*/
|
|
534
|
-
|
|
455
|
+
readonly status?: string;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/** Virtual network subnet usage parameter */
|
|
459
|
+
export interface VirtualNetworkSubnetUsageParameter {
|
|
460
|
+
/** Virtual network resource id. */
|
|
461
|
+
virtualNetworkArmResourceId?: string;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/** Virtual network subnet usage data. */
|
|
465
|
+
export interface VirtualNetworkSubnetUsageResult {
|
|
466
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
467
|
+
readonly delegatedSubnetsUsage?: DelegatedSubnetUsage[];
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
/** Delegated subnet usage data. */
|
|
471
|
+
export interface DelegatedSubnetUsage {
|
|
535
472
|
/**
|
|
536
|
-
*
|
|
537
|
-
*
|
|
538
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
473
|
+
* name of the subnet
|
|
474
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
539
475
|
*/
|
|
540
|
-
readonly
|
|
476
|
+
readonly subnetName?: string;
|
|
541
477
|
/**
|
|
542
|
-
*
|
|
543
|
-
*
|
|
478
|
+
* Number of used delegated subnets
|
|
479
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
544
480
|
*/
|
|
545
|
-
readonly
|
|
481
|
+
readonly usage?: number;
|
|
546
482
|
}
|
|
547
483
|
|
|
548
|
-
/**
|
|
549
|
-
* A list of resource provider operations.
|
|
550
|
-
*/
|
|
484
|
+
/** A list of resource provider operations. */
|
|
551
485
|
export interface OperationListResult {
|
|
552
|
-
/**
|
|
553
|
-
* Collection of available operation details
|
|
554
|
-
*/
|
|
486
|
+
/** Collection of available operation details */
|
|
555
487
|
value?: Operation[];
|
|
556
488
|
/**
|
|
557
489
|
* URL client should use to fetch the next page (per server side paging).
|
|
@@ -560,979 +492,752 @@ export interface OperationListResult {
|
|
|
560
492
|
nextLink?: string;
|
|
561
493
|
}
|
|
562
494
|
|
|
563
|
-
/**
|
|
564
|
-
|
|
565
|
-
*/
|
|
566
|
-
export interface NameAvailabilityRequest {
|
|
567
|
-
/**
|
|
568
|
-
* Resource name to verify.
|
|
569
|
-
*/
|
|
570
|
-
name: string;
|
|
571
|
-
/**
|
|
572
|
-
* Resource type used for verification.
|
|
573
|
-
*/
|
|
574
|
-
type?: string;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* Represents a resource name availability.
|
|
579
|
-
*/
|
|
580
|
-
export interface NameAvailability {
|
|
581
|
-
/**
|
|
582
|
-
* Error Message.
|
|
583
|
-
*/
|
|
584
|
-
message?: string;
|
|
585
|
-
/**
|
|
586
|
-
* Indicates whether the resource name is available.
|
|
587
|
-
*/
|
|
588
|
-
nameAvailable?: boolean;
|
|
495
|
+
/** REST API operation definition. */
|
|
496
|
+
export interface Operation {
|
|
589
497
|
/**
|
|
590
|
-
* name of the
|
|
498
|
+
* The name of the operation being performed on this particular object.
|
|
499
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
591
500
|
*/
|
|
592
|
-
name?: string;
|
|
501
|
+
readonly name?: string;
|
|
593
502
|
/**
|
|
594
|
-
*
|
|
503
|
+
* The localized display information for this particular operation or action.
|
|
504
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
595
505
|
*/
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
/**
|
|
600
|
-
* The resource management error additional info.
|
|
601
|
-
*/
|
|
602
|
-
export interface ErrorAdditionalInfo {
|
|
506
|
+
readonly display?: OperationDisplay;
|
|
507
|
+
/** Indicates whether the operation is a data action */
|
|
508
|
+
isDataAction?: boolean;
|
|
603
509
|
/**
|
|
604
|
-
* The
|
|
605
|
-
*
|
|
510
|
+
* The intended executor of the operation.
|
|
511
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
606
512
|
*/
|
|
607
|
-
readonly
|
|
513
|
+
readonly origin?: OperationOrigin;
|
|
608
514
|
/**
|
|
609
|
-
*
|
|
610
|
-
*
|
|
515
|
+
* Additional descriptions for the operation.
|
|
516
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
611
517
|
*/
|
|
612
|
-
readonly
|
|
518
|
+
readonly properties?: { [propertyName: string]: Record<string, unknown> };
|
|
613
519
|
}
|
|
614
520
|
|
|
615
|
-
/**
|
|
616
|
-
|
|
617
|
-
* operations. (This also follows the OData error response format.)
|
|
618
|
-
* @summary Error Response
|
|
619
|
-
*/
|
|
620
|
-
export interface ErrorResponse {
|
|
621
|
-
/**
|
|
622
|
-
* The error code.
|
|
623
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
624
|
-
*/
|
|
625
|
-
readonly code?: string;
|
|
521
|
+
/** Display metadata associated with the operation. */
|
|
522
|
+
export interface OperationDisplay {
|
|
626
523
|
/**
|
|
627
|
-
*
|
|
628
|
-
*
|
|
524
|
+
* Operation resource provider name.
|
|
525
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
629
526
|
*/
|
|
630
|
-
readonly
|
|
527
|
+
readonly provider?: string;
|
|
631
528
|
/**
|
|
632
|
-
*
|
|
633
|
-
*
|
|
529
|
+
* Resource on which the operation is performed.
|
|
530
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
634
531
|
*/
|
|
635
|
-
readonly
|
|
532
|
+
readonly resource?: string;
|
|
636
533
|
/**
|
|
637
|
-
*
|
|
638
|
-
*
|
|
534
|
+
* Localized friendly name for the operation.
|
|
535
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
639
536
|
*/
|
|
640
|
-
readonly
|
|
537
|
+
readonly operation?: string;
|
|
641
538
|
/**
|
|
642
|
-
*
|
|
643
|
-
*
|
|
539
|
+
* Operation description.
|
|
540
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
644
541
|
*/
|
|
645
|
-
readonly
|
|
542
|
+
readonly description?: string;
|
|
646
543
|
}
|
|
647
544
|
|
|
648
|
-
/**
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
* Resource Etag.
|
|
655
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
656
|
-
*/
|
|
657
|
-
readonly etag?: string;
|
|
545
|
+
/** A List of databases. */
|
|
546
|
+
export interface DatabaseListResult {
|
|
547
|
+
/** The list of databases housed in a server */
|
|
548
|
+
value?: Database[];
|
|
549
|
+
/** The link used to get the next page of databases. */
|
|
550
|
+
nextLink?: string;
|
|
658
551
|
}
|
|
659
552
|
|
|
660
|
-
/**
|
|
661
|
-
|
|
662
|
-
*/
|
|
663
|
-
|
|
664
|
-
|
|
553
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
554
|
+
export type TrackedResource = Resource & {
|
|
555
|
+
/** Resource tags. */
|
|
556
|
+
tags?: { [propertyName: string]: string };
|
|
557
|
+
/** The geo-location where the resource lives */
|
|
558
|
+
location: string;
|
|
559
|
+
};
|
|
665
560
|
|
|
666
|
-
/**
|
|
667
|
-
|
|
668
|
-
*/
|
|
669
|
-
export interface ResourceModelWithAllowedPropertySetSku extends Sku {
|
|
670
|
-
}
|
|
561
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
562
|
+
export type ProxyResource = Resource & {};
|
|
671
563
|
|
|
672
|
-
/**
|
|
673
|
-
|
|
674
|
-
*/
|
|
675
|
-
|
|
564
|
+
/** Represents a server. */
|
|
565
|
+
export type Server = TrackedResource & {
|
|
566
|
+
/** The SKU (pricing tier) of the server. */
|
|
567
|
+
sku?: Sku;
|
|
676
568
|
/**
|
|
677
|
-
*
|
|
569
|
+
* The system metadata relating to this resource.
|
|
570
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
678
571
|
*/
|
|
679
|
-
|
|
572
|
+
readonly systemData?: SystemData;
|
|
573
|
+
/** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). */
|
|
574
|
+
administratorLogin?: string;
|
|
680
575
|
/**
|
|
681
|
-
* The
|
|
576
|
+
* The administrator login password (required for server creation).
|
|
577
|
+
* This value contains a credential. Consider obscuring before showing to users
|
|
682
578
|
*/
|
|
683
|
-
|
|
579
|
+
administratorLoginPassword?: string;
|
|
580
|
+
/** PostgreSQL Server version. */
|
|
581
|
+
version?: ServerVersion;
|
|
684
582
|
/**
|
|
685
|
-
* The
|
|
686
|
-
*
|
|
583
|
+
* The minor version of the server.
|
|
584
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
687
585
|
*/
|
|
688
|
-
|
|
586
|
+
readonly minorVersion?: string;
|
|
689
587
|
/**
|
|
690
|
-
* A
|
|
691
|
-
*
|
|
588
|
+
* A state of a server that is visible to user.
|
|
589
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
692
590
|
*/
|
|
693
|
-
|
|
591
|
+
readonly state?: ServerState;
|
|
694
592
|
/**
|
|
695
|
-
* The
|
|
593
|
+
* The fully qualified domain name of a server.
|
|
594
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
696
595
|
*/
|
|
697
|
-
|
|
698
|
-
|
|
596
|
+
readonly fullyQualifiedDomainName?: string;
|
|
597
|
+
/** Storage properties of a server. */
|
|
598
|
+
storage?: Storage;
|
|
599
|
+
/** Backup properties of a server. */
|
|
600
|
+
backup?: Backup;
|
|
601
|
+
/** Network properties of a server. */
|
|
602
|
+
network?: Network;
|
|
603
|
+
/** High availability properties of a server. */
|
|
604
|
+
highAvailability?: HighAvailability;
|
|
605
|
+
/** Maintenance window properties of a server. */
|
|
606
|
+
maintenanceWindow?: MaintenanceWindow;
|
|
607
|
+
/** The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore'. */
|
|
608
|
+
sourceServerResourceId?: string;
|
|
609
|
+
/** Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore'. */
|
|
610
|
+
pointInTimeUTC?: Date;
|
|
611
|
+
/** availability zone information of the server. */
|
|
612
|
+
availabilityZone?: string;
|
|
613
|
+
/** The mode to create a new PostgreSQL server. */
|
|
614
|
+
createMode?: CreateMode;
|
|
615
|
+
};
|
|
699
616
|
|
|
700
|
-
/**
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
617
|
+
/** Represents a server firewall rule. */
|
|
618
|
+
export type FirewallRule = ProxyResource & {
|
|
619
|
+
/**
|
|
620
|
+
* The system metadata relating to this resource.
|
|
621
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
622
|
+
*/
|
|
623
|
+
readonly systemData?: SystemData;
|
|
624
|
+
/** The start IP address of the server firewall rule. Must be IPv4 format. */
|
|
625
|
+
startIpAddress: string;
|
|
626
|
+
/** The end IP address of the server firewall rule. Must be IPv4 format. */
|
|
627
|
+
endIpAddress: string;
|
|
628
|
+
};
|
|
705
629
|
|
|
706
|
-
/**
|
|
707
|
-
|
|
708
|
-
* Except properties bag, there cannot be a top level property outside of this set.
|
|
709
|
-
*/
|
|
710
|
-
export interface ResourceModelWithAllowedPropertySet extends BaseResource {
|
|
630
|
+
/** Represents a Configuration. */
|
|
631
|
+
export type Configuration = ProxyResource & {
|
|
711
632
|
/**
|
|
712
|
-
*
|
|
713
|
-
*
|
|
714
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
633
|
+
* The system metadata relating to this resource.
|
|
634
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
715
635
|
*/
|
|
716
|
-
readonly
|
|
636
|
+
readonly systemData?: SystemData;
|
|
637
|
+
/** Value of the configuration. */
|
|
638
|
+
value?: string;
|
|
717
639
|
/**
|
|
718
|
-
*
|
|
719
|
-
*
|
|
640
|
+
* Description of the configuration.
|
|
641
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
720
642
|
*/
|
|
721
|
-
readonly
|
|
643
|
+
readonly description?: string;
|
|
722
644
|
/**
|
|
723
|
-
*
|
|
724
|
-
*
|
|
725
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
645
|
+
* Default value of the configuration.
|
|
646
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
726
647
|
*/
|
|
727
|
-
readonly
|
|
648
|
+
readonly defaultValue?: string;
|
|
728
649
|
/**
|
|
729
|
-
*
|
|
650
|
+
* Data type of the configuration.
|
|
651
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
730
652
|
*/
|
|
731
|
-
|
|
653
|
+
readonly dataType?: ConfigurationDataType;
|
|
732
654
|
/**
|
|
733
|
-
*
|
|
734
|
-
*
|
|
735
|
-
* will not delete the resource if it is removed from the template since it is managed by another
|
|
736
|
-
* resource.
|
|
655
|
+
* Allowed values of the configuration.
|
|
656
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
737
657
|
*/
|
|
738
|
-
|
|
658
|
+
readonly allowedValues?: string;
|
|
659
|
+
/** Source of the configuration. */
|
|
660
|
+
source?: string;
|
|
739
661
|
/**
|
|
740
|
-
*
|
|
741
|
-
*
|
|
742
|
-
* provider must validate and persist this value.
|
|
662
|
+
* Configuration dynamic or static.
|
|
663
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
743
664
|
*/
|
|
744
|
-
|
|
665
|
+
readonly isDynamicConfig?: boolean;
|
|
745
666
|
/**
|
|
746
|
-
*
|
|
747
|
-
*
|
|
748
|
-
* or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag
|
|
749
|
-
* (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
|
|
750
|
-
* (section 14.27) header fields.
|
|
751
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
667
|
+
* Configuration read-only or not.
|
|
668
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
752
669
|
*/
|
|
753
|
-
readonly
|
|
670
|
+
readonly isReadOnly?: boolean;
|
|
754
671
|
/**
|
|
755
|
-
*
|
|
672
|
+
* Configuration is pending restart or not.
|
|
673
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
756
674
|
*/
|
|
757
|
-
|
|
758
|
-
identity?: ResourceModelWithAllowedPropertySetIdentity;
|
|
759
|
-
sku?: ResourceModelWithAllowedPropertySetSku;
|
|
760
|
-
plan?: ResourceModelWithAllowedPropertySetPlan;
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
/**
|
|
764
|
-
* Represents a Database.
|
|
765
|
-
*/
|
|
766
|
-
export interface Database extends ProxyResource {
|
|
675
|
+
readonly isConfigPendingRestart?: boolean;
|
|
767
676
|
/**
|
|
768
|
-
*
|
|
677
|
+
* Configuration unit.
|
|
678
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
769
679
|
*/
|
|
770
|
-
|
|
680
|
+
readonly unit?: string;
|
|
681
|
+
/**
|
|
682
|
+
* Configuration documentation link.
|
|
683
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
684
|
+
*/
|
|
685
|
+
readonly documentationLink?: string;
|
|
686
|
+
};
|
|
687
|
+
|
|
688
|
+
/** Represents a Database. */
|
|
689
|
+
export type Database = ProxyResource & {
|
|
771
690
|
/**
|
|
772
|
-
* The
|
|
691
|
+
* The system metadata relating to this resource.
|
|
692
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
773
693
|
*/
|
|
694
|
+
readonly systemData?: SystemData;
|
|
695
|
+
/** The charset of the database. */
|
|
696
|
+
charset?: string;
|
|
697
|
+
/** The collation of the database. */
|
|
774
698
|
collation?: string;
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
/** Known values of {@link SkuTier} that the service accepts. */
|
|
702
|
+
export enum KnownSkuTier {
|
|
703
|
+
Burstable = "Burstable",
|
|
704
|
+
GeneralPurpose = "GeneralPurpose",
|
|
705
|
+
MemoryOptimized = "MemoryOptimized"
|
|
775
706
|
}
|
|
776
707
|
|
|
777
708
|
/**
|
|
778
|
-
*
|
|
709
|
+
* Defines values for SkuTier. \
|
|
710
|
+
* {@link KnownSkuTier} can be used interchangeably with SkuTier,
|
|
711
|
+
* this enum contains the known values that the service supports.
|
|
712
|
+
* ### Known values supported by the service
|
|
713
|
+
* **Burstable** \
|
|
714
|
+
* **GeneralPurpose** \
|
|
715
|
+
* **MemoryOptimized**
|
|
779
716
|
*/
|
|
780
|
-
export
|
|
781
|
-
|
|
717
|
+
export type SkuTier = string;
|
|
718
|
+
|
|
719
|
+
/** Known values of {@link ServerVersion} that the service accepts. */
|
|
720
|
+
export enum KnownServerVersion {
|
|
721
|
+
Thirteen = "13",
|
|
722
|
+
Twelve = "12",
|
|
723
|
+
Eleven = "11"
|
|
782
724
|
}
|
|
783
725
|
|
|
784
726
|
/**
|
|
785
|
-
*
|
|
786
|
-
*
|
|
787
|
-
*
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
727
|
+
* Defines values for ServerVersion. \
|
|
728
|
+
* {@link KnownServerVersion} can be used interchangeably with ServerVersion,
|
|
729
|
+
* this enum contains the known values that the service supports.
|
|
730
|
+
* ### Known values supported by the service
|
|
731
|
+
* **13** \
|
|
732
|
+
* **12** \
|
|
733
|
+
* **11**
|
|
734
|
+
*/
|
|
735
|
+
export type ServerVersion = string;
|
|
736
|
+
|
|
737
|
+
/** Known values of {@link ServerState} that the service accepts. */
|
|
738
|
+
export enum KnownServerState {
|
|
739
|
+
Ready = "Ready",
|
|
740
|
+
Dropping = "Dropping",
|
|
741
|
+
Disabled = "Disabled",
|
|
742
|
+
Starting = "Starting",
|
|
743
|
+
Stopping = "Stopping",
|
|
744
|
+
Stopped = "Stopped",
|
|
745
|
+
Updating = "Updating"
|
|
794
746
|
}
|
|
795
747
|
|
|
796
748
|
/**
|
|
797
|
-
*
|
|
798
|
-
*
|
|
799
|
-
*
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
749
|
+
* Defines values for ServerState. \
|
|
750
|
+
* {@link KnownServerState} can be used interchangeably with ServerState,
|
|
751
|
+
* this enum contains the known values that the service supports.
|
|
752
|
+
* ### Known values supported by the service
|
|
753
|
+
* **Ready** \
|
|
754
|
+
* **Dropping** \
|
|
755
|
+
* **Disabled** \
|
|
756
|
+
* **Starting** \
|
|
757
|
+
* **Stopping** \
|
|
758
|
+
* **Stopped** \
|
|
759
|
+
* **Updating**
|
|
760
|
+
*/
|
|
761
|
+
export type ServerState = string;
|
|
762
|
+
|
|
763
|
+
/** Known values of {@link GeoRedundantBackupEnum} that the service accepts. */
|
|
764
|
+
export enum KnownGeoRedundantBackupEnum {
|
|
765
|
+
Enabled = "Enabled",
|
|
766
|
+
Disabled = "Disabled"
|
|
806
767
|
}
|
|
807
768
|
|
|
808
769
|
/**
|
|
809
|
-
*
|
|
810
|
-
*
|
|
811
|
-
*
|
|
770
|
+
* Defines values for GeoRedundantBackupEnum. \
|
|
771
|
+
* {@link KnownGeoRedundantBackupEnum} can be used interchangeably with GeoRedundantBackupEnum,
|
|
772
|
+
* this enum contains the known values that the service supports.
|
|
773
|
+
* ### Known values supported by the service
|
|
774
|
+
* **Enabled** \
|
|
775
|
+
* **Disabled**
|
|
812
776
|
*/
|
|
813
|
-
export
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
777
|
+
export type GeoRedundantBackupEnum = string;
|
|
778
|
+
|
|
779
|
+
/** Known values of {@link ServerPublicNetworkAccessState} that the service accepts. */
|
|
780
|
+
export enum KnownServerPublicNetworkAccessState {
|
|
781
|
+
Enabled = "Enabled",
|
|
782
|
+
Disabled = "Disabled"
|
|
818
783
|
}
|
|
819
784
|
|
|
820
785
|
/**
|
|
821
|
-
*
|
|
822
|
-
*
|
|
823
|
-
*
|
|
786
|
+
* Defines values for ServerPublicNetworkAccessState. \
|
|
787
|
+
* {@link KnownServerPublicNetworkAccessState} can be used interchangeably with ServerPublicNetworkAccessState,
|
|
788
|
+
* this enum contains the known values that the service supports.
|
|
789
|
+
* ### Known values supported by the service
|
|
790
|
+
* **Enabled** \
|
|
791
|
+
* **Disabled**
|
|
824
792
|
*/
|
|
825
|
-
export
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
793
|
+
export type ServerPublicNetworkAccessState = string;
|
|
794
|
+
|
|
795
|
+
/** Known values of {@link HighAvailabilityMode} that the service accepts. */
|
|
796
|
+
export enum KnownHighAvailabilityMode {
|
|
797
|
+
Disabled = "Disabled",
|
|
798
|
+
ZoneRedundant = "ZoneRedundant"
|
|
831
799
|
}
|
|
832
800
|
|
|
833
801
|
/**
|
|
834
|
-
*
|
|
835
|
-
*
|
|
836
|
-
*
|
|
802
|
+
* Defines values for HighAvailabilityMode. \
|
|
803
|
+
* {@link KnownHighAvailabilityMode} can be used interchangeably with HighAvailabilityMode,
|
|
804
|
+
* this enum contains the known values that the service supports.
|
|
805
|
+
* ### Known values supported by the service
|
|
806
|
+
* **Disabled** \
|
|
807
|
+
* **ZoneRedundant**
|
|
837
808
|
*/
|
|
838
|
-
export
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
809
|
+
export type HighAvailabilityMode = string;
|
|
810
|
+
|
|
811
|
+
/** Known values of {@link ServerHAState} that the service accepts. */
|
|
812
|
+
export enum KnownServerHAState {
|
|
813
|
+
NotEnabled = "NotEnabled",
|
|
814
|
+
CreatingStandby = "CreatingStandby",
|
|
815
|
+
ReplicatingData = "ReplicatingData",
|
|
816
|
+
FailingOver = "FailingOver",
|
|
817
|
+
Healthy = "Healthy",
|
|
818
|
+
RemovingStandby = "RemovingStandby"
|
|
843
819
|
}
|
|
844
820
|
|
|
845
821
|
/**
|
|
846
|
-
* Defines values for
|
|
847
|
-
*
|
|
848
|
-
*
|
|
849
|
-
*
|
|
850
|
-
|
|
851
|
-
|
|
822
|
+
* Defines values for ServerHAState. \
|
|
823
|
+
* {@link KnownServerHAState} can be used interchangeably with ServerHAState,
|
|
824
|
+
* this enum contains the known values that the service supports.
|
|
825
|
+
* ### Known values supported by the service
|
|
826
|
+
* **NotEnabled** \
|
|
827
|
+
* **CreatingStandby** \
|
|
828
|
+
* **ReplicatingData** \
|
|
829
|
+
* **FailingOver** \
|
|
830
|
+
* **Healthy** \
|
|
831
|
+
* **RemovingStandby**
|
|
832
|
+
*/
|
|
833
|
+
export type ServerHAState = string;
|
|
834
|
+
|
|
835
|
+
/** Known values of {@link CreateMode} that the service accepts. */
|
|
836
|
+
export enum KnownCreateMode {
|
|
837
|
+
Default = "Default",
|
|
838
|
+
Create = "Create",
|
|
839
|
+
Update = "Update",
|
|
840
|
+
PointInTimeRestore = "PointInTimeRestore"
|
|
841
|
+
}
|
|
852
842
|
|
|
853
843
|
/**
|
|
854
|
-
* Defines values for
|
|
855
|
-
*
|
|
856
|
-
*
|
|
857
|
-
*
|
|
858
|
-
*
|
|
844
|
+
* Defines values for CreateMode. \
|
|
845
|
+
* {@link KnownCreateMode} can be used interchangeably with CreateMode,
|
|
846
|
+
* this enum contains the known values that the service supports.
|
|
847
|
+
* ### Known values supported by the service
|
|
848
|
+
* **Default** \
|
|
849
|
+
* **Create** \
|
|
850
|
+
* **Update** \
|
|
851
|
+
* **PointInTimeRestore**
|
|
859
852
|
*/
|
|
860
|
-
export type
|
|
853
|
+
export type CreateMode = string;
|
|
861
854
|
|
|
862
|
-
/**
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
export type ServerHAState = 'NotEnabled' | 'CreatingStandby' | 'ReplicatingData' | 'FailingOver' | 'Healthy' | 'RemovingStandby';
|
|
855
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
856
|
+
export enum KnownCreatedByType {
|
|
857
|
+
User = "User",
|
|
858
|
+
Application = "Application",
|
|
859
|
+
ManagedIdentity = "ManagedIdentity",
|
|
860
|
+
Key = "Key"
|
|
861
|
+
}
|
|
870
862
|
|
|
871
863
|
/**
|
|
872
|
-
* Defines values for
|
|
873
|
-
*
|
|
874
|
-
*
|
|
875
|
-
*
|
|
864
|
+
* Defines values for CreatedByType. \
|
|
865
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
866
|
+
* this enum contains the known values that the service supports.
|
|
867
|
+
* ### Known values supported by the service
|
|
868
|
+
* **User** \
|
|
869
|
+
* **Application** \
|
|
870
|
+
* **ManagedIdentity** \
|
|
871
|
+
* **Key**
|
|
876
872
|
*/
|
|
877
|
-
export type
|
|
873
|
+
export type CreatedByType = string;
|
|
878
874
|
|
|
879
|
-
/**
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
*/
|
|
885
|
-
export type HAEnabledEnum = 'Enabled' | 'Disabled';
|
|
875
|
+
/** Known values of {@link CreateModeForUpdate} that the service accepts. */
|
|
876
|
+
export enum KnownCreateModeForUpdate {
|
|
877
|
+
Default = "Default",
|
|
878
|
+
Update = "Update"
|
|
879
|
+
}
|
|
886
880
|
|
|
887
881
|
/**
|
|
888
|
-
* Defines values for
|
|
889
|
-
*
|
|
890
|
-
*
|
|
891
|
-
*
|
|
882
|
+
* Defines values for CreateModeForUpdate. \
|
|
883
|
+
* {@link KnownCreateModeForUpdate} can be used interchangeably with CreateModeForUpdate,
|
|
884
|
+
* this enum contains the known values that the service supports.
|
|
885
|
+
* ### Known values supported by the service
|
|
886
|
+
* **Default** \
|
|
887
|
+
* **Update**
|
|
892
888
|
*/
|
|
893
|
-
export type
|
|
889
|
+
export type CreateModeForUpdate = string;
|
|
894
890
|
|
|
895
|
-
/**
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
891
|
+
/** Known values of {@link FailoverMode} that the service accepts. */
|
|
892
|
+
export enum KnownFailoverMode {
|
|
893
|
+
PlannedFailover = "PlannedFailover",
|
|
894
|
+
ForcedFailover = "ForcedFailover",
|
|
895
|
+
PlannedSwitchover = "PlannedSwitchover",
|
|
896
|
+
ForcedSwitchover = "ForcedSwitchover"
|
|
897
|
+
}
|
|
902
898
|
|
|
903
899
|
/**
|
|
904
|
-
* Defines values for
|
|
905
|
-
*
|
|
906
|
-
*
|
|
907
|
-
*
|
|
900
|
+
* Defines values for FailoverMode. \
|
|
901
|
+
* {@link KnownFailoverMode} can be used interchangeably with FailoverMode,
|
|
902
|
+
* this enum contains the known values that the service supports.
|
|
903
|
+
* ### Known values supported by the service
|
|
904
|
+
* **PlannedFailover** \
|
|
905
|
+
* **ForcedFailover** \
|
|
906
|
+
* **PlannedSwitchover** \
|
|
907
|
+
* **ForcedSwitchover**
|
|
908
908
|
*/
|
|
909
|
-
export type
|
|
909
|
+
export type FailoverMode = string;
|
|
910
910
|
|
|
911
|
-
/**
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
911
|
+
/** Known values of {@link ConfigurationDataType} that the service accepts. */
|
|
912
|
+
export enum KnownConfigurationDataType {
|
|
913
|
+
Boolean = "Boolean",
|
|
914
|
+
Numeric = "Numeric",
|
|
915
|
+
Integer = "Integer",
|
|
916
|
+
Enumeration = "Enumeration"
|
|
917
|
+
}
|
|
918
918
|
|
|
919
919
|
/**
|
|
920
|
-
* Defines values for
|
|
921
|
-
*
|
|
922
|
-
*
|
|
923
|
-
*
|
|
920
|
+
* Defines values for ConfigurationDataType. \
|
|
921
|
+
* {@link KnownConfigurationDataType} can be used interchangeably with ConfigurationDataType,
|
|
922
|
+
* this enum contains the known values that the service supports.
|
|
923
|
+
* ### Known values supported by the service
|
|
924
|
+
* **Boolean** \
|
|
925
|
+
* **Numeric** \
|
|
926
|
+
* **Integer** \
|
|
927
|
+
* **Enumeration**
|
|
924
928
|
*/
|
|
925
|
-
export type
|
|
929
|
+
export type ConfigurationDataType = string;
|
|
926
930
|
|
|
927
|
-
/**
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
*/
|
|
933
|
-
export type Body = 'PostgreSQL' | 'PostgreSQLCitus' | 'MySQL' | 'MariaDb' | 'Oracle';
|
|
931
|
+
/** Known values of {@link Reason} that the service accepts. */
|
|
932
|
+
export enum KnownReason {
|
|
933
|
+
Invalid = "Invalid",
|
|
934
|
+
AlreadyExists = "AlreadyExists"
|
|
935
|
+
}
|
|
934
936
|
|
|
935
937
|
/**
|
|
936
|
-
*
|
|
938
|
+
* Defines values for Reason. \
|
|
939
|
+
* {@link KnownReason} can be used interchangeably with Reason,
|
|
940
|
+
* this enum contains the known values that the service supports.
|
|
941
|
+
* ### Known values supported by the service
|
|
942
|
+
* **Invalid** \
|
|
943
|
+
* **AlreadyExists**
|
|
937
944
|
*/
|
|
938
|
-
export type
|
|
939
|
-
/**
|
|
940
|
-
* The underlying HTTP response.
|
|
941
|
-
*/
|
|
942
|
-
_response: msRest.HttpResponse & {
|
|
943
|
-
/**
|
|
944
|
-
* The response body as text (string format)
|
|
945
|
-
*/
|
|
946
|
-
bodyAsText: string;
|
|
945
|
+
export type Reason = string;
|
|
947
946
|
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
}
|
|
947
|
+
/** Known values of {@link OperationOrigin} that the service accepts. */
|
|
948
|
+
export enum KnownOperationOrigin {
|
|
949
|
+
NotSpecified = "NotSpecified",
|
|
950
|
+
User = "user",
|
|
951
|
+
System = "system"
|
|
952
|
+
}
|
|
954
953
|
|
|
955
954
|
/**
|
|
956
|
-
*
|
|
955
|
+
* Defines values for OperationOrigin. \
|
|
956
|
+
* {@link KnownOperationOrigin} can be used interchangeably with OperationOrigin,
|
|
957
|
+
* this enum contains the known values that the service supports.
|
|
958
|
+
* ### Known values supported by the service
|
|
959
|
+
* **NotSpecified** \
|
|
960
|
+
* **user** \
|
|
961
|
+
* **system**
|
|
957
962
|
*/
|
|
958
|
-
export type
|
|
959
|
-
/**
|
|
960
|
-
* The underlying HTTP response.
|
|
961
|
-
*/
|
|
962
|
-
_response: msRest.HttpResponse & {
|
|
963
|
-
/**
|
|
964
|
-
* The response body as text (string format)
|
|
965
|
-
*/
|
|
966
|
-
bodyAsText: string;
|
|
963
|
+
export type OperationOrigin = string;
|
|
967
964
|
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
965
|
+
/** Optional parameters. */
|
|
966
|
+
export interface ServersCreateOptionalParams
|
|
967
|
+
extends coreClient.OperationOptions {
|
|
968
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
969
|
+
updateIntervalInMs?: number;
|
|
970
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
971
|
+
resumeFrom?: string;
|
|
972
|
+
}
|
|
974
973
|
|
|
975
|
-
/**
|
|
976
|
-
|
|
977
|
-
*/
|
|
978
|
-
export type ServersGetResponse = Server & {
|
|
979
|
-
/**
|
|
980
|
-
* The underlying HTTP response.
|
|
981
|
-
*/
|
|
982
|
-
_response: msRest.HttpResponse & {
|
|
983
|
-
/**
|
|
984
|
-
* The response body as text (string format)
|
|
985
|
-
*/
|
|
986
|
-
bodyAsText: string;
|
|
974
|
+
/** Contains response data for the create operation. */
|
|
975
|
+
export type ServersCreateResponse = Server;
|
|
987
976
|
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
977
|
+
/** Optional parameters. */
|
|
978
|
+
export interface ServersUpdateOptionalParams
|
|
979
|
+
extends coreClient.OperationOptions {
|
|
980
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
981
|
+
updateIntervalInMs?: number;
|
|
982
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
983
|
+
resumeFrom?: string;
|
|
984
|
+
}
|
|
994
985
|
|
|
995
|
-
/**
|
|
996
|
-
|
|
997
|
-
*/
|
|
998
|
-
export type ServersListByResourceGroupResponse = ServerListResult & {
|
|
999
|
-
/**
|
|
1000
|
-
* The underlying HTTP response.
|
|
1001
|
-
*/
|
|
1002
|
-
_response: msRest.HttpResponse & {
|
|
1003
|
-
/**
|
|
1004
|
-
* The response body as text (string format)
|
|
1005
|
-
*/
|
|
1006
|
-
bodyAsText: string;
|
|
986
|
+
/** Contains response data for the update operation. */
|
|
987
|
+
export type ServersUpdateResponse = Server;
|
|
1007
988
|
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
989
|
+
/** Optional parameters. */
|
|
990
|
+
export interface ServersDeleteOptionalParams
|
|
991
|
+
extends coreClient.OperationOptions {
|
|
992
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
993
|
+
updateIntervalInMs?: number;
|
|
994
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
995
|
+
resumeFrom?: string;
|
|
996
|
+
}
|
|
1014
997
|
|
|
1015
|
-
/**
|
|
1016
|
-
|
|
1017
|
-
*/
|
|
1018
|
-
export type ServersListResponse = ServerListResult & {
|
|
1019
|
-
/**
|
|
1020
|
-
* The underlying HTTP response.
|
|
1021
|
-
*/
|
|
1022
|
-
_response: msRest.HttpResponse & {
|
|
1023
|
-
/**
|
|
1024
|
-
* The response body as text (string format)
|
|
1025
|
-
*/
|
|
1026
|
-
bodyAsText: string;
|
|
998
|
+
/** Optional parameters. */
|
|
999
|
+
export interface ServersGetOptionalParams extends coreClient.OperationOptions {}
|
|
1027
1000
|
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
*/
|
|
1031
|
-
parsedBody: ServerListResult;
|
|
1032
|
-
};
|
|
1033
|
-
};
|
|
1001
|
+
/** Contains response data for the get operation. */
|
|
1002
|
+
export type ServersGetResponse = Server;
|
|
1034
1003
|
|
|
1035
|
-
/**
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
export type ServersBeginCreateResponse = Server & {
|
|
1039
|
-
/**
|
|
1040
|
-
* The underlying HTTP response.
|
|
1041
|
-
*/
|
|
1042
|
-
_response: msRest.HttpResponse & {
|
|
1043
|
-
/**
|
|
1044
|
-
* The response body as text (string format)
|
|
1045
|
-
*/
|
|
1046
|
-
bodyAsText: string;
|
|
1004
|
+
/** Optional parameters. */
|
|
1005
|
+
export interface ServersListByResourceGroupOptionalParams
|
|
1006
|
+
extends coreClient.OperationOptions {}
|
|
1047
1007
|
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
*/
|
|
1051
|
-
parsedBody: Server;
|
|
1052
|
-
};
|
|
1053
|
-
};
|
|
1008
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
1009
|
+
export type ServersListByResourceGroupResponse = ServerListResult;
|
|
1054
1010
|
|
|
1055
|
-
/**
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
export type ServersBeginUpdateResponse = Server & {
|
|
1059
|
-
/**
|
|
1060
|
-
* The underlying HTTP response.
|
|
1061
|
-
*/
|
|
1062
|
-
_response: msRest.HttpResponse & {
|
|
1063
|
-
/**
|
|
1064
|
-
* The response body as text (string format)
|
|
1065
|
-
*/
|
|
1066
|
-
bodyAsText: string;
|
|
1011
|
+
/** Optional parameters. */
|
|
1012
|
+
export interface ServersListOptionalParams
|
|
1013
|
+
extends coreClient.OperationOptions {}
|
|
1067
1014
|
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
*/
|
|
1071
|
-
parsedBody: Server;
|
|
1072
|
-
};
|
|
1073
|
-
};
|
|
1015
|
+
/** Contains response data for the list operation. */
|
|
1016
|
+
export type ServersListResponse = ServerListResult;
|
|
1074
1017
|
|
|
1075
|
-
/**
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
*/
|
|
1086
|
-
bodyAsText: string;
|
|
1018
|
+
/** Optional parameters. */
|
|
1019
|
+
export interface ServersRestartOptionalParams
|
|
1020
|
+
extends coreClient.OperationOptions {
|
|
1021
|
+
/** The parameters for restarting a server. */
|
|
1022
|
+
parameters?: RestartParameter;
|
|
1023
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1024
|
+
updateIntervalInMs?: number;
|
|
1025
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1026
|
+
resumeFrom?: string;
|
|
1027
|
+
}
|
|
1087
1028
|
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1029
|
+
/** Optional parameters. */
|
|
1030
|
+
export interface ServersStartOptionalParams
|
|
1031
|
+
extends coreClient.OperationOptions {
|
|
1032
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1033
|
+
updateIntervalInMs?: number;
|
|
1034
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1035
|
+
resumeFrom?: string;
|
|
1036
|
+
}
|
|
1094
1037
|
|
|
1095
|
-
/**
|
|
1096
|
-
|
|
1097
|
-
*/
|
|
1098
|
-
|
|
1099
|
-
/**
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
_response: msRest.HttpResponse & {
|
|
1103
|
-
/**
|
|
1104
|
-
* The response body as text (string format)
|
|
1105
|
-
*/
|
|
1106
|
-
bodyAsText: string;
|
|
1038
|
+
/** Optional parameters. */
|
|
1039
|
+
export interface ServersStopOptionalParams extends coreClient.OperationOptions {
|
|
1040
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1041
|
+
updateIntervalInMs?: number;
|
|
1042
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1043
|
+
resumeFrom?: string;
|
|
1044
|
+
}
|
|
1107
1045
|
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
parsedBody: ServerListResult;
|
|
1112
|
-
};
|
|
1113
|
-
};
|
|
1046
|
+
/** Optional parameters. */
|
|
1047
|
+
export interface ServersListByResourceGroupNextOptionalParams
|
|
1048
|
+
extends coreClient.OperationOptions {}
|
|
1114
1049
|
|
|
1115
|
-
/**
|
|
1116
|
-
|
|
1117
|
-
*/
|
|
1118
|
-
export type FirewallRulesCreateOrUpdateResponse = FirewallRule & {
|
|
1119
|
-
/**
|
|
1120
|
-
* The underlying HTTP response.
|
|
1121
|
-
*/
|
|
1122
|
-
_response: msRest.HttpResponse & {
|
|
1123
|
-
/**
|
|
1124
|
-
* The response body as text (string format)
|
|
1125
|
-
*/
|
|
1126
|
-
bodyAsText: string;
|
|
1050
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1051
|
+
export type ServersListByResourceGroupNextResponse = ServerListResult;
|
|
1127
1052
|
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
parsedBody: FirewallRule;
|
|
1132
|
-
};
|
|
1133
|
-
};
|
|
1053
|
+
/** Optional parameters. */
|
|
1054
|
+
export interface ServersListNextOptionalParams
|
|
1055
|
+
extends coreClient.OperationOptions {}
|
|
1134
1056
|
|
|
1135
|
-
/**
|
|
1136
|
-
|
|
1137
|
-
*/
|
|
1138
|
-
export type FirewallRulesGetResponse = FirewallRule & {
|
|
1139
|
-
/**
|
|
1140
|
-
* The underlying HTTP response.
|
|
1141
|
-
*/
|
|
1142
|
-
_response: msRest.HttpResponse & {
|
|
1143
|
-
/**
|
|
1144
|
-
* The response body as text (string format)
|
|
1145
|
-
*/
|
|
1146
|
-
bodyAsText: string;
|
|
1057
|
+
/** Contains response data for the listNext operation. */
|
|
1058
|
+
export type ServersListNextResponse = ServerListResult;
|
|
1147
1059
|
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1060
|
+
/** Optional parameters. */
|
|
1061
|
+
export interface FirewallRulesCreateOrUpdateOptionalParams
|
|
1062
|
+
extends coreClient.OperationOptions {
|
|
1063
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1064
|
+
updateIntervalInMs?: number;
|
|
1065
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1066
|
+
resumeFrom?: string;
|
|
1067
|
+
}
|
|
1154
1068
|
|
|
1155
|
-
/**
|
|
1156
|
-
|
|
1157
|
-
*/
|
|
1158
|
-
export type FirewallRulesListByServerResponse = FirewallRuleListResult & {
|
|
1159
|
-
/**
|
|
1160
|
-
* The underlying HTTP response.
|
|
1161
|
-
*/
|
|
1162
|
-
_response: msRest.HttpResponse & {
|
|
1163
|
-
/**
|
|
1164
|
-
* The response body as text (string format)
|
|
1165
|
-
*/
|
|
1166
|
-
bodyAsText: string;
|
|
1069
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1070
|
+
export type FirewallRulesCreateOrUpdateResponse = FirewallRule;
|
|
1167
1071
|
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1072
|
+
/** Optional parameters. */
|
|
1073
|
+
export interface FirewallRulesDeleteOptionalParams
|
|
1074
|
+
extends coreClient.OperationOptions {
|
|
1075
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1076
|
+
updateIntervalInMs?: number;
|
|
1077
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1078
|
+
resumeFrom?: string;
|
|
1079
|
+
}
|
|
1174
1080
|
|
|
1175
|
-
/**
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
export type FirewallRulesBeginCreateOrUpdateResponse = FirewallRule & {
|
|
1179
|
-
/**
|
|
1180
|
-
* The underlying HTTP response.
|
|
1181
|
-
*/
|
|
1182
|
-
_response: msRest.HttpResponse & {
|
|
1183
|
-
/**
|
|
1184
|
-
* The response body as text (string format)
|
|
1185
|
-
*/
|
|
1186
|
-
bodyAsText: string;
|
|
1081
|
+
/** Optional parameters. */
|
|
1082
|
+
export interface FirewallRulesGetOptionalParams
|
|
1083
|
+
extends coreClient.OperationOptions {}
|
|
1187
1084
|
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
*/
|
|
1191
|
-
parsedBody: FirewallRule;
|
|
1192
|
-
};
|
|
1193
|
-
};
|
|
1085
|
+
/** Contains response data for the get operation. */
|
|
1086
|
+
export type FirewallRulesGetResponse = FirewallRule;
|
|
1194
1087
|
|
|
1195
|
-
/**
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
export type FirewallRulesListByServerNextResponse = FirewallRuleListResult & {
|
|
1199
|
-
/**
|
|
1200
|
-
* The underlying HTTP response.
|
|
1201
|
-
*/
|
|
1202
|
-
_response: msRest.HttpResponse & {
|
|
1203
|
-
/**
|
|
1204
|
-
* The response body as text (string format)
|
|
1205
|
-
*/
|
|
1206
|
-
bodyAsText: string;
|
|
1088
|
+
/** Optional parameters. */
|
|
1089
|
+
export interface FirewallRulesListByServerOptionalParams
|
|
1090
|
+
extends coreClient.OperationOptions {}
|
|
1207
1091
|
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
*/
|
|
1211
|
-
parsedBody: FirewallRuleListResult;
|
|
1212
|
-
};
|
|
1213
|
-
};
|
|
1092
|
+
/** Contains response data for the listByServer operation. */
|
|
1093
|
+
export type FirewallRulesListByServerResponse = FirewallRuleListResult;
|
|
1214
1094
|
|
|
1215
|
-
/**
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
export type ConfigurationsListByServerResponse = ConfigurationListResult & {
|
|
1219
|
-
/**
|
|
1220
|
-
* The underlying HTTP response.
|
|
1221
|
-
*/
|
|
1222
|
-
_response: msRest.HttpResponse & {
|
|
1223
|
-
/**
|
|
1224
|
-
* The response body as text (string format)
|
|
1225
|
-
*/
|
|
1226
|
-
bodyAsText: string;
|
|
1095
|
+
/** Optional parameters. */
|
|
1096
|
+
export interface FirewallRulesListByServerNextOptionalParams
|
|
1097
|
+
extends coreClient.OperationOptions {}
|
|
1227
1098
|
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
*/
|
|
1231
|
-
parsedBody: ConfigurationListResult;
|
|
1232
|
-
};
|
|
1233
|
-
};
|
|
1099
|
+
/** Contains response data for the listByServerNext operation. */
|
|
1100
|
+
export type FirewallRulesListByServerNextResponse = FirewallRuleListResult;
|
|
1234
1101
|
|
|
1235
|
-
/**
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
export type ConfigurationsGetResponse = Configuration & {
|
|
1239
|
-
/**
|
|
1240
|
-
* The underlying HTTP response.
|
|
1241
|
-
*/
|
|
1242
|
-
_response: msRest.HttpResponse & {
|
|
1243
|
-
/**
|
|
1244
|
-
* The response body as text (string format)
|
|
1245
|
-
*/
|
|
1246
|
-
bodyAsText: string;
|
|
1102
|
+
/** Optional parameters. */
|
|
1103
|
+
export interface ConfigurationsListByServerOptionalParams
|
|
1104
|
+
extends coreClient.OperationOptions {}
|
|
1247
1105
|
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
*/
|
|
1251
|
-
parsedBody: Configuration;
|
|
1252
|
-
};
|
|
1253
|
-
};
|
|
1106
|
+
/** Contains response data for the listByServer operation. */
|
|
1107
|
+
export type ConfigurationsListByServerResponse = ConfigurationListResult;
|
|
1254
1108
|
|
|
1255
|
-
/**
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
export type ConfigurationsUpdateResponse = Configuration & {
|
|
1259
|
-
/**
|
|
1260
|
-
* The underlying HTTP response.
|
|
1261
|
-
*/
|
|
1262
|
-
_response: msRest.HttpResponse & {
|
|
1263
|
-
/**
|
|
1264
|
-
* The response body as text (string format)
|
|
1265
|
-
*/
|
|
1266
|
-
bodyAsText: string;
|
|
1109
|
+
/** Optional parameters. */
|
|
1110
|
+
export interface ConfigurationsGetOptionalParams
|
|
1111
|
+
extends coreClient.OperationOptions {}
|
|
1267
1112
|
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
*/
|
|
1271
|
-
parsedBody: Configuration;
|
|
1272
|
-
};
|
|
1273
|
-
};
|
|
1113
|
+
/** Contains response data for the get operation. */
|
|
1114
|
+
export type ConfigurationsGetResponse = Configuration;
|
|
1274
1115
|
|
|
1275
|
-
/**
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
/**
|
|
1284
|
-
* The response body as text (string format)
|
|
1285
|
-
*/
|
|
1286
|
-
bodyAsText: string;
|
|
1116
|
+
/** Optional parameters. */
|
|
1117
|
+
export interface ConfigurationsUpdateOptionalParams
|
|
1118
|
+
extends coreClient.OperationOptions {
|
|
1119
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1120
|
+
updateIntervalInMs?: number;
|
|
1121
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1122
|
+
resumeFrom?: string;
|
|
1123
|
+
}
|
|
1287
1124
|
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
*/
|
|
1291
|
-
parsedBody: Configuration;
|
|
1292
|
-
};
|
|
1293
|
-
};
|
|
1125
|
+
/** Contains response data for the update operation. */
|
|
1126
|
+
export type ConfigurationsUpdateResponse = Configuration;
|
|
1294
1127
|
|
|
1295
|
-
/**
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
/**
|
|
1304
|
-
* The response body as text (string format)
|
|
1305
|
-
*/
|
|
1306
|
-
bodyAsText: string;
|
|
1128
|
+
/** Optional parameters. */
|
|
1129
|
+
export interface ConfigurationsPutOptionalParams
|
|
1130
|
+
extends coreClient.OperationOptions {
|
|
1131
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1132
|
+
updateIntervalInMs?: number;
|
|
1133
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1134
|
+
resumeFrom?: string;
|
|
1135
|
+
}
|
|
1307
1136
|
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
*/
|
|
1311
|
-
parsedBody: ConfigurationListResult;
|
|
1312
|
-
};
|
|
1313
|
-
};
|
|
1137
|
+
/** Contains response data for the put operation. */
|
|
1138
|
+
export type ConfigurationsPutResponse = Configuration;
|
|
1314
1139
|
|
|
1315
|
-
/**
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
export type CheckNameAvailabilityExecuteResponse = NameAvailability & {
|
|
1319
|
-
/**
|
|
1320
|
-
* The underlying HTTP response.
|
|
1321
|
-
*/
|
|
1322
|
-
_response: msRest.HttpResponse & {
|
|
1323
|
-
/**
|
|
1324
|
-
* The response body as text (string format)
|
|
1325
|
-
*/
|
|
1326
|
-
bodyAsText: string;
|
|
1140
|
+
/** Optional parameters. */
|
|
1141
|
+
export interface ConfigurationsListByServerNextOptionalParams
|
|
1142
|
+
extends coreClient.OperationOptions {}
|
|
1327
1143
|
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
*/
|
|
1331
|
-
parsedBody: NameAvailability;
|
|
1332
|
-
};
|
|
1333
|
-
};
|
|
1144
|
+
/** Contains response data for the listByServerNext operation. */
|
|
1145
|
+
export type ConfigurationsListByServerNextResponse = ConfigurationListResult;
|
|
1334
1146
|
|
|
1335
|
-
/**
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
export type LocationBasedCapabilitiesExecuteResponse = CapabilitiesListResult & {
|
|
1339
|
-
/**
|
|
1340
|
-
* The underlying HTTP response.
|
|
1341
|
-
*/
|
|
1342
|
-
_response: msRest.HttpResponse & {
|
|
1343
|
-
/**
|
|
1344
|
-
* The response body as text (string format)
|
|
1345
|
-
*/
|
|
1346
|
-
bodyAsText: string;
|
|
1147
|
+
/** Optional parameters. */
|
|
1148
|
+
export interface CheckNameAvailabilityExecuteOptionalParams
|
|
1149
|
+
extends coreClient.OperationOptions {}
|
|
1347
1150
|
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
*/
|
|
1351
|
-
parsedBody: CapabilitiesListResult;
|
|
1352
|
-
};
|
|
1353
|
-
};
|
|
1151
|
+
/** Contains response data for the execute operation. */
|
|
1152
|
+
export type CheckNameAvailabilityExecuteResponse = NameAvailability;
|
|
1354
1153
|
|
|
1355
|
-
/**
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
export type LocationBasedCapabilitiesExecuteNextResponse = CapabilitiesListResult & {
|
|
1359
|
-
/**
|
|
1360
|
-
* The underlying HTTP response.
|
|
1361
|
-
*/
|
|
1362
|
-
_response: msRest.HttpResponse & {
|
|
1363
|
-
/**
|
|
1364
|
-
* The response body as text (string format)
|
|
1365
|
-
*/
|
|
1366
|
-
bodyAsText: string;
|
|
1154
|
+
/** Optional parameters. */
|
|
1155
|
+
export interface LocationBasedCapabilitiesExecuteOptionalParams
|
|
1156
|
+
extends coreClient.OperationOptions {}
|
|
1367
1157
|
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
*/
|
|
1371
|
-
parsedBody: CapabilitiesListResult;
|
|
1372
|
-
};
|
|
1373
|
-
};
|
|
1158
|
+
/** Contains response data for the execute operation. */
|
|
1159
|
+
export type LocationBasedCapabilitiesExecuteResponse = CapabilitiesListResult;
|
|
1374
1160
|
|
|
1375
|
-
/**
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
export type VirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult & {
|
|
1379
|
-
/**
|
|
1380
|
-
* The underlying HTTP response.
|
|
1381
|
-
*/
|
|
1382
|
-
_response: msRest.HttpResponse & {
|
|
1383
|
-
/**
|
|
1384
|
-
* The response body as text (string format)
|
|
1385
|
-
*/
|
|
1386
|
-
bodyAsText: string;
|
|
1161
|
+
/** Optional parameters. */
|
|
1162
|
+
export interface LocationBasedCapabilitiesExecuteNextOptionalParams
|
|
1163
|
+
extends coreClient.OperationOptions {}
|
|
1387
1164
|
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
*/
|
|
1391
|
-
parsedBody: VirtualNetworkSubnetUsageResult;
|
|
1392
|
-
};
|
|
1393
|
-
};
|
|
1165
|
+
/** Contains response data for the executeNext operation. */
|
|
1166
|
+
export type LocationBasedCapabilitiesExecuteNextResponse = CapabilitiesListResult;
|
|
1394
1167
|
|
|
1395
|
-
/**
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
export type OperationsListResponse = OperationListResult & {
|
|
1399
|
-
/**
|
|
1400
|
-
* The underlying HTTP response.
|
|
1401
|
-
*/
|
|
1402
|
-
_response: msRest.HttpResponse & {
|
|
1403
|
-
/**
|
|
1404
|
-
* The response body as text (string format)
|
|
1405
|
-
*/
|
|
1406
|
-
bodyAsText: string;
|
|
1168
|
+
/** Optional parameters. */
|
|
1169
|
+
export interface VirtualNetworkSubnetUsageExecuteOptionalParams
|
|
1170
|
+
extends coreClient.OperationOptions {}
|
|
1407
1171
|
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
*/
|
|
1411
|
-
parsedBody: OperationListResult;
|
|
1412
|
-
};
|
|
1413
|
-
};
|
|
1172
|
+
/** Contains response data for the execute operation. */
|
|
1173
|
+
export type VirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult;
|
|
1414
1174
|
|
|
1415
|
-
/**
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
export type DatabasesCreateResponse = Database & {
|
|
1419
|
-
/**
|
|
1420
|
-
* The underlying HTTP response.
|
|
1421
|
-
*/
|
|
1422
|
-
_response: msRest.HttpResponse & {
|
|
1423
|
-
/**
|
|
1424
|
-
* The response body as text (string format)
|
|
1425
|
-
*/
|
|
1426
|
-
bodyAsText: string;
|
|
1175
|
+
/** Optional parameters. */
|
|
1176
|
+
export interface OperationsListOptionalParams
|
|
1177
|
+
extends coreClient.OperationOptions {}
|
|
1427
1178
|
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
*/
|
|
1431
|
-
parsedBody: Database;
|
|
1432
|
-
};
|
|
1433
|
-
};
|
|
1179
|
+
/** Contains response data for the list operation. */
|
|
1180
|
+
export type OperationsListResponse = OperationListResult;
|
|
1434
1181
|
|
|
1435
|
-
/**
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
/**
|
|
1444
|
-
* The response body as text (string format)
|
|
1445
|
-
*/
|
|
1446
|
-
bodyAsText: string;
|
|
1182
|
+
/** Optional parameters. */
|
|
1183
|
+
export interface DatabasesCreateOptionalParams
|
|
1184
|
+
extends coreClient.OperationOptions {
|
|
1185
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1186
|
+
updateIntervalInMs?: number;
|
|
1187
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1188
|
+
resumeFrom?: string;
|
|
1189
|
+
}
|
|
1447
1190
|
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
*/
|
|
1451
|
-
parsedBody: Database;
|
|
1452
|
-
};
|
|
1453
|
-
};
|
|
1191
|
+
/** Contains response data for the create operation. */
|
|
1192
|
+
export type DatabasesCreateResponse = Database;
|
|
1454
1193
|
|
|
1455
|
-
/**
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
/**
|
|
1464
|
-
* The response body as text (string format)
|
|
1465
|
-
*/
|
|
1466
|
-
bodyAsText: string;
|
|
1194
|
+
/** Optional parameters. */
|
|
1195
|
+
export interface DatabasesDeleteOptionalParams
|
|
1196
|
+
extends coreClient.OperationOptions {
|
|
1197
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1198
|
+
updateIntervalInMs?: number;
|
|
1199
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1200
|
+
resumeFrom?: string;
|
|
1201
|
+
}
|
|
1467
1202
|
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
parsedBody: DatabaseListResult;
|
|
1472
|
-
};
|
|
1473
|
-
};
|
|
1203
|
+
/** Optional parameters. */
|
|
1204
|
+
export interface DatabasesGetOptionalParams
|
|
1205
|
+
extends coreClient.OperationOptions {}
|
|
1474
1206
|
|
|
1475
|
-
/**
|
|
1476
|
-
|
|
1477
|
-
*/
|
|
1478
|
-
export type DatabasesBeginCreateResponse = Database & {
|
|
1479
|
-
/**
|
|
1480
|
-
* The underlying HTTP response.
|
|
1481
|
-
*/
|
|
1482
|
-
_response: msRest.HttpResponse & {
|
|
1483
|
-
/**
|
|
1484
|
-
* The response body as text (string format)
|
|
1485
|
-
*/
|
|
1486
|
-
bodyAsText: string;
|
|
1207
|
+
/** Contains response data for the get operation. */
|
|
1208
|
+
export type DatabasesGetResponse = Database;
|
|
1487
1209
|
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
parsedBody: Database;
|
|
1492
|
-
};
|
|
1493
|
-
};
|
|
1210
|
+
/** Optional parameters. */
|
|
1211
|
+
export interface DatabasesListByServerOptionalParams
|
|
1212
|
+
extends coreClient.OperationOptions {}
|
|
1494
1213
|
|
|
1495
|
-
/**
|
|
1496
|
-
|
|
1497
|
-
*/
|
|
1498
|
-
export type DatabasesListByServerNextResponse = DatabaseListResult & {
|
|
1499
|
-
/**
|
|
1500
|
-
* The underlying HTTP response.
|
|
1501
|
-
*/
|
|
1502
|
-
_response: msRest.HttpResponse & {
|
|
1503
|
-
/**
|
|
1504
|
-
* The response body as text (string format)
|
|
1505
|
-
*/
|
|
1506
|
-
bodyAsText: string;
|
|
1214
|
+
/** Contains response data for the listByServer operation. */
|
|
1215
|
+
export type DatabasesListByServerResponse = DatabaseListResult;
|
|
1507
1216
|
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
parsedBody: DatabaseListResult;
|
|
1512
|
-
};
|
|
1513
|
-
};
|
|
1217
|
+
/** Optional parameters. */
|
|
1218
|
+
export interface DatabasesListByServerNextOptionalParams
|
|
1219
|
+
extends coreClient.OperationOptions {}
|
|
1514
1220
|
|
|
1515
|
-
/**
|
|
1516
|
-
|
|
1517
|
-
*/
|
|
1518
|
-
export type GetPrivateDnsZoneSuffixExecuteResponse = {
|
|
1519
|
-
/**
|
|
1520
|
-
* The parsed response body.
|
|
1521
|
-
*/
|
|
1522
|
-
body: string;
|
|
1221
|
+
/** Contains response data for the listByServerNext operation. */
|
|
1222
|
+
export type DatabasesListByServerNextResponse = DatabaseListResult;
|
|
1523
1223
|
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
_response: msRest.HttpResponse & {
|
|
1528
|
-
/**
|
|
1529
|
-
* The response body as text (string format)
|
|
1530
|
-
*/
|
|
1531
|
-
bodyAsText: string;
|
|
1224
|
+
/** Optional parameters. */
|
|
1225
|
+
export interface GetPrivateDnsZoneSuffixExecuteOptionalParams
|
|
1226
|
+
extends coreClient.OperationOptions {}
|
|
1532
1227
|
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
};
|
|
1228
|
+
/** Contains response data for the execute operation. */
|
|
1229
|
+
export type GetPrivateDnsZoneSuffixExecuteResponse = {
|
|
1230
|
+
/** The parsed response body. */
|
|
1231
|
+
body: string;
|
|
1538
1232
|
};
|
|
1233
|
+
|
|
1234
|
+
/** Optional parameters. */
|
|
1235
|
+
export interface PostgreSQLManagementClientOptionalParams
|
|
1236
|
+
extends coreClient.ServiceClientOptions {
|
|
1237
|
+
/** server parameter */
|
|
1238
|
+
$host?: string;
|
|
1239
|
+
/** Api Version */
|
|
1240
|
+
apiVersion?: string;
|
|
1241
|
+
/** Overrides client endpoint. */
|
|
1242
|
+
endpoint?: string;
|
|
1243
|
+
}
|