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