@azure/arm-mysql-flexible 1.0.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +81 -82
- package/dist/index.js +4360 -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/backupsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupsGetSample.js +32 -0
- package/dist-esm/samples-dev/backupsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/backupsListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupsListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupsListByServerSample.js +45 -0
- package/dist-esm/samples-dev/backupsListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.d.ts +2 -0
- package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +34 -0
- package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js.map +1 -0
- package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.d.ts +2 -0
- package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.js +33 -0
- package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationsBatchUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationsBatchUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationsBatchUpdateSample.js +37 -0
- package/dist-esm/samples-dev/configurationsBatchUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationsGetSample.js +32 -0
- package/dist-esm/samples-dev/configurationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationsListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationsListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationsListByServerSample.js +45 -0
- package/dist-esm/samples-dev/configurationsListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationsUpdateSample.js +33 -0
- package/dist-esm/samples-dev/configurationsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/databasesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/databasesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/databasesCreateOrUpdateSample.js +36 -0
- package/dist-esm/samples-dev/databasesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/databasesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/databasesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/databasesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/databasesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/databasesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/databasesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/databasesGetSample.js +32 -0
- package/dist-esm/samples-dev/databasesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/databasesListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/databasesListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/databasesListByServerSample.js +45 -0
- package/dist-esm/samples-dev/databasesListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +36 -0
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/firewallRulesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/firewallRulesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firewallRulesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/firewallRulesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/firewallRulesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/firewallRulesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firewallRulesGetSample.js +32 -0
- package/dist-esm/samples-dev/firewallRulesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/firewallRulesListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/firewallRulesListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firewallRulesListByServerSample.js +45 -0
- package/dist-esm/samples-dev/firewallRulesListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.d.ts +2 -0
- package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +29 -0
- package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js.map +1 -0
- package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.js +44 -0
- package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +43 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/replicasListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/replicasListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/replicasListByServerSample.js +45 -0
- package/dist-esm/samples-dev/replicasListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/serversCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/serversCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serversCreateSample.js +137 -0
- package/dist-esm/samples-dev/serversCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/serversDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/serversDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serversDeleteSample.js +31 -0
- package/dist-esm/samples-dev/serversDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/serversFailoverSample.d.ts +2 -0
- package/dist-esm/samples-dev/serversFailoverSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serversFailoverSample.js +31 -0
- package/dist-esm/samples-dev/serversFailoverSample.js.map +1 -0
- package/dist-esm/samples-dev/serversGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/serversGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serversGetSample.js +49 -0
- package/dist-esm/samples-dev/serversGetSample.js.map +1 -0
- package/dist-esm/samples-dev/serversListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/serversListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serversListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/serversListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/serversListSample.d.ts +2 -0
- package/dist-esm/samples-dev/serversListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serversListSample.js +43 -0
- package/dist-esm/samples-dev/serversListSample.js.map +1 -0
- package/dist-esm/samples-dev/serversRestartSample.d.ts +2 -0
- package/dist-esm/samples-dev/serversRestartSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serversRestartSample.js +35 -0
- package/dist-esm/samples-dev/serversRestartSample.js.map +1 -0
- package/dist-esm/samples-dev/serversStartSample.d.ts +2 -0
- package/dist-esm/samples-dev/serversStartSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serversStartSample.js +31 -0
- package/dist-esm/samples-dev/serversStartSample.js.map +1 -0
- package/dist-esm/samples-dev/serversStopSample.d.ts +2 -0
- package/dist-esm/samples-dev/serversStopSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serversStopSample.js +31 -0
- package/dist-esm/samples-dev/serversStopSample.js.map +1 -0
- package/dist-esm/samples-dev/serversUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/serversUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serversUpdateSample.js +93 -0
- package/dist-esm/samples-dev/serversUpdateSample.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/models/index.d.ts +1084 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +101 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +47 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +730 -662
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +24 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +187 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/mySQLManagementFlexibleServerClient.d.ts +28 -0
- package/dist-esm/src/mySQLManagementFlexibleServerClient.d.ts.map +1 -0
- package/dist-esm/src/mySQLManagementFlexibleServerClient.js +61 -0
- package/dist-esm/src/mySQLManagementFlexibleServerClient.js.map +1 -0
- package/dist-esm/src/operations/backups.d.ts +46 -0
- package/dist-esm/src/operations/backups.d.ts.map +1 -0
- package/dist-esm/src/operations/backups.js +169 -0
- package/dist-esm/src/operations/backups.js.map +1 -0
- package/dist-esm/src/operations/checkNameAvailability.d.ts +20 -0
- package/dist-esm/src/operations/checkNameAvailability.d.ts.map +1 -0
- package/dist-esm/src/operations/checkNameAvailability.js +54 -0
- package/dist-esm/src/operations/checkNameAvailability.js.map +1 -0
- package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.d.ts +20 -0
- package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.d.ts.map +1 -0
- package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.js +54 -0
- package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.js.map +1 -0
- package/dist-esm/src/operations/configurations.d.ts +81 -0
- package/dist-esm/src/operations/configurations.d.ts.map +1 -0
- package/dist-esm/src/operations/configurations.js +341 -0
- package/dist-esm/src/operations/configurations.js.map +1 -0
- package/dist-esm/src/operations/databases.d.ts +81 -0
- package/dist-esm/src/operations/databases.d.ts.map +1 -0
- package/dist-esm/src/operations/databases.js +331 -0
- package/dist-esm/src/operations/databases.js.map +1 -0
- package/dist-esm/src/operations/firewallRules.d.ts +81 -0
- package/dist-esm/src/operations/firewallRules.d.ts.map +1 -0
- package/dist-esm/src/operations/firewallRules.js +331 -0
- package/dist-esm/src/operations/firewallRules.js.map +1 -0
- package/dist-esm/src/operations/getPrivateDnsZoneSuffix.d.ts +18 -0
- package/dist-esm/src/operations/getPrivateDnsZoneSuffix.d.ts.map +1 -0
- package/dist-esm/src/operations/getPrivateDnsZoneSuffix.js +46 -0
- package/dist-esm/src/operations/getPrivateDnsZoneSuffix.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/locationBasedCapabilities.d.ts +35 -0
- package/dist-esm/src/operations/locationBasedCapabilities.d.ts.map +1 -0
- package/dist-esm/src/operations/locationBasedCapabilities.js +132 -0
- package/dist-esm/src/operations/locationBasedCapabilities.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/replicas.d.ts +38 -0
- package/dist-esm/src/operations/replicas.d.ts.map +1 -0
- package/dist-esm/src/operations/replicas.js +137 -0
- package/dist-esm/src/operations/replicas.js.map +1 -0
- package/dist-esm/src/operations/servers.d.ts +169 -0
- package/dist-esm/src/operations/servers.d.ts.map +1 -0
- package/dist-esm/src/operations/servers.js +792 -0
- package/dist-esm/src/operations/servers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/backups.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/backups.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/backups.js} +2 -1
- package/dist-esm/src/operationsInterfaces/backups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts.map +1 -0
- package/{src/models/getPrivateDnsZoneSuffixMappers.ts → dist-esm/src/operationsInterfaces/checkNameAvailability.js} +2 -7
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.d.ts.map +1 -0
- package/{src/models/checkNameAvailabilityMappers.ts → dist-esm/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.js} +2 -8
- package/dist-esm/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurations.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/configurations.js} +2 -9
- 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/getPrivateDnsZoneSuffix.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.js +9 -0
- package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +19 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.js +9 -0
- package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -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/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/servers.d.ts +133 -0
- package/dist-esm/src/operationsInterfaces/servers.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/servers.js +9 -0
- package/dist-esm/src/operationsInterfaces/servers.js.map +1 -0
- package/dist-esm/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 +83 -24
- package/review/arm-mysql-flexible.api.md +939 -0
- package/rollup.config.js +115 -30
- package/src/{models/checkVirtualNetworkSubnetUsageMappers.ts → index.ts} +4 -8
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +927 -1445
- package/src/models/mappers.ts +765 -691
- package/src/models/parameters.ts +141 -49
- package/src/mySQLManagementFlexibleServerClient.ts +121 -0
- package/src/operations/backups.ts +156 -123
- package/src/operations/checkNameAvailability.ts +39 -57
- package/src/operations/checkVirtualNetworkSubnetUsage.ts +40 -57
- package/src/operations/configurations.ts +368 -212
- package/src/operations/databases.ts +355 -212
- package/src/operations/firewallRules.ts +355 -212
- package/src/operations/getPrivateDnsZoneSuffix.ts +27 -41
- package/src/operations/index.ts +1 -2
- package/src/operations/locationBasedCapabilities.ts +106 -80
- package/src/operations/operations.ts +85 -73
- package/src/operations/replicas.ts +133 -82
- package/src/operations/servers.ts +833 -454
- package/src/operationsInterfaces/backups.ts +44 -0
- package/src/operationsInterfaces/checkNameAvailability.ts +28 -0
- package/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.ts +28 -0
- package/src/operationsInterfaces/configurations.ts +116 -0
- package/src/operationsInterfaces/databases.ts +109 -0
- package/src/operationsInterfaces/firewallRules.ts +109 -0
- package/src/operationsInterfaces/getPrivateDnsZoneSuffix.ts +23 -0
- package/src/operationsInterfaces/index.ts +19 -0
- package/src/operationsInterfaces/locationBasedCapabilities.ts +27 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/replicas.ts +26 -0
- package/src/operationsInterfaces/servers.ts +232 -0
- package/tsconfig.json +21 -7
- package/types/arm-mysql-flexible.d.ts +1627 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-mysql-flexible.js +0 -3773
- package/dist/arm-mysql-flexible.js.map +0 -1
- package/dist/arm-mysql-flexible.min.js +0 -1
- package/dist/arm-mysql-flexible.min.js.map +0 -1
- package/esm/models/backupsMappers.d.ts +0 -2
- package/esm/models/backupsMappers.d.ts.map +0 -1
- package/esm/models/backupsMappers.js +0 -9
- package/esm/models/backupsMappers.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/checkVirtualNetworkSubnetUsageMappers.d.ts +0 -2
- package/esm/models/checkVirtualNetworkSubnetUsageMappers.d.ts.map +0 -1
- package/esm/models/checkVirtualNetworkSubnetUsageMappers.js +0 -9
- package/esm/models/checkVirtualNetworkSubnetUsageMappers.js.map +0 -1
- package/esm/models/configurationsMappers.d.ts +0 -2
- package/esm/models/configurationsMappers.d.ts.map +0 -1
- package/esm/models/configurationsMappers.js +0 -9
- package/esm/models/configurationsMappers.js.map +0 -1
- package/esm/models/databasesMappers.d.ts +0 -2
- package/esm/models/databasesMappers.d.ts.map +0 -1
- package/esm/models/databasesMappers.js +0 -9
- package/esm/models/databasesMappers.js.map +0 -1
- package/esm/models/firewallRulesMappers.d.ts +0 -2
- package/esm/models/firewallRulesMappers.d.ts.map +0 -1
- package/esm/models/firewallRulesMappers.js +0 -9
- package/esm/models/firewallRulesMappers.js.map +0 -1
- package/esm/models/getPrivateDnsZoneSuffixMappers.d.ts +0 -2
- package/esm/models/getPrivateDnsZoneSuffixMappers.d.ts.map +0 -1
- package/esm/models/getPrivateDnsZoneSuffixMappers.js +0 -9
- package/esm/models/getPrivateDnsZoneSuffixMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1621
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/locationBasedCapabilitiesMappers.d.ts +0 -2
- package/esm/models/locationBasedCapabilitiesMappers.d.ts.map +0 -1
- package/esm/models/locationBasedCapabilitiesMappers.js +0 -9
- package/esm/models/locationBasedCapabilitiesMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -46
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -13
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -130
- 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/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/mySQLManagementClient.d.ts +0 -34
- package/esm/mySQLManagementClient.d.ts.map +0 -1
- package/esm/mySQLManagementClient.js +0 -47
- package/esm/mySQLManagementClient.js.map +0 -1
- package/esm/mySQLManagementClientContext.d.ts +0 -22
- package/esm/mySQLManagementClientContext.d.ts.map +0 -1
- package/esm/mySQLManagementClientContext.js +0 -60
- package/esm/mySQLManagementClientContext.js.map +0 -1
- package/esm/operations/backups.d.ts +0 -76
- package/esm/operations/backups.d.ts.map +0 -1
- package/esm/operations/backups.js +0 -119
- package/esm/operations/backups.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 -61
- package/esm/operations/checkNameAvailability.js.map +0 -1
- package/esm/operations/checkVirtualNetworkSubnetUsage.d.ts +0 -34
- package/esm/operations/checkVirtualNetworkSubnetUsage.d.ts.map +0 -1
- package/esm/operations/checkVirtualNetworkSubnetUsage.js +0 -61
- package/esm/operations/checkVirtualNetworkSubnetUsage.js.map +0 -1
- package/esm/operations/configurations.d.ts +0 -115
- package/esm/operations/configurations.d.ts.map +0 -1
- package/esm/operations/configurations.js +0 -238
- package/esm/operations/configurations.js.map +0 -1
- package/esm/operations/databases.d.ts +0 -115
- package/esm/operations/databases.d.ts.map +0 -1
- package/esm/operations/databases.js +0 -237
- package/esm/operations/databases.js.map +0 -1
- package/esm/operations/firewallRules.d.ts +0 -115
- package/esm/operations/firewallRules.d.ts.map +0 -1
- package/esm/operations/firewallRules.js +0 -237
- package/esm/operations/firewallRules.js.map +0 -1
- package/esm/operations/getPrivateDnsZoneSuffix.d.ts +0 -28
- package/esm/operations/getPrivateDnsZoneSuffix.d.ts.map +0 -1
- package/esm/operations/getPrivateDnsZoneSuffix.js +0 -50
- package/esm/operations/getPrivateDnsZoneSuffix.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/locationBasedCapabilities.d.ts +0 -49
- package/esm/operations/locationBasedCapabilities.d.ts.map +0 -1
- package/esm/operations/locationBasedCapabilities.js +0 -84
- package/esm/operations/locationBasedCapabilities.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/replicas.d.ts +0 -52
- package/esm/operations/replicas.d.ts.map +0 -1
- package/esm/operations/replicas.js +0 -86
- package/esm/operations/replicas.js.map +0 -1
- package/esm/operations/servers.d.ts +0 -226
- package/esm/operations/servers.d.ts.map +0 -1
- package/esm/operations/servers.js +0 -541
- package/esm/operations/servers.js.map +0 -1
- package/src/models/backupsMappers.ts +0 -31
- package/src/models/configurationsMappers.ts +0 -33
- package/src/models/databasesMappers.ts +0 -31
- package/src/models/firewallRulesMappers.ts +0 -31
- package/src/models/locationBasedCapabilitiesMappers.ts +0 -19
- package/src/models/replicasMappers.ts +0 -31
- package/src/models/serversMappers.ts +0 -33
- package/src/mySQLManagementClient.ts +0 -67
- package/src/mySQLManagementClientContext.ts +0 -67
|
@@ -1,3773 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
(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
|
-
(global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmMysqlFlexible = {}), global.msRestAzure, global.msRest));
|
|
12
|
-
}(this, (function (exports, msRestAzure, msRest) { 'use strict';
|
|
13
|
-
|
|
14
|
-
/*! *****************************************************************************
|
|
15
|
-
Copyright (c) Microsoft Corporation.
|
|
16
|
-
|
|
17
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
18
|
-
purpose with or without fee is hereby granted.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
21
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
22
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
23
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
24
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
25
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
27
|
-
***************************************************************************** */
|
|
28
|
-
/* global Reflect, Promise */
|
|
29
|
-
|
|
30
|
-
var extendStatics = function(d, b) {
|
|
31
|
-
extendStatics = Object.setPrototypeOf ||
|
|
32
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
33
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
34
|
-
return extendStatics(d, b);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
function __extends(d, b) {
|
|
38
|
-
extendStatics(d, b);
|
|
39
|
-
function __() { this.constructor = d; }
|
|
40
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
var __assign = function() {
|
|
44
|
-
__assign = Object.assign || function __assign(t) {
|
|
45
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
46
|
-
s = arguments[i];
|
|
47
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
48
|
-
}
|
|
49
|
-
return t;
|
|
50
|
-
};
|
|
51
|
-
return __assign.apply(this, arguments);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
/*
|
|
55
|
-
* Copyright (c) Microsoft Corporation.
|
|
56
|
-
* Licensed under the MIT License.
|
|
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
|
-
__proto__: null
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
/*
|
|
67
|
-
* Copyright (c) Microsoft Corporation.
|
|
68
|
-
* Licensed under the MIT License.
|
|
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 MaintenanceWindow = {
|
|
76
|
-
serializedName: "MaintenanceWindow",
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "MaintenanceWindow",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
customWindow: {
|
|
82
|
-
serializedName: "customWindow",
|
|
83
|
-
type: {
|
|
84
|
-
name: "String"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
startHour: {
|
|
88
|
-
serializedName: "startHour",
|
|
89
|
-
type: {
|
|
90
|
-
name: "Number"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
startMinute: {
|
|
94
|
-
serializedName: "startMinute",
|
|
95
|
-
type: {
|
|
96
|
-
name: "Number"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
dayOfWeek: {
|
|
100
|
-
serializedName: "dayOfWeek",
|
|
101
|
-
type: {
|
|
102
|
-
name: "Number"
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
var Backup = {
|
|
109
|
-
serializedName: "Backup",
|
|
110
|
-
type: {
|
|
111
|
-
name: "Composite",
|
|
112
|
-
className: "Backup",
|
|
113
|
-
modelProperties: {
|
|
114
|
-
backupRetentionDays: {
|
|
115
|
-
serializedName: "backupRetentionDays",
|
|
116
|
-
type: {
|
|
117
|
-
name: "Number"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
geoRedundantBackup: {
|
|
121
|
-
serializedName: "geoRedundantBackup",
|
|
122
|
-
type: {
|
|
123
|
-
name: "String"
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
earliestRestoreDate: {
|
|
127
|
-
readOnly: true,
|
|
128
|
-
serializedName: "earliestRestoreDate",
|
|
129
|
-
type: {
|
|
130
|
-
name: "DateTime"
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
};
|
|
136
|
-
var Storage = {
|
|
137
|
-
serializedName: "Storage",
|
|
138
|
-
type: {
|
|
139
|
-
name: "Composite",
|
|
140
|
-
className: "Storage",
|
|
141
|
-
modelProperties: {
|
|
142
|
-
storageSizeGB: {
|
|
143
|
-
serializedName: "storageSizeGB",
|
|
144
|
-
type: {
|
|
145
|
-
name: "Number"
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
iops: {
|
|
149
|
-
serializedName: "iops",
|
|
150
|
-
type: {
|
|
151
|
-
name: "Number"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
autoGrow: {
|
|
155
|
-
serializedName: "autoGrow",
|
|
156
|
-
type: {
|
|
157
|
-
name: "String"
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
storageSku: {
|
|
161
|
-
readOnly: true,
|
|
162
|
-
serializedName: "storageSku",
|
|
163
|
-
type: {
|
|
164
|
-
name: "String"
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
};
|
|
170
|
-
var Sku = {
|
|
171
|
-
serializedName: "Sku",
|
|
172
|
-
type: {
|
|
173
|
-
name: "Composite",
|
|
174
|
-
className: "Sku",
|
|
175
|
-
modelProperties: {
|
|
176
|
-
name: {
|
|
177
|
-
required: true,
|
|
178
|
-
serializedName: "name",
|
|
179
|
-
type: {
|
|
180
|
-
name: "String"
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
tier: {
|
|
184
|
-
required: true,
|
|
185
|
-
serializedName: "tier",
|
|
186
|
-
type: {
|
|
187
|
-
name: "String"
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
};
|
|
193
|
-
var Network = {
|
|
194
|
-
serializedName: "Network",
|
|
195
|
-
type: {
|
|
196
|
-
name: "Composite",
|
|
197
|
-
className: "Network",
|
|
198
|
-
modelProperties: {
|
|
199
|
-
publicNetworkAccess: {
|
|
200
|
-
readOnly: true,
|
|
201
|
-
serializedName: "publicNetworkAccess",
|
|
202
|
-
type: {
|
|
203
|
-
name: "String"
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
delegatedSubnetResourceId: {
|
|
207
|
-
serializedName: "delegatedSubnetResourceId",
|
|
208
|
-
type: {
|
|
209
|
-
name: "String"
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
privateDnsZoneResourceId: {
|
|
213
|
-
serializedName: "privateDnsZoneResourceId",
|
|
214
|
-
type: {
|
|
215
|
-
name: "String"
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
};
|
|
221
|
-
var HighAvailability = {
|
|
222
|
-
serializedName: "HighAvailability",
|
|
223
|
-
type: {
|
|
224
|
-
name: "Composite",
|
|
225
|
-
className: "HighAvailability",
|
|
226
|
-
modelProperties: {
|
|
227
|
-
mode: {
|
|
228
|
-
serializedName: "mode",
|
|
229
|
-
type: {
|
|
230
|
-
name: "String"
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
state: {
|
|
234
|
-
readOnly: true,
|
|
235
|
-
serializedName: "state",
|
|
236
|
-
type: {
|
|
237
|
-
name: "String"
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
standbyAvailabilityZone: {
|
|
241
|
-
serializedName: "standbyAvailabilityZone",
|
|
242
|
-
type: {
|
|
243
|
-
name: "String"
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
};
|
|
249
|
-
var SystemData = {
|
|
250
|
-
serializedName: "systemData",
|
|
251
|
-
type: {
|
|
252
|
-
name: "Composite",
|
|
253
|
-
className: "SystemData",
|
|
254
|
-
modelProperties: {
|
|
255
|
-
createdBy: {
|
|
256
|
-
serializedName: "createdBy",
|
|
257
|
-
type: {
|
|
258
|
-
name: "String"
|
|
259
|
-
}
|
|
260
|
-
},
|
|
261
|
-
createdByType: {
|
|
262
|
-
serializedName: "createdByType",
|
|
263
|
-
type: {
|
|
264
|
-
name: "String"
|
|
265
|
-
}
|
|
266
|
-
},
|
|
267
|
-
createdAt: {
|
|
268
|
-
serializedName: "createdAt",
|
|
269
|
-
type: {
|
|
270
|
-
name: "DateTime"
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
lastModifiedBy: {
|
|
274
|
-
serializedName: "lastModifiedBy",
|
|
275
|
-
type: {
|
|
276
|
-
name: "String"
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
lastModifiedByType: {
|
|
280
|
-
serializedName: "lastModifiedByType",
|
|
281
|
-
type: {
|
|
282
|
-
name: "String"
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
lastModifiedAt: {
|
|
286
|
-
serializedName: "lastModifiedAt",
|
|
287
|
-
type: {
|
|
288
|
-
name: "DateTime"
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
};
|
|
294
|
-
var Resource = {
|
|
295
|
-
serializedName: "Resource",
|
|
296
|
-
type: {
|
|
297
|
-
name: "Composite",
|
|
298
|
-
className: "Resource",
|
|
299
|
-
modelProperties: {
|
|
300
|
-
id: {
|
|
301
|
-
readOnly: true,
|
|
302
|
-
serializedName: "id",
|
|
303
|
-
type: {
|
|
304
|
-
name: "String"
|
|
305
|
-
}
|
|
306
|
-
},
|
|
307
|
-
name: {
|
|
308
|
-
readOnly: true,
|
|
309
|
-
serializedName: "name",
|
|
310
|
-
type: {
|
|
311
|
-
name: "String"
|
|
312
|
-
}
|
|
313
|
-
},
|
|
314
|
-
type: {
|
|
315
|
-
readOnly: true,
|
|
316
|
-
serializedName: "type",
|
|
317
|
-
type: {
|
|
318
|
-
name: "String"
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
};
|
|
324
|
-
var TrackedResource = {
|
|
325
|
-
serializedName: "TrackedResource",
|
|
326
|
-
type: {
|
|
327
|
-
name: "Composite",
|
|
328
|
-
className: "TrackedResource",
|
|
329
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { tags: {
|
|
330
|
-
serializedName: "tags",
|
|
331
|
-
type: {
|
|
332
|
-
name: "Dictionary",
|
|
333
|
-
value: {
|
|
334
|
-
type: {
|
|
335
|
-
name: "String"
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
}, location: {
|
|
340
|
-
required: true,
|
|
341
|
-
serializedName: "location",
|
|
342
|
-
type: {
|
|
343
|
-
name: "String"
|
|
344
|
-
}
|
|
345
|
-
} })
|
|
346
|
-
}
|
|
347
|
-
};
|
|
348
|
-
var Server = {
|
|
349
|
-
serializedName: "Server",
|
|
350
|
-
type: {
|
|
351
|
-
name: "Composite",
|
|
352
|
-
className: "Server",
|
|
353
|
-
modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { sku: {
|
|
354
|
-
serializedName: "sku",
|
|
355
|
-
type: {
|
|
356
|
-
name: "Composite",
|
|
357
|
-
className: "Sku"
|
|
358
|
-
}
|
|
359
|
-
}, administratorLogin: {
|
|
360
|
-
serializedName: "properties.administratorLogin",
|
|
361
|
-
type: {
|
|
362
|
-
name: "String"
|
|
363
|
-
}
|
|
364
|
-
}, administratorLoginPassword: {
|
|
365
|
-
serializedName: "properties.administratorLoginPassword",
|
|
366
|
-
type: {
|
|
367
|
-
name: "String"
|
|
368
|
-
}
|
|
369
|
-
}, version: {
|
|
370
|
-
serializedName: "properties.version",
|
|
371
|
-
type: {
|
|
372
|
-
name: "String"
|
|
373
|
-
}
|
|
374
|
-
}, availabilityZone: {
|
|
375
|
-
serializedName: "properties.availabilityZone",
|
|
376
|
-
type: {
|
|
377
|
-
name: "String"
|
|
378
|
-
}
|
|
379
|
-
}, createMode: {
|
|
380
|
-
serializedName: "properties.createMode",
|
|
381
|
-
type: {
|
|
382
|
-
name: "String"
|
|
383
|
-
}
|
|
384
|
-
}, sourceServerResourceId: {
|
|
385
|
-
serializedName: "properties.sourceServerResourceId",
|
|
386
|
-
type: {
|
|
387
|
-
name: "String"
|
|
388
|
-
}
|
|
389
|
-
}, restorePointInTime: {
|
|
390
|
-
serializedName: "properties.restorePointInTime",
|
|
391
|
-
type: {
|
|
392
|
-
name: "DateTime"
|
|
393
|
-
}
|
|
394
|
-
}, replicationRole: {
|
|
395
|
-
serializedName: "properties.replicationRole",
|
|
396
|
-
type: {
|
|
397
|
-
name: "String"
|
|
398
|
-
}
|
|
399
|
-
}, replicaCapacity: {
|
|
400
|
-
readOnly: true,
|
|
401
|
-
serializedName: "properties.replicaCapacity",
|
|
402
|
-
constraints: {
|
|
403
|
-
InclusiveMinimum: 0
|
|
404
|
-
},
|
|
405
|
-
type: {
|
|
406
|
-
name: "Number"
|
|
407
|
-
}
|
|
408
|
-
}, state: {
|
|
409
|
-
readOnly: true,
|
|
410
|
-
serializedName: "properties.state",
|
|
411
|
-
type: {
|
|
412
|
-
name: "String"
|
|
413
|
-
}
|
|
414
|
-
}, fullyQualifiedDomainName: {
|
|
415
|
-
readOnly: true,
|
|
416
|
-
serializedName: "properties.fullyQualifiedDomainName",
|
|
417
|
-
type: {
|
|
418
|
-
name: "String"
|
|
419
|
-
}
|
|
420
|
-
}, storage: {
|
|
421
|
-
serializedName: "properties.storage",
|
|
422
|
-
type: {
|
|
423
|
-
name: "Composite",
|
|
424
|
-
className: "Storage"
|
|
425
|
-
}
|
|
426
|
-
}, backup: {
|
|
427
|
-
serializedName: "properties.backup",
|
|
428
|
-
type: {
|
|
429
|
-
name: "Composite",
|
|
430
|
-
className: "Backup"
|
|
431
|
-
}
|
|
432
|
-
}, highAvailability: {
|
|
433
|
-
serializedName: "properties.highAvailability",
|
|
434
|
-
type: {
|
|
435
|
-
name: "Composite",
|
|
436
|
-
className: "HighAvailability"
|
|
437
|
-
}
|
|
438
|
-
}, network: {
|
|
439
|
-
serializedName: "properties.network",
|
|
440
|
-
type: {
|
|
441
|
-
name: "Composite",
|
|
442
|
-
className: "Network"
|
|
443
|
-
}
|
|
444
|
-
}, maintenanceWindow: {
|
|
445
|
-
serializedName: "properties.maintenanceWindow",
|
|
446
|
-
type: {
|
|
447
|
-
name: "Composite",
|
|
448
|
-
className: "MaintenanceWindow"
|
|
449
|
-
}
|
|
450
|
-
}, systemData: {
|
|
451
|
-
readOnly: true,
|
|
452
|
-
serializedName: "systemData",
|
|
453
|
-
type: {
|
|
454
|
-
name: "Composite",
|
|
455
|
-
className: "SystemData"
|
|
456
|
-
}
|
|
457
|
-
} })
|
|
458
|
-
}
|
|
459
|
-
};
|
|
460
|
-
var ServerForUpdate = {
|
|
461
|
-
serializedName: "ServerForUpdate",
|
|
462
|
-
type: {
|
|
463
|
-
name: "Composite",
|
|
464
|
-
className: "ServerForUpdate",
|
|
465
|
-
modelProperties: {
|
|
466
|
-
sku: {
|
|
467
|
-
serializedName: "sku",
|
|
468
|
-
type: {
|
|
469
|
-
name: "Composite",
|
|
470
|
-
className: "Sku"
|
|
471
|
-
}
|
|
472
|
-
},
|
|
473
|
-
administratorLoginPassword: {
|
|
474
|
-
serializedName: "properties.administratorLoginPassword",
|
|
475
|
-
type: {
|
|
476
|
-
name: "String"
|
|
477
|
-
}
|
|
478
|
-
},
|
|
479
|
-
storage: {
|
|
480
|
-
serializedName: "properties.storage",
|
|
481
|
-
type: {
|
|
482
|
-
name: "Composite",
|
|
483
|
-
className: "Storage"
|
|
484
|
-
}
|
|
485
|
-
},
|
|
486
|
-
backup: {
|
|
487
|
-
serializedName: "properties.backup",
|
|
488
|
-
type: {
|
|
489
|
-
name: "Composite",
|
|
490
|
-
className: "Backup"
|
|
491
|
-
}
|
|
492
|
-
},
|
|
493
|
-
highAvailability: {
|
|
494
|
-
serializedName: "properties.highAvailability",
|
|
495
|
-
type: {
|
|
496
|
-
name: "Composite",
|
|
497
|
-
className: "HighAvailability"
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
maintenanceWindow: {
|
|
501
|
-
serializedName: "properties.maintenanceWindow",
|
|
502
|
-
type: {
|
|
503
|
-
name: "Composite",
|
|
504
|
-
className: "MaintenanceWindow"
|
|
505
|
-
}
|
|
506
|
-
},
|
|
507
|
-
replicationRole: {
|
|
508
|
-
serializedName: "properties.replicationRole",
|
|
509
|
-
type: {
|
|
510
|
-
name: "String"
|
|
511
|
-
}
|
|
512
|
-
},
|
|
513
|
-
tags: {
|
|
514
|
-
serializedName: "tags",
|
|
515
|
-
type: {
|
|
516
|
-
name: "Dictionary",
|
|
517
|
-
value: {
|
|
518
|
-
type: {
|
|
519
|
-
name: "String"
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
};
|
|
527
|
-
var ServerRestartParameter = {
|
|
528
|
-
serializedName: "ServerRestartParameter",
|
|
529
|
-
type: {
|
|
530
|
-
name: "Composite",
|
|
531
|
-
className: "ServerRestartParameter",
|
|
532
|
-
modelProperties: {
|
|
533
|
-
restartWithFailover: {
|
|
534
|
-
serializedName: "restartWithFailover",
|
|
535
|
-
type: {
|
|
536
|
-
name: "String"
|
|
537
|
-
}
|
|
538
|
-
},
|
|
539
|
-
maxFailoverSeconds: {
|
|
540
|
-
serializedName: "maxFailoverSeconds",
|
|
541
|
-
type: {
|
|
542
|
-
name: "Number"
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
};
|
|
548
|
-
var ProxyResource = {
|
|
549
|
-
serializedName: "ProxyResource",
|
|
550
|
-
type: {
|
|
551
|
-
name: "Composite",
|
|
552
|
-
className: "ProxyResource",
|
|
553
|
-
modelProperties: __assign({}, Resource.type.modelProperties)
|
|
554
|
-
}
|
|
555
|
-
};
|
|
556
|
-
var ServerBackup = {
|
|
557
|
-
serializedName: "ServerBackup",
|
|
558
|
-
type: {
|
|
559
|
-
name: "Composite",
|
|
560
|
-
className: "ServerBackup",
|
|
561
|
-
modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { backupType: {
|
|
562
|
-
serializedName: "properties.backupType",
|
|
563
|
-
type: {
|
|
564
|
-
name: "String"
|
|
565
|
-
}
|
|
566
|
-
}, completedTime: {
|
|
567
|
-
serializedName: "properties.completedTime",
|
|
568
|
-
type: {
|
|
569
|
-
name: "DateTime"
|
|
570
|
-
}
|
|
571
|
-
}, source: {
|
|
572
|
-
serializedName: "properties.source",
|
|
573
|
-
type: {
|
|
574
|
-
name: "String"
|
|
575
|
-
}
|
|
576
|
-
}, systemData: {
|
|
577
|
-
readOnly: true,
|
|
578
|
-
serializedName: "systemData",
|
|
579
|
-
type: {
|
|
580
|
-
name: "Composite",
|
|
581
|
-
className: "SystemData"
|
|
582
|
-
}
|
|
583
|
-
} })
|
|
584
|
-
}
|
|
585
|
-
};
|
|
586
|
-
var FirewallRule = {
|
|
587
|
-
serializedName: "FirewallRule",
|
|
588
|
-
type: {
|
|
589
|
-
name: "Composite",
|
|
590
|
-
className: "FirewallRule",
|
|
591
|
-
modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { startIpAddress: {
|
|
592
|
-
required: true,
|
|
593
|
-
serializedName: "properties.startIpAddress",
|
|
594
|
-
constraints: {
|
|
595
|
-
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])$/
|
|
596
|
-
},
|
|
597
|
-
type: {
|
|
598
|
-
name: "String"
|
|
599
|
-
}
|
|
600
|
-
}, endIpAddress: {
|
|
601
|
-
required: true,
|
|
602
|
-
serializedName: "properties.endIpAddress",
|
|
603
|
-
constraints: {
|
|
604
|
-
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])$/
|
|
605
|
-
},
|
|
606
|
-
type: {
|
|
607
|
-
name: "String"
|
|
608
|
-
}
|
|
609
|
-
}, systemData: {
|
|
610
|
-
readOnly: true,
|
|
611
|
-
serializedName: "systemData",
|
|
612
|
-
type: {
|
|
613
|
-
name: "Composite",
|
|
614
|
-
className: "SystemData"
|
|
615
|
-
}
|
|
616
|
-
} })
|
|
617
|
-
}
|
|
618
|
-
};
|
|
619
|
-
var Database = {
|
|
620
|
-
serializedName: "Database",
|
|
621
|
-
type: {
|
|
622
|
-
name: "Composite",
|
|
623
|
-
className: "Database",
|
|
624
|
-
modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { charset: {
|
|
625
|
-
serializedName: "properties.charset",
|
|
626
|
-
type: {
|
|
627
|
-
name: "String"
|
|
628
|
-
}
|
|
629
|
-
}, collation: {
|
|
630
|
-
serializedName: "properties.collation",
|
|
631
|
-
type: {
|
|
632
|
-
name: "String"
|
|
633
|
-
}
|
|
634
|
-
}, systemData: {
|
|
635
|
-
readOnly: true,
|
|
636
|
-
serializedName: "systemData",
|
|
637
|
-
type: {
|
|
638
|
-
name: "Composite",
|
|
639
|
-
className: "SystemData"
|
|
640
|
-
}
|
|
641
|
-
} })
|
|
642
|
-
}
|
|
643
|
-
};
|
|
644
|
-
var Configuration = {
|
|
645
|
-
serializedName: "Configuration",
|
|
646
|
-
type: {
|
|
647
|
-
name: "Composite",
|
|
648
|
-
className: "Configuration",
|
|
649
|
-
modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { value: {
|
|
650
|
-
serializedName: "properties.value",
|
|
651
|
-
type: {
|
|
652
|
-
name: "String"
|
|
653
|
-
}
|
|
654
|
-
}, description: {
|
|
655
|
-
readOnly: true,
|
|
656
|
-
serializedName: "properties.description",
|
|
657
|
-
type: {
|
|
658
|
-
name: "String"
|
|
659
|
-
}
|
|
660
|
-
}, defaultValue: {
|
|
661
|
-
readOnly: true,
|
|
662
|
-
serializedName: "properties.defaultValue",
|
|
663
|
-
type: {
|
|
664
|
-
name: "String"
|
|
665
|
-
}
|
|
666
|
-
}, dataType: {
|
|
667
|
-
readOnly: true,
|
|
668
|
-
serializedName: "properties.dataType",
|
|
669
|
-
type: {
|
|
670
|
-
name: "String"
|
|
671
|
-
}
|
|
672
|
-
}, allowedValues: {
|
|
673
|
-
readOnly: true,
|
|
674
|
-
serializedName: "properties.allowedValues",
|
|
675
|
-
type: {
|
|
676
|
-
name: "String"
|
|
677
|
-
}
|
|
678
|
-
}, source: {
|
|
679
|
-
serializedName: "properties.source",
|
|
680
|
-
type: {
|
|
681
|
-
name: "String"
|
|
682
|
-
}
|
|
683
|
-
}, isReadOnly: {
|
|
684
|
-
readOnly: true,
|
|
685
|
-
serializedName: "properties.isReadOnly",
|
|
686
|
-
type: {
|
|
687
|
-
name: "String"
|
|
688
|
-
}
|
|
689
|
-
}, isConfigPendingRestart: {
|
|
690
|
-
readOnly: true,
|
|
691
|
-
serializedName: "properties.isConfigPendingRestart",
|
|
692
|
-
type: {
|
|
693
|
-
name: "String"
|
|
694
|
-
}
|
|
695
|
-
}, isDynamicConfig: {
|
|
696
|
-
readOnly: true,
|
|
697
|
-
serializedName: "properties.isDynamicConfig",
|
|
698
|
-
type: {
|
|
699
|
-
name: "String"
|
|
700
|
-
}
|
|
701
|
-
}, systemData: {
|
|
702
|
-
readOnly: true,
|
|
703
|
-
serializedName: "systemData",
|
|
704
|
-
type: {
|
|
705
|
-
name: "Composite",
|
|
706
|
-
className: "SystemData"
|
|
707
|
-
}
|
|
708
|
-
} })
|
|
709
|
-
}
|
|
710
|
-
};
|
|
711
|
-
var ConfigurationForBatchUpdate = {
|
|
712
|
-
serializedName: "ConfigurationForBatchUpdate",
|
|
713
|
-
type: {
|
|
714
|
-
name: "Composite",
|
|
715
|
-
className: "ConfigurationForBatchUpdate",
|
|
716
|
-
modelProperties: {
|
|
717
|
-
name: {
|
|
718
|
-
serializedName: "name",
|
|
719
|
-
type: {
|
|
720
|
-
name: "String"
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
|
-
value: {
|
|
724
|
-
serializedName: "properties.value",
|
|
725
|
-
type: {
|
|
726
|
-
name: "String"
|
|
727
|
-
}
|
|
728
|
-
},
|
|
729
|
-
source: {
|
|
730
|
-
serializedName: "properties.source",
|
|
731
|
-
type: {
|
|
732
|
-
name: "String"
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
};
|
|
738
|
-
var ConfigurationListForBatchUpdate = {
|
|
739
|
-
serializedName: "ConfigurationListForBatchUpdate",
|
|
740
|
-
type: {
|
|
741
|
-
name: "Composite",
|
|
742
|
-
className: "ConfigurationListForBatchUpdate",
|
|
743
|
-
modelProperties: {
|
|
744
|
-
value: {
|
|
745
|
-
serializedName: "value",
|
|
746
|
-
type: {
|
|
747
|
-
name: "Sequence",
|
|
748
|
-
element: {
|
|
749
|
-
type: {
|
|
750
|
-
name: "Composite",
|
|
751
|
-
className: "ConfigurationForBatchUpdate"
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
};
|
|
759
|
-
var VirtualNetworkSubnetUsageParameter = {
|
|
760
|
-
serializedName: "VirtualNetworkSubnetUsageParameter",
|
|
761
|
-
type: {
|
|
762
|
-
name: "Composite",
|
|
763
|
-
className: "VirtualNetworkSubnetUsageParameter",
|
|
764
|
-
modelProperties: {
|
|
765
|
-
virtualNetworkResourceId: {
|
|
766
|
-
serializedName: "virtualNetworkResourceId",
|
|
767
|
-
type: {
|
|
768
|
-
name: "String"
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
};
|
|
774
|
-
var DelegatedSubnetUsage = {
|
|
775
|
-
serializedName: "DelegatedSubnetUsage",
|
|
776
|
-
type: {
|
|
777
|
-
name: "Composite",
|
|
778
|
-
className: "DelegatedSubnetUsage",
|
|
779
|
-
modelProperties: {
|
|
780
|
-
subnetName: {
|
|
781
|
-
readOnly: true,
|
|
782
|
-
serializedName: "subnetName",
|
|
783
|
-
type: {
|
|
784
|
-
name: "String"
|
|
785
|
-
}
|
|
786
|
-
},
|
|
787
|
-
usage: {
|
|
788
|
-
readOnly: true,
|
|
789
|
-
serializedName: "usage",
|
|
790
|
-
type: {
|
|
791
|
-
name: "Number"
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
};
|
|
797
|
-
var VirtualNetworkSubnetUsageResult = {
|
|
798
|
-
serializedName: "VirtualNetworkSubnetUsageResult",
|
|
799
|
-
type: {
|
|
800
|
-
name: "Composite",
|
|
801
|
-
className: "VirtualNetworkSubnetUsageResult",
|
|
802
|
-
modelProperties: {
|
|
803
|
-
delegatedSubnetsUsage: {
|
|
804
|
-
readOnly: true,
|
|
805
|
-
serializedName: "delegatedSubnetsUsage",
|
|
806
|
-
type: {
|
|
807
|
-
name: "Sequence",
|
|
808
|
-
element: {
|
|
809
|
-
type: {
|
|
810
|
-
name: "Composite",
|
|
811
|
-
className: "DelegatedSubnetUsage"
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
};
|
|
819
|
-
var SkuCapability = {
|
|
820
|
-
serializedName: "SkuCapability",
|
|
821
|
-
type: {
|
|
822
|
-
name: "Composite",
|
|
823
|
-
className: "SkuCapability",
|
|
824
|
-
modelProperties: {
|
|
825
|
-
name: {
|
|
826
|
-
readOnly: true,
|
|
827
|
-
serializedName: "name",
|
|
828
|
-
type: {
|
|
829
|
-
name: "String"
|
|
830
|
-
}
|
|
831
|
-
},
|
|
832
|
-
vCores: {
|
|
833
|
-
readOnly: true,
|
|
834
|
-
serializedName: "vCores",
|
|
835
|
-
type: {
|
|
836
|
-
name: "Number"
|
|
837
|
-
}
|
|
838
|
-
},
|
|
839
|
-
supportedIops: {
|
|
840
|
-
readOnly: true,
|
|
841
|
-
serializedName: "supportedIops",
|
|
842
|
-
type: {
|
|
843
|
-
name: "Number"
|
|
844
|
-
}
|
|
845
|
-
},
|
|
846
|
-
supportedMemoryPerVCoreMB: {
|
|
847
|
-
readOnly: true,
|
|
848
|
-
serializedName: "supportedMemoryPerVCoreMB",
|
|
849
|
-
type: {
|
|
850
|
-
name: "Number"
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
}
|
|
855
|
-
};
|
|
856
|
-
var ServerVersionCapability = {
|
|
857
|
-
serializedName: "ServerVersionCapability",
|
|
858
|
-
type: {
|
|
859
|
-
name: "Composite",
|
|
860
|
-
className: "ServerVersionCapability",
|
|
861
|
-
modelProperties: {
|
|
862
|
-
name: {
|
|
863
|
-
readOnly: true,
|
|
864
|
-
serializedName: "name",
|
|
865
|
-
type: {
|
|
866
|
-
name: "String"
|
|
867
|
-
}
|
|
868
|
-
},
|
|
869
|
-
supportedSkus: {
|
|
870
|
-
readOnly: true,
|
|
871
|
-
serializedName: "supportedSkus",
|
|
872
|
-
type: {
|
|
873
|
-
name: "Sequence",
|
|
874
|
-
element: {
|
|
875
|
-
type: {
|
|
876
|
-
name: "Composite",
|
|
877
|
-
className: "SkuCapability"
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
}
|
|
881
|
-
}
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
};
|
|
885
|
-
var StorageEditionCapability = {
|
|
886
|
-
serializedName: "StorageEditionCapability",
|
|
887
|
-
type: {
|
|
888
|
-
name: "Composite",
|
|
889
|
-
className: "StorageEditionCapability",
|
|
890
|
-
modelProperties: {
|
|
891
|
-
name: {
|
|
892
|
-
readOnly: true,
|
|
893
|
-
serializedName: "name",
|
|
894
|
-
type: {
|
|
895
|
-
name: "String"
|
|
896
|
-
}
|
|
897
|
-
},
|
|
898
|
-
minStorageSize: {
|
|
899
|
-
readOnly: true,
|
|
900
|
-
serializedName: "minStorageSize",
|
|
901
|
-
type: {
|
|
902
|
-
name: "Number"
|
|
903
|
-
}
|
|
904
|
-
},
|
|
905
|
-
maxStorageSize: {
|
|
906
|
-
readOnly: true,
|
|
907
|
-
serializedName: "maxStorageSize",
|
|
908
|
-
type: {
|
|
909
|
-
name: "Number"
|
|
910
|
-
}
|
|
911
|
-
},
|
|
912
|
-
minBackupRetentionDays: {
|
|
913
|
-
readOnly: true,
|
|
914
|
-
serializedName: "minBackupRetentionDays",
|
|
915
|
-
type: {
|
|
916
|
-
name: "Number"
|
|
917
|
-
}
|
|
918
|
-
},
|
|
919
|
-
maxBackupRetentionDays: {
|
|
920
|
-
readOnly: true,
|
|
921
|
-
serializedName: "maxBackupRetentionDays",
|
|
922
|
-
type: {
|
|
923
|
-
name: "Number"
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
};
|
|
929
|
-
var ServerEditionCapability = {
|
|
930
|
-
serializedName: "ServerEditionCapability",
|
|
931
|
-
type: {
|
|
932
|
-
name: "Composite",
|
|
933
|
-
className: "ServerEditionCapability",
|
|
934
|
-
modelProperties: {
|
|
935
|
-
name: {
|
|
936
|
-
readOnly: true,
|
|
937
|
-
serializedName: "name",
|
|
938
|
-
type: {
|
|
939
|
-
name: "String"
|
|
940
|
-
}
|
|
941
|
-
},
|
|
942
|
-
supportedStorageEditions: {
|
|
943
|
-
readOnly: true,
|
|
944
|
-
serializedName: "supportedStorageEditions",
|
|
945
|
-
type: {
|
|
946
|
-
name: "Sequence",
|
|
947
|
-
element: {
|
|
948
|
-
type: {
|
|
949
|
-
name: "Composite",
|
|
950
|
-
className: "StorageEditionCapability"
|
|
951
|
-
}
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
},
|
|
955
|
-
supportedServerVersions: {
|
|
956
|
-
readOnly: true,
|
|
957
|
-
serializedName: "supportedServerVersions",
|
|
958
|
-
type: {
|
|
959
|
-
name: "Sequence",
|
|
960
|
-
element: {
|
|
961
|
-
type: {
|
|
962
|
-
name: "Composite",
|
|
963
|
-
className: "ServerVersionCapability"
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
};
|
|
971
|
-
var CapabilityProperties = {
|
|
972
|
-
serializedName: "CapabilityProperties",
|
|
973
|
-
type: {
|
|
974
|
-
name: "Composite",
|
|
975
|
-
className: "CapabilityProperties",
|
|
976
|
-
modelProperties: {
|
|
977
|
-
zone: {
|
|
978
|
-
readOnly: true,
|
|
979
|
-
serializedName: "zone",
|
|
980
|
-
type: {
|
|
981
|
-
name: "String"
|
|
982
|
-
}
|
|
983
|
-
},
|
|
984
|
-
supportedHAMode: {
|
|
985
|
-
readOnly: true,
|
|
986
|
-
serializedName: "supportedHAMode",
|
|
987
|
-
type: {
|
|
988
|
-
name: "Sequence",
|
|
989
|
-
element: {
|
|
990
|
-
type: {
|
|
991
|
-
name: "String"
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
},
|
|
996
|
-
supportedGeoBackupRegions: {
|
|
997
|
-
readOnly: true,
|
|
998
|
-
serializedName: "supportedGeoBackupRegions",
|
|
999
|
-
type: {
|
|
1000
|
-
name: "Sequence",
|
|
1001
|
-
element: {
|
|
1002
|
-
type: {
|
|
1003
|
-
name: "String"
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
},
|
|
1008
|
-
supportedFlexibleServerEditions: {
|
|
1009
|
-
readOnly: true,
|
|
1010
|
-
serializedName: "supportedFlexibleServerEditions",
|
|
1011
|
-
type: {
|
|
1012
|
-
name: "Sequence",
|
|
1013
|
-
element: {
|
|
1014
|
-
type: {
|
|
1015
|
-
name: "Composite",
|
|
1016
|
-
className: "ServerEditionCapability"
|
|
1017
|
-
}
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
}
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
};
|
|
1024
|
-
var GetPrivateDnsZoneSuffixResponse = {
|
|
1025
|
-
serializedName: "GetPrivateDnsZoneSuffixResponse",
|
|
1026
|
-
type: {
|
|
1027
|
-
name: "Composite",
|
|
1028
|
-
className: "GetPrivateDnsZoneSuffixResponse",
|
|
1029
|
-
modelProperties: {
|
|
1030
|
-
privateDnsZoneSuffix: {
|
|
1031
|
-
serializedName: "privateDnsZoneSuffix",
|
|
1032
|
-
type: {
|
|
1033
|
-
name: "String"
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1038
|
-
};
|
|
1039
|
-
var NameAvailabilityRequest = {
|
|
1040
|
-
serializedName: "NameAvailabilityRequest",
|
|
1041
|
-
type: {
|
|
1042
|
-
name: "Composite",
|
|
1043
|
-
className: "NameAvailabilityRequest",
|
|
1044
|
-
modelProperties: {
|
|
1045
|
-
name: {
|
|
1046
|
-
required: true,
|
|
1047
|
-
serializedName: "name",
|
|
1048
|
-
type: {
|
|
1049
|
-
name: "String"
|
|
1050
|
-
}
|
|
1051
|
-
},
|
|
1052
|
-
type: {
|
|
1053
|
-
serializedName: "type",
|
|
1054
|
-
type: {
|
|
1055
|
-
name: "String"
|
|
1056
|
-
}
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
};
|
|
1061
|
-
var NameAvailability = {
|
|
1062
|
-
serializedName: "NameAvailability",
|
|
1063
|
-
type: {
|
|
1064
|
-
name: "Composite",
|
|
1065
|
-
className: "NameAvailability",
|
|
1066
|
-
modelProperties: {
|
|
1067
|
-
message: {
|
|
1068
|
-
serializedName: "message",
|
|
1069
|
-
type: {
|
|
1070
|
-
name: "String"
|
|
1071
|
-
}
|
|
1072
|
-
},
|
|
1073
|
-
nameAvailable: {
|
|
1074
|
-
serializedName: "nameAvailable",
|
|
1075
|
-
type: {
|
|
1076
|
-
name: "Boolean"
|
|
1077
|
-
}
|
|
1078
|
-
},
|
|
1079
|
-
reason: {
|
|
1080
|
-
serializedName: "reason",
|
|
1081
|
-
type: {
|
|
1082
|
-
name: "String"
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
};
|
|
1088
|
-
var OperationDisplay = {
|
|
1089
|
-
serializedName: "OperationDisplay",
|
|
1090
|
-
type: {
|
|
1091
|
-
name: "Composite",
|
|
1092
|
-
className: "OperationDisplay",
|
|
1093
|
-
modelProperties: {
|
|
1094
|
-
provider: {
|
|
1095
|
-
serializedName: "provider",
|
|
1096
|
-
type: {
|
|
1097
|
-
name: "String"
|
|
1098
|
-
}
|
|
1099
|
-
},
|
|
1100
|
-
resource: {
|
|
1101
|
-
serializedName: "resource",
|
|
1102
|
-
type: {
|
|
1103
|
-
name: "String"
|
|
1104
|
-
}
|
|
1105
|
-
},
|
|
1106
|
-
operation: {
|
|
1107
|
-
serializedName: "operation",
|
|
1108
|
-
type: {
|
|
1109
|
-
name: "String"
|
|
1110
|
-
}
|
|
1111
|
-
},
|
|
1112
|
-
description: {
|
|
1113
|
-
serializedName: "description",
|
|
1114
|
-
type: {
|
|
1115
|
-
name: "String"
|
|
1116
|
-
}
|
|
1117
|
-
}
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
};
|
|
1121
|
-
var Operation = {
|
|
1122
|
-
serializedName: "Operation",
|
|
1123
|
-
type: {
|
|
1124
|
-
name: "Composite",
|
|
1125
|
-
className: "Operation",
|
|
1126
|
-
modelProperties: {
|
|
1127
|
-
name: {
|
|
1128
|
-
serializedName: "name",
|
|
1129
|
-
type: {
|
|
1130
|
-
name: "String"
|
|
1131
|
-
}
|
|
1132
|
-
},
|
|
1133
|
-
display: {
|
|
1134
|
-
serializedName: "display",
|
|
1135
|
-
type: {
|
|
1136
|
-
name: "Composite",
|
|
1137
|
-
className: "OperationDisplay"
|
|
1138
|
-
}
|
|
1139
|
-
},
|
|
1140
|
-
origin: {
|
|
1141
|
-
serializedName: "origin",
|
|
1142
|
-
type: {
|
|
1143
|
-
name: "String"
|
|
1144
|
-
}
|
|
1145
|
-
},
|
|
1146
|
-
properties: {
|
|
1147
|
-
serializedName: "properties",
|
|
1148
|
-
type: {
|
|
1149
|
-
name: "Dictionary",
|
|
1150
|
-
value: {
|
|
1151
|
-
type: {
|
|
1152
|
-
name: "Object"
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
}
|
|
1159
|
-
};
|
|
1160
|
-
var ErrorAdditionalInfo = {
|
|
1161
|
-
serializedName: "ErrorAdditionalInfo",
|
|
1162
|
-
type: {
|
|
1163
|
-
name: "Composite",
|
|
1164
|
-
className: "ErrorAdditionalInfo",
|
|
1165
|
-
modelProperties: {
|
|
1166
|
-
type: {
|
|
1167
|
-
readOnly: true,
|
|
1168
|
-
serializedName: "type",
|
|
1169
|
-
type: {
|
|
1170
|
-
name: "String"
|
|
1171
|
-
}
|
|
1172
|
-
},
|
|
1173
|
-
info: {
|
|
1174
|
-
readOnly: true,
|
|
1175
|
-
serializedName: "info",
|
|
1176
|
-
type: {
|
|
1177
|
-
name: "Object"
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
|
-
}
|
|
1181
|
-
}
|
|
1182
|
-
};
|
|
1183
|
-
var ErrorResponse = {
|
|
1184
|
-
serializedName: "ErrorResponse",
|
|
1185
|
-
type: {
|
|
1186
|
-
name: "Composite",
|
|
1187
|
-
className: "ErrorResponse",
|
|
1188
|
-
modelProperties: {
|
|
1189
|
-
code: {
|
|
1190
|
-
readOnly: true,
|
|
1191
|
-
serializedName: "code",
|
|
1192
|
-
type: {
|
|
1193
|
-
name: "String"
|
|
1194
|
-
}
|
|
1195
|
-
},
|
|
1196
|
-
message: {
|
|
1197
|
-
readOnly: true,
|
|
1198
|
-
serializedName: "message",
|
|
1199
|
-
type: {
|
|
1200
|
-
name: "String"
|
|
1201
|
-
}
|
|
1202
|
-
},
|
|
1203
|
-
target: {
|
|
1204
|
-
readOnly: true,
|
|
1205
|
-
serializedName: "target",
|
|
1206
|
-
type: {
|
|
1207
|
-
name: "String"
|
|
1208
|
-
}
|
|
1209
|
-
},
|
|
1210
|
-
details: {
|
|
1211
|
-
readOnly: true,
|
|
1212
|
-
serializedName: "details",
|
|
1213
|
-
type: {
|
|
1214
|
-
name: "Sequence",
|
|
1215
|
-
element: {
|
|
1216
|
-
type: {
|
|
1217
|
-
name: "Composite",
|
|
1218
|
-
className: "ErrorResponse"
|
|
1219
|
-
}
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
},
|
|
1223
|
-
additionalInfo: {
|
|
1224
|
-
readOnly: true,
|
|
1225
|
-
serializedName: "additionalInfo",
|
|
1226
|
-
type: {
|
|
1227
|
-
name: "Sequence",
|
|
1228
|
-
element: {
|
|
1229
|
-
type: {
|
|
1230
|
-
name: "Composite",
|
|
1231
|
-
className: "ErrorAdditionalInfo"
|
|
1232
|
-
}
|
|
1233
|
-
}
|
|
1234
|
-
}
|
|
1235
|
-
}
|
|
1236
|
-
}
|
|
1237
|
-
}
|
|
1238
|
-
};
|
|
1239
|
-
var AzureEntityResource = {
|
|
1240
|
-
serializedName: "AzureEntityResource",
|
|
1241
|
-
type: {
|
|
1242
|
-
name: "Composite",
|
|
1243
|
-
className: "AzureEntityResource",
|
|
1244
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { etag: {
|
|
1245
|
-
readOnly: true,
|
|
1246
|
-
serializedName: "etag",
|
|
1247
|
-
type: {
|
|
1248
|
-
name: "String"
|
|
1249
|
-
}
|
|
1250
|
-
} })
|
|
1251
|
-
}
|
|
1252
|
-
};
|
|
1253
|
-
var ServerListResult = {
|
|
1254
|
-
serializedName: "ServerListResult",
|
|
1255
|
-
type: {
|
|
1256
|
-
name: "Composite",
|
|
1257
|
-
className: "ServerListResult",
|
|
1258
|
-
modelProperties: {
|
|
1259
|
-
value: {
|
|
1260
|
-
serializedName: "",
|
|
1261
|
-
type: {
|
|
1262
|
-
name: "Sequence",
|
|
1263
|
-
element: {
|
|
1264
|
-
type: {
|
|
1265
|
-
name: "Composite",
|
|
1266
|
-
className: "Server"
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
}
|
|
1270
|
-
},
|
|
1271
|
-
nextLink: {
|
|
1272
|
-
serializedName: "nextLink",
|
|
1273
|
-
type: {
|
|
1274
|
-
name: "String"
|
|
1275
|
-
}
|
|
1276
|
-
}
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
};
|
|
1280
|
-
var ServerBackupListResult = {
|
|
1281
|
-
serializedName: "ServerBackupListResult",
|
|
1282
|
-
type: {
|
|
1283
|
-
name: "Composite",
|
|
1284
|
-
className: "ServerBackupListResult",
|
|
1285
|
-
modelProperties: {
|
|
1286
|
-
value: {
|
|
1287
|
-
serializedName: "",
|
|
1288
|
-
type: {
|
|
1289
|
-
name: "Sequence",
|
|
1290
|
-
element: {
|
|
1291
|
-
type: {
|
|
1292
|
-
name: "Composite",
|
|
1293
|
-
className: "ServerBackup"
|
|
1294
|
-
}
|
|
1295
|
-
}
|
|
1296
|
-
}
|
|
1297
|
-
},
|
|
1298
|
-
nextLink: {
|
|
1299
|
-
serializedName: "nextLink",
|
|
1300
|
-
type: {
|
|
1301
|
-
name: "String"
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
}
|
|
1305
|
-
}
|
|
1306
|
-
};
|
|
1307
|
-
var FirewallRuleListResult = {
|
|
1308
|
-
serializedName: "FirewallRuleListResult",
|
|
1309
|
-
type: {
|
|
1310
|
-
name: "Composite",
|
|
1311
|
-
className: "FirewallRuleListResult",
|
|
1312
|
-
modelProperties: {
|
|
1313
|
-
value: {
|
|
1314
|
-
serializedName: "",
|
|
1315
|
-
type: {
|
|
1316
|
-
name: "Sequence",
|
|
1317
|
-
element: {
|
|
1318
|
-
type: {
|
|
1319
|
-
name: "Composite",
|
|
1320
|
-
className: "FirewallRule"
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
}
|
|
1324
|
-
},
|
|
1325
|
-
nextLink: {
|
|
1326
|
-
serializedName: "nextLink",
|
|
1327
|
-
type: {
|
|
1328
|
-
name: "String"
|
|
1329
|
-
}
|
|
1330
|
-
}
|
|
1331
|
-
}
|
|
1332
|
-
}
|
|
1333
|
-
};
|
|
1334
|
-
var DatabaseListResult = {
|
|
1335
|
-
serializedName: "DatabaseListResult",
|
|
1336
|
-
type: {
|
|
1337
|
-
name: "Composite",
|
|
1338
|
-
className: "DatabaseListResult",
|
|
1339
|
-
modelProperties: {
|
|
1340
|
-
value: {
|
|
1341
|
-
serializedName: "",
|
|
1342
|
-
type: {
|
|
1343
|
-
name: "Sequence",
|
|
1344
|
-
element: {
|
|
1345
|
-
type: {
|
|
1346
|
-
name: "Composite",
|
|
1347
|
-
className: "Database"
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
}
|
|
1351
|
-
},
|
|
1352
|
-
nextLink: {
|
|
1353
|
-
serializedName: "nextLink",
|
|
1354
|
-
type: {
|
|
1355
|
-
name: "String"
|
|
1356
|
-
}
|
|
1357
|
-
}
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
};
|
|
1361
|
-
var ConfigurationListResult = {
|
|
1362
|
-
serializedName: "ConfigurationListResult",
|
|
1363
|
-
type: {
|
|
1364
|
-
name: "Composite",
|
|
1365
|
-
className: "ConfigurationListResult",
|
|
1366
|
-
modelProperties: {
|
|
1367
|
-
value: {
|
|
1368
|
-
serializedName: "",
|
|
1369
|
-
type: {
|
|
1370
|
-
name: "Sequence",
|
|
1371
|
-
element: {
|
|
1372
|
-
type: {
|
|
1373
|
-
name: "Composite",
|
|
1374
|
-
className: "Configuration"
|
|
1375
|
-
}
|
|
1376
|
-
}
|
|
1377
|
-
}
|
|
1378
|
-
},
|
|
1379
|
-
nextLink: {
|
|
1380
|
-
serializedName: "nextLink",
|
|
1381
|
-
type: {
|
|
1382
|
-
name: "String"
|
|
1383
|
-
}
|
|
1384
|
-
}
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
};
|
|
1388
|
-
var CapabilitiesListResult = {
|
|
1389
|
-
serializedName: "CapabilitiesListResult",
|
|
1390
|
-
type: {
|
|
1391
|
-
name: "Composite",
|
|
1392
|
-
className: "CapabilitiesListResult",
|
|
1393
|
-
modelProperties: {
|
|
1394
|
-
value: {
|
|
1395
|
-
readOnly: true,
|
|
1396
|
-
serializedName: "",
|
|
1397
|
-
type: {
|
|
1398
|
-
name: "Sequence",
|
|
1399
|
-
element: {
|
|
1400
|
-
type: {
|
|
1401
|
-
name: "Composite",
|
|
1402
|
-
className: "CapabilityProperties"
|
|
1403
|
-
}
|
|
1404
|
-
}
|
|
1405
|
-
}
|
|
1406
|
-
},
|
|
1407
|
-
nextLink: {
|
|
1408
|
-
readOnly: true,
|
|
1409
|
-
serializedName: "nextLink",
|
|
1410
|
-
type: {
|
|
1411
|
-
name: "String"
|
|
1412
|
-
}
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1415
|
-
}
|
|
1416
|
-
};
|
|
1417
|
-
var OperationListResult = {
|
|
1418
|
-
serializedName: "OperationListResult",
|
|
1419
|
-
type: {
|
|
1420
|
-
name: "Composite",
|
|
1421
|
-
className: "OperationListResult",
|
|
1422
|
-
modelProperties: {
|
|
1423
|
-
value: {
|
|
1424
|
-
serializedName: "",
|
|
1425
|
-
type: {
|
|
1426
|
-
name: "Sequence",
|
|
1427
|
-
element: {
|
|
1428
|
-
type: {
|
|
1429
|
-
name: "Composite",
|
|
1430
|
-
className: "Operation"
|
|
1431
|
-
}
|
|
1432
|
-
}
|
|
1433
|
-
}
|
|
1434
|
-
},
|
|
1435
|
-
nextLink: {
|
|
1436
|
-
serializedName: "nextLink",
|
|
1437
|
-
type: {
|
|
1438
|
-
name: "String"
|
|
1439
|
-
}
|
|
1440
|
-
}
|
|
1441
|
-
}
|
|
1442
|
-
}
|
|
1443
|
-
};
|
|
1444
|
-
|
|
1445
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
1446
|
-
__proto__: null,
|
|
1447
|
-
CloudError: CloudError,
|
|
1448
|
-
BaseResource: BaseResource,
|
|
1449
|
-
MaintenanceWindow: MaintenanceWindow,
|
|
1450
|
-
Backup: Backup,
|
|
1451
|
-
Storage: Storage,
|
|
1452
|
-
Sku: Sku,
|
|
1453
|
-
Network: Network,
|
|
1454
|
-
HighAvailability: HighAvailability,
|
|
1455
|
-
SystemData: SystemData,
|
|
1456
|
-
Resource: Resource,
|
|
1457
|
-
TrackedResource: TrackedResource,
|
|
1458
|
-
Server: Server,
|
|
1459
|
-
ServerForUpdate: ServerForUpdate,
|
|
1460
|
-
ServerRestartParameter: ServerRestartParameter,
|
|
1461
|
-
ProxyResource: ProxyResource,
|
|
1462
|
-
ServerBackup: ServerBackup,
|
|
1463
|
-
FirewallRule: FirewallRule,
|
|
1464
|
-
Database: Database,
|
|
1465
|
-
Configuration: Configuration,
|
|
1466
|
-
ConfigurationForBatchUpdate: ConfigurationForBatchUpdate,
|
|
1467
|
-
ConfigurationListForBatchUpdate: ConfigurationListForBatchUpdate,
|
|
1468
|
-
VirtualNetworkSubnetUsageParameter: VirtualNetworkSubnetUsageParameter,
|
|
1469
|
-
DelegatedSubnetUsage: DelegatedSubnetUsage,
|
|
1470
|
-
VirtualNetworkSubnetUsageResult: VirtualNetworkSubnetUsageResult,
|
|
1471
|
-
SkuCapability: SkuCapability,
|
|
1472
|
-
ServerVersionCapability: ServerVersionCapability,
|
|
1473
|
-
StorageEditionCapability: StorageEditionCapability,
|
|
1474
|
-
ServerEditionCapability: ServerEditionCapability,
|
|
1475
|
-
CapabilityProperties: CapabilityProperties,
|
|
1476
|
-
GetPrivateDnsZoneSuffixResponse: GetPrivateDnsZoneSuffixResponse,
|
|
1477
|
-
NameAvailabilityRequest: NameAvailabilityRequest,
|
|
1478
|
-
NameAvailability: NameAvailability,
|
|
1479
|
-
OperationDisplay: OperationDisplay,
|
|
1480
|
-
Operation: Operation,
|
|
1481
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1482
|
-
ErrorResponse: ErrorResponse,
|
|
1483
|
-
AzureEntityResource: AzureEntityResource,
|
|
1484
|
-
ServerListResult: ServerListResult,
|
|
1485
|
-
ServerBackupListResult: ServerBackupListResult,
|
|
1486
|
-
FirewallRuleListResult: FirewallRuleListResult,
|
|
1487
|
-
DatabaseListResult: DatabaseListResult,
|
|
1488
|
-
ConfigurationListResult: ConfigurationListResult,
|
|
1489
|
-
CapabilitiesListResult: CapabilitiesListResult,
|
|
1490
|
-
OperationListResult: OperationListResult
|
|
1491
|
-
});
|
|
1492
|
-
|
|
1493
|
-
/*
|
|
1494
|
-
* Copyright (c) Microsoft Corporation.
|
|
1495
|
-
* Licensed under the MIT License.
|
|
1496
|
-
*
|
|
1497
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1498
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1499
|
-
*/
|
|
1500
|
-
|
|
1501
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1502
|
-
__proto__: null,
|
|
1503
|
-
AzureEntityResource: AzureEntityResource,
|
|
1504
|
-
Backup: Backup,
|
|
1505
|
-
BaseResource: BaseResource,
|
|
1506
|
-
CloudError: CloudError,
|
|
1507
|
-
Configuration: Configuration,
|
|
1508
|
-
Database: Database,
|
|
1509
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1510
|
-
ErrorResponse: ErrorResponse,
|
|
1511
|
-
FirewallRule: FirewallRule,
|
|
1512
|
-
HighAvailability: HighAvailability,
|
|
1513
|
-
MaintenanceWindow: MaintenanceWindow,
|
|
1514
|
-
Network: Network,
|
|
1515
|
-
ProxyResource: ProxyResource,
|
|
1516
|
-
Resource: Resource,
|
|
1517
|
-
Server: Server,
|
|
1518
|
-
ServerBackup: ServerBackup,
|
|
1519
|
-
ServerForUpdate: ServerForUpdate,
|
|
1520
|
-
ServerListResult: ServerListResult,
|
|
1521
|
-
ServerRestartParameter: ServerRestartParameter,
|
|
1522
|
-
Sku: Sku,
|
|
1523
|
-
Storage: Storage,
|
|
1524
|
-
SystemData: SystemData,
|
|
1525
|
-
TrackedResource: TrackedResource
|
|
1526
|
-
});
|
|
1527
|
-
|
|
1528
|
-
/*
|
|
1529
|
-
* Copyright (c) Microsoft Corporation.
|
|
1530
|
-
* Licensed under the MIT License.
|
|
1531
|
-
*
|
|
1532
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1533
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1534
|
-
* regenerated.
|
|
1535
|
-
*/
|
|
1536
|
-
var acceptLanguage = {
|
|
1537
|
-
parameterPath: "acceptLanguage",
|
|
1538
|
-
mapper: {
|
|
1539
|
-
serializedName: "accept-language",
|
|
1540
|
-
defaultValue: 'en-US',
|
|
1541
|
-
type: {
|
|
1542
|
-
name: "String"
|
|
1543
|
-
}
|
|
1544
|
-
}
|
|
1545
|
-
};
|
|
1546
|
-
var apiVersion = {
|
|
1547
|
-
parameterPath: "apiVersion",
|
|
1548
|
-
mapper: {
|
|
1549
|
-
required: true,
|
|
1550
|
-
serializedName: "api-version",
|
|
1551
|
-
constraints: {
|
|
1552
|
-
MinLength: 1
|
|
1553
|
-
},
|
|
1554
|
-
type: {
|
|
1555
|
-
name: "String"
|
|
1556
|
-
}
|
|
1557
|
-
}
|
|
1558
|
-
};
|
|
1559
|
-
var backupName = {
|
|
1560
|
-
parameterPath: "backupName",
|
|
1561
|
-
mapper: {
|
|
1562
|
-
required: true,
|
|
1563
|
-
serializedName: "backupName",
|
|
1564
|
-
type: {
|
|
1565
|
-
name: "String"
|
|
1566
|
-
}
|
|
1567
|
-
}
|
|
1568
|
-
};
|
|
1569
|
-
var configurationName = {
|
|
1570
|
-
parameterPath: "configurationName",
|
|
1571
|
-
mapper: {
|
|
1572
|
-
required: true,
|
|
1573
|
-
serializedName: "configurationName",
|
|
1574
|
-
type: {
|
|
1575
|
-
name: "String"
|
|
1576
|
-
}
|
|
1577
|
-
}
|
|
1578
|
-
};
|
|
1579
|
-
var databaseName = {
|
|
1580
|
-
parameterPath: "databaseName",
|
|
1581
|
-
mapper: {
|
|
1582
|
-
required: true,
|
|
1583
|
-
serializedName: "databaseName",
|
|
1584
|
-
type: {
|
|
1585
|
-
name: "String"
|
|
1586
|
-
}
|
|
1587
|
-
}
|
|
1588
|
-
};
|
|
1589
|
-
var firewallRuleName = {
|
|
1590
|
-
parameterPath: "firewallRuleName",
|
|
1591
|
-
mapper: {
|
|
1592
|
-
required: true,
|
|
1593
|
-
serializedName: "firewallRuleName",
|
|
1594
|
-
type: {
|
|
1595
|
-
name: "String"
|
|
1596
|
-
}
|
|
1597
|
-
}
|
|
1598
|
-
};
|
|
1599
|
-
var locationName = {
|
|
1600
|
-
parameterPath: "locationName",
|
|
1601
|
-
mapper: {
|
|
1602
|
-
required: true,
|
|
1603
|
-
serializedName: "locationName",
|
|
1604
|
-
type: {
|
|
1605
|
-
name: "String"
|
|
1606
|
-
}
|
|
1607
|
-
}
|
|
1608
|
-
};
|
|
1609
|
-
var nextPageLink = {
|
|
1610
|
-
parameterPath: "nextPageLink",
|
|
1611
|
-
mapper: {
|
|
1612
|
-
required: true,
|
|
1613
|
-
serializedName: "nextLink",
|
|
1614
|
-
type: {
|
|
1615
|
-
name: "String"
|
|
1616
|
-
}
|
|
1617
|
-
},
|
|
1618
|
-
skipEncoding: true
|
|
1619
|
-
};
|
|
1620
|
-
var resourceGroupName = {
|
|
1621
|
-
parameterPath: "resourceGroupName",
|
|
1622
|
-
mapper: {
|
|
1623
|
-
required: true,
|
|
1624
|
-
serializedName: "resourceGroupName",
|
|
1625
|
-
constraints: {
|
|
1626
|
-
MaxLength: 90,
|
|
1627
|
-
MinLength: 1
|
|
1628
|
-
},
|
|
1629
|
-
type: {
|
|
1630
|
-
name: "String"
|
|
1631
|
-
}
|
|
1632
|
-
}
|
|
1633
|
-
};
|
|
1634
|
-
var serverName = {
|
|
1635
|
-
parameterPath: "serverName",
|
|
1636
|
-
mapper: {
|
|
1637
|
-
required: true,
|
|
1638
|
-
serializedName: "serverName",
|
|
1639
|
-
type: {
|
|
1640
|
-
name: "String"
|
|
1641
|
-
}
|
|
1642
|
-
}
|
|
1643
|
-
};
|
|
1644
|
-
var subscriptionId = {
|
|
1645
|
-
parameterPath: "subscriptionId",
|
|
1646
|
-
mapper: {
|
|
1647
|
-
required: true,
|
|
1648
|
-
serializedName: "subscriptionId",
|
|
1649
|
-
constraints: {
|
|
1650
|
-
MinLength: 1
|
|
1651
|
-
},
|
|
1652
|
-
type: {
|
|
1653
|
-
name: "String"
|
|
1654
|
-
}
|
|
1655
|
-
}
|
|
1656
|
-
};
|
|
1657
|
-
|
|
1658
|
-
/*
|
|
1659
|
-
* Copyright (c) Microsoft Corporation.
|
|
1660
|
-
* Licensed under the MIT License.
|
|
1661
|
-
*
|
|
1662
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1663
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1664
|
-
* regenerated.
|
|
1665
|
-
*/
|
|
1666
|
-
/** Class representing a Servers. */
|
|
1667
|
-
var Servers = /** @class */ (function () {
|
|
1668
|
-
/**
|
|
1669
|
-
* Create a Servers.
|
|
1670
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
1671
|
-
*/
|
|
1672
|
-
function Servers(client) {
|
|
1673
|
-
this.client = client;
|
|
1674
|
-
}
|
|
1675
|
-
/**
|
|
1676
|
-
* Creates a new server or updates an existing server. The update action will overwrite the
|
|
1677
|
-
* existing server.
|
|
1678
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1679
|
-
* @param serverName The name of the server.
|
|
1680
|
-
* @param parameters The required parameters for creating or updating a server.
|
|
1681
|
-
* @param [options] The optional parameters
|
|
1682
|
-
* @returns Promise<Models.ServersCreateResponse>
|
|
1683
|
-
*/
|
|
1684
|
-
Servers.prototype.create = function (resourceGroupName, serverName, parameters, options) {
|
|
1685
|
-
return this.beginCreate(resourceGroupName, serverName, parameters, options)
|
|
1686
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1687
|
-
};
|
|
1688
|
-
/**
|
|
1689
|
-
* Updates an existing server. The request body can contain one to many of the properties present
|
|
1690
|
-
* in the normal server definition.
|
|
1691
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1692
|
-
* @param serverName The name of the server.
|
|
1693
|
-
* @param parameters The required parameters for updating a server.
|
|
1694
|
-
* @param [options] The optional parameters
|
|
1695
|
-
* @returns Promise<Models.ServersUpdateResponse>
|
|
1696
|
-
*/
|
|
1697
|
-
Servers.prototype.update = function (resourceGroupName, serverName, parameters, options) {
|
|
1698
|
-
return this.beginUpdate(resourceGroupName, serverName, parameters, options)
|
|
1699
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1700
|
-
};
|
|
1701
|
-
/**
|
|
1702
|
-
* Deletes a server.
|
|
1703
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1704
|
-
* @param serverName The name of the server.
|
|
1705
|
-
* @param [options] The optional parameters
|
|
1706
|
-
* @returns Promise<msRest.RestResponse>
|
|
1707
|
-
*/
|
|
1708
|
-
Servers.prototype.deleteMethod = function (resourceGroupName, serverName, options) {
|
|
1709
|
-
return this.beginDeleteMethod(resourceGroupName, serverName, options)
|
|
1710
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1711
|
-
};
|
|
1712
|
-
Servers.prototype.get = function (resourceGroupName, serverName, options, callback) {
|
|
1713
|
-
return this.client.sendOperationRequest({
|
|
1714
|
-
resourceGroupName: resourceGroupName,
|
|
1715
|
-
serverName: serverName,
|
|
1716
|
-
options: options
|
|
1717
|
-
}, getOperationSpec, callback);
|
|
1718
|
-
};
|
|
1719
|
-
Servers.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
1720
|
-
return this.client.sendOperationRequest({
|
|
1721
|
-
resourceGroupName: resourceGroupName,
|
|
1722
|
-
options: options
|
|
1723
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
1724
|
-
};
|
|
1725
|
-
Servers.prototype.list = function (options, callback) {
|
|
1726
|
-
return this.client.sendOperationRequest({
|
|
1727
|
-
options: options
|
|
1728
|
-
}, listOperationSpec, callback);
|
|
1729
|
-
};
|
|
1730
|
-
/**
|
|
1731
|
-
* Manual failover a server.
|
|
1732
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1733
|
-
* @param serverName The name of the server.
|
|
1734
|
-
* @param [options] The optional parameters
|
|
1735
|
-
* @returns Promise<msRest.RestResponse>
|
|
1736
|
-
*/
|
|
1737
|
-
Servers.prototype.failover = function (resourceGroupName, serverName, options) {
|
|
1738
|
-
return this.beginFailover(resourceGroupName, serverName, options)
|
|
1739
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1740
|
-
};
|
|
1741
|
-
/**
|
|
1742
|
-
* Restarts a server.
|
|
1743
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1744
|
-
* @param serverName The name of the server.
|
|
1745
|
-
* @param parameters The required parameters for restarting a server.
|
|
1746
|
-
* @param [options] The optional parameters
|
|
1747
|
-
* @returns Promise<msRest.RestResponse>
|
|
1748
|
-
*/
|
|
1749
|
-
Servers.prototype.restart = function (resourceGroupName, serverName, parameters, options) {
|
|
1750
|
-
return this.beginRestart(resourceGroupName, serverName, parameters, options)
|
|
1751
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1752
|
-
};
|
|
1753
|
-
/**
|
|
1754
|
-
* Starts a server.
|
|
1755
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1756
|
-
* @param serverName The name of the server.
|
|
1757
|
-
* @param [options] The optional parameters
|
|
1758
|
-
* @returns Promise<msRest.RestResponse>
|
|
1759
|
-
*/
|
|
1760
|
-
Servers.prototype.start = function (resourceGroupName, serverName, options) {
|
|
1761
|
-
return this.beginStart(resourceGroupName, serverName, options)
|
|
1762
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1763
|
-
};
|
|
1764
|
-
/**
|
|
1765
|
-
* Stops a server.
|
|
1766
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1767
|
-
* @param serverName The name of the server.
|
|
1768
|
-
* @param [options] The optional parameters
|
|
1769
|
-
* @returns Promise<msRest.RestResponse>
|
|
1770
|
-
*/
|
|
1771
|
-
Servers.prototype.stop = function (resourceGroupName, serverName, options) {
|
|
1772
|
-
return this.beginStop(resourceGroupName, serverName, options)
|
|
1773
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1774
|
-
};
|
|
1775
|
-
/**
|
|
1776
|
-
* Creates a new server or updates an existing server. The update action will overwrite the
|
|
1777
|
-
* existing server.
|
|
1778
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1779
|
-
* @param serverName The name of the server.
|
|
1780
|
-
* @param parameters The required parameters for creating or updating a server.
|
|
1781
|
-
* @param [options] The optional parameters
|
|
1782
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1783
|
-
*/
|
|
1784
|
-
Servers.prototype.beginCreate = function (resourceGroupName, serverName, parameters, options) {
|
|
1785
|
-
return this.client.sendLRORequest({
|
|
1786
|
-
resourceGroupName: resourceGroupName,
|
|
1787
|
-
serverName: serverName,
|
|
1788
|
-
parameters: parameters,
|
|
1789
|
-
options: options
|
|
1790
|
-
}, beginCreateOperationSpec, options);
|
|
1791
|
-
};
|
|
1792
|
-
/**
|
|
1793
|
-
* Updates an existing server. The request body can contain one to many of the properties present
|
|
1794
|
-
* in the normal server definition.
|
|
1795
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1796
|
-
* @param serverName The name of the server.
|
|
1797
|
-
* @param parameters The required parameters for updating a server.
|
|
1798
|
-
* @param [options] The optional parameters
|
|
1799
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1800
|
-
*/
|
|
1801
|
-
Servers.prototype.beginUpdate = function (resourceGroupName, serverName, parameters, options) {
|
|
1802
|
-
return this.client.sendLRORequest({
|
|
1803
|
-
resourceGroupName: resourceGroupName,
|
|
1804
|
-
serverName: serverName,
|
|
1805
|
-
parameters: parameters,
|
|
1806
|
-
options: options
|
|
1807
|
-
}, beginUpdateOperationSpec, options);
|
|
1808
|
-
};
|
|
1809
|
-
/**
|
|
1810
|
-
* Deletes a server.
|
|
1811
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1812
|
-
* @param serverName The name of the server.
|
|
1813
|
-
* @param [options] The optional parameters
|
|
1814
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1815
|
-
*/
|
|
1816
|
-
Servers.prototype.beginDeleteMethod = function (resourceGroupName, serverName, options) {
|
|
1817
|
-
return this.client.sendLRORequest({
|
|
1818
|
-
resourceGroupName: resourceGroupName,
|
|
1819
|
-
serverName: serverName,
|
|
1820
|
-
options: options
|
|
1821
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
1822
|
-
};
|
|
1823
|
-
/**
|
|
1824
|
-
* Manual failover a server.
|
|
1825
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1826
|
-
* @param serverName The name of the server.
|
|
1827
|
-
* @param [options] The optional parameters
|
|
1828
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1829
|
-
*/
|
|
1830
|
-
Servers.prototype.beginFailover = function (resourceGroupName, serverName, options) {
|
|
1831
|
-
return this.client.sendLRORequest({
|
|
1832
|
-
resourceGroupName: resourceGroupName,
|
|
1833
|
-
serverName: serverName,
|
|
1834
|
-
options: options
|
|
1835
|
-
}, beginFailoverOperationSpec, options);
|
|
1836
|
-
};
|
|
1837
|
-
/**
|
|
1838
|
-
* Restarts a server.
|
|
1839
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1840
|
-
* @param serverName The name of the server.
|
|
1841
|
-
* @param parameters The required parameters for restarting a server.
|
|
1842
|
-
* @param [options] The optional parameters
|
|
1843
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1844
|
-
*/
|
|
1845
|
-
Servers.prototype.beginRestart = function (resourceGroupName, serverName, parameters, options) {
|
|
1846
|
-
return this.client.sendLRORequest({
|
|
1847
|
-
resourceGroupName: resourceGroupName,
|
|
1848
|
-
serverName: serverName,
|
|
1849
|
-
parameters: parameters,
|
|
1850
|
-
options: options
|
|
1851
|
-
}, beginRestartOperationSpec, options);
|
|
1852
|
-
};
|
|
1853
|
-
/**
|
|
1854
|
-
* Starts a server.
|
|
1855
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1856
|
-
* @param serverName The name of the server.
|
|
1857
|
-
* @param [options] The optional parameters
|
|
1858
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1859
|
-
*/
|
|
1860
|
-
Servers.prototype.beginStart = function (resourceGroupName, serverName, options) {
|
|
1861
|
-
return this.client.sendLRORequest({
|
|
1862
|
-
resourceGroupName: resourceGroupName,
|
|
1863
|
-
serverName: serverName,
|
|
1864
|
-
options: options
|
|
1865
|
-
}, beginStartOperationSpec, options);
|
|
1866
|
-
};
|
|
1867
|
-
/**
|
|
1868
|
-
* Stops a server.
|
|
1869
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1870
|
-
* @param serverName The name of the server.
|
|
1871
|
-
* @param [options] The optional parameters
|
|
1872
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1873
|
-
*/
|
|
1874
|
-
Servers.prototype.beginStop = function (resourceGroupName, serverName, options) {
|
|
1875
|
-
return this.client.sendLRORequest({
|
|
1876
|
-
resourceGroupName: resourceGroupName,
|
|
1877
|
-
serverName: serverName,
|
|
1878
|
-
options: options
|
|
1879
|
-
}, beginStopOperationSpec, options);
|
|
1880
|
-
};
|
|
1881
|
-
Servers.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
1882
|
-
return this.client.sendOperationRequest({
|
|
1883
|
-
nextPageLink: nextPageLink,
|
|
1884
|
-
options: options
|
|
1885
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
1886
|
-
};
|
|
1887
|
-
Servers.prototype.listNext = function (nextPageLink, options, callback) {
|
|
1888
|
-
return this.client.sendOperationRequest({
|
|
1889
|
-
nextPageLink: nextPageLink,
|
|
1890
|
-
options: options
|
|
1891
|
-
}, listNextOperationSpec, callback);
|
|
1892
|
-
};
|
|
1893
|
-
return Servers;
|
|
1894
|
-
}());
|
|
1895
|
-
// Operation Specifications
|
|
1896
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
1897
|
-
var getOperationSpec = {
|
|
1898
|
-
httpMethod: "GET",
|
|
1899
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}",
|
|
1900
|
-
urlParameters: [
|
|
1901
|
-
subscriptionId,
|
|
1902
|
-
resourceGroupName,
|
|
1903
|
-
serverName
|
|
1904
|
-
],
|
|
1905
|
-
queryParameters: [
|
|
1906
|
-
apiVersion
|
|
1907
|
-
],
|
|
1908
|
-
headerParameters: [
|
|
1909
|
-
acceptLanguage
|
|
1910
|
-
],
|
|
1911
|
-
responses: {
|
|
1912
|
-
200: {
|
|
1913
|
-
bodyMapper: Server
|
|
1914
|
-
},
|
|
1915
|
-
default: {
|
|
1916
|
-
bodyMapper: CloudError
|
|
1917
|
-
}
|
|
1918
|
-
},
|
|
1919
|
-
serializer: serializer
|
|
1920
|
-
};
|
|
1921
|
-
var listByResourceGroupOperationSpec = {
|
|
1922
|
-
httpMethod: "GET",
|
|
1923
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers",
|
|
1924
|
-
urlParameters: [
|
|
1925
|
-
subscriptionId,
|
|
1926
|
-
resourceGroupName
|
|
1927
|
-
],
|
|
1928
|
-
queryParameters: [
|
|
1929
|
-
apiVersion
|
|
1930
|
-
],
|
|
1931
|
-
headerParameters: [
|
|
1932
|
-
acceptLanguage
|
|
1933
|
-
],
|
|
1934
|
-
responses: {
|
|
1935
|
-
200: {
|
|
1936
|
-
bodyMapper: ServerListResult
|
|
1937
|
-
},
|
|
1938
|
-
default: {
|
|
1939
|
-
bodyMapper: CloudError
|
|
1940
|
-
}
|
|
1941
|
-
},
|
|
1942
|
-
serializer: serializer
|
|
1943
|
-
};
|
|
1944
|
-
var listOperationSpec = {
|
|
1945
|
-
httpMethod: "GET",
|
|
1946
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/flexibleServers",
|
|
1947
|
-
urlParameters: [
|
|
1948
|
-
subscriptionId
|
|
1949
|
-
],
|
|
1950
|
-
queryParameters: [
|
|
1951
|
-
apiVersion
|
|
1952
|
-
],
|
|
1953
|
-
headerParameters: [
|
|
1954
|
-
acceptLanguage
|
|
1955
|
-
],
|
|
1956
|
-
responses: {
|
|
1957
|
-
200: {
|
|
1958
|
-
bodyMapper: ServerListResult
|
|
1959
|
-
},
|
|
1960
|
-
default: {
|
|
1961
|
-
bodyMapper: CloudError
|
|
1962
|
-
}
|
|
1963
|
-
},
|
|
1964
|
-
serializer: serializer
|
|
1965
|
-
};
|
|
1966
|
-
var beginCreateOperationSpec = {
|
|
1967
|
-
httpMethod: "PUT",
|
|
1968
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}",
|
|
1969
|
-
urlParameters: [
|
|
1970
|
-
subscriptionId,
|
|
1971
|
-
resourceGroupName,
|
|
1972
|
-
serverName
|
|
1973
|
-
],
|
|
1974
|
-
queryParameters: [
|
|
1975
|
-
apiVersion
|
|
1976
|
-
],
|
|
1977
|
-
headerParameters: [
|
|
1978
|
-
acceptLanguage
|
|
1979
|
-
],
|
|
1980
|
-
requestBody: {
|
|
1981
|
-
parameterPath: "parameters",
|
|
1982
|
-
mapper: __assign(__assign({}, Server), { required: true })
|
|
1983
|
-
},
|
|
1984
|
-
responses: {
|
|
1985
|
-
200: {
|
|
1986
|
-
bodyMapper: Server
|
|
1987
|
-
},
|
|
1988
|
-
201: {
|
|
1989
|
-
bodyMapper: Server
|
|
1990
|
-
},
|
|
1991
|
-
202: {},
|
|
1992
|
-
default: {
|
|
1993
|
-
bodyMapper: CloudError
|
|
1994
|
-
}
|
|
1995
|
-
},
|
|
1996
|
-
serializer: serializer
|
|
1997
|
-
};
|
|
1998
|
-
var beginUpdateOperationSpec = {
|
|
1999
|
-
httpMethod: "PATCH",
|
|
2000
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}",
|
|
2001
|
-
urlParameters: [
|
|
2002
|
-
subscriptionId,
|
|
2003
|
-
resourceGroupName,
|
|
2004
|
-
serverName
|
|
2005
|
-
],
|
|
2006
|
-
queryParameters: [
|
|
2007
|
-
apiVersion
|
|
2008
|
-
],
|
|
2009
|
-
headerParameters: [
|
|
2010
|
-
acceptLanguage
|
|
2011
|
-
],
|
|
2012
|
-
requestBody: {
|
|
2013
|
-
parameterPath: "parameters",
|
|
2014
|
-
mapper: __assign(__assign({}, ServerForUpdate), { required: true })
|
|
2015
|
-
},
|
|
2016
|
-
responses: {
|
|
2017
|
-
200: {
|
|
2018
|
-
bodyMapper: Server
|
|
2019
|
-
},
|
|
2020
|
-
202: {},
|
|
2021
|
-
default: {
|
|
2022
|
-
bodyMapper: CloudError
|
|
2023
|
-
}
|
|
2024
|
-
},
|
|
2025
|
-
serializer: serializer
|
|
2026
|
-
};
|
|
2027
|
-
var beginDeleteMethodOperationSpec = {
|
|
2028
|
-
httpMethod: "DELETE",
|
|
2029
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}",
|
|
2030
|
-
urlParameters: [
|
|
2031
|
-
subscriptionId,
|
|
2032
|
-
resourceGroupName,
|
|
2033
|
-
serverName
|
|
2034
|
-
],
|
|
2035
|
-
queryParameters: [
|
|
2036
|
-
apiVersion
|
|
2037
|
-
],
|
|
2038
|
-
headerParameters: [
|
|
2039
|
-
acceptLanguage
|
|
2040
|
-
],
|
|
2041
|
-
responses: {
|
|
2042
|
-
200: {},
|
|
2043
|
-
202: {},
|
|
2044
|
-
204: {},
|
|
2045
|
-
default: {
|
|
2046
|
-
bodyMapper: CloudError
|
|
2047
|
-
}
|
|
2048
|
-
},
|
|
2049
|
-
serializer: serializer
|
|
2050
|
-
};
|
|
2051
|
-
var beginFailoverOperationSpec = {
|
|
2052
|
-
httpMethod: "POST",
|
|
2053
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/failover",
|
|
2054
|
-
urlParameters: [
|
|
2055
|
-
subscriptionId,
|
|
2056
|
-
resourceGroupName,
|
|
2057
|
-
serverName
|
|
2058
|
-
],
|
|
2059
|
-
queryParameters: [
|
|
2060
|
-
apiVersion
|
|
2061
|
-
],
|
|
2062
|
-
headerParameters: [
|
|
2063
|
-
acceptLanguage
|
|
2064
|
-
],
|
|
2065
|
-
responses: {
|
|
2066
|
-
200: {},
|
|
2067
|
-
202: {},
|
|
2068
|
-
default: {
|
|
2069
|
-
bodyMapper: CloudError
|
|
2070
|
-
}
|
|
2071
|
-
},
|
|
2072
|
-
serializer: serializer
|
|
2073
|
-
};
|
|
2074
|
-
var beginRestartOperationSpec = {
|
|
2075
|
-
httpMethod: "POST",
|
|
2076
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/restart",
|
|
2077
|
-
urlParameters: [
|
|
2078
|
-
subscriptionId,
|
|
2079
|
-
resourceGroupName,
|
|
2080
|
-
serverName
|
|
2081
|
-
],
|
|
2082
|
-
queryParameters: [
|
|
2083
|
-
apiVersion
|
|
2084
|
-
],
|
|
2085
|
-
headerParameters: [
|
|
2086
|
-
acceptLanguage
|
|
2087
|
-
],
|
|
2088
|
-
requestBody: {
|
|
2089
|
-
parameterPath: "parameters",
|
|
2090
|
-
mapper: __assign(__assign({}, ServerRestartParameter), { required: true })
|
|
2091
|
-
},
|
|
2092
|
-
responses: {
|
|
2093
|
-
200: {},
|
|
2094
|
-
202: {},
|
|
2095
|
-
default: {
|
|
2096
|
-
bodyMapper: CloudError
|
|
2097
|
-
}
|
|
2098
|
-
},
|
|
2099
|
-
serializer: serializer
|
|
2100
|
-
};
|
|
2101
|
-
var beginStartOperationSpec = {
|
|
2102
|
-
httpMethod: "POST",
|
|
2103
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/start",
|
|
2104
|
-
urlParameters: [
|
|
2105
|
-
subscriptionId,
|
|
2106
|
-
resourceGroupName,
|
|
2107
|
-
serverName
|
|
2108
|
-
],
|
|
2109
|
-
queryParameters: [
|
|
2110
|
-
apiVersion
|
|
2111
|
-
],
|
|
2112
|
-
headerParameters: [
|
|
2113
|
-
acceptLanguage
|
|
2114
|
-
],
|
|
2115
|
-
responses: {
|
|
2116
|
-
200: {},
|
|
2117
|
-
202: {},
|
|
2118
|
-
default: {
|
|
2119
|
-
bodyMapper: CloudError
|
|
2120
|
-
}
|
|
2121
|
-
},
|
|
2122
|
-
serializer: serializer
|
|
2123
|
-
};
|
|
2124
|
-
var beginStopOperationSpec = {
|
|
2125
|
-
httpMethod: "POST",
|
|
2126
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/stop",
|
|
2127
|
-
urlParameters: [
|
|
2128
|
-
subscriptionId,
|
|
2129
|
-
resourceGroupName,
|
|
2130
|
-
serverName
|
|
2131
|
-
],
|
|
2132
|
-
queryParameters: [
|
|
2133
|
-
apiVersion
|
|
2134
|
-
],
|
|
2135
|
-
headerParameters: [
|
|
2136
|
-
acceptLanguage
|
|
2137
|
-
],
|
|
2138
|
-
responses: {
|
|
2139
|
-
200: {},
|
|
2140
|
-
202: {},
|
|
2141
|
-
default: {
|
|
2142
|
-
bodyMapper: CloudError
|
|
2143
|
-
}
|
|
2144
|
-
},
|
|
2145
|
-
serializer: serializer
|
|
2146
|
-
};
|
|
2147
|
-
var listByResourceGroupNextOperationSpec = {
|
|
2148
|
-
httpMethod: "GET",
|
|
2149
|
-
baseUrl: "https://management.azure.com",
|
|
2150
|
-
path: "{nextLink}",
|
|
2151
|
-
urlParameters: [
|
|
2152
|
-
nextPageLink
|
|
2153
|
-
],
|
|
2154
|
-
queryParameters: [
|
|
2155
|
-
apiVersion
|
|
2156
|
-
],
|
|
2157
|
-
headerParameters: [
|
|
2158
|
-
acceptLanguage
|
|
2159
|
-
],
|
|
2160
|
-
responses: {
|
|
2161
|
-
200: {
|
|
2162
|
-
bodyMapper: ServerListResult
|
|
2163
|
-
},
|
|
2164
|
-
default: {
|
|
2165
|
-
bodyMapper: CloudError
|
|
2166
|
-
}
|
|
2167
|
-
},
|
|
2168
|
-
serializer: serializer
|
|
2169
|
-
};
|
|
2170
|
-
var listNextOperationSpec = {
|
|
2171
|
-
httpMethod: "GET",
|
|
2172
|
-
baseUrl: "https://management.azure.com",
|
|
2173
|
-
path: "{nextLink}",
|
|
2174
|
-
urlParameters: [
|
|
2175
|
-
nextPageLink
|
|
2176
|
-
],
|
|
2177
|
-
queryParameters: [
|
|
2178
|
-
apiVersion
|
|
2179
|
-
],
|
|
2180
|
-
headerParameters: [
|
|
2181
|
-
acceptLanguage
|
|
2182
|
-
],
|
|
2183
|
-
responses: {
|
|
2184
|
-
200: {
|
|
2185
|
-
bodyMapper: ServerListResult
|
|
2186
|
-
},
|
|
2187
|
-
default: {
|
|
2188
|
-
bodyMapper: CloudError
|
|
2189
|
-
}
|
|
2190
|
-
},
|
|
2191
|
-
serializer: serializer
|
|
2192
|
-
};
|
|
2193
|
-
|
|
2194
|
-
/*
|
|
2195
|
-
* Copyright (c) Microsoft Corporation.
|
|
2196
|
-
* Licensed under the MIT License.
|
|
2197
|
-
*
|
|
2198
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2199
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2200
|
-
*/
|
|
2201
|
-
|
|
2202
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
2203
|
-
__proto__: null,
|
|
2204
|
-
AzureEntityResource: AzureEntityResource,
|
|
2205
|
-
Backup: Backup,
|
|
2206
|
-
BaseResource: BaseResource,
|
|
2207
|
-
CloudError: CloudError,
|
|
2208
|
-
Configuration: Configuration,
|
|
2209
|
-
Database: Database,
|
|
2210
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
2211
|
-
ErrorResponse: ErrorResponse,
|
|
2212
|
-
FirewallRule: FirewallRule,
|
|
2213
|
-
HighAvailability: HighAvailability,
|
|
2214
|
-
MaintenanceWindow: MaintenanceWindow,
|
|
2215
|
-
Network: Network,
|
|
2216
|
-
ProxyResource: ProxyResource,
|
|
2217
|
-
Resource: Resource,
|
|
2218
|
-
Server: Server,
|
|
2219
|
-
ServerBackup: ServerBackup,
|
|
2220
|
-
ServerListResult: ServerListResult,
|
|
2221
|
-
Sku: Sku,
|
|
2222
|
-
Storage: Storage,
|
|
2223
|
-
SystemData: SystemData,
|
|
2224
|
-
TrackedResource: TrackedResource
|
|
2225
|
-
});
|
|
2226
|
-
|
|
2227
|
-
/*
|
|
2228
|
-
* Copyright (c) Microsoft Corporation.
|
|
2229
|
-
* Licensed under the MIT License.
|
|
2230
|
-
*
|
|
2231
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2232
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2233
|
-
* regenerated.
|
|
2234
|
-
*/
|
|
2235
|
-
/** Class representing a Replicas. */
|
|
2236
|
-
var Replicas = /** @class */ (function () {
|
|
2237
|
-
/**
|
|
2238
|
-
* Create a Replicas.
|
|
2239
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
2240
|
-
*/
|
|
2241
|
-
function Replicas(client) {
|
|
2242
|
-
this.client = client;
|
|
2243
|
-
}
|
|
2244
|
-
Replicas.prototype.listByServer = function (resourceGroupName, serverName, options, callback) {
|
|
2245
|
-
return this.client.sendOperationRequest({
|
|
2246
|
-
resourceGroupName: resourceGroupName,
|
|
2247
|
-
serverName: serverName,
|
|
2248
|
-
options: options
|
|
2249
|
-
}, listByServerOperationSpec, callback);
|
|
2250
|
-
};
|
|
2251
|
-
Replicas.prototype.listByServerNext = function (nextPageLink, options, callback) {
|
|
2252
|
-
return this.client.sendOperationRequest({
|
|
2253
|
-
nextPageLink: nextPageLink,
|
|
2254
|
-
options: options
|
|
2255
|
-
}, listByServerNextOperationSpec, callback);
|
|
2256
|
-
};
|
|
2257
|
-
return Replicas;
|
|
2258
|
-
}());
|
|
2259
|
-
// Operation Specifications
|
|
2260
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
2261
|
-
var listByServerOperationSpec = {
|
|
2262
|
-
httpMethod: "GET",
|
|
2263
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/replicas",
|
|
2264
|
-
urlParameters: [
|
|
2265
|
-
subscriptionId,
|
|
2266
|
-
resourceGroupName,
|
|
2267
|
-
serverName
|
|
2268
|
-
],
|
|
2269
|
-
queryParameters: [
|
|
2270
|
-
apiVersion
|
|
2271
|
-
],
|
|
2272
|
-
headerParameters: [
|
|
2273
|
-
acceptLanguage
|
|
2274
|
-
],
|
|
2275
|
-
responses: {
|
|
2276
|
-
200: {
|
|
2277
|
-
bodyMapper: ServerListResult
|
|
2278
|
-
},
|
|
2279
|
-
default: {
|
|
2280
|
-
bodyMapper: CloudError
|
|
2281
|
-
}
|
|
2282
|
-
},
|
|
2283
|
-
serializer: serializer$1
|
|
2284
|
-
};
|
|
2285
|
-
var listByServerNextOperationSpec = {
|
|
2286
|
-
httpMethod: "GET",
|
|
2287
|
-
baseUrl: "https://management.azure.com",
|
|
2288
|
-
path: "{nextLink}",
|
|
2289
|
-
urlParameters: [
|
|
2290
|
-
nextPageLink
|
|
2291
|
-
],
|
|
2292
|
-
queryParameters: [
|
|
2293
|
-
apiVersion
|
|
2294
|
-
],
|
|
2295
|
-
headerParameters: [
|
|
2296
|
-
acceptLanguage
|
|
2297
|
-
],
|
|
2298
|
-
responses: {
|
|
2299
|
-
200: {
|
|
2300
|
-
bodyMapper: ServerListResult
|
|
2301
|
-
},
|
|
2302
|
-
default: {
|
|
2303
|
-
bodyMapper: CloudError
|
|
2304
|
-
}
|
|
2305
|
-
},
|
|
2306
|
-
serializer: serializer$1
|
|
2307
|
-
};
|
|
2308
|
-
|
|
2309
|
-
/*
|
|
2310
|
-
* Copyright (c) Microsoft Corporation.
|
|
2311
|
-
* Licensed under the MIT License.
|
|
2312
|
-
*
|
|
2313
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2314
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2315
|
-
*/
|
|
2316
|
-
|
|
2317
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
2318
|
-
__proto__: null,
|
|
2319
|
-
AzureEntityResource: AzureEntityResource,
|
|
2320
|
-
Backup: Backup,
|
|
2321
|
-
BaseResource: BaseResource,
|
|
2322
|
-
CloudError: CloudError,
|
|
2323
|
-
Configuration: Configuration,
|
|
2324
|
-
Database: Database,
|
|
2325
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
2326
|
-
ErrorResponse: ErrorResponse,
|
|
2327
|
-
FirewallRule: FirewallRule,
|
|
2328
|
-
HighAvailability: HighAvailability,
|
|
2329
|
-
MaintenanceWindow: MaintenanceWindow,
|
|
2330
|
-
Network: Network,
|
|
2331
|
-
ProxyResource: ProxyResource,
|
|
2332
|
-
Resource: Resource,
|
|
2333
|
-
Server: Server,
|
|
2334
|
-
ServerBackup: ServerBackup,
|
|
2335
|
-
ServerBackupListResult: ServerBackupListResult,
|
|
2336
|
-
Sku: Sku,
|
|
2337
|
-
Storage: Storage,
|
|
2338
|
-
SystemData: SystemData,
|
|
2339
|
-
TrackedResource: TrackedResource
|
|
2340
|
-
});
|
|
2341
|
-
|
|
2342
|
-
/*
|
|
2343
|
-
* Copyright (c) Microsoft Corporation.
|
|
2344
|
-
* Licensed under the MIT License.
|
|
2345
|
-
*
|
|
2346
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2347
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2348
|
-
* regenerated.
|
|
2349
|
-
*/
|
|
2350
|
-
/** Class representing a Backups. */
|
|
2351
|
-
var Backups = /** @class */ (function () {
|
|
2352
|
-
/**
|
|
2353
|
-
* Create a Backups.
|
|
2354
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
2355
|
-
*/
|
|
2356
|
-
function Backups(client) {
|
|
2357
|
-
this.client = client;
|
|
2358
|
-
}
|
|
2359
|
-
Backups.prototype.get = function (resourceGroupName, serverName, backupName, options, callback) {
|
|
2360
|
-
return this.client.sendOperationRequest({
|
|
2361
|
-
resourceGroupName: resourceGroupName,
|
|
2362
|
-
serverName: serverName,
|
|
2363
|
-
backupName: backupName,
|
|
2364
|
-
options: options
|
|
2365
|
-
}, getOperationSpec$1, callback);
|
|
2366
|
-
};
|
|
2367
|
-
Backups.prototype.listByServer = function (resourceGroupName, serverName, options, callback) {
|
|
2368
|
-
return this.client.sendOperationRequest({
|
|
2369
|
-
resourceGroupName: resourceGroupName,
|
|
2370
|
-
serverName: serverName,
|
|
2371
|
-
options: options
|
|
2372
|
-
}, listByServerOperationSpec$1, callback);
|
|
2373
|
-
};
|
|
2374
|
-
Backups.prototype.listByServerNext = function (nextPageLink, options, callback) {
|
|
2375
|
-
return this.client.sendOperationRequest({
|
|
2376
|
-
nextPageLink: nextPageLink,
|
|
2377
|
-
options: options
|
|
2378
|
-
}, listByServerNextOperationSpec$1, callback);
|
|
2379
|
-
};
|
|
2380
|
-
return Backups;
|
|
2381
|
-
}());
|
|
2382
|
-
// Operation Specifications
|
|
2383
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
|
2384
|
-
var getOperationSpec$1 = {
|
|
2385
|
-
httpMethod: "GET",
|
|
2386
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups/{backupName}",
|
|
2387
|
-
urlParameters: [
|
|
2388
|
-
subscriptionId,
|
|
2389
|
-
resourceGroupName,
|
|
2390
|
-
serverName,
|
|
2391
|
-
backupName
|
|
2392
|
-
],
|
|
2393
|
-
queryParameters: [
|
|
2394
|
-
apiVersion
|
|
2395
|
-
],
|
|
2396
|
-
headerParameters: [
|
|
2397
|
-
acceptLanguage
|
|
2398
|
-
],
|
|
2399
|
-
responses: {
|
|
2400
|
-
200: {
|
|
2401
|
-
bodyMapper: ServerBackup
|
|
2402
|
-
},
|
|
2403
|
-
default: {
|
|
2404
|
-
bodyMapper: CloudError
|
|
2405
|
-
}
|
|
2406
|
-
},
|
|
2407
|
-
serializer: serializer$2
|
|
2408
|
-
};
|
|
2409
|
-
var listByServerOperationSpec$1 = {
|
|
2410
|
-
httpMethod: "GET",
|
|
2411
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups",
|
|
2412
|
-
urlParameters: [
|
|
2413
|
-
subscriptionId,
|
|
2414
|
-
resourceGroupName,
|
|
2415
|
-
serverName
|
|
2416
|
-
],
|
|
2417
|
-
queryParameters: [
|
|
2418
|
-
apiVersion
|
|
2419
|
-
],
|
|
2420
|
-
headerParameters: [
|
|
2421
|
-
acceptLanguage
|
|
2422
|
-
],
|
|
2423
|
-
responses: {
|
|
2424
|
-
200: {
|
|
2425
|
-
bodyMapper: ServerBackupListResult
|
|
2426
|
-
},
|
|
2427
|
-
default: {
|
|
2428
|
-
bodyMapper: CloudError
|
|
2429
|
-
}
|
|
2430
|
-
},
|
|
2431
|
-
serializer: serializer$2
|
|
2432
|
-
};
|
|
2433
|
-
var listByServerNextOperationSpec$1 = {
|
|
2434
|
-
httpMethod: "GET",
|
|
2435
|
-
baseUrl: "https://management.azure.com",
|
|
2436
|
-
path: "{nextLink}",
|
|
2437
|
-
urlParameters: [
|
|
2438
|
-
nextPageLink
|
|
2439
|
-
],
|
|
2440
|
-
queryParameters: [
|
|
2441
|
-
apiVersion
|
|
2442
|
-
],
|
|
2443
|
-
headerParameters: [
|
|
2444
|
-
acceptLanguage
|
|
2445
|
-
],
|
|
2446
|
-
responses: {
|
|
2447
|
-
200: {
|
|
2448
|
-
bodyMapper: ServerBackupListResult
|
|
2449
|
-
},
|
|
2450
|
-
default: {
|
|
2451
|
-
bodyMapper: CloudError
|
|
2452
|
-
}
|
|
2453
|
-
},
|
|
2454
|
-
serializer: serializer$2
|
|
2455
|
-
};
|
|
2456
|
-
|
|
2457
|
-
/*
|
|
2458
|
-
* Copyright (c) Microsoft Corporation.
|
|
2459
|
-
* Licensed under the MIT License.
|
|
2460
|
-
*
|
|
2461
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2462
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2463
|
-
*/
|
|
2464
|
-
|
|
2465
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
|
2466
|
-
__proto__: null,
|
|
2467
|
-
AzureEntityResource: AzureEntityResource,
|
|
2468
|
-
Backup: Backup,
|
|
2469
|
-
BaseResource: BaseResource,
|
|
2470
|
-
CloudError: CloudError,
|
|
2471
|
-
Configuration: Configuration,
|
|
2472
|
-
Database: Database,
|
|
2473
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
2474
|
-
ErrorResponse: ErrorResponse,
|
|
2475
|
-
FirewallRule: FirewallRule,
|
|
2476
|
-
FirewallRuleListResult: FirewallRuleListResult,
|
|
2477
|
-
HighAvailability: HighAvailability,
|
|
2478
|
-
MaintenanceWindow: MaintenanceWindow,
|
|
2479
|
-
Network: Network,
|
|
2480
|
-
ProxyResource: ProxyResource,
|
|
2481
|
-
Resource: Resource,
|
|
2482
|
-
Server: Server,
|
|
2483
|
-
ServerBackup: ServerBackup,
|
|
2484
|
-
Sku: Sku,
|
|
2485
|
-
Storage: Storage,
|
|
2486
|
-
SystemData: SystemData,
|
|
2487
|
-
TrackedResource: TrackedResource
|
|
2488
|
-
});
|
|
2489
|
-
|
|
2490
|
-
/*
|
|
2491
|
-
* Copyright (c) Microsoft Corporation.
|
|
2492
|
-
* Licensed under the MIT License.
|
|
2493
|
-
*
|
|
2494
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2495
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2496
|
-
* regenerated.
|
|
2497
|
-
*/
|
|
2498
|
-
/** Class representing a FirewallRules. */
|
|
2499
|
-
var FirewallRules = /** @class */ (function () {
|
|
2500
|
-
/**
|
|
2501
|
-
* Create a FirewallRules.
|
|
2502
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
2503
|
-
*/
|
|
2504
|
-
function FirewallRules(client) {
|
|
2505
|
-
this.client = client;
|
|
2506
|
-
}
|
|
2507
|
-
/**
|
|
2508
|
-
* Creates a new firewall rule or updates an existing firewall rule.
|
|
2509
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2510
|
-
* @param serverName The name of the server.
|
|
2511
|
-
* @param firewallRuleName The name of the server firewall rule.
|
|
2512
|
-
* @param parameters The required parameters for creating or updating a firewall rule.
|
|
2513
|
-
* @param [options] The optional parameters
|
|
2514
|
-
* @returns Promise<Models.FirewallRulesCreateOrUpdateResponse>
|
|
2515
|
-
*/
|
|
2516
|
-
FirewallRules.prototype.createOrUpdate = function (resourceGroupName, serverName, firewallRuleName, parameters, options) {
|
|
2517
|
-
return this.beginCreateOrUpdate(resourceGroupName, serverName, firewallRuleName, parameters, options)
|
|
2518
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2519
|
-
};
|
|
2520
|
-
/**
|
|
2521
|
-
* Deletes a firewall rule.
|
|
2522
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2523
|
-
* @param serverName The name of the server.
|
|
2524
|
-
* @param firewallRuleName The name of the server firewall rule.
|
|
2525
|
-
* @param [options] The optional parameters
|
|
2526
|
-
* @returns Promise<msRest.RestResponse>
|
|
2527
|
-
*/
|
|
2528
|
-
FirewallRules.prototype.deleteMethod = function (resourceGroupName, serverName, firewallRuleName, options) {
|
|
2529
|
-
return this.beginDeleteMethod(resourceGroupName, serverName, firewallRuleName, options)
|
|
2530
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2531
|
-
};
|
|
2532
|
-
FirewallRules.prototype.get = function (resourceGroupName, serverName, firewallRuleName, options, callback) {
|
|
2533
|
-
return this.client.sendOperationRequest({
|
|
2534
|
-
resourceGroupName: resourceGroupName,
|
|
2535
|
-
serverName: serverName,
|
|
2536
|
-
firewallRuleName: firewallRuleName,
|
|
2537
|
-
options: options
|
|
2538
|
-
}, getOperationSpec$2, callback);
|
|
2539
|
-
};
|
|
2540
|
-
FirewallRules.prototype.listByServer = function (resourceGroupName, serverName, options, callback) {
|
|
2541
|
-
return this.client.sendOperationRequest({
|
|
2542
|
-
resourceGroupName: resourceGroupName,
|
|
2543
|
-
serverName: serverName,
|
|
2544
|
-
options: options
|
|
2545
|
-
}, listByServerOperationSpec$2, callback);
|
|
2546
|
-
};
|
|
2547
|
-
/**
|
|
2548
|
-
* Creates a new firewall rule or updates an existing firewall rule.
|
|
2549
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2550
|
-
* @param serverName The name of the server.
|
|
2551
|
-
* @param firewallRuleName The name of the server firewall rule.
|
|
2552
|
-
* @param parameters The required parameters for creating or updating a firewall rule.
|
|
2553
|
-
* @param [options] The optional parameters
|
|
2554
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2555
|
-
*/
|
|
2556
|
-
FirewallRules.prototype.beginCreateOrUpdate = function (resourceGroupName, serverName, firewallRuleName, parameters, options) {
|
|
2557
|
-
return this.client.sendLRORequest({
|
|
2558
|
-
resourceGroupName: resourceGroupName,
|
|
2559
|
-
serverName: serverName,
|
|
2560
|
-
firewallRuleName: firewallRuleName,
|
|
2561
|
-
parameters: parameters,
|
|
2562
|
-
options: options
|
|
2563
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
2564
|
-
};
|
|
2565
|
-
/**
|
|
2566
|
-
* Deletes a firewall rule.
|
|
2567
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2568
|
-
* @param serverName The name of the server.
|
|
2569
|
-
* @param firewallRuleName The name of the server firewall rule.
|
|
2570
|
-
* @param [options] The optional parameters
|
|
2571
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2572
|
-
*/
|
|
2573
|
-
FirewallRules.prototype.beginDeleteMethod = function (resourceGroupName, serverName, firewallRuleName, options) {
|
|
2574
|
-
return this.client.sendLRORequest({
|
|
2575
|
-
resourceGroupName: resourceGroupName,
|
|
2576
|
-
serverName: serverName,
|
|
2577
|
-
firewallRuleName: firewallRuleName,
|
|
2578
|
-
options: options
|
|
2579
|
-
}, beginDeleteMethodOperationSpec$1, options);
|
|
2580
|
-
};
|
|
2581
|
-
FirewallRules.prototype.listByServerNext = function (nextPageLink, options, callback) {
|
|
2582
|
-
return this.client.sendOperationRequest({
|
|
2583
|
-
nextPageLink: nextPageLink,
|
|
2584
|
-
options: options
|
|
2585
|
-
}, listByServerNextOperationSpec$2, callback);
|
|
2586
|
-
};
|
|
2587
|
-
return FirewallRules;
|
|
2588
|
-
}());
|
|
2589
|
-
// Operation Specifications
|
|
2590
|
-
var serializer$3 = new msRest.Serializer(Mappers$3);
|
|
2591
|
-
var getOperationSpec$2 = {
|
|
2592
|
-
httpMethod: "GET",
|
|
2593
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}",
|
|
2594
|
-
urlParameters: [
|
|
2595
|
-
subscriptionId,
|
|
2596
|
-
resourceGroupName,
|
|
2597
|
-
serverName,
|
|
2598
|
-
firewallRuleName
|
|
2599
|
-
],
|
|
2600
|
-
queryParameters: [
|
|
2601
|
-
apiVersion
|
|
2602
|
-
],
|
|
2603
|
-
headerParameters: [
|
|
2604
|
-
acceptLanguage
|
|
2605
|
-
],
|
|
2606
|
-
responses: {
|
|
2607
|
-
200: {
|
|
2608
|
-
bodyMapper: FirewallRule
|
|
2609
|
-
},
|
|
2610
|
-
default: {
|
|
2611
|
-
bodyMapper: CloudError
|
|
2612
|
-
}
|
|
2613
|
-
},
|
|
2614
|
-
serializer: serializer$3
|
|
2615
|
-
};
|
|
2616
|
-
var listByServerOperationSpec$2 = {
|
|
2617
|
-
httpMethod: "GET",
|
|
2618
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/firewallRules",
|
|
2619
|
-
urlParameters: [
|
|
2620
|
-
subscriptionId,
|
|
2621
|
-
resourceGroupName,
|
|
2622
|
-
serverName
|
|
2623
|
-
],
|
|
2624
|
-
queryParameters: [
|
|
2625
|
-
apiVersion
|
|
2626
|
-
],
|
|
2627
|
-
headerParameters: [
|
|
2628
|
-
acceptLanguage
|
|
2629
|
-
],
|
|
2630
|
-
responses: {
|
|
2631
|
-
200: {
|
|
2632
|
-
bodyMapper: FirewallRuleListResult
|
|
2633
|
-
},
|
|
2634
|
-
default: {
|
|
2635
|
-
bodyMapper: CloudError
|
|
2636
|
-
}
|
|
2637
|
-
},
|
|
2638
|
-
serializer: serializer$3
|
|
2639
|
-
};
|
|
2640
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
2641
|
-
httpMethod: "PUT",
|
|
2642
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}",
|
|
2643
|
-
urlParameters: [
|
|
2644
|
-
subscriptionId,
|
|
2645
|
-
resourceGroupName,
|
|
2646
|
-
serverName,
|
|
2647
|
-
firewallRuleName
|
|
2648
|
-
],
|
|
2649
|
-
queryParameters: [
|
|
2650
|
-
apiVersion
|
|
2651
|
-
],
|
|
2652
|
-
headerParameters: [
|
|
2653
|
-
acceptLanguage
|
|
2654
|
-
],
|
|
2655
|
-
requestBody: {
|
|
2656
|
-
parameterPath: "parameters",
|
|
2657
|
-
mapper: __assign(__assign({}, FirewallRule), { required: true })
|
|
2658
|
-
},
|
|
2659
|
-
responses: {
|
|
2660
|
-
200: {
|
|
2661
|
-
bodyMapper: FirewallRule
|
|
2662
|
-
},
|
|
2663
|
-
201: {
|
|
2664
|
-
bodyMapper: FirewallRule
|
|
2665
|
-
},
|
|
2666
|
-
202: {},
|
|
2667
|
-
default: {
|
|
2668
|
-
bodyMapper: CloudError
|
|
2669
|
-
}
|
|
2670
|
-
},
|
|
2671
|
-
serializer: serializer$3
|
|
2672
|
-
};
|
|
2673
|
-
var beginDeleteMethodOperationSpec$1 = {
|
|
2674
|
-
httpMethod: "DELETE",
|
|
2675
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}",
|
|
2676
|
-
urlParameters: [
|
|
2677
|
-
subscriptionId,
|
|
2678
|
-
resourceGroupName,
|
|
2679
|
-
serverName,
|
|
2680
|
-
firewallRuleName
|
|
2681
|
-
],
|
|
2682
|
-
queryParameters: [
|
|
2683
|
-
apiVersion
|
|
2684
|
-
],
|
|
2685
|
-
headerParameters: [
|
|
2686
|
-
acceptLanguage
|
|
2687
|
-
],
|
|
2688
|
-
responses: {
|
|
2689
|
-
200: {},
|
|
2690
|
-
202: {},
|
|
2691
|
-
204: {},
|
|
2692
|
-
default: {
|
|
2693
|
-
bodyMapper: CloudError
|
|
2694
|
-
}
|
|
2695
|
-
},
|
|
2696
|
-
serializer: serializer$3
|
|
2697
|
-
};
|
|
2698
|
-
var listByServerNextOperationSpec$2 = {
|
|
2699
|
-
httpMethod: "GET",
|
|
2700
|
-
baseUrl: "https://management.azure.com",
|
|
2701
|
-
path: "{nextLink}",
|
|
2702
|
-
urlParameters: [
|
|
2703
|
-
nextPageLink
|
|
2704
|
-
],
|
|
2705
|
-
queryParameters: [
|
|
2706
|
-
apiVersion
|
|
2707
|
-
],
|
|
2708
|
-
headerParameters: [
|
|
2709
|
-
acceptLanguage
|
|
2710
|
-
],
|
|
2711
|
-
responses: {
|
|
2712
|
-
200: {
|
|
2713
|
-
bodyMapper: FirewallRuleListResult
|
|
2714
|
-
},
|
|
2715
|
-
default: {
|
|
2716
|
-
bodyMapper: CloudError
|
|
2717
|
-
}
|
|
2718
|
-
},
|
|
2719
|
-
serializer: serializer$3
|
|
2720
|
-
};
|
|
2721
|
-
|
|
2722
|
-
/*
|
|
2723
|
-
* Copyright (c) Microsoft Corporation.
|
|
2724
|
-
* Licensed under the MIT License.
|
|
2725
|
-
*
|
|
2726
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2727
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2728
|
-
*/
|
|
2729
|
-
|
|
2730
|
-
var Mappers$4 = /*#__PURE__*/Object.freeze({
|
|
2731
|
-
__proto__: null,
|
|
2732
|
-
AzureEntityResource: AzureEntityResource,
|
|
2733
|
-
Backup: Backup,
|
|
2734
|
-
BaseResource: BaseResource,
|
|
2735
|
-
CloudError: CloudError,
|
|
2736
|
-
Configuration: Configuration,
|
|
2737
|
-
Database: Database,
|
|
2738
|
-
DatabaseListResult: DatabaseListResult,
|
|
2739
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
2740
|
-
ErrorResponse: ErrorResponse,
|
|
2741
|
-
FirewallRule: FirewallRule,
|
|
2742
|
-
HighAvailability: HighAvailability,
|
|
2743
|
-
MaintenanceWindow: MaintenanceWindow,
|
|
2744
|
-
Network: Network,
|
|
2745
|
-
ProxyResource: ProxyResource,
|
|
2746
|
-
Resource: Resource,
|
|
2747
|
-
Server: Server,
|
|
2748
|
-
ServerBackup: ServerBackup,
|
|
2749
|
-
Sku: Sku,
|
|
2750
|
-
Storage: Storage,
|
|
2751
|
-
SystemData: SystemData,
|
|
2752
|
-
TrackedResource: TrackedResource
|
|
2753
|
-
});
|
|
2754
|
-
|
|
2755
|
-
/*
|
|
2756
|
-
* Copyright (c) Microsoft Corporation.
|
|
2757
|
-
* Licensed under the MIT License.
|
|
2758
|
-
*
|
|
2759
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2760
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2761
|
-
* regenerated.
|
|
2762
|
-
*/
|
|
2763
|
-
/** Class representing a Databases. */
|
|
2764
|
-
var Databases = /** @class */ (function () {
|
|
2765
|
-
/**
|
|
2766
|
-
* Create a Databases.
|
|
2767
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
2768
|
-
*/
|
|
2769
|
-
function Databases(client) {
|
|
2770
|
-
this.client = client;
|
|
2771
|
-
}
|
|
2772
|
-
/**
|
|
2773
|
-
* Creates a new database or updates an existing database.
|
|
2774
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2775
|
-
* @param serverName The name of the server.
|
|
2776
|
-
* @param databaseName The name of the database.
|
|
2777
|
-
* @param parameters The required parameters for creating or updating a database.
|
|
2778
|
-
* @param [options] The optional parameters
|
|
2779
|
-
* @returns Promise<Models.DatabasesCreateOrUpdateResponse>
|
|
2780
|
-
*/
|
|
2781
|
-
Databases.prototype.createOrUpdate = function (resourceGroupName, serverName, databaseName, parameters, options) {
|
|
2782
|
-
return this.beginCreateOrUpdate(resourceGroupName, serverName, databaseName, parameters, options)
|
|
2783
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2784
|
-
};
|
|
2785
|
-
/**
|
|
2786
|
-
* Deletes a database.
|
|
2787
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2788
|
-
* @param serverName The name of the server.
|
|
2789
|
-
* @param databaseName The name of the database.
|
|
2790
|
-
* @param [options] The optional parameters
|
|
2791
|
-
* @returns Promise<msRest.RestResponse>
|
|
2792
|
-
*/
|
|
2793
|
-
Databases.prototype.deleteMethod = function (resourceGroupName, serverName, databaseName, options) {
|
|
2794
|
-
return this.beginDeleteMethod(resourceGroupName, serverName, databaseName, options)
|
|
2795
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2796
|
-
};
|
|
2797
|
-
Databases.prototype.get = function (resourceGroupName, serverName, databaseName, options, callback) {
|
|
2798
|
-
return this.client.sendOperationRequest({
|
|
2799
|
-
resourceGroupName: resourceGroupName,
|
|
2800
|
-
serverName: serverName,
|
|
2801
|
-
databaseName: databaseName,
|
|
2802
|
-
options: options
|
|
2803
|
-
}, getOperationSpec$3, callback);
|
|
2804
|
-
};
|
|
2805
|
-
Databases.prototype.listByServer = function (resourceGroupName, serverName, options, callback) {
|
|
2806
|
-
return this.client.sendOperationRequest({
|
|
2807
|
-
resourceGroupName: resourceGroupName,
|
|
2808
|
-
serverName: serverName,
|
|
2809
|
-
options: options
|
|
2810
|
-
}, listByServerOperationSpec$3, callback);
|
|
2811
|
-
};
|
|
2812
|
-
/**
|
|
2813
|
-
* Creates a new database or updates an existing database.
|
|
2814
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2815
|
-
* @param serverName The name of the server.
|
|
2816
|
-
* @param databaseName The name of the database.
|
|
2817
|
-
* @param parameters The required parameters for creating or updating a database.
|
|
2818
|
-
* @param [options] The optional parameters
|
|
2819
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2820
|
-
*/
|
|
2821
|
-
Databases.prototype.beginCreateOrUpdate = function (resourceGroupName, serverName, databaseName, parameters, options) {
|
|
2822
|
-
return this.client.sendLRORequest({
|
|
2823
|
-
resourceGroupName: resourceGroupName,
|
|
2824
|
-
serverName: serverName,
|
|
2825
|
-
databaseName: databaseName,
|
|
2826
|
-
parameters: parameters,
|
|
2827
|
-
options: options
|
|
2828
|
-
}, beginCreateOrUpdateOperationSpec$1, options);
|
|
2829
|
-
};
|
|
2830
|
-
/**
|
|
2831
|
-
* Deletes a database.
|
|
2832
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2833
|
-
* @param serverName The name of the server.
|
|
2834
|
-
* @param databaseName The name of the database.
|
|
2835
|
-
* @param [options] The optional parameters
|
|
2836
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2837
|
-
*/
|
|
2838
|
-
Databases.prototype.beginDeleteMethod = function (resourceGroupName, serverName, databaseName, options) {
|
|
2839
|
-
return this.client.sendLRORequest({
|
|
2840
|
-
resourceGroupName: resourceGroupName,
|
|
2841
|
-
serverName: serverName,
|
|
2842
|
-
databaseName: databaseName,
|
|
2843
|
-
options: options
|
|
2844
|
-
}, beginDeleteMethodOperationSpec$2, options);
|
|
2845
|
-
};
|
|
2846
|
-
Databases.prototype.listByServerNext = function (nextPageLink, options, callback) {
|
|
2847
|
-
return this.client.sendOperationRequest({
|
|
2848
|
-
nextPageLink: nextPageLink,
|
|
2849
|
-
options: options
|
|
2850
|
-
}, listByServerNextOperationSpec$3, callback);
|
|
2851
|
-
};
|
|
2852
|
-
return Databases;
|
|
2853
|
-
}());
|
|
2854
|
-
// Operation Specifications
|
|
2855
|
-
var serializer$4 = new msRest.Serializer(Mappers$4);
|
|
2856
|
-
var getOperationSpec$3 = {
|
|
2857
|
-
httpMethod: "GET",
|
|
2858
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/databases/{databaseName}",
|
|
2859
|
-
urlParameters: [
|
|
2860
|
-
subscriptionId,
|
|
2861
|
-
resourceGroupName,
|
|
2862
|
-
serverName,
|
|
2863
|
-
databaseName
|
|
2864
|
-
],
|
|
2865
|
-
queryParameters: [
|
|
2866
|
-
apiVersion
|
|
2867
|
-
],
|
|
2868
|
-
headerParameters: [
|
|
2869
|
-
acceptLanguage
|
|
2870
|
-
],
|
|
2871
|
-
responses: {
|
|
2872
|
-
200: {
|
|
2873
|
-
bodyMapper: Database
|
|
2874
|
-
},
|
|
2875
|
-
default: {
|
|
2876
|
-
bodyMapper: CloudError
|
|
2877
|
-
}
|
|
2878
|
-
},
|
|
2879
|
-
serializer: serializer$4
|
|
2880
|
-
};
|
|
2881
|
-
var listByServerOperationSpec$3 = {
|
|
2882
|
-
httpMethod: "GET",
|
|
2883
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/databases",
|
|
2884
|
-
urlParameters: [
|
|
2885
|
-
subscriptionId,
|
|
2886
|
-
resourceGroupName,
|
|
2887
|
-
serverName
|
|
2888
|
-
],
|
|
2889
|
-
queryParameters: [
|
|
2890
|
-
apiVersion
|
|
2891
|
-
],
|
|
2892
|
-
headerParameters: [
|
|
2893
|
-
acceptLanguage
|
|
2894
|
-
],
|
|
2895
|
-
responses: {
|
|
2896
|
-
200: {
|
|
2897
|
-
bodyMapper: DatabaseListResult
|
|
2898
|
-
},
|
|
2899
|
-
default: {
|
|
2900
|
-
bodyMapper: CloudError
|
|
2901
|
-
}
|
|
2902
|
-
},
|
|
2903
|
-
serializer: serializer$4
|
|
2904
|
-
};
|
|
2905
|
-
var beginCreateOrUpdateOperationSpec$1 = {
|
|
2906
|
-
httpMethod: "PUT",
|
|
2907
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/databases/{databaseName}",
|
|
2908
|
-
urlParameters: [
|
|
2909
|
-
subscriptionId,
|
|
2910
|
-
resourceGroupName,
|
|
2911
|
-
serverName,
|
|
2912
|
-
databaseName
|
|
2913
|
-
],
|
|
2914
|
-
queryParameters: [
|
|
2915
|
-
apiVersion
|
|
2916
|
-
],
|
|
2917
|
-
headerParameters: [
|
|
2918
|
-
acceptLanguage
|
|
2919
|
-
],
|
|
2920
|
-
requestBody: {
|
|
2921
|
-
parameterPath: "parameters",
|
|
2922
|
-
mapper: __assign(__assign({}, Database), { required: true })
|
|
2923
|
-
},
|
|
2924
|
-
responses: {
|
|
2925
|
-
200: {
|
|
2926
|
-
bodyMapper: Database
|
|
2927
|
-
},
|
|
2928
|
-
201: {
|
|
2929
|
-
bodyMapper: Database
|
|
2930
|
-
},
|
|
2931
|
-
202: {},
|
|
2932
|
-
default: {
|
|
2933
|
-
bodyMapper: CloudError
|
|
2934
|
-
}
|
|
2935
|
-
},
|
|
2936
|
-
serializer: serializer$4
|
|
2937
|
-
};
|
|
2938
|
-
var beginDeleteMethodOperationSpec$2 = {
|
|
2939
|
-
httpMethod: "DELETE",
|
|
2940
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/databases/{databaseName}",
|
|
2941
|
-
urlParameters: [
|
|
2942
|
-
subscriptionId,
|
|
2943
|
-
resourceGroupName,
|
|
2944
|
-
serverName,
|
|
2945
|
-
databaseName
|
|
2946
|
-
],
|
|
2947
|
-
queryParameters: [
|
|
2948
|
-
apiVersion
|
|
2949
|
-
],
|
|
2950
|
-
headerParameters: [
|
|
2951
|
-
acceptLanguage
|
|
2952
|
-
],
|
|
2953
|
-
responses: {
|
|
2954
|
-
200: {},
|
|
2955
|
-
202: {},
|
|
2956
|
-
204: {},
|
|
2957
|
-
default: {
|
|
2958
|
-
bodyMapper: CloudError
|
|
2959
|
-
}
|
|
2960
|
-
},
|
|
2961
|
-
serializer: serializer$4
|
|
2962
|
-
};
|
|
2963
|
-
var listByServerNextOperationSpec$3 = {
|
|
2964
|
-
httpMethod: "GET",
|
|
2965
|
-
baseUrl: "https://management.azure.com",
|
|
2966
|
-
path: "{nextLink}",
|
|
2967
|
-
urlParameters: [
|
|
2968
|
-
nextPageLink
|
|
2969
|
-
],
|
|
2970
|
-
queryParameters: [
|
|
2971
|
-
apiVersion
|
|
2972
|
-
],
|
|
2973
|
-
headerParameters: [
|
|
2974
|
-
acceptLanguage
|
|
2975
|
-
],
|
|
2976
|
-
responses: {
|
|
2977
|
-
200: {
|
|
2978
|
-
bodyMapper: DatabaseListResult
|
|
2979
|
-
},
|
|
2980
|
-
default: {
|
|
2981
|
-
bodyMapper: CloudError
|
|
2982
|
-
}
|
|
2983
|
-
},
|
|
2984
|
-
serializer: serializer$4
|
|
2985
|
-
};
|
|
2986
|
-
|
|
2987
|
-
/*
|
|
2988
|
-
* Copyright (c) Microsoft Corporation.
|
|
2989
|
-
* Licensed under the MIT License.
|
|
2990
|
-
*
|
|
2991
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2992
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2993
|
-
*/
|
|
2994
|
-
|
|
2995
|
-
var Mappers$5 = /*#__PURE__*/Object.freeze({
|
|
2996
|
-
__proto__: null,
|
|
2997
|
-
AzureEntityResource: AzureEntityResource,
|
|
2998
|
-
Backup: Backup,
|
|
2999
|
-
BaseResource: BaseResource,
|
|
3000
|
-
CloudError: CloudError,
|
|
3001
|
-
Configuration: Configuration,
|
|
3002
|
-
ConfigurationForBatchUpdate: ConfigurationForBatchUpdate,
|
|
3003
|
-
ConfigurationListForBatchUpdate: ConfigurationListForBatchUpdate,
|
|
3004
|
-
ConfigurationListResult: ConfigurationListResult,
|
|
3005
|
-
Database: Database,
|
|
3006
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
3007
|
-
ErrorResponse: ErrorResponse,
|
|
3008
|
-
FirewallRule: FirewallRule,
|
|
3009
|
-
HighAvailability: HighAvailability,
|
|
3010
|
-
MaintenanceWindow: MaintenanceWindow,
|
|
3011
|
-
Network: Network,
|
|
3012
|
-
ProxyResource: ProxyResource,
|
|
3013
|
-
Resource: Resource,
|
|
3014
|
-
Server: Server,
|
|
3015
|
-
ServerBackup: ServerBackup,
|
|
3016
|
-
Sku: Sku,
|
|
3017
|
-
Storage: Storage,
|
|
3018
|
-
SystemData: SystemData,
|
|
3019
|
-
TrackedResource: TrackedResource
|
|
3020
|
-
});
|
|
3021
|
-
|
|
3022
|
-
/*
|
|
3023
|
-
* Copyright (c) Microsoft Corporation.
|
|
3024
|
-
* Licensed under the MIT License.
|
|
3025
|
-
*
|
|
3026
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3027
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3028
|
-
* regenerated.
|
|
3029
|
-
*/
|
|
3030
|
-
/** Class representing a Configurations. */
|
|
3031
|
-
var Configurations = /** @class */ (function () {
|
|
3032
|
-
/**
|
|
3033
|
-
* Create a Configurations.
|
|
3034
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
3035
|
-
*/
|
|
3036
|
-
function Configurations(client) {
|
|
3037
|
-
this.client = client;
|
|
3038
|
-
}
|
|
3039
|
-
/**
|
|
3040
|
-
* Updates a configuration of a server.
|
|
3041
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3042
|
-
* @param serverName The name of the server.
|
|
3043
|
-
* @param configurationName The name of the server configuration.
|
|
3044
|
-
* @param parameters The required parameters for updating a server configuration.
|
|
3045
|
-
* @param [options] The optional parameters
|
|
3046
|
-
* @returns Promise<Models.ConfigurationsUpdateResponse>
|
|
3047
|
-
*/
|
|
3048
|
-
Configurations.prototype.update = function (resourceGroupName, serverName, configurationName, parameters, options) {
|
|
3049
|
-
return this.beginUpdate(resourceGroupName, serverName, configurationName, parameters, options)
|
|
3050
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
3051
|
-
};
|
|
3052
|
-
Configurations.prototype.get = function (resourceGroupName, serverName, configurationName, options, callback) {
|
|
3053
|
-
return this.client.sendOperationRequest({
|
|
3054
|
-
resourceGroupName: resourceGroupName,
|
|
3055
|
-
serverName: serverName,
|
|
3056
|
-
configurationName: configurationName,
|
|
3057
|
-
options: options
|
|
3058
|
-
}, getOperationSpec$4, callback);
|
|
3059
|
-
};
|
|
3060
|
-
/**
|
|
3061
|
-
* Update a list of configurations in a given server.
|
|
3062
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3063
|
-
* @param serverName The name of the server.
|
|
3064
|
-
* @param parameters The parameters for updating a list of server configuration.
|
|
3065
|
-
* @param [options] The optional parameters
|
|
3066
|
-
* @returns Promise<Models.ConfigurationsBatchUpdateResponse>
|
|
3067
|
-
*/
|
|
3068
|
-
Configurations.prototype.batchUpdate = function (resourceGroupName, serverName, parameters, options) {
|
|
3069
|
-
return this.beginBatchUpdate(resourceGroupName, serverName, parameters, options)
|
|
3070
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
3071
|
-
};
|
|
3072
|
-
Configurations.prototype.listByServer = function (resourceGroupName, serverName, options, callback) {
|
|
3073
|
-
return this.client.sendOperationRequest({
|
|
3074
|
-
resourceGroupName: resourceGroupName,
|
|
3075
|
-
serverName: serverName,
|
|
3076
|
-
options: options
|
|
3077
|
-
}, listByServerOperationSpec$4, callback);
|
|
3078
|
-
};
|
|
3079
|
-
/**
|
|
3080
|
-
* Updates a configuration of a server.
|
|
3081
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3082
|
-
* @param serverName The name of the server.
|
|
3083
|
-
* @param configurationName The name of the server configuration.
|
|
3084
|
-
* @param parameters The required parameters for updating a server configuration.
|
|
3085
|
-
* @param [options] The optional parameters
|
|
3086
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
3087
|
-
*/
|
|
3088
|
-
Configurations.prototype.beginUpdate = function (resourceGroupName, serverName, configurationName, parameters, options) {
|
|
3089
|
-
return this.client.sendLRORequest({
|
|
3090
|
-
resourceGroupName: resourceGroupName,
|
|
3091
|
-
serverName: serverName,
|
|
3092
|
-
configurationName: configurationName,
|
|
3093
|
-
parameters: parameters,
|
|
3094
|
-
options: options
|
|
3095
|
-
}, beginUpdateOperationSpec$1, options);
|
|
3096
|
-
};
|
|
3097
|
-
/**
|
|
3098
|
-
* Update a list of configurations in a given server.
|
|
3099
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3100
|
-
* @param serverName The name of the server.
|
|
3101
|
-
* @param parameters The parameters for updating a list of server configuration.
|
|
3102
|
-
* @param [options] The optional parameters
|
|
3103
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
3104
|
-
*/
|
|
3105
|
-
Configurations.prototype.beginBatchUpdate = function (resourceGroupName, serverName, parameters, options) {
|
|
3106
|
-
return this.client.sendLRORequest({
|
|
3107
|
-
resourceGroupName: resourceGroupName,
|
|
3108
|
-
serverName: serverName,
|
|
3109
|
-
parameters: parameters,
|
|
3110
|
-
options: options
|
|
3111
|
-
}, beginBatchUpdateOperationSpec, options);
|
|
3112
|
-
};
|
|
3113
|
-
Configurations.prototype.listByServerNext = function (nextPageLink, options, callback) {
|
|
3114
|
-
return this.client.sendOperationRequest({
|
|
3115
|
-
nextPageLink: nextPageLink,
|
|
3116
|
-
options: options
|
|
3117
|
-
}, listByServerNextOperationSpec$4, callback);
|
|
3118
|
-
};
|
|
3119
|
-
return Configurations;
|
|
3120
|
-
}());
|
|
3121
|
-
// Operation Specifications
|
|
3122
|
-
var serializer$5 = new msRest.Serializer(Mappers$5);
|
|
3123
|
-
var getOperationSpec$4 = {
|
|
3124
|
-
httpMethod: "GET",
|
|
3125
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/configurations/{configurationName}",
|
|
3126
|
-
urlParameters: [
|
|
3127
|
-
subscriptionId,
|
|
3128
|
-
resourceGroupName,
|
|
3129
|
-
serverName,
|
|
3130
|
-
configurationName
|
|
3131
|
-
],
|
|
3132
|
-
queryParameters: [
|
|
3133
|
-
apiVersion
|
|
3134
|
-
],
|
|
3135
|
-
headerParameters: [
|
|
3136
|
-
acceptLanguage
|
|
3137
|
-
],
|
|
3138
|
-
responses: {
|
|
3139
|
-
200: {
|
|
3140
|
-
bodyMapper: Configuration
|
|
3141
|
-
},
|
|
3142
|
-
default: {
|
|
3143
|
-
bodyMapper: CloudError
|
|
3144
|
-
}
|
|
3145
|
-
},
|
|
3146
|
-
serializer: serializer$5
|
|
3147
|
-
};
|
|
3148
|
-
var listByServerOperationSpec$4 = {
|
|
3149
|
-
httpMethod: "GET",
|
|
3150
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/configurations",
|
|
3151
|
-
urlParameters: [
|
|
3152
|
-
subscriptionId,
|
|
3153
|
-
resourceGroupName,
|
|
3154
|
-
serverName
|
|
3155
|
-
],
|
|
3156
|
-
queryParameters: [
|
|
3157
|
-
apiVersion
|
|
3158
|
-
],
|
|
3159
|
-
headerParameters: [
|
|
3160
|
-
acceptLanguage
|
|
3161
|
-
],
|
|
3162
|
-
responses: {
|
|
3163
|
-
200: {
|
|
3164
|
-
bodyMapper: ConfigurationListResult
|
|
3165
|
-
},
|
|
3166
|
-
default: {
|
|
3167
|
-
bodyMapper: CloudError
|
|
3168
|
-
}
|
|
3169
|
-
},
|
|
3170
|
-
serializer: serializer$5
|
|
3171
|
-
};
|
|
3172
|
-
var beginUpdateOperationSpec$1 = {
|
|
3173
|
-
httpMethod: "PATCH",
|
|
3174
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/configurations/{configurationName}",
|
|
3175
|
-
urlParameters: [
|
|
3176
|
-
subscriptionId,
|
|
3177
|
-
resourceGroupName,
|
|
3178
|
-
serverName,
|
|
3179
|
-
configurationName
|
|
3180
|
-
],
|
|
3181
|
-
queryParameters: [
|
|
3182
|
-
apiVersion
|
|
3183
|
-
],
|
|
3184
|
-
headerParameters: [
|
|
3185
|
-
acceptLanguage
|
|
3186
|
-
],
|
|
3187
|
-
requestBody: {
|
|
3188
|
-
parameterPath: "parameters",
|
|
3189
|
-
mapper: __assign(__assign({}, Configuration), { required: true })
|
|
3190
|
-
},
|
|
3191
|
-
responses: {
|
|
3192
|
-
200: {
|
|
3193
|
-
bodyMapper: Configuration
|
|
3194
|
-
},
|
|
3195
|
-
202: {},
|
|
3196
|
-
default: {
|
|
3197
|
-
bodyMapper: CloudError
|
|
3198
|
-
}
|
|
3199
|
-
},
|
|
3200
|
-
serializer: serializer$5
|
|
3201
|
-
};
|
|
3202
|
-
var beginBatchUpdateOperationSpec = {
|
|
3203
|
-
httpMethod: "POST",
|
|
3204
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/updateConfigurations",
|
|
3205
|
-
urlParameters: [
|
|
3206
|
-
subscriptionId,
|
|
3207
|
-
resourceGroupName,
|
|
3208
|
-
serverName
|
|
3209
|
-
],
|
|
3210
|
-
queryParameters: [
|
|
3211
|
-
apiVersion
|
|
3212
|
-
],
|
|
3213
|
-
headerParameters: [
|
|
3214
|
-
acceptLanguage
|
|
3215
|
-
],
|
|
3216
|
-
requestBody: {
|
|
3217
|
-
parameterPath: "parameters",
|
|
3218
|
-
mapper: __assign(__assign({}, ConfigurationListForBatchUpdate), { required: true })
|
|
3219
|
-
},
|
|
3220
|
-
responses: {
|
|
3221
|
-
200: {
|
|
3222
|
-
bodyMapper: ConfigurationListResult
|
|
3223
|
-
},
|
|
3224
|
-
202: {},
|
|
3225
|
-
default: {
|
|
3226
|
-
bodyMapper: CloudError
|
|
3227
|
-
}
|
|
3228
|
-
},
|
|
3229
|
-
serializer: serializer$5
|
|
3230
|
-
};
|
|
3231
|
-
var listByServerNextOperationSpec$4 = {
|
|
3232
|
-
httpMethod: "GET",
|
|
3233
|
-
baseUrl: "https://management.azure.com",
|
|
3234
|
-
path: "{nextLink}",
|
|
3235
|
-
urlParameters: [
|
|
3236
|
-
nextPageLink
|
|
3237
|
-
],
|
|
3238
|
-
queryParameters: [
|
|
3239
|
-
apiVersion
|
|
3240
|
-
],
|
|
3241
|
-
headerParameters: [
|
|
3242
|
-
acceptLanguage
|
|
3243
|
-
],
|
|
3244
|
-
responses: {
|
|
3245
|
-
200: {
|
|
3246
|
-
bodyMapper: ConfigurationListResult
|
|
3247
|
-
},
|
|
3248
|
-
default: {
|
|
3249
|
-
bodyMapper: CloudError
|
|
3250
|
-
}
|
|
3251
|
-
},
|
|
3252
|
-
serializer: serializer$5
|
|
3253
|
-
};
|
|
3254
|
-
|
|
3255
|
-
/*
|
|
3256
|
-
* Copyright (c) Microsoft Corporation.
|
|
3257
|
-
* Licensed under the MIT License.
|
|
3258
|
-
*
|
|
3259
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3260
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3261
|
-
*/
|
|
3262
|
-
|
|
3263
|
-
var Mappers$6 = /*#__PURE__*/Object.freeze({
|
|
3264
|
-
__proto__: null,
|
|
3265
|
-
CapabilitiesListResult: CapabilitiesListResult,
|
|
3266
|
-
CapabilityProperties: CapabilityProperties,
|
|
3267
|
-
CloudError: CloudError,
|
|
3268
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
3269
|
-
ErrorResponse: ErrorResponse,
|
|
3270
|
-
ServerEditionCapability: ServerEditionCapability,
|
|
3271
|
-
ServerVersionCapability: ServerVersionCapability,
|
|
3272
|
-
SkuCapability: SkuCapability,
|
|
3273
|
-
StorageEditionCapability: StorageEditionCapability
|
|
3274
|
-
});
|
|
3275
|
-
|
|
3276
|
-
/*
|
|
3277
|
-
* Copyright (c) Microsoft Corporation.
|
|
3278
|
-
* Licensed under the MIT License.
|
|
3279
|
-
*
|
|
3280
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3281
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3282
|
-
* regenerated.
|
|
3283
|
-
*/
|
|
3284
|
-
/** Class representing a LocationBasedCapabilities. */
|
|
3285
|
-
var LocationBasedCapabilities = /** @class */ (function () {
|
|
3286
|
-
/**
|
|
3287
|
-
* Create a LocationBasedCapabilities.
|
|
3288
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
3289
|
-
*/
|
|
3290
|
-
function LocationBasedCapabilities(client) {
|
|
3291
|
-
this.client = client;
|
|
3292
|
-
}
|
|
3293
|
-
LocationBasedCapabilities.prototype.list = function (locationName, options, callback) {
|
|
3294
|
-
return this.client.sendOperationRequest({
|
|
3295
|
-
locationName: locationName,
|
|
3296
|
-
options: options
|
|
3297
|
-
}, listOperationSpec$1, callback);
|
|
3298
|
-
};
|
|
3299
|
-
LocationBasedCapabilities.prototype.listNext = function (nextPageLink, options, callback) {
|
|
3300
|
-
return this.client.sendOperationRequest({
|
|
3301
|
-
nextPageLink: nextPageLink,
|
|
3302
|
-
options: options
|
|
3303
|
-
}, listNextOperationSpec$1, callback);
|
|
3304
|
-
};
|
|
3305
|
-
return LocationBasedCapabilities;
|
|
3306
|
-
}());
|
|
3307
|
-
// Operation Specifications
|
|
3308
|
-
var serializer$6 = new msRest.Serializer(Mappers$6);
|
|
3309
|
-
var listOperationSpec$1 = {
|
|
3310
|
-
httpMethod: "GET",
|
|
3311
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/capabilities",
|
|
3312
|
-
urlParameters: [
|
|
3313
|
-
subscriptionId,
|
|
3314
|
-
locationName
|
|
3315
|
-
],
|
|
3316
|
-
queryParameters: [
|
|
3317
|
-
apiVersion
|
|
3318
|
-
],
|
|
3319
|
-
headerParameters: [
|
|
3320
|
-
acceptLanguage
|
|
3321
|
-
],
|
|
3322
|
-
responses: {
|
|
3323
|
-
200: {
|
|
3324
|
-
bodyMapper: CapabilitiesListResult
|
|
3325
|
-
},
|
|
3326
|
-
default: {
|
|
3327
|
-
bodyMapper: CloudError
|
|
3328
|
-
}
|
|
3329
|
-
},
|
|
3330
|
-
serializer: serializer$6
|
|
3331
|
-
};
|
|
3332
|
-
var listNextOperationSpec$1 = {
|
|
3333
|
-
httpMethod: "GET",
|
|
3334
|
-
baseUrl: "https://management.azure.com",
|
|
3335
|
-
path: "{nextLink}",
|
|
3336
|
-
urlParameters: [
|
|
3337
|
-
nextPageLink
|
|
3338
|
-
],
|
|
3339
|
-
queryParameters: [
|
|
3340
|
-
apiVersion
|
|
3341
|
-
],
|
|
3342
|
-
headerParameters: [
|
|
3343
|
-
acceptLanguage
|
|
3344
|
-
],
|
|
3345
|
-
responses: {
|
|
3346
|
-
200: {
|
|
3347
|
-
bodyMapper: CapabilitiesListResult
|
|
3348
|
-
},
|
|
3349
|
-
default: {
|
|
3350
|
-
bodyMapper: CloudError
|
|
3351
|
-
}
|
|
3352
|
-
},
|
|
3353
|
-
serializer: serializer$6
|
|
3354
|
-
};
|
|
3355
|
-
|
|
3356
|
-
/*
|
|
3357
|
-
* Copyright (c) Microsoft Corporation.
|
|
3358
|
-
* Licensed under the MIT License.
|
|
3359
|
-
*
|
|
3360
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3361
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3362
|
-
*/
|
|
3363
|
-
|
|
3364
|
-
var Mappers$7 = /*#__PURE__*/Object.freeze({
|
|
3365
|
-
__proto__: null,
|
|
3366
|
-
CloudError: CloudError,
|
|
3367
|
-
DelegatedSubnetUsage: DelegatedSubnetUsage,
|
|
3368
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
3369
|
-
ErrorResponse: ErrorResponse,
|
|
3370
|
-
VirtualNetworkSubnetUsageParameter: VirtualNetworkSubnetUsageParameter,
|
|
3371
|
-
VirtualNetworkSubnetUsageResult: VirtualNetworkSubnetUsageResult
|
|
3372
|
-
});
|
|
3373
|
-
|
|
3374
|
-
/*
|
|
3375
|
-
* Copyright (c) Microsoft Corporation.
|
|
3376
|
-
* Licensed under the MIT License.
|
|
3377
|
-
*
|
|
3378
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3379
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3380
|
-
* regenerated.
|
|
3381
|
-
*/
|
|
3382
|
-
/** Class representing a CheckVirtualNetworkSubnetUsage. */
|
|
3383
|
-
var CheckVirtualNetworkSubnetUsage = /** @class */ (function () {
|
|
3384
|
-
/**
|
|
3385
|
-
* Create a CheckVirtualNetworkSubnetUsage.
|
|
3386
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
3387
|
-
*/
|
|
3388
|
-
function CheckVirtualNetworkSubnetUsage(client) {
|
|
3389
|
-
this.client = client;
|
|
3390
|
-
}
|
|
3391
|
-
CheckVirtualNetworkSubnetUsage.prototype.execute = function (locationName, parameters, options, callback) {
|
|
3392
|
-
return this.client.sendOperationRequest({
|
|
3393
|
-
locationName: locationName,
|
|
3394
|
-
parameters: parameters,
|
|
3395
|
-
options: options
|
|
3396
|
-
}, executeOperationSpec, callback);
|
|
3397
|
-
};
|
|
3398
|
-
return CheckVirtualNetworkSubnetUsage;
|
|
3399
|
-
}());
|
|
3400
|
-
// Operation Specifications
|
|
3401
|
-
var serializer$7 = new msRest.Serializer(Mappers$7);
|
|
3402
|
-
var executeOperationSpec = {
|
|
3403
|
-
httpMethod: "POST",
|
|
3404
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/checkVirtualNetworkSubnetUsage",
|
|
3405
|
-
urlParameters: [
|
|
3406
|
-
subscriptionId,
|
|
3407
|
-
locationName
|
|
3408
|
-
],
|
|
3409
|
-
queryParameters: [
|
|
3410
|
-
apiVersion
|
|
3411
|
-
],
|
|
3412
|
-
headerParameters: [
|
|
3413
|
-
acceptLanguage
|
|
3414
|
-
],
|
|
3415
|
-
requestBody: {
|
|
3416
|
-
parameterPath: "parameters",
|
|
3417
|
-
mapper: __assign(__assign({}, VirtualNetworkSubnetUsageParameter), { required: true })
|
|
3418
|
-
},
|
|
3419
|
-
responses: {
|
|
3420
|
-
200: {
|
|
3421
|
-
bodyMapper: VirtualNetworkSubnetUsageResult
|
|
3422
|
-
},
|
|
3423
|
-
default: {
|
|
3424
|
-
bodyMapper: CloudError
|
|
3425
|
-
}
|
|
3426
|
-
},
|
|
3427
|
-
serializer: serializer$7
|
|
3428
|
-
};
|
|
3429
|
-
|
|
3430
|
-
/*
|
|
3431
|
-
* Copyright (c) Microsoft Corporation.
|
|
3432
|
-
* Licensed under the MIT License.
|
|
3433
|
-
*
|
|
3434
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3435
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3436
|
-
*/
|
|
3437
|
-
|
|
3438
|
-
var Mappers$8 = /*#__PURE__*/Object.freeze({
|
|
3439
|
-
__proto__: null,
|
|
3440
|
-
CloudError: CloudError,
|
|
3441
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
3442
|
-
ErrorResponse: ErrorResponse,
|
|
3443
|
-
NameAvailability: NameAvailability,
|
|
3444
|
-
NameAvailabilityRequest: NameAvailabilityRequest
|
|
3445
|
-
});
|
|
3446
|
-
|
|
3447
|
-
/*
|
|
3448
|
-
* Copyright (c) Microsoft Corporation.
|
|
3449
|
-
* Licensed under the MIT License.
|
|
3450
|
-
*
|
|
3451
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3452
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3453
|
-
* regenerated.
|
|
3454
|
-
*/
|
|
3455
|
-
/** Class representing a CheckNameAvailability. */
|
|
3456
|
-
var CheckNameAvailability = /** @class */ (function () {
|
|
3457
|
-
/**
|
|
3458
|
-
* Create a CheckNameAvailability.
|
|
3459
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
3460
|
-
*/
|
|
3461
|
-
function CheckNameAvailability(client) {
|
|
3462
|
-
this.client = client;
|
|
3463
|
-
}
|
|
3464
|
-
CheckNameAvailability.prototype.execute = function (locationName, nameAvailabilityRequest, options, callback) {
|
|
3465
|
-
return this.client.sendOperationRequest({
|
|
3466
|
-
locationName: locationName,
|
|
3467
|
-
nameAvailabilityRequest: nameAvailabilityRequest,
|
|
3468
|
-
options: options
|
|
3469
|
-
}, executeOperationSpec$1, callback);
|
|
3470
|
-
};
|
|
3471
|
-
return CheckNameAvailability;
|
|
3472
|
-
}());
|
|
3473
|
-
// Operation Specifications
|
|
3474
|
-
var serializer$8 = new msRest.Serializer(Mappers$8);
|
|
3475
|
-
var executeOperationSpec$1 = {
|
|
3476
|
-
httpMethod: "POST",
|
|
3477
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/checkNameAvailability",
|
|
3478
|
-
urlParameters: [
|
|
3479
|
-
subscriptionId,
|
|
3480
|
-
locationName
|
|
3481
|
-
],
|
|
3482
|
-
queryParameters: [
|
|
3483
|
-
apiVersion
|
|
3484
|
-
],
|
|
3485
|
-
headerParameters: [
|
|
3486
|
-
acceptLanguage
|
|
3487
|
-
],
|
|
3488
|
-
requestBody: {
|
|
3489
|
-
parameterPath: "nameAvailabilityRequest",
|
|
3490
|
-
mapper: __assign(__assign({}, NameAvailabilityRequest), { required: true })
|
|
3491
|
-
},
|
|
3492
|
-
responses: {
|
|
3493
|
-
200: {
|
|
3494
|
-
bodyMapper: NameAvailability
|
|
3495
|
-
},
|
|
3496
|
-
default: {
|
|
3497
|
-
bodyMapper: CloudError
|
|
3498
|
-
}
|
|
3499
|
-
},
|
|
3500
|
-
serializer: serializer$8
|
|
3501
|
-
};
|
|
3502
|
-
|
|
3503
|
-
/*
|
|
3504
|
-
* Copyright (c) Microsoft Corporation.
|
|
3505
|
-
* Licensed under the MIT License.
|
|
3506
|
-
*
|
|
3507
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3508
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3509
|
-
*/
|
|
3510
|
-
|
|
3511
|
-
var Mappers$9 = /*#__PURE__*/Object.freeze({
|
|
3512
|
-
__proto__: null,
|
|
3513
|
-
CloudError: CloudError,
|
|
3514
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
3515
|
-
ErrorResponse: ErrorResponse,
|
|
3516
|
-
GetPrivateDnsZoneSuffixResponse: GetPrivateDnsZoneSuffixResponse
|
|
3517
|
-
});
|
|
3518
|
-
|
|
3519
|
-
/*
|
|
3520
|
-
* Copyright (c) Microsoft Corporation.
|
|
3521
|
-
* Licensed under the MIT License.
|
|
3522
|
-
*
|
|
3523
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3524
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3525
|
-
* regenerated.
|
|
3526
|
-
*/
|
|
3527
|
-
/** Class representing a GetPrivateDnsZoneSuffix. */
|
|
3528
|
-
var GetPrivateDnsZoneSuffix = /** @class */ (function () {
|
|
3529
|
-
/**
|
|
3530
|
-
* Create a GetPrivateDnsZoneSuffix.
|
|
3531
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
3532
|
-
*/
|
|
3533
|
-
function GetPrivateDnsZoneSuffix(client) {
|
|
3534
|
-
this.client = client;
|
|
3535
|
-
}
|
|
3536
|
-
GetPrivateDnsZoneSuffix.prototype.execute = function (options, callback) {
|
|
3537
|
-
return this.client.sendOperationRequest({
|
|
3538
|
-
options: options
|
|
3539
|
-
}, executeOperationSpec$2, callback);
|
|
3540
|
-
};
|
|
3541
|
-
return GetPrivateDnsZoneSuffix;
|
|
3542
|
-
}());
|
|
3543
|
-
// Operation Specifications
|
|
3544
|
-
var serializer$9 = new msRest.Serializer(Mappers$9);
|
|
3545
|
-
var executeOperationSpec$2 = {
|
|
3546
|
-
httpMethod: "POST",
|
|
3547
|
-
path: "providers/Microsoft.DBforMySQL/getPrivateDnsZoneSuffix",
|
|
3548
|
-
queryParameters: [
|
|
3549
|
-
apiVersion
|
|
3550
|
-
],
|
|
3551
|
-
headerParameters: [
|
|
3552
|
-
acceptLanguage
|
|
3553
|
-
],
|
|
3554
|
-
responses: {
|
|
3555
|
-
200: {
|
|
3556
|
-
bodyMapper: GetPrivateDnsZoneSuffixResponse
|
|
3557
|
-
},
|
|
3558
|
-
default: {
|
|
3559
|
-
bodyMapper: CloudError
|
|
3560
|
-
}
|
|
3561
|
-
},
|
|
3562
|
-
serializer: serializer$9
|
|
3563
|
-
};
|
|
3564
|
-
|
|
3565
|
-
/*
|
|
3566
|
-
* Copyright (c) Microsoft Corporation.
|
|
3567
|
-
* Licensed under the MIT License.
|
|
3568
|
-
*
|
|
3569
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3570
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3571
|
-
*/
|
|
3572
|
-
|
|
3573
|
-
var Mappers$a = /*#__PURE__*/Object.freeze({
|
|
3574
|
-
__proto__: null,
|
|
3575
|
-
CloudError: CloudError,
|
|
3576
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
3577
|
-
ErrorResponse: ErrorResponse,
|
|
3578
|
-
Operation: Operation,
|
|
3579
|
-
OperationDisplay: OperationDisplay,
|
|
3580
|
-
OperationListResult: OperationListResult
|
|
3581
|
-
});
|
|
3582
|
-
|
|
3583
|
-
/*
|
|
3584
|
-
* Copyright (c) Microsoft Corporation.
|
|
3585
|
-
* Licensed under the MIT License.
|
|
3586
|
-
*
|
|
3587
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3588
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3589
|
-
* regenerated.
|
|
3590
|
-
*/
|
|
3591
|
-
/** Class representing a Operations. */
|
|
3592
|
-
var Operations = /** @class */ (function () {
|
|
3593
|
-
/**
|
|
3594
|
-
* Create a Operations.
|
|
3595
|
-
* @param {MySQLManagementClientContext} client Reference to the service client.
|
|
3596
|
-
*/
|
|
3597
|
-
function Operations(client) {
|
|
3598
|
-
this.client = client;
|
|
3599
|
-
}
|
|
3600
|
-
Operations.prototype.list = function (options, callback) {
|
|
3601
|
-
return this.client.sendOperationRequest({
|
|
3602
|
-
options: options
|
|
3603
|
-
}, listOperationSpec$2, callback);
|
|
3604
|
-
};
|
|
3605
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
3606
|
-
return this.client.sendOperationRequest({
|
|
3607
|
-
nextPageLink: nextPageLink,
|
|
3608
|
-
options: options
|
|
3609
|
-
}, listNextOperationSpec$2, callback);
|
|
3610
|
-
};
|
|
3611
|
-
return Operations;
|
|
3612
|
-
}());
|
|
3613
|
-
// Operation Specifications
|
|
3614
|
-
var serializer$a = new msRest.Serializer(Mappers$a);
|
|
3615
|
-
var listOperationSpec$2 = {
|
|
3616
|
-
httpMethod: "GET",
|
|
3617
|
-
path: "providers/Microsoft.DBforMySQL/operations",
|
|
3618
|
-
queryParameters: [
|
|
3619
|
-
apiVersion
|
|
3620
|
-
],
|
|
3621
|
-
headerParameters: [
|
|
3622
|
-
acceptLanguage
|
|
3623
|
-
],
|
|
3624
|
-
responses: {
|
|
3625
|
-
200: {
|
|
3626
|
-
bodyMapper: OperationListResult
|
|
3627
|
-
},
|
|
3628
|
-
default: {
|
|
3629
|
-
bodyMapper: CloudError
|
|
3630
|
-
}
|
|
3631
|
-
},
|
|
3632
|
-
serializer: serializer$a
|
|
3633
|
-
};
|
|
3634
|
-
var listNextOperationSpec$2 = {
|
|
3635
|
-
httpMethod: "GET",
|
|
3636
|
-
baseUrl: "https://management.azure.com",
|
|
3637
|
-
path: "{nextLink}",
|
|
3638
|
-
urlParameters: [
|
|
3639
|
-
nextPageLink
|
|
3640
|
-
],
|
|
3641
|
-
queryParameters: [
|
|
3642
|
-
apiVersion
|
|
3643
|
-
],
|
|
3644
|
-
headerParameters: [
|
|
3645
|
-
acceptLanguage
|
|
3646
|
-
],
|
|
3647
|
-
responses: {
|
|
3648
|
-
200: {
|
|
3649
|
-
bodyMapper: OperationListResult
|
|
3650
|
-
},
|
|
3651
|
-
default: {
|
|
3652
|
-
bodyMapper: CloudError
|
|
3653
|
-
}
|
|
3654
|
-
},
|
|
3655
|
-
serializer: serializer$a
|
|
3656
|
-
};
|
|
3657
|
-
|
|
3658
|
-
/*
|
|
3659
|
-
* Copyright (c) Microsoft Corporation.
|
|
3660
|
-
* Licensed under the MIT License.
|
|
3661
|
-
*
|
|
3662
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3663
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3664
|
-
* regenerated.
|
|
3665
|
-
*/
|
|
3666
|
-
var packageName = "@azure/arm-mysql-flexible";
|
|
3667
|
-
var packageVersion = "1.0.0";
|
|
3668
|
-
var MySQLManagementClientContext = /** @class */ (function (_super) {
|
|
3669
|
-
__extends(MySQLManagementClientContext, _super);
|
|
3670
|
-
/**
|
|
3671
|
-
* Initializes a new instance of the MySQLManagementClient class.
|
|
3672
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
3673
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
3674
|
-
* more information about these credentials, see
|
|
3675
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
3676
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
3677
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
3678
|
-
* @param subscriptionId The ID of the target subscription.
|
|
3679
|
-
* @param [options] The parameter options
|
|
3680
|
-
*/
|
|
3681
|
-
function MySQLManagementClientContext(credentials, subscriptionId, options) {
|
|
3682
|
-
var _this = this;
|
|
3683
|
-
if (credentials == undefined) {
|
|
3684
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
3685
|
-
}
|
|
3686
|
-
if (subscriptionId == undefined) {
|
|
3687
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
3688
|
-
}
|
|
3689
|
-
if (!options) {
|
|
3690
|
-
options = {};
|
|
3691
|
-
}
|
|
3692
|
-
if (!options.userAgent) {
|
|
3693
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
3694
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
3695
|
-
}
|
|
3696
|
-
_this = _super.call(this, credentials, options) || this;
|
|
3697
|
-
_this.apiVersion = '2021-05-01';
|
|
3698
|
-
_this.acceptLanguage = 'en-US';
|
|
3699
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
3700
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
3701
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
3702
|
-
_this.credentials = credentials;
|
|
3703
|
-
_this.subscriptionId = subscriptionId;
|
|
3704
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
3705
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
3706
|
-
}
|
|
3707
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
3708
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
3709
|
-
}
|
|
3710
|
-
return _this;
|
|
3711
|
-
}
|
|
3712
|
-
return MySQLManagementClientContext;
|
|
3713
|
-
}(msRestAzure.AzureServiceClient));
|
|
3714
|
-
|
|
3715
|
-
/*
|
|
3716
|
-
* Copyright (c) Microsoft Corporation.
|
|
3717
|
-
* Licensed under the MIT License.
|
|
3718
|
-
*
|
|
3719
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3720
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3721
|
-
* regenerated.
|
|
3722
|
-
*/
|
|
3723
|
-
var MySQLManagementClient = /** @class */ (function (_super) {
|
|
3724
|
-
__extends(MySQLManagementClient, _super);
|
|
3725
|
-
/**
|
|
3726
|
-
* Initializes a new instance of the MySQLManagementClient class.
|
|
3727
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
3728
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
3729
|
-
* more information about these credentials, see
|
|
3730
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
3731
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
3732
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
3733
|
-
* @param subscriptionId The ID of the target subscription.
|
|
3734
|
-
* @param [options] The parameter options
|
|
3735
|
-
*/
|
|
3736
|
-
function MySQLManagementClient(credentials, subscriptionId, options) {
|
|
3737
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
3738
|
-
_this.servers = new Servers(_this);
|
|
3739
|
-
_this.replicas = new Replicas(_this);
|
|
3740
|
-
_this.backups = new Backups(_this);
|
|
3741
|
-
_this.firewallRules = new FirewallRules(_this);
|
|
3742
|
-
_this.databases = new Databases(_this);
|
|
3743
|
-
_this.configurations = new Configurations(_this);
|
|
3744
|
-
_this.locationBasedCapabilities = new LocationBasedCapabilities(_this);
|
|
3745
|
-
_this.checkVirtualNetworkSubnetUsage = new CheckVirtualNetworkSubnetUsage(_this);
|
|
3746
|
-
_this.checkNameAvailability = new CheckNameAvailability(_this);
|
|
3747
|
-
_this.getPrivateDnsZoneSuffix = new GetPrivateDnsZoneSuffix(_this);
|
|
3748
|
-
_this.operations = new Operations(_this);
|
|
3749
|
-
return _this;
|
|
3750
|
-
}
|
|
3751
|
-
return MySQLManagementClient;
|
|
3752
|
-
}(MySQLManagementClientContext));
|
|
3753
|
-
|
|
3754
|
-
exports.Backups = Backups;
|
|
3755
|
-
exports.CheckNameAvailability = CheckNameAvailability;
|
|
3756
|
-
exports.CheckVirtualNetworkSubnetUsage = CheckVirtualNetworkSubnetUsage;
|
|
3757
|
-
exports.Configurations = Configurations;
|
|
3758
|
-
exports.Databases = Databases;
|
|
3759
|
-
exports.FirewallRules = FirewallRules;
|
|
3760
|
-
exports.GetPrivateDnsZoneSuffix = GetPrivateDnsZoneSuffix;
|
|
3761
|
-
exports.LocationBasedCapabilities = LocationBasedCapabilities;
|
|
3762
|
-
exports.MySQLManagementClient = MySQLManagementClient;
|
|
3763
|
-
exports.MySQLManagementClientContext = MySQLManagementClientContext;
|
|
3764
|
-
exports.MySQLManagementMappers = mappers;
|
|
3765
|
-
exports.MySQLManagementModels = index;
|
|
3766
|
-
exports.Operations = Operations;
|
|
3767
|
-
exports.Replicas = Replicas;
|
|
3768
|
-
exports.Servers = Servers;
|
|
3769
|
-
|
|
3770
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3771
|
-
|
|
3772
|
-
})));
|
|
3773
|
-
//# sourceMappingURL=arm-mysql-flexible.js.map
|