Skip to content

Commit be30d78

Browse files
author
SDKAuto
committed
CodeGen from PR 17923 in Azure/azure-rest-api-specs
Merge 7d1b7dc08e4dbb1a9e8d569ee29ed59e5731757c into 791255f0c5dd775015cd51f3e642549190fb3803
1 parent 4083a32 commit be30d78

File tree

14 files changed

+2931
-61
lines changed

14 files changed

+2931
-61
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"@autorest/[email protected]",
55
"@autorest/[email protected]"
66
],
7-
"commit": "24b1f9ed9a0768a55b14cced1761a40f7c12b6d2",
7+
"commit": "651ef3152ad598119c7c6ba4f3a7d303f643b9bf",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/operationalinsights/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.7.2",
9+
"autorest_command": "autorest specification/operationalinsights/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.7.2",
1010
"readme": "specification/operationalinsights/resource-manager/readme.md"
1111
}

sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/_log_analytics_management_client.py

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from . import models
1717
from ._configuration import LogAnalyticsManagementClientConfiguration
18-
from .operations import AvailableServiceTiersOperations, ClustersOperations, DataExportsOperations, DataSourcesOperations, DeletedWorkspacesOperations, GatewaysOperations, IntelligencePacksOperations, LinkedServicesOperations, LinkedStorageAccountsOperations, ManagementGroupsOperations, OperationStatusesOperations, Operations, SavedSearchesOperations, SchemaOperations, SharedKeysOperations, StorageInsightConfigsOperations, TablesOperations, UsagesOperations, WorkspacePurgeOperations, WorkspacesOperations
18+
from .operations import AvailableServiceTiersOperations, ClustersOperations, DataExportsOperations, DataSourcesOperations, DeletedWorkspacesOperations, GatewaysOperations, IntelligencePacksOperations, LinkedServicesOperations, LinkedStorageAccountsOperations, ManagementGroupsOperations, OperationStatusesOperations, Operations, QueriesOperations, QueryPacksOperations, SavedSearchesOperations, SchemaOperations, SharedKeysOperations, StorageInsightConfigsOperations, TablesOperations, UsagesOperations, WorkspacePurgeOperations, WorkspacesOperations
1919

