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