Skip to content

Commit

Permalink
CodeGen from PR 14889 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Kusto t1 del (Azure#14889)

* sql t2 readme config

* readme config

* Update readme.python.md

* conflient resolve

* t1 del

Co-authored-by: msyyc <[email protected]>
  • Loading branch information
SDKAuto and msyyc committed Sep 22, 2021
1 parent eca1c81 commit 9cdfc08
Show file tree
Hide file tree
Showing 20 changed files with 210 additions and 209 deletions.
11 changes: 7 additions & 4 deletions sdk/kusto/azure-mgmt-kusto/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.3.0",
"use": "@autorest/[email protected]",
"commit": "4c881abe43b82c6f001f2f2ca7f2a2d63299749e",
"autorest": "3.4.5",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "0f72d7e8267d012ed7f51107f066217c8bfda9a7",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/azure-kusto/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.6 --version=3.3.0",
"autorest_command": "autorest specification/azure-kusto/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/[email protected] --version=3.4.5",
"readme": "specification/azure-kusto/resource-manager/readme.md"
}
2 changes: 1 addition & 1 deletion sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "2.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def list_by_cluster(
self,
resource_group_name: str,
cluster_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.AttachedDatabaseConfigurationListResult"]:
"""Returns the list of attached database configurations of the given Kusto cluster.
Expand Down Expand Up @@ -122,7 +122,7 @@ async def get(
resource_group_name: str,
cluster_name: str,
attached_database_configuration_name: str,
**kwargs
**kwargs: Any
) -> "_models.AttachedDatabaseConfiguration":
"""Returns an attached database configuration.
Expand Down Expand Up @@ -185,7 +185,7 @@ async def _create_or_update_initial(
cluster_name: str,
attached_database_configuration_name: str,
parameters: "_models.AttachedDatabaseConfiguration",
**kwargs
**kwargs: Any
) -> "_models.AttachedDatabaseConfiguration":
cls = kwargs.pop('cls', None) # type: ClsType["_models.AttachedDatabaseConfiguration"]
error_map = {
Expand Down Expand Up @@ -247,7 +247,7 @@ async def begin_create_or_update(
cluster_name: str,
attached_database_configuration_name: str,
parameters: "_models.AttachedDatabaseConfiguration",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.AttachedDatabaseConfiguration"]:
"""Creates or updates an attached database configuration.
Expand All @@ -261,8 +261,8 @@ async def begin_create_or_update(
:type parameters: ~azure.mgmt.kusto.models.AttachedDatabaseConfiguration
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either AttachedDatabaseConfiguration or the result of cls(response)
Expand Down Expand Up @@ -322,7 +322,7 @@ async def _delete_initial(
resource_group_name: str,
cluster_name: str,
attached_database_configuration_name: str,
**kwargs
**kwargs: Any
) -> None:
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
Expand Down Expand Up @@ -368,7 +368,7 @@ async def begin_delete(
resource_group_name: str,
cluster_name: str,
attached_database_configuration_name: str,
**kwargs
**kwargs: Any
) -> AsyncLROPoller[None]:
"""Deletes the attached database configuration with the given name.
Expand All @@ -380,8 +380,8 @@ async def begin_delete(
:type attached_database_configuration_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async def check_name_availability(
resource_group_name: str,
cluster_name: str,
principal_assignment_name: "_models.ClusterPrincipalAssignmentCheckNameRequest",
**kwargs
**kwargs: Any
) -> "_models.CheckNameResult":
"""Checks that the principal assignment name is valid and is not already in use.
Expand Down Expand Up @@ -114,7 +114,7 @@ async def get(
resource_group_name: str,
cluster_name: str,
principal_assignment_name: str,
**kwargs
**kwargs: Any
) -> "_models.ClusterPrincipalAssignment":
"""Gets a Kusto cluster principalAssignment.
Expand Down Expand Up @@ -177,7 +177,7 @@ async def _create_or_update_initial(
cluster_name: str,
principal_assignment_name: str,
parameters: "_models.ClusterPrincipalAssignment",
**kwargs
**kwargs: Any
) -> "_models.ClusterPrincipalAssignment":
cls = kwargs.pop('cls', None) # type: ClsType["_models.ClusterPrincipalAssignment"]
error_map = {
Expand Down Expand Up @@ -236,7 +236,7 @@ async def begin_create_or_update(
cluster_name: str,
principal_assignment_name: str,
parameters: "_models.ClusterPrincipalAssignment",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.ClusterPrincipalAssignment"]:
"""Create a Kusto cluster principalAssignment.
Expand All @@ -251,8 +251,8 @@ async def begin_create_or_update(
:type parameters: ~azure.mgmt.kusto.models.ClusterPrincipalAssignment
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either ClusterPrincipalAssignment or the result of cls(response)
Expand Down Expand Up @@ -312,7 +312,7 @@ async def _delete_initial(
resource_group_name: str,
cluster_name: str,
principal_assignment_name: str,
**kwargs
**kwargs: Any
) -> None:
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
Expand Down Expand Up @@ -358,7 +358,7 @@ async def begin_delete(
resource_group_name: str,
cluster_name: str,
principal_assignment_name: str,
**kwargs
**kwargs: Any
) -> AsyncLROPoller[None]:
"""Deletes a Kusto cluster principalAssignment.
Expand All @@ -370,8 +370,8 @@ async def begin_delete(
:type principal_assignment_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
Expand Down Expand Up @@ -426,7 +426,7 @@ def list(
self,
resource_group_name: str,
cluster_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ClusterPrincipalAssignmentListResult"]:
"""Lists all Kusto cluster principalAssignments.
Expand Down
Loading

0 comments on commit 9cdfc08

Please sign in to comment.