@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
package/dist/arm-mysql.js
DELETED
|
@@ -1,3173 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
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
|
-
(function (global, factory) {
|
|
9
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
|
|
10
|
-
typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
|
|
11
|
-
(factory((global.Azure = global.Azure || {}, global.Azure.ArmMysql = {}),global.msRestAzure,global.msRest));
|
|
12
|
-
}(this, (function (exports,msRestAzure,msRest) { 'use strict';
|
|
13
|
-
|
|
14
|
-
/*! *****************************************************************************
|
|
15
|
-
Copyright (c) Microsoft Corporation.
|
|
16
|
-
|
|
17
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
18
|
-
purpose with or without fee is hereby granted.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
21
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
22
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
23
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
24
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
25
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
27
|
-
***************************************************************************** */
|
|
28
|
-
/* global Reflect, Promise */
|
|
29
|
-
|
|
30
|
-
var extendStatics = function(d, b) {
|
|
31
|
-
extendStatics = Object.setPrototypeOf ||
|
|
32
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
33
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
34
|
-
return extendStatics(d, b);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
function __extends(d, b) {
|
|
38
|
-
extendStatics(d, b);
|
|
39
|
-
function __() { this.constructor = d; }
|
|
40
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
var __assign = function() {
|
|
44
|
-
__assign = Object.assign || function __assign(t) {
|
|
45
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
46
|
-
s = arguments[i];
|
|
47
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
48
|
-
}
|
|
49
|
-
return t;
|
|
50
|
-
};
|
|
51
|
-
return __assign.apply(this, arguments);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
/*
|
|
55
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
56
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
57
|
-
*
|
|
58
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
59
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
60
|
-
*/
|
|
61
|
-
|
|
62
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
63
|
-
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
/*
|
|
67
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
68
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
69
|
-
*
|
|
70
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
71
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
72
|
-
*/
|
|
73
|
-
var CloudError = msRestAzure.CloudErrorMapper;
|
|
74
|
-
var BaseResource = msRestAzure.BaseResourceMapper;
|
|
75
|
-
var ProxyResource = {
|
|
76
|
-
serializedName: "ProxyResource",
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "ProxyResource",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
id: {
|
|
82
|
-
readOnly: true,
|
|
83
|
-
serializedName: "id",
|
|
84
|
-
type: {
|
|
85
|
-
name: "String"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
name: {
|
|
89
|
-
readOnly: true,
|
|
90
|
-
serializedName: "name",
|
|
91
|
-
type: {
|
|
92
|
-
name: "String"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
type: {
|
|
96
|
-
readOnly: true,
|
|
97
|
-
serializedName: "type",
|
|
98
|
-
type: {
|
|
99
|
-
name: "String"
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
var TrackedResource = {
|
|
106
|
-
serializedName: "TrackedResource",
|
|
107
|
-
type: {
|
|
108
|
-
name: "Composite",
|
|
109
|
-
className: "TrackedResource",
|
|
110
|
-
modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { location: {
|
|
111
|
-
required: true,
|
|
112
|
-
serializedName: "location",
|
|
113
|
-
type: {
|
|
114
|
-
name: "String"
|
|
115
|
-
}
|
|
116
|
-
}, tags: {
|
|
117
|
-
serializedName: "tags",
|
|
118
|
-
type: {
|
|
119
|
-
name: "Dictionary",
|
|
120
|
-
value: {
|
|
121
|
-
type: {
|
|
122
|
-
name: "String"
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
} })
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
var StorageProfile = {
|
|
130
|
-
serializedName: "StorageProfile",
|
|
131
|
-
type: {
|
|
132
|
-
name: "Composite",
|
|
133
|
-
className: "StorageProfile",
|
|
134
|
-
modelProperties: {
|
|
135
|
-
backupRetentionDays: {
|
|
136
|
-
serializedName: "backupRetentionDays",
|
|
137
|
-
type: {
|
|
138
|
-
name: "Number"
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
geoRedundantBackup: {
|
|
142
|
-
serializedName: "geoRedundantBackup",
|
|
143
|
-
type: {
|
|
144
|
-
name: "String"
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
storageMB: {
|
|
148
|
-
serializedName: "storageMB",
|
|
149
|
-
type: {
|
|
150
|
-
name: "Number"
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
storageAutogrow: {
|
|
154
|
-
serializedName: "storageAutogrow",
|
|
155
|
-
type: {
|
|
156
|
-
name: "String"
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
};
|
|
162
|
-
var ServerPropertiesForCreate = {
|
|
163
|
-
serializedName: "ServerPropertiesForCreate",
|
|
164
|
-
type: {
|
|
165
|
-
name: "Composite",
|
|
166
|
-
polymorphicDiscriminator: {
|
|
167
|
-
serializedName: "createMode",
|
|
168
|
-
clientName: "createMode"
|
|
169
|
-
},
|
|
170
|
-
uberParent: "ServerPropertiesForCreate",
|
|
171
|
-
className: "ServerPropertiesForCreate",
|
|
172
|
-
modelProperties: {
|
|
173
|
-
version: {
|
|
174
|
-
serializedName: "version",
|
|
175
|
-
type: {
|
|
176
|
-
name: "String"
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
sslEnforcement: {
|
|
180
|
-
serializedName: "sslEnforcement",
|
|
181
|
-
type: {
|
|
182
|
-
name: "Enum",
|
|
183
|
-
allowedValues: [
|
|
184
|
-
"Enabled",
|
|
185
|
-
"Disabled"
|
|
186
|
-
]
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
storageProfile: {
|
|
190
|
-
serializedName: "storageProfile",
|
|
191
|
-
type: {
|
|
192
|
-
name: "Composite",
|
|
193
|
-
className: "StorageProfile"
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
createMode: {
|
|
197
|
-
required: true,
|
|
198
|
-
serializedName: "createMode",
|
|
199
|
-
type: {
|
|
200
|
-
name: "String"
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
};
|
|
206
|
-
var ServerPropertiesForDefaultCreate = {
|
|
207
|
-
serializedName: "Default",
|
|
208
|
-
type: {
|
|
209
|
-
name: "Composite",
|
|
210
|
-
polymorphicDiscriminator: ServerPropertiesForCreate.type.polymorphicDiscriminator,
|
|
211
|
-
uberParent: "ServerPropertiesForCreate",
|
|
212
|
-
className: "ServerPropertiesForDefaultCreate",
|
|
213
|
-
modelProperties: __assign(__assign({}, ServerPropertiesForCreate.type.modelProperties), { administratorLogin: {
|
|
214
|
-
required: true,
|
|
215
|
-
serializedName: "administratorLogin",
|
|
216
|
-
type: {
|
|
217
|
-
name: "String"
|
|
218
|
-
}
|
|
219
|
-
}, administratorLoginPassword: {
|
|
220
|
-
required: true,
|
|
221
|
-
serializedName: "administratorLoginPassword",
|
|
222
|
-
type: {
|
|
223
|
-
name: "String"
|
|
224
|
-
}
|
|
225
|
-
} })
|
|
226
|
-
}
|
|
227
|
-
};
|
|
228
|
-
var ServerPropertiesForRestore = {
|
|
229
|
-
serializedName: "PointInTimeRestore",
|
|
230
|
-
type: {
|
|
231
|
-
name: "Composite",
|
|
232
|
-
polymorphicDiscriminator: ServerPropertiesForCreate.type.polymorphicDiscriminator,
|
|
233
|
-
uberParent: "ServerPropertiesForCreate",
|
|
234
|
-
className: "ServerPropertiesForRestore",
|
|
235
|
-
modelProperties: __assign(__assign({}, ServerPropertiesForCreate.type.modelProperties), { sourceServerId: {
|
|
236
|
-
required: true,
|
|
237
|
-
serializedName: "sourceServerId",
|
|
238
|
-
type: {
|
|
239
|
-
name: "String"
|
|
240
|
-
}
|
|
241
|
-
}, restorePointInTime: {
|
|
242
|
-
required: true,
|
|
243
|
-
serializedName: "restorePointInTime",
|
|
244
|
-
type: {
|
|
245
|
-
name: "DateTime"
|
|
246
|
-
}
|
|
247
|
-
} })
|
|
248
|
-
}
|
|
249
|
-
};
|
|
250
|
-
var ServerPropertiesForGeoRestore = {
|
|
251
|
-
serializedName: "GeoRestore",
|
|
252
|
-
type: {
|
|
253
|
-
name: "Composite",
|
|
254
|
-
polymorphicDiscriminator: ServerPropertiesForCreate.type.polymorphicDiscriminator,
|
|
255
|
-
uberParent: "ServerPropertiesForCreate",
|
|
256
|
-
className: "ServerPropertiesForGeoRestore",
|
|
257
|
-
modelProperties: __assign(__assign({}, ServerPropertiesForCreate.type.modelProperties), { sourceServerId: {
|
|
258
|
-
required: true,
|
|
259
|
-
serializedName: "sourceServerId",
|
|
260
|
-
type: {
|
|
261
|
-
name: "String"
|
|
262
|
-
}
|
|
263
|
-
} })
|
|
264
|
-
}
|
|
265
|
-
};
|
|
266
|
-
var ServerPropertiesForReplica = {
|
|
267
|
-
serializedName: "Replica",
|
|
268
|
-
type: {
|
|
269
|
-
name: "Composite",
|
|
270
|
-
polymorphicDiscriminator: ServerPropertiesForCreate.type.polymorphicDiscriminator,
|
|
271
|
-
uberParent: "ServerPropertiesForCreate",
|
|
272
|
-
className: "ServerPropertiesForReplica",
|
|
273
|
-
modelProperties: __assign(__assign({}, ServerPropertiesForCreate.type.modelProperties), { sourceServerId: {
|
|
274
|
-
required: true,
|
|
275
|
-
serializedName: "sourceServerId",
|
|
276
|
-
type: {
|
|
277
|
-
name: "String"
|
|
278
|
-
}
|
|
279
|
-
} })
|
|
280
|
-
}
|
|
281
|
-
};
|
|
282
|
-
var Sku = {
|
|
283
|
-
serializedName: "Sku",
|
|
284
|
-
type: {
|
|
285
|
-
name: "Composite",
|
|
286
|
-
className: "Sku",
|
|
287
|
-
modelProperties: {
|
|
288
|
-
name: {
|
|
289
|
-
serializedName: "name",
|
|
290
|
-
type: {
|
|
291
|
-
name: "String"
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
tier: {
|
|
295
|
-
serializedName: "tier",
|
|
296
|
-
type: {
|
|
297
|
-
name: "String"
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
capacity: {
|
|
301
|
-
serializedName: "capacity",
|
|
302
|
-
constraints: {
|
|
303
|
-
InclusiveMinimum: 0
|
|
304
|
-
},
|
|
305
|
-
type: {
|
|
306
|
-
name: "Number"
|
|
307
|
-
}
|
|
308
|
-
},
|
|
309
|
-
size: {
|
|
310
|
-
serializedName: "size",
|
|
311
|
-
type: {
|
|
312
|
-
name: "String"
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
family: {
|
|
316
|
-
serializedName: "family",
|
|
317
|
-
type: {
|
|
318
|
-
name: "String"
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
};
|
|
324
|
-
var Server = {
|
|
325
|
-
serializedName: "Server",
|
|
326
|
-
type: {
|
|
327
|
-
name: "Composite",
|
|
328
|
-
className: "Server",
|
|
329
|
-
modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { sku: {
|
|
330
|
-
serializedName: "sku",
|
|
331
|
-
type: {
|
|
332
|
-
name: "Composite",
|
|
333
|
-
className: "Sku"
|
|
334
|
-
}
|
|
335
|
-
}, administratorLogin: {
|
|
336
|
-
serializedName: "properties.administratorLogin",
|
|
337
|
-
type: {
|
|
338
|
-
name: "String"
|
|
339
|
-
}
|
|
340
|
-
}, version: {
|
|
341
|
-
serializedName: "properties.version",
|
|
342
|
-
type: {
|
|
343
|
-
name: "String"
|
|
344
|
-
}
|
|
345
|
-
}, sslEnforcement: {
|
|
346
|
-
serializedName: "properties.sslEnforcement",
|
|
347
|
-
type: {
|
|
348
|
-
name: "Enum",
|
|
349
|
-
allowedValues: [
|
|
350
|
-
"Enabled",
|
|
351
|
-
"Disabled"
|
|
352
|
-
]
|
|
353
|
-
}
|
|
354
|
-
}, userVisibleState: {
|
|
355
|
-
serializedName: "properties.userVisibleState",
|
|
356
|
-
type: {
|
|
357
|
-
name: "String"
|
|
358
|
-
}
|
|
359
|
-
}, fullyQualifiedDomainName: {
|
|
360
|
-
serializedName: "properties.fullyQualifiedDomainName",
|
|
361
|
-
type: {
|
|
362
|
-
name: "String"
|
|
363
|
-
}
|
|
364
|
-
}, earliestRestoreDate: {
|
|
365
|
-
serializedName: "properties.earliestRestoreDate",
|
|
366
|
-
type: {
|
|
367
|
-
name: "DateTime"
|
|
368
|
-
}
|
|
369
|
-
}, storageProfile: {
|
|
370
|
-
serializedName: "properties.storageProfile",
|
|
371
|
-
type: {
|
|
372
|
-
name: "Composite",
|
|
373
|
-
className: "StorageProfile"
|
|
374
|
-
}
|
|
375
|
-
}, replicationRole: {
|
|
376
|
-
serializedName: "properties.replicationRole",
|
|
377
|
-
type: {
|
|
378
|
-
name: "String"
|
|
379
|
-
}
|
|
380
|
-
}, masterServerId: {
|
|
381
|
-
serializedName: "properties.masterServerId",
|
|
382
|
-
type: {
|
|
383
|
-
name: "String"
|
|
384
|
-
}
|
|
385
|
-
}, replicaCapacity: {
|
|
386
|
-
serializedName: "properties.replicaCapacity",
|
|
387
|
-
constraints: {
|
|
388
|
-
InclusiveMinimum: 0
|
|
389
|
-
},
|
|
390
|
-
type: {
|
|
391
|
-
name: "Number"
|
|
392
|
-
}
|
|
393
|
-
} })
|
|
394
|
-
}
|
|
395
|
-
};
|
|
396
|
-
var ServerForCreate = {
|
|
397
|
-
serializedName: "ServerForCreate",
|
|
398
|
-
type: {
|
|
399
|
-
name: "Composite",
|
|
400
|
-
className: "ServerForCreate",
|
|
401
|
-
modelProperties: {
|
|
402
|
-
sku: {
|
|
403
|
-
serializedName: "sku",
|
|
404
|
-
type: {
|
|
405
|
-
name: "Composite",
|
|
406
|
-
className: "Sku"
|
|
407
|
-
}
|
|
408
|
-
},
|
|
409
|
-
properties: {
|
|
410
|
-
required: true,
|
|
411
|
-
serializedName: "properties",
|
|
412
|
-
type: {
|
|
413
|
-
name: "Composite",
|
|
414
|
-
className: "ServerPropertiesForCreate"
|
|
415
|
-
}
|
|
416
|
-
},
|
|
417
|
-
location: {
|
|
418
|
-
required: true,
|
|
419
|
-
serializedName: "location",
|
|
420
|
-
type: {
|
|
421
|
-
name: "String"
|
|
422
|
-
}
|
|
423
|
-
},
|
|
424
|
-
tags: {
|
|
425
|
-
serializedName: "tags",
|
|
426
|
-
type: {
|
|
427
|
-
name: "Dictionary",
|
|
428
|
-
value: {
|
|
429
|
-
type: {
|
|
430
|
-
name: "String"
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
};
|
|
438
|
-
var ServerUpdateParameters = {
|
|
439
|
-
serializedName: "ServerUpdateParameters",
|
|
440
|
-
type: {
|
|
441
|
-
name: "Composite",
|
|
442
|
-
className: "ServerUpdateParameters",
|
|
443
|
-
modelProperties: {
|
|
444
|
-
sku: {
|
|
445
|
-
serializedName: "sku",
|
|
446
|
-
type: {
|
|
447
|
-
name: "Composite",
|
|
448
|
-
className: "Sku"
|
|
449
|
-
}
|
|
450
|
-
},
|
|
451
|
-
storageProfile: {
|
|
452
|
-
serializedName: "properties.storageProfile",
|
|
453
|
-
type: {
|
|
454
|
-
name: "Composite",
|
|
455
|
-
className: "StorageProfile"
|
|
456
|
-
}
|
|
457
|
-
},
|
|
458
|
-
administratorLoginPassword: {
|
|
459
|
-
serializedName: "properties.administratorLoginPassword",
|
|
460
|
-
type: {
|
|
461
|
-
name: "String"
|
|
462
|
-
}
|
|
463
|
-
},
|
|
464
|
-
version: {
|
|
465
|
-
serializedName: "properties.version",
|
|
466
|
-
type: {
|
|
467
|
-
name: "String"
|
|
468
|
-
}
|
|
469
|
-
},
|
|
470
|
-
sslEnforcement: {
|
|
471
|
-
serializedName: "properties.sslEnforcement",
|
|
472
|
-
type: {
|
|
473
|
-
name: "Enum",
|
|
474
|
-
allowedValues: [
|
|
475
|
-
"Enabled",
|
|
476
|
-
"Disabled"
|
|
477
|
-
]
|
|
478
|
-
}
|
|
479
|
-
},
|
|
480
|
-
replicationRole: {
|
|
481
|
-
serializedName: "properties.replicationRole",
|
|
482
|
-
type: {
|
|
483
|
-
name: "String"
|
|
484
|
-
}
|
|
485
|
-
},
|
|
486
|
-
tags: {
|
|
487
|
-
serializedName: "tags",
|
|
488
|
-
type: {
|
|
489
|
-
name: "Dictionary",
|
|
490
|
-
value: {
|
|
491
|
-
type: {
|
|
492
|
-
name: "String"
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
};
|
|
500
|
-
var FirewallRule = {
|
|
501
|
-
serializedName: "FirewallRule",
|
|
502
|
-
type: {
|
|
503
|
-
name: "Composite",
|
|
504
|
-
className: "FirewallRule",
|
|
505
|
-
modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { startIpAddress: {
|
|
506
|
-
required: true,
|
|
507
|
-
serializedName: "properties.startIpAddress",
|
|
508
|
-
constraints: {
|
|
509
|
-
Pattern: /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/
|
|
510
|
-
},
|
|
511
|
-
type: {
|
|
512
|
-
name: "String"
|
|
513
|
-
}
|
|
514
|
-
}, endIpAddress: {
|
|
515
|
-
required: true,
|
|
516
|
-
serializedName: "properties.endIpAddress",
|
|
517
|
-
constraints: {
|
|
518
|
-
Pattern: /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/
|
|
519
|
-
},
|
|
520
|
-
type: {
|
|
521
|
-
name: "String"
|
|
522
|
-
}
|
|
523
|
-
} })
|
|
524
|
-
}
|
|
525
|
-
};
|
|
526
|
-
var VirtualNetworkRule = {
|
|
527
|
-
serializedName: "VirtualNetworkRule",
|
|
528
|
-
type: {
|
|
529
|
-
name: "Composite",
|
|
530
|
-
className: "VirtualNetworkRule",
|
|
531
|
-
modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { virtualNetworkSubnetId: {
|
|
532
|
-
required: true,
|
|
533
|
-
serializedName: "properties.virtualNetworkSubnetId",
|
|
534
|
-
type: {
|
|
535
|
-
name: "String"
|
|
536
|
-
}
|
|
537
|
-
}, ignoreMissingVnetServiceEndpoint: {
|
|
538
|
-
serializedName: "properties.ignoreMissingVnetServiceEndpoint",
|
|
539
|
-
type: {
|
|
540
|
-
name: "Boolean"
|
|
541
|
-
}
|
|
542
|
-
}, state: {
|
|
543
|
-
readOnly: true,
|
|
544
|
-
serializedName: "properties.state",
|
|
545
|
-
type: {
|
|
546
|
-
name: "String"
|
|
547
|
-
}
|
|
548
|
-
} })
|
|
549
|
-
}
|
|
550
|
-
};
|
|
551
|
-
var Database = {
|
|
552
|
-
serializedName: "Database",
|
|
553
|
-
type: {
|
|
554
|
-
name: "Composite",
|
|
555
|
-
className: "Database",
|
|
556
|
-
modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { charset: {
|
|
557
|
-
serializedName: "properties.charset",
|
|
558
|
-
type: {
|
|
559
|
-
name: "String"
|
|
560
|
-
}
|
|
561
|
-
}, collation: {
|
|
562
|
-
serializedName: "properties.collation",
|
|
563
|
-
type: {
|
|
564
|
-
name: "String"
|
|
565
|
-
}
|
|
566
|
-
} })
|
|
567
|
-
}
|
|
568
|
-
};
|
|
569
|
-
var Configuration = {
|
|
570
|
-
serializedName: "Configuration",
|
|
571
|
-
type: {
|
|
572
|
-
name: "Composite",
|
|
573
|
-
className: "Configuration",
|
|
574
|
-
modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { value: {
|
|
575
|
-
serializedName: "properties.value",
|
|
576
|
-
type: {
|
|
577
|
-
name: "String"
|
|
578
|
-
}
|
|
579
|
-
}, description: {
|
|
580
|
-
readOnly: true,
|
|
581
|
-
serializedName: "properties.description",
|
|
582
|
-
type: {
|
|
583
|
-
name: "String"
|
|
584
|
-
}
|
|
585
|
-
}, defaultValue: {
|
|
586
|
-
readOnly: true,
|
|
587
|
-
serializedName: "properties.defaultValue",
|
|
588
|
-
type: {
|
|
589
|
-
name: "String"
|
|
590
|
-
}
|
|
591
|
-
}, dataType: {
|
|
592
|
-
readOnly: true,
|
|
593
|
-
serializedName: "properties.dataType",
|
|
594
|
-
type: {
|
|
595
|
-
name: "String"
|
|
596
|
-
}
|
|
597
|
-
}, allowedValues: {
|
|
598
|
-
readOnly: true,
|
|
599
|
-
serializedName: "properties.allowedValues",
|
|
600
|
-
type: {
|
|
601
|
-
name: "String"
|
|
602
|
-
}
|
|
603
|
-
}, source: {
|
|
604
|
-
serializedName: "properties.source",
|
|
605
|
-
type: {
|
|
606
|
-
name: "String"
|
|
607
|
-
}
|
|
608
|
-
} })
|
|
609
|
-
}
|
|
610
|
-
};
|
|
611
|
-
var OperationDisplay = {
|
|
612
|
-
serializedName: "OperationDisplay",
|
|
613
|
-
type: {
|
|
614
|
-
name: "Composite",
|
|
615
|
-
className: "OperationDisplay",
|
|
616
|
-
modelProperties: {
|
|
617
|
-
provider: {
|
|
618
|
-
readOnly: true,
|
|
619
|
-
serializedName: "provider",
|
|
620
|
-
type: {
|
|
621
|
-
name: "String"
|
|
622
|
-
}
|
|
623
|
-
},
|
|
624
|
-
resource: {
|
|
625
|
-
readOnly: true,
|
|
626
|
-
serializedName: "resource",
|
|
627
|
-
type: {
|
|
628
|
-
name: "String"
|
|
629
|
-
}
|
|
630
|
-
},
|
|
631
|
-
operation: {
|
|
632
|
-
readOnly: true,
|
|
633
|
-
serializedName: "operation",
|
|
634
|
-
type: {
|
|
635
|
-
name: "String"
|
|
636
|
-
}
|
|
637
|
-
},
|
|
638
|
-
description: {
|
|
639
|
-
readOnly: true,
|
|
640
|
-
serializedName: "description",
|
|
641
|
-
type: {
|
|
642
|
-
name: "String"
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
};
|
|
648
|
-
var Operation = {
|
|
649
|
-
serializedName: "Operation",
|
|
650
|
-
type: {
|
|
651
|
-
name: "Composite",
|
|
652
|
-
className: "Operation",
|
|
653
|
-
modelProperties: {
|
|
654
|
-
name: {
|
|
655
|
-
readOnly: true,
|
|
656
|
-
serializedName: "name",
|
|
657
|
-
type: {
|
|
658
|
-
name: "String"
|
|
659
|
-
}
|
|
660
|
-
},
|
|
661
|
-
display: {
|
|
662
|
-
readOnly: true,
|
|
663
|
-
serializedName: "display",
|
|
664
|
-
type: {
|
|
665
|
-
name: "Composite",
|
|
666
|
-
className: "OperationDisplay"
|
|
667
|
-
}
|
|
668
|
-
},
|
|
669
|
-
origin: {
|
|
670
|
-
readOnly: true,
|
|
671
|
-
serializedName: "origin",
|
|
672
|
-
type: {
|
|
673
|
-
name: "String"
|
|
674
|
-
}
|
|
675
|
-
},
|
|
676
|
-
properties: {
|
|
677
|
-
readOnly: true,
|
|
678
|
-
serializedName: "properties",
|
|
679
|
-
type: {
|
|
680
|
-
name: "Dictionary",
|
|
681
|
-
value: {
|
|
682
|
-
type: {
|
|
683
|
-
name: "Object"
|
|
684
|
-
}
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
};
|
|
691
|
-
var OperationListResult = {
|
|
692
|
-
serializedName: "OperationListResult",
|
|
693
|
-
type: {
|
|
694
|
-
name: "Composite",
|
|
695
|
-
className: "OperationListResult",
|
|
696
|
-
modelProperties: {
|
|
697
|
-
value: {
|
|
698
|
-
serializedName: "value",
|
|
699
|
-
type: {
|
|
700
|
-
name: "Sequence",
|
|
701
|
-
element: {
|
|
702
|
-
type: {
|
|
703
|
-
name: "Composite",
|
|
704
|
-
className: "Operation"
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
};
|
|
712
|
-
var LogFile = {
|
|
713
|
-
serializedName: "LogFile",
|
|
714
|
-
type: {
|
|
715
|
-
name: "Composite",
|
|
716
|
-
className: "LogFile",
|
|
717
|
-
modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { sizeInKB: {
|
|
718
|
-
serializedName: "properties.sizeInKB",
|
|
719
|
-
type: {
|
|
720
|
-
name: "Number"
|
|
721
|
-
}
|
|
722
|
-
}, createdTime: {
|
|
723
|
-
readOnly: true,
|
|
724
|
-
serializedName: "properties.createdTime",
|
|
725
|
-
type: {
|
|
726
|
-
name: "DateTime"
|
|
727
|
-
}
|
|
728
|
-
}, lastModifiedTime: {
|
|
729
|
-
readOnly: true,
|
|
730
|
-
serializedName: "properties.lastModifiedTime",
|
|
731
|
-
type: {
|
|
732
|
-
name: "DateTime"
|
|
733
|
-
}
|
|
734
|
-
}, logFileType: {
|
|
735
|
-
serializedName: "properties.type",
|
|
736
|
-
type: {
|
|
737
|
-
name: "String"
|
|
738
|
-
}
|
|
739
|
-
}, url: {
|
|
740
|
-
serializedName: "properties.url",
|
|
741
|
-
type: {
|
|
742
|
-
name: "String"
|
|
743
|
-
}
|
|
744
|
-
} })
|
|
745
|
-
}
|
|
746
|
-
};
|
|
747
|
-
var PerformanceTierServiceLevelObjectives = {
|
|
748
|
-
serializedName: "PerformanceTierServiceLevelObjectives",
|
|
749
|
-
type: {
|
|
750
|
-
name: "Composite",
|
|
751
|
-
className: "PerformanceTierServiceLevelObjectives",
|
|
752
|
-
modelProperties: {
|
|
753
|
-
id: {
|
|
754
|
-
serializedName: "id",
|
|
755
|
-
type: {
|
|
756
|
-
name: "String"
|
|
757
|
-
}
|
|
758
|
-
},
|
|
759
|
-
edition: {
|
|
760
|
-
serializedName: "edition",
|
|
761
|
-
type: {
|
|
762
|
-
name: "String"
|
|
763
|
-
}
|
|
764
|
-
},
|
|
765
|
-
vCore: {
|
|
766
|
-
serializedName: "vCore",
|
|
767
|
-
type: {
|
|
768
|
-
name: "Number"
|
|
769
|
-
}
|
|
770
|
-
},
|
|
771
|
-
hardwareGeneration: {
|
|
772
|
-
serializedName: "hardwareGeneration",
|
|
773
|
-
type: {
|
|
774
|
-
name: "String"
|
|
775
|
-
}
|
|
776
|
-
},
|
|
777
|
-
maxBackupRetentionDays: {
|
|
778
|
-
serializedName: "maxBackupRetentionDays",
|
|
779
|
-
type: {
|
|
780
|
-
name: "Number"
|
|
781
|
-
}
|
|
782
|
-
},
|
|
783
|
-
minBackupRetentionDays: {
|
|
784
|
-
serializedName: "minBackupRetentionDays",
|
|
785
|
-
type: {
|
|
786
|
-
name: "Number"
|
|
787
|
-
}
|
|
788
|
-
},
|
|
789
|
-
maxStorageMB: {
|
|
790
|
-
serializedName: "maxStorageMB",
|
|
791
|
-
type: {
|
|
792
|
-
name: "Number"
|
|
793
|
-
}
|
|
794
|
-
},
|
|
795
|
-
minStorageMB: {
|
|
796
|
-
serializedName: "minStorageMB",
|
|
797
|
-
type: {
|
|
798
|
-
name: "Number"
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
};
|
|
804
|
-
var PerformanceTierProperties = {
|
|
805
|
-
serializedName: "PerformanceTierProperties",
|
|
806
|
-
type: {
|
|
807
|
-
name: "Composite",
|
|
808
|
-
className: "PerformanceTierProperties",
|
|
809
|
-
modelProperties: {
|
|
810
|
-
id: {
|
|
811
|
-
serializedName: "id",
|
|
812
|
-
type: {
|
|
813
|
-
name: "String"
|
|
814
|
-
}
|
|
815
|
-
},
|
|
816
|
-
serviceLevelObjectives: {
|
|
817
|
-
serializedName: "serviceLevelObjectives",
|
|
818
|
-
type: {
|
|
819
|
-
name: "Sequence",
|
|
820
|
-
element: {
|
|
821
|
-
type: {
|
|
822
|
-
name: "Composite",
|
|
823
|
-
className: "PerformanceTierServiceLevelObjectives"
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
|
-
};
|
|
831
|
-
var NameAvailabilityRequest = {
|
|
832
|
-
serializedName: "NameAvailabilityRequest",
|
|
833
|
-
type: {
|
|
834
|
-
name: "Composite",
|
|
835
|
-
className: "NameAvailabilityRequest",
|
|
836
|
-
modelProperties: {
|
|
837
|
-
name: {
|
|
838
|
-
required: true,
|
|
839
|
-
serializedName: "name",
|
|
840
|
-
type: {
|
|
841
|
-
name: "String"
|
|
842
|
-
}
|
|
843
|
-
},
|
|
844
|
-
type: {
|
|
845
|
-
serializedName: "type",
|
|
846
|
-
type: {
|
|
847
|
-
name: "String"
|
|
848
|
-
}
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
};
|
|
853
|
-
var NameAvailability = {
|
|
854
|
-
serializedName: "NameAvailability",
|
|
855
|
-
type: {
|
|
856
|
-
name: "Composite",
|
|
857
|
-
className: "NameAvailability",
|
|
858
|
-
modelProperties: {
|
|
859
|
-
message: {
|
|
860
|
-
serializedName: "message",
|
|
861
|
-
type: {
|
|
862
|
-
name: "String"
|
|
863
|
-
}
|
|
864
|
-
},
|
|
865
|
-
nameAvailable: {
|
|
866
|
-
serializedName: "nameAvailable",
|
|
867
|
-
type: {
|
|
868
|
-
name: "Boolean"
|
|
869
|
-
}
|
|
870
|
-
},
|
|
871
|
-
reason: {
|
|
872
|
-
serializedName: "reason",
|
|
873
|
-
type: {
|
|
874
|
-
name: "String"
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
|
-
}
|
|
879
|
-
};
|
|
880
|
-
var ServerSecurityAlertPolicy = {
|
|
881
|
-
serializedName: "ServerSecurityAlertPolicy",
|
|
882
|
-
type: {
|
|
883
|
-
name: "Composite",
|
|
884
|
-
className: "ServerSecurityAlertPolicy",
|
|
885
|
-
modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { state: {
|
|
886
|
-
required: true,
|
|
887
|
-
serializedName: "properties.state",
|
|
888
|
-
type: {
|
|
889
|
-
name: "Enum",
|
|
890
|
-
allowedValues: [
|
|
891
|
-
"Enabled",
|
|
892
|
-
"Disabled"
|
|
893
|
-
]
|
|
894
|
-
}
|
|
895
|
-
}, disabledAlerts: {
|
|
896
|
-
serializedName: "properties.disabledAlerts",
|
|
897
|
-
type: {
|
|
898
|
-
name: "Sequence",
|
|
899
|
-
element: {
|
|
900
|
-
type: {
|
|
901
|
-
name: "String"
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
}, emailAddresses: {
|
|
906
|
-
serializedName: "properties.emailAddresses",
|
|
907
|
-
type: {
|
|
908
|
-
name: "Sequence",
|
|
909
|
-
element: {
|
|
910
|
-
type: {
|
|
911
|
-
name: "String"
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
}, emailAccountAdmins: {
|
|
916
|
-
serializedName: "properties.emailAccountAdmins",
|
|
917
|
-
type: {
|
|
918
|
-
name: "Boolean"
|
|
919
|
-
}
|
|
920
|
-
}, storageEndpoint: {
|
|
921
|
-
serializedName: "properties.storageEndpoint",
|
|
922
|
-
type: {
|
|
923
|
-
name: "String"
|
|
924
|
-
}
|
|
925
|
-
}, storageAccountAccessKey: {
|
|
926
|
-
serializedName: "properties.storageAccountAccessKey",
|
|
927
|
-
type: {
|
|
928
|
-
name: "String"
|
|
929
|
-
}
|
|
930
|
-
}, retentionDays: {
|
|
931
|
-
serializedName: "properties.retentionDays",
|
|
932
|
-
type: {
|
|
933
|
-
name: "Number"
|
|
934
|
-
}
|
|
935
|
-
} })
|
|
936
|
-
}
|
|
937
|
-
};
|
|
938
|
-
var ServerListResult = {
|
|
939
|
-
serializedName: "ServerListResult",
|
|
940
|
-
type: {
|
|
941
|
-
name: "Composite",
|
|
942
|
-
className: "ServerListResult",
|
|
943
|
-
modelProperties: {
|
|
944
|
-
value: {
|
|
945
|
-
serializedName: "",
|
|
946
|
-
type: {
|
|
947
|
-
name: "Sequence",
|
|
948
|
-
element: {
|
|
949
|
-
type: {
|
|
950
|
-
name: "Composite",
|
|
951
|
-
className: "Server"
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
};
|
|
959
|
-
var FirewallRuleListResult = {
|
|
960
|
-
serializedName: "FirewallRuleListResult",
|
|
961
|
-
type: {
|
|
962
|
-
name: "Composite",
|
|
963
|
-
className: "FirewallRuleListResult",
|
|
964
|
-
modelProperties: {
|
|
965
|
-
value: {
|
|
966
|
-
serializedName: "",
|
|
967
|
-
type: {
|
|
968
|
-
name: "Sequence",
|
|
969
|
-
element: {
|
|
970
|
-
type: {
|
|
971
|
-
name: "Composite",
|
|
972
|
-
className: "FirewallRule"
|
|
973
|
-
}
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
}
|
|
979
|
-
};
|
|
980
|
-
var VirtualNetworkRuleListResult = {
|
|
981
|
-
serializedName: "VirtualNetworkRuleListResult",
|
|
982
|
-
type: {
|
|
983
|
-
name: "Composite",
|
|
984
|
-
className: "VirtualNetworkRuleListResult",
|
|
985
|
-
modelProperties: {
|
|
986
|
-
value: {
|
|
987
|
-
readOnly: true,
|
|
988
|
-
serializedName: "",
|
|
989
|
-
type: {
|
|
990
|
-
name: "Sequence",
|
|
991
|
-
element: {
|
|
992
|
-
type: {
|
|
993
|
-
name: "Composite",
|
|
994
|
-
className: "VirtualNetworkRule"
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
},
|
|
999
|
-
nextLink: {
|
|
1000
|
-
readOnly: true,
|
|
1001
|
-
serializedName: "nextLink",
|
|
1002
|
-
type: {
|
|
1003
|
-
name: "String"
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
1008
|
-
};
|
|
1009
|
-
var DatabaseListResult = {
|
|
1010
|
-
serializedName: "DatabaseListResult",
|
|
1011
|
-
type: {
|
|
1012
|
-
name: "Composite",
|
|
1013
|
-
className: "DatabaseListResult",
|
|
1014
|
-
modelProperties: {
|
|
1015
|
-
value: {
|
|
1016
|
-
serializedName: "",
|
|
1017
|
-
type: {
|
|
1018
|
-
name: "Sequence",
|
|
1019
|
-
element: {
|
|
1020
|
-
type: {
|
|
1021
|
-
name: "Composite",
|
|
1022
|
-
className: "Database"
|
|
1023
|
-
}
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
};
|
|
1030
|
-
var ConfigurationListResult = {
|
|
1031
|
-
serializedName: "ConfigurationListResult",
|
|
1032
|
-
type: {
|
|
1033
|
-
name: "Composite",
|
|
1034
|
-
className: "ConfigurationListResult",
|
|
1035
|
-
modelProperties: {
|
|
1036
|
-
value: {
|
|
1037
|
-
serializedName: "",
|
|
1038
|
-
type: {
|
|
1039
|
-
name: "Sequence",
|
|
1040
|
-
element: {
|
|
1041
|
-
type: {
|
|
1042
|
-
name: "Composite",
|
|
1043
|
-
className: "Configuration"
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
};
|
|
1051
|
-
var LogFileListResult = {
|
|
1052
|
-
serializedName: "LogFileListResult",
|
|
1053
|
-
type: {
|
|
1054
|
-
name: "Composite",
|
|
1055
|
-
className: "LogFileListResult",
|
|
1056
|
-
modelProperties: {
|
|
1057
|
-
value: {
|
|
1058
|
-
serializedName: "",
|
|
1059
|
-
type: {
|
|
1060
|
-
name: "Sequence",
|
|
1061
|
-
element: {
|
|
1062
|
-
type: {
|
|
1063
|
-
name: "Composite",
|
|
1064
|
-
className: "LogFile"
|
|
1065
|
-
}
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
};
|
|
1072
|
-
var PerformanceTierListResult = {
|
|
1073
|
-
serializedName: "PerformanceTierListResult",
|
|
1074
|
-
type: {
|
|
1075
|
-
name: "Composite",
|
|
1076
|
-
className: "PerformanceTierListResult",
|
|
1077
|
-
modelProperties: {
|
|
1078
|
-
value: {
|
|
1079
|
-
serializedName: "",
|
|
1080
|
-
type: {
|
|
1081
|
-
name: "Sequence",
|
|
1082
|
-
element: {
|
|
1083
|
-
type: {
|
|
1084
|
-
name: "Composite",
|
|
1085
|
-
className: "PerformanceTierProperties"
|
|
1086
|
-
}
|
|
1087
|
-
}
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
}
|
|
1091
|
-
}
|
|
1092
|
-
};
|
|
1093
|
-
var discriminators = {
|
|
1094
|
-
'ServerPropertiesForCreate': ServerPropertiesForCreate,
|
|
1095
|
-
'ServerPropertiesForCreate.Default': ServerPropertiesForDefaultCreate,
|
|
1096
|
-
'ServerPropertiesForCreate.PointInTimeRestore': ServerPropertiesForRestore,
|
|
1097
|
-
'ServerPropertiesForCreate.GeoRestore': ServerPropertiesForGeoRestore,
|
|
1098
|
-
'ServerPropertiesForCreate.Replica': ServerPropertiesForReplica
|
|
1099
|
-
};
|
|
1100
|
-
|
|
1101
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
1102
|
-
CloudError: CloudError,
|
|
1103
|
-
BaseResource: BaseResource,
|
|
1104
|
-
ProxyResource: ProxyResource,
|
|
1105
|
-
TrackedResource: TrackedResource,
|
|
1106
|
-
StorageProfile: StorageProfile,
|
|
1107
|
-
ServerPropertiesForCreate: ServerPropertiesForCreate,
|
|
1108
|
-
ServerPropertiesForDefaultCreate: ServerPropertiesForDefaultCreate,
|
|
1109
|
-
ServerPropertiesForRestore: ServerPropertiesForRestore,
|
|
1110
|
-
ServerPropertiesForGeoRestore: ServerPropertiesForGeoRestore,
|
|
1111
|
-
ServerPropertiesForReplica: ServerPropertiesForReplica,
|
|
1112
|
-
Sku: Sku,
|
|
1113
|
-
Server: Server,
|
|
1114
|
-
ServerForCreate: ServerForCreate,
|
|
1115
|
-
ServerUpdateParameters: ServerUpdateParameters,
|
|
1116
|
-
FirewallRule: FirewallRule,
|
|
1117
|
-
VirtualNetworkRule: VirtualNetworkRule,
|
|
1118
|
-
Database: Database,
|
|
1119
|
-
Configuration: Configuration,
|
|
1120
|
-
OperationDisplay: OperationDisplay,
|
|
1121
|
-
Operation: Operation,
|
|
1122
|
-
OperationListResult: OperationListResult,
|
|
1123
|
-
LogFile: LogFile,
|
|
1124
|
-
PerformanceTierServiceLevelObjectives: PerformanceTierServiceLevelObjectives,
|
|
1125
|
-
PerformanceTierProperties: PerformanceTierProperties,
|
|
1126
|
-
NameAvailabilityRequest: NameAvailabilityRequest,
|
|
1127
|
-
NameAvailability: NameAvailability,
|
|
1128
|
-
ServerSecurityAlertPolicy: ServerSecurityAlertPolicy,
|
|
1129
|
-
ServerListResult: ServerListResult,
|
|
1130
|
-
FirewallRuleListResult: FirewallRuleListResult,
|
|
1131
|
-
VirtualNetworkRuleListResult: VirtualNetworkRuleListResult,
|
|
1132
|
-
DatabaseListResult: DatabaseListResult,
|
|
1133
|
-
ConfigurationListResult: ConfigurationListResult,
|
|
1134
|
-
LogFileListResult: LogFileListResult,
|
|
1135
|
-
PerformanceTierListResult: PerformanceTierListResult,
|
|
1136
|
-
discriminators: discriminators
|
|
1137
|
-
});
|
|
1138
|
-
|
|
1139
|
-
/*
|
|
1140
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1141
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1142
|
-
*
|
|
1143
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1144
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1145
|
-
*/
|
|
1146
|
-
|
|
1147
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1148
|
-
discriminators: discriminators,
|
|
1149
|
-
BaseResource: BaseResource,
|
|
1150
|
-
CloudError: CloudError,
|
|
1151
|
-
Configuration: Configuration,
|
|
1152
|
-
Database: Database,
|
|
1153
|
-
FirewallRule: FirewallRule,
|
|
1154
|
-
LogFile: LogFile,
|
|
1155
|
-
ProxyResource: ProxyResource,
|
|
1156
|
-
Server: Server,
|
|
1157
|
-
ServerForCreate: ServerForCreate,
|
|
1158
|
-
ServerListResult: ServerListResult,
|
|
1159
|
-
ServerPropertiesForCreate: ServerPropertiesForCreate,
|
|
1160
|
-
ServerPropertiesForDefaultCreate: ServerPropertiesForDefaultCreate,
|
|
1161
|
-
ServerPropertiesForGeoRestore: ServerPropertiesForGeoRestore,
|
|
1162
|
-
ServerPropertiesForReplica: ServerPropertiesForReplica,
|
|
1163
|
-
ServerPropertiesForRestore: ServerPropertiesForRestore,
|
|
1164
|
-
ServerSecurityAlertPolicy: ServerSecurityAlertPolicy,
|
|
1165
|
-
ServerUpdateParameters: ServerUpdateParameters,
|
|
1166
|
-
Sku: Sku,
|
|
1167
|
-
StorageProfile: StorageProfile,
|
|
1168
|
-
TrackedResource: TrackedResource,
|
|
1169
|
-
VirtualNetworkRule: VirtualNetworkRule
|
|
1170
|
-
});
|
|
1171
|
-
|
|
1172
|
-
/*
|
|
1173
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1174
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1175
|
-
* license information.
|
|
1176
|
-
*
|
|
1177
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1178
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1179
|
-
* regenerated.
|
|
1180
|
-
*/
|
|
1181
|
-
var acceptLanguage = {
|
|
1182
|
-
parameterPath: "acceptLanguage",
|
|
1183
|
-
mapper: {
|
|
1184
|
-
serializedName: "accept-language",
|
|
1185
|
-
defaultValue: 'en-US',
|
|
1186
|
-
type: {
|
|
1187
|
-
name: "String"
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
};
|
|
1191
|
-
var apiVersion = {
|
|
1192
|
-
parameterPath: "apiVersion",
|
|
1193
|
-
mapper: {
|
|
1194
|
-
required: true,
|
|
1195
|
-
serializedName: "api-version",
|
|
1196
|
-
type: {
|
|
1197
|
-
name: "String"
|
|
1198
|
-
}
|
|
1199
|
-
}
|
|
1200
|
-
};
|
|
1201
|
-
var configurationName = {
|
|
1202
|
-
parameterPath: "configurationName",
|
|
1203
|
-
mapper: {
|
|
1204
|
-
required: true,
|
|
1205
|
-
serializedName: "configurationName",
|
|
1206
|
-
type: {
|
|
1207
|
-
name: "String"
|
|
1208
|
-
}
|
|
1209
|
-
}
|
|
1210
|
-
};
|
|
1211
|
-
var databaseName = {
|
|
1212
|
-
parameterPath: "databaseName",
|
|
1213
|
-
mapper: {
|
|
1214
|
-
required: true,
|
|
1215
|
-
serializedName: "databaseName",
|
|
1216
|
-
type: {
|
|
1217
|
-
name: "String"
|
|
1218
|
-
}
|
|
1219
|
-
}
|
|
1220
|
-
};
|
|
1221
|
-
var firewallRuleName = {
|
|
1222
|
-
parameterPath: "firewallRuleName",
|
|
1223
|
-
mapper: {
|
|
1224
|
-
required: true,
|
|
1225
|
-
serializedName: "firewallRuleName",
|
|
1226
|
-
type: {
|
|
1227
|
-
name: "String"
|
|
1228
|
-
}
|
|
1229
|
-
}
|
|
1230
|
-
};
|
|
1231
|
-
var locationName = {
|
|
1232
|
-
parameterPath: "locationName",
|
|
1233
|
-
mapper: {
|
|
1234
|
-
required: true,
|
|
1235
|
-
serializedName: "locationName",
|
|
1236
|
-
type: {
|
|
1237
|
-
name: "String"
|
|
1238
|
-
}
|
|
1239
|
-
}
|
|
1240
|
-
};
|
|
1241
|
-
var nextPageLink = {
|
|
1242
|
-
parameterPath: "nextPageLink",
|
|
1243
|
-
mapper: {
|
|
1244
|
-
required: true,
|
|
1245
|
-
serializedName: "nextLink",
|
|
1246
|
-
type: {
|
|
1247
|
-
name: "String"
|
|
1248
|
-
}
|
|
1249
|
-
},
|
|
1250
|
-
skipEncoding: true
|
|
1251
|
-
};
|
|
1252
|
-
var resourceGroupName = {
|
|
1253
|
-
parameterPath: "resourceGroupName",
|
|
1254
|
-
mapper: {
|
|
1255
|
-
required: true,
|
|
1256
|
-
serializedName: "resourceGroupName",
|
|
1257
|
-
type: {
|
|
1258
|
-
name: "String"
|
|
1259
|
-
}
|
|
1260
|
-
}
|
|
1261
|
-
};
|
|
1262
|
-
var securityAlertPolicyName = {
|
|
1263
|
-
parameterPath: "securityAlertPolicyName",
|
|
1264
|
-
mapper: {
|
|
1265
|
-
required: true,
|
|
1266
|
-
isConstant: true,
|
|
1267
|
-
serializedName: "securityAlertPolicyName",
|
|
1268
|
-
defaultValue: 'Default',
|
|
1269
|
-
type: {
|
|
1270
|
-
name: "String"
|
|
1271
|
-
}
|
|
1272
|
-
}
|
|
1273
|
-
};
|
|
1274
|
-
var serverName = {
|
|
1275
|
-
parameterPath: "serverName",
|
|
1276
|
-
mapper: {
|
|
1277
|
-
required: true,
|
|
1278
|
-
serializedName: "serverName",
|
|
1279
|
-
type: {
|
|
1280
|
-
name: "String"
|
|
1281
|
-
}
|
|
1282
|
-
}
|
|
1283
|
-
};
|
|
1284
|
-
var subscriptionId = {
|
|
1285
|
-
parameterPath: "subscriptionId",
|
|
1286
|
-
mapper: {
|
|
1287
|
-
required: true,
|
|
1288
|
-
serializedName: "subscriptionId",
|
|
1289
|
-
type: {
|
|
1290
|
-
name: "String"
|
|
1291
|
-
}
|
|
1292
|
-
}
|
|
1293
|
-
};
|
|
1294
|
-
var virtualNetworkRuleName = {
|
|
1295
|
-
parameterPath: "virtualNetworkRuleName",
|
|
1296
|
-
mapper: {
|
|
1297
|
-
required: true,
|
|
1298
|
-
serializedName: "virtualNetworkRuleName",
|
|
1299
|
-
type: {
|
|
1300
|
-
name: "String"
|
|
1301
|
-
}
|
|
1302
|
-
}
|
|
1303
|
-
};
|
|
1304
|
-
|
|
1305
|
-
/*
|
|
1306
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1307
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1308
|
-
* license information.
|
|
1309
|
-
*
|
|
1310
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1311
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1312
|
-
* regenerated.
|
|
1313
|
-
*/
|
|
1314
|
-
/** Class representing a Servers. */
|
|
1315
|
-
var Servers = /** @class */ (function () {
|
|
1316
|
-
/**
|
|
1317
|
-
* Create a Servers.
|
|
1318
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
1319
|
-
*/
|
|
1320
|
-
function Servers(client) {
|
|
1321
|
-
this.client = client;
|
|
1322
|
-
}
|
|
1323
|
-
/**
|
|
1324
|
-
* Creates a new server or updates an existing server. The update action will overwrite the
|
|
1325
|
-
* existing server.
|
|
1326
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
1327
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
1328
|
-
* @param serverName The name of the server.
|
|
1329
|
-
* @param parameters The required parameters for creating or updating a server.
|
|
1330
|
-
* @param [options] The optional parameters
|
|
1331
|
-
* @returns Promise<Models.ServersCreateResponse>
|
|
1332
|
-
*/
|
|
1333
|
-
Servers.prototype.create = function (resourceGroupName$$1, serverName$$1, parameters, options) {
|
|
1334
|
-
return this.beginCreate(resourceGroupName$$1, serverName$$1, parameters, options)
|
|
1335
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1336
|
-
};
|
|
1337
|
-
/**
|
|
1338
|
-
* Updates an existing server. The request body can contain one to many of the properties present
|
|
1339
|
-
* in the normal server definition.
|
|
1340
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
1341
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
1342
|
-
* @param serverName The name of the server.
|
|
1343
|
-
* @param parameters The required parameters for updating a server.
|
|
1344
|
-
* @param [options] The optional parameters
|
|
1345
|
-
* @returns Promise<Models.ServersUpdateResponse>
|
|
1346
|
-
*/
|
|
1347
|
-
Servers.prototype.update = function (resourceGroupName$$1, serverName$$1, parameters, options) {
|
|
1348
|
-
return this.beginUpdate(resourceGroupName$$1, serverName$$1, parameters, options)
|
|
1349
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1350
|
-
};
|
|
1351
|
-
/**
|
|
1352
|
-
* Deletes a server.
|
|
1353
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
1354
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
1355
|
-
* @param serverName The name of the server.
|
|
1356
|
-
* @param [options] The optional parameters
|
|
1357
|
-
* @returns Promise<msRest.RestResponse>
|
|
1358
|
-
*/
|
|
1359
|
-
Servers.prototype.deleteMethod = function (resourceGroupName$$1, serverName$$1, options) {
|
|
1360
|
-
return this.beginDeleteMethod(resourceGroupName$$1, serverName$$1, options)
|
|
1361
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1362
|
-
};
|
|
1363
|
-
Servers.prototype.get = function (resourceGroupName$$1, serverName$$1, options, callback) {
|
|
1364
|
-
return this.client.sendOperationRequest({
|
|
1365
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1366
|
-
serverName: serverName$$1,
|
|
1367
|
-
options: options
|
|
1368
|
-
}, getOperationSpec, callback);
|
|
1369
|
-
};
|
|
1370
|
-
Servers.prototype.listByResourceGroup = function (resourceGroupName$$1, options, callback) {
|
|
1371
|
-
return this.client.sendOperationRequest({
|
|
1372
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1373
|
-
options: options
|
|
1374
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
1375
|
-
};
|
|
1376
|
-
Servers.prototype.list = function (options, callback) {
|
|
1377
|
-
return this.client.sendOperationRequest({
|
|
1378
|
-
options: options
|
|
1379
|
-
}, listOperationSpec, callback);
|
|
1380
|
-
};
|
|
1381
|
-
/**
|
|
1382
|
-
* Restarts a server.
|
|
1383
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
1384
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
1385
|
-
* @param serverName The name of the server.
|
|
1386
|
-
* @param [options] The optional parameters
|
|
1387
|
-
* @returns Promise<msRest.RestResponse>
|
|
1388
|
-
*/
|
|
1389
|
-
Servers.prototype.restart = function (resourceGroupName$$1, serverName$$1, options) {
|
|
1390
|
-
return this.beginRestart(resourceGroupName$$1, serverName$$1, options)
|
|
1391
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1392
|
-
};
|
|
1393
|
-
/**
|
|
1394
|
-
* Creates a new server or updates an existing server. The update action will overwrite the
|
|
1395
|
-
* existing server.
|
|
1396
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
1397
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
1398
|
-
* @param serverName The name of the server.
|
|
1399
|
-
* @param parameters The required parameters for creating or updating a server.
|
|
1400
|
-
* @param [options] The optional parameters
|
|
1401
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1402
|
-
*/
|
|
1403
|
-
Servers.prototype.beginCreate = function (resourceGroupName$$1, serverName$$1, parameters, options) {
|
|
1404
|
-
return this.client.sendLRORequest({
|
|
1405
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1406
|
-
serverName: serverName$$1,
|
|
1407
|
-
parameters: parameters,
|
|
1408
|
-
options: options
|
|
1409
|
-
}, beginCreateOperationSpec, options);
|
|
1410
|
-
};
|
|
1411
|
-
/**
|
|
1412
|
-
* Updates an existing server. The request body can contain one to many of the properties present
|
|
1413
|
-
* in the normal server definition.
|
|
1414
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
1415
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
1416
|
-
* @param serverName The name of the server.
|
|
1417
|
-
* @param parameters The required parameters for updating a server.
|
|
1418
|
-
* @param [options] The optional parameters
|
|
1419
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1420
|
-
*/
|
|
1421
|
-
Servers.prototype.beginUpdate = function (resourceGroupName$$1, serverName$$1, parameters, options) {
|
|
1422
|
-
return this.client.sendLRORequest({
|
|
1423
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1424
|
-
serverName: serverName$$1,
|
|
1425
|
-
parameters: parameters,
|
|
1426
|
-
options: options
|
|
1427
|
-
}, beginUpdateOperationSpec, options);
|
|
1428
|
-
};
|
|
1429
|
-
/**
|
|
1430
|
-
* Deletes a server.
|
|
1431
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
1432
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
1433
|
-
* @param serverName The name of the server.
|
|
1434
|
-
* @param [options] The optional parameters
|
|
1435
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1436
|
-
*/
|
|
1437
|
-
Servers.prototype.beginDeleteMethod = function (resourceGroupName$$1, serverName$$1, options) {
|
|
1438
|
-
return this.client.sendLRORequest({
|
|
1439
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1440
|
-
serverName: serverName$$1,
|
|
1441
|
-
options: options
|
|
1442
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
1443
|
-
};
|
|
1444
|
-
/**
|
|
1445
|
-
* Restarts a server.
|
|
1446
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
1447
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
1448
|
-
* @param serverName The name of the server.
|
|
1449
|
-
* @param [options] The optional parameters
|
|
1450
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1451
|
-
*/
|
|
1452
|
-
Servers.prototype.beginRestart = function (resourceGroupName$$1, serverName$$1, options) {
|
|
1453
|
-
return this.client.sendLRORequest({
|
|
1454
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1455
|
-
serverName: serverName$$1,
|
|
1456
|
-
options: options
|
|
1457
|
-
}, beginRestartOperationSpec, options);
|
|
1458
|
-
};
|
|
1459
|
-
return Servers;
|
|
1460
|
-
}());
|
|
1461
|
-
// Operation Specifications
|
|
1462
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
1463
|
-
var getOperationSpec = {
|
|
1464
|
-
httpMethod: "GET",
|
|
1465
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}",
|
|
1466
|
-
urlParameters: [
|
|
1467
|
-
subscriptionId,
|
|
1468
|
-
resourceGroupName,
|
|
1469
|
-
serverName
|
|
1470
|
-
],
|
|
1471
|
-
queryParameters: [
|
|
1472
|
-
apiVersion
|
|
1473
|
-
],
|
|
1474
|
-
headerParameters: [
|
|
1475
|
-
acceptLanguage
|
|
1476
|
-
],
|
|
1477
|
-
responses: {
|
|
1478
|
-
200: {
|
|
1479
|
-
bodyMapper: Server
|
|
1480
|
-
},
|
|
1481
|
-
default: {
|
|
1482
|
-
bodyMapper: CloudError
|
|
1483
|
-
}
|
|
1484
|
-
},
|
|
1485
|
-
serializer: serializer
|
|
1486
|
-
};
|
|
1487
|
-
var listByResourceGroupOperationSpec = {
|
|
1488
|
-
httpMethod: "GET",
|
|
1489
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers",
|
|
1490
|
-
urlParameters: [
|
|
1491
|
-
subscriptionId,
|
|
1492
|
-
resourceGroupName
|
|
1493
|
-
],
|
|
1494
|
-
queryParameters: [
|
|
1495
|
-
apiVersion
|
|
1496
|
-
],
|
|
1497
|
-
headerParameters: [
|
|
1498
|
-
acceptLanguage
|
|
1499
|
-
],
|
|
1500
|
-
responses: {
|
|
1501
|
-
200: {
|
|
1502
|
-
bodyMapper: ServerListResult
|
|
1503
|
-
},
|
|
1504
|
-
default: {
|
|
1505
|
-
bodyMapper: CloudError
|
|
1506
|
-
}
|
|
1507
|
-
},
|
|
1508
|
-
serializer: serializer
|
|
1509
|
-
};
|
|
1510
|
-
var listOperationSpec = {
|
|
1511
|
-
httpMethod: "GET",
|
|
1512
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/servers",
|
|
1513
|
-
urlParameters: [
|
|
1514
|
-
subscriptionId
|
|
1515
|
-
],
|
|
1516
|
-
queryParameters: [
|
|
1517
|
-
apiVersion
|
|
1518
|
-
],
|
|
1519
|
-
headerParameters: [
|
|
1520
|
-
acceptLanguage
|
|
1521
|
-
],
|
|
1522
|
-
responses: {
|
|
1523
|
-
200: {
|
|
1524
|
-
bodyMapper: ServerListResult
|
|
1525
|
-
},
|
|
1526
|
-
default: {
|
|
1527
|
-
bodyMapper: CloudError
|
|
1528
|
-
}
|
|
1529
|
-
},
|
|
1530
|
-
serializer: serializer
|
|
1531
|
-
};
|
|
1532
|
-
var beginCreateOperationSpec = {
|
|
1533
|
-
httpMethod: "PUT",
|
|
1534
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}",
|
|
1535
|
-
urlParameters: [
|
|
1536
|
-
subscriptionId,
|
|
1537
|
-
resourceGroupName,
|
|
1538
|
-
serverName
|
|
1539
|
-
],
|
|
1540
|
-
queryParameters: [
|
|
1541
|
-
apiVersion
|
|
1542
|
-
],
|
|
1543
|
-
headerParameters: [
|
|
1544
|
-
acceptLanguage
|
|
1545
|
-
],
|
|
1546
|
-
requestBody: {
|
|
1547
|
-
parameterPath: "parameters",
|
|
1548
|
-
mapper: __assign(__assign({}, ServerForCreate), { required: true })
|
|
1549
|
-
},
|
|
1550
|
-
responses: {
|
|
1551
|
-
200: {
|
|
1552
|
-
bodyMapper: Server
|
|
1553
|
-
},
|
|
1554
|
-
201: {
|
|
1555
|
-
bodyMapper: Server
|
|
1556
|
-
},
|
|
1557
|
-
202: {},
|
|
1558
|
-
default: {
|
|
1559
|
-
bodyMapper: CloudError
|
|
1560
|
-
}
|
|
1561
|
-
},
|
|
1562
|
-
serializer: serializer
|
|
1563
|
-
};
|
|
1564
|
-
var beginUpdateOperationSpec = {
|
|
1565
|
-
httpMethod: "PATCH",
|
|
1566
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}",
|
|
1567
|
-
urlParameters: [
|
|
1568
|
-
subscriptionId,
|
|
1569
|
-
resourceGroupName,
|
|
1570
|
-
serverName
|
|
1571
|
-
],
|
|
1572
|
-
queryParameters: [
|
|
1573
|
-
apiVersion
|
|
1574
|
-
],
|
|
1575
|
-
headerParameters: [
|
|
1576
|
-
acceptLanguage
|
|
1577
|
-
],
|
|
1578
|
-
requestBody: {
|
|
1579
|
-
parameterPath: "parameters",
|
|
1580
|
-
mapper: __assign(__assign({}, ServerUpdateParameters), { required: true })
|
|
1581
|
-
},
|
|
1582
|
-
responses: {
|
|
1583
|
-
200: {
|
|
1584
|
-
bodyMapper: Server
|
|
1585
|
-
},
|
|
1586
|
-
202: {},
|
|
1587
|
-
default: {
|
|
1588
|
-
bodyMapper: CloudError
|
|
1589
|
-
}
|
|
1590
|
-
},
|
|
1591
|
-
serializer: serializer
|
|
1592
|
-
};
|
|
1593
|
-
var beginDeleteMethodOperationSpec = {
|
|
1594
|
-
httpMethod: "DELETE",
|
|
1595
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}",
|
|
1596
|
-
urlParameters: [
|
|
1597
|
-
subscriptionId,
|
|
1598
|
-
resourceGroupName,
|
|
1599
|
-
serverName
|
|
1600
|
-
],
|
|
1601
|
-
queryParameters: [
|
|
1602
|
-
apiVersion
|
|
1603
|
-
],
|
|
1604
|
-
headerParameters: [
|
|
1605
|
-
acceptLanguage
|
|
1606
|
-
],
|
|
1607
|
-
responses: {
|
|
1608
|
-
200: {},
|
|
1609
|
-
202: {},
|
|
1610
|
-
204: {},
|
|
1611
|
-
default: {
|
|
1612
|
-
bodyMapper: CloudError
|
|
1613
|
-
}
|
|
1614
|
-
},
|
|
1615
|
-
serializer: serializer
|
|
1616
|
-
};
|
|
1617
|
-
var beginRestartOperationSpec = {
|
|
1618
|
-
httpMethod: "POST",
|
|
1619
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/restart",
|
|
1620
|
-
urlParameters: [
|
|
1621
|
-
subscriptionId,
|
|
1622
|
-
resourceGroupName,
|
|
1623
|
-
serverName
|
|
1624
|
-
],
|
|
1625
|
-
queryParameters: [
|
|
1626
|
-
apiVersion
|
|
1627
|
-
],
|
|
1628
|
-
headerParameters: [
|
|
1629
|
-
acceptLanguage
|
|
1630
|
-
],
|
|
1631
|
-
responses: {
|
|
1632
|
-
200: {},
|
|
1633
|
-
202: {},
|
|
1634
|
-
default: {
|
|
1635
|
-
bodyMapper: CloudError
|
|
1636
|
-
}
|
|
1637
|
-
},
|
|
1638
|
-
serializer: serializer
|
|
1639
|
-
};
|
|
1640
|
-
|
|
1641
|
-
/*
|
|
1642
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1643
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1644
|
-
*
|
|
1645
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1646
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1647
|
-
*/
|
|
1648
|
-
|
|
1649
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
1650
|
-
discriminators: discriminators,
|
|
1651
|
-
BaseResource: BaseResource,
|
|
1652
|
-
CloudError: CloudError,
|
|
1653
|
-
Configuration: Configuration,
|
|
1654
|
-
Database: Database,
|
|
1655
|
-
FirewallRule: FirewallRule,
|
|
1656
|
-
LogFile: LogFile,
|
|
1657
|
-
ProxyResource: ProxyResource,
|
|
1658
|
-
Server: Server,
|
|
1659
|
-
ServerListResult: ServerListResult,
|
|
1660
|
-
ServerSecurityAlertPolicy: ServerSecurityAlertPolicy,
|
|
1661
|
-
Sku: Sku,
|
|
1662
|
-
StorageProfile: StorageProfile,
|
|
1663
|
-
TrackedResource: TrackedResource,
|
|
1664
|
-
VirtualNetworkRule: VirtualNetworkRule
|
|
1665
|
-
});
|
|
1666
|
-
|
|
1667
|
-
/*
|
|
1668
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1669
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1670
|
-
* license information.
|
|
1671
|
-
*
|
|
1672
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1673
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1674
|
-
* regenerated.
|
|
1675
|
-
*/
|
|
1676
|
-
/** Class representing a Replicas. */
|
|
1677
|
-
var Replicas = /** @class */ (function () {
|
|
1678
|
-
/**
|
|
1679
|
-
* Create a Replicas.
|
|
1680
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
1681
|
-
*/
|
|
1682
|
-
function Replicas(client) {
|
|
1683
|
-
this.client = client;
|
|
1684
|
-
}
|
|
1685
|
-
Replicas.prototype.listByServer = function (resourceGroupName$$1, serverName$$1, options, callback) {
|
|
1686
|
-
return this.client.sendOperationRequest({
|
|
1687
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1688
|
-
serverName: serverName$$1,
|
|
1689
|
-
options: options
|
|
1690
|
-
}, listByServerOperationSpec, callback);
|
|
1691
|
-
};
|
|
1692
|
-
return Replicas;
|
|
1693
|
-
}());
|
|
1694
|
-
// Operation Specifications
|
|
1695
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
1696
|
-
var listByServerOperationSpec = {
|
|
1697
|
-
httpMethod: "GET",
|
|
1698
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/replicas",
|
|
1699
|
-
urlParameters: [
|
|
1700
|
-
subscriptionId,
|
|
1701
|
-
resourceGroupName,
|
|
1702
|
-
serverName
|
|
1703
|
-
],
|
|
1704
|
-
queryParameters: [
|
|
1705
|
-
apiVersion
|
|
1706
|
-
],
|
|
1707
|
-
headerParameters: [
|
|
1708
|
-
acceptLanguage
|
|
1709
|
-
],
|
|
1710
|
-
responses: {
|
|
1711
|
-
200: {
|
|
1712
|
-
bodyMapper: ServerListResult
|
|
1713
|
-
},
|
|
1714
|
-
default: {
|
|
1715
|
-
bodyMapper: CloudError
|
|
1716
|
-
}
|
|
1717
|
-
},
|
|
1718
|
-
serializer: serializer$1
|
|
1719
|
-
};
|
|
1720
|
-
|
|
1721
|
-
/*
|
|
1722
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1723
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1724
|
-
*
|
|
1725
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1726
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1727
|
-
*/
|
|
1728
|
-
|
|
1729
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
1730
|
-
discriminators: discriminators,
|
|
1731
|
-
BaseResource: BaseResource,
|
|
1732
|
-
CloudError: CloudError,
|
|
1733
|
-
Configuration: Configuration,
|
|
1734
|
-
Database: Database,
|
|
1735
|
-
FirewallRule: FirewallRule,
|
|
1736
|
-
FirewallRuleListResult: FirewallRuleListResult,
|
|
1737
|
-
LogFile: LogFile,
|
|
1738
|
-
ProxyResource: ProxyResource,
|
|
1739
|
-
Server: Server,
|
|
1740
|
-
ServerSecurityAlertPolicy: ServerSecurityAlertPolicy,
|
|
1741
|
-
Sku: Sku,
|
|
1742
|
-
StorageProfile: StorageProfile,
|
|
1743
|
-
TrackedResource: TrackedResource,
|
|
1744
|
-
VirtualNetworkRule: VirtualNetworkRule
|
|
1745
|
-
});
|
|
1746
|
-
|
|
1747
|
-
/*
|
|
1748
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1749
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1750
|
-
* license information.
|
|
1751
|
-
*
|
|
1752
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1753
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1754
|
-
* regenerated.
|
|
1755
|
-
*/
|
|
1756
|
-
/** Class representing a FirewallRules. */
|
|
1757
|
-
var FirewallRules = /** @class */ (function () {
|
|
1758
|
-
/**
|
|
1759
|
-
* Create a FirewallRules.
|
|
1760
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
1761
|
-
*/
|
|
1762
|
-
function FirewallRules(client) {
|
|
1763
|
-
this.client = client;
|
|
1764
|
-
}
|
|
1765
|
-
/**
|
|
1766
|
-
* Creates a new firewall rule or updates an existing firewall rule.
|
|
1767
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
1768
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
1769
|
-
* @param serverName The name of the server.
|
|
1770
|
-
* @param firewallRuleName The name of the server firewall rule.
|
|
1771
|
-
* @param parameters The required parameters for creating or updating a firewall rule.
|
|
1772
|
-
* @param [options] The optional parameters
|
|
1773
|
-
* @returns Promise<Models.FirewallRulesCreateOrUpdateResponse>
|
|
1774
|
-
*/
|
|
1775
|
-
FirewallRules.prototype.createOrUpdate = function (resourceGroupName$$1, serverName$$1, firewallRuleName$$1, parameters, options) {
|
|
1776
|
-
return this.beginCreateOrUpdate(resourceGroupName$$1, serverName$$1, firewallRuleName$$1, parameters, options)
|
|
1777
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1778
|
-
};
|
|
1779
|
-
/**
|
|
1780
|
-
* Deletes a server firewall rule.
|
|
1781
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
1782
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
1783
|
-
* @param serverName The name of the server.
|
|
1784
|
-
* @param firewallRuleName The name of the server firewall rule.
|
|
1785
|
-
* @param [options] The optional parameters
|
|
1786
|
-
* @returns Promise<msRest.RestResponse>
|
|
1787
|
-
*/
|
|
1788
|
-
FirewallRules.prototype.deleteMethod = function (resourceGroupName$$1, serverName$$1, firewallRuleName$$1, options) {
|
|
1789
|
-
return this.beginDeleteMethod(resourceGroupName$$1, serverName$$1, firewallRuleName$$1, options)
|
|
1790
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1791
|
-
};
|
|
1792
|
-
FirewallRules.prototype.get = function (resourceGroupName$$1, serverName$$1, firewallRuleName$$1, options, callback) {
|
|
1793
|
-
return this.client.sendOperationRequest({
|
|
1794
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1795
|
-
serverName: serverName$$1,
|
|
1796
|
-
firewallRuleName: firewallRuleName$$1,
|
|
1797
|
-
options: options
|
|
1798
|
-
}, getOperationSpec$1, callback);
|
|
1799
|
-
};
|
|
1800
|
-
FirewallRules.prototype.listByServer = function (resourceGroupName$$1, serverName$$1, options, callback) {
|
|
1801
|
-
return this.client.sendOperationRequest({
|
|
1802
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1803
|
-
serverName: serverName$$1,
|
|
1804
|
-
options: options
|
|
1805
|
-
}, listByServerOperationSpec$1, callback);
|
|
1806
|
-
};
|
|
1807
|
-
/**
|
|
1808
|
-
* Creates a new firewall rule or updates an existing firewall rule.
|
|
1809
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
1810
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
1811
|
-
* @param serverName The name of the server.
|
|
1812
|
-
* @param firewallRuleName The name of the server firewall rule.
|
|
1813
|
-
* @param parameters The required parameters for creating or updating a firewall rule.
|
|
1814
|
-
* @param [options] The optional parameters
|
|
1815
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1816
|
-
*/
|
|
1817
|
-
FirewallRules.prototype.beginCreateOrUpdate = function (resourceGroupName$$1, serverName$$1, firewallRuleName$$1, parameters, options) {
|
|
1818
|
-
return this.client.sendLRORequest({
|
|
1819
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1820
|
-
serverName: serverName$$1,
|
|
1821
|
-
firewallRuleName: firewallRuleName$$1,
|
|
1822
|
-
parameters: parameters,
|
|
1823
|
-
options: options
|
|
1824
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
1825
|
-
};
|
|
1826
|
-
/**
|
|
1827
|
-
* Deletes a server firewall rule.
|
|
1828
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
1829
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
1830
|
-
* @param serverName The name of the server.
|
|
1831
|
-
* @param firewallRuleName The name of the server firewall rule.
|
|
1832
|
-
* @param [options] The optional parameters
|
|
1833
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1834
|
-
*/
|
|
1835
|
-
FirewallRules.prototype.beginDeleteMethod = function (resourceGroupName$$1, serverName$$1, firewallRuleName$$1, options) {
|
|
1836
|
-
return this.client.sendLRORequest({
|
|
1837
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1838
|
-
serverName: serverName$$1,
|
|
1839
|
-
firewallRuleName: firewallRuleName$$1,
|
|
1840
|
-
options: options
|
|
1841
|
-
}, beginDeleteMethodOperationSpec$1, options);
|
|
1842
|
-
};
|
|
1843
|
-
return FirewallRules;
|
|
1844
|
-
}());
|
|
1845
|
-
// Operation Specifications
|
|
1846
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
|
1847
|
-
var getOperationSpec$1 = {
|
|
1848
|
-
httpMethod: "GET",
|
|
1849
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/firewallRules/{firewallRuleName}",
|
|
1850
|
-
urlParameters: [
|
|
1851
|
-
subscriptionId,
|
|
1852
|
-
resourceGroupName,
|
|
1853
|
-
serverName,
|
|
1854
|
-
firewallRuleName
|
|
1855
|
-
],
|
|
1856
|
-
queryParameters: [
|
|
1857
|
-
apiVersion
|
|
1858
|
-
],
|
|
1859
|
-
headerParameters: [
|
|
1860
|
-
acceptLanguage
|
|
1861
|
-
],
|
|
1862
|
-
responses: {
|
|
1863
|
-
200: {
|
|
1864
|
-
bodyMapper: FirewallRule
|
|
1865
|
-
},
|
|
1866
|
-
default: {
|
|
1867
|
-
bodyMapper: CloudError
|
|
1868
|
-
}
|
|
1869
|
-
},
|
|
1870
|
-
serializer: serializer$2
|
|
1871
|
-
};
|
|
1872
|
-
var listByServerOperationSpec$1 = {
|
|
1873
|
-
httpMethod: "GET",
|
|
1874
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/firewallRules",
|
|
1875
|
-
urlParameters: [
|
|
1876
|
-
subscriptionId,
|
|
1877
|
-
resourceGroupName,
|
|
1878
|
-
serverName
|
|
1879
|
-
],
|
|
1880
|
-
queryParameters: [
|
|
1881
|
-
apiVersion
|
|
1882
|
-
],
|
|
1883
|
-
headerParameters: [
|
|
1884
|
-
acceptLanguage
|
|
1885
|
-
],
|
|
1886
|
-
responses: {
|
|
1887
|
-
200: {
|
|
1888
|
-
bodyMapper: FirewallRuleListResult
|
|
1889
|
-
},
|
|
1890
|
-
default: {
|
|
1891
|
-
bodyMapper: CloudError
|
|
1892
|
-
}
|
|
1893
|
-
},
|
|
1894
|
-
serializer: serializer$2
|
|
1895
|
-
};
|
|
1896
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
1897
|
-
httpMethod: "PUT",
|
|
1898
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/firewallRules/{firewallRuleName}",
|
|
1899
|
-
urlParameters: [
|
|
1900
|
-
subscriptionId,
|
|
1901
|
-
resourceGroupName,
|
|
1902
|
-
serverName,
|
|
1903
|
-
firewallRuleName
|
|
1904
|
-
],
|
|
1905
|
-
queryParameters: [
|
|
1906
|
-
apiVersion
|
|
1907
|
-
],
|
|
1908
|
-
headerParameters: [
|
|
1909
|
-
acceptLanguage
|
|
1910
|
-
],
|
|
1911
|
-
requestBody: {
|
|
1912
|
-
parameterPath: "parameters",
|
|
1913
|
-
mapper: __assign(__assign({}, FirewallRule), { required: true })
|
|
1914
|
-
},
|
|
1915
|
-
responses: {
|
|
1916
|
-
200: {
|
|
1917
|
-
bodyMapper: FirewallRule
|
|
1918
|
-
},
|
|
1919
|
-
201: {
|
|
1920
|
-
bodyMapper: FirewallRule
|
|
1921
|
-
},
|
|
1922
|
-
202: {},
|
|
1923
|
-
default: {
|
|
1924
|
-
bodyMapper: CloudError
|
|
1925
|
-
}
|
|
1926
|
-
},
|
|
1927
|
-
serializer: serializer$2
|
|
1928
|
-
};
|
|
1929
|
-
var beginDeleteMethodOperationSpec$1 = {
|
|
1930
|
-
httpMethod: "DELETE",
|
|
1931
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/firewallRules/{firewallRuleName}",
|
|
1932
|
-
urlParameters: [
|
|
1933
|
-
subscriptionId,
|
|
1934
|
-
resourceGroupName,
|
|
1935
|
-
serverName,
|
|
1936
|
-
firewallRuleName
|
|
1937
|
-
],
|
|
1938
|
-
queryParameters: [
|
|
1939
|
-
apiVersion
|
|
1940
|
-
],
|
|
1941
|
-
headerParameters: [
|
|
1942
|
-
acceptLanguage
|
|
1943
|
-
],
|
|
1944
|
-
responses: {
|
|
1945
|
-
200: {},
|
|
1946
|
-
202: {},
|
|
1947
|
-
204: {},
|
|
1948
|
-
default: {
|
|
1949
|
-
bodyMapper: CloudError
|
|
1950
|
-
}
|
|
1951
|
-
},
|
|
1952
|
-
serializer: serializer$2
|
|
1953
|
-
};
|
|
1954
|
-
|
|
1955
|
-
/*
|
|
1956
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1957
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1958
|
-
*
|
|
1959
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1960
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1961
|
-
*/
|
|
1962
|
-
|
|
1963
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
|
1964
|
-
discriminators: discriminators,
|
|
1965
|
-
BaseResource: BaseResource,
|
|
1966
|
-
CloudError: CloudError,
|
|
1967
|
-
Configuration: Configuration,
|
|
1968
|
-
Database: Database,
|
|
1969
|
-
FirewallRule: FirewallRule,
|
|
1970
|
-
LogFile: LogFile,
|
|
1971
|
-
ProxyResource: ProxyResource,
|
|
1972
|
-
Server: Server,
|
|
1973
|
-
ServerSecurityAlertPolicy: ServerSecurityAlertPolicy,
|
|
1974
|
-
Sku: Sku,
|
|
1975
|
-
StorageProfile: StorageProfile,
|
|
1976
|
-
TrackedResource: TrackedResource,
|
|
1977
|
-
VirtualNetworkRule: VirtualNetworkRule,
|
|
1978
|
-
VirtualNetworkRuleListResult: VirtualNetworkRuleListResult
|
|
1979
|
-
});
|
|
1980
|
-
|
|
1981
|
-
/*
|
|
1982
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1983
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1984
|
-
* license information.
|
|
1985
|
-
*
|
|
1986
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1987
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1988
|
-
* regenerated.
|
|
1989
|
-
*/
|
|
1990
|
-
/** Class representing a VirtualNetworkRules. */
|
|
1991
|
-
var VirtualNetworkRules = /** @class */ (function () {
|
|
1992
|
-
/**
|
|
1993
|
-
* Create a VirtualNetworkRules.
|
|
1994
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
1995
|
-
*/
|
|
1996
|
-
function VirtualNetworkRules(client) {
|
|
1997
|
-
this.client = client;
|
|
1998
|
-
}
|
|
1999
|
-
VirtualNetworkRules.prototype.get = function (resourceGroupName$$1, serverName$$1, virtualNetworkRuleName$$1, options, callback) {
|
|
2000
|
-
return this.client.sendOperationRequest({
|
|
2001
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2002
|
-
serverName: serverName$$1,
|
|
2003
|
-
virtualNetworkRuleName: virtualNetworkRuleName$$1,
|
|
2004
|
-
options: options
|
|
2005
|
-
}, getOperationSpec$2, callback);
|
|
2006
|
-
};
|
|
2007
|
-
/**
|
|
2008
|
-
* Creates or updates an existing virtual network rule.
|
|
2009
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
2010
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2011
|
-
* @param serverName The name of the server.
|
|
2012
|
-
* @param virtualNetworkRuleName The name of the virtual network rule.
|
|
2013
|
-
* @param parameters The requested virtual Network Rule Resource state.
|
|
2014
|
-
* @param [options] The optional parameters
|
|
2015
|
-
* @returns Promise<Models.VirtualNetworkRulesCreateOrUpdateResponse>
|
|
2016
|
-
*/
|
|
2017
|
-
VirtualNetworkRules.prototype.createOrUpdate = function (resourceGroupName$$1, serverName$$1, virtualNetworkRuleName$$1, parameters, options) {
|
|
2018
|
-
return this.beginCreateOrUpdate(resourceGroupName$$1, serverName$$1, virtualNetworkRuleName$$1, parameters, options)
|
|
2019
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2020
|
-
};
|
|
2021
|
-
/**
|
|
2022
|
-
* Deletes the virtual network rule with the given name.
|
|
2023
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
2024
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2025
|
-
* @param serverName The name of the server.
|
|
2026
|
-
* @param virtualNetworkRuleName The name of the virtual network rule.
|
|
2027
|
-
* @param [options] The optional parameters
|
|
2028
|
-
* @returns Promise<msRest.RestResponse>
|
|
2029
|
-
*/
|
|
2030
|
-
VirtualNetworkRules.prototype.deleteMethod = function (resourceGroupName$$1, serverName$$1, virtualNetworkRuleName$$1, options) {
|
|
2031
|
-
return this.beginDeleteMethod(resourceGroupName$$1, serverName$$1, virtualNetworkRuleName$$1, options)
|
|
2032
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2033
|
-
};
|
|
2034
|
-
VirtualNetworkRules.prototype.listByServer = function (resourceGroupName$$1, serverName$$1, options, callback) {
|
|
2035
|
-
return this.client.sendOperationRequest({
|
|
2036
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2037
|
-
serverName: serverName$$1,
|
|
2038
|
-
options: options
|
|
2039
|
-
}, listByServerOperationSpec$2, callback);
|
|
2040
|
-
};
|
|
2041
|
-
/**
|
|
2042
|
-
* Creates or updates an existing virtual network rule.
|
|
2043
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
2044
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2045
|
-
* @param serverName The name of the server.
|
|
2046
|
-
* @param virtualNetworkRuleName The name of the virtual network rule.
|
|
2047
|
-
* @param parameters The requested virtual Network Rule Resource state.
|
|
2048
|
-
* @param [options] The optional parameters
|
|
2049
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2050
|
-
*/
|
|
2051
|
-
VirtualNetworkRules.prototype.beginCreateOrUpdate = function (resourceGroupName$$1, serverName$$1, virtualNetworkRuleName$$1, parameters, options) {
|
|
2052
|
-
return this.client.sendLRORequest({
|
|
2053
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2054
|
-
serverName: serverName$$1,
|
|
2055
|
-
virtualNetworkRuleName: virtualNetworkRuleName$$1,
|
|
2056
|
-
parameters: parameters,
|
|
2057
|
-
options: options
|
|
2058
|
-
}, beginCreateOrUpdateOperationSpec$1, options);
|
|
2059
|
-
};
|
|
2060
|
-
/**
|
|
2061
|
-
* Deletes the virtual network rule with the given name.
|
|
2062
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
2063
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2064
|
-
* @param serverName The name of the server.
|
|
2065
|
-
* @param virtualNetworkRuleName The name of the virtual network rule.
|
|
2066
|
-
* @param [options] The optional parameters
|
|
2067
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2068
|
-
*/
|
|
2069
|
-
VirtualNetworkRules.prototype.beginDeleteMethod = function (resourceGroupName$$1, serverName$$1, virtualNetworkRuleName$$1, options) {
|
|
2070
|
-
return this.client.sendLRORequest({
|
|
2071
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2072
|
-
serverName: serverName$$1,
|
|
2073
|
-
virtualNetworkRuleName: virtualNetworkRuleName$$1,
|
|
2074
|
-
options: options
|
|
2075
|
-
}, beginDeleteMethodOperationSpec$2, options);
|
|
2076
|
-
};
|
|
2077
|
-
VirtualNetworkRules.prototype.listByServerNext = function (nextPageLink$$1, options, callback) {
|
|
2078
|
-
return this.client.sendOperationRequest({
|
|
2079
|
-
nextPageLink: nextPageLink$$1,
|
|
2080
|
-
options: options
|
|
2081
|
-
}, listByServerNextOperationSpec, callback);
|
|
2082
|
-
};
|
|
2083
|
-
return VirtualNetworkRules;
|
|
2084
|
-
}());
|
|
2085
|
-
// Operation Specifications
|
|
2086
|
-
var serializer$3 = new msRest.Serializer(Mappers$3);
|
|
2087
|
-
var getOperationSpec$2 = {
|
|
2088
|
-
httpMethod: "GET",
|
|
2089
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}",
|
|
2090
|
-
urlParameters: [
|
|
2091
|
-
resourceGroupName,
|
|
2092
|
-
serverName,
|
|
2093
|
-
subscriptionId,
|
|
2094
|
-
virtualNetworkRuleName
|
|
2095
|
-
],
|
|
2096
|
-
queryParameters: [
|
|
2097
|
-
apiVersion
|
|
2098
|
-
],
|
|
2099
|
-
headerParameters: [
|
|
2100
|
-
acceptLanguage
|
|
2101
|
-
],
|
|
2102
|
-
responses: {
|
|
2103
|
-
200: {
|
|
2104
|
-
bodyMapper: VirtualNetworkRule
|
|
2105
|
-
},
|
|
2106
|
-
default: {
|
|
2107
|
-
bodyMapper: CloudError
|
|
2108
|
-
}
|
|
2109
|
-
},
|
|
2110
|
-
serializer: serializer$3
|
|
2111
|
-
};
|
|
2112
|
-
var listByServerOperationSpec$2 = {
|
|
2113
|
-
httpMethod: "GET",
|
|
2114
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/virtualNetworkRules",
|
|
2115
|
-
urlParameters: [
|
|
2116
|
-
resourceGroupName,
|
|
2117
|
-
serverName,
|
|
2118
|
-
subscriptionId
|
|
2119
|
-
],
|
|
2120
|
-
queryParameters: [
|
|
2121
|
-
apiVersion
|
|
2122
|
-
],
|
|
2123
|
-
headerParameters: [
|
|
2124
|
-
acceptLanguage
|
|
2125
|
-
],
|
|
2126
|
-
responses: {
|
|
2127
|
-
200: {
|
|
2128
|
-
bodyMapper: VirtualNetworkRuleListResult
|
|
2129
|
-
},
|
|
2130
|
-
default: {
|
|
2131
|
-
bodyMapper: CloudError
|
|
2132
|
-
}
|
|
2133
|
-
},
|
|
2134
|
-
serializer: serializer$3
|
|
2135
|
-
};
|
|
2136
|
-
var beginCreateOrUpdateOperationSpec$1 = {
|
|
2137
|
-
httpMethod: "PUT",
|
|
2138
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}",
|
|
2139
|
-
urlParameters: [
|
|
2140
|
-
resourceGroupName,
|
|
2141
|
-
serverName,
|
|
2142
|
-
subscriptionId,
|
|
2143
|
-
virtualNetworkRuleName
|
|
2144
|
-
],
|
|
2145
|
-
queryParameters: [
|
|
2146
|
-
apiVersion
|
|
2147
|
-
],
|
|
2148
|
-
headerParameters: [
|
|
2149
|
-
acceptLanguage
|
|
2150
|
-
],
|
|
2151
|
-
requestBody: {
|
|
2152
|
-
parameterPath: "parameters",
|
|
2153
|
-
mapper: __assign(__assign({}, VirtualNetworkRule), { required: true })
|
|
2154
|
-
},
|
|
2155
|
-
responses: {
|
|
2156
|
-
200: {
|
|
2157
|
-
bodyMapper: VirtualNetworkRule
|
|
2158
|
-
},
|
|
2159
|
-
201: {
|
|
2160
|
-
bodyMapper: VirtualNetworkRule
|
|
2161
|
-
},
|
|
2162
|
-
202: {},
|
|
2163
|
-
default: {
|
|
2164
|
-
bodyMapper: CloudError
|
|
2165
|
-
}
|
|
2166
|
-
},
|
|
2167
|
-
serializer: serializer$3
|
|
2168
|
-
};
|
|
2169
|
-
var beginDeleteMethodOperationSpec$2 = {
|
|
2170
|
-
httpMethod: "DELETE",
|
|
2171
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}",
|
|
2172
|
-
urlParameters: [
|
|
2173
|
-
resourceGroupName,
|
|
2174
|
-
serverName,
|
|
2175
|
-
virtualNetworkRuleName,
|
|
2176
|
-
subscriptionId
|
|
2177
|
-
],
|
|
2178
|
-
queryParameters: [
|
|
2179
|
-
apiVersion
|
|
2180
|
-
],
|
|
2181
|
-
headerParameters: [
|
|
2182
|
-
acceptLanguage
|
|
2183
|
-
],
|
|
2184
|
-
responses: {
|
|
2185
|
-
200: {},
|
|
2186
|
-
202: {},
|
|
2187
|
-
204: {},
|
|
2188
|
-
default: {
|
|
2189
|
-
bodyMapper: CloudError
|
|
2190
|
-
}
|
|
2191
|
-
},
|
|
2192
|
-
serializer: serializer$3
|
|
2193
|
-
};
|
|
2194
|
-
var listByServerNextOperationSpec = {
|
|
2195
|
-
httpMethod: "GET",
|
|
2196
|
-
baseUrl: "https://management.azure.com",
|
|
2197
|
-
path: "{nextLink}",
|
|
2198
|
-
urlParameters: [
|
|
2199
|
-
nextPageLink
|
|
2200
|
-
],
|
|
2201
|
-
headerParameters: [
|
|
2202
|
-
acceptLanguage
|
|
2203
|
-
],
|
|
2204
|
-
responses: {
|
|
2205
|
-
200: {
|
|
2206
|
-
bodyMapper: VirtualNetworkRuleListResult
|
|
2207
|
-
},
|
|
2208
|
-
default: {
|
|
2209
|
-
bodyMapper: CloudError
|
|
2210
|
-
}
|
|
2211
|
-
},
|
|
2212
|
-
serializer: serializer$3
|
|
2213
|
-
};
|
|
2214
|
-
|
|
2215
|
-
/*
|
|
2216
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2217
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2218
|
-
*
|
|
2219
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2220
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2221
|
-
*/
|
|
2222
|
-
|
|
2223
|
-
var Mappers$4 = /*#__PURE__*/Object.freeze({
|
|
2224
|
-
discriminators: discriminators,
|
|
2225
|
-
BaseResource: BaseResource,
|
|
2226
|
-
CloudError: CloudError,
|
|
2227
|
-
Configuration: Configuration,
|
|
2228
|
-
Database: Database,
|
|
2229
|
-
DatabaseListResult: DatabaseListResult,
|
|
2230
|
-
FirewallRule: FirewallRule,
|
|
2231
|
-
LogFile: LogFile,
|
|
2232
|
-
ProxyResource: ProxyResource,
|
|
2233
|
-
Server: Server,
|
|
2234
|
-
ServerSecurityAlertPolicy: ServerSecurityAlertPolicy,
|
|
2235
|
-
Sku: Sku,
|
|
2236
|
-
StorageProfile: StorageProfile,
|
|
2237
|
-
TrackedResource: TrackedResource,
|
|
2238
|
-
VirtualNetworkRule: VirtualNetworkRule
|
|
2239
|
-
});
|
|
2240
|
-
|
|
2241
|
-
/*
|
|
2242
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2243
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
2244
|
-
* license information.
|
|
2245
|
-
*
|
|
2246
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2247
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2248
|
-
* regenerated.
|
|
2249
|
-
*/
|
|
2250
|
-
/** Class representing a Databases. */
|
|
2251
|
-
var Databases = /** @class */ (function () {
|
|
2252
|
-
/**
|
|
2253
|
-
* Create a Databases.
|
|
2254
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
2255
|
-
*/
|
|
2256
|
-
function Databases(client) {
|
|
2257
|
-
this.client = client;
|
|
2258
|
-
}
|
|
2259
|
-
/**
|
|
2260
|
-
* Creates a new database or updates an existing database.
|
|
2261
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
2262
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2263
|
-
* @param serverName The name of the server.
|
|
2264
|
-
* @param databaseName The name of the database.
|
|
2265
|
-
* @param parameters The required parameters for creating or updating a database.
|
|
2266
|
-
* @param [options] The optional parameters
|
|
2267
|
-
* @returns Promise<Models.DatabasesCreateOrUpdateResponse>
|
|
2268
|
-
*/
|
|
2269
|
-
Databases.prototype.createOrUpdate = function (resourceGroupName$$1, serverName$$1, databaseName$$1, parameters, options) {
|
|
2270
|
-
return this.beginCreateOrUpdate(resourceGroupName$$1, serverName$$1, databaseName$$1, parameters, options)
|
|
2271
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2272
|
-
};
|
|
2273
|
-
/**
|
|
2274
|
-
* Deletes a database.
|
|
2275
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
2276
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2277
|
-
* @param serverName The name of the server.
|
|
2278
|
-
* @param databaseName The name of the database.
|
|
2279
|
-
* @param [options] The optional parameters
|
|
2280
|
-
* @returns Promise<msRest.RestResponse>
|
|
2281
|
-
*/
|
|
2282
|
-
Databases.prototype.deleteMethod = function (resourceGroupName$$1, serverName$$1, databaseName$$1, options) {
|
|
2283
|
-
return this.beginDeleteMethod(resourceGroupName$$1, serverName$$1, databaseName$$1, options)
|
|
2284
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2285
|
-
};
|
|
2286
|
-
Databases.prototype.get = function (resourceGroupName$$1, serverName$$1, databaseName$$1, options, callback) {
|
|
2287
|
-
return this.client.sendOperationRequest({
|
|
2288
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2289
|
-
serverName: serverName$$1,
|
|
2290
|
-
databaseName: databaseName$$1,
|
|
2291
|
-
options: options
|
|
2292
|
-
}, getOperationSpec$3, callback);
|
|
2293
|
-
};
|
|
2294
|
-
Databases.prototype.listByServer = function (resourceGroupName$$1, serverName$$1, options, callback) {
|
|
2295
|
-
return this.client.sendOperationRequest({
|
|
2296
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2297
|
-
serverName: serverName$$1,
|
|
2298
|
-
options: options
|
|
2299
|
-
}, listByServerOperationSpec$3, callback);
|
|
2300
|
-
};
|
|
2301
|
-
/**
|
|
2302
|
-
* Creates a new database or updates an existing database.
|
|
2303
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
2304
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2305
|
-
* @param serverName The name of the server.
|
|
2306
|
-
* @param databaseName The name of the database.
|
|
2307
|
-
* @param parameters The required parameters for creating or updating a database.
|
|
2308
|
-
* @param [options] The optional parameters
|
|
2309
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2310
|
-
*/
|
|
2311
|
-
Databases.prototype.beginCreateOrUpdate = function (resourceGroupName$$1, serverName$$1, databaseName$$1, parameters, options) {
|
|
2312
|
-
return this.client.sendLRORequest({
|
|
2313
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2314
|
-
serverName: serverName$$1,
|
|
2315
|
-
databaseName: databaseName$$1,
|
|
2316
|
-
parameters: parameters,
|
|
2317
|
-
options: options
|
|
2318
|
-
}, beginCreateOrUpdateOperationSpec$2, options);
|
|
2319
|
-
};
|
|
2320
|
-
/**
|
|
2321
|
-
* Deletes a database.
|
|
2322
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
2323
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2324
|
-
* @param serverName The name of the server.
|
|
2325
|
-
* @param databaseName The name of the database.
|
|
2326
|
-
* @param [options] The optional parameters
|
|
2327
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2328
|
-
*/
|
|
2329
|
-
Databases.prototype.beginDeleteMethod = function (resourceGroupName$$1, serverName$$1, databaseName$$1, options) {
|
|
2330
|
-
return this.client.sendLRORequest({
|
|
2331
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2332
|
-
serverName: serverName$$1,
|
|
2333
|
-
databaseName: databaseName$$1,
|
|
2334
|
-
options: options
|
|
2335
|
-
}, beginDeleteMethodOperationSpec$3, options);
|
|
2336
|
-
};
|
|
2337
|
-
return Databases;
|
|
2338
|
-
}());
|
|
2339
|
-
// Operation Specifications
|
|
2340
|
-
var serializer$4 = new msRest.Serializer(Mappers$4);
|
|
2341
|
-
var getOperationSpec$3 = {
|
|
2342
|
-
httpMethod: "GET",
|
|
2343
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/databases/{databaseName}",
|
|
2344
|
-
urlParameters: [
|
|
2345
|
-
subscriptionId,
|
|
2346
|
-
resourceGroupName,
|
|
2347
|
-
serverName,
|
|
2348
|
-
databaseName
|
|
2349
|
-
],
|
|
2350
|
-
queryParameters: [
|
|
2351
|
-
apiVersion
|
|
2352
|
-
],
|
|
2353
|
-
headerParameters: [
|
|
2354
|
-
acceptLanguage
|
|
2355
|
-
],
|
|
2356
|
-
responses: {
|
|
2357
|
-
200: {
|
|
2358
|
-
bodyMapper: Database
|
|
2359
|
-
},
|
|
2360
|
-
default: {
|
|
2361
|
-
bodyMapper: CloudError
|
|
2362
|
-
}
|
|
2363
|
-
},
|
|
2364
|
-
serializer: serializer$4
|
|
2365
|
-
};
|
|
2366
|
-
var listByServerOperationSpec$3 = {
|
|
2367
|
-
httpMethod: "GET",
|
|
2368
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/databases",
|
|
2369
|
-
urlParameters: [
|
|
2370
|
-
subscriptionId,
|
|
2371
|
-
resourceGroupName,
|
|
2372
|
-
serverName
|
|
2373
|
-
],
|
|
2374
|
-
queryParameters: [
|
|
2375
|
-
apiVersion
|
|
2376
|
-
],
|
|
2377
|
-
headerParameters: [
|
|
2378
|
-
acceptLanguage
|
|
2379
|
-
],
|
|
2380
|
-
responses: {
|
|
2381
|
-
200: {
|
|
2382
|
-
bodyMapper: DatabaseListResult
|
|
2383
|
-
},
|
|
2384
|
-
default: {
|
|
2385
|
-
bodyMapper: CloudError
|
|
2386
|
-
}
|
|
2387
|
-
},
|
|
2388
|
-
serializer: serializer$4
|
|
2389
|
-
};
|
|
2390
|
-
var beginCreateOrUpdateOperationSpec$2 = {
|
|
2391
|
-
httpMethod: "PUT",
|
|
2392
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/databases/{databaseName}",
|
|
2393
|
-
urlParameters: [
|
|
2394
|
-
subscriptionId,
|
|
2395
|
-
resourceGroupName,
|
|
2396
|
-
serverName,
|
|
2397
|
-
databaseName
|
|
2398
|
-
],
|
|
2399
|
-
queryParameters: [
|
|
2400
|
-
apiVersion
|
|
2401
|
-
],
|
|
2402
|
-
headerParameters: [
|
|
2403
|
-
acceptLanguage
|
|
2404
|
-
],
|
|
2405
|
-
requestBody: {
|
|
2406
|
-
parameterPath: "parameters",
|
|
2407
|
-
mapper: __assign(__assign({}, Database), { required: true })
|
|
2408
|
-
},
|
|
2409
|
-
responses: {
|
|
2410
|
-
200: {
|
|
2411
|
-
bodyMapper: Database
|
|
2412
|
-
},
|
|
2413
|
-
201: {
|
|
2414
|
-
bodyMapper: Database
|
|
2415
|
-
},
|
|
2416
|
-
202: {},
|
|
2417
|
-
default: {
|
|
2418
|
-
bodyMapper: CloudError
|
|
2419
|
-
}
|
|
2420
|
-
},
|
|
2421
|
-
serializer: serializer$4
|
|
2422
|
-
};
|
|
2423
|
-
var beginDeleteMethodOperationSpec$3 = {
|
|
2424
|
-
httpMethod: "DELETE",
|
|
2425
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/databases/{databaseName}",
|
|
2426
|
-
urlParameters: [
|
|
2427
|
-
subscriptionId,
|
|
2428
|
-
resourceGroupName,
|
|
2429
|
-
serverName,
|
|
2430
|
-
databaseName
|
|
2431
|
-
],
|
|
2432
|
-
queryParameters: [
|
|
2433
|
-
apiVersion
|
|
2434
|
-
],
|
|
2435
|
-
headerParameters: [
|
|
2436
|
-
acceptLanguage
|
|
2437
|
-
],
|
|
2438
|
-
responses: {
|
|
2439
|
-
200: {},
|
|
2440
|
-
202: {},
|
|
2441
|
-
204: {},
|
|
2442
|
-
default: {
|
|
2443
|
-
bodyMapper: CloudError
|
|
2444
|
-
}
|
|
2445
|
-
},
|
|
2446
|
-
serializer: serializer$4
|
|
2447
|
-
};
|
|
2448
|
-
|
|
2449
|
-
/*
|
|
2450
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2451
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2452
|
-
*
|
|
2453
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2454
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2455
|
-
*/
|
|
2456
|
-
|
|
2457
|
-
var Mappers$5 = /*#__PURE__*/Object.freeze({
|
|
2458
|
-
discriminators: discriminators,
|
|
2459
|
-
BaseResource: BaseResource,
|
|
2460
|
-
CloudError: CloudError,
|
|
2461
|
-
Configuration: Configuration,
|
|
2462
|
-
ConfigurationListResult: ConfigurationListResult,
|
|
2463
|
-
Database: Database,
|
|
2464
|
-
FirewallRule: FirewallRule,
|
|
2465
|
-
LogFile: LogFile,
|
|
2466
|
-
ProxyResource: ProxyResource,
|
|
2467
|
-
Server: Server,
|
|
2468
|
-
ServerSecurityAlertPolicy: ServerSecurityAlertPolicy,
|
|
2469
|
-
Sku: Sku,
|
|
2470
|
-
StorageProfile: StorageProfile,
|
|
2471
|
-
TrackedResource: TrackedResource,
|
|
2472
|
-
VirtualNetworkRule: VirtualNetworkRule
|
|
2473
|
-
});
|
|
2474
|
-
|
|
2475
|
-
/*
|
|
2476
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2477
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
2478
|
-
* license information.
|
|
2479
|
-
*
|
|
2480
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2481
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2482
|
-
* regenerated.
|
|
2483
|
-
*/
|
|
2484
|
-
/** Class representing a Configurations. */
|
|
2485
|
-
var Configurations = /** @class */ (function () {
|
|
2486
|
-
/**
|
|
2487
|
-
* Create a Configurations.
|
|
2488
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
2489
|
-
*/
|
|
2490
|
-
function Configurations(client) {
|
|
2491
|
-
this.client = client;
|
|
2492
|
-
}
|
|
2493
|
-
/**
|
|
2494
|
-
* Updates a configuration of a server.
|
|
2495
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
2496
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2497
|
-
* @param serverName The name of the server.
|
|
2498
|
-
* @param configurationName The name of the server configuration.
|
|
2499
|
-
* @param parameters The required parameters for updating a server configuration.
|
|
2500
|
-
* @param [options] The optional parameters
|
|
2501
|
-
* @returns Promise<Models.ConfigurationsCreateOrUpdateResponse>
|
|
2502
|
-
*/
|
|
2503
|
-
Configurations.prototype.createOrUpdate = function (resourceGroupName$$1, serverName$$1, configurationName$$1, parameters, options) {
|
|
2504
|
-
return this.beginCreateOrUpdate(resourceGroupName$$1, serverName$$1, configurationName$$1, parameters, options)
|
|
2505
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2506
|
-
};
|
|
2507
|
-
Configurations.prototype.get = function (resourceGroupName$$1, serverName$$1, configurationName$$1, options, callback) {
|
|
2508
|
-
return this.client.sendOperationRequest({
|
|
2509
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2510
|
-
serverName: serverName$$1,
|
|
2511
|
-
configurationName: configurationName$$1,
|
|
2512
|
-
options: options
|
|
2513
|
-
}, getOperationSpec$4, callback);
|
|
2514
|
-
};
|
|
2515
|
-
Configurations.prototype.listByServer = function (resourceGroupName$$1, serverName$$1, options, callback) {
|
|
2516
|
-
return this.client.sendOperationRequest({
|
|
2517
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2518
|
-
serverName: serverName$$1,
|
|
2519
|
-
options: options
|
|
2520
|
-
}, listByServerOperationSpec$4, callback);
|
|
2521
|
-
};
|
|
2522
|
-
/**
|
|
2523
|
-
* Updates a configuration of a server.
|
|
2524
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
2525
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2526
|
-
* @param serverName The name of the server.
|
|
2527
|
-
* @param configurationName The name of the server configuration.
|
|
2528
|
-
* @param parameters The required parameters for updating a server configuration.
|
|
2529
|
-
* @param [options] The optional parameters
|
|
2530
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2531
|
-
*/
|
|
2532
|
-
Configurations.prototype.beginCreateOrUpdate = function (resourceGroupName$$1, serverName$$1, configurationName$$1, parameters, options) {
|
|
2533
|
-
return this.client.sendLRORequest({
|
|
2534
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2535
|
-
serverName: serverName$$1,
|
|
2536
|
-
configurationName: configurationName$$1,
|
|
2537
|
-
parameters: parameters,
|
|
2538
|
-
options: options
|
|
2539
|
-
}, beginCreateOrUpdateOperationSpec$3, options);
|
|
2540
|
-
};
|
|
2541
|
-
return Configurations;
|
|
2542
|
-
}());
|
|
2543
|
-
// Operation Specifications
|
|
2544
|
-
var serializer$5 = new msRest.Serializer(Mappers$5);
|
|
2545
|
-
var getOperationSpec$4 = {
|
|
2546
|
-
httpMethod: "GET",
|
|
2547
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations/{configurationName}",
|
|
2548
|
-
urlParameters: [
|
|
2549
|
-
subscriptionId,
|
|
2550
|
-
resourceGroupName,
|
|
2551
|
-
serverName,
|
|
2552
|
-
configurationName
|
|
2553
|
-
],
|
|
2554
|
-
queryParameters: [
|
|
2555
|
-
apiVersion
|
|
2556
|
-
],
|
|
2557
|
-
headerParameters: [
|
|
2558
|
-
acceptLanguage
|
|
2559
|
-
],
|
|
2560
|
-
responses: {
|
|
2561
|
-
200: {
|
|
2562
|
-
bodyMapper: Configuration
|
|
2563
|
-
},
|
|
2564
|
-
default: {
|
|
2565
|
-
bodyMapper: CloudError
|
|
2566
|
-
}
|
|
2567
|
-
},
|
|
2568
|
-
serializer: serializer$5
|
|
2569
|
-
};
|
|
2570
|
-
var listByServerOperationSpec$4 = {
|
|
2571
|
-
httpMethod: "GET",
|
|
2572
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations",
|
|
2573
|
-
urlParameters: [
|
|
2574
|
-
subscriptionId,
|
|
2575
|
-
resourceGroupName,
|
|
2576
|
-
serverName
|
|
2577
|
-
],
|
|
2578
|
-
queryParameters: [
|
|
2579
|
-
apiVersion
|
|
2580
|
-
],
|
|
2581
|
-
headerParameters: [
|
|
2582
|
-
acceptLanguage
|
|
2583
|
-
],
|
|
2584
|
-
responses: {
|
|
2585
|
-
200: {
|
|
2586
|
-
bodyMapper: ConfigurationListResult
|
|
2587
|
-
},
|
|
2588
|
-
default: {
|
|
2589
|
-
bodyMapper: CloudError
|
|
2590
|
-
}
|
|
2591
|
-
},
|
|
2592
|
-
serializer: serializer$5
|
|
2593
|
-
};
|
|
2594
|
-
var beginCreateOrUpdateOperationSpec$3 = {
|
|
2595
|
-
httpMethod: "PUT",
|
|
2596
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations/{configurationName}",
|
|
2597
|
-
urlParameters: [
|
|
2598
|
-
subscriptionId,
|
|
2599
|
-
resourceGroupName,
|
|
2600
|
-
serverName,
|
|
2601
|
-
configurationName
|
|
2602
|
-
],
|
|
2603
|
-
queryParameters: [
|
|
2604
|
-
apiVersion
|
|
2605
|
-
],
|
|
2606
|
-
headerParameters: [
|
|
2607
|
-
acceptLanguage
|
|
2608
|
-
],
|
|
2609
|
-
requestBody: {
|
|
2610
|
-
parameterPath: "parameters",
|
|
2611
|
-
mapper: __assign(__assign({}, Configuration), { required: true })
|
|
2612
|
-
},
|
|
2613
|
-
responses: {
|
|
2614
|
-
200: {
|
|
2615
|
-
bodyMapper: Configuration
|
|
2616
|
-
},
|
|
2617
|
-
202: {},
|
|
2618
|
-
default: {
|
|
2619
|
-
bodyMapper: CloudError
|
|
2620
|
-
}
|
|
2621
|
-
},
|
|
2622
|
-
serializer: serializer$5
|
|
2623
|
-
};
|
|
2624
|
-
|
|
2625
|
-
/*
|
|
2626
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2627
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2628
|
-
*
|
|
2629
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2630
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2631
|
-
*/
|
|
2632
|
-
|
|
2633
|
-
var Mappers$6 = /*#__PURE__*/Object.freeze({
|
|
2634
|
-
discriminators: discriminators,
|
|
2635
|
-
BaseResource: BaseResource,
|
|
2636
|
-
CloudError: CloudError,
|
|
2637
|
-
Configuration: Configuration,
|
|
2638
|
-
Database: Database,
|
|
2639
|
-
FirewallRule: FirewallRule,
|
|
2640
|
-
LogFile: LogFile,
|
|
2641
|
-
LogFileListResult: LogFileListResult,
|
|
2642
|
-
ProxyResource: ProxyResource,
|
|
2643
|
-
Server: Server,
|
|
2644
|
-
ServerSecurityAlertPolicy: ServerSecurityAlertPolicy,
|
|
2645
|
-
Sku: Sku,
|
|
2646
|
-
StorageProfile: StorageProfile,
|
|
2647
|
-
TrackedResource: TrackedResource,
|
|
2648
|
-
VirtualNetworkRule: VirtualNetworkRule
|
|
2649
|
-
});
|
|
2650
|
-
|
|
2651
|
-
/*
|
|
2652
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2653
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
2654
|
-
* license information.
|
|
2655
|
-
*
|
|
2656
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2657
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2658
|
-
* regenerated.
|
|
2659
|
-
*/
|
|
2660
|
-
/** Class representing a LogFiles. */
|
|
2661
|
-
var LogFiles = /** @class */ (function () {
|
|
2662
|
-
/**
|
|
2663
|
-
* Create a LogFiles.
|
|
2664
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
2665
|
-
*/
|
|
2666
|
-
function LogFiles(client) {
|
|
2667
|
-
this.client = client;
|
|
2668
|
-
}
|
|
2669
|
-
LogFiles.prototype.listByServer = function (resourceGroupName$$1, serverName$$1, options, callback) {
|
|
2670
|
-
return this.client.sendOperationRequest({
|
|
2671
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2672
|
-
serverName: serverName$$1,
|
|
2673
|
-
options: options
|
|
2674
|
-
}, listByServerOperationSpec$5, callback);
|
|
2675
|
-
};
|
|
2676
|
-
return LogFiles;
|
|
2677
|
-
}());
|
|
2678
|
-
// Operation Specifications
|
|
2679
|
-
var serializer$6 = new msRest.Serializer(Mappers$6);
|
|
2680
|
-
var listByServerOperationSpec$5 = {
|
|
2681
|
-
httpMethod: "GET",
|
|
2682
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/logFiles",
|
|
2683
|
-
urlParameters: [
|
|
2684
|
-
subscriptionId,
|
|
2685
|
-
resourceGroupName,
|
|
2686
|
-
serverName
|
|
2687
|
-
],
|
|
2688
|
-
queryParameters: [
|
|
2689
|
-
apiVersion
|
|
2690
|
-
],
|
|
2691
|
-
headerParameters: [
|
|
2692
|
-
acceptLanguage
|
|
2693
|
-
],
|
|
2694
|
-
responses: {
|
|
2695
|
-
200: {
|
|
2696
|
-
bodyMapper: LogFileListResult
|
|
2697
|
-
},
|
|
2698
|
-
default: {
|
|
2699
|
-
bodyMapper: CloudError
|
|
2700
|
-
}
|
|
2701
|
-
},
|
|
2702
|
-
serializer: serializer$6
|
|
2703
|
-
};
|
|
2704
|
-
|
|
2705
|
-
/*
|
|
2706
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2707
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2708
|
-
*
|
|
2709
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2710
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2711
|
-
*/
|
|
2712
|
-
|
|
2713
|
-
var Mappers$7 = /*#__PURE__*/Object.freeze({
|
|
2714
|
-
discriminators: discriminators,
|
|
2715
|
-
CloudError: CloudError,
|
|
2716
|
-
PerformanceTierListResult: PerformanceTierListResult,
|
|
2717
|
-
PerformanceTierProperties: PerformanceTierProperties,
|
|
2718
|
-
PerformanceTierServiceLevelObjectives: PerformanceTierServiceLevelObjectives
|
|
2719
|
-
});
|
|
2720
|
-
|
|
2721
|
-
/*
|
|
2722
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2723
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
2724
|
-
* license information.
|
|
2725
|
-
*
|
|
2726
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2727
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2728
|
-
* regenerated.
|
|
2729
|
-
*/
|
|
2730
|
-
/** Class representing a LocationBasedPerformanceTier. */
|
|
2731
|
-
var LocationBasedPerformanceTier = /** @class */ (function () {
|
|
2732
|
-
/**
|
|
2733
|
-
* Create a LocationBasedPerformanceTier.
|
|
2734
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
2735
|
-
*/
|
|
2736
|
-
function LocationBasedPerformanceTier(client) {
|
|
2737
|
-
this.client = client;
|
|
2738
|
-
}
|
|
2739
|
-
LocationBasedPerformanceTier.prototype.list = function (locationName$$1, options, callback) {
|
|
2740
|
-
return this.client.sendOperationRequest({
|
|
2741
|
-
locationName: locationName$$1,
|
|
2742
|
-
options: options
|
|
2743
|
-
}, listOperationSpec$1, callback);
|
|
2744
|
-
};
|
|
2745
|
-
return LocationBasedPerformanceTier;
|
|
2746
|
-
}());
|
|
2747
|
-
// Operation Specifications
|
|
2748
|
-
var serializer$7 = new msRest.Serializer(Mappers$7);
|
|
2749
|
-
var listOperationSpec$1 = {
|
|
2750
|
-
httpMethod: "GET",
|
|
2751
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/performanceTiers",
|
|
2752
|
-
urlParameters: [
|
|
2753
|
-
subscriptionId,
|
|
2754
|
-
locationName
|
|
2755
|
-
],
|
|
2756
|
-
queryParameters: [
|
|
2757
|
-
apiVersion
|
|
2758
|
-
],
|
|
2759
|
-
headerParameters: [
|
|
2760
|
-
acceptLanguage
|
|
2761
|
-
],
|
|
2762
|
-
responses: {
|
|
2763
|
-
200: {
|
|
2764
|
-
bodyMapper: PerformanceTierListResult
|
|
2765
|
-
},
|
|
2766
|
-
default: {
|
|
2767
|
-
bodyMapper: CloudError
|
|
2768
|
-
}
|
|
2769
|
-
},
|
|
2770
|
-
serializer: serializer$7
|
|
2771
|
-
};
|
|
2772
|
-
|
|
2773
|
-
/*
|
|
2774
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2775
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2776
|
-
*
|
|
2777
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2778
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2779
|
-
*/
|
|
2780
|
-
|
|
2781
|
-
var Mappers$8 = /*#__PURE__*/Object.freeze({
|
|
2782
|
-
discriminators: discriminators,
|
|
2783
|
-
CloudError: CloudError,
|
|
2784
|
-
NameAvailability: NameAvailability,
|
|
2785
|
-
NameAvailabilityRequest: NameAvailabilityRequest
|
|
2786
|
-
});
|
|
2787
|
-
|
|
2788
|
-
/*
|
|
2789
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2790
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
2791
|
-
* license information.
|
|
2792
|
-
*
|
|
2793
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2794
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2795
|
-
* regenerated.
|
|
2796
|
-
*/
|
|
2797
|
-
/** Class representing a CheckNameAvailability. */
|
|
2798
|
-
var CheckNameAvailability = /** @class */ (function () {
|
|
2799
|
-
/**
|
|
2800
|
-
* Create a CheckNameAvailability.
|
|
2801
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
2802
|
-
*/
|
|
2803
|
-
function CheckNameAvailability(client) {
|
|
2804
|
-
this.client = client;
|
|
2805
|
-
}
|
|
2806
|
-
CheckNameAvailability.prototype.execute = function (nameAvailabilityRequest, options, callback) {
|
|
2807
|
-
return this.client.sendOperationRequest({
|
|
2808
|
-
nameAvailabilityRequest: nameAvailabilityRequest,
|
|
2809
|
-
options: options
|
|
2810
|
-
}, executeOperationSpec, callback);
|
|
2811
|
-
};
|
|
2812
|
-
return CheckNameAvailability;
|
|
2813
|
-
}());
|
|
2814
|
-
// Operation Specifications
|
|
2815
|
-
var serializer$8 = new msRest.Serializer(Mappers$8);
|
|
2816
|
-
var executeOperationSpec = {
|
|
2817
|
-
httpMethod: "POST",
|
|
2818
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/checkNameAvailability",
|
|
2819
|
-
urlParameters: [
|
|
2820
|
-
subscriptionId
|
|
2821
|
-
],
|
|
2822
|
-
queryParameters: [
|
|
2823
|
-
apiVersion
|
|
2824
|
-
],
|
|
2825
|
-
headerParameters: [
|
|
2826
|
-
acceptLanguage
|
|
2827
|
-
],
|
|
2828
|
-
requestBody: {
|
|
2829
|
-
parameterPath: "nameAvailabilityRequest",
|
|
2830
|
-
mapper: __assign(__assign({}, NameAvailabilityRequest), { required: true })
|
|
2831
|
-
},
|
|
2832
|
-
responses: {
|
|
2833
|
-
200: {
|
|
2834
|
-
bodyMapper: NameAvailability
|
|
2835
|
-
},
|
|
2836
|
-
default: {
|
|
2837
|
-
bodyMapper: CloudError
|
|
2838
|
-
}
|
|
2839
|
-
},
|
|
2840
|
-
serializer: serializer$8
|
|
2841
|
-
};
|
|
2842
|
-
|
|
2843
|
-
/*
|
|
2844
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2845
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2846
|
-
*
|
|
2847
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2848
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2849
|
-
*/
|
|
2850
|
-
|
|
2851
|
-
var Mappers$9 = /*#__PURE__*/Object.freeze({
|
|
2852
|
-
discriminators: discriminators,
|
|
2853
|
-
BaseResource: BaseResource,
|
|
2854
|
-
CloudError: CloudError,
|
|
2855
|
-
Configuration: Configuration,
|
|
2856
|
-
Database: Database,
|
|
2857
|
-
FirewallRule: FirewallRule,
|
|
2858
|
-
LogFile: LogFile,
|
|
2859
|
-
ProxyResource: ProxyResource,
|
|
2860
|
-
Server: Server,
|
|
2861
|
-
ServerSecurityAlertPolicy: ServerSecurityAlertPolicy,
|
|
2862
|
-
Sku: Sku,
|
|
2863
|
-
StorageProfile: StorageProfile,
|
|
2864
|
-
TrackedResource: TrackedResource,
|
|
2865
|
-
VirtualNetworkRule: VirtualNetworkRule
|
|
2866
|
-
});
|
|
2867
|
-
|
|
2868
|
-
/*
|
|
2869
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2870
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
2871
|
-
* license information.
|
|
2872
|
-
*
|
|
2873
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2874
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2875
|
-
* regenerated.
|
|
2876
|
-
*/
|
|
2877
|
-
/** Class representing a ServerSecurityAlertPolicies. */
|
|
2878
|
-
var ServerSecurityAlertPolicies = /** @class */ (function () {
|
|
2879
|
-
/**
|
|
2880
|
-
* Create a ServerSecurityAlertPolicies.
|
|
2881
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
2882
|
-
*/
|
|
2883
|
-
function ServerSecurityAlertPolicies(client) {
|
|
2884
|
-
this.client = client;
|
|
2885
|
-
}
|
|
2886
|
-
ServerSecurityAlertPolicies.prototype.get = function (resourceGroupName$$1, serverName$$1, options, callback) {
|
|
2887
|
-
return this.client.sendOperationRequest({
|
|
2888
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2889
|
-
serverName: serverName$$1,
|
|
2890
|
-
options: options
|
|
2891
|
-
}, getOperationSpec$5, callback);
|
|
2892
|
-
};
|
|
2893
|
-
/**
|
|
2894
|
-
* Creates or updates a threat detection policy.
|
|
2895
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
2896
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2897
|
-
* @param serverName The name of the server.
|
|
2898
|
-
* @param parameters The server security alert policy.
|
|
2899
|
-
* @param [options] The optional parameters
|
|
2900
|
-
* @returns Promise<Models.ServerSecurityAlertPoliciesCreateOrUpdateResponse>
|
|
2901
|
-
*/
|
|
2902
|
-
ServerSecurityAlertPolicies.prototype.createOrUpdate = function (resourceGroupName$$1, serverName$$1, parameters, options) {
|
|
2903
|
-
return this.beginCreateOrUpdate(resourceGroupName$$1, serverName$$1, parameters, options)
|
|
2904
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2905
|
-
};
|
|
2906
|
-
/**
|
|
2907
|
-
* Creates or updates a threat detection policy.
|
|
2908
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
2909
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2910
|
-
* @param serverName The name of the server.
|
|
2911
|
-
* @param parameters The server security alert policy.
|
|
2912
|
-
* @param [options] The optional parameters
|
|
2913
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2914
|
-
*/
|
|
2915
|
-
ServerSecurityAlertPolicies.prototype.beginCreateOrUpdate = function (resourceGroupName$$1, serverName$$1, parameters, options) {
|
|
2916
|
-
return this.client.sendLRORequest({
|
|
2917
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2918
|
-
serverName: serverName$$1,
|
|
2919
|
-
parameters: parameters,
|
|
2920
|
-
options: options
|
|
2921
|
-
}, beginCreateOrUpdateOperationSpec$4, options);
|
|
2922
|
-
};
|
|
2923
|
-
return ServerSecurityAlertPolicies;
|
|
2924
|
-
}());
|
|
2925
|
-
// Operation Specifications
|
|
2926
|
-
var serializer$9 = new msRest.Serializer(Mappers$9);
|
|
2927
|
-
var getOperationSpec$5 = {
|
|
2928
|
-
httpMethod: "GET",
|
|
2929
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}",
|
|
2930
|
-
urlParameters: [
|
|
2931
|
-
resourceGroupName,
|
|
2932
|
-
serverName,
|
|
2933
|
-
securityAlertPolicyName,
|
|
2934
|
-
subscriptionId
|
|
2935
|
-
],
|
|
2936
|
-
queryParameters: [
|
|
2937
|
-
apiVersion
|
|
2938
|
-
],
|
|
2939
|
-
headerParameters: [
|
|
2940
|
-
acceptLanguage
|
|
2941
|
-
],
|
|
2942
|
-
responses: {
|
|
2943
|
-
200: {
|
|
2944
|
-
bodyMapper: ServerSecurityAlertPolicy
|
|
2945
|
-
},
|
|
2946
|
-
default: {
|
|
2947
|
-
bodyMapper: CloudError
|
|
2948
|
-
}
|
|
2949
|
-
},
|
|
2950
|
-
serializer: serializer$9
|
|
2951
|
-
};
|
|
2952
|
-
var beginCreateOrUpdateOperationSpec$4 = {
|
|
2953
|
-
httpMethod: "PUT",
|
|
2954
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}",
|
|
2955
|
-
urlParameters: [
|
|
2956
|
-
resourceGroupName,
|
|
2957
|
-
serverName,
|
|
2958
|
-
securityAlertPolicyName,
|
|
2959
|
-
subscriptionId
|
|
2960
|
-
],
|
|
2961
|
-
queryParameters: [
|
|
2962
|
-
apiVersion
|
|
2963
|
-
],
|
|
2964
|
-
headerParameters: [
|
|
2965
|
-
acceptLanguage
|
|
2966
|
-
],
|
|
2967
|
-
requestBody: {
|
|
2968
|
-
parameterPath: "parameters",
|
|
2969
|
-
mapper: __assign(__assign({}, ServerSecurityAlertPolicy), { required: true })
|
|
2970
|
-
},
|
|
2971
|
-
responses: {
|
|
2972
|
-
200: {
|
|
2973
|
-
bodyMapper: ServerSecurityAlertPolicy
|
|
2974
|
-
},
|
|
2975
|
-
202: {},
|
|
2976
|
-
default: {
|
|
2977
|
-
bodyMapper: CloudError
|
|
2978
|
-
}
|
|
2979
|
-
},
|
|
2980
|
-
serializer: serializer$9
|
|
2981
|
-
};
|
|
2982
|
-
|
|
2983
|
-
/*
|
|
2984
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2985
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2986
|
-
*
|
|
2987
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2988
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2989
|
-
*/
|
|
2990
|
-
|
|
2991
|
-
var Mappers$a = /*#__PURE__*/Object.freeze({
|
|
2992
|
-
discriminators: discriminators,
|
|
2993
|
-
CloudError: CloudError,
|
|
2994
|
-
Operation: Operation,
|
|
2995
|
-
OperationDisplay: OperationDisplay,
|
|
2996
|
-
OperationListResult: OperationListResult
|
|
2997
|
-
});
|
|
2998
|
-
|
|
2999
|
-
/*
|
|
3000
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3001
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
3002
|
-
* license information.
|
|
3003
|
-
*
|
|
3004
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3005
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3006
|
-
* regenerated.
|
|
3007
|
-
*/
|
|
3008
|
-
/** Class representing a Operations. */
|
|
3009
|
-
var Operations = /** @class */ (function () {
|
|
3010
|
-
/**
|
|
3011
|
-
* Create a Operations.
|
|
3012
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
3013
|
-
*/
|
|
3014
|
-
function Operations(client) {
|
|
3015
|
-
this.client = client;
|
|
3016
|
-
}
|
|
3017
|
-
Operations.prototype.list = function (options, callback) {
|
|
3018
|
-
return this.client.sendOperationRequest({
|
|
3019
|
-
options: options
|
|
3020
|
-
}, listOperationSpec$2, callback);
|
|
3021
|
-
};
|
|
3022
|
-
return Operations;
|
|
3023
|
-
}());
|
|
3024
|
-
// Operation Specifications
|
|
3025
|
-
var serializer$a = new msRest.Serializer(Mappers$a);
|
|
3026
|
-
var listOperationSpec$2 = {
|
|
3027
|
-
httpMethod: "GET",
|
|
3028
|
-
path: "providers/Microsoft.DBforMySQL/operations",
|
|
3029
|
-
queryParameters: [
|
|
3030
|
-
apiVersion
|
|
3031
|
-
],
|
|
3032
|
-
headerParameters: [
|
|
3033
|
-
acceptLanguage
|
|
3034
|
-
],
|
|
3035
|
-
responses: {
|
|
3036
|
-
200: {
|
|
3037
|
-
bodyMapper: OperationListResult
|
|
3038
|
-
},
|
|
3039
|
-
default: {
|
|
3040
|
-
bodyMapper: CloudError
|
|
3041
|
-
}
|
|
3042
|
-
},
|
|
3043
|
-
serializer: serializer$a
|
|
3044
|
-
};
|
|
3045
|
-
|
|
3046
|
-
/*
|
|
3047
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3048
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
3049
|
-
* license information.
|
|
3050
|
-
*
|
|
3051
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3052
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3053
|
-
* regenerated.
|
|
3054
|
-
*/
|
|
3055
|
-
|
|
3056
|
-
/*
|
|
3057
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3058
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
3059
|
-
* license information.
|
|
3060
|
-
*
|
|
3061
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3062
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3063
|
-
* regenerated.
|
|
3064
|
-
*/
|
|
3065
|
-
var packageName = "@azure/arm-mysql";
|
|
3066
|
-
var packageVersion = "3.4.0";
|
|
3067
|
-
var MySQLManagementClientContext = /** @class */ (function (_super) {
|
|
3068
|
-
__extends(MySQLManagementClientContext, _super);
|
|
3069
|
-
/**
|
|
3070
|
-
* Initializes a new instance of the MySQLManagementClient class.
|
|
3071
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
3072
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
3073
|
-
* more information about these credentials, see
|
|
3074
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
3075
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
3076
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
3077
|
-
* @param subscriptionId The subscription ID that identifies an Azure subscription.
|
|
3078
|
-
* @param [options] The parameter options
|
|
3079
|
-
*/
|
|
3080
|
-
function MySQLManagementClientContext(credentials, subscriptionId, options) {
|
|
3081
|
-
var _this = this;
|
|
3082
|
-
if (credentials == undefined) {
|
|
3083
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
3084
|
-
}
|
|
3085
|
-
if (subscriptionId == undefined) {
|
|
3086
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
3087
|
-
}
|
|
3088
|
-
if (!options) {
|
|
3089
|
-
options = {};
|
|
3090
|
-
}
|
|
3091
|
-
if (!options.userAgent) {
|
|
3092
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
3093
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
3094
|
-
}
|
|
3095
|
-
_this = _super.call(this, credentials, options) || this;
|
|
3096
|
-
_this.apiVersion = '2017-12-01';
|
|
3097
|
-
_this.acceptLanguage = 'en-US';
|
|
3098
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
3099
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
3100
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
3101
|
-
_this.credentials = credentials;
|
|
3102
|
-
_this.subscriptionId = subscriptionId;
|
|
3103
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
3104
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
3105
|
-
}
|
|
3106
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
3107
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
3108
|
-
}
|
|
3109
|
-
return _this;
|
|
3110
|
-
}
|
|
3111
|
-
return MySQLManagementClientContext;
|
|
3112
|
-
}(msRestAzure.AzureServiceClient));
|
|
3113
|
-
|
|
3114
|
-
/*
|
|
3115
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3116
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
3117
|
-
* license information.
|
|
3118
|
-
*
|
|
3119
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3120
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3121
|
-
* regenerated.
|
|
3122
|
-
*/
|
|
3123
|
-
var MySQLManagementClient = /** @class */ (function (_super) {
|
|
3124
|
-
__extends(MySQLManagementClient, _super);
|
|
3125
|
-
/**
|
|
3126
|
-
* Initializes a new instance of the MySQLManagementClient class.
|
|
3127
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
3128
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
3129
|
-
* more information about these credentials, see
|
|
3130
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
3131
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
3132
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
3133
|
-
* @param subscriptionId The subscription ID that identifies an Azure subscription.
|
|
3134
|
-
* @param [options] The parameter options
|
|
3135
|
-
*/
|
|
3136
|
-
function MySQLManagementClient(credentials, subscriptionId, options) {
|
|
3137
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
3138
|
-
_this.servers = new Servers(_this);
|
|
3139
|
-
_this.replicas = new Replicas(_this);
|
|
3140
|
-
_this.firewallRules = new FirewallRules(_this);
|
|
3141
|
-
_this.virtualNetworkRules = new VirtualNetworkRules(_this);
|
|
3142
|
-
_this.databases = new Databases(_this);
|
|
3143
|
-
_this.configurations = new Configurations(_this);
|
|
3144
|
-
_this.logFiles = new LogFiles(_this);
|
|
3145
|
-
_this.locationBasedPerformanceTier = new LocationBasedPerformanceTier(_this);
|
|
3146
|
-
_this.checkNameAvailability = new CheckNameAvailability(_this);
|
|
3147
|
-
_this.serverSecurityAlertPolicies = new ServerSecurityAlertPolicies(_this);
|
|
3148
|
-
_this.operations = new Operations(_this);
|
|
3149
|
-
return _this;
|
|
3150
|
-
}
|
|
3151
|
-
return MySQLManagementClient;
|
|
3152
|
-
}(MySQLManagementClientContext));
|
|
3153
|
-
|
|
3154
|
-
exports.MySQLManagementClient = MySQLManagementClient;
|
|
3155
|
-
exports.MySQLManagementClientContext = MySQLManagementClientContext;
|
|
3156
|
-
exports.MySQLManagementModels = index;
|
|
3157
|
-
exports.MySQLManagementMappers = mappers;
|
|
3158
|
-
exports.Servers = Servers;
|
|
3159
|
-
exports.Replicas = Replicas;
|
|
3160
|
-
exports.FirewallRules = FirewallRules;
|
|
3161
|
-
exports.VirtualNetworkRules = VirtualNetworkRules;
|
|
3162
|
-
exports.Databases = Databases;
|
|
3163
|
-
exports.Configurations = Configurations;
|
|
3164
|
-
exports.LogFiles = LogFiles;
|
|
3165
|
-
exports.LocationBasedPerformanceTier = LocationBasedPerformanceTier;
|
|
3166
|
-
exports.CheckNameAvailability = CheckNameAvailability;
|
|
3167
|
-
exports.ServerSecurityAlertPolicies = ServerSecurityAlertPolicies;
|
|
3168
|
-
exports.Operations = Operations;
|
|
3169
|
-
|
|
3170
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3171
|
-
|
|
3172
|
-
})));
|
|
3173
|
-
//# sourceMappingURL=arm-mysql.js.map
|