Skip to content

Commit a5f731e

Browse files
author
SDKAuto
committed
CodeGen from PR 18305 in Azure/azure-rest-api-specs
Merge 61c845101521c651ed892fb7e33aea71ee0c0db5 into 4bd83868c6ae7f731874b6673f400ca97914ee97
1 parent a97e771 commit a5f731e

24 files changed

+575
-454
lines changed

sdk/streamanalytics/azure-mgmt-streamanalytics/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@autorest/[email protected]",
55
"@autorest/[email protected]"
66
],
7-
"commit": "0ca8399b0e4fb4ae4608ffd0a6c056213664dacd",
7+
"commit": "80adcdcee4ebf4c120333e0f82b25ac84a940267",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
99
"autorest_command": "autorest specification/streamanalytics/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.7.2",
1010
"readme": "specification/streamanalytics/resource-manager/readme.md"

sdk/streamanalytics/azure-mgmt-streamanalytics/azure/mgmt/streamanalytics/_stream_analytics_management_client.py

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,23 @@ class StreamAnalyticsManagementClient:
2525
"""Stream Analytics Client.
2626
2727
:ivar operations: Operations operations
28-
:vartype operations: stream_analytics_management_client.operations.Operations
28+
:vartype operations: azure.mgmt.streamanalytics.operations.Operations
2929
:ivar streaming_jobs: StreamingJobsOperations operations
30-
:vartype streaming_jobs: stream_analytics_management_client.operations.StreamingJobsOperations
30+
:vartype streaming_jobs: azure.mgmt.streamanalytics.operations.StreamingJobsOperations
3131
:ivar inputs: InputsOperations operations
32-
:vartype inputs: stream_analytics_management_client.operations.InputsOperations
32+
:vartype inputs: azure.mgmt.streamanalytics.operations.InputsOperations
3333
:ivar outputs: OutputsOperations operations
34-
:vartype outputs: stream_analytics_management_client.operations.OutputsOperations
34+
:vartype outputs: azure.mgmt.streamanalytics.operations.OutputsOperations
3535
:ivar transformations: TransformationsOperations operations
36-
:vartype transformations:
37-
stream_analytics_management_client.operations.TransformationsOperations
36+
:vartype transformations: azure.mgmt.streamanalytics.operations.TransformationsOperations
3837
:ivar functions: FunctionsOperations operations
39-
:vartype functions: stream_analytics_management_client.operations.FunctionsOperations
38+
:vartype functions: azure.mgmt.streamanalytics.operations.FunctionsOperations
4039
:ivar subscriptions: SubscriptionsOperations operations
41-
:vartype subscriptions: stream_analytics_management_client.operations.SubscriptionsOperations
40+
:vartype subscriptions: azure.mgmt.streamanalytics.operations.SubscriptionsOperations
4241
:ivar clusters: ClustersOperations operations
43-
:vartype clusters: stream_analytics_management_client.operations.ClustersOperations
42+
:vartype clusters: azure.mgmt.streamanalytics.operations.ClustersOperations
4443
:ivar private_endpoints: PrivateEndpointsOperations operations
45-
:vartype private_endpoints:
46-
stream_analytics_management_client.operations.PrivateEndpointsOperations
44+
:vartype private_endpoints: azure.mgmt.streamanalytics.operations.PrivateEndpointsOperations
4745
:param credential: Credential needed for the client to connect to Azure.
4846
:type credential: ~azure.core.credentials.TokenCredential
4947
:param subscription_id: The ID of the target subscription.

sdk/streamanalytics/azure-mgmt-streamanalytics/azure/mgmt/streamanalytics/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "1.0.0"
9+
VERSION = "1.0.0b1"

sdk/streamanalytics/azure-mgmt-streamanalytics/azure/mgmt/streamanalytics/aio/_stream_analytics_management_client.py

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,24 @@ class StreamAnalyticsManagementClient:
2525
"""Stream Analytics Client.
2626
2727
:ivar operations: Operations operations
28-
:vartype operations: stream_analytics_management_client.aio.operations.Operations
28+
:vartype operations: azure.mgmt.streamanalytics.aio.operations.Operations
2929
:ivar streaming_jobs: StreamingJobsOperations operations
30-
:vartype streaming_jobs:
31-
stream_analytics_management_client.aio.operations.StreamingJobsOperations
30+
:vartype streaming_jobs: azure.mgmt.streamanalytics.aio.operations.StreamingJobsOperations
3231
:ivar inputs: InputsOperations operations
33-
:vartype inputs: stream_analytics_management_client.aio.operations.InputsOperations
32+
:vartype inputs: azure.mgmt.streamanalytics.aio.operations.InputsOperations
3433
:ivar outputs: OutputsOperations operations
35-
:vartype outputs: stream_analytics_management_client.aio.operations.OutputsOperations
34+
:vartype outputs: azure.mgmt.streamanalytics.aio.operations.OutputsOperations
3635
:ivar transformations: TransformationsOperations operations
37-
:vartype transformations:
38-
stream_analytics_management_client.aio.operations.TransformationsOperations
36+
:vartype transformations: azure.mgmt.streamanalytics.aio.operations.TransformationsOperations
3937
:ivar functions: FunctionsOperations operations
40-
:vartype functions: stream_analytics_management_client.aio.operations.FunctionsOperations
38+
:vartype functions: azure.mgmt.streamanalytics.aio.operations.FunctionsOperations
4139
:ivar subscriptions: SubscriptionsOperations operations
42-
:vartype subscriptions:
43-
stream_analytics_management_client.aio.operations.SubscriptionsOperations
40+
:vartype subscriptions: azure.mgmt.streamanalytics.aio.operations.SubscriptionsOperations
4441
:ivar clusters: ClustersOperations operations
45-
:vartype clusters: stream_analytics_management_client.aio.operations.ClustersOperations
42+
:vartype clusters: azure.mgmt.streamanalytics.aio.operations.ClustersOperations
4643
:ivar private_endpoints: PrivateEndpointsOperations operations
4744
:vartype private_endpoints:
48-
stream_analytics_management_client.aio.operations.PrivateEndpointsOperations
45+
azure.mgmt.streamanalytics.aio.operations.PrivateEndpointsOperations
4946
:param credential: Credential needed for the client to connect to Azure.
5047
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
5148
:param subscription_id: The ID of the target subscription.

