Skip to content

Commit

Permalink
CodeGen from PR 12982 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Swagger Fixes (Azure#12982)

* Swagger Fixes

* Spell check fix

* Swagger Correctness S360 fixes

* Prettier fixes

* spell check fix

Co-authored-by: Sravan Thupili <srthupil@microsoft.com>
  • Loading branch information
SDKAuto and Sravan Thupili committed Feb 23, 2021
1 parent b74b486 commit e14f741
Show file tree
Hide file tree
Showing 89 changed files with 4,473 additions and 4,412 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------

from .data_lake_analytics_account_management_client import DataLakeAnalyticsAccountManagementClient
from .version import VERSION
from ._configuration import DataLakeAnalyticsAccountManagementClientConfiguration
from ._data_lake_analytics_account_management_client import DataLakeAnalyticsAccountManagementClient
__all__ = ['DataLakeAnalyticsAccountManagementClient', 'DataLakeAnalyticsAccountManagementClientConfiguration']

__all__ = ['DataLakeAnalyticsAccountManagementClient']
from .version import VERSION

__version__ = VERSION

Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# 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 DataLakeAnalyticsAccountManagementClientConfiguration(AzureConfiguration):
"""Configuration for DataLakeAnalyticsAccountManagementClient
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: Get subscription credentials which uniquely
identify Microsoft Azure subscription. The subscription ID forms part of
the URI for every service call.
: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(DataLakeAnalyticsAccountManagementClientConfiguration, 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-datalake-analytics/{}'.format(VERSION))
self.add_user_agent('Azure-SDK-For-Python')

self.credentials = credentials
self.subscription_id = subscription_id
Original file line number Diff line number Diff line change
Expand Up @@ -11,50 +11,16 @@

from msrest.service_client import SDKClient
from msrest import Serializer, Deserializer
from msrestazure import AzureConfiguration
from .version import VERSION
from .operations.accounts_operations import AccountsOperations
from .operations.data_lake_store_accounts_operations import DataLakeStoreAccountsOperations
from .operations.storage_accounts_operations import StorageAccountsOperations
from .operations.compute_policies_operations import ComputePoliciesOperations
from .operations.firewall_rules_operations import FirewallRulesOperations
from .operations.operations import Operations
from .operations.locations_operations import LocationsOperations
from . import models


class DataLakeAnalyticsAccountManagementClientConfiguration(AzureConfiguration):
"""Configuration for DataLakeAnalyticsAccountManagementClient
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: Get subscription credentials which uniquely
identify Microsoft Azure subscription. The subscription ID forms part of
the URI for every service call.
: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(DataLakeAnalyticsAccountManagementClientConfiguration, self).__init__(base_url)

self.add_user_agent('azure-mgmt-datalake-analytics/{}'.format(VERSION))
self.add_user_agent('Azure-SDK-For-Python')

self.credentials = credentials
self.subscription_id = subscription_id
from ._configuration import DataLakeAnalyticsAccountManagementClientConfiguration
from .operations import AccountsOperations
from .operations import DataLakeStoreAccountsOperations
from .operations import StorageAccountsOperations
from .operations import ComputePoliciesOperations
from .operations import FirewallRulesOperations
from .operations import Operations
from .operations import LocationsOperations
from . import models


class DataLakeAnalyticsAccountManagementClient(SDKClient):
Expand Down
Loading

0 comments on commit e14f741

Please sign in to comment.