Skip to content

Commit

Permalink
[AutoRelease] t2-kusto-2021-09-22-40032 (Azure#20790)
Browse files Browse the repository at this point in the history
* CodeGen from PR 16115 in Azure/azure-rest-api-specs
Update readme.python.md (Azure#16115)

* version,CHANGELOG

Co-authored-by: SDKAuto <[email protected]>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
  • Loading branch information
Azure CLI Bot and SDKAuto authored Sep 23, 2021
1 parent f4679b9 commit ef7fc5e
Show file tree
Hide file tree
Showing 38 changed files with 4,821 additions and 696 deletions.
23 changes: 23 additions & 0 deletions sdk/kusto/azure-mgmt-kusto/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Release History

## 2.1.0 (2021-09-22)

**Features**

- Model Cluster has a new parameter accepted_audiences
- Model Cluster has a new parameter allowed_fqdn_list
- Model Cluster has a new parameter enable_auto_stop
- Model Cluster has a new parameter allowed_ip_range_list
- Model Cluster has a new parameter system_data
- Model Cluster has a new parameter restrict_outbound_network_access
- Model Cluster has a new parameter public_network_access
- Model ClusterUpdate has a new parameter accepted_audiences
- Model ClusterUpdate has a new parameter allowed_fqdn_list
- Model ClusterUpdate has a new parameter enable_auto_stop
- Model ClusterUpdate has a new parameter allowed_ip_range_list
- Model ClusterUpdate has a new parameter restrict_outbound_network_access
- Model ClusterUpdate has a new parameter public_network_access
- Added operation AttachedDatabaseConfigurationsOperations.check_name_availability
- Added operation ClustersOperations.list_outbound_network_dependencies_endpoints
- Added operation group PrivateEndpointConnectionsOperations
- Added operation group ManagedPrivateEndpointsOperations
- Added operation group PrivateLinkResourcesOperations

## 2.0.0 (2021-04-26)

**Features**
Expand Down
11 changes: 7 additions & 4 deletions sdk/kusto/azure-mgmt-kusto/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.3.0",
"use": "@autorest/[email protected]",
"commit": "4c881abe43b82c6f001f2f2ca7f2a2d63299749e",
"autorest": "3.4.5",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "2ecc4a457776feff5cf647d28c045ea9acffadb3",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"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",
"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",
"readme": "specification/azure-kusto/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-01-01"
self.api_version = "2021-08-27"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-kusto/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@
from .operations import ClustersOperations
from .operations import ClusterPrincipalAssignmentsOperations
from .operations import DatabasesOperations
from .operations import AttachedDatabaseConfigurationsOperations
from .operations import ManagedPrivateEndpointsOperations
from .operations import DatabasePrincipalAssignmentsOperations
from .operations import ScriptsOperations
from .operations import AttachedDatabaseConfigurationsOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from .operations import DataConnectionsOperations
from .operations import Operations
from .operations import OperationsResultsOperations
Expand All @@ -35,23 +38,29 @@ class KustoManagementClient(object):
"""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.
:ivar clusters: ClustersOperations operations
:vartype clusters: azure.mgmt.kusto.operations.ClustersOperations
:vartype clusters: kusto_management_client.operations.ClustersOperations
:ivar cluster_principal_assignments: ClusterPrincipalAssignmentsOperations operations
:vartype cluster_principal_assignments: azure.mgmt.kusto.operations.ClusterPrincipalAssignmentsOperations
:vartype cluster_principal_assignments: kusto_management_client.operations.ClusterPrincipalAssignmentsOperations
:ivar databases: DatabasesOperations operations
:vartype databases: azure.mgmt.kusto.operations.DatabasesOperations
:vartype databases: kusto_management_client.operations.DatabasesOperations
:ivar attached_database_configurations: AttachedDatabaseConfigurationsOperations operations
:vartype attached_database_configurations: kusto_management_client.operations.AttachedDatabaseConfigurationsOperations
:ivar managed_private_endpoints: ManagedPrivateEndpointsOperations operations
:vartype managed_private_endpoints: kusto_management_client.operations.ManagedPrivateEndpointsOperations
:ivar database_principal_assignments: DatabasePrincipalAssignmentsOperations operations
:vartype database_principal_assignments: azure.mgmt.kusto.operations.DatabasePrincipalAssignmentsOperations
:vartype database_principal_assignments: kusto_management_client.operations.DatabasePrincipalAssignmentsOperations
:ivar scripts: ScriptsOperations operations
:vartype scripts: azure.mgmt.kusto.operations.ScriptsOperations
:ivar attached_database_configurations: AttachedDatabaseConfigurationsOperations operations
:vartype attached_database_configurations: azure.mgmt.kusto.operations.AttachedDatabaseConfigurationsOperations
:vartype scripts: kusto_management_client.operations.ScriptsOperations
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
:vartype private_endpoint_connections: kusto_management_client.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResourcesOperations operations
:vartype private_link_resources: kusto_management_client.operations.PrivateLinkResourcesOperations
:ivar data_connections: DataConnectionsOperations operations
:vartype data_connections: azure.mgmt.kusto.operations.DataConnectionsOperations
:vartype data_connections: kusto_management_client.operations.DataConnectionsOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.kusto.operations.Operations
:vartype operations: kusto_management_client.operations.Operations
:ivar operations_results: OperationsResultsOperations operations
:vartype operations_results: azure.mgmt.kusto.operations.OperationsResultsOperations
:vartype operations_results: kusto_management_client.operations.OperationsResultsOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Expand Down Expand Up @@ -84,11 +93,17 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.databases = DatabasesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.attached_database_configurations = AttachedDatabaseConfigurationsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_private_endpoints = ManagedPrivateEndpointsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.database_principal_assignments = DatabasePrincipalAssignmentsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.scripts = ScriptsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.attached_database_configurations = AttachedDatabaseConfigurationsOperations(
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.data_connections = DataConnectionsOperations(
self._client, self._config, self._serialize, self._deserialize)
Expand Down
9 changes: 6 additions & 3 deletions sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "2021-01-01",
"total_api_version_list": ["2021-01-01"],
"chosen_version": "2021-08-27",
"total_api_version_list": ["2021-08-27"],
"client": {
"name": "KustoManagementClient",
"filename": "_kusto_management_client",
Expand Down Expand Up @@ -101,9 +101,12 @@
"clusters": "ClustersOperations",
"cluster_principal_assignments": "ClusterPrincipalAssignmentsOperations",
"databases": "DatabasesOperations",
"attached_database_configurations": "AttachedDatabaseConfigurationsOperations",
"managed_private_endpoints": "ManagedPrivateEndpointsOperations",
"database_principal_assignments": "DatabasePrincipalAssignmentsOperations",
"scripts": "ScriptsOperations",
"attached_database_configurations": "AttachedDatabaseConfigurationsOperations",
"private_endpoint_connections": "PrivateEndpointConnectionsOperations",
"private_link_resources": "PrivateLinkResourcesOperations",
"data_connections": "DataConnectionsOperations",
"operations": "Operations",
"operations_results": "OperationsResultsOperations"
Expand Down
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 = "2.0.0"
VERSION = "2.1.0"
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-01-01"
self.api_version = "2021-08-27"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-kusto/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@
from .operations import ClustersOperations
from .operations import ClusterPrincipalAssignmentsOperations
from .operations import DatabasesOperations
from .operations import AttachedDatabaseConfigurationsOperations
from .operations import ManagedPrivateEndpointsOperations
from .operations import DatabasePrincipalAssignmentsOperations
from .operations import ScriptsOperations
from .operations import AttachedDatabaseConfigurationsOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from .operations import DataConnectionsOperations
from .operations import Operations
from .operations import OperationsResultsOperations
Expand All @@ -33,23 +36,29 @@ class KustoManagementClient(object):
"""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.
:ivar clusters: ClustersOperations operations
:vartype clusters: azure.mgmt.kusto.aio.operations.ClustersOperations
:vartype clusters: kusto_management_client.aio.operations.ClustersOperations
:ivar cluster_principal_assignments: ClusterPrincipalAssignmentsOperations operations
:vartype cluster_principal_assignments: azure.mgmt.kusto.aio.operations.ClusterPrincipalAssignmentsOperations
:vartype cluster_principal_assignments: kusto_management_client.aio.operations.ClusterPrincipalAssignmentsOperations
:ivar databases: DatabasesOperations operations
:vartype databases: azure.mgmt.kusto.aio.operations.DatabasesOperations
:vartype databases: kusto_management_client.aio.operations.DatabasesOperations
:ivar attached_database_configurations: AttachedDatabaseConfigurationsOperations operations
:vartype attached_database_configurations: kusto_management_client.aio.operations.AttachedDatabaseConfigurationsOperations
:ivar managed_private_endpoints: ManagedPrivateEndpointsOperations operations
:vartype managed_private_endpoints: kusto_management_client.aio.operations.ManagedPrivateEndpointsOperations
:ivar database_principal_assignments: DatabasePrincipalAssignmentsOperations operations
:vartype database_principal_assignments: azure.mgmt.kusto.aio.operations.DatabasePrincipalAssignmentsOperations
:vartype database_principal_assignments: kusto_management_client.aio.operations.DatabasePrincipalAssignmentsOperations
:ivar scripts: ScriptsOperations operations
:vartype scripts: azure.mgmt.kusto.aio.operations.ScriptsOperations
:ivar attached_database_configurations: AttachedDatabaseConfigurationsOperations operations
:vartype attached_database_configurations: azure.mgmt.kusto.aio.operations.AttachedDatabaseConfigurationsOperations
:vartype scripts: kusto_management_client.aio.operations.ScriptsOperations
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
:vartype private_endpoint_connections: kusto_management_client.aio.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResourcesOperations operations
:vartype private_link_resources: kusto_management_client.aio.operations.PrivateLinkResourcesOperations
:ivar data_connections: DataConnectionsOperations operations
:vartype data_connections: azure.mgmt.kusto.aio.operations.DataConnectionsOperations
:vartype data_connections: kusto_management_client.aio.operations.DataConnectionsOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.kusto.aio.operations.Operations
:vartype operations: kusto_management_client.aio.operations.Operations
:ivar operations_results: OperationsResultsOperations operations
:vartype operations_results: azure.mgmt.kusto.aio.operations.OperationsResultsOperations
:vartype operations_results: kusto_management_client.aio.operations.OperationsResultsOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Expand Down Expand Up @@ -81,11 +90,17 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.databases = DatabasesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.attached_database_configurations = AttachedDatabaseConfigurationsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_private_endpoints = ManagedPrivateEndpointsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.database_principal_assignments = DatabasePrincipalAssignmentsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.scripts = ScriptsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.attached_database_configurations = AttachedDatabaseConfigurationsOperations(
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.data_connections = DataConnectionsOperations(
self._client, self._config, self._serialize, self._deserialize)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
from ._clusters_operations import ClustersOperations
from ._cluster_principal_assignments_operations import ClusterPrincipalAssignmentsOperations
from ._databases_operations import DatabasesOperations
from ._attached_database_configurations_operations import AttachedDatabaseConfigurationsOperations
from ._managed_private_endpoints_operations import ManagedPrivateEndpointsOperations
from ._database_principal_assignments_operations import DatabasePrincipalAssignmentsOperations
from ._scripts_operations import ScriptsOperations
from ._attached_database_configurations_operations import AttachedDatabaseConfigurationsOperations
from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations
from ._private_link_resources_operations import PrivateLinkResourcesOperations
from ._data_connections_operations import DataConnectionsOperations
from ._operations import Operations
from ._operations_results_operations import OperationsResultsOperations
Expand All @@ -20,9 +23,12 @@
'ClustersOperations',
'ClusterPrincipalAssignmentsOperations',
'DatabasesOperations',
'AttachedDatabaseConfigurationsOperations',
'ManagedPrivateEndpointsOperations',
'DatabasePrincipalAssignmentsOperations',
'ScriptsOperations',
'AttachedDatabaseConfigurationsOperations',
'PrivateEndpointConnectionsOperations',
'PrivateLinkResourcesOperations',
'DataConnectionsOperations',
'Operations',
'OperationsResultsOperations',
Expand Down
Loading

0 comments on commit ef7fc5e

Please sign in to comment.