Skip to content

Commit 48e08f8

Browse files
Azure CLI BotSDKAuto
authored andcommitted
[AutoRelease] t2-kusto-2021-09-22-40032 (#20790)
* CodeGen from PR 16115 in Azure/azure-rest-api-specs Update readme.python.md (#16115) * version,CHANGELOG Co-authored-by: SDKAuto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
1 parent 5908a7e commit 48e08f8

38 files changed

+4821
-696
lines changed

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

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

3+
## 2.1.0 (2021-09-22)
4+
5+
**Features**
6+
7+
- Model Cluster has a new parameter accepted_audiences
8+
- Model Cluster has a new parameter allowed_fqdn_list
9+
- Model Cluster has a new parameter enable_auto_stop
10+
- Model Cluster has a new parameter allowed_ip_range_list
11+
- Model Cluster has a new parameter system_data
12+
- Model Cluster has a new parameter restrict_outbound_network_access
13+
- Model Cluster has a new parameter public_network_access
14+
- Model ClusterUpdate has a new parameter accepted_audiences
15+
- Model ClusterUpdate has a new parameter allowed_fqdn_list
16+
- Model ClusterUpdate has a new parameter enable_auto_stop
17+
- Model ClusterUpdate has a new parameter allowed_ip_range_list
18+
- Model ClusterUpdate has a new parameter restrict_outbound_network_access
19+
- Model ClusterUpdate has a new parameter public_network_access
20+
- Added operation AttachedDatabaseConfigurationsOperations.check_name_availability
21+
- Added operation ClustersOperations.list_outbound_network_dependencies_endpoints
22+
- Added operation group PrivateEndpointConnectionsOperations
23+
- Added operation group ManagedPrivateEndpointsOperations
24+
- Added operation group PrivateLinkResourcesOperations
25+
326
## 2.0.0 (2021-04-26)
427

528
**Features**
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
2-
"autorest": "3.3.0",
3-
"use": "@autorest/[email protected]",
4-
"commit": "4c881abe43b82c6f001f2f2ca7f2a2d63299749e",
2+
"autorest": "3.4.5",
3+
"use": [
4+
"@autorest/[email protected]",
5+
"@autorest/[email protected]"
6+
],
7+
"commit": "2ecc4a457776feff5cf647d28c045ea9acffadb3",
58
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
6-
"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",
9+
"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",
710
"readme": "specification/azure-kusto/resource-manager/readme.md"
811
}

sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(
4848

4949
self.credential = credential
5050
self.subscription_id = subscription_id
51-
self.api_version = "2021-01-01"
51+
self.api_version = "2021-08-27"
5252
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5353
kwargs.setdefault('sdk_moniker', 'mgmt-kusto/{}'.format(VERSION))
5454
self._configure(**kwargs)

sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_kusto_management_client.py

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@
2222
from .operations import ClustersOperations
2323
from .operations import ClusterPrincipalAssignmentsOperations
2424
from .operations import DatabasesOperations
25+
from .operations import AttachedDatabaseConfigurationsOperations
26+
from .operations import ManagedPrivateEndpointsOperations
2527
from .operations import DatabasePrincipalAssignmentsOperations
2628
from .operations import ScriptsOperations
27-
from .operations import AttachedDatabaseConfigurationsOperations
29+
from .operations import PrivateEndpointConnectionsOperations
30+
from .operations import PrivateLinkResourcesOperations
2831
from .operations import DataConnectionsOperations
2932
from .operations import Operations
3033
from .operations import OperationsResultsOperations
@@ -35,23 +38,29 @@ class KustoManagementClient(object):
3538
"""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.
3639
3740
:ivar clusters: ClustersOperations operations
38-
:vartype clusters: azure.mgmt.kusto.operations.ClustersOperations
41+
:vartype clusters: kusto_management_client.operations.ClustersOperations
3942
:ivar cluster_principal_assignments: ClusterPrincipalAssignmentsOperations operations
40-
:vartype cluster_principal_assignments: azure.mgmt.kusto.operations.ClusterPrincipalAssignmentsOperations
43+
:vartype cluster_principal_assignments: kusto_management_client.operations.ClusterPrincipalAssignmentsOperations
4144
:ivar databases: DatabasesOperations operations
42-
:vartype databases: azure.mgmt.kusto.operations.DatabasesOperations
45+
:vartype databases: kusto_management_client.operations.DatabasesOperations
46+
:ivar attached_database_configurations: AttachedDatabaseConfigurationsOperations operations
47+
:vartype attached_database_configurations: kusto_management_client.operations.AttachedDatabaseConfigurationsOperations
48+
:ivar managed_private_endpoints: ManagedPrivateEndpointsOperations operations
49+
:vartype managed_private_endpoints: kusto_management_client.operations.ManagedPrivateEndpointsOperations
4350
:ivar database_principal_assignments: DatabasePrincipalAssignmentsOperations operations
44-
:vartype database_principal_assignments: azure.mgmt.kusto.operations.DatabasePrincipalAssignmentsOperations
51+
:vartype database_principal_assignments: kusto_management_client.operations.DatabasePrincipalAssignmentsOperations
4552
:ivar scripts: ScriptsOperations operations
46-
:vartype scripts: azure.mgmt.kusto.operations.ScriptsOperations
47-
:ivar attached_database_configurations: AttachedDatabaseConfigurationsOperations operations
48-
:vartype attached_database_configurations: azure.mgmt.kusto.operations.AttachedDatabaseConfigurationsOperations
53+
:vartype scripts: kusto_management_client.operations.ScriptsOperations
54+
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
55+
:vartype private_endpoint_connections: kusto_management_client.operations.PrivateEndpointConnectionsOperations
56+
:ivar private_link_resources: PrivateLinkResourcesOperations operations
57+
:vartype private_link_resources: kusto_management_client.operations.PrivateLinkResourcesOperations
4958
:ivar data_connections: DataConnectionsOperations operations
50-
:vartype data_connections: azure.mgmt.kusto.operations.DataConnectionsOperations
59+
:vartype data_connections: kusto_management_client.operations.DataConnectionsOperations
5160
:ivar operations: Operations operations
52-
:vartype operations: azure.mgmt.kusto.operations.Operations
61+
:vartype operations: kusto_management_client.operations.Operations
5362
:ivar operations_results: OperationsResultsOperations operations
54-
:vartype operations_results: azure.mgmt.kusto.operations.OperationsResultsOperations
63+
:vartype operations_results: kusto_management_client.operations.OperationsResultsOperations
5564
:param credential: Credential needed for the client to connect to Azure.
5665
:type credential: ~azure.core.credentials.TokenCredential
5766
:param subscription_id: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
@@ -84,11 +93,17 @@ def __init__(
8493
self._client, self._config, self._serialize, self._deserialize)
8594
self.databases = DatabasesOperations(
8695
self._client, self._config, self._serialize, self._deserialize)
96+
self.attached_database_configurations = AttachedDatabaseConfigurationsOperations(
97+
self._client, self._config, self._serialize, self._deserialize)
98+
self.managed_private_endpoints = ManagedPrivateEndpointsOperations(
99+
self._client, self._config, self._serialize, self._deserialize)
87100
self.database_principal_assignments = DatabasePrincipalAssignmentsOperations(
88101
self._client, self._config, self._serialize, self._deserialize)
89102
self.scripts = ScriptsOperations(
90103
self._client, self._config, self._serialize, self._deserialize)
91-
self.attached_database_configurations = AttachedDatabaseConfigurationsOperations(
104+
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
105+
self._client, self._config, self._serialize, self._deserialize)
106+
self.private_link_resources = PrivateLinkResourcesOperations(
92107
self._client, self._config, self._serialize, self._deserialize)
93108
self.data_connections = DataConnectionsOperations(
94109
self._client, self._config, self._serialize, self._deserialize)

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"chosen_version": "2021-01-01",
3-
"total_api_version_list": ["2021-01-01"],
2+
"chosen_version": "2021-08-27",
3+
"total_api_version_list": ["2021-08-27"],
44
"client": {
55
"name": "KustoManagementClient",
66
"filename": "_kusto_management_client",
@@ -101,9 +101,12 @@
101101
"clusters": "ClustersOperations",
102102
"cluster_principal_assignments": "ClusterPrincipalAssignmentsOperations",
103103
"databases": "DatabasesOperations",
104+
"attached_database_configurations": "AttachedDatabaseConfigurationsOperations",
105+
"managed_private_endpoints": "ManagedPrivateEndpointsOperations",
104106
"database_principal_assignments": "DatabasePrincipalAssignmentsOperations",
105107
"scripts": "ScriptsOperations",
106-
"attached_database_configurations": "AttachedDatabaseConfigurationsOperations",
108+
"private_endpoint_connections": "PrivateEndpointConnectionsOperations",
109+
"private_link_resources": "PrivateLinkResourcesOperations",
107110
"data_connections": "DataConnectionsOperations",
108111
"operations": "Operations",
109112
"operations_results": "OperationsResultsOperations"

sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "2.0.0"
9+
VERSION = "2.1.0"

sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(
4545

4646
self.credential = credential
4747
self.subscription_id = subscription_id
48-
self.api_version = "2021-01-01"
48+
self.api_version = "2021-08-27"
4949
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5050
kwargs.setdefault('sdk_moniker', 'mgmt-kusto/{}'.format(VERSION))
5151
self._configure(**kwargs)

sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/_kusto_management_client.py

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@
2020
from .operations import ClustersOperations
2121
from .operations import ClusterPrincipalAssignmentsOperations
2222
from .operations import DatabasesOperations
23+
from .operations import AttachedDatabaseConfigurationsOperations
24+
from .operations import ManagedPrivateEndpointsOperations
2325
from .operations import DatabasePrincipalAssignmentsOperations
2426
from .operations import ScriptsOperations
25-
from .operations import AttachedDatabaseConfigurationsOperations
27+
from .operations import PrivateEndpointConnectionsOperations
28+
from .operations import PrivateLinkResourcesOperations
2629
from .operations import DataConnectionsOperations
2730
from .operations import Operations
2831
from .operations import OperationsResultsOperations
@@ -33,23 +36,29 @@ class KustoManagementClient(object):
3336
"""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.
3437
3538
:ivar clusters: ClustersOperations operations
36-
:vartype clusters: azure.mgmt.kusto.aio.operations.ClustersOperations
39+
:vartype clusters: kusto_management_client.aio.operations.ClustersOperations
3740
:ivar cluster_principal_assignments: ClusterPrincipalAssignmentsOperations operations
38-
:vartype cluster_principal_assignments: azure.mgmt.kusto.aio.operations.ClusterPrincipalAssignmentsOperations
41+
:vartype cluster_principal_assignments: kusto_management_client.aio.operations.ClusterPrincipalAssignmentsOperations
3942
:ivar databases: DatabasesOperations operations
40-
:vartype databases: azure.mgmt.kusto.aio.operations.DatabasesOperations
43+
:vartype databases: kusto_management_client.aio.operations.DatabasesOperations
44+
:ivar attached_database_configurations: AttachedDatabaseConfigurationsOperations operations
45+
:vartype attached_database_configurations: kusto_management_client.aio.operations.AttachedDatabaseConfigurationsOperations
46+
:ivar managed_private_endpoints: ManagedPrivateEndpointsOperations operations
47+
:vartype managed_private_endpoints: kusto_management_client.aio.operations.ManagedPrivateEndpointsOperations
4148
:ivar database_principal_assignments: DatabasePrincipalAssignmentsOperations operations
42-
:vartype database_principal_assignments: azure.mgmt.kusto.aio.operations.DatabasePrincipalAssignmentsOperations
49+
:vartype database_principal_assignments: kusto_management_client.aio.operations.DatabasePrincipalAssignmentsOperations
4350
:ivar scripts: ScriptsOperations operations
44-
:vartype scripts: azure.mgmt.kusto.aio.operations.ScriptsOperations
45-
:ivar attached_database_configurations: AttachedDatabaseConfigurationsOperations operations
46-
:vartype attached_database_configurations: azure.mgmt.kusto.aio.operations.AttachedDatabaseConfigurationsOperations
51+
:vartype scripts: kusto_management_client.aio.operations.ScriptsOperations
52+
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
53+
:vartype private_endpoint_connections: kusto_management_client.aio.operations.PrivateEndpointConnectionsOperations
54+
:ivar private_link_resources: PrivateLinkResourcesOperations operations
55+
:vartype private_link_resources: kusto_management_client.aio.operations.PrivateLinkResourcesOperations
4756
:ivar data_connections: DataConnectionsOperations operations
48-
:vartype data_connections: azure.mgmt.kusto.aio.operations.DataConnectionsOperations
57+
:vartype data_connections: kusto_management_client.aio.operations.DataConnectionsOperations
4958
:ivar operations: Operations operations
50-
:vartype operations: azure.mgmt.kusto.aio.operations.Operations
59+
:vartype operations: kusto_management_client.aio.operations.Operations
5160
:ivar operations_results: OperationsResultsOperations operations
52-
:vartype operations_results: azure.mgmt.kusto.aio.operations.OperationsResultsOperations
61+
:vartype operations_results: kusto_management_client.aio.operations.OperationsResultsOperations
5362
:param credential: Credential needed for the client to connect to Azure.
5463
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
5564
:param subscription_id: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
@@ -81,11 +90,17 @@ def __init__(
8190
self._client, self._config, self._serialize, self._deserialize)
8291
self.databases = DatabasesOperations(
8392
self._client, self._config, self._serialize, self._deserialize)
93+
self.attached_database_configurations = AttachedDatabaseConfigurationsOperations(
94+
self._client, self._config, self._serialize, self._deserialize)
95+
self.managed_private_endpoints = ManagedPrivateEndpointsOperations(
96+
self._client, self._config, self._serialize, self._deserialize)
8497
self.database_principal_assignments = DatabasePrincipalAssignmentsOperations(
8598
self._client, self._config, self._serialize, self._deserialize)
8699
self.scripts = ScriptsOperations(
87100
self._client, self._config, self._serialize, self._deserialize)
88-
self.attached_database_configurations = AttachedDatabaseConfigurationsOperations(
101+
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
102+
self._client, self._config, self._serialize, self._deserialize)
103+
self.private_link_resources = PrivateLinkResourcesOperations(
89104
self._client, self._config, self._serialize, self._deserialize)
90105
self.data_connections = DataConnectionsOperations(
91106
self._client, self._config, self._serialize, self._deserialize)

sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/__init__.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@
99
from ._clusters_operations import ClustersOperations
1010
from ._cluster_principal_assignments_operations import ClusterPrincipalAssignmentsOperations
1111
from ._databases_operations import DatabasesOperations
12+
from ._attached_database_configurations_operations import AttachedDatabaseConfigurationsOperations
13+
from ._managed_private_endpoints_operations import ManagedPrivateEndpointsOperations
1214
from ._database_principal_assignments_operations import DatabasePrincipalAssignmentsOperations
1315
from ._scripts_operations import ScriptsOperations
14-
from ._attached_database_configurations_operations import AttachedDatabaseConfigurationsOperations
16+
from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations
17+
from ._private_link_resources_operations import PrivateLinkResourcesOperations
1518
from ._data_connections_operations import DataConnectionsOperations
1619
from ._operations import Operations
1720
from ._operations_results_operations import OperationsResultsOperations
@@ -20,9 +23,12 @@
2023
'ClustersOperations',
2124
'ClusterPrincipalAssignmentsOperations',
2225
'DatabasesOperations',
26+
'AttachedDatabaseConfigurationsOperations',
27+
'ManagedPrivateEndpointsOperations',
2328
'DatabasePrincipalAssignmentsOperations',
2429
'ScriptsOperations',
25-
'AttachedDatabaseConfigurationsOperations',
30+
'PrivateEndpointConnectionsOperations',
31+
'PrivateLinkResourcesOperations',
2632
'DataConnectionsOperations',
2733
'Operations',
2834
'OperationsResultsOperations',

0 commit comments

Comments
 (0)