Skip to content

Commit

Permalink
T2 kusto 2021 02 04 (#16527)
Browse files Browse the repository at this point in the history
* CodeGen from PR 12834 in Azure/azure-rest-api-specs
add python track2 config for kusto (#12834)

* test,version,CHANGELOG

* fix changelog and version

Co-authored-by: SDKAuto <[email protected]>
  • Loading branch information
00Kai0 and SDKAuto authored Feb 4, 2021
1 parent 1f380db commit cb2864f
Show file tree
Hide file tree
Showing 7 changed files with 82 additions and 2,780 deletions.
4 changes: 4 additions & 0 deletions sdk/kusto/azure-mgmt-kusto/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release History

## 1.0.0 (2021-02-04)

- GA release

## 1.0.0b1 (2020-11-30)

This is beta preview version.
Expand Down
10 changes: 10 additions & 0 deletions sdk/kusto/azure-mgmt-kusto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,13 @@ section of the project.


![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-kusto%2FREADME.png)
# Usage


To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt)



For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/)
Code samples for this package can be found at [Kusto Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com.
Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.clusters = ClustersOperations(
Expand Down
67 changes: 67 additions & 0 deletions sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"chosen_version": "2020-09-18",
"total_api_version_list": ["2020-09-18"],
"client": {
"name": "KustoManagementClient",
"filename": "_kusto_management_client",
"description": "The Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases.",
"base_url": "\u0027https://management.azure.com\u0027",
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
"client_side_validation": true
},
"global_parameters": {
"sync": {
"credential": {
"signature": "credential, # type: \"TokenCredential\"",
"description": "Credential needed for the client to connect to Azure.",
"docstring_type": "~azure.core.credentials.TokenCredential",
"required": true
},
"subscription_id": {
"signature": "subscription_id, # type: str",
"description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
"docstring_type": "str",
"required": true
}
},
"async": {
"credential": {
"signature": "credential, # type: \"AsyncTokenCredential\"",
"description": "Credential needed for the client to connect to Azure.",
"docstring_type": "~azure.core.credentials_async.AsyncTokenCredential",
"required": true
},
"subscription_id": {
"signature": "subscription_id, # type: str",
"description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
"docstring_type": "str",
"required": true
}
},
"constant": {
},
"call": "credential, subscription_id"
},
"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
},
"operation_groups": {
"clusters": "ClustersOperations",
"cluster_principal_assignments": "ClusterPrincipalAssignmentsOperations",
"databases": "DatabasesOperations",
"database_principal_assignments": "DatabasePrincipalAssignmentsOperations",
"attached_database_configurations": "AttachedDatabaseConfigurationsOperations",
"data_connections": "DataConnectionsOperations",
"operations": "Operations"
},
"operation_mixins": {
},
"sync_imports": "None",
"async_imports": "None"
}
3 changes: 1 addition & 2 deletions sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0b1"

VERSION = "1.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.clusters = ClustersOperations(
Expand Down
Loading

0 comments on commit cb2864f

Please sign in to comment.