Skip to content

Commit

Permalink
Kusto: releasing 2021-01-01 client (Azure#3330)
Browse files Browse the repository at this point in the history
* commit

* commit

* gen

* happy run

* update test file

* tests pass

* update history

* fix static analysis

* examples

* check

* empty

* revert

* 'help

* update help

* adding manual params file

* remove ,

* params v2

* params v3

* remove manual params

* test pass

* fix

* naming

* update help

* fix help

* more changes

* tests

* remove secret

* remove print

* recordings

* removed

* move back

* move yamal file

* remove second file

* change location

* update expiry

* update expiry

* Update test_kusto_scenario.py

Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com>
  • Loading branch information
astauben and kairu-ms authored May 12, 2021
1 parent bad8f3b commit 2bb3bc6
Show file tree
Hide file tree
Showing 50 changed files with 28,284 additions and 14,543 deletions.
4 changes: 0 additions & 4 deletions src/kusto/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,3 @@ Release History
0.1.0
++++++
* Initial release.

0.2.0
++++++
* Adding Engine v3 support and User-Assigned-Identity
2 changes: 1 addition & 1 deletion src/kusto/azext_kusto/azext_metadata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"azext.isExperimental": true,
"azext.minCliCoreVersion": "2.11.0"
"azext.minCliCoreVersion": "2.15.0"
}
22 changes: 15 additions & 7 deletions src/kusto/azext_kusto/generated/_client_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,38 @@

def cf_kusto_cl(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from ..vendored_sdks.kusto import KustoManagementClient
from azext_kusto.vendored_sdks.kusto import KustoManagementClient
return get_mgmt_service_client(cli_ctx,
KustoManagementClient)


def cf_cluster(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).cluster
return cf_kusto_cl(cli_ctx).clusters


def cf_cluster_principal_assignment(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).cluster_principal_assignment
return cf_kusto_cl(cli_ctx).cluster_principal_assignments


def cf_database(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).database
return cf_kusto_cl(cli_ctx).databases


def cf_database_principal_assignment(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).database_principal_assignment
return cf_kusto_cl(cli_ctx).database_principal_assignments


def cf_script(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).scripts


def cf_attached_database_configuration(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).attached_database_configuration
return cf_kusto_cl(cli_ctx).attached_database_configurations


def cf_data_connection(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).data_connection
return cf_kusto_cl(cli_ctx).data_connections


def cf_operation_result(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).operations_results
Loading

0 comments on commit 2bb3bc6

Please sign in to comment.