sdk/streamanalytics/azure-mgmt-streamanalytics/azure/mgmt/streamanalytics/aio/operations/_clusters_operations.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ClustersOperations:
3333
instantiates it for you and attaches it as an attribute.
3434
3535
:ivar models: Alias to model classes used in this operation group.
36-
:type models: ~stream_analytics_management_client.models
36+
:type models: ~azure.mgmt.streamanalytics.models
3737
:param client: Client for service requests.
3838
:param config: Configuration of service client.
3939
:param serializer: An object model serializer.
@@ -119,7 +119,7 @@ async def begin_create_or_update(
119119
:type cluster_name: str
120120
:param cluster: The definition of the cluster that will be used to create a new cluster or
121121
replace the existing one.
122-
:type cluster: ~stream_analytics_management_client.models.Cluster
122+
:type cluster: ~azure.mgmt.streamanalytics.models.Cluster
123123
:param if_match: The ETag of the resource. Omit this value to always overwrite the current
124124
record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent
125125
changes.
@@ -137,7 +137,7 @@ async def begin_create_or_update(
137137
Retry-After header is present.
138138
:return: An instance of AsyncLROPoller that returns either Cluster or the result of
139139
cls(response)
140-
:rtype: ~azure.core.polling.AsyncLROPoller[~stream_analytics_management_client.models.Cluster]
140+
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.streamanalytics.models.Cluster]
141141
:raises: ~azure.core.exceptions.HttpResponseError
142142
"""
143143
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]
@@ -251,7 +251,7 @@ async def begin_update(
251251
:type cluster_name: str
252252
:param cluster: The properties specified here will overwrite the corresponding properties in
253253
the existing cluster (ie. Those properties will be updated).
254-
:type cluster: ~stream_analytics_management_client.models.Cluster
254+
:type cluster: ~azure.mgmt.streamanalytics.models.Cluster
255255
:param if_match: The ETag of the resource. Omit this value to always overwrite the current
256256
record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent
257257
changes.
@@ -266,7 +266,7 @@ async def begin_update(
266266
Retry-After header is present.
267267
:return: An instance of AsyncLROPoller that returns either Cluster or the result of
268268
cls(response)
269-
:rtype: ~azure.core.polling.AsyncLROPoller[~stream_analytics_management_client.models.Cluster]
269+
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.streamanalytics.models.Cluster]
270270
:raises: ~azure.core.exceptions.HttpResponseError
271271
"""
272272
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]
@@ -327,7 +327,7 @@ async def get(
327327
:type cluster_name: str
328328
:keyword callable cls: A custom type or function that will be passed the direct response
329329
:return: Cluster, or the result of cls(response)
330-
:rtype: ~stream_analytics_management_client.models.Cluster
330+
:rtype: ~azure.mgmt.streamanalytics.models.Cluster
331331
:raises: ~azure.core.exceptions.HttpResponseError
332332
"""
333333
cls = kwargs.pop('cls', None) # type: ClsType["_models.Cluster"]
@@ -470,7 +470,7 @@ def list_by_subscription(
470470
:keyword callable cls: A custom type or function that will be passed the direct response
471471
:return: An iterator like instance of either ClusterListResult or the result of cls(response)
472472
:rtype:
473-
~azure.core.async_paging.AsyncItemPaged[~stream_analytics_management_client.models.ClusterListResult]
473+
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.streamanalytics.models.ClusterListResult]
474474
:raises: ~azure.core.exceptions.HttpResponseError
475475
"""
476476
cls = kwargs.pop('cls', None) # type: ClsType["_models.ClusterListResult"]
@@ -538,7 +538,7 @@ def list_by_resource_group(
538538
:keyword callable cls: A custom type or function that will be passed the direct response
539539
:return: An iterator like instance of either ClusterListResult or the result of cls(response)
540540
:rtype:
541-
~azure.core.async_paging.AsyncItemPaged[~stream_analytics_management_client.models.ClusterListResult]
541+
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.streamanalytics.models.ClusterListResult]
542542
:raises: ~azure.core.exceptions.HttpResponseError
543543
"""
544544
cls = kwargs.pop('cls', None) # type: ClsType["_models.ClusterListResult"]
@@ -612,7 +612,7 @@ def list_streaming_jobs(
612612
:return: An iterator like instance of either ClusterJobListResult or the result of
613613
cls(response)
614614
:rtype:
615-
~azure.core.async_paging.AsyncItemPaged[~stream_analytics_management_client.models.ClusterJobListResult]
615+
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.streamanalytics.models.ClusterJobListResult]
616616
:raises: ~azure.core.exceptions.HttpResponseError
617617
"""
618618
cls = kwargs.pop('cls', None) # type: ClsType["_models.ClusterJobListResult"]

sdk/streamanalytics/azure-mgmt-streamanalytics/azure/mgmt/streamanalytics/aio/operations/_functions_operations.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class FunctionsOperations:
3333
instantiates it for you and attaches it as an attribute.
3434
3535
:ivar models: Alias to model classes used in this operation group.
36-
:type models: ~stream_analytics_management_client.models
36+
:type models: ~azure.mgmt.streamanalytics.models
3737
:param client: Client for service requests.
3838
:param config: Configuration of service client.
3939
:param serializer: An object model serializer.
@@ -69,7 +69,7 @@ async def create_or_replace(
6969
:type function_name: str
7070
:param function: The definition of the function that will be used to create a new function or
7171
replace the existing one under the streaming job.
72-
:type function: ~stream_analytics_management_client.models.Function
72+
:type function: ~azure.mgmt.streamanalytics.models.Function
7373
:param if_match: The ETag of the function. Omit this value to always overwrite the current
7474
function. Specify the last-seen ETag value to prevent accidentally overwriting concurrent
7575
changes.
@@ -79,7 +79,7 @@ async def create_or_replace(
7979
:type if_none_match: str
8080
:keyword callable cls: A custom type or function that will be passed the direct response
8181
:return: Function, or the result of cls(response)
82-
:rtype: ~stream_analytics_management_client.models.Function
82+
:rtype: ~azure.mgmt.streamanalytics.models.Function
8383
:raises: ~azure.core.exceptions.HttpResponseError
8484
"""
8585
cls = kwargs.pop('cls', None) # type: ClsType["_models.Function"]
@@ -157,14 +157,14 @@ async def update(
157157
corresponding properties in the existing function (ie. Those properties will be updated). Any
158158
properties that are set to null here will mean that the corresponding property in the existing
159159
function will remain the same and not change as a result of this PATCH operation.
160-
:type function: ~stream_analytics_management_client.models.Function
160+
:type function: ~azure.mgmt.streamanalytics.models.Function
161161
:param if_match: The ETag of the function. Omit this value to always overwrite the current
162162
function. Specify the last-seen ETag value to prevent accidentally overwriting concurrent
163163
changes.
164164
:type if_match: str
165165
:keyword callable cls: A custom type or function that will be passed the direct response
166166
:return: Function, or the result of cls(response)
167-
:rtype: ~stream_analytics_management_client.models.Function
167+
:rtype: ~azure.mgmt.streamanalytics.models.Function
168168
:raises: ~azure.core.exceptions.HttpResponseError
169169
"""
170170
cls = kwargs.pop('cls', None) # type: ClsType["_models.Function"]
@@ -281,7 +281,7 @@ async def get(
281281
:type function_name: str
282282
:keyword callable cls: A custom type or function that will be passed the direct response
283283
:return: Function, or the result of cls(response)
284-
:rtype: ~stream_analytics_management_client.models.Function
284+
:rtype: ~azure.mgmt.streamanalytics.models.Function
285285
:raises: ~azure.core.exceptions.HttpResponseError
286286
"""
287287
cls = kwargs.pop('cls', None) # type: ClsType["_models.Function"]
@@ -343,7 +343,7 @@ def list_by_streaming_job(
343343
:keyword callable cls: A custom type or function that will be passed the direct response
344344
:return: An iterator like instance of either FunctionListResult or the result of cls(response)
345345
:rtype:
346-
~azure.core.async_paging.AsyncItemPaged[~stream_analytics_management_client.models.FunctionListResult]
346+
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.streamanalytics.models.FunctionListResult]
347347
:raises: ~azure.core.exceptions.HttpResponseError
348348
"""
349349
cls = kwargs.pop('cls', None) # type: ClsType["_models.FunctionListResult"]
@@ -480,7 +480,7 @@ async def begin_test(
480480
this parameter can be left null to test the existing function as is or if specified, the
481481
properties specified will overwrite the corresponding properties in the existing function
482482
(exactly like a PATCH operation) and the resulting function will be tested.
483-
:type function: ~stream_analytics_management_client.models.Function
483+
:type function: ~azure.mgmt.streamanalytics.models.Function
484484
:keyword callable cls: A custom type or function that will be passed the direct response
485485
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
486486
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
@@ -492,7 +492,7 @@ async def begin_test(
492492
:return: An instance of AsyncLROPoller that returns either ResourceTestStatus or the result of
493493
cls(response)
494494
:rtype:
495-
~azure.core.polling.AsyncLROPoller[~stream_analytics_management_client.models.ResourceTestStatus]
495+
~azure.core.polling.AsyncLROPoller[~azure.mgmt.streamanalytics.models.ResourceTestStatus]
496496
:raises: ~azure.core.exceptions.HttpResponseError
497497
"""
498498
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]
@@ -558,10 +558,10 @@ async def retrieve_default_definition(
558558
:param function_retrieve_default_definition_parameters: Parameters used to specify the type of
559559
function to retrieve the default definition for.
560560
:type function_retrieve_default_definition_parameters:
561-
~stream_analytics_management_client.models.FunctionRetrieveDefaultDefinitionParameters
561+
~azure.mgmt.streamanalytics.models.FunctionRetrieveDefaultDefinitionParameters
562562
:keyword callable cls: A custom type or function that will be passed the direct response
563563
:return: Function, or the result of cls(response)
564-
:rtype: ~stream_analytics_management_client.models.Function
564+
:rtype: ~azure.mgmt.streamanalytics.models.Function
565565
:raises: ~azure.core.exceptions.HttpResponseError
566566
"""
567567
cls = kwargs.pop('cls', None) # type: ClsType["_models.Function"]

0 commit comments

Comments
 (0)