-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR] datamigration/resource-manager (#5417)
* Generated from cd2b75fab8a5e322525e5214385f07c648756b5b (#5416) chore: jsonfmt datamigrtion Ran `jsonfmt -w "specification/datamigration/**/*.json"` * [AutoPR datamigration/resource-manager] Add OracleAzureDbPostgreSQLSync scenario and ServiceTask resource (#5434) * Generated from 5c209c20ca9a6f8d5f2e9bf3aca1078b6d80ab92 Add Oracle to Azure Database For PostgreSQL scenarios and Service Task resource which supports the scenario. * Generated from 96de3859707b69b5b8b372d72f09cac32be112c7 Add Oracle to Azure Database For PostgreSQL scenarios and Service Task resource which supports the scenario. * Generated from a455f45c33d0e2b8f0a298d637a86ecac9fb4042 Add Oracle to Azure Database For PostgreSQL scenarios and Service Task resource which supports the scenario. * Generated from 2281cc30a4d0eae30b0c3b68f6a679a6dff649ee Add Oracle to Azure Database For PostgreSQL scenarios and Service Task resource which supports the scenario. * Generated from e94036625f69f01964f3b6821aa72c4cc578073e Add Oracle to Azure Database For PostgreSQL scenarios and Service Task resource which supports the scenario. * Update version.py * Generated from e4898febbc6b7d49e046eff01fe973d108cc53ca (#5951) chore: jsonfmt datamigration Ran `jsonfmt -w "specification/datamigration/**/*.json"` * [AutoPR datamigration/resource-manager] Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables (#6096) * Generated from 835bf096bcbb0db18081cb31338036c70108ccd5 Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables. * Generated from 4f5182d37c4186591e8206f751be4c47bb32b08c Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables 2 * Packaging update of azure-mgmt-datamigration * updated changelog * Added breaking change info
- Loading branch information
1 parent
5f26d48
commit ccd6545
Showing
463 changed files
with
24,710 additions
and
26,338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
sdk/datamigration/azure-mgmt-datamigration/azure/mgmt/datamigration/_configuration.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
from msrestazure import AzureConfiguration | ||
|
||
from .version import VERSION | ||
|
||
|
||
class DataMigrationServiceClientConfiguration(AzureConfiguration): | ||
"""Configuration for DataMigrationServiceClient | ||
Note that all parameters used to create this instance are saved as instance | ||
attributes. | ||
:param credentials: Credentials needed for the client to connect to Azure. | ||
:type credentials: :mod:`A msrestazure Credentials | ||
object<msrestazure.azure_active_directory>` | ||
:param subscription_id: Identifier of the subscription | ||
:type subscription_id: str | ||
:param str base_url: Service URL | ||
""" | ||
|
||
def __init__( | ||
self, credentials, subscription_id, base_url=None): | ||
|
||
if credentials is None: | ||
raise ValueError("Parameter 'credentials' must not be None.") | ||
if subscription_id is None: | ||
raise ValueError("Parameter 'subscription_id' must not be None.") | ||
if not base_url: | ||
base_url = 'https://management.azure.com' | ||
|
||
super(DataMigrationServiceClientConfiguration, self).__init__(base_url) | ||
|
||
# Starting Autorest.Python 4.0.64, make connection pool activated by default | ||
self.keep_alive = True | ||
|
||
self.add_user_agent('azure-mgmt-datamigration/{}'.format(VERSION)) | ||
self.add_user_agent('Azure-SDK-For-Python') | ||
|
||
self.credentials = credentials | ||
self.subscription_id = subscription_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.