Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/kusto/azure-mgmt-kusto/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "78ec1b99699a4bf44869bd13f1b0ed7d92a99c27",
"commit": "e73838536b7a11061aa7b80ac49179d75b292dda",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
"@autorest/python@6.2.16",
"@autorest/python@6.4.0",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/azure-kusto/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.2.16 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
"autorest_command": "autorest specification/azure-kusto/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.4.0 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
"readme": "specification/azure-kusto/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,5 @@ def __enter__(self) -> "KustoManagementClient":
self._client.__enter__()
return self

def __exit__(self, *exc_details) -> None:
def __exit__(self, *exc_details: Any) -> None:
self._client.__exit__(*exc_details)
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 = "3.1.0"
VERSION = "2.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,5 @@ async def __aenter__(self) -> "KustoManagementClient":
await self._client.__aenter__()
return self

async def __aexit__(self, *exc_details) -> None:
async def __aexit__(self, *exc_details: Any) -> None:
await self._client.__aexit__(*exc_details)
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ async def check_name_availability(
:type resource_group_name: str
:param cluster_name: The name of the Kusto cluster. Required.
:type cluster_name: str
:param resource_name: The name of the resource. Is either a model type or a IO type. Required.
:param resource_name: The name of the resource. Is either a
AttachedDatabaseConfigurationsCheckNameRequest type or a IO type. Required.
:type resource_name: ~azure.mgmt.kusto.models.AttachedDatabaseConfigurationsCheckNameRequest or
IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Expand Down Expand Up @@ -554,7 +555,7 @@ async def begin_create_or_update(
Required.
:type attached_database_configuration_name: str
:param parameters: The database parameters supplied to the CreateOrUpdate operation. Is either
a model type or a IO type. Required.
a AttachedDatabaseConfiguration type or a IO type. Required.
:type parameters: ~azure.mgmt.kusto.models.AttachedDatabaseConfiguration or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ async def check_name_availability(
:type resource_group_name: str
:param cluster_name: The name of the Kusto cluster. Required.
:type cluster_name: str
:param principal_assignment_name: The name of the principal assignment. Is either a model type
or a IO type. Required.
:param principal_assignment_name: The name of the principal assignment. Is either a
ClusterPrincipalAssignmentCheckNameRequest type or a IO type. Required.
:type principal_assignment_name:
~azure.mgmt.kusto.models.ClusterPrincipalAssignmentCheckNameRequest or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Expand Down Expand Up @@ -452,7 +452,7 @@ async def begin_create_or_update(
:param principal_assignment_name: The name of the Kusto principalAssignment. Required.
:type principal_assignment_name: str
:param parameters: The Kusto cluster principalAssignment's parameters supplied for the
operation. Is either a model type or a IO type. Required.
operation. Is either a ClusterPrincipalAssignment type or a IO type. Required.
:type parameters: ~azure.mgmt.kusto.models.ClusterPrincipalAssignment or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ async def begin_create_or_update(
:param cluster_name: The name of the Kusto cluster. Required.
:type cluster_name: str
:param parameters: The Kusto cluster parameters supplied to the CreateOrUpdate operation. Is
either a model type or a IO type. Required.
either a Cluster type or a IO type. Required.
:type parameters: ~azure.mgmt.kusto.models.Cluster or IO
:param if_match: The ETag of the cluster. Omit this value to always overwrite the current
cluster. Specify the last-seen ETag value to prevent accidentally overwriting concurrent
Expand Down Expand Up @@ -593,7 +593,7 @@ async def begin_update(
:param cluster_name: The name of the Kusto cluster. Required.
:type cluster_name: str
:param parameters: The Kusto cluster parameters supplied to the Update operation. Is either a
model type or a IO type. Required.
ClusterUpdate type or a IO type. Required.
:type parameters: ~azure.mgmt.kusto.models.ClusterUpdate or IO
:param if_match: The ETag of the cluster. Omit this value to always overwrite the current
cluster. Specify the last-seen ETag value to prevent accidentally overwriting concurrent
Expand Down Expand Up @@ -1253,7 +1253,7 @@ async def begin_detach_follower_databases(
:param cluster_name: The name of the Kusto cluster. Required.
:type cluster_name: str
:param follower_database_to_remove: The follower databases properties to remove. Is either a
model type or a IO type. Required.
FollowerDatabaseDefinition type or a IO type. Required.
:type follower_database_to_remove: ~azure.mgmt.kusto.models.FollowerDatabaseDefinition or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down Expand Up @@ -1747,7 +1747,8 @@ async def check_name_availability(

:param location: Azure location (region) name. Required.
:type location: str
:param cluster_name: The name of the cluster. Is either a model type or a IO type. Required.
:param cluster_name: The name of the cluster. Is either a ClusterCheckNameRequest type or a IO
type. Required.
:type cluster_name: ~azure.mgmt.kusto.models.ClusterCheckNameRequest or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down Expand Up @@ -2244,8 +2245,8 @@ async def begin_add_language_extensions(
:type resource_group_name: str
:param cluster_name: The name of the Kusto cluster. Required.
:type cluster_name: str
:param language_extensions_to_add: The language extensions to add. Is either a model type or a
IO type. Required.
:param language_extensions_to_add: The language extensions to add. Is either a
LanguageExtensionsList type or a IO type. Required.
:type language_extensions_to_add: ~azure.mgmt.kusto.models.LanguageExtensionsList or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down Expand Up @@ -2459,8 +2460,8 @@ async def begin_remove_language_extensions(
:type resource_group_name: str
:param cluster_name: The name of the Kusto cluster. Required.
:type cluster_name: str
:param language_extensions_to_remove: The language extensions to remove. Is either a model type
or a IO type. Required.
:param language_extensions_to_remove: The language extensions to remove. Is either a
LanguageExtensionsList type or a IO type. Required.
:type language_extensions_to_remove: ~azure.mgmt.kusto.models.LanguageExtensionsList or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ async def begin_data_connection_validation(
:param database_name: The name of the database in the Kusto cluster. Required.
:type database_name: str
:param parameters: The data connection parameters supplied to the CreateOrUpdate operation. Is
either a model type or a IO type. Required.
either a DataConnectionValidation type or a IO type. Required.
:type parameters: ~azure.mgmt.kusto.models.DataConnectionValidation or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down Expand Up @@ -488,8 +488,8 @@ async def check_name_availability(
:type cluster_name: str
:param database_name: The name of the database in the Kusto cluster. Required.
:type database_name: str
:param data_connection_name: The name of the data connection. Is either a model type or a IO
type. Required.
:param data_connection_name: The name of the data connection. Is either a
DataConnectionCheckNameRequest type or a IO type. Required.
:type data_connection_name: ~azure.mgmt.kusto.models.DataConnectionCheckNameRequest or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down Expand Up @@ -819,7 +819,7 @@ async def begin_create_or_update(
:param data_connection_name: The name of the data connection. Required.
:type data_connection_name: str
:param parameters: The data connection parameters supplied to the CreateOrUpdate operation. Is
either a model type or a IO type. Required.
either a DataConnection type or a IO type. Required.
:type parameters: ~azure.mgmt.kusto.models.DataConnection or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down Expand Up @@ -1083,7 +1083,7 @@ async def begin_update(
:param data_connection_name: The name of the data connection. Required.
:type data_connection_name: str
:param parameters: The data connection parameters supplied to the Update operation. Is either a
model type or a IO type. Required.
DataConnection type or a IO type. Required.
:type parameters: ~azure.mgmt.kusto.models.DataConnection or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ async def check_name_availability(
:type cluster_name: str
:param database_name: The name of the database in the Kusto cluster. Required.
:type database_name: str
:param principal_assignment_name: The name of the resource. Is either a model type or a IO
type. Required.
:param principal_assignment_name: The name of the resource. Is either a
DatabasePrincipalAssignmentCheckNameRequest type or a IO type. Required.
:type principal_assignment_name:
~azure.mgmt.kusto.models.DatabasePrincipalAssignmentCheckNameRequest or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Expand Down Expand Up @@ -483,7 +483,7 @@ async def begin_create_or_update(
:param principal_assignment_name: The name of the Kusto principalAssignment. Required.
:type principal_assignment_name: str
:param parameters: The Kusto principalAssignments parameters supplied for the operation. Is
either a model type or a IO type. Required.
either a DatabasePrincipalAssignment type or a IO type. Required.
:type parameters: ~azure.mgmt.kusto.models.DatabasePrincipalAssignment or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ async def check_name_availability(
:type resource_group_name: str
:param cluster_name: The name of the Kusto cluster. Required.
:type cluster_name: str
:param resource_name: The name of the resource. Is either a model type or a IO type. Required.
:param resource_name: The name of the resource. Is either a CheckNameRequest type or a IO type.
Required.
:type resource_name: ~azure.mgmt.kusto.models.CheckNameRequest or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down Expand Up @@ -559,7 +560,7 @@ async def begin_create_or_update(
:param database_name: The name of the database in the Kusto cluster. Required.
:type database_name: str
:param parameters: The database parameters supplied to the CreateOrUpdate operation. Is either
a model type or a IO type. Required.
a Database type or a IO type. Required.
:type parameters: ~azure.mgmt.kusto.models.Database or IO
:param caller_role: By default, any user who run operation on a database become an Admin on it.
This property allows the caller to exclude the caller from Admins list. Known values are:
Expand Down Expand Up @@ -828,8 +829,8 @@ async def begin_update(
:type cluster_name: str
:param database_name: The name of the database in the Kusto cluster. Required.
:type database_name: str
:param parameters: The database parameters supplied to the Update operation. Is either a model
type or a IO type. Required.
:param parameters: The database parameters supplied to the Update operation. Is either a
Database type or a IO type. Required.
:type parameters: ~azure.mgmt.kusto.models.Database or IO
:param caller_role: By default, any user who run operation on a database become an Admin on it.
This property allows the caller to exclude the caller from Admins list. Known values are:
Expand Down Expand Up @@ -1198,8 +1199,8 @@ async def add_principals(
:type cluster_name: str
:param database_name: The name of the database in the Kusto cluster. Required.
:type database_name: str
:param database_principals_to_add: List of database principals to add. Is either a model type
or a IO type. Required.
:param database_principals_to_add: List of database principals to add. Is either a
DatabasePrincipalListRequest type or a IO type. Required.
:type database_principals_to_add: ~azure.mgmt.kusto.models.DatabasePrincipalListRequest or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down Expand Up @@ -1351,8 +1352,8 @@ async def remove_principals(
:type cluster_name: str
:param database_name: The name of the database in the Kusto cluster. Required.
:type database_name: str
:param database_principals_to_remove: List of database principals to remove. Is either a model
type or a IO type. Required.
:param database_principals_to_remove: List of database principals to remove. Is either a
DatabasePrincipalListRequest type or a IO type. Required.
:type database_principals_to_remove: ~azure.mgmt.kusto.models.DatabasePrincipalListRequest or
IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ async def check_name_availability(
:type resource_group_name: str
:param cluster_name: The name of the Kusto cluster. Required.
:type cluster_name: str
:param resource_name: The name of the resource. Is either a model type or a IO type. Required.
:param resource_name: The name of the resource. Is either a
ManagedPrivateEndpointsCheckNameRequest type or a IO type. Required.
:type resource_name: ~azure.mgmt.kusto.models.ManagedPrivateEndpointsCheckNameRequest or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down Expand Up @@ -544,8 +545,8 @@ async def begin_create_or_update(
:type cluster_name: str
:param managed_private_endpoint_name: The name of the managed private endpoint. Required.
:type managed_private_endpoint_name: str
:param parameters: The managed private endpoint parameters. Is either a model type or a IO
type. Required.
:param parameters: The managed private endpoint parameters. Is either a ManagedPrivateEndpoint
type or a IO type. Required.
:type parameters: ~azure.mgmt.kusto.models.ManagedPrivateEndpoint or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down Expand Up @@ -789,8 +790,8 @@ async def begin_update(
:type cluster_name: str
:param managed_private_endpoint_name: The name of the managed private endpoint. Required.
:type managed_private_endpoint_name: str
:param parameters: The managed private endpoint parameters. Is either a model type or a IO
type. Required.
:param parameters: The managed private endpoint parameters. Is either a ManagedPrivateEndpoint
type or a IO type. Required.
:type parameters: ~azure.mgmt.kusto.models.ManagedPrivateEndpoint or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ async def begin_create_or_update(
:type cluster_name: str
:param private_endpoint_connection_name: The name of the private endpoint connection. Required.
:type private_endpoint_connection_name: str
:param parameters: Is either a model type or a IO type. Required.
:param parameters: Is either a PrivateEndpointConnection type or a IO type. Required.
:type parameters: ~azure.mgmt.kusto.models.PrivateEndpointConnection or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
Expand Down
Loading