|
11 | 11 |
|
12 | 12 | from msrest.service_client import SDKClient |
13 | 13 | from msrest import Serializer, Deserializer |
14 | | -from msrestazure import AzureConfiguration |
15 | | -from .version import VERSION |
16 | | -from .operations.provider_operations import ProviderOperations |
17 | | -from .operations.labs_operations import LabsOperations |
18 | | -from .operations.operations import Operations |
19 | | -from .operations.global_schedules_operations import GlobalSchedulesOperations |
20 | | -from .operations.artifact_sources_operations import ArtifactSourcesOperations |
21 | | -from .operations.arm_templates_operations import ArmTemplatesOperations |
22 | | -from .operations.artifacts_operations import ArtifactsOperations |
23 | | -from .operations.costs_operations import CostsOperations |
24 | | -from .operations.custom_images_operations import CustomImagesOperations |
25 | | -from .operations.formulas_operations import FormulasOperations |
26 | | -from .operations.gallery_images_operations import GalleryImagesOperations |
27 | | -from .operations.notification_channels_operations import NotificationChannelsOperations |
28 | | -from .operations.policy_sets_operations import PolicySetsOperations |
29 | | -from .operations.policies_operations import PoliciesOperations |
30 | | -from .operations.schedules_operations import SchedulesOperations |
31 | | -from .operations.service_runners_operations import ServiceRunnersOperations |
32 | | -from .operations.users_operations import UsersOperations |
33 | | -from .operations.disks_operations import DisksOperations |
34 | | -from .operations.environments_operations import EnvironmentsOperations |
35 | | -from .operations.secrets_operations import SecretsOperations |
36 | | -from .operations.service_fabrics_operations import ServiceFabricsOperations |
37 | | -from .operations.service_fabric_schedules_operations import ServiceFabricSchedulesOperations |
38 | | -from .operations.virtual_machines_operations import VirtualMachinesOperations |
39 | | -from .operations.virtual_machine_schedules_operations import VirtualMachineSchedulesOperations |
40 | | -from .operations.virtual_networks_operations import VirtualNetworksOperations |
41 | | -from . import models |
42 | | - |
43 | | - |
44 | | -class DevTestLabsClientConfiguration(AzureConfiguration): |
45 | | - """Configuration for DevTestLabsClient |
46 | | - Note that all parameters used to create this instance are saved as instance |
47 | | - attributes. |
48 | | -
|
49 | | - :param credentials: Credentials needed for the client to connect to Azure. |
50 | | - :type credentials: :mod:`A msrestazure Credentials |
51 | | - object<msrestazure.azure_active_directory>` |
52 | | - :param subscription_id: The subscription ID. |
53 | | - :type subscription_id: str |
54 | | - :param str base_url: Service URL |
55 | | - """ |
56 | | - |
57 | | - def __init__( |
58 | | - self, credentials, subscription_id, base_url=None): |
59 | 14 |
|
60 | | - if credentials is None: |
61 | | - raise ValueError("Parameter 'credentials' must not be None.") |
62 | | - if subscription_id is None: |
63 | | - raise ValueError("Parameter 'subscription_id' must not be None.") |
64 | | - if not base_url: |
65 | | - base_url = 'https://management.azure.com' |
66 | | - |
67 | | - super(DevTestLabsClientConfiguration, self).__init__(base_url) |
68 | | - |
69 | | - self.add_user_agent('azure-mgmt-devtestlabs/{}'.format(VERSION)) |
70 | | - self.add_user_agent('Azure-SDK-For-Python') |
71 | | - |
72 | | - self.credentials = credentials |
73 | | - self.subscription_id = subscription_id |
| 15 | +from ._configuration import DevTestLabsClientConfiguration |
| 16 | +from .operations import ProviderOperations |
| 17 | +from .operations import LabsOperations |
| 18 | +from .operations import Operations |
| 19 | +from .operations import GlobalSchedulesOperations |
| 20 | +from .operations import ArtifactSourcesOperations |
| 21 | +from .operations import ArmTemplatesOperations |
| 22 | +from .operations import ArtifactsOperations |
| 23 | +from .operations import CostsOperations |
| 24 | +from .operations import CustomImagesOperations |
| 25 | +from .operations import FormulasOperations |
| 26 | +from .operations import GalleryImagesOperations |
| 27 | +from .operations import NotificationChannelsOperations |
| 28 | +from .operations import PolicySetsOperations |
| 29 | +from .operations import PoliciesOperations |
| 30 | +from .operations import SchedulesOperations |
| 31 | +from .operations import ServiceRunnersOperations |
| 32 | +from .operations import UsersOperations |
| 33 | +from .operations import DisksOperations |
| 34 | +from .operations import EnvironmentsOperations |
| 35 | +from .operations import SecretsOperations |
| 36 | +from .operations import ServiceFabricsOperations |
| 37 | +from .operations import ServiceFabricSchedulesOperations |
| 38 | +from .operations import VirtualMachinesOperations |
| 39 | +from .operations import VirtualMachineSchedulesOperations |
| 40 | +from .operations import VirtualNetworksOperations |
| 41 | +from . import models |
74 | 42 |
|
75 | 43 |
|
76 | 44 | class DevTestLabsClient(SDKClient): |
|
0 commit comments