@azure/arm-mysql-flexible 4.0.0-alpha.20260105.1 → 4.0.0-alpha.20260108.2
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 +10 -0
- package/dist/browser/mySQLManagementFlexibleServerClient.js +1 -1
- package/dist/browser/mySQLManagementFlexibleServerClient.js.map +1 -1
- package/dist/commonjs/mySQLManagementFlexibleServerClient.js +1 -1
- package/dist/commonjs/mySQLManagementFlexibleServerClient.js.map +1 -1
- package/dist/esm/mySQLManagementFlexibleServerClient.js +1 -1
- package/dist/esm/mySQLManagementFlexibleServerClient.js.map +1 -1
- package/dist/react-native/mySQLManagementFlexibleServerClient.js +1 -1
- package/dist/react-native/mySQLManagementFlexibleServerClient.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -30,7 +30,7 @@ export class MySQLManagementFlexibleServerClient extends coreClient.ServiceClien
|
|
|
30
30
|
requestContentType: "application/json; charset=utf-8",
|
|
31
31
|
credential: credentials,
|
|
32
32
|
};
|
|
33
|
-
const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.
|
|
33
|
+
const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.5`;
|
|
34
34
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
35
35
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
36
36
|
: `${packageDetails}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mySQLManagementFlexibleServerClient.js","sourceRoot":"","sources":["../../src/mySQLManagementFlexibleServerClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,yBAAyB,EACzB,WAAW,EACX,mBAAmB,EACnB,qBAAqB,EACrB,sBA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,CAAC;QACrD,IAAI,CAAC,gBAAgB,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,CAAC;QACvD,IAAI,CAAC,iBAAiB,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,uBAAuB,GAAG,IAAI,2BAA2B,CAAC,IAAI,CAAC,CAAC;QACrE,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,YAAY,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IAED,qBAAqB,CAAwB;IAC7C,OAAO,CAAU;IACjB,eAAe,CAAkB;IACjC,iBAAiB,CAAoB;IACrC,kBAAkB,CAAqB;IACvC,cAAc,CAAiB;IAC/B,SAAS,CAAY;IACrB,aAAa,CAAgB;IAC7B,OAAO,CAAU;IACjB,QAAQ,CAAW;IACnB,gBAAgB,CAAmB;IACnC,gCAAgC,CAAmC;IACnE,QAAQ,CAAW;IACnB,yBAAyB,CAA4B;IACrD,0BAA0B,CAA6B;IACvD,8BAA8B,CAAiC;IAC/D,qBAAqB,CAAwB;IAC7C,oCAAoC,CAAuC;IAC3E,gBAAgB,CAAmB;IACnC,iBAAiB,CAAoB;IACrC,uBAAuB,CAA0B;IACjD,UAAU,CAAa;IACvB,YAAY,CAAe;CAC5B","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AzureADAdministratorsImpl,\n BackupsImpl,\n BackupAndExportImpl,\n LongRunningBackupImpl,\n LongRunningBackupsImpl,\n ConfigurationsImpl,\n DatabasesImpl,\n FirewallRulesImpl,\n ServersImpl,\n ReplicasImpl,\n ServersMigrationImpl,\n AdvancedThreatProtectionSettingsImpl,\n LogFilesImpl,\n LocationBasedCapabilitiesImpl,\n LocationBasedCapabilitySetImpl,\n CheckVirtualNetworkSubnetUsageImpl,\n CheckNameAvailabilityImpl,\n CheckNameAvailabilityWithoutLocationImpl,\n OperationResultsImpl,\n OperationProgressImpl,\n GetPrivateDnsZoneSuffixImpl,\n OperationsImpl,\n MaintenancesImpl,\n} from \"./operations/index.js\";\nimport {\n AzureADAdministrators,\n Backups,\n BackupAndExport,\n LongRunningBackup,\n LongRunningBackups,\n Configurations,\n Databases,\n FirewallRules,\n Servers,\n Replicas,\n ServersMigration,\n AdvancedThreatProtectionSettings,\n LogFiles,\n LocationBasedCapabilities,\n LocationBasedCapabilitySet,\n CheckVirtualNetworkSubnetUsage,\n CheckNameAvailability,\n CheckNameAvailabilityWithoutLocation,\n OperationResults,\n OperationProgress,\n GetPrivateDnsZoneSuffix,\n Operations,\n Maintenances,\n} from \"./operationsInterfaces/index.js\";\nimport { MySQLManagementFlexibleServerClientOptionalParams } from \"./models/index.js\";\n\nexport class MySQLManagementFlexibleServerClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the MySQLManagementFlexibleServerClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?:\n | MySQLManagementFlexibleServerClientOptionalParams\n | string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: MySQLManagementFlexibleServerClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.azureADAdministrators = new AzureADAdministratorsImpl(this);\n this.backups = new BackupsImpl(this);\n this.backupAndExport = new BackupAndExportImpl(this);\n this.longRunningBackup = new LongRunningBackupImpl(this);\n this.longRunningBackups = new LongRunningBackupsImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.databases = new DatabasesImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.serversMigration = new ServersMigrationImpl(this);\n this.advancedThreatProtectionSettings =\n new AdvancedThreatProtectionSettingsImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.locationBasedCapabilities = new LocationBasedCapabilitiesImpl(this);\n this.locationBasedCapabilitySet = new LocationBasedCapabilitySetImpl(this);\n this.checkVirtualNetworkSubnetUsage =\n new CheckVirtualNetworkSubnetUsageImpl(this);\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.checkNameAvailabilityWithoutLocation =\n new CheckNameAvailabilityWithoutLocationImpl(this);\n this.operationResults = new OperationResultsImpl(this);\n this.operationProgress = new OperationProgressImpl(this);\n this.getPrivateDnsZoneSuffix = new GetPrivateDnsZoneSuffixImpl(this);\n this.operations = new OperationsImpl(this);\n this.maintenances = new MaintenancesImpl(this);\n }\n\n azureADAdministrators: AzureADAdministrators;\n backups: Backups;\n backupAndExport: BackupAndExport;\n longRunningBackup: LongRunningBackup;\n longRunningBackups: LongRunningBackups;\n configurations: Configurations;\n databases: Databases;\n firewallRules: FirewallRules;\n servers: Servers;\n replicas: Replicas;\n serversMigration: ServersMigration;\n advancedThreatProtectionSettings: AdvancedThreatProtectionSettings;\n logFiles: LogFiles;\n locationBasedCapabilities: LocationBasedCapabilities;\n locationBasedCapabilitySet: LocationBasedCapabilitySet;\n checkVirtualNetworkSubnetUsage: CheckVirtualNetworkSubnetUsage;\n checkNameAvailability: CheckNameAvailability;\n checkNameAvailabilityWithoutLocation: CheckNameAvailabilityWithoutLocation;\n operationResults: OperationResults;\n operationProgress: OperationProgress;\n getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;\n operations: Operations;\n maintenances: Maintenances;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"mySQLManagementFlexibleServerClient.js","sourceRoot":"","sources":["../../src/mySQLManagementFlexibleServerClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,yBAAyB,EACzB,WAAW,EACX,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,oBAAoB,EACpB,oCAAoC,EACpC,YAAY,EACZ,6BAA6B,EAC7B,8BAA8B,EAC9B,kCAAkC,EAClC,yBAAyB,EACzB,wCAAwC,EACxC,oBAAoB,EACpB,qBAAqB,EACrB,2BAA2B,EAC3B,cAAc,EACd,gBAAgB,GACjB,MAAM,uBAAuB,CAAC;AA4B/B,MAAM,OAAO,mCAAoC,SAAQ,UAAU,CAAC,aAAa;IAC/E,KAAK,CAAS;IACd,cAAc,CAAU;IAiBxB,YACE,WAAqC,EACrC,uBAEU,EACV,OAA2D;QAE3D,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,IAAI,cAAkC,CAAC;QAEvC,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YAChD,cAAc,GAAG,uBAAuB,CAAC;QAC3C,CAAC;aAAM,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YACvD,OAAO,GAAG,uBAAuB,CAAC;QACpC,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAsD;YAClE,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WA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\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AzureADAdministratorsImpl,\n BackupsImpl,\n BackupAndExportImpl,\n LongRunningBackupImpl,\n LongRunningBackupsImpl,\n ConfigurationsImpl,\n DatabasesImpl,\n FirewallRulesImpl,\n ServersImpl,\n ReplicasImpl,\n ServersMigrationImpl,\n AdvancedThreatProtectionSettingsImpl,\n LogFilesImpl,\n LocationBasedCapabilitiesImpl,\n LocationBasedCapabilitySetImpl,\n CheckVirtualNetworkSubnetUsageImpl,\n CheckNameAvailabilityImpl,\n CheckNameAvailabilityWithoutLocationImpl,\n OperationResultsImpl,\n OperationProgressImpl,\n GetPrivateDnsZoneSuffixImpl,\n OperationsImpl,\n MaintenancesImpl,\n} from \"./operations/index.js\";\nimport {\n AzureADAdministrators,\n Backups,\n BackupAndExport,\n LongRunningBackup,\n LongRunningBackups,\n Configurations,\n Databases,\n FirewallRules,\n Servers,\n Replicas,\n ServersMigration,\n AdvancedThreatProtectionSettings,\n LogFiles,\n LocationBasedCapabilities,\n LocationBasedCapabilitySet,\n CheckVirtualNetworkSubnetUsage,\n CheckNameAvailability,\n CheckNameAvailabilityWithoutLocation,\n OperationResults,\n OperationProgress,\n GetPrivateDnsZoneSuffix,\n Operations,\n Maintenances,\n} from \"./operationsInterfaces/index.js\";\nimport { MySQLManagementFlexibleServerClientOptionalParams } from \"./models/index.js\";\n\nexport class MySQLManagementFlexibleServerClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the MySQLManagementFlexibleServerClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?:\n | MySQLManagementFlexibleServerClientOptionalParams\n | string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: MySQLManagementFlexibleServerClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.5`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.azureADAdministrators = new AzureADAdministratorsImpl(this);\n this.backups = new BackupsImpl(this);\n this.backupAndExport = new BackupAndExportImpl(this);\n this.longRunningBackup = new LongRunningBackupImpl(this);\n this.longRunningBackups = new LongRunningBackupsImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.databases = new DatabasesImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.serversMigration = new ServersMigrationImpl(this);\n this.advancedThreatProtectionSettings =\n new AdvancedThreatProtectionSettingsImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.locationBasedCapabilities = new LocationBasedCapabilitiesImpl(this);\n this.locationBasedCapabilitySet = new LocationBasedCapabilitySetImpl(this);\n this.checkVirtualNetworkSubnetUsage =\n new CheckVirtualNetworkSubnetUsageImpl(this);\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.checkNameAvailabilityWithoutLocation =\n new CheckNameAvailabilityWithoutLocationImpl(this);\n this.operationResults = new OperationResultsImpl(this);\n this.operationProgress = new OperationProgressImpl(this);\n this.getPrivateDnsZoneSuffix = new GetPrivateDnsZoneSuffixImpl(this);\n this.operations = new OperationsImpl(this);\n this.maintenances = new MaintenancesImpl(this);\n }\n\n azureADAdministrators: AzureADAdministrators;\n backups: Backups;\n backupAndExport: BackupAndExport;\n longRunningBackup: LongRunningBackup;\n longRunningBackups: LongRunningBackups;\n configurations: Configurations;\n databases: Databases;\n firewallRules: FirewallRules;\n servers: Servers;\n replicas: Replicas;\n serversMigration: ServersMigration;\n advancedThreatProtectionSettings: AdvancedThreatProtectionSettings;\n logFiles: LogFiles;\n locationBasedCapabilities: LocationBasedCapabilities;\n locationBasedCapabilitySet: LocationBasedCapabilitySet;\n checkVirtualNetworkSubnetUsage: CheckVirtualNetworkSubnetUsage;\n checkNameAvailability: CheckNameAvailability;\n checkNameAvailabilityWithoutLocation: CheckNameAvailabilityWithoutLocation;\n operationResults: OperationResults;\n operationProgress: OperationProgress;\n getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;\n operations: Operations;\n maintenances: Maintenances;\n}\n"]}
|
|
@@ -34,7 +34,7 @@ class MySQLManagementFlexibleServerClient extends coreClient.ServiceClient {
|
|
|
34
34
|
requestContentType: "application/json; charset=utf-8",
|
|
35
35
|
credential: credentials,
|
|
36
36
|
};
|
|
37
|
-
const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.
|
|
37
|
+
const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.5`;
|
|
38
38
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
39
39
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
40
40
|
: `${packageDetails}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mySQLManagementFlexibleServerClient.js","sourceRoot":"","sources":["../../src/mySQLManagementFlexibleServerClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAE9D,oDAwB+B;AA4B/B,MAAa,mCAAoC,SAAQ,UAAU,CAAC,aAAa;IAC/E,KAAK,CAAS;IACd,cAAc,CAAU;IAiBxB,YACE,WAAqC,EACrC,uBAEU,EACV,OAA2D;QAE3D,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,IAAI,cAAkC,CAAC;QAEvC,IAAI,OAAO,uBAAuB,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IACnB,gBAAgB,CAAmB;IACnC,gCAAgC,CAAmC;IACnE,QAAQ,CAAW;IACnB,yBAAyB,CAA4B;IACrD,0BAA0B,CAA6B;IACvD,8BAA8B,CAAiC;IAC/D,qBAAqB,CAAwB;IAC7C,oCAAoC,CAAuC;IAC3E,gBAAgB,CAAmB;IACnC,iBAAiB,CAAoB;IACrC,uBAAuB,CAA0B;IACjD,UAAU,CAAa;IACvB,YAAY,CAAe;CAC5B;AAxJD,kFAwJC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AzureADAdministratorsImpl,\n BackupsImpl,\n BackupAndExportImpl,\n LongRunningBackupImpl,\n LongRunningBackupsImpl,\n ConfigurationsImpl,\n DatabasesImpl,\n FirewallRulesImpl,\n ServersImpl,\n ReplicasImpl,\n ServersMigrationImpl,\n AdvancedThreatProtectionSettingsImpl,\n LogFilesImpl,\n LocationBasedCapabilitiesImpl,\n LocationBasedCapabilitySetImpl,\n CheckVirtualNetworkSubnetUsageImpl,\n CheckNameAvailabilityImpl,\n CheckNameAvailabilityWithoutLocationImpl,\n OperationResultsImpl,\n OperationProgressImpl,\n GetPrivateDnsZoneSuffixImpl,\n OperationsImpl,\n MaintenancesImpl,\n} from \"./operations/index.js\";\nimport {\n AzureADAdministrators,\n Backups,\n BackupAndExport,\n LongRunningBackup,\n LongRunningBackups,\n Configurations,\n Databases,\n FirewallRules,\n Servers,\n Replicas,\n ServersMigration,\n AdvancedThreatProtectionSettings,\n LogFiles,\n LocationBasedCapabilities,\n LocationBasedCapabilitySet,\n CheckVirtualNetworkSubnetUsage,\n CheckNameAvailability,\n CheckNameAvailabilityWithoutLocation,\n OperationResults,\n OperationProgress,\n GetPrivateDnsZoneSuffix,\n Operations,\n Maintenances,\n} from \"./operationsInterfaces/index.js\";\nimport { MySQLManagementFlexibleServerClientOptionalParams } from \"./models/index.js\";\n\nexport class MySQLManagementFlexibleServerClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the MySQLManagementFlexibleServerClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?:\n | MySQLManagementFlexibleServerClientOptionalParams\n | string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: MySQLManagementFlexibleServerClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.azureADAdministrators = new AzureADAdministratorsImpl(this);\n this.backups = new BackupsImpl(this);\n this.backupAndExport = new BackupAndExportImpl(this);\n this.longRunningBackup = new LongRunningBackupImpl(this);\n this.longRunningBackups = new LongRunningBackupsImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.databases = new DatabasesImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.serversMigration = new ServersMigrationImpl(this);\n this.advancedThreatProtectionSettings =\n new AdvancedThreatProtectionSettingsImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.locationBasedCapabilities = new LocationBasedCapabilitiesImpl(this);\n this.locationBasedCapabilitySet = new LocationBasedCapabilitySetImpl(this);\n this.checkVirtualNetworkSubnetUsage =\n new CheckVirtualNetworkSubnetUsageImpl(this);\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.checkNameAvailabilityWithoutLocation =\n new CheckNameAvailabilityWithoutLocationImpl(this);\n this.operationResults = new OperationResultsImpl(this);\n this.operationProgress = new OperationProgressImpl(this);\n this.getPrivateDnsZoneSuffix = new GetPrivateDnsZoneSuffixImpl(this);\n this.operations = new OperationsImpl(this);\n this.maintenances = new MaintenancesImpl(this);\n }\n\n azureADAdministrators: AzureADAdministrators;\n backups: Backups;\n backupAndExport: BackupAndExport;\n longRunningBackup: LongRunningBackup;\n longRunningBackups: LongRunningBackups;\n configurations: Configurations;\n databases: Databases;\n firewallRules: FirewallRules;\n servers: Servers;\n replicas: Replicas;\n serversMigration: ServersMigration;\n advancedThreatProtectionSettings: AdvancedThreatProtectionSettings;\n logFiles: LogFiles;\n locationBasedCapabilities: LocationBasedCapabilities;\n locationBasedCapabilitySet: LocationBasedCapabilitySet;\n checkVirtualNetworkSubnetUsage: CheckVirtualNetworkSubnetUsage;\n checkNameAvailability: CheckNameAvailability;\n checkNameAvailabilityWithoutLocation: CheckNameAvailabilityWithoutLocation;\n operationResults: OperationResults;\n operationProgress: OperationProgress;\n getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;\n operations: Operations;\n maintenances: Maintenances;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"mySQLManagementFlexibleServerClient.js","sourceRoot":"","sources":["../../src/mySQLManagementFlexibleServerClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAE9D,oDAwB+B;AA4B/B,MAAa,mCAAoC,SAAQ,UAAU,CAAC,aAAa;IAC/E,KAAK,CAAS;IACd,cAAc,CAAU;IAiBxB,YACE,WAAqC,EACrC,uBAEU,EACV,OAA2D;QAE3D,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,IAAI,cAAkC,CAAC;QAEvC,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YAChD,cAAc,GAAG,uBAAuB,CA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,CAAW;IACnB,yBAAyB,CAA4B;IACrD,0BAA0B,CAA6B;IACvD,8BAA8B,CAAiC;IAC/D,qBAAqB,CAAwB;IAC7C,oCAAoC,CAAuC;IAC3E,gBAAgB,CAAmB;IACnC,iBAAiB,CAAoB;IACrC,uBAAuB,CAA0B;IACjD,UAAU,CAAa;IACvB,YAAY,CAAe;CAC5B;AAxJD,kFAwJC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AzureADAdministratorsImpl,\n BackupsImpl,\n BackupAndExportImpl,\n LongRunningBackupImpl,\n LongRunningBackupsImpl,\n ConfigurationsImpl,\n DatabasesImpl,\n FirewallRulesImpl,\n ServersImpl,\n ReplicasImpl,\n ServersMigrationImpl,\n AdvancedThreatProtectionSettingsImpl,\n LogFilesImpl,\n LocationBasedCapabilitiesImpl,\n LocationBasedCapabilitySetImpl,\n CheckVirtualNetworkSubnetUsageImpl,\n CheckNameAvailabilityImpl,\n CheckNameAvailabilityWithoutLocationImpl,\n OperationResultsImpl,\n OperationProgressImpl,\n GetPrivateDnsZoneSuffixImpl,\n OperationsImpl,\n MaintenancesImpl,\n} from \"./operations/index.js\";\nimport {\n AzureADAdministrators,\n Backups,\n BackupAndExport,\n LongRunningBackup,\n LongRunningBackups,\n Configurations,\n Databases,\n FirewallRules,\n Servers,\n Replicas,\n ServersMigration,\n AdvancedThreatProtectionSettings,\n LogFiles,\n LocationBasedCapabilities,\n LocationBasedCapabilitySet,\n CheckVirtualNetworkSubnetUsage,\n CheckNameAvailability,\n CheckNameAvailabilityWithoutLocation,\n OperationResults,\n OperationProgress,\n GetPrivateDnsZoneSuffix,\n Operations,\n Maintenances,\n} from \"./operationsInterfaces/index.js\";\nimport { MySQLManagementFlexibleServerClientOptionalParams } from \"./models/index.js\";\n\nexport class MySQLManagementFlexibleServerClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the MySQLManagementFlexibleServerClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?:\n | MySQLManagementFlexibleServerClientOptionalParams\n | string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: MySQLManagementFlexibleServerClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.5`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.azureADAdministrators = new AzureADAdministratorsImpl(this);\n this.backups = new BackupsImpl(this);\n this.backupAndExport = new BackupAndExportImpl(this);\n this.longRunningBackup = new LongRunningBackupImpl(this);\n this.longRunningBackups = new LongRunningBackupsImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.databases = new DatabasesImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.serversMigration = new ServersMigrationImpl(this);\n this.advancedThreatProtectionSettings =\n new AdvancedThreatProtectionSettingsImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.locationBasedCapabilities = new LocationBasedCapabilitiesImpl(this);\n this.locationBasedCapabilitySet = new LocationBasedCapabilitySetImpl(this);\n this.checkVirtualNetworkSubnetUsage =\n new CheckVirtualNetworkSubnetUsageImpl(this);\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.checkNameAvailabilityWithoutLocation =\n new CheckNameAvailabilityWithoutLocationImpl(this);\n this.operationResults = new OperationResultsImpl(this);\n this.operationProgress = new OperationProgressImpl(this);\n this.getPrivateDnsZoneSuffix = new GetPrivateDnsZoneSuffixImpl(this);\n this.operations = new OperationsImpl(this);\n this.maintenances = new MaintenancesImpl(this);\n }\n\n azureADAdministrators: AzureADAdministrators;\n backups: Backups;\n backupAndExport: BackupAndExport;\n longRunningBackup: LongRunningBackup;\n longRunningBackups: LongRunningBackups;\n configurations: Configurations;\n databases: Databases;\n firewallRules: FirewallRules;\n servers: Servers;\n replicas: Replicas;\n serversMigration: ServersMigration;\n advancedThreatProtectionSettings: AdvancedThreatProtectionSettings;\n logFiles: LogFiles;\n locationBasedCapabilities: LocationBasedCapabilities;\n locationBasedCapabilitySet: LocationBasedCapabilitySet;\n checkVirtualNetworkSubnetUsage: CheckVirtualNetworkSubnetUsage;\n checkNameAvailability: CheckNameAvailability;\n checkNameAvailabilityWithoutLocation: CheckNameAvailabilityWithoutLocation;\n operationResults: OperationResults;\n operationProgress: OperationProgress;\n getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;\n operations: Operations;\n maintenances: Maintenances;\n}\n"]}
|
|
@@ -30,7 +30,7 @@ export class MySQLManagementFlexibleServerClient extends coreClient.ServiceClien
|
|
|
30
30
|
requestContentType: "application/json; charset=utf-8",
|
|
31
31
|
credential: credentials,
|
|
32
32
|
};
|
|
33
|
-
const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.
|
|
33
|
+
const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.5`;
|
|
34
34
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
35
35
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
36
36
|
: `${packageDetails}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mySQLManagementFlexibleServerClient.js","sourceRoot":"","sources":["../../src/mySQLManagementFlexibleServerClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB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,IAAI,CAAC,qBAAqB,GAAG,IAAI,yBAAyB,CAAC,IAAI,CAAC,CAAC;QACjE,IAAI,CAAC,oCAAoC;YACvC,IAAI,wCAAwC,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,gBAAgB,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,CAAC;QACvD,IAAI,CAAC,iBAAiB,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,uBAAuB,GAAG,IAAI,2BAA2B,CAAC,IAAI,CAAC,CAAC;QACrE,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,YAAY,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IAED,qBAAqB,CAAwB;IAC7C,OAAO,CAAU;IACjB,eAAe,CAAkB;IACjC,iBAAiB,CAAoB;IACrC,kBAAkB,CAAqB;IACvC,cAAc,CAAiB;IAC/B,SAAS,CAAY;IACrB,aAAa,CAAgB;IAC7B,OAAO,CAAU;IACjB,QAAQ,CAAW;IACnB,gBAAgB,CAAmB;IACnC,gCAAgC,CAAmC;IACnE,QAAQ,CAAW;IACnB,yBAAyB,CAA4B;IACrD,0BAA0B,CAA6B;IACvD,8BAA8B,CAAiC;IAC/D,qBAAqB,CAAwB;IAC7C,oCAAoC,CAAuC;IAC3E,gBAAgB,CAAmB;IACnC,iBAAiB,CAAoB;IACrC,uBAAuB,CAA0B;IACjD,UAAU,CAAa;IACvB,YAAY,CAAe;CAC5B","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AzureADAdministratorsImpl,\n BackupsImpl,\n BackupAndExportImpl,\n LongRunningBackupImpl,\n LongRunningBackupsImpl,\n ConfigurationsImpl,\n DatabasesImpl,\n FirewallRulesImpl,\n ServersImpl,\n ReplicasImpl,\n ServersMigrationImpl,\n AdvancedThreatProtectionSettingsImpl,\n LogFilesImpl,\n LocationBasedCapabilitiesImpl,\n LocationBasedCapabilitySetImpl,\n CheckVirtualNetworkSubnetUsageImpl,\n CheckNameAvailabilityImpl,\n CheckNameAvailabilityWithoutLocationImpl,\n OperationResultsImpl,\n OperationProgressImpl,\n GetPrivateDnsZoneSuffixImpl,\n OperationsImpl,\n MaintenancesImpl,\n} from \"./operations/index.js\";\nimport {\n AzureADAdministrators,\n Backups,\n BackupAndExport,\n LongRunningBackup,\n LongRunningBackups,\n Configurations,\n Databases,\n FirewallRules,\n Servers,\n Replicas,\n ServersMigration,\n AdvancedThreatProtectionSettings,\n LogFiles,\n LocationBasedCapabilities,\n LocationBasedCapabilitySet,\n CheckVirtualNetworkSubnetUsage,\n CheckNameAvailability,\n CheckNameAvailabilityWithoutLocation,\n OperationResults,\n OperationProgress,\n GetPrivateDnsZoneSuffix,\n Operations,\n Maintenances,\n} from \"./operationsInterfaces/index.js\";\nimport { MySQLManagementFlexibleServerClientOptionalParams } from \"./models/index.js\";\n\nexport class MySQLManagementFlexibleServerClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the MySQLManagementFlexibleServerClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?:\n | MySQLManagementFlexibleServerClientOptionalParams\n | string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: MySQLManagementFlexibleServerClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.azureADAdministrators = new AzureADAdministratorsImpl(this);\n this.backups = new BackupsImpl(this);\n this.backupAndExport = new BackupAndExportImpl(this);\n this.longRunningBackup = new LongRunningBackupImpl(this);\n this.longRunningBackups = new LongRunningBackupsImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.databases = new DatabasesImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.serversMigration = new ServersMigrationImpl(this);\n this.advancedThreatProtectionSettings =\n new AdvancedThreatProtectionSettingsImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.locationBasedCapabilities = new LocationBasedCapabilitiesImpl(this);\n this.locationBasedCapabilitySet = new LocationBasedCapabilitySetImpl(this);\n this.checkVirtualNetworkSubnetUsage =\n new CheckVirtualNetworkSubnetUsageImpl(this);\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.checkNameAvailabilityWithoutLocation =\n new CheckNameAvailabilityWithoutLocationImpl(this);\n this.operationResults = new OperationResultsImpl(this);\n this.operationProgress = new OperationProgressImpl(this);\n this.getPrivateDnsZoneSuffix = new GetPrivateDnsZoneSuffixImpl(this);\n this.operations = new OperationsImpl(this);\n this.maintenances = new MaintenancesImpl(this);\n }\n\n azureADAdministrators: AzureADAdministrators;\n backups: Backups;\n backupAndExport: BackupAndExport;\n longRunningBackup: LongRunningBackup;\n longRunningBackups: LongRunningBackups;\n configurations: Configurations;\n databases: Databases;\n firewallRules: FirewallRules;\n servers: Servers;\n replicas: Replicas;\n serversMigration: ServersMigration;\n advancedThreatProtectionSettings: AdvancedThreatProtectionSettings;\n logFiles: LogFiles;\n locationBasedCapabilities: LocationBasedCapabilities;\n locationBasedCapabilitySet: LocationBasedCapabilitySet;\n checkVirtualNetworkSubnetUsage: CheckVirtualNetworkSubnetUsage;\n checkNameAvailability: CheckNameAvailability;\n checkNameAvailabilityWithoutLocation: CheckNameAvailabilityWithoutLocation;\n operationResults: OperationResults;\n operationProgress: OperationProgress;\n getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;\n operations: Operations;\n maintenances: Maintenances;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"mySQLManagementFlexibleServerClient.js","sourceRoot":"","sources":["../../src/mySQLManagementFlexibleServerClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,yBAAyB,EACzB,WAAW,EACX,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,oBAAoB,EACpB,oCAAoC,EACpC,YAAY,EACZ,6BAA6B,EAC7B,8BAA8B,EAC9B,kCAAkC,EAClC,yBAAyB,EACzB,wCAAwC,EACxC,oBAAoB,EACpB,qBAAqB,EACrB,2BAA2B,EAC3B,cAAc,EACd,gBAAgB,GACjB,MAAM,uBAAuB,CAAC;AA4B/B,MAAM,OAAO,mCAAoC,SAAQ,UAAU,CAAC,aAAa;IAC/E,KAAK,CAAS;IACd,cAAc,CAAU;IAiBxB,YACE,WAAqC,EACrC,uBAEU,EACV,OAA2D;QAE3D,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,IAAI,cAAkC,CAAC;QAEvC,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YAChD,cAAc,GAAG,uBAAuB,CAAC;QAC3C,CAAC;aAAM,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YACvD,OAAO,GAAG,uBAAuB,CAAC;QACpC,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OA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,CAAoB;IACrC,uBAAuB,CAA0B;IACjD,UAAU,CAAa;IACvB,YAAY,CAAe;CAC5B","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AzureADAdministratorsImpl,\n BackupsImpl,\n BackupAndExportImpl,\n LongRunningBackupImpl,\n LongRunningBackupsImpl,\n ConfigurationsImpl,\n DatabasesImpl,\n FirewallRulesImpl,\n ServersImpl,\n ReplicasImpl,\n ServersMigrationImpl,\n AdvancedThreatProtectionSettingsImpl,\n LogFilesImpl,\n LocationBasedCapabilitiesImpl,\n LocationBasedCapabilitySetImpl,\n CheckVirtualNetworkSubnetUsageImpl,\n CheckNameAvailabilityImpl,\n CheckNameAvailabilityWithoutLocationImpl,\n OperationResultsImpl,\n OperationProgressImpl,\n GetPrivateDnsZoneSuffixImpl,\n OperationsImpl,\n MaintenancesImpl,\n} from \"./operations/index.js\";\nimport {\n AzureADAdministrators,\n Backups,\n BackupAndExport,\n LongRunningBackup,\n LongRunningBackups,\n Configurations,\n Databases,\n FirewallRules,\n Servers,\n Replicas,\n ServersMigration,\n AdvancedThreatProtectionSettings,\n LogFiles,\n LocationBasedCapabilities,\n LocationBasedCapabilitySet,\n CheckVirtualNetworkSubnetUsage,\n CheckNameAvailability,\n CheckNameAvailabilityWithoutLocation,\n OperationResults,\n OperationProgress,\n GetPrivateDnsZoneSuffix,\n Operations,\n Maintenances,\n} from \"./operationsInterfaces/index.js\";\nimport { MySQLManagementFlexibleServerClientOptionalParams } from \"./models/index.js\";\n\nexport class MySQLManagementFlexibleServerClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the MySQLManagementFlexibleServerClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?:\n | MySQLManagementFlexibleServerClientOptionalParams\n | string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: MySQLManagementFlexibleServerClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.5`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.azureADAdministrators = new AzureADAdministratorsImpl(this);\n this.backups = new BackupsImpl(this);\n this.backupAndExport = new BackupAndExportImpl(this);\n this.longRunningBackup = new LongRunningBackupImpl(this);\n this.longRunningBackups = new LongRunningBackupsImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.databases = new DatabasesImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.serversMigration = new ServersMigrationImpl(this);\n this.advancedThreatProtectionSettings =\n new AdvancedThreatProtectionSettingsImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.locationBasedCapabilities = new LocationBasedCapabilitiesImpl(this);\n this.locationBasedCapabilitySet = new LocationBasedCapabilitySetImpl(this);\n this.checkVirtualNetworkSubnetUsage =\n new CheckVirtualNetworkSubnetUsageImpl(this);\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.checkNameAvailabilityWithoutLocation =\n new CheckNameAvailabilityWithoutLocationImpl(this);\n this.operationResults = new OperationResultsImpl(this);\n this.operationProgress = new OperationProgressImpl(this);\n this.getPrivateDnsZoneSuffix = new GetPrivateDnsZoneSuffixImpl(this);\n this.operations = new OperationsImpl(this);\n this.maintenances = new MaintenancesImpl(this);\n }\n\n azureADAdministrators: AzureADAdministrators;\n backups: Backups;\n backupAndExport: BackupAndExport;\n longRunningBackup: LongRunningBackup;\n longRunningBackups: LongRunningBackups;\n configurations: Configurations;\n databases: Databases;\n firewallRules: FirewallRules;\n servers: Servers;\n replicas: Replicas;\n serversMigration: ServersMigration;\n advancedThreatProtectionSettings: AdvancedThreatProtectionSettings;\n logFiles: LogFiles;\n locationBasedCapabilities: LocationBasedCapabilities;\n locationBasedCapabilitySet: LocationBasedCapabilitySet;\n checkVirtualNetworkSubnetUsage: CheckVirtualNetworkSubnetUsage;\n checkNameAvailability: CheckNameAvailability;\n checkNameAvailabilityWithoutLocation: CheckNameAvailabilityWithoutLocation;\n operationResults: OperationResults;\n operationProgress: OperationProgress;\n getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;\n operations: Operations;\n maintenances: Maintenances;\n}\n"]}
|
|
@@ -30,7 +30,7 @@ export class MySQLManagementFlexibleServerClient extends coreClient.ServiceClien
|
|
|
30
30
|
requestContentType: "application/json; charset=utf-8",
|
|
31
31
|
credential: credentials,
|
|
32
32
|
};
|
|
33
|
-
const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.
|
|
33
|
+
const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.5`;
|
|
34
34
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
35
35
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
36
36
|
: `${packageDetails}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mySQLManagementFlexibleServerClient.js","sourceRoot":"","sources":["../../src/mySQLManagementFlexibleServerClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,yBAAyB,EACzB,WAAW,EACX,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,EAClB,aAAa,EACb,iBAA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AAI,oBAAoB,CAAC,IAAI,CAAC,CAAC;QACvD,IAAI,CAAC,iBAAiB,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,uBAAuB,GAAG,IAAI,2BAA2B,CAAC,IAAI,CAAC,CAAC;QACrE,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,YAAY,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IAED,qBAAqB,CAAwB;IAC7C,OAAO,CAAU;IACjB,eAAe,CAAkB;IACjC,iBAAiB,CAAoB;IACrC,kBAAkB,CAAqB;IACvC,cAAc,CAAiB;IAC/B,SAAS,CAAY;IACrB,aAAa,CAAgB;IAC7B,OAAO,CAAU;IACjB,QAAQ,CAAW;IACnB,gBAAgB,CAAmB;IACnC,gCAAgC,CAAmC;IACnE,QAAQ,CAAW;IACnB,yBAAyB,CAA4B;IACrD,0BAA0B,CAA6B;IACvD,8BAA8B,CAAiC;IAC/D,qBAAqB,CAAwB;IAC7C,oCAAoC,CAAuC;IAC3E,gBAAgB,CAAmB;IACnC,iBAAiB,CAAoB;IACrC,uBAAuB,CAA0B;IACjD,UAAU,CAAa;IACvB,YAAY,CAAe;CAC5B","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AzureADAdministratorsImpl,\n BackupsImpl,\n BackupAndExportImpl,\n LongRunningBackupImpl,\n LongRunningBackupsImpl,\n ConfigurationsImpl,\n DatabasesImpl,\n FirewallRulesImpl,\n ServersImpl,\n ReplicasImpl,\n ServersMigrationImpl,\n AdvancedThreatProtectionSettingsImpl,\n LogFilesImpl,\n LocationBasedCapabilitiesImpl,\n LocationBasedCapabilitySetImpl,\n CheckVirtualNetworkSubnetUsageImpl,\n CheckNameAvailabilityImpl,\n CheckNameAvailabilityWithoutLocationImpl,\n OperationResultsImpl,\n OperationProgressImpl,\n GetPrivateDnsZoneSuffixImpl,\n OperationsImpl,\n MaintenancesImpl,\n} from \"./operations/index.js\";\nimport {\n AzureADAdministrators,\n Backups,\n BackupAndExport,\n LongRunningBackup,\n LongRunningBackups,\n Configurations,\n Databases,\n FirewallRules,\n Servers,\n Replicas,\n ServersMigration,\n AdvancedThreatProtectionSettings,\n LogFiles,\n LocationBasedCapabilities,\n LocationBasedCapabilitySet,\n CheckVirtualNetworkSubnetUsage,\n CheckNameAvailability,\n CheckNameAvailabilityWithoutLocation,\n OperationResults,\n OperationProgress,\n GetPrivateDnsZoneSuffix,\n Operations,\n Maintenances,\n} from \"./operationsInterfaces/index.js\";\nimport { MySQLManagementFlexibleServerClientOptionalParams } from \"./models/index.js\";\n\nexport class MySQLManagementFlexibleServerClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the MySQLManagementFlexibleServerClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?:\n | MySQLManagementFlexibleServerClientOptionalParams\n | string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: MySQLManagementFlexibleServerClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.azureADAdministrators = new AzureADAdministratorsImpl(this);\n this.backups = new BackupsImpl(this);\n this.backupAndExport = new BackupAndExportImpl(this);\n this.longRunningBackup = new LongRunningBackupImpl(this);\n this.longRunningBackups = new LongRunningBackupsImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.databases = new DatabasesImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.serversMigration = new ServersMigrationImpl(this);\n this.advancedThreatProtectionSettings =\n new AdvancedThreatProtectionSettingsImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.locationBasedCapabilities = new LocationBasedCapabilitiesImpl(this);\n this.locationBasedCapabilitySet = new LocationBasedCapabilitySetImpl(this);\n this.checkVirtualNetworkSubnetUsage =\n new CheckVirtualNetworkSubnetUsageImpl(this);\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.checkNameAvailabilityWithoutLocation =\n new CheckNameAvailabilityWithoutLocationImpl(this);\n this.operationResults = new OperationResultsImpl(this);\n this.operationProgress = new OperationProgressImpl(this);\n this.getPrivateDnsZoneSuffix = new GetPrivateDnsZoneSuffixImpl(this);\n this.operations = new OperationsImpl(this);\n this.maintenances = new MaintenancesImpl(this);\n }\n\n azureADAdministrators: AzureADAdministrators;\n backups: Backups;\n backupAndExport: BackupAndExport;\n longRunningBackup: LongRunningBackup;\n longRunningBackups: LongRunningBackups;\n configurations: Configurations;\n databases: Databases;\n firewallRules: FirewallRules;\n servers: Servers;\n replicas: Replicas;\n serversMigration: ServersMigration;\n advancedThreatProtectionSettings: AdvancedThreatProtectionSettings;\n logFiles: LogFiles;\n locationBasedCapabilities: LocationBasedCapabilities;\n locationBasedCapabilitySet: LocationBasedCapabilitySet;\n checkVirtualNetworkSubnetUsage: CheckVirtualNetworkSubnetUsage;\n checkNameAvailability: CheckNameAvailability;\n checkNameAvailabilityWithoutLocation: CheckNameAvailabilityWithoutLocation;\n operationResults: OperationResults;\n operationProgress: OperationProgress;\n getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;\n operations: Operations;\n maintenances: Maintenances;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"mySQLManagementFlexibleServerClient.js","sourceRoot":"","sources":["../../src/mySQLManagementFlexibleServerClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,yBAAyB,EACzB,WAAW,EACX,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,oBAAoB,EACpB,oCAAoC,EACpC,YAAY,EACZ,6BAA6B,EAC7B,8BAA8B,EAC9B,kCAAkC,EAClC,yBAAyB,EACzB,wCAAwC,EACxC,oBAAoB,EACpB,qBAAqB,EACrB,2BAA2B,EAC3B,cAAc,EACd,gBAAgB,GACjB,MAAM,uBAAuB,CAAC;AA4B/B,MAAM,OAAO,mCAAoC,SAAQ,UAAU,CAAC,aAAa;IAC/E,KAAK,CAAS;IACd,cAAc,CAAU;IAiBxB,YACE,WAAqC,EACrC,uBAEU,EACV,OAA2D;QAE3D,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,IAAI,cAAkC,CAAC;QAEvC,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YAChD,cAAc,GAAG,uBAAuB,CAAC;QAC3C,CAAC;aAAM,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YACvD,OAAO,GAAG,uBAAuB,CAAC;QACpC,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAsD;YAClE,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,0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CAAC;QACzE,IAAI,CAAC,0BAA0B,GAAG,IAAI,8BAA8B,CAAC,IAAI,CAAC,CAAC;QAC3E,IAAI,CAAC,8BAA8B;YACjC,IAAI,kCAAkC,CAAC,IAAI,CAAC,CAAC;QAC/C,IAAI,CAAC,qBAAqB,GAAG,IAAI,yBAAyB,CAAC,IAAI,CAAC,CAAC;QACjE,IAAI,CAAC,oCAAoC;YACvC,IAAI,wCAAwC,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,gBAAgB,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,CAAC;QACvD,IAAI,CAAC,iBAAiB,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,uBAAuB,GAAG,IAAI,2BAA2B,CAAC,IAAI,CAAC,CAAC;QACrE,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,YAAY,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IAED,qBAAqB,CAAwB;IAC7C,OAAO,CAAU;IACjB,eAAe,CAAkB;IACjC,iBAAiB,CAAoB;IACrC,kBAAkB,CAAqB;IACvC,cAAc,CAAiB;IAC/B,SAAS,CAAY;IACrB,aAAa,CAAgB;IAC7B,OAAO,CAAU;IACjB,QAAQ,CAAW;IACnB,gBAAgB,CAAmB;IACnC,gCAAgC,CAAmC;IACnE,QAAQ,CAAW;IACnB,yBAAyB,CAA4B;IACrD,0BAA0B,CAA6B;IACvD,8BAA8B,CAAiC;IAC/D,qBAAqB,CAAwB;IAC7C,oCAAoC,CAAuC;IAC3E,gBAAgB,CAAmB;IACnC,iBAAiB,CAAoB;IACrC,uBAAuB,CAA0B;IACjD,UAAU,CAAa;IACvB,YAAY,CAAe;CAC5B","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AzureADAdministratorsImpl,\n BackupsImpl,\n BackupAndExportImpl,\n LongRunningBackupImpl,\n LongRunningBackupsImpl,\n ConfigurationsImpl,\n DatabasesImpl,\n FirewallRulesImpl,\n ServersImpl,\n ReplicasImpl,\n ServersMigrationImpl,\n AdvancedThreatProtectionSettingsImpl,\n LogFilesImpl,\n LocationBasedCapabilitiesImpl,\n LocationBasedCapabilitySetImpl,\n CheckVirtualNetworkSubnetUsageImpl,\n CheckNameAvailabilityImpl,\n CheckNameAvailabilityWithoutLocationImpl,\n OperationResultsImpl,\n OperationProgressImpl,\n GetPrivateDnsZoneSuffixImpl,\n OperationsImpl,\n MaintenancesImpl,\n} from \"./operations/index.js\";\nimport {\n AzureADAdministrators,\n Backups,\n BackupAndExport,\n LongRunningBackup,\n LongRunningBackups,\n Configurations,\n Databases,\n FirewallRules,\n Servers,\n Replicas,\n ServersMigration,\n AdvancedThreatProtectionSettings,\n LogFiles,\n LocationBasedCapabilities,\n LocationBasedCapabilitySet,\n CheckVirtualNetworkSubnetUsage,\n CheckNameAvailability,\n CheckNameAvailabilityWithoutLocation,\n OperationResults,\n OperationProgress,\n GetPrivateDnsZoneSuffix,\n Operations,\n Maintenances,\n} from \"./operationsInterfaces/index.js\";\nimport { MySQLManagementFlexibleServerClientOptionalParams } from \"./models/index.js\";\n\nexport class MySQLManagementFlexibleServerClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the MySQLManagementFlexibleServerClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?:\n | MySQLManagementFlexibleServerClientOptionalParams\n | string,\n options?: MySQLManagementFlexibleServerClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: MySQLManagementFlexibleServerClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-mysql-flexible/4.0.0-beta.5`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.azureADAdministrators = new AzureADAdministratorsImpl(this);\n this.backups = new BackupsImpl(this);\n this.backupAndExport = new BackupAndExportImpl(this);\n this.longRunningBackup = new LongRunningBackupImpl(this);\n this.longRunningBackups = new LongRunningBackupsImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.databases = new DatabasesImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.serversMigration = new ServersMigrationImpl(this);\n this.advancedThreatProtectionSettings =\n new AdvancedThreatProtectionSettingsImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.locationBasedCapabilities = new LocationBasedCapabilitiesImpl(this);\n this.locationBasedCapabilitySet = new LocationBasedCapabilitySetImpl(this);\n this.checkVirtualNetworkSubnetUsage =\n new CheckVirtualNetworkSubnetUsageImpl(this);\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.checkNameAvailabilityWithoutLocation =\n new CheckNameAvailabilityWithoutLocationImpl(this);\n this.operationResults = new OperationResultsImpl(this);\n this.operationProgress = new OperationProgressImpl(this);\n this.getPrivateDnsZoneSuffix = new GetPrivateDnsZoneSuffixImpl(this);\n this.operations = new OperationsImpl(this);\n this.maintenances = new MaintenancesImpl(this);\n }\n\n azureADAdministrators: AzureADAdministrators;\n backups: Backups;\n backupAndExport: BackupAndExport;\n longRunningBackup: LongRunningBackup;\n longRunningBackups: LongRunningBackups;\n configurations: Configurations;\n databases: Databases;\n firewallRules: FirewallRules;\n servers: Servers;\n replicas: Replicas;\n serversMigration: ServersMigration;\n advancedThreatProtectionSettings: AdvancedThreatProtectionSettings;\n logFiles: LogFiles;\n locationBasedCapabilities: LocationBasedCapabilities;\n locationBasedCapabilitySet: LocationBasedCapabilitySet;\n checkVirtualNetworkSubnetUsage: CheckVirtualNetworkSubnetUsage;\n checkNameAvailability: CheckNameAvailability;\n checkNameAvailabilityWithoutLocation: CheckNameAvailabilityWithoutLocation;\n operationResults: OperationResults;\n operationProgress: OperationProgress;\n getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;\n operations: Operations;\n maintenances: Maintenances;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for MySQLManagementFlexibleServerClient.",
|
|
6
|
-
"version": "4.0.0-alpha.
|
|
6
|
+
"version": "4.0.0-alpha.20260108.2",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=20.0.0"
|
|
9
9
|
},
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@types/node": "^20.19.25",
|
|
35
35
|
"@vitest/browser-playwright": "^4.0.8",
|
|
36
36
|
"@vitest/coverage-istanbul": "^4.0.8",
|
|
37
|
-
"cross-env": "^
|
|
37
|
+
"cross-env": "^10.1.0",
|
|
38
38
|
"dotenv": "^16.6.1",
|
|
39
39
|
"playwright": "^1.56.1",
|
|
40
40
|
"rimraf": "^6.1.0",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"typescript": "~5.9.3",
|
|
43
43
|
"vitest": "^4.0.8",
|
|
44
44
|
"@azure-tools/test-credential": "^2.1.2",
|
|
45
|
+
"@azure-tools/test-recorder": "^4.1.1",
|
|
45
46
|
"@azure-tools/test-utils-vitest": "^2.0.1",
|
|
46
|
-
"@azure/dev-tool": "^1.0.0"
|
|
47
|
-
"@azure-tools/test-recorder": "^4.1.1"
|
|
47
|
+
"@azure/dev-tool": "^1.0.0"
|
|
48
48
|
},
|
|
49
49
|
"repository": "github:Azure/azure-sdk-for-js",
|
|
50
50
|
"bugs": {
|