Skip to content

Commit

Permalink
CodeGen from PR 15748 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
add config for sdk automation of newest rp (Azure#15748)
  • Loading branch information
SDKAuto committed Aug 24, 2021
1 parent 3fe8964 commit da5d589
Show file tree
Hide file tree
Showing 19 changed files with 90 additions and 711 deletions.
8 changes: 4 additions & 4 deletions sdk/loganalytics/azure-mgmt-loganalytics/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.4.2",
"autorest": "3.4.5",
"use": [
"@autorest/python@5.8.1",
"@autorest/python@5.8.4",
"@autorest/modelerfour@4.19.2"
],
"commit": "313e78fa9784a6c17e8dcbb65fdf5f4b7077a184",
"commit": "e5c47c5615f81613263ff76fe25628ee19030a02",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"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 --track2 --use=@autorest/python@5.8.1 --use=@autorest/modelerfour@4.19.2 --version=3.4.2",
"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 --track2 --use=@autorest/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
"readme": "specification/operationalinsights/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@
from .operations import GatewaysOperations
from .operations import SchemaOperations
from .operations import WorkspacePurgeOperations
from .operations import TablesOperations
from .operations import ClustersOperations
from .operations import Operations
from .operations import ClustersOperations
from .operations import WorkspacesOperations
from .operations import DeletedWorkspacesOperations
from . import models
Expand Down Expand Up @@ -75,12 +74,10 @@ class LogAnalyticsManagementClient(object):
:vartype schema: azure.mgmt.loganalytics.operations.SchemaOperations
:ivar workspace_purge: WorkspacePurgeOperations operations
:vartype workspace_purge: azure.mgmt.loganalytics.operations.WorkspacePurgeOperations
:ivar tables: TablesOperations operations
:vartype tables: azure.mgmt.loganalytics.operations.TablesOperations
:ivar clusters: ClustersOperations operations
:vartype clusters: azure.mgmt.loganalytics.operations.ClustersOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.loganalytics.operations.Operations
:ivar clusters: ClustersOperations operations
:vartype clusters: azure.mgmt.loganalytics.operations.ClustersOperations
:ivar workspaces: WorkspacesOperations operations
:vartype workspaces: azure.mgmt.loganalytics.operations.WorkspacesOperations
:ivar deleted_workspaces: DeletedWorkspacesOperations operations
Expand Down Expand Up @@ -141,12 +138,10 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.workspace_purge = WorkspacePurgeOperations(
self._client, self._config, self._serialize, self._deserialize)
self.tables = TablesOperations(
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
self.clusters = ClustersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
self.workspaces = WorkspacesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.deleted_workspaces = DeletedWorkspacesOperations(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "",
"total_api_version_list": ["2020-08-01", "2020-10-01"],
"total_api_version_list": ["2020-08-01", "2020-10-01", "2021-06-01"],
"client": {
"name": "LogAnalyticsManagementClient",
"filename": "_log_analytics_management_client",
Expand Down Expand Up @@ -113,9 +113,8 @@
"gateways": "GatewaysOperations",
"schema": "SchemaOperations",
"workspace_purge": "WorkspacePurgeOperations",
"tables": "TablesOperations",
"clusters": "ClustersOperations",
"operations": "Operations",
"clusters": "ClustersOperations",
"workspaces": "WorkspacesOperations",
"deleted_workspaces": "DeletedWorkspacesOperations"
}
Expand Down
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 = "11.0.0"
VERSION = "7.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@
from .operations import GatewaysOperations
from .operations import SchemaOperations
from .operations import WorkspacePurgeOperations
from .operations import TablesOperations
from .operations import ClustersOperations
from .operations import Operations
from .operations import ClustersOperations
from .operations import WorkspacesOperations
from .operations import DeletedWorkspacesOperations
from .. import models
Expand Down Expand Up @@ -73,12 +72,10 @@ class LogAnalyticsManagementClient(object):
:vartype schema: azure.mgmt.loganalytics.aio.operations.SchemaOperations
:ivar workspace_purge: WorkspacePurgeOperations operations
:vartype workspace_purge: azure.mgmt.loganalytics.aio.operations.WorkspacePurgeOperations
:ivar tables: TablesOperations operations
:vartype tables: azure.mgmt.loganalytics.aio.operations.TablesOperations
:ivar clusters: ClustersOperations operations
:vartype clusters: azure.mgmt.loganalytics.aio.operations.ClustersOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.loganalytics.aio.operations.Operations
:ivar clusters: ClustersOperations operations
:vartype clusters: azure.mgmt.loganalytics.aio.operations.ClustersOperations
:ivar workspaces: WorkspacesOperations operations
:vartype workspaces: azure.mgmt.loganalytics.aio.operations.WorkspacesOperations
:ivar deleted_workspaces: DeletedWorkspacesOperations operations
Expand Down Expand Up @@ -138,12 +135,10 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.workspace_purge = WorkspacePurgeOperations(
self._client, self._config, self._serialize, self._deserialize)
self.tables = TablesOperations(
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
self.clusters = ClustersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
self.workspaces = WorkspacesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.deleted_workspaces = DeletedWorkspacesOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@
from ._gateways_operations import GatewaysOperations
from ._schema_operations import SchemaOperations
from ._workspace_purge_operations import WorkspacePurgeOperations
from ._tables_operations import TablesOperations
from ._clusters_operations import ClustersOperations
from ._operations import Operations
from ._clusters_operations import ClustersOperations
from ._workspaces_operations import WorkspacesOperations
from ._deleted_workspaces_operations import DeletedWorkspacesOperations

Expand All @@ -43,9 +42,8 @@
'GatewaysOperations',
'SchemaOperations',
'WorkspacePurgeOperations',
'TablesOperations',
'ClustersOperations',
'Operations',
'ClustersOperations',
'WorkspacesOperations',
'DeletedWorkspacesOperations',
]
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def list_by_resource_group(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-10-01"
api_version = "2021-06-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -130,7 +130,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-10-01"
api_version = "2021-06-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -193,7 +193,7 @@ async def _create_or_update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-10-01"
api_version = "2021-06-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -322,7 +322,7 @@ async def _delete_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-10-01"
api_version = "2021-06-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -442,7 +442,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-10-01"
api_version = "2021-06-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -504,7 +504,7 @@ async def update(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-10-01"
api_version = "2021-06-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-10-01"
api_version = "2021-06-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -127,7 +127,7 @@ def list_by_resource_group(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-10-01"
api_version = "2021-06-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Loading

0 comments on commit da5d589

Please sign in to comment.