|
| 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 StreamAnalyticsManagementClientConfiguration |
| 16 | +from .operations import FunctionsOperations |
| 17 | +from .operations import InputsOperations |
| 18 | +from .operations import OutputsOperations |
| 19 | +from .operations import StreamingJobsOperations |
| 20 | +from .operations import SubscriptionsOperations |
| 21 | +from .operations import TransformationsOperations |
| 22 | +from .operations import Operations |
| 23 | +from .operations import ClustersOperations |
| 24 | +from .operations import PrivateEndpointsOperations |
| 25 | +from . import models |
| 26 | + |
| 27 | + |
| 28 | +class StreamAnalyticsManagementClient(SDKClient): |
| 29 | + """Stream Analytics Client |
| 30 | +
|
| 31 | + :ivar config: Configuration for client. |
| 32 | + :vartype config: StreamAnalyticsManagementClientConfiguration |
| 33 | +
|
| 34 | + :ivar functions: Functions operations |
| 35 | + :vartype functions: azure.mgmt.streamanalytics.operations.FunctionsOperations |
| 36 | + :ivar inputs: Inputs operations |
| 37 | + :vartype inputs: azure.mgmt.streamanalytics.operations.InputsOperations |
| 38 | + :ivar outputs: Outputs operations |
| 39 | + :vartype outputs: azure.mgmt.streamanalytics.operations.OutputsOperations |
| 40 | + :ivar streaming_jobs: StreamingJobs operations |
| 41 | + :vartype streaming_jobs: azure.mgmt.streamanalytics.operations.StreamingJobsOperations |
| 42 | + :ivar subscriptions: Subscriptions operations |
| 43 | + :vartype subscriptions: azure.mgmt.streamanalytics.operations.SubscriptionsOperations |
| 44 | + :ivar transformations: Transformations operations |
| 45 | + :vartype transformations: azure.mgmt.streamanalytics.operations.TransformationsOperations |
| 46 | + :ivar operations: Operations operations |
| 47 | + :vartype operations: azure.mgmt.streamanalytics.operations.Operations |
| 48 | + :ivar clusters: Clusters operations |
| 49 | + :vartype clusters: azure.mgmt.streamanalytics.operations.ClustersOperations |
| 50 | + :ivar private_endpoints: PrivateEndpoints operations |
| 51 | + :vartype private_endpoints: azure.mgmt.streamanalytics.operations.PrivateEndpointsOperations |
| 52 | +
|
| 53 | + :param credentials: Credentials needed for the client to connect to Azure. |
| 54 | + :type credentials: :mod:`A msrestazure Credentials |
| 55 | + object<msrestazure.azure_active_directory>` |
| 56 | + :param subscription_id: The ID of the target subscription. |
| 57 | + :type subscription_id: str |
| 58 | + :param str base_url: Service URL |
| 59 | + """ |
| 60 | + |
| 61 | + def __init__( |
| 62 | + self, credentials, subscription_id, base_url=None): |
| 63 | + |
| 64 | + self.config = StreamAnalyticsManagementClientConfiguration(credentials, subscription_id, base_url) |
| 65 | + super(StreamAnalyticsManagementClient, self).__init__(self.config.credentials, self.config) |
| 66 | + |
| 67 | + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} |
| 68 | + self._serialize = Serializer(client_models) |
| 69 | + self._deserialize = Deserializer(client_models) |
| 70 | + |
| 71 | + self.functions = FunctionsOperations( |
| 72 | + self._client, self.config, self._serialize, self._deserialize) |
| 73 | + self.inputs = InputsOperations( |
| 74 | + self._client, self.config, self._serialize, self._deserialize) |
| 75 | + self.outputs = OutputsOperations( |
| 76 | + self._client, self.config, self._serialize, self._deserialize) |
| 77 | + self.streaming_jobs = StreamingJobsOperations( |
| 78 | + self._client, self.config, self._serialize, self._deserialize) |
| 79 | + self.subscriptions = SubscriptionsOperations( |
| 80 | + self._client, self.config, self._serialize, self._deserialize) |
| 81 | + self.transformations = TransformationsOperations( |
| 82 | + self._client, self.config, self._serialize, self._deserialize) |
| 83 | + self.operations = Operations( |
| 84 | + self._client, self.config, self._serialize, self._deserialize) |
| 85 | + self.clusters = ClustersOperations( |
| 86 | + self._client, self.config, self._serialize, self._deserialize) |
| 87 | + self.private_endpoints = PrivateEndpointsOperations( |
| 88 | + self._client, self.config, self._serialize, self._deserialize) |
0 commit comments