diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/_meta.json b/sdk/loganalytics/azure-mgmt-loganalytics/_meta.json index 0f7d50bbcfb2..aaccfedf6db5 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/_meta.json +++ b/sdk/loganalytics/azure-mgmt-loganalytics/_meta.json @@ -1,8 +1,11 @@ { - "autorest": "3.3.0", - "use": "@autorest/python@5.6.6", - "commit": "96e8b312e8e732cd6ce52dae178ff0ae3768f8da", + "autorest": "3.4.2", + "use": [ + "@autorest/python@5.8.0", + "@autorest/modelerfour@4.19.2" + ], + "commit": "312e18d7935aa9e9ff9a21e610e5f406668d25a9", "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.6.6 --version=3.3.0", + "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.0 --use=@autorest/modelerfour@4.19.2 --version=3.4.2", "readme": "specification/operationalinsights/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/_version.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/_version.py index 9f8bb24bdd99..efe7276fe05f 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/_version.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "10.0.0" +VERSION = "7.0.0b1" diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_available_service_tiers_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_available_service_tiers_operations.py index b1c444c1b63f..2ab01c68063d 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_available_service_tiers_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_available_service_tiers_operations.py @@ -44,7 +44,7 @@ async def list_by_workspace( self, resource_group_name: str, workspace_name: str, - **kwargs + **kwargs: Any ) -> List["_models.AvailableServiceTier"]: """Gets the available service tiers for the workspace. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_clusters_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_clusters_operations.py index fd5cc950eb69..bae293fcac11 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_clusters_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_clusters_operations.py @@ -46,7 +46,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ClusterListResult"]: """Gets Log Analytics clusters in a resource group. @@ -116,7 +116,7 @@ async def get_next(next_link=None): def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ClusterListResult"]: """Gets the Log Analytics clusters in a subscription. @@ -186,7 +186,7 @@ async def _create_or_update_initial( resource_group_name: str, cluster_name: str, parameters: "_models.Cluster", - **kwargs + **kwargs: Any ) -> Optional["_models.Cluster"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Cluster"]] error_map = { @@ -245,7 +245,7 @@ async def begin_create_or_update( resource_group_name: str, cluster_name: str, parameters: "_models.Cluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.Cluster"]: """Create or update a Log Analytics cluster. @@ -257,8 +257,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.loganalytics.models.Cluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Cluster or the result of cls(response) @@ -315,7 +315,7 @@ async def _delete_initial( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -360,7 +360,7 @@ async def begin_delete( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a cluster instance. @@ -370,8 +370,8 @@ async def begin_delete( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -424,7 +424,7 @@ async def get( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> "_models.Cluster": """Gets a Log Analytics cluster instance. @@ -484,7 +484,7 @@ async def update( resource_group_name: str, cluster_name: str, parameters: "_models.ClusterPatch", - **kwargs + **kwargs: Any ) -> "_models.Cluster": """Updates a Log Analytics cluster. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_data_exports_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_data_exports_operations.py index 414abb3e0e2a..ed1cac782b9c 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_data_exports_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_data_exports_operations.py @@ -45,7 +45,7 @@ def list_by_workspace( self, resource_group_name: str, workspace_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.DataExportListResult"]: """Lists the data export instances within a workspace. @@ -122,7 +122,7 @@ async def create_or_update( workspace_name: str, data_export_name: str, parameters: "_models.DataExport", - **kwargs + **kwargs: Any ) -> "_models.DataExport": """Create or update a data export. @@ -196,7 +196,7 @@ async def get( resource_group_name: str, workspace_name: str, data_export_name: str, - **kwargs + **kwargs: Any ) -> "_models.DataExport": """Gets a data export instance. @@ -259,7 +259,7 @@ async def delete( resource_group_name: str, workspace_name: str, data_export_name: str, - **kwargs + **kwargs: Any ) -> None: """Deletes the specified data export in a given workspace.. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_data_sources_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_data_sources_operations.py index 39f4b42773f6..556395172748 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_data_sources_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_data_sources_operations.py @@ -47,7 +47,7 @@ async def create_or_update( workspace_name: str, data_source_name: str, parameters: "_models.DataSource", - **kwargs + **kwargs: Any ) -> "_models.DataSource": """Create or update a data source. @@ -120,7 +120,7 @@ async def delete( resource_group_name: str, workspace_name: str, data_source_name: str, - **kwargs + **kwargs: Any ) -> None: """Deletes a data source instance. @@ -177,7 +177,7 @@ async def get( resource_group_name: str, workspace_name: str, data_source_name: str, - **kwargs + **kwargs: Any ) -> "_models.DataSource": """Gets a datasource instance. @@ -240,7 +240,7 @@ def list_by_workspace( workspace_name: str, filter: str, skiptoken: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.DataSourceListResult"]: """Gets the first page of data source instances in a workspace with the link to the next page. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_deleted_workspaces_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_deleted_workspaces_operations.py index 76b93931f9d8..f1b3b860e7e9 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_deleted_workspaces_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_deleted_workspaces_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.WorkspaceListResult"]: """Gets recently deleted workspaces in a subscription, available for recovery. @@ -111,7 +111,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.WorkspaceListResult"]: """Gets recently deleted workspaces in a resource group, available for recovery. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_gateways_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_gateways_operations.py index abbf603929c4..6fac823f9157 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_gateways_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_gateways_operations.py @@ -45,7 +45,7 @@ async def delete( resource_group_name: str, workspace_name: str, gateway_id: str, - **kwargs + **kwargs: Any ) -> None: """Delete a Log Analytics gateway. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_intelligence_packs_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_intelligence_packs_operations.py index 1757a2e88b1e..7aef96559115 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_intelligence_packs_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_intelligence_packs_operations.py @@ -45,7 +45,7 @@ async def disable( resource_group_name: str, workspace_name: str, intelligence_pack_name: str, - **kwargs + **kwargs: Any ) -> None: """Disables an intelligence pack for a given workspace. @@ -102,7 +102,7 @@ async def enable( resource_group_name: str, workspace_name: str, intelligence_pack_name: str, - **kwargs + **kwargs: Any ) -> None: """Enables an intelligence pack for a given workspace. @@ -158,7 +158,7 @@ async def list( self, resource_group_name: str, workspace_name: str, - **kwargs + **kwargs: Any ) -> List["_models.IntelligencePack"]: """Lists all the intelligence packs possible and whether they are enabled or disabled for a given workspace. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_linked_services_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_linked_services_operations.py index 89e9ab80b650..5de0bb163cd0 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_linked_services_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_linked_services_operations.py @@ -49,7 +49,7 @@ async def _create_or_update_initial( workspace_name: str, linked_service_name: str, parameters: "_models.LinkedService", - **kwargs + **kwargs: Any ) -> "_models.LinkedService": cls = kwargs.pop('cls', None) # type: ClsType["_models.LinkedService"] error_map = { @@ -108,7 +108,7 @@ async def begin_create_or_update( workspace_name: str, linked_service_name: str, parameters: "_models.LinkedService", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.LinkedService"]: """Create or update a linked service. @@ -122,8 +122,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.loganalytics.models.LinkedService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LinkedService or the result of cls(response) @@ -183,7 +183,7 @@ async def _delete_initial( resource_group_name: str, workspace_name: str, linked_service_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.LinkedService"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.LinkedService"]] error_map = { @@ -234,7 +234,7 @@ async def begin_delete( resource_group_name: str, workspace_name: str, linked_service_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.LinkedService"]: """Deletes a linked service instance. @@ -246,8 +246,8 @@ async def begin_delete( :type linked_service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LinkedService or the result of cls(response) @@ -306,7 +306,7 @@ async def get( resource_group_name: str, workspace_name: str, linked_service_name: str, - **kwargs + **kwargs: Any ) -> "_models.LinkedService": """Gets a linked service instance. @@ -367,7 +367,7 @@ def list_by_workspace( self, resource_group_name: str, workspace_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.LinkedServiceListResult"]: """Gets the linked services instances in a workspace. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_linked_storage_accounts_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_linked_storage_accounts_operations.py index 907eb7515f70..9991d82c8512 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_linked_storage_accounts_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_linked_storage_accounts_operations.py @@ -47,7 +47,7 @@ async def create_or_update( workspace_name: str, data_source_type: Union[str, "_models.DataSourceType"], parameters: "_models.LinkedStorageAccountsResource", - **kwargs + **kwargs: Any ) -> "_models.LinkedStorageAccountsResource": """Create or Update a link relation between current workspace and a group of storage accounts of a specific data source type. @@ -117,7 +117,7 @@ async def delete( resource_group_name: str, workspace_name: str, data_source_type: Union[str, "_models.DataSourceType"], - **kwargs + **kwargs: Any ) -> None: """Deletes all linked storage accounts of a specific data source type associated with the specified workspace. @@ -175,7 +175,7 @@ async def get( resource_group_name: str, workspace_name: str, data_source_type: Union[str, "_models.DataSourceType"], - **kwargs + **kwargs: Any ) -> "_models.LinkedStorageAccountsResource": """Gets all linked storage account of a specific data source type associated with the specified workspace. @@ -237,7 +237,7 @@ def list_by_workspace( self, resource_group_name: str, workspace_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.LinkedStorageAccountsListResult"]: """Gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_management_groups_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_management_groups_operations.py index 9ce169f99e53..be512d1046ec 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_management_groups_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_management_groups_operations.py @@ -45,7 +45,7 @@ def list( self, resource_group_name: str, workspace_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.WorkspaceListManagementGroupsResult"]: """Gets a list of management groups connected to a workspace. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_operation_statuses_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_operation_statuses_operations.py index ef5aa3993ac0..6c7abde290b4 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_operation_statuses_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_operation_statuses_operations.py @@ -44,7 +44,7 @@ async def get( self, location: str, async_operation_id: str, - **kwargs + **kwargs: Any ) -> "_models.OperationStatus": """Get the status of a long running azure asynchronous operation. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_operations.py index 29de71ec6c8d..fb369f9840be 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Lists all of the available OperationalInsights Rest API operations. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_saved_searches_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_saved_searches_operations.py index 1523e0d9172a..8dea97201fe6 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_saved_searches_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_saved_searches_operations.py @@ -45,7 +45,7 @@ async def delete( resource_group_name: str, workspace_name: str, saved_search_id: str, - **kwargs + **kwargs: Any ) -> None: """Deletes the specified saved search in a given workspace. @@ -103,7 +103,7 @@ async def create_or_update( workspace_name: str, saved_search_id: str, parameters: "_models.SavedSearch", - **kwargs + **kwargs: Any ) -> "_models.SavedSearch": """Creates or updates a saved search for a given workspace. @@ -172,7 +172,7 @@ async def get( resource_group_name: str, workspace_name: str, saved_search_id: str, - **kwargs + **kwargs: Any ) -> "_models.SavedSearch": """Gets the specified saved search for a given workspace. @@ -233,7 +233,7 @@ async def list_by_workspace( self, resource_group_name: str, workspace_name: str, - **kwargs + **kwargs: Any ) -> "_models.SavedSearchesListResult": """Gets the saved searches for a given Log Analytics Workspace. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_schema_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_schema_operations.py index 758db2a0091a..b6d7d6963a9f 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_schema_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_schema_operations.py @@ -44,7 +44,7 @@ async def get( self, resource_group_name: str, workspace_name: str, - **kwargs + **kwargs: Any ) -> "_models.SearchGetSchemaResponse": """Gets the schema for a given workspace. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_shared_keys_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_shared_keys_operations.py index e9ff2ca4e8a3..f3584d2eabcd 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_shared_keys_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_shared_keys_operations.py @@ -44,7 +44,7 @@ async def get_shared_keys( self, resource_group_name: str, workspace_name: str, - **kwargs + **kwargs: Any ) -> "_models.SharedKeys": """Gets the shared keys for a workspace. @@ -102,7 +102,7 @@ async def regenerate( self, resource_group_name: str, workspace_name: str, - **kwargs + **kwargs: Any ) -> "_models.SharedKeys": """Regenerates the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_storage_insight_configs_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_storage_insight_configs_operations.py index 028ebd22e816..df136e0eba3b 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_storage_insight_configs_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_storage_insight_configs_operations.py @@ -47,7 +47,7 @@ async def create_or_update( workspace_name: str, storage_insight_name: str, parameters: "_models.StorageInsight", - **kwargs + **kwargs: Any ) -> "_models.StorageInsight": """Create or update a storage insight. @@ -120,7 +120,7 @@ async def get( resource_group_name: str, workspace_name: str, storage_insight_name: str, - **kwargs + **kwargs: Any ) -> "_models.StorageInsight": """Gets a storage insight instance. @@ -182,7 +182,7 @@ async def delete( resource_group_name: str, workspace_name: str, storage_insight_name: str, - **kwargs + **kwargs: Any ) -> None: """Deletes a storageInsightsConfigs resource. @@ -238,7 +238,7 @@ def list_by_workspace( self, resource_group_name: str, workspace_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.StorageInsightListResult"]: """Lists the storage insight instances within a workspace. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_tables_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_tables_operations.py index b44c0cc2678e..93950e23817c 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_tables_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_tables_operations.py @@ -45,7 +45,7 @@ def list_by_workspace( self, resource_group_name: str, workspace_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.TablesListResult"]: """Gets all the tables for the specified Log Analytics workspace. @@ -122,7 +122,7 @@ async def update( workspace_name: str, table_name: str, parameters: "_models.Table", - **kwargs + **kwargs: Any ) -> "_models.Table": """Updates a Log Analytics workspace table properties. @@ -192,7 +192,7 @@ async def get( resource_group_name: str, workspace_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> "_models.Table": """Gets a Log Analytics workspace table. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_usages_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_usages_operations.py index f0ebcfd32cd8..3dbd6d632664 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_usages_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_usages_operations.py @@ -45,7 +45,7 @@ def list( self, resource_group_name: str, workspace_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.WorkspaceListUsagesResult"]: """Gets a list of usage metrics for a workspace. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_workspace_purge_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_workspace_purge_operations.py index eaad68f965a9..e75f0a1e4074 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_workspace_purge_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_workspace_purge_operations.py @@ -45,7 +45,7 @@ async def purge( resource_group_name: str, workspace_name: str, body: "_models.WorkspacePurgeBody", - **kwargs + **kwargs: Any ) -> "_models.WorkspacePurgeResponse": """Purges data in an Log Analytics workspace by a set of user-defined filters. @@ -120,7 +120,7 @@ async def get_purge_status( resource_group_name: str, workspace_name: str, purge_id: str, - **kwargs + **kwargs: Any ) -> "_models.WorkspacePurgeStatusResponse": """Gets status of an ongoing purge operation. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_workspaces_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_workspaces_operations.py index 89bb2a96fa12..fc7ac136a350 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_workspaces_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_workspaces_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.WorkspaceListResult"]: """Gets the workspaces in a subscription. @@ -113,7 +113,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.WorkspaceListResult"]: """Gets workspaces in a resource group. @@ -186,7 +186,7 @@ async def _create_or_update_initial( resource_group_name: str, workspace_name: str, parameters: "_models.Workspace", - **kwargs + **kwargs: Any ) -> Optional["_models.Workspace"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Workspace"]] error_map = { @@ -245,7 +245,7 @@ async def begin_create_or_update( resource_group_name: str, workspace_name: str, parameters: "_models.Workspace", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.Workspace"]: """Create or update a workspace. @@ -257,8 +257,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.loganalytics.models.Workspace :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Workspace or the result of cls(response) @@ -316,7 +316,7 @@ async def _delete_initial( resource_group_name: str, workspace_name: str, force: Optional[bool] = None, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -364,7 +364,7 @@ async def begin_delete( resource_group_name: str, workspace_name: str, force: Optional[bool] = None, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a workspace resource. To recover the workspace, create it again with the same name, in the same subscription, resource group and location. The name is kept for 14 days and cannot be @@ -380,8 +380,8 @@ async def begin_delete( :type force: bool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -435,7 +435,7 @@ async def get( self, resource_group_name: str, workspace_name: str, - **kwargs + **kwargs: Any ) -> "_models.Workspace": """Gets a workspace instance. @@ -495,7 +495,7 @@ async def update( resource_group_name: str, workspace_name: str, parameters: "_models.WorkspacePatch", - **kwargs + **kwargs: Any ) -> "_models.Workspace": """Updates a workspace. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models.py index 829e93be6f83..a07a72fd99df 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models.py @@ -300,9 +300,7 @@ class Cluster(TrackedResource): This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones. :type is_availability_zones_enabled: bool - :param billing_type: Configures whether billing will be only on the cluster or each workspace - will be billed by its proportional use. This does not change the overall billing, only how it - will be distributed. Default value is 'Cluster'. Possible values include: "Cluster", + :param billing_type: The cluster's billing type. Possible values include: "Cluster", "Workspaces". :type billing_type: str or ~azure.mgmt.loganalytics.models.BillingType :param key_vault_properties: The associated key properties. @@ -402,6 +400,9 @@ class ClusterPatch(msrest.serialization.Model): :type tags: dict[str, str] :param key_vault_properties: The associated key properties. :type key_vault_properties: ~azure.mgmt.loganalytics.models.KeyVaultProperties + :param billing_type: The cluster's billing type. Possible values include: "Cluster", + "Workspaces". + :type billing_type: str or ~azure.mgmt.loganalytics.models.BillingType """ _attribute_map = { @@ -409,6 +410,7 @@ class ClusterPatch(msrest.serialization.Model): 'sku': {'key': 'sku', 'type': 'ClusterSku'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'key_vault_properties': {'key': 'properties.keyVaultProperties', 'type': 'KeyVaultProperties'}, + 'billing_type': {'key': 'properties.billingType', 'type': 'str'}, } def __init__( @@ -420,6 +422,7 @@ def __init__( self.sku = kwargs.get('sku', None) self.tags = kwargs.get('tags', None) self.key_vault_properties = kwargs.get('key_vault_properties', None) + self.billing_type = kwargs.get('billing_type', None) class ClusterSku(msrest.serialization.Model): @@ -614,7 +617,7 @@ class DataSource(ProxyResource): :vartype type: str :param properties: Required. The data source properties in raw json format, each kind of data source have it's own schema. - :type properties: str + :type properties: any :param etag: The ETag of the data source. :type etag: str :param kind: Required. The kind of the DataSource. Possible values include: "WindowsEvent", @@ -645,7 +648,7 @@ class DataSource(ProxyResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'properties': {'key': 'properties', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'object'}, 'etag': {'key': 'etag', 'type': 'str'}, 'kind': {'key': 'kind', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, @@ -722,7 +725,7 @@ class ErrorAdditionalInfo(msrest.serialization.Model): :ivar type: The additional info type. :vartype type: str :ivar info: The additional info. - :vartype info: str + :vartype info: any """ _validation = { @@ -732,7 +735,7 @@ class ErrorAdditionalInfo(msrest.serialization.Model): _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, - 'info': {'key': 'info', 'type': 'str'}, + 'info': {'key': 'info', 'type': 'object'}, } def __init__( @@ -1946,6 +1949,8 @@ class Workspace(TrackedResource): :type enable_log_access_using_only_resource_permissions: bool :param cluster_resource_id: Dedicated LA cluster resourceId that is linked to the workspaces. :type cluster_resource_id: str + :param disable_local_auth: Disable Non-AAD based Auth. + :type disable_local_auth: bool """ _validation = { @@ -1981,6 +1986,7 @@ class Workspace(TrackedResource): 'immediate_purge_data_on30_days': {'key': 'properties.features.immediatePurgeDataOn30Days', 'type': 'bool'}, 'enable_log_access_using_only_resource_permissions': {'key': 'properties.features.enableLogAccessUsingOnlyResourcePermissions', 'type': 'bool'}, 'cluster_resource_id': {'key': 'properties.features.clusterResourceId', 'type': 'str'}, + 'disable_local_auth': {'key': 'properties.features.disableLocalAuth', 'type': 'bool'}, } def __init__( @@ -2004,6 +2010,7 @@ def __init__( self.immediate_purge_data_on30_days = kwargs.get('immediate_purge_data_on30_days', None) self.enable_log_access_using_only_resource_permissions = kwargs.get('enable_log_access_using_only_resource_permissions', None) self.cluster_resource_id = kwargs.get('cluster_resource_id', None) + self.disable_local_auth = kwargs.get('disable_local_auth', None) class WorkspaceCapping(msrest.serialization.Model): @@ -2047,7 +2054,7 @@ class WorkspaceFeatures(msrest.serialization.Model): :param additional_properties: Unmatched properties from the message are deserialized to this collection. - :type additional_properties: dict[str, str] + :type additional_properties: dict[str, any] :param enable_data_export: Flag that indicate if data should be exported. :type enable_data_export: bool :param immediate_purge_data_on30_days: Flag that describes if we want to remove the data after @@ -2058,14 +2065,17 @@ class WorkspaceFeatures(msrest.serialization.Model): :type enable_log_access_using_only_resource_permissions: bool :param cluster_resource_id: Dedicated LA cluster resourceId that is linked to the workspaces. :type cluster_resource_id: str + :param disable_local_auth: Disable Non-AAD based Auth. + :type disable_local_auth: bool """ _attribute_map = { - 'additional_properties': {'key': '', 'type': '{str}'}, + 'additional_properties': {'key': '', 'type': '{object}'}, 'enable_data_export': {'key': 'enableDataExport', 'type': 'bool'}, 'immediate_purge_data_on30_days': {'key': 'immediatePurgeDataOn30Days', 'type': 'bool'}, 'enable_log_access_using_only_resource_permissions': {'key': 'enableLogAccessUsingOnlyResourcePermissions', 'type': 'bool'}, 'cluster_resource_id': {'key': 'clusterResourceId', 'type': 'str'}, + 'disable_local_auth': {'key': 'disableLocalAuth', 'type': 'bool'}, } def __init__( @@ -2078,6 +2088,7 @@ def __init__( self.immediate_purge_data_on30_days = kwargs.get('immediate_purge_data_on30_days', None) self.enable_log_access_using_only_resource_permissions = kwargs.get('enable_log_access_using_only_resource_permissions', None) self.cluster_resource_id = kwargs.get('cluster_resource_id', None) + self.disable_local_auth = kwargs.get('disable_local_auth', None) class WorkspaceListManagementGroupsResult(msrest.serialization.Model): @@ -2195,6 +2206,8 @@ class WorkspacePatch(AzureEntityResource): :type enable_log_access_using_only_resource_permissions: bool :param cluster_resource_id: Dedicated LA cluster resourceId that is linked to the workspaces. :type cluster_resource_id: str + :param disable_local_auth: Disable Non-AAD based Auth. + :type disable_local_auth: bool """ _validation = { @@ -2229,6 +2242,7 @@ class WorkspacePatch(AzureEntityResource): 'immediate_purge_data_on30_days': {'key': 'properties.features.immediatePurgeDataOn30Days', 'type': 'bool'}, 'enable_log_access_using_only_resource_permissions': {'key': 'properties.features.enableLogAccessUsingOnlyResourcePermissions', 'type': 'bool'}, 'cluster_resource_id': {'key': 'properties.features.clusterResourceId', 'type': 'str'}, + 'disable_local_auth': {'key': 'properties.features.disableLocalAuth', 'type': 'bool'}, } def __init__( @@ -2252,6 +2266,7 @@ def __init__( self.immediate_purge_data_on30_days = kwargs.get('immediate_purge_data_on30_days', None) self.enable_log_access_using_only_resource_permissions = kwargs.get('enable_log_access_using_only_resource_permissions', None) self.cluster_resource_id = kwargs.get('cluster_resource_id', None) + self.disable_local_auth = kwargs.get('disable_local_auth', None) class WorkspacePurgeBody(msrest.serialization.Model): @@ -2296,7 +2311,7 @@ class WorkspacePurgeBodyFilters(msrest.serialization.Model): :type operator: str :param value: the value for the operator to function over. This can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or array of values. - :type value: object + :type value: any :param key: When filtering over custom dimensions, this key will be used as the name of the custom dimension. :type key: str diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models_py3.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models_py3.py index d5049ddb3a26..42ff28f7c66b 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models_py3.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models_py3.py @@ -7,7 +7,7 @@ # -------------------------------------------------------------------------- import datetime -from typing import Dict, List, Optional, Union +from typing import Any, Dict, List, Optional, Union from azure.core.exceptions import HttpResponseError import msrest.serialization @@ -308,9 +308,7 @@ class Cluster(TrackedResource): This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones. :type is_availability_zones_enabled: bool - :param billing_type: Configures whether billing will be only on the cluster or each workspace - will be billed by its proportional use. This does not change the overall billing, only how it - will be distributed. Default value is 'Cluster'. Possible values include: "Cluster", + :param billing_type: The cluster's billing type. Possible values include: "Cluster", "Workspaces". :type billing_type: str or ~azure.mgmt.loganalytics.models.BillingType :param key_vault_properties: The associated key properties. @@ -424,6 +422,9 @@ class ClusterPatch(msrest.serialization.Model): :type tags: dict[str, str] :param key_vault_properties: The associated key properties. :type key_vault_properties: ~azure.mgmt.loganalytics.models.KeyVaultProperties + :param billing_type: The cluster's billing type. Possible values include: "Cluster", + "Workspaces". + :type billing_type: str or ~azure.mgmt.loganalytics.models.BillingType """ _attribute_map = { @@ -431,6 +432,7 @@ class ClusterPatch(msrest.serialization.Model): 'sku': {'key': 'sku', 'type': 'ClusterSku'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'key_vault_properties': {'key': 'properties.keyVaultProperties', 'type': 'KeyVaultProperties'}, + 'billing_type': {'key': 'properties.billingType', 'type': 'str'}, } def __init__( @@ -440,6 +442,7 @@ def __init__( sku: Optional["ClusterSku"] = None, tags: Optional[Dict[str, str]] = None, key_vault_properties: Optional["KeyVaultProperties"] = None, + billing_type: Optional[Union[str, "BillingType"]] = None, **kwargs ): super(ClusterPatch, self).__init__(**kwargs) @@ -447,6 +450,7 @@ def __init__( self.sku = sku self.tags = tags self.key_vault_properties = key_vault_properties + self.billing_type = billing_type class ClusterSku(msrest.serialization.Model): @@ -657,7 +661,7 @@ class DataSource(ProxyResource): :vartype type: str :param properties: Required. The data source properties in raw json format, each kind of data source have it's own schema. - :type properties: str + :type properties: any :param etag: The ETag of the data source. :type etag: str :param kind: Required. The kind of the DataSource. Possible values include: "WindowsEvent", @@ -688,7 +692,7 @@ class DataSource(ProxyResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'properties': {'key': 'properties', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'object'}, 'etag': {'key': 'etag', 'type': 'str'}, 'kind': {'key': 'kind', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, @@ -697,7 +701,7 @@ class DataSource(ProxyResource): def __init__( self, *, - properties: str, + properties: Any, kind: Union[str, "DataSourceKind"], etag: Optional[str] = None, tags: Optional[Dict[str, str]] = None, @@ -775,7 +779,7 @@ class ErrorAdditionalInfo(msrest.serialization.Model): :ivar type: The additional info type. :vartype type: str :ivar info: The additional info. - :vartype info: str + :vartype info: any """ _validation = { @@ -785,7 +789,7 @@ class ErrorAdditionalInfo(msrest.serialization.Model): _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, - 'info': {'key': 'info', 'type': 'str'}, + 'info': {'key': 'info', 'type': 'object'}, } def __init__( @@ -2134,6 +2138,8 @@ class Workspace(TrackedResource): :type enable_log_access_using_only_resource_permissions: bool :param cluster_resource_id: Dedicated LA cluster resourceId that is linked to the workspaces. :type cluster_resource_id: str + :param disable_local_auth: Disable Non-AAD based Auth. + :type disable_local_auth: bool """ _validation = { @@ -2169,6 +2175,7 @@ class Workspace(TrackedResource): 'immediate_purge_data_on30_days': {'key': 'properties.features.immediatePurgeDataOn30Days', 'type': 'bool'}, 'enable_log_access_using_only_resource_permissions': {'key': 'properties.features.enableLogAccessUsingOnlyResourcePermissions', 'type': 'bool'}, 'cluster_resource_id': {'key': 'properties.features.clusterResourceId', 'type': 'str'}, + 'disable_local_auth': {'key': 'properties.features.disableLocalAuth', 'type': 'bool'}, } def __init__( @@ -2188,6 +2195,7 @@ def __init__( immediate_purge_data_on30_days: Optional[bool] = None, enable_log_access_using_only_resource_permissions: Optional[bool] = None, cluster_resource_id: Optional[str] = None, + disable_local_auth: Optional[bool] = None, **kwargs ): super(Workspace, self).__init__(tags=tags, location=location, **kwargs) @@ -2207,6 +2215,7 @@ def __init__( self.immediate_purge_data_on30_days = immediate_purge_data_on30_days self.enable_log_access_using_only_resource_permissions = enable_log_access_using_only_resource_permissions self.cluster_resource_id = cluster_resource_id + self.disable_local_auth = disable_local_auth class WorkspaceCapping(msrest.serialization.Model): @@ -2252,7 +2261,7 @@ class WorkspaceFeatures(msrest.serialization.Model): :param additional_properties: Unmatched properties from the message are deserialized to this collection. - :type additional_properties: dict[str, str] + :type additional_properties: dict[str, any] :param enable_data_export: Flag that indicate if data should be exported. :type enable_data_export: bool :param immediate_purge_data_on30_days: Flag that describes if we want to remove the data after @@ -2263,24 +2272,28 @@ class WorkspaceFeatures(msrest.serialization.Model): :type enable_log_access_using_only_resource_permissions: bool :param cluster_resource_id: Dedicated LA cluster resourceId that is linked to the workspaces. :type cluster_resource_id: str + :param disable_local_auth: Disable Non-AAD based Auth. + :type disable_local_auth: bool """ _attribute_map = { - 'additional_properties': {'key': '', 'type': '{str}'}, + 'additional_properties': {'key': '', 'type': '{object}'}, 'enable_data_export': {'key': 'enableDataExport', 'type': 'bool'}, 'immediate_purge_data_on30_days': {'key': 'immediatePurgeDataOn30Days', 'type': 'bool'}, 'enable_log_access_using_only_resource_permissions': {'key': 'enableLogAccessUsingOnlyResourcePermissions', 'type': 'bool'}, 'cluster_resource_id': {'key': 'clusterResourceId', 'type': 'str'}, + 'disable_local_auth': {'key': 'disableLocalAuth', 'type': 'bool'}, } def __init__( self, *, - additional_properties: Optional[Dict[str, str]] = None, + additional_properties: Optional[Dict[str, Any]] = None, enable_data_export: Optional[bool] = None, immediate_purge_data_on30_days: Optional[bool] = None, enable_log_access_using_only_resource_permissions: Optional[bool] = None, cluster_resource_id: Optional[str] = None, + disable_local_auth: Optional[bool] = None, **kwargs ): super(WorkspaceFeatures, self).__init__(**kwargs) @@ -2289,6 +2302,7 @@ def __init__( self.immediate_purge_data_on30_days = immediate_purge_data_on30_days self.enable_log_access_using_only_resource_permissions = enable_log_access_using_only_resource_permissions self.cluster_resource_id = cluster_resource_id + self.disable_local_auth = disable_local_auth class WorkspaceListManagementGroupsResult(msrest.serialization.Model): @@ -2412,6 +2426,8 @@ class WorkspacePatch(AzureEntityResource): :type enable_log_access_using_only_resource_permissions: bool :param cluster_resource_id: Dedicated LA cluster resourceId that is linked to the workspaces. :type cluster_resource_id: str + :param disable_local_auth: Disable Non-AAD based Auth. + :type disable_local_auth: bool """ _validation = { @@ -2446,6 +2462,7 @@ class WorkspacePatch(AzureEntityResource): 'immediate_purge_data_on30_days': {'key': 'properties.features.immediatePurgeDataOn30Days', 'type': 'bool'}, 'enable_log_access_using_only_resource_permissions': {'key': 'properties.features.enableLogAccessUsingOnlyResourcePermissions', 'type': 'bool'}, 'cluster_resource_id': {'key': 'properties.features.clusterResourceId', 'type': 'str'}, + 'disable_local_auth': {'key': 'properties.features.disableLocalAuth', 'type': 'bool'}, } def __init__( @@ -2463,6 +2480,7 @@ def __init__( immediate_purge_data_on30_days: Optional[bool] = None, enable_log_access_using_only_resource_permissions: Optional[bool] = None, cluster_resource_id: Optional[str] = None, + disable_local_auth: Optional[bool] = None, **kwargs ): super(WorkspacePatch, self).__init__(**kwargs) @@ -2482,6 +2500,7 @@ def __init__( self.immediate_purge_data_on30_days = immediate_purge_data_on30_days self.enable_log_access_using_only_resource_permissions = enable_log_access_using_only_resource_permissions self.cluster_resource_id = cluster_resource_id + self.disable_local_auth = disable_local_auth class WorkspacePurgeBody(msrest.serialization.Model): @@ -2529,7 +2548,7 @@ class WorkspacePurgeBodyFilters(msrest.serialization.Model): :type operator: str :param value: the value for the operator to function over. This can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or array of values. - :type value: object + :type value: any :param key: When filtering over custom dimensions, this key will be used as the name of the custom dimension. :type key: str @@ -2547,7 +2566,7 @@ def __init__( *, column: Optional[str] = None, operator: Optional[str] = None, - value: Optional[object] = None, + value: Optional[Any] = None, key: Optional[str] = None, **kwargs ): diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_clusters_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_clusters_operations.py index 250c0ab10be1..fc61f4d5c882 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_clusters_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_clusters_operations.py @@ -265,8 +265,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.loganalytics.models.Cluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Cluster or the result of cls(response) @@ -380,8 +380,8 @@ def begin_delete( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_linked_services_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_linked_services_operations.py index 2a9c84585717..3cf7d12b4076 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_linked_services_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_linked_services_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.loganalytics.models.LinkedService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LinkedService or the result of cls(response) @@ -254,8 +254,8 @@ def begin_delete( :type linked_service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LinkedService or the result of cls(response) diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_workspaces_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_workspaces_operations.py index 86360ca1f7b4..b1c80a1c8bd5 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_workspaces_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_workspaces_operations.py @@ -265,8 +265,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.loganalytics.models.Workspace :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Workspace or the result of cls(response) @@ -390,8 +390,8 @@ def begin_delete( :type force: bool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response)