Skip to content

Commit bd95a5e

Browse files
azure-sdkmsyycCopilot
authored
Refresh azure-mgmt-kusto after migrate to Typespec (#47278)
* Configurations: 'specification/azure-kusto/resource-manager/Microsoft.Kusto/Kusto/tspconfig.yaml', API Version: 2025-02-14, SDK Release Type: beta, and CommitSHA: '924420fe602b631163f1e2628337c2dd7f26c173' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6381798 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Optimize changelog for azure-mgmt-kusto Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Add live tests for azure-mgmt-kusto Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4617007 commit bd95a5e

211 files changed

Lines changed: 39938 additions & 33029 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sdk/kusto/azure-mgmt-kusto/CHANGELOG.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,75 @@
11
# Release History
22

3+
## 4.0.0b1 (2026-06-02)
4+
5+
### Features Added
6+
7+
- Client `KustoManagementClient` added parameter `cloud_setting` in method `__init__`
8+
- Client `KustoManagementClient` added method `send_request`
9+
- Model `AttachedDatabaseConfiguration` added property `system_data`
10+
- Model `AttachedDatabaseConfigurationsCheckNameRequest` added property `type`
11+
- Model `ClusterCheckNameRequest` added property `type`
12+
- Model `ClusterPrincipalAssignment` added property `system_data`
13+
- Model `ClusterPrincipalAssignmentCheckNameRequest` added property `type`
14+
- Model `ClusterUpdate` added property `system_data`
15+
- Model `CosmosDbDataConnection` added property `system_data`
16+
- Model `DataConnection` added property `system_data`
17+
- Model `DataConnectionCheckNameRequest` added property `type`
18+
- Enum `DataConnectionKind` added member `EVENT_GRID_WITH_MANAGED_IDENTITY`
19+
- Enum `DataConnectionKind` added member `EVENT_HUB_WITH_MANAGED_IDENTITY`
20+
- Model `Database` added property `system_data`
21+
- Model `DatabasePrincipalAssignment` added property `system_data`
22+
- Model `DatabasePrincipalAssignmentCheckNameRequest` added property `type`
23+
- Model `DatabasePrincipalListResult` added property `next_link`
24+
- Model `EventGridDataConnection` added property `system_data`
25+
- Enum `EventGridDataFormat` added member `AZMONSTREAM`
26+
- Model `EventHubDataConnection` added property `system_data`
27+
- Enum `EventHubDataFormat` added member `AZMONSTREAM`
28+
- Model `IotHubDataConnection` added property `system_data`
29+
- Enum `IotHubDataFormat` added member `AZMONSTREAM`
30+
- Model `KeyVaultProperties` added property `federated_identity_client_id`
31+
- Model `LanguageExtensionsList` added property `next_link`
32+
- Model `ManagedPrivateEndpointsCheckNameRequest` added property `type`
33+
- Model `OperationResult` added property `error`
34+
- Model `OutboundNetworkDependenciesEndpoint` added property `system_data`
35+
- Model `ProxyResource` added property `system_data`
36+
- Enum `PublicNetworkAccess` added member `SECURED_BY_PERIMETER`
37+
- Model `ReadOnlyFollowingDatabase` added property `system_data`
38+
- Model `ReadWriteDatabase` added property `system_data`
39+
- Model `Resource` added property `system_data`
40+
- Model `SandboxCustomImage` added property `system_data`
41+
- Model `SandboxCustomImagesCheckNameRequest` added property `type`
42+
- Model `ScriptCheckNameRequest` added property `type`
43+
- Model `TrackedResource` added property `system_data`
44+
- Added model `EventGridConnectionWithManagedIdentityProperties`
45+
- Added model `EventGridDataConnectionWithManagedIdentity`
46+
- Added model `EventHubConnectionWithManagedIdentityProperties`
47+
- Added model `EventHubDataConnectionWithManagedIdentity`
48+
- Added model `OperationResultErrorProperties`
49+
50+
### Breaking Changes
51+
52+
- For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
53+
- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
54+
- Model `ClusterPrincipalAssignment` moved instance variable `principal_id`, `role`, `tenant_id`, `principal_type`, `tenant_name`, `principal_name`, `provisioning_state` and `aad_object_id` under property `properties` whose type is `ClusterPrincipalProperties`
55+
- Model `ClusterUpdate` moved instance variable `state`, `provisioning_state`, `uri`, `data_ingestion_uri`, `state_reason`, `trusted_external_tenants`, `optimized_autoscale`, `enable_disk_encryption`, `enable_streaming_ingest`, `virtual_network_configuration`, `key_vault_properties`, `enable_purge`, `language_extensions`, `enable_double_encryption`, `public_network_access`, `allowed_ip_range_list`, `engine_type`, `accepted_audiences`, `enable_auto_stop`, `restrict_outbound_network_access`, `allowed_fqdn_list`, `callout_policies`, `public_ip_type`, `virtual_cluster_graduation_properties`, `private_endpoint_connections`, `migration_cluster` and `zone_status` under property `properties` whose type is `ClusterProperties`
56+
- Model `DatabasePrincipalAssignment` moved instance variable `principal_id`, `role`, `tenant_id`, `principal_type`, `tenant_name`, `principal_name`, `provisioning_state` and `aad_object_id` under property `properties` whose type is `DatabasePrincipalProperties`
57+
- Model `EventGridDataConnection` moved instance variable `storage_account_resource_id`, `event_grid_resource_id`, `event_hub_resource_id`, `consumer_group`, `table_name`, `mapping_rule_name`, `data_format`, `ignore_first_record`, `blob_storage_event_type`, `managed_identity_resource_id`, `managed_identity_object_id`, `database_routing` and `provisioning_state` under property `properties` whose type is `EventGridConnectionProperties`
58+
- Model `EventHubDataConnection` moved instance variable `event_hub_resource_id`, `consumer_group`, `table_name`, `mapping_rule_name`, `data_format`, `event_system_properties`, `compression`, `provisioning_state`, `managed_identity_resource_id`, `managed_identity_object_id`, `database_routing` and `retrieval_start_date` under property `properties` whose type is `EventHubConnectionProperties`
59+
- Model `FollowerDatabaseDefinitionGet` moved instance variable `cluster_resource_id`, `attached_database_configuration_name`, `database_name`, `table_level_sharing_properties` and `database_share_origin` under property `properties` whose type is `FollowerDatabaseProperties`
60+
- Model `IotHubDataConnection` moved instance variable `iot_hub_resource_id`, `consumer_group`, `table_name`, `mapping_rule_name`, `data_format`, `event_system_properties`, `shared_access_policy_name`, `database_routing`, `retrieval_start_date` and `provisioning_state` under property `properties` whose type is `IotHubConnectionProperties`
61+
- Method `ClustersOperations.begin_create_or_update` replaced positional_or_keyword parameters `if_match`/`if_none_match` to keyword_only parameters `etag`/`match_condition`
62+
- Method `ClustersOperations.begin_update` replaced positional_or_keyword parameter `if_match` to keyword_only parameters `etag`/`match_condition`
63+
- Parameter `caller_role` of `DatabasesOperations.begin_create_or_update` is now optional
64+
- Method `DatabasesOperations.begin_create_or_update` changed its parameter `caller_role` from `positional_or_keyword` to `keyword_only`
65+
- Parameter `caller_role` of `DatabasesOperations.begin_update` is now optional
66+
- Method `DatabasesOperations.begin_update` changed its parameter `caller_role` from `positional_or_keyword` to `keyword_only`
67+
- Method `DatabasesOperations.list_by_cluster` changed its parameter `skiptoken` from `positional_or_keyword` to `keyword_only`
68+
69+
### Other Changes
70+
71+
- Deleted model `FollowerDatabaseListResultGet`/`ListResourceSkusResult`/`SkuDescriptionList` which actually were not used by SDK users
72+
373
## 3.4.0 (2024-01-24)
474

575
### Features Added
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
include _meta.json
2-
recursive-include tests *.py *.json
3-
recursive-include samples *.py *.md
41
include *.md
5-
include azure/__init__.py
6-
include azure/mgmt/__init__.py
72
include LICENSE
83
include azure/mgmt/kusto/py.typed
4+
recursive-include tests *.py
5+
recursive-include samples *.py *.md
6+
include azure/__init__.py
7+
include azure/mgmt/__init__.py

sdk/kusto/azure-mgmt-kusto/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Kusto Management Client Library.
4-
This package has been tested with Python 3.8+.
4+
This package has been tested with Python 3.10+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

77
## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1212

1313
### Prerequisites
1414

15-
- Python 3.8+ is required to use this package.
15+
- Python 3.10+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
27+
By default, [Microsoft Entra](https://learn.microsoft.com/entra/fundamentals/what-is-entra) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.

sdk/kusto/azure-mgmt-kusto/_meta.json

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"apiVersion": "2025-02-14",
3+
"apiVersions": {
4+
"Microsoft.Kusto": "2025-02-14"
5+
},
6+
"commit": "924420fe602b631163f1e2628337c2dd7f26c173",
7+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
8+
"typespec_src": "specification/azure-kusto/resource-manager/Microsoft.Kusto/Kusto",
9+
"emitterVersion": "0.62.1"
10+
}

0 commit comments

Comments
 (0)