2020
if TYPE_CHECKING:
2121
# pylint: disable=unused-import,ungrouped-imports
@@ -24,14 +24,10 @@
2424
class LogAnalyticsManagementClient:
2525
"""Operational Insights Client.
2626
27-
:ivar operations: Operations operations
28-
:vartype operations: azure.mgmt.loganalytics.operations.Operations
29-
:ivar workspaces: WorkspacesOperations operations
30-
:vartype workspaces: azure.mgmt.loganalytics.operations.WorkspacesOperations
31-
:ivar deleted_workspaces: DeletedWorkspacesOperations operations
32-
:vartype deleted_workspaces: azure.mgmt.loganalytics.operations.DeletedWorkspacesOperations
33-
:ivar tables: TablesOperations operations
34-
:vartype tables: azure.mgmt.loganalytics.operations.TablesOperations
27+
:ivar query_packs: QueryPacksOperations operations
28+
:vartype query_packs: azure.mgmt.loganalytics.operations.QueryPacksOperations
29+
:ivar queries: QueriesOperations operations
30+
:vartype queries: azure.mgmt.loganalytics.operations.QueriesOperations
3531
:ivar data_exports: DataExportsOperations operations
3632
:vartype data_exports: azure.mgmt.loganalytics.operations.DataExportsOperations
3733
:ivar data_sources: DataSourcesOperations operations
@@ -67,6 +63,14 @@ class LogAnalyticsManagementClient:
6763
:vartype workspace_purge: azure.mgmt.loganalytics.operations.WorkspacePurgeOperations
6864
:ivar clusters: ClustersOperations operations
6965
:vartype clusters: azure.mgmt.loganalytics.operations.ClustersOperations
66+
:ivar operations: Operations operations
67+
:vartype operations: azure.mgmt.loganalytics.operations.Operations
68+
:ivar workspaces: WorkspacesOperations operations
69+
:vartype workspaces: azure.mgmt.loganalytics.operations.WorkspacesOperations
70+
:ivar deleted_workspaces: DeletedWorkspacesOperations operations
71+
:vartype deleted_workspaces: azure.mgmt.loganalytics.operations.DeletedWorkspacesOperations
72+
:ivar tables: TablesOperations operations
73+
:vartype tables: azure.mgmt.loganalytics.operations.TablesOperations
7074
:param credential: Credential needed for the client to connect to Azure.
7175
:type credential: ~azure.core.credentials.TokenCredential
7276
:param subscription_id: The ID of the target subscription.
@@ -91,10 +95,8 @@ def __init__(
9195
self._serialize = Serializer(client_models)
9296
self._deserialize = Deserializer(client_models)
9397
self._serialize.client_side_validation = False
94-
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
95-
self.workspaces = WorkspacesOperations(self._client, self._config, self._serialize, self._deserialize)
96-
self.deleted_workspaces = DeletedWorkspacesOperations(self._client, self._config, self._serialize, self._deserialize)
97-
self.tables = TablesOperations(self._client, self._config, self._serialize, self._deserialize)
98+
self.query_packs = QueryPacksOperations(self._client, self._config, self._serialize, self._deserialize)
99+
self.queries = QueriesOperations(self._client, self._config, self._serialize, self._deserialize)
98100
self.data_exports = DataExportsOperations(self._client, self._config, self._serialize, self._deserialize)
99101
self.data_sources = DataSourcesOperations(self._client, self._config, self._serialize, self._deserialize)
100102
self.intelligence_packs = IntelligencePacksOperations(self._client, self._config, self._serialize, self._deserialize)
@@ -111,6 +113,10 @@ def __init__(
111113
self.schema = SchemaOperations(self._client, self._config, self._serialize, self._deserialize)
112114
self.workspace_purge = WorkspacePurgeOperations(self._client, self._config, self._serialize, self._deserialize)
113115
self.clusters = ClustersOperations(self._client, self._config, self._serialize, self._deserialize)
116+
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
117+
self.workspaces = WorkspacesOperations(self._client, self._config, self._serialize, self._deserialize)
118+
self.deleted_workspaces = DeletedWorkspacesOperations(self._client, self._config, self._serialize, self._deserialize)
119+
self.tables = TablesOperations(self._client, self._config, self._serialize, self._deserialize)
114120

115121

116122
def _send_request(

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"chosen_version": "",
3-
"total_api_version_list": ["2020-08-01", "2021-06-01", "2021-12-01-preview"],
3+
"total_api_version_list": ["2019-09-01", "2020-08-01", "2021-06-01", "2021-12-01-preview"],
44
"client": {
55
"name": "LogAnalyticsManagementClient",
66
"filename": "_log_analytics_management_client",
@@ -97,10 +97,8 @@
9797
"async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\", \"AsyncARMChallengeAuthenticationPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}"
9898
},
9999
"operation_groups": {
100-
"operations": "Operations",
101-
"workspaces": "WorkspacesOperations",
102-
"deleted_workspaces": "DeletedWorkspacesOperations",
103-
"tables": "TablesOperations",
100+
"query_packs": "QueryPacksOperations",
101+
"queries": "QueriesOperations",
104102
"data_exports": "DataExportsOperations",
105103
"data_sources": "DataSourcesOperations",
106104
"intelligence_packs": "IntelligencePacksOperations",
@@ -116,6 +114,10 @@
116114
"gateways": "GatewaysOperations",
117115
"schema": "SchemaOperations",
118116
"workspace_purge": "WorkspacePurgeOperations",
119-
"clusters": "ClustersOperations"
117+
"clusters": "ClustersOperations",
118+
"operations": "Operations",
119+
"workspaces": "WorkspacesOperations",
120+
"deleted_workspaces": "DeletedWorkspacesOperations",
121+
"tables": "TablesOperations"
120122
}
121123
}

sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/_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 = "13.0.0b2"
9+
VERSION = "7.0.0b1"

sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/_log_analytics_management_client.py

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from .. import models
1717
from ._configuration import LogAnalyticsManagementClientConfiguration
18-
from .operations import AvailableServiceTiersOperations, ClustersOperations, DataExportsOperations, DataSourcesOperations, DeletedWorkspacesOperations, GatewaysOperations, IntelligencePacksOperations, LinkedServicesOperations, LinkedStorageAccountsOperations, ManagementGroupsOperations, OperationStatusesOperations, Operations, SavedSearchesOperations, SchemaOperations, SharedKeysOperations, StorageInsightConfigsOperations, TablesOperations, UsagesOperations, WorkspacePurgeOperations, WorkspacesOperations
18+
from .operations import AvailableServiceTiersOperations, ClustersOperations, DataExportsOperations, DataSourcesOperations, DeletedWorkspacesOperations, GatewaysOperations, IntelligencePacksOperations, LinkedServicesOperations, LinkedStorageAccountsOperations, ManagementGroupsOperations, OperationStatusesOperations, Operations, QueriesOperations, QueryPacksOperations, SavedSearchesOperations, SchemaOperations, SharedKeysOperations, StorageInsightConfigsOperations, TablesOperations, UsagesOperations, WorkspacePurgeOperations, WorkspacesOperations
1919

2020
if TYPE_CHECKING:
2121
# pylint: disable=unused-import,ungrouped-imports
@@ -24,14 +24,10 @@
2424
class LogAnalyticsManagementClient:
2525
"""Operational Insights Client.
2626
27-
:ivar operations: Operations operations
28-
:vartype operations: azure.mgmt.loganalytics.aio.operations.Operations
29-
:ivar workspaces: WorkspacesOperations operations
30-
:vartype workspaces: azure.mgmt.loganalytics.aio.operations.WorkspacesOperations
31-
:ivar deleted_workspaces: DeletedWorkspacesOperations operations
32-
:vartype deleted_workspaces: azure.mgmt.loganalytics.aio.operations.DeletedWorkspacesOperations
33-
:ivar tables: TablesOperations operations
34-
:vartype tables: azure.mgmt.loganalytics.aio.operations.TablesOperations
27+
:ivar query_packs: QueryPacksOperations operations
28+
:vartype query_packs: azure.mgmt.loganalytics.aio.operations.QueryPacksOperations
29+
:ivar queries: QueriesOperations operations
30+
:vartype queries: azure.mgmt.loganalytics.aio.operations.QueriesOperations
3531
:ivar data_exports: DataExportsOperations operations
3632
:vartype data_exports: azure.mgmt.loganalytics.aio.operations.DataExportsOperations
3733
:ivar data_sources: DataSourcesOperations operations
@@ -67,6 +63,14 @@ class LogAnalyticsManagementClient:
6763
:vartype workspace_purge: azure.mgmt.loganalytics.aio.operations.WorkspacePurgeOperations
6864
:ivar clusters: ClustersOperations operations
6965
:vartype clusters: azure.mgmt.loganalytics.aio.operations.ClustersOperations
66+
:ivar operations: Operations operations
67+
:vartype operations: azure.mgmt.loganalytics.aio.operations.Operations
68+
:ivar workspaces: WorkspacesOperations operations
69+
:vartype workspaces: azure.mgmt.loganalytics.aio.operations.WorkspacesOperations
70+
:ivar deleted_workspaces: DeletedWorkspacesOperations operations
71+
:vartype deleted_workspaces: azure.mgmt.loganalytics.aio.operations.DeletedWorkspacesOperations
72+
:ivar tables: TablesOperations operations
73+
:vartype tables: azure.mgmt.loganalytics.aio.operations.TablesOperations
7074
:param credential: Credential needed for the client to connect to Azure.
7175
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
7276
:param subscription_id: The ID of the target subscription.
@@ -91,10 +95,8 @@ def __init__(
9195
self._serialize = Serializer(client_models)
9296
self._deserialize = Deserializer(client_models)
9397
self._serialize.client_side_validation = False
94-
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
95-
self.workspaces = WorkspacesOperations(self._client, self._config, self._serialize, self._deserialize)
96-
self.deleted_workspaces = DeletedWorkspacesOperations(self._client, self._config, self._serialize, self._deserialize)
97-
self.tables = TablesOperations(self._client, self._config, self._serialize, self._deserialize)
98+
self.query_packs = QueryPacksOperations(self._client, self._config, self._serialize, self._deserialize)
99+
self.queries = QueriesOperations(self._client, self._config, self._serialize, self._deserialize)
98100
self.data_exports = DataExportsOperations(self._client, self._config, self._serialize, self._deserialize)
99101
self.data_sources = DataSourcesOperations(self._client, self._config, self._serialize, self._deserialize)
100102
self.intelligence_packs = IntelligencePacksOperations(self._client, self._config, self._serialize, self._deserialize)
@@ -111,6 +113,10 @@ def __init__(
111113
self.schema = SchemaOperations(self._client, self._config, self._serialize, self._deserialize)
112114
self.workspace_purge = WorkspacePurgeOperations(self._client, self._config, self._serialize, self._deserialize)
113115
self.clusters = ClustersOperations(self._client, self._config, self._serialize, self._deserialize)
116+
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
117+
self.workspaces = WorkspacesOperations(self._client, self._config, self._serialize, self._deserialize)
118+
self.deleted_workspaces = DeletedWorkspacesOperations(self._client, self._config, self._serialize, self._deserialize)
119+
self.tables = TablesOperations(self._client, self._config, self._serialize, self._deserialize)
114120

115121

116122
def _send_request(

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

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
from ._operations import Operations
10-
from ._workspaces_operations import WorkspacesOperations
11-
from ._deleted_workspaces_operations import DeletedWorkspacesOperations
12-
from ._tables_operations import TablesOperations
9+
from ._query_packs_operations import QueryPacksOperations
10+
from ._queries_operations import QueriesOperations
1311
from ._data_exports_operations import DataExportsOperations
1412
from ._data_sources_operations import DataSourcesOperations
1513
from ._intelligence_packs_operations import IntelligencePacksOperations
@@ -26,12 +24,14 @@
2624
from ._schema_operations import SchemaOperations
2725
from ._workspace_purge_operations import WorkspacePurgeOperations
2826
from ._clusters_operations import ClustersOperations
27+
from ._operations import Operations
28+
from ._workspaces_operations import WorkspacesOperations
29+
from ._deleted_workspaces_operations import DeletedWorkspacesOperations
30+
from ._tables_operations import TablesOperations
2931

3032
__all__ = [
31-
'Operations',
32-
'WorkspacesOperations',
33-
'DeletedWorkspacesOperations',
34-
'TablesOperations',
33+
'QueryPacksOperations',
34+
'QueriesOperations',
3535
'DataExportsOperations',
3636
'DataSourcesOperations',
3737
'IntelligencePacksOperations',
@@ -48,4 +48,8 @@
4848
'SchemaOperations',
4949
'WorkspacePurgeOperations',
5050
'ClustersOperations',
51+
'Operations',
52+
'WorkspacesOperations',
53+
'DeletedWorkspacesOperations',
54+
'TablesOperations',
5155
]

0 commit comments

Comments
 (0)