|
| 1 | +# coding=utf-8 |
| 2 | +# -------------------------------------------------------------------------- |
| 3 | +# Copyright (c) Microsoft Corporation. All rights reserved. |
| 4 | +# Licensed under the MIT License. See License.txt in the project root for |
| 5 | +# license information. |
| 6 | +# |
| 7 | +# Code generated by Microsoft (R) AutoRest Code Generator. |
| 8 | +# Changes may cause incorrect behavior and will be lost if the code is |
| 9 | +# regenerated. |
| 10 | +# -------------------------------------------------------------------------- |
| 11 | + |
| 12 | +from msrest.service_client import SDKClient |
| 13 | +from msrest import Serializer, Deserializer |
| 14 | + |
| 15 | +from ._configuration import DataBoxEdgeManagementClientConfiguration |
| 16 | +from .operations import Operations |
| 17 | +from .operations import DevicesOperations |
| 18 | +from .operations import AlertsOperations |
| 19 | +from .operations import BandwidthSchedulesOperations |
| 20 | +from .operations import JobsOperations |
| 21 | +from .operations import NodesOperations |
| 22 | +from .operations import OperationsStatusOperations |
| 23 | +from .operations import OrdersOperations |
| 24 | +from .operations import RolesOperations |
| 25 | +from .operations import SharesOperations |
| 26 | +from .operations import StorageAccountCredentialsOperations |
| 27 | +from .operations import StorageAccountsOperations |
| 28 | +from .operations import ContainersOperations |
| 29 | +from .operations import TriggersOperations |
| 30 | +from .operations import UsersOperations |
| 31 | +from .operations import SkusOperations |
| 32 | +from . import models |
| 33 | + |
| 34 | + |
| 35 | +class DataBoxEdgeManagementClient(SDKClient): |
| 36 | + """DataBoxEdgeManagementClient |
| 37 | +
|
| 38 | + :ivar config: Configuration for client. |
| 39 | + :vartype config: DataBoxEdgeManagementClientConfiguration |
| 40 | +
|
| 41 | + :ivar operations: Operations operations |
| 42 | + :vartype operations: azure.mgmt.databoxedge.operations.Operations |
| 43 | + :ivar devices: Devices operations |
| 44 | + :vartype devices: azure.mgmt.databoxedge.operations.DevicesOperations |
| 45 | + :ivar alerts: Alerts operations |
| 46 | + :vartype alerts: azure.mgmt.databoxedge.operations.AlertsOperations |
| 47 | + :ivar bandwidth_schedules: BandwidthSchedules operations |
| 48 | + :vartype bandwidth_schedules: azure.mgmt.databoxedge.operations.BandwidthSchedulesOperations |
| 49 | + :ivar jobs: Jobs operations |
| 50 | + :vartype jobs: azure.mgmt.databoxedge.operations.JobsOperations |
| 51 | + :ivar nodes: Nodes operations |
| 52 | + :vartype nodes: azure.mgmt.databoxedge.operations.NodesOperations |
| 53 | + :ivar operations_status: OperationsStatus operations |
| 54 | + :vartype operations_status: azure.mgmt.databoxedge.operations.OperationsStatusOperations |
| 55 | + :ivar orders: Orders operations |
| 56 | + :vartype orders: azure.mgmt.databoxedge.operations.OrdersOperations |
| 57 | + :ivar roles: Roles operations |
| 58 | + :vartype roles: azure.mgmt.databoxedge.operations.RolesOperations |
| 59 | + :ivar shares: Shares operations |
| 60 | + :vartype shares: azure.mgmt.databoxedge.operations.SharesOperations |
| 61 | + :ivar storage_account_credentials: StorageAccountCredentials operations |
| 62 | + :vartype storage_account_credentials: azure.mgmt.databoxedge.operations.StorageAccountCredentialsOperations |
| 63 | + :ivar storage_accounts: StorageAccounts operations |
| 64 | + :vartype storage_accounts: azure.mgmt.databoxedge.operations.StorageAccountsOperations |
| 65 | + :ivar containers: Containers operations |
| 66 | + :vartype containers: azure.mgmt.databoxedge.operations.ContainersOperations |
| 67 | + :ivar triggers: Triggers operations |
| 68 | + :vartype triggers: azure.mgmt.databoxedge.operations.TriggersOperations |
| 69 | + :ivar users: Users operations |
| 70 | + :vartype users: azure.mgmt.databoxedge.operations.UsersOperations |
| 71 | + :ivar skus: Skus operations |
| 72 | + :vartype skus: azure.mgmt.databoxedge.operations.SkusOperations |
| 73 | +
|
| 74 | + :param credentials: Credentials needed for the client to connect to Azure. |
| 75 | + :type credentials: :mod:`A msrestazure Credentials |
| 76 | + object<msrestazure.azure_active_directory>` |
| 77 | + :param subscription_id: The subscription ID. |
| 78 | + :type subscription_id: str |
| 79 | + :param str base_url: Service URL |
| 80 | + """ |
| 81 | + |
| 82 | + def __init__( |
| 83 | + self, credentials, subscription_id, base_url=None): |
| 84 | + |
| 85 | + self.config = DataBoxEdgeManagementClientConfiguration(credentials, subscription_id, base_url) |
| 86 | + super(DataBoxEdgeManagementClient, self).__init__(self.config.credentials, self.config) |
| 87 | + |
| 88 | + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} |
| 89 | + self.api_version = '2019-08-01' |
| 90 | + self._serialize = Serializer(client_models) |
| 91 | + self._deserialize = Deserializer(client_models) |
| 92 | + |
| 93 | + self.operations = Operations( |
| 94 | + self._client, self.config, self._serialize, self._deserialize) |
| 95 | + self.devices = DevicesOperations( |
| 96 | + self._client, self.config, self._serialize, self._deserialize) |
| 97 | + self.alerts = AlertsOperations( |
| 98 | + self._client, self.config, self._serialize, self._deserialize) |
| 99 | + self.bandwidth_schedules = BandwidthSchedulesOperations( |
| 100 | + self._client, self.config, self._serialize, self._deserialize) |
| 101 | + self.jobs = JobsOperations( |
| 102 | + self._client, self.config, self._serialize, self._deserialize) |
| 103 | + self.nodes = NodesOperations( |
| 104 | + self._client, self.config, self._serialize, self._deserialize) |
| 105 | + self.operations_status = OperationsStatusOperations( |
| 106 | + self._client, self.config, self._serialize, self._deserialize) |
| 107 | + self.orders = OrdersOperations( |
| 108 | + self._client, self.config, self._serialize, self._deserialize) |
| 109 | + self.roles = RolesOperations( |
| 110 | + self._client, self.config, self._serialize, self._deserialize) |
| 111 | + self.shares = SharesOperations( |
| 112 | + self._client, self.config, self._serialize, self._deserialize) |
| 113 | + self.storage_account_credentials = StorageAccountCredentialsOperations( |
| 114 | + self._client, self.config, self._serialize, self._deserialize) |
| 115 | + self.storage_accounts = StorageAccountsOperations( |
| 116 | + self._client, self.config, self._serialize, self._deserialize) |
| 117 | + self.containers = ContainersOperations( |
| 118 | + self._client, self.config, self._serialize, self._deserialize) |
| 119 | + self.triggers = TriggersOperations( |
| 120 | + self._client, self.config, self._serialize, self._deserialize) |
| 121 | + self.users = UsersOperations( |
| 122 | + self._client, self.config, self._serialize, self._deserialize) |
| 123 | + self.skus = SkusOperations( |
| 124 | + self._client, self.config, self._serialize, self._deserialize) |
0 commit comments