-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoRelease] t2-streamanalytics-2022-01-06-51238 (#22356)
* CodeGen from PR 17260 in Azure/azure-rest-api-specs Update readme.python.md (#17260) * version,CHANGELOG * Update CHANGELOG.md * Update _version.py Co-authored-by: SDKAuto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: Yuchao Yan <[email protected]>
- Loading branch information
1 parent
a6567a0
commit 218bf23
Showing
39 changed files
with
7,743 additions
and
9,833 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
sdk/streamanalytics/azure-mgmt-streamanalytics/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,39 @@ | ||
# Release History | ||
|
||
## 1.0.0 (2022-01-06) | ||
|
||
**Features** | ||
|
||
- Added operation StreamingJobsOperations.begin_scale | ||
- Model AzureSqlReferenceInputDataSource has a new parameter database | ||
- Model AzureSqlReferenceInputDataSource has a new parameter delta_snapshot_query | ||
- Model AzureSqlReferenceInputDataSource has a new parameter full_snapshot_query | ||
- Model AzureSqlReferenceInputDataSource has a new parameter password | ||
- Model AzureSqlReferenceInputDataSource has a new parameter refresh_rate | ||
- Model AzureSqlReferenceInputDataSource has a new parameter refresh_type | ||
- Model AzureSqlReferenceInputDataSource has a new parameter server | ||
- Model AzureSqlReferenceInputDataSource has a new parameter table | ||
- Model AzureSqlReferenceInputDataSource has a new parameter user | ||
- Model Cluster has a new parameter capacity_allocated | ||
- Model Cluster has a new parameter capacity_assigned | ||
- Model Cluster has a new parameter cluster_id | ||
- Model Cluster has a new parameter created_date | ||
- Model Cluster has a new parameter provisioning_state | ||
- Model Operation has a new parameter is_data_action | ||
- Model PrivateEndpoint has a new parameter created_date | ||
- Model PrivateEndpoint has a new parameter manual_private_link_service_connections | ||
- Model Transformation has a new parameter valid_streaming_units | ||
|
||
**Breaking changes** | ||
|
||
- Model AzureSqlReferenceInputDataSource no longer has parameter properties | ||
- Model Cluster no longer has parameter properties | ||
- Model FunctionProperties no longer has parameter binding | ||
- Model FunctionProperties no longer has parameter inputs | ||
- Model FunctionProperties no longer has parameter output | ||
- Model PrivateEndpoint no longer has parameter properties | ||
- Model StreamingJob no longer has parameter externals | ||
|
||
## 1.0.0rc1 (2020-09-18) | ||
|
||
- Initial Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"autorest": "3.7.2", | ||
"use": [ | ||
"@autorest/[email protected]", | ||
"@autorest/[email protected]" | ||
], | ||
"commit": "0ca8399b0e4fb4ae4608ffd0a6c056213664dacd", | ||
"repository_url": "https://github.com/Azure/azure-rest-api-specs", | ||
"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", | ||
"readme": "specification/streamanalytics/resource-manager/readme.md" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 66 additions & 24 deletions
90
sdk/streamanalytics/azure-mgmt-streamanalytics/azure/mgmt/streamanalytics/_metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,110 @@ | ||
{ | ||
"chosen_version": "", | ||
"total_api_version_list": ["2017-04-01-preview", "2020-03-01-preview"], | ||
"chosen_version": "2020-03-01", | ||
"total_api_version_list": ["2020-03-01"], | ||
"client": { | ||
"name": "StreamAnalyticsManagementClient", | ||
"filename": "_stream_analytics_management_client", | ||
"description": "Stream Analytics Client.", | ||
"base_url": "\u0027https://management.azure.com\u0027", | ||
"custom_base_url": null, | ||
"host_value": "\"https://management.azure.com\"", | ||
"parameterized_host_template": null, | ||
"azure_arm": true, | ||
"has_lro_operations": true | ||
"has_lro_operations": true, | ||
"client_side_validation": false, | ||
"sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StreamAnalyticsManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", | ||
"async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"], \"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StreamAnalyticsManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" | ||
}, | ||
"global_parameters": { | ||
"sync_method": { | ||
"sync": { | ||
"credential": { | ||
"method_signature": "credential, # type: \"TokenCredential\"", | ||
"signature": "credential, # type: \"TokenCredential\"", | ||
"description": "Credential needed for the client to connect to Azure.", | ||
"docstring_type": "~azure.core.credentials.TokenCredential", | ||
"required": true | ||
}, | ||
"subscription_id": { | ||
"method_signature": "subscription_id, # type: str", | ||
"signature": "subscription_id, # type: str", | ||
"description": "The ID of the target subscription.", | ||
"docstring_type": "str", | ||
"required": true | ||
} | ||
}, | ||
"async_method": { | ||
"async": { | ||
"credential": { | ||
"method_signature": "credential, # type: \"AsyncTokenCredential\"", | ||
"signature": "credential: \"AsyncTokenCredential\",", | ||
"description": "Credential needed for the client to connect to Azure.", | ||
"docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", | ||
"required": true | ||
}, | ||
"subscription_id": { | ||
"method_signature": "subscription_id, # type: str", | ||
"signature": "subscription_id: str,", | ||
"description": "The ID of the target subscription.", | ||
"docstring_type": "str", | ||
"required": true | ||
} | ||
}, | ||
"constant": { | ||
}, | ||
"call": "credential, subscription_id" | ||
"call": "credential, subscription_id", | ||
"service_client_specific": { | ||
"sync": { | ||
"api_version": { | ||
"signature": "api_version=None, # type: Optional[str]", | ||
"description": "API version to use if no profile is provided, or if missing in profile.", | ||
"docstring_type": "str", | ||
"required": false | ||
}, | ||
"base_url": { | ||
"signature": "base_url=\"https://management.azure.com\", # type: str", | ||
"description": "Service URL", | ||
"docstring_type": "str", | ||
"required": false | ||
}, | ||
"profile": { | ||
"signature": "profile=KnownProfiles.default, # type: KnownProfiles", | ||
"description": "A profile definition, from KnownProfiles to dict.", | ||
"docstring_type": "azure.profiles.KnownProfiles", | ||
"required": false | ||
} | ||
}, | ||
"async": { | ||
"api_version": { | ||
"signature": "api_version: Optional[str] = None,", | ||
"description": "API version to use if no profile is provided, or if missing in profile.", | ||
"docstring_type": "str", | ||
"required": false | ||
}, | ||
"base_url": { | ||
"signature": "base_url: str = \"https://management.azure.com\",", | ||
"description": "Service URL", | ||
"docstring_type": "str", | ||
"required": false | ||
}, | ||
"profile": { | ||
"signature": "profile: KnownProfiles = KnownProfiles.default,", | ||
"description": "A profile definition, from KnownProfiles to dict.", | ||
"docstring_type": "azure.profiles.KnownProfiles", | ||
"required": false | ||
} | ||
} | ||
} | ||
}, | ||
"config": { | ||
"credential": true, | ||
"credential_scopes": ["https://management.azure.com/.default"], | ||
"credential_default_policy_type": "BearerTokenCredentialPolicy", | ||
"credential_default_policy_type_has_async_version": true, | ||
"credential_key_header_name": null | ||
"credential_call_sync": "ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)", | ||
"credential_call_async": "AsyncARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)", | ||
"sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMChallengeAuthenticationPolicy\", \"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", | ||
"async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\", \"AsyncARMChallengeAuthenticationPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" | ||
}, | ||
"operation_groups": { | ||
"functions": "FunctionsOperations", | ||
"operations": "Operations", | ||
"streaming_jobs": "StreamingJobsOperations", | ||
"inputs": "InputsOperations", | ||
"outputs": "OutputsOperations", | ||
"streaming_jobs": "StreamingJobsOperations", | ||
"subscriptions": "SubscriptionsOperations", | ||
"transformations": "TransformationsOperations", | ||
"operations": "Operations", | ||
"functions": "FunctionsOperations", | ||
"subscriptions": "SubscriptionsOperations", | ||
"clusters": "ClustersOperations", | ||
"private_endpoints": "PrivateEndpointsOperations" | ||
}, | ||
"operation_mixins": { | ||
}, | ||
"sync_imports": "None", | ||
"async_imports": "None" | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
sdk/streamanalytics/azure-mgmt-streamanalytics/azure/mgmt/streamanalytics/_patch.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# | ||
# The MIT License (MIT) | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the ""Software""), to | ||
# deal in the Software without restriction, including without limitation the | ||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
# sell copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS | ||
# IN THE SOFTWARE. | ||
# | ||
# -------------------------------------------------------------------------- | ||
|
||
# This file is used for handwritten extensions to the generated code. Example: | ||
# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md | ||
def patch_sdk(): | ||
pass |
Oops, something went wrong.