Skip to content

Commit

Permalink
Generated from 497f37d011e45d90e7a5f190b1326ec89e2719c8
Browse files Browse the repository at this point in the history
Merge pull request #6 from Khushboo-Baheti/master

merge
  • Loading branch information
SDK Automation committed Feb 24, 2020
1 parent a25a803 commit d40c3c6
Show file tree
Hide file tree
Showing 43 changed files with 1,105 additions and 1,402 deletions.
7 changes: 4 additions & 3 deletions sdk/aks/azure-mgmt-devspaces/azure/mgmt/devspaces/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------

from .dev_spaces_management_client import DevSpacesManagementClient
from .version import VERSION
from ._configuration import DevSpacesManagementClientConfiguration
from ._dev_spaces_management_client import DevSpacesManagementClient
__all__ = ['DevSpacesManagementClient', 'DevSpacesManagementClientConfiguration']

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

__version__ = VERSION

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 DevSpacesManagementClientConfiguration(AzureConfiguration):
"""Configuration for DevSpacesManagementClient
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: Azure subscription ID.
: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(DevSpacesManagementClientConfiguration, 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-devspaces/{}'.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,44 +11,12 @@

from msrest.service_client import SDKClient
from msrest import Serializer, Deserializer
from msrestazure import AzureConfiguration
from .version import VERSION
from .operations.container_host_mappings_operations import ContainerHostMappingsOperations
from .operations.operations import Operations
from .operations.controllers_operations import ControllersOperations
from . import models


class DevSpacesManagementClientConfiguration(AzureConfiguration):
"""Configuration for DevSpacesManagementClient
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: Azure subscription ID.
: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(DevSpacesManagementClientConfiguration, self).__init__(base_url)

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

self.credentials = credentials
self.subscription_id = subscription_id
from ._configuration import DevSpacesManagementClientConfiguration
from .operations import ContainerHostMappingsOperations
from .operations import Operations
from .operations import ControllersOperations
from . import models


class DevSpacesManagementClient(SDKClient):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,60 +10,60 @@
# --------------------------------------------------------------------------

try:
from .container_host_mapping_py3 import ContainerHostMapping
from .tracked_resource_py3 import TrackedResource
from .resource_provider_operation_display_py3 import ResourceProviderOperationDisplay
from .resource_provider_operation_definition_py3 import ResourceProviderOperationDefinition
from .sku_py3 import Sku
from .controller_py3 import Controller
from .controller_update_parameters_py3 import ControllerUpdateParameters
from .list_connection_details_parameters_py3 import ListConnectionDetailsParameters
from .orchestrator_specific_connection_details_py3 import OrchestratorSpecificConnectionDetails
from .controller_connection_details_py3 import ControllerConnectionDetails
from .controller_connection_details_list_py3 import ControllerConnectionDetailsList
from .resource_py3 import Resource
from .kubernetes_connection_details_py3 import KubernetesConnectionDetails
from .error_details_py3 import ErrorDetails
from .dev_spaces_error_response_py3 import DevSpacesErrorResponse, DevSpacesErrorResponseException
from ._models_py3 import ContainerHostMapping
from ._models_py3 import Controller
from ._models_py3 import ControllerConnectionDetails
from ._models_py3 import ControllerConnectionDetailsList
from ._models_py3 import ControllerUpdateParameters
from ._models_py3 import DevSpacesErrorResponse, DevSpacesErrorResponseException
from ._models_py3 import ErrorDetails
from ._models_py3 import KubernetesConnectionDetails
from ._models_py3 import ListConnectionDetailsParameters
from ._models_py3 import OrchestratorSpecificConnectionDetails
from ._models_py3 import Resource
from ._models_py3 import ResourceProviderOperationDefinition
from ._models_py3 import ResourceProviderOperationDisplay
from ._models_py3 import Sku
from ._models_py3 import TrackedResource
except (SyntaxError, ImportError):
from .container_host_mapping import ContainerHostMapping
from .tracked_resource import TrackedResource
from .resource_provider_operation_display import ResourceProviderOperationDisplay
from .resource_provider_operation_definition import ResourceProviderOperationDefinition
from .sku import Sku
from .controller import Controller
from .controller_update_parameters import ControllerUpdateParameters
from .list_connection_details_parameters import ListConnectionDetailsParameters
from .orchestrator_specific_connection_details import OrchestratorSpecificConnectionDetails
from .controller_connection_details import ControllerConnectionDetails
from .controller_connection_details_list import ControllerConnectionDetailsList
from .resource import Resource
from .kubernetes_connection_details import KubernetesConnectionDetails
from .error_details import ErrorDetails
from .dev_spaces_error_response import DevSpacesErrorResponse, DevSpacesErrorResponseException
from .resource_provider_operation_definition_paged import ResourceProviderOperationDefinitionPaged
from .controller_paged import ControllerPaged
from .dev_spaces_management_client_enums import (
from ._models import ContainerHostMapping
from ._models import Controller
from ._models import ControllerConnectionDetails
from ._models import ControllerConnectionDetailsList
from ._models import ControllerUpdateParameters
from ._models import DevSpacesErrorResponse, DevSpacesErrorResponseException
from ._models import ErrorDetails
from ._models import KubernetesConnectionDetails
from ._models import ListConnectionDetailsParameters
from ._models import OrchestratorSpecificConnectionDetails
from ._models import Resource
from ._models import ResourceProviderOperationDefinition
from ._models import ResourceProviderOperationDisplay
from ._models import Sku
from ._models import TrackedResource
from ._paged_models import ControllerPaged
from ._paged_models import ResourceProviderOperationDefinitionPaged
from ._dev_spaces_management_client_enums import (
ProvisioningState,
SkuTier,
)

__all__ = [
'ContainerHostMapping',
'TrackedResource',
'ResourceProviderOperationDisplay',
'ResourceProviderOperationDefinition',
'Sku',
'Controller',
'ControllerConnectionDetails',
'ControllerConnectionDetailsList',
'ControllerUpdateParameters',
'DevSpacesErrorResponse', 'DevSpacesErrorResponseException',
'ErrorDetails',
'KubernetesConnectionDetails',
'ListConnectionDetailsParameters',
'OrchestratorSpecificConnectionDetails',
'ControllerConnectionDetails',
'ControllerConnectionDetailsList',
'Resource',
'KubernetesConnectionDetails',
'ErrorDetails',
'DevSpacesErrorResponse', 'DevSpacesErrorResponseException',
'ResourceProviderOperationDefinition',
'ResourceProviderOperationDisplay',
'Sku',
'TrackedResource',
'ResourceProviderOperationDefinitionPaged',
'ControllerPaged',
'ProvisioningState',
Expand Down
Loading

0 comments on commit d40c3c6

Please sign in to comment.