@azure/arm-mysql 3.4.0 → 5.0.0-alpha.20211215.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +65 -83
- package/dist/index.js +7800 -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/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- 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 +1641 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +131 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +79 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +2145 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +46 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +372 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/mySQLManagementClient.d.ts +65 -0
- package/dist-esm/src/mySQLManagementClient.d.ts.map +1 -0
- package/dist-esm/src/mySQLManagementClient.js +151 -0
- package/dist-esm/src/mySQLManagementClient.js.map +1 -0
- package/dist-esm/src/mySQLManagementClientContext.d.ts +15 -0
- package/dist-esm/src/mySQLManagementClientContext.d.ts.map +1 -0
- package/dist-esm/src/mySQLManagementClientContext.js +48 -0
- package/dist-esm/src/mySQLManagementClientContext.js.map +1 -0
- package/dist-esm/src/operations/advisors.d.ts +46 -0
- package/dist-esm/src/operations/advisors.d.ts.map +1 -0
- package/dist-esm/src/operations/advisors.js +160 -0
- package/dist-esm/src/operations/advisors.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 +57 -0
- package/dist-esm/src/operations/configurations.d.ts.map +1 -0
- package/dist-esm/src/operations/configurations.js +219 -0
- package/dist-esm/src/operations/configurations.js.map +1 -0
- package/dist-esm/src/operations/databases.d.ts +73 -0
- package/dist-esm/src/operations/databases.d.ts.map +1 -0
- package/dist-esm/src/operations/databases.js +293 -0
- package/dist-esm/src/operations/databases.js.map +1 -0
- package/dist-esm/src/operations/firewallRules.d.ts +73 -0
- package/dist-esm/src/operations/firewallRules.d.ts.map +1 -0
- package/dist-esm/src/operations/firewallRules.js +293 -0
- package/dist-esm/src/operations/firewallRules.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +26 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +33 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/locationBasedPerformanceTier.d.ts +28 -0
- package/dist-esm/src/operations/locationBasedPerformanceTier.d.ts.map +1 -0
- package/dist-esm/src/operations/locationBasedPerformanceTier.js +96 -0
- package/dist-esm/src/operations/locationBasedPerformanceTier.js.map +1 -0
- package/dist-esm/src/operations/locationBasedRecommendedActionSessionsOperationStatus.d.ts +20 -0
- package/dist-esm/src/operations/locationBasedRecommendedActionSessionsOperationStatus.d.ts.map +1 -0
- package/dist-esm/src/operations/locationBasedRecommendedActionSessionsOperationStatus.js +50 -0
- package/dist-esm/src/operations/locationBasedRecommendedActionSessionsOperationStatus.js.map +1 -0
- package/dist-esm/src/operations/locationBasedRecommendedActionSessionsResult.d.ts +38 -0
- package/dist-esm/src/operations/locationBasedRecommendedActionSessionsResult.d.ts.map +1 -0
- package/dist-esm/src/operations/locationBasedRecommendedActionSessionsResult.js +137 -0
- package/dist-esm/src/operations/locationBasedRecommendedActionSessionsResult.js.map +1 -0
- package/dist-esm/src/operations/logFiles.d.ts +30 -0
- package/dist-esm/src/operations/logFiles.d.ts.map +1 -0
- package/dist-esm/src/operations/logFiles.js +99 -0
- package/dist-esm/src/operations/logFiles.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/privateEndpointConnections.d.ts +99 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +429 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +169 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/queryTexts.d.ts +49 -0
- package/dist-esm/src/operations/queryTexts.d.ts.map +1 -0
- package/dist-esm/src/operations/queryTexts.js +172 -0
- package/dist-esm/src/operations/queryTexts.js.map +1 -0
- package/dist-esm/src/operations/recommendedActions.d.ts +50 -0
- package/dist-esm/src/operations/recommendedActions.d.ts.map +1 -0
- package/dist-esm/src/operations/recommendedActions.js +173 -0
- package/dist-esm/src/operations/recommendedActions.js.map +1 -0
- package/dist-esm/src/operations/recoverableServers.d.ts +20 -0
- package/dist-esm/src/operations/recoverableServers.d.ts.map +1 -0
- package/dist-esm/src/operations/recoverableServers.js +53 -0
- package/dist-esm/src/operations/recoverableServers.js.map +1 -0
- package/dist-esm/src/operations/replicas.d.ts +30 -0
- package/dist-esm/src/operations/replicas.d.ts.map +1 -0
- package/dist-esm/src/operations/replicas.js +99 -0
- package/dist-esm/src/operations/replicas.js.map +1 -0
- package/dist-esm/src/operations/serverAdministrators.d.ts +70 -0
- package/dist-esm/src/operations/serverAdministrators.d.ts.map +1 -0
- package/dist-esm/src/operations/serverAdministrators.js +287 -0
- package/dist-esm/src/operations/serverAdministrators.js.map +1 -0
- package/dist-esm/src/operations/serverBasedPerformanceTier.d.ts +30 -0
- package/dist-esm/src/operations/serverBasedPerformanceTier.d.ts.map +1 -0
- package/dist-esm/src/operations/serverBasedPerformanceTier.js +99 -0
- package/dist-esm/src/operations/serverBasedPerformanceTier.js.map +1 -0
- package/dist-esm/src/operations/serverKeys.d.ts +81 -0
- package/dist-esm/src/operations/serverKeys.d.ts.map +1 -0
- package/dist-esm/src/operations/serverKeys.js +331 -0
- package/dist-esm/src/operations/serverKeys.js.map +1 -0
- package/dist-esm/src/operations/serverParameters.d.ts +30 -0
- package/dist-esm/src/operations/serverParameters.d.ts.map +1 -0
- package/dist-esm/src/operations/serverParameters.js +110 -0
- package/dist-esm/src/operations/serverParameters.js.map +1 -0
- package/dist-esm/src/operations/serverSecurityAlertPolicies.d.ts +65 -0
- package/dist-esm/src/operations/serverSecurityAlertPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/serverSecurityAlertPolicies.js +255 -0
- package/dist-esm/src/operations/serverSecurityAlertPolicies.js.map +1 -0
- package/dist-esm/src/operations/servers.d.ts +156 -0
- package/dist-esm/src/operations/servers.d.ts.map +1 -0
- package/dist-esm/src/operations/servers.js +722 -0
- package/dist-esm/src/operations/servers.js.map +1 -0
- package/dist-esm/src/operations/topQueryStatistics.d.ts +49 -0
- package/dist-esm/src/operations/topQueryStatistics.d.ts.map +1 -0
- package/dist-esm/src/operations/topQueryStatistics.js +174 -0
- package/dist-esm/src/operations/topQueryStatistics.js.map +1 -0
- package/dist-esm/src/operations/virtualNetworkRules.d.ts +81 -0
- package/dist-esm/src/operations/virtualNetworkRules.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualNetworkRules.js +320 -0
- package/dist-esm/src/operations/virtualNetworkRules.js.map +1 -0
- package/dist-esm/src/operations/waitStatistics.d.ts +49 -0
- package/dist-esm/src/operations/waitStatistics.d.ts.map +1 -0
- package/dist-esm/src/operations/waitStatistics.js +174 -0
- package/dist-esm/src/operations/waitStatistics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/advisors.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/advisors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/advisors.js +9 -0
- package/dist-esm/src/operationsInterfaces/advisors.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/dist-esm/src/operationsInterfaces/checkNameAvailability.js +9 -0
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurations.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurations.js +9 -0
- 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/dist-esm/src/operationsInterfaces/databases.js +9 -0
- 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/index.d.ts +26 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +33 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/locationBasedPerformanceTier.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/locationBasedPerformanceTier.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/locationBasedPerformanceTier.js +9 -0
- package/dist-esm/src/operationsInterfaces/locationBasedPerformanceTier.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsOperationStatus.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsOperationStatus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsOperationStatus.js +9 -0
- package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsOperationStatus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsResult.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsResult.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsResult.js +9 -0
- package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsResult.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/logFiles.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/logFiles.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/logFiles.js +9 -0
- package/dist-esm/src/operationsInterfaces/logFiles.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/privateEndpointConnections.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/queryTexts.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/queryTexts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/queryTexts.js +9 -0
- package/dist-esm/src/operationsInterfaces/queryTexts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/recommendedActions.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/recommendedActions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/recommendedActions.js +9 -0
- package/dist-esm/src/operationsInterfaces/recommendedActions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/recoverableServers.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/recoverableServers.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/recoverableServers.js +9 -0
- package/dist-esm/src/operationsInterfaces/recoverableServers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicas.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/replicas.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicas.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicas.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverAdministrators.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/serverAdministrators.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverAdministrators.js +9 -0
- package/dist-esm/src/operationsInterfaces/serverAdministrators.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverBasedPerformanceTier.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/serverBasedPerformanceTier.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverBasedPerformanceTier.js +9 -0
- package/dist-esm/src/operationsInterfaces/serverBasedPerformanceTier.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverKeys.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/serverKeys.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverKeys.js +9 -0
- package/dist-esm/src/operationsInterfaces/serverKeys.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverParameters.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/serverParameters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverParameters.js +9 -0
- package/dist-esm/src/operationsInterfaces/serverParameters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverSecurityAlertPolicies.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/serverSecurityAlertPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverSecurityAlertPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/serverSecurityAlertPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/servers.d.ts +133 -0
- package/dist-esm/src/operationsInterfaces/servers.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/servers.js +9 -0
- package/dist-esm/src/operationsInterfaces/servers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/topQueryStatistics.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/topQueryStatistics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/topQueryStatistics.js +9 -0
- package/dist-esm/src/operationsInterfaces/topQueryStatistics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkRules.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/waitStatistics.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/waitStatistics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/waitStatistics.js +9 -0
- package/dist-esm/src/operationsInterfaces/waitStatistics.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 +63 -21
- package/review/arm-mysql.api.md +1577 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1584 -1096
- package/src/models/mappers.ts +1763 -534
- package/src/models/parameters.ts +344 -41
- package/src/mySQLManagementClient.ts +280 -51
- package/src/mySQLManagementClientContext.ts +46 -46
- package/src/operations/advisors.ts +224 -0
- package/src/operations/checkNameAvailability.ts +34 -57
- package/src/operations/configurations.ts +234 -150
- package/src/operations/databases.ts +324 -194
- package/src/operations/firewallRules.ts +324 -194
- package/src/operations/index.ts +18 -6
- package/src/operations/locationBasedPerformanceTier.ts +75 -44
- package/src/operations/locationBasedRecommendedActionSessionsOperationStatus.ts +70 -0
- package/src/operations/locationBasedRecommendedActionSessionsResult.ts +178 -0
- package/src/operations/logFiles.ts +97 -52
- package/src/operations/operations.ts +26 -41
- package/src/operations/privateEndpointConnections.ts +621 -0
- package/src/operations/privateLinkResources.ts +233 -0
- package/src/operations/queryTexts.ts +246 -0
- package/src/operations/recommendedActions.ts +248 -0
- package/src/operations/recoverableServers.ts +72 -0
- package/src/operations/replicas.ts +97 -52
- package/src/operations/serverAdministrators.ts +397 -0
- package/src/operations/serverBasedPerformanceTier.ts +124 -0
- package/src/operations/serverKeys.ts +464 -0
- package/src/operations/serverParameters.ts +160 -0
- package/src/operations/serverSecurityAlertPolicies.ts +300 -95
- package/src/operations/servers.ts +828 -280
- package/src/operations/topQueryStatistics.ts +249 -0
- package/src/operations/virtualNetworkRules.ts +357 -233
- package/src/operations/waitStatistics.ts +249 -0
- package/src/operationsInterfaces/advisors.ts +44 -0
- package/src/operationsInterfaces/checkNameAvailability.ts +26 -0
- package/src/operationsInterfaces/configurations.ts +82 -0
- package/src/operationsInterfaces/databases.ts +109 -0
- package/src/operationsInterfaces/firewallRules.ts +109 -0
- package/src/operationsInterfaces/index.ts +33 -0
- package/src/operationsInterfaces/locationBasedPerformanceTier.ts +27 -0
- package/src/operationsInterfaces/locationBasedRecommendedActionSessionsOperationStatus.ts +27 -0
- package/src/operationsInterfaces/locationBasedRecommendedActionSessionsResult.ts +29 -0
- package/src/operationsInterfaces/logFiles.ts +26 -0
- package/src/operationsInterfaces/operations.ts +21 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +147 -0
- package/src/operationsInterfaces/privateLinkResources.ts +44 -0
- package/src/operationsInterfaces/queryTexts.ts +46 -0
- package/src/operationsInterfaces/recommendedActions.ts +48 -0
- package/src/operationsInterfaces/recoverableServers.ts +27 -0
- package/src/operationsInterfaces/replicas.ts +26 -0
- package/src/operationsInterfaces/serverAdministrators.ts +101 -0
- package/src/operationsInterfaces/serverBasedPerformanceTier.ts +29 -0
- package/src/operationsInterfaces/serverKeys.ts +109 -0
- package/src/operationsInterfaces/serverParameters.ts +49 -0
- package/src/operationsInterfaces/serverSecurityAlertPolicies.ts +83 -0
- package/src/operationsInterfaces/servers.ts +233 -0
- package/src/operationsInterfaces/topQueryStatistics.ts +47 -0
- package/src/operationsInterfaces/virtualNetworkRules.ts +109 -0
- package/src/operationsInterfaces/waitStatistics.ts +47 -0
- package/tsconfig.json +4 -4
- package/types/arm-mysql.d.ts +2739 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-mysql.js +0 -3173
- package/dist/arm-mysql.js.map +0 -1
- package/dist/arm-mysql.min.js +0 -1
- package/dist/arm-mysql.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 +0 -9
- 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/index.d.ts +0 -1319
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/locationBasedPerformanceTierMappers.d.ts +0 -2
- package/esm/models/locationBasedPerformanceTierMappers.d.ts.map +0 -1
- package/esm/models/locationBasedPerformanceTierMappers.js +0 -9
- package/esm/models/locationBasedPerformanceTierMappers.js.map +0 -1
- package/esm/models/logFilesMappers.d.ts +0 -2
- package/esm/models/logFilesMappers.d.ts.map +0 -1
- package/esm/models/logFilesMappers.js +0 -9
- package/esm/models/logFilesMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -43
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -1037
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -14
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -133
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/replicasMappers.d.ts +0 -2
- package/esm/models/replicasMappers.d.ts.map +0 -1
- package/esm/models/replicasMappers.js +0 -9
- package/esm/models/replicasMappers.js.map +0 -1
- package/esm/models/serverSecurityAlertPoliciesMappers.d.ts +0 -2
- package/esm/models/serverSecurityAlertPoliciesMappers.d.ts.map +0 -1
- package/esm/models/serverSecurityAlertPoliciesMappers.js +0 -9
- package/esm/models/serverSecurityAlertPoliciesMappers.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/virtualNetworkRulesMappers.d.ts +0 -2
- package/esm/models/virtualNetworkRulesMappers.d.ts.map +0 -1
- package/esm/models/virtualNetworkRulesMappers.js +0 -9
- package/esm/models/virtualNetworkRulesMappers.js.map +0 -1
- package/esm/mySQLManagementClient.d.ts +0 -34
- package/esm/mySQLManagementClient.d.ts.map +0 -1
- package/esm/mySQLManagementClient.js +0 -48
- package/esm/mySQLManagementClient.js.map +0 -1
- package/esm/mySQLManagementClientContext.d.ts +0 -22
- package/esm/mySQLManagementClientContext.d.ts.map +0 -1
- package/esm/mySQLManagementClientContext.js +0 -61
- package/esm/mySQLManagementClientContext.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 -60
- package/esm/operations/checkNameAvailability.js.map +0 -1
- package/esm/operations/configurations.d.ts +0 -87
- package/esm/operations/configurations.d.ts.map +0 -1
- package/esm/operations/configurations.js +0 -155
- package/esm/operations/configurations.js.map +0 -1
- package/esm/operations/databases.d.ts +0 -107
- package/esm/operations/databases.d.ts.map +0 -1
- package/esm/operations/databases.js +0 -213
- package/esm/operations/databases.js.map +0 -1
- package/esm/operations/firewallRules.d.ts +0 -107
- package/esm/operations/firewallRules.d.ts.map +0 -1
- package/esm/operations/firewallRules.js +0 -213
- package/esm/operations/firewallRules.js.map +0 -1
- package/esm/operations/index.d.ts +0 -12
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -21
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/locationBasedPerformanceTier.d.ts +0 -31
- package/esm/operations/locationBasedPerformanceTier.d.ts.map +0 -1
- package/esm/operations/locationBasedPerformanceTier.js +0 -56
- package/esm/operations/locationBasedPerformanceTier.js.map +0 -1
- package/esm/operations/logFiles.d.ts +0 -37
- package/esm/operations/logFiles.d.ts.map +0 -1
- package/esm/operations/logFiles.js +0 -58
- package/esm/operations/logFiles.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 -51
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/replicas.d.ts +0 -37
- package/esm/operations/replicas.d.ts.map +0 -1
- package/esm/operations/replicas.js +0 -58
- package/esm/operations/replicas.js.map +0 -1
- package/esm/operations/serverSecurityAlertPolicies.d.ts +0 -58
- package/esm/operations/serverSecurityAlertPolicies.d.ts.map +0 -1
- package/esm/operations/serverSecurityAlertPolicies.js +0 -120
- package/esm/operations/serverSecurityAlertPolicies.js.map +0 -1
- package/esm/operations/servers.d.ts +0 -154
- package/esm/operations/servers.d.ts.map +0 -1
- package/esm/operations/servers.js +0 -341
- package/esm/operations/servers.js.map +0 -1
- package/esm/operations/virtualNetworkRules.d.ts +0 -125
- package/esm/operations/virtualNetworkRules.d.ts.map +0 -1
- package/esm/operations/virtualNetworkRules.js +0 -239
- package/esm/operations/virtualNetworkRules.js.map +0 -1
- package/src/models/checkNameAvailabilityMappers.ts +0 -14
- package/src/models/configurationsMappers.ts +0 -25
- package/src/models/databasesMappers.ts +0 -25
- package/src/models/firewallRulesMappers.ts +0 -25
- package/src/models/locationBasedPerformanceTierMappers.ts +0 -15
- package/src/models/logFilesMappers.ts +0 -25
- package/src/models/operationsMappers.ts +0 -15
- package/src/models/replicasMappers.ts +0 -25
- package/src/models/serverSecurityAlertPoliciesMappers.ts +0 -24
- package/src/models/serversMappers.ts +0 -32
- package/src/models/virtualNetworkRulesMappers.ts +0 -25
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { WaitStatistics } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
|
+
import * as Parameters from "../models/parameters";
|
|
14
|
+
import { MySQLManagementClientContext } from "../mySQLManagementClientContext";
|
|
15
|
+
import {
|
|
16
|
+
WaitStatistic,
|
|
17
|
+
WaitStatisticsInput,
|
|
18
|
+
WaitStatisticsListByServerNextOptionalParams,
|
|
19
|
+
WaitStatisticsListByServerOptionalParams,
|
|
20
|
+
WaitStatisticsGetOptionalParams,
|
|
21
|
+
WaitStatisticsGetResponse,
|
|
22
|
+
WaitStatisticsListByServerResponse,
|
|
23
|
+
WaitStatisticsListByServerNextResponse
|
|
24
|
+
} from "../models";
|
|
25
|
+
|
|
26
|
+
/// <reference lib="esnext.asynciterable" />
|
|
27
|
+
/** Class containing WaitStatistics operations. */
|
|
28
|
+
export class WaitStatisticsImpl implements WaitStatistics {
|
|
29
|
+
private readonly client: MySQLManagementClientContext;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Initialize a new instance of the class WaitStatistics class.
|
|
33
|
+
* @param client Reference to the service client
|
|
34
|
+
*/
|
|
35
|
+
constructor(client: MySQLManagementClientContext) {
|
|
36
|
+
this.client = client;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Retrieve wait statistics for specified aggregation window.
|
|
41
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
42
|
+
* @param serverName The name of the server.
|
|
43
|
+
* @param parameters The required parameters for retrieving wait statistics.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
public listByServer(
|
|
47
|
+
resourceGroupName: string,
|
|
48
|
+
serverName: string,
|
|
49
|
+
parameters: WaitStatisticsInput,
|
|
50
|
+
options?: WaitStatisticsListByServerOptionalParams
|
|
51
|
+
): PagedAsyncIterableIterator<WaitStatistic> {
|
|
52
|
+
const iter = this.listByServerPagingAll(
|
|
53
|
+
resourceGroupName,
|
|
54
|
+
serverName,
|
|
55
|
+
parameters,
|
|
56
|
+
options
|
|
57
|
+
);
|
|
58
|
+
return {
|
|
59
|
+
next() {
|
|
60
|
+
return iter.next();
|
|
61
|
+
},
|
|
62
|
+
[Symbol.asyncIterator]() {
|
|
63
|
+
return this;
|
|
64
|
+
},
|
|
65
|
+
byPage: () => {
|
|
66
|
+
return this.listByServerPagingPage(
|
|
67
|
+
resourceGroupName,
|
|
68
|
+
serverName,
|
|
69
|
+
parameters,
|
|
70
|
+
options
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
private async *listByServerPagingPage(
|
|
77
|
+
resourceGroupName: string,
|
|
78
|
+
serverName: string,
|
|
79
|
+
parameters: WaitStatisticsInput,
|
|
80
|
+
options?: WaitStatisticsListByServerOptionalParams
|
|
81
|
+
): AsyncIterableIterator<WaitStatistic[]> {
|
|
82
|
+
let result = await this._listByServer(
|
|
83
|
+
resourceGroupName,
|
|
84
|
+
serverName,
|
|
85
|
+
parameters,
|
|
86
|
+
options
|
|
87
|
+
);
|
|
88
|
+
yield result.value || [];
|
|
89
|
+
let continuationToken = result.nextLink;
|
|
90
|
+
while (continuationToken) {
|
|
91
|
+
result = await this._listByServerNext(
|
|
92
|
+
resourceGroupName,
|
|
93
|
+
serverName,
|
|
94
|
+
parameters,
|
|
95
|
+
continuationToken,
|
|
96
|
+
options
|
|
97
|
+
);
|
|
98
|
+
continuationToken = result.nextLink;
|
|
99
|
+
yield result.value || [];
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
private async *listByServerPagingAll(
|
|
104
|
+
resourceGroupName: string,
|
|
105
|
+
serverName: string,
|
|
106
|
+
parameters: WaitStatisticsInput,
|
|
107
|
+
options?: WaitStatisticsListByServerOptionalParams
|
|
108
|
+
): AsyncIterableIterator<WaitStatistic> {
|
|
109
|
+
for await (const page of this.listByServerPagingPage(
|
|
110
|
+
resourceGroupName,
|
|
111
|
+
serverName,
|
|
112
|
+
parameters,
|
|
113
|
+
options
|
|
114
|
+
)) {
|
|
115
|
+
yield* page;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Retrieve wait statistics for specified identifier.
|
|
121
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
122
|
+
* @param serverName The name of the server.
|
|
123
|
+
* @param waitStatisticsId The Wait Statistic identifier.
|
|
124
|
+
* @param options The options parameters.
|
|
125
|
+
*/
|
|
126
|
+
get(
|
|
127
|
+
resourceGroupName: string,
|
|
128
|
+
serverName: string,
|
|
129
|
+
waitStatisticsId: string,
|
|
130
|
+
options?: WaitStatisticsGetOptionalParams
|
|
131
|
+
): Promise<WaitStatisticsGetResponse> {
|
|
132
|
+
return this.client.sendOperationRequest(
|
|
133
|
+
{ resourceGroupName, serverName, waitStatisticsId, options },
|
|
134
|
+
getOperationSpec
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Retrieve wait statistics for specified aggregation window.
|
|
140
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
141
|
+
* @param serverName The name of the server.
|
|
142
|
+
* @param parameters The required parameters for retrieving wait statistics.
|
|
143
|
+
* @param options The options parameters.
|
|
144
|
+
*/
|
|
145
|
+
private _listByServer(
|
|
146
|
+
resourceGroupName: string,
|
|
147
|
+
serverName: string,
|
|
148
|
+
parameters: WaitStatisticsInput,
|
|
149
|
+
options?: WaitStatisticsListByServerOptionalParams
|
|
150
|
+
): Promise<WaitStatisticsListByServerResponse> {
|
|
151
|
+
return this.client.sendOperationRequest(
|
|
152
|
+
{ resourceGroupName, serverName, parameters, options },
|
|
153
|
+
listByServerOperationSpec
|
|
154
|
+
);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* ListByServerNext
|
|
159
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
160
|
+
* @param serverName The name of the server.
|
|
161
|
+
* @param parameters The required parameters for retrieving wait statistics.
|
|
162
|
+
* @param nextLink The nextLink from the previous successful call to the ListByServer method.
|
|
163
|
+
* @param options The options parameters.
|
|
164
|
+
*/
|
|
165
|
+
private _listByServerNext(
|
|
166
|
+
resourceGroupName: string,
|
|
167
|
+
serverName: string,
|
|
168
|
+
parameters: WaitStatisticsInput,
|
|
169
|
+
nextLink: string,
|
|
170
|
+
options?: WaitStatisticsListByServerNextOptionalParams
|
|
171
|
+
): Promise<WaitStatisticsListByServerNextResponse> {
|
|
172
|
+
return this.client.sendOperationRequest(
|
|
173
|
+
{ resourceGroupName, serverName, parameters, nextLink, options },
|
|
174
|
+
listByServerNextOperationSpec
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
// Operation Specifications
|
|
179
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
180
|
+
|
|
181
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
182
|
+
path:
|
|
183
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/waitStatistics/{waitStatisticsId}",
|
|
184
|
+
httpMethod: "GET",
|
|
185
|
+
responses: {
|
|
186
|
+
200: {
|
|
187
|
+
bodyMapper: Mappers.WaitStatistic
|
|
188
|
+
},
|
|
189
|
+
default: {
|
|
190
|
+
bodyMapper: Mappers.CloudError
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
queryParameters: [Parameters.apiVersion2],
|
|
194
|
+
urlParameters: [
|
|
195
|
+
Parameters.$host,
|
|
196
|
+
Parameters.subscriptionId,
|
|
197
|
+
Parameters.resourceGroupName,
|
|
198
|
+
Parameters.serverName,
|
|
199
|
+
Parameters.waitStatisticsId
|
|
200
|
+
],
|
|
201
|
+
headerParameters: [Parameters.accept],
|
|
202
|
+
serializer
|
|
203
|
+
};
|
|
204
|
+
const listByServerOperationSpec: coreClient.OperationSpec = {
|
|
205
|
+
path:
|
|
206
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/waitStatistics",
|
|
207
|
+
httpMethod: "GET",
|
|
208
|
+
responses: {
|
|
209
|
+
200: {
|
|
210
|
+
bodyMapper: Mappers.WaitStatisticsResultList
|
|
211
|
+
},
|
|
212
|
+
default: {
|
|
213
|
+
bodyMapper: Mappers.CloudError
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
queryParameters: [Parameters.apiVersion2],
|
|
217
|
+
urlParameters: [
|
|
218
|
+
Parameters.$host,
|
|
219
|
+
Parameters.subscriptionId,
|
|
220
|
+
Parameters.resourceGroupName,
|
|
221
|
+
Parameters.serverName
|
|
222
|
+
],
|
|
223
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
224
|
+
mediaType: "json",
|
|
225
|
+
serializer
|
|
226
|
+
};
|
|
227
|
+
const listByServerNextOperationSpec: coreClient.OperationSpec = {
|
|
228
|
+
path: "{nextLink}",
|
|
229
|
+
httpMethod: "GET",
|
|
230
|
+
responses: {
|
|
231
|
+
200: {
|
|
232
|
+
bodyMapper: Mappers.WaitStatisticsResultList
|
|
233
|
+
},
|
|
234
|
+
default: {
|
|
235
|
+
bodyMapper: Mappers.CloudError
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
queryParameters: [Parameters.apiVersion2],
|
|
239
|
+
urlParameters: [
|
|
240
|
+
Parameters.$host,
|
|
241
|
+
Parameters.subscriptionId,
|
|
242
|
+
Parameters.resourceGroupName,
|
|
243
|
+
Parameters.serverName,
|
|
244
|
+
Parameters.nextLink
|
|
245
|
+
],
|
|
246
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
247
|
+
mediaType: "json",
|
|
248
|
+
serializer
|
|
249
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
Advisor,
|
|
12
|
+
AdvisorsListByServerOptionalParams,
|
|
13
|
+
AdvisorsGetOptionalParams,
|
|
14
|
+
AdvisorsGetResponse
|
|
15
|
+
} from "../models";
|
|
16
|
+
|
|
17
|
+
/// <reference lib="esnext.asynciterable" />
|
|
18
|
+
/** Interface representing a Advisors. */
|
|
19
|
+
export interface Advisors {
|
|
20
|
+
/**
|
|
21
|
+
* List recommendation action advisors.
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
+
* @param serverName The name of the server.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
listByServer(
|
|
27
|
+
resourceGroupName: string,
|
|
28
|
+
serverName: string,
|
|
29
|
+
options?: AdvisorsListByServerOptionalParams
|
|
30
|
+
): PagedAsyncIterableIterator<Advisor>;
|
|
31
|
+
/**
|
|
32
|
+
* Get a recommendation action advisor.
|
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
+
* @param serverName The name of the server.
|
|
35
|
+
* @param advisorName The advisor name for recommendation action.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
get(
|
|
39
|
+
resourceGroupName: string,
|
|
40
|
+
serverName: string,
|
|
41
|
+
advisorName: string,
|
|
42
|
+
options?: AdvisorsGetOptionalParams
|
|
43
|
+
): Promise<AdvisorsGetResponse>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import {
|
|
10
|
+
NameAvailabilityRequest,
|
|
11
|
+
CheckNameAvailabilityExecuteOptionalParams,
|
|
12
|
+
CheckNameAvailabilityExecuteResponse
|
|
13
|
+
} from "../models";
|
|
14
|
+
|
|
15
|
+
/** Interface representing a CheckNameAvailability. */
|
|
16
|
+
export interface CheckNameAvailability {
|
|
17
|
+
/**
|
|
18
|
+
* Check the availability of name for resource
|
|
19
|
+
* @param nameAvailabilityRequest The required parameters for checking if resource name is available.
|
|
20
|
+
* @param options The options parameters.
|
|
21
|
+
*/
|
|
22
|
+
execute(
|
|
23
|
+
nameAvailabilityRequest: NameAvailabilityRequest,
|
|
24
|
+
options?: CheckNameAvailabilityExecuteOptionalParams
|
|
25
|
+
): Promise<CheckNameAvailabilityExecuteResponse>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
Configuration,
|
|
13
|
+
ConfigurationsListByServerOptionalParams,
|
|
14
|
+
ConfigurationsCreateOrUpdateOptionalParams,
|
|
15
|
+
ConfigurationsCreateOrUpdateResponse,
|
|
16
|
+
ConfigurationsGetOptionalParams,
|
|
17
|
+
ConfigurationsGetResponse
|
|
18
|
+
} from "../models";
|
|
19
|
+
|
|
20
|
+
/// <reference lib="esnext.asynciterable" />
|
|
21
|
+
/** Interface representing a Configurations. */
|
|
22
|
+
export interface Configurations {
|
|
23
|
+
/**
|
|
24
|
+
* List all the configurations in a given server.
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param serverName The name of the server.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
listByServer(
|
|
30
|
+
resourceGroupName: string,
|
|
31
|
+
serverName: string,
|
|
32
|
+
options?: ConfigurationsListByServerOptionalParams
|
|
33
|
+
): PagedAsyncIterableIterator<Configuration>;
|
|
34
|
+
/**
|
|
35
|
+
* Updates a configuration of a server.
|
|
36
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
|
+
* @param serverName The name of the server.
|
|
38
|
+
* @param configurationName The name of the server configuration.
|
|
39
|
+
* @param parameters The required parameters for updating a server configuration.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
beginCreateOrUpdate(
|
|
43
|
+
resourceGroupName: string,
|
|
44
|
+
serverName: string,
|
|
45
|
+
configurationName: string,
|
|
46
|
+
parameters: Configuration,
|
|
47
|
+
options?: ConfigurationsCreateOrUpdateOptionalParams
|
|
48
|
+
): Promise<
|
|
49
|
+
PollerLike<
|
|
50
|
+
PollOperationState<ConfigurationsCreateOrUpdateResponse>,
|
|
51
|
+
ConfigurationsCreateOrUpdateResponse
|
|
52
|
+
>
|
|
53
|
+
>;
|
|
54
|
+
/**
|
|
55
|
+
* Updates a configuration of a server.
|
|
56
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
57
|
+
* @param serverName The name of the server.
|
|
58
|
+
* @param configurationName The name of the server configuration.
|
|
59
|
+
* @param parameters The required parameters for updating a server configuration.
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
beginCreateOrUpdateAndWait(
|
|
63
|
+
resourceGroupName: string,
|
|
64
|
+
serverName: string,
|
|
65
|
+
configurationName: string,
|
|
66
|
+
parameters: Configuration,
|
|
67
|
+
options?: ConfigurationsCreateOrUpdateOptionalParams
|
|
68
|
+
): Promise<ConfigurationsCreateOrUpdateResponse>;
|
|
69
|
+
/**
|
|
70
|
+
* Gets information about a configuration of server.
|
|
71
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
72
|
+
* @param serverName The name of the server.
|
|
73
|
+
* @param configurationName The name of the server configuration.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
get(
|
|
77
|
+
resourceGroupName: string,
|
|
78
|
+
serverName: string,
|
|
79
|
+
configurationName: string,
|
|
80
|
+
options?: ConfigurationsGetOptionalParams
|
|
81
|
+
): Promise<ConfigurationsGetResponse>;
|
|
82
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
Database,
|
|
13
|
+
DatabasesListByServerOptionalParams,
|
|
14
|
+
DatabasesCreateOrUpdateOptionalParams,
|
|
15
|
+
DatabasesCreateOrUpdateResponse,
|
|
16
|
+
DatabasesDeleteOptionalParams,
|
|
17
|
+
DatabasesGetOptionalParams,
|
|
18
|
+
DatabasesGetResponse
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a Databases. */
|
|
23
|
+
export interface Databases {
|
|
24
|
+
/**
|
|
25
|
+
* List all the databases in a given server.
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param serverName The name of the server.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByServer(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
serverName: string,
|
|
33
|
+
options?: DatabasesListByServerOptionalParams
|
|
34
|
+
): PagedAsyncIterableIterator<Database>;
|
|
35
|
+
/**
|
|
36
|
+
* Creates a new database or updates an existing database.
|
|
37
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
38
|
+
* @param serverName The name of the server.
|
|
39
|
+
* @param databaseName The name of the database.
|
|
40
|
+
* @param parameters The required parameters for creating or updating a database.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
beginCreateOrUpdate(
|
|
44
|
+
resourceGroupName: string,
|
|
45
|
+
serverName: string,
|
|
46
|
+
databaseName: string,
|
|
47
|
+
parameters: Database,
|
|
48
|
+
options?: DatabasesCreateOrUpdateOptionalParams
|
|
49
|
+
): Promise<
|
|
50
|
+
PollerLike<
|
|
51
|
+
PollOperationState<DatabasesCreateOrUpdateResponse>,
|
|
52
|
+
DatabasesCreateOrUpdateResponse
|
|
53
|
+
>
|
|
54
|
+
>;
|
|
55
|
+
/**
|
|
56
|
+
* Creates a new database or updates an existing database.
|
|
57
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
58
|
+
* @param serverName The name of the server.
|
|
59
|
+
* @param databaseName The name of the database.
|
|
60
|
+
* @param parameters The required parameters for creating or updating a database.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
beginCreateOrUpdateAndWait(
|
|
64
|
+
resourceGroupName: string,
|
|
65
|
+
serverName: string,
|
|
66
|
+
databaseName: string,
|
|
67
|
+
parameters: Database,
|
|
68
|
+
options?: DatabasesCreateOrUpdateOptionalParams
|
|
69
|
+
): Promise<DatabasesCreateOrUpdateResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* Deletes a database.
|
|
72
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
73
|
+
* @param serverName The name of the server.
|
|
74
|
+
* @param databaseName The name of the database.
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
beginDelete(
|
|
78
|
+
resourceGroupName: string,
|
|
79
|
+
serverName: string,
|
|
80
|
+
databaseName: string,
|
|
81
|
+
options?: DatabasesDeleteOptionalParams
|
|
82
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
83
|
+
/**
|
|
84
|
+
* Deletes a database.
|
|
85
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
86
|
+
* @param serverName The name of the server.
|
|
87
|
+
* @param databaseName The name of the database.
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
beginDeleteAndWait(
|
|
91
|
+
resourceGroupName: string,
|
|
92
|
+
serverName: string,
|
|
93
|
+
databaseName: string,
|
|
94
|
+
options?: DatabasesDeleteOptionalParams
|
|
95
|
+
): Promise<void>;
|
|
96
|
+
/**
|
|
97
|
+
* Gets information about a database.
|
|
98
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
99
|
+
* @param serverName The name of the server.
|
|
100
|
+
* @param databaseName The name of the database.
|
|
101
|
+
* @param options The options parameters.
|
|
102
|
+
*/
|
|
103
|
+
get(
|
|
104
|
+
resourceGroupName: string,
|
|
105
|
+
serverName: string,
|
|
106
|
+
databaseName: string,
|
|
107
|
+
options?: DatabasesGetOptionalParams
|
|
108
|
+
): Promise<DatabasesGetResponse>;
|
|
109
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
FirewallRule,
|
|
13
|
+
FirewallRulesListByServerOptionalParams,
|
|
14
|
+
FirewallRulesCreateOrUpdateOptionalParams,
|
|
15
|
+
FirewallRulesCreateOrUpdateResponse,
|
|
16
|
+
FirewallRulesDeleteOptionalParams,
|
|
17
|
+
FirewallRulesGetOptionalParams,
|
|
18
|
+
FirewallRulesGetResponse
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a FirewallRules. */
|
|
23
|
+
export interface FirewallRules {
|
|
24
|
+
/**
|
|
25
|
+
* List all the firewall rules in a given server.
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param serverName The name of the server.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByServer(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
serverName: string,
|
|
33
|
+
options?: FirewallRulesListByServerOptionalParams
|
|
34
|
+
): PagedAsyncIterableIterator<FirewallRule>;
|
|
35
|
+
/**
|
|
36
|
+
* Creates a new firewall rule or updates an existing firewall rule.
|
|
37
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
38
|
+
* @param serverName The name of the server.
|
|
39
|
+
* @param firewallRuleName The name of the server firewall rule.
|
|
40
|
+
* @param parameters The required parameters for creating or updating a firewall rule.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
beginCreateOrUpdate(
|
|
44
|
+
resourceGroupName: string,
|
|
45
|
+
serverName: string,
|
|
46
|
+
firewallRuleName: string,
|
|
47
|
+
parameters: FirewallRule,
|
|
48
|
+
options?: FirewallRulesCreateOrUpdateOptionalParams
|
|
49
|
+
): Promise<
|
|
50
|
+
PollerLike<
|
|
51
|
+
PollOperationState<FirewallRulesCreateOrUpdateResponse>,
|
|
52
|
+
FirewallRulesCreateOrUpdateResponse
|
|
53
|
+
>
|
|
54
|
+
>;
|
|
55
|
+
/**
|
|
56
|
+
* Creates a new firewall rule or updates an existing firewall rule.
|
|
57
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
58
|
+
* @param serverName The name of the server.
|
|
59
|
+
* @param firewallRuleName The name of the server firewall rule.
|
|
60
|
+
* @param parameters The required parameters for creating or updating a firewall rule.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
beginCreateOrUpdateAndWait(
|
|
64
|
+
resourceGroupName: string,
|
|
65
|
+
serverName: string,
|
|
66
|
+
firewallRuleName: string,
|
|
67
|
+
parameters: FirewallRule,
|
|
68
|
+
options?: FirewallRulesCreateOrUpdateOptionalParams
|
|
69
|
+
): Promise<FirewallRulesCreateOrUpdateResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* Deletes a server firewall rule.
|
|
72
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
73
|
+
* @param serverName The name of the server.
|
|
74
|
+
* @param firewallRuleName The name of the server firewall rule.
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
beginDelete(
|
|
78
|
+
resourceGroupName: string,
|
|
79
|
+
serverName: string,
|
|
80
|
+
firewallRuleName: string,
|
|
81
|
+
options?: FirewallRulesDeleteOptionalParams
|
|
82
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
83
|
+
/**
|
|
84
|
+
* Deletes a server firewall rule.
|
|
85
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
86
|
+
* @param serverName The name of the server.
|
|
87
|
+
* @param firewallRuleName The name of the server firewall rule.
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
beginDeleteAndWait(
|
|
91
|
+
resourceGroupName: string,
|
|
92
|
+
serverName: string,
|
|
93
|
+
firewallRuleName: string,
|
|
94
|
+
options?: FirewallRulesDeleteOptionalParams
|
|
95
|
+
): Promise<void>;
|
|
96
|
+
/**
|
|
97
|
+
* Gets information about a server firewall rule.
|
|
98
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
99
|
+
* @param serverName The name of the server.
|
|
100
|
+
* @param firewallRuleName The name of the server firewall rule.
|
|
101
|
+
* @param options The options parameters.
|
|
102
|
+
*/
|
|
103
|
+
get(
|
|
104
|
+
resourceGroupName: string,
|
|
105
|
+
serverName: string,
|
|
106
|
+
firewallRuleName: string,
|
|
107
|
+
options?: FirewallRulesGetOptionalParams
|
|
108
|
+
): Promise<FirewallRulesGetResponse>;
|
|
109
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export * from "./servers";
|
|
10
|
+
export * from "./replicas";
|
|
11
|
+
export * from "./firewallRules";
|
|
12
|
+
export * from "./virtualNetworkRules";
|
|
13
|
+
export * from "./databases";
|
|
14
|
+
export * from "./configurations";
|
|
15
|
+
export * from "./serverParameters";
|
|
16
|
+
export * from "./logFiles";
|
|
17
|
+
export * from "./serverAdministrators";
|
|
18
|
+
export * from "./recoverableServers";
|
|
19
|
+
export * from "./serverBasedPerformanceTier";
|
|
20
|
+
export * from "./locationBasedPerformanceTier";
|
|
21
|
+
export * from "./checkNameAvailability";
|
|
22
|
+
export * from "./operations";
|
|
23
|
+
export * from "./serverSecurityAlertPolicies";
|
|
24
|
+
export * from "./queryTexts";
|
|
25
|
+
export * from "./topQueryStatistics";
|
|
26
|
+
export * from "./waitStatistics";
|
|
27
|
+
export * from "./advisors";
|
|
28
|
+
export * from "./recommendedActions";
|
|
29
|
+
export * from "./locationBasedRecommendedActionSessionsOperationStatus";
|
|
30
|
+
export * from "./locationBasedRecommendedActionSessionsResult";
|
|
31
|
+
export * from "./privateEndpointConnections";
|
|
32
|
+
export * from "./privateLinkResources";
|
|
33
|
+
export * from "./serverKeys";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
PerformanceTierProperties,
|
|
12
|
+
LocationBasedPerformanceTierListOptionalParams
|
|
13
|
+
} from "../models";
|
|
14
|
+
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Interface representing a LocationBasedPerformanceTier. */
|
|
17
|
+
export interface LocationBasedPerformanceTier {
|
|
18
|
+
/**
|
|
19
|
+
* List all the performance tiers at specified location in a given subscription.
|
|
20
|
+
* @param locationName The name of the location.
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
list(
|
|
24
|
+
locationName: string,
|
|
25
|
+
options?: LocationBasedPerformanceTierListOptionalParams
|
|
26
|
+
): PagedAsyncIterableIterator<PerformanceTierProperties>;
|
|
27
|
+
}
|