Skip to content

Commit

Permalink
CodeGen from PR 19416 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[OperationalInsights] workspace and component purge  (Azure#19416)

* Add blockchain to latest profile

* Add additional types

* Purge update

* bad syntax fix for workspacePurge examples

* pretty

Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
  • Loading branch information
SDKAuto and markcowl committed Jul 1, 2022
1 parent 3a56459 commit aa09eb3
Show file tree
Hide file tree
Showing 254 changed files with 8,133 additions and 5,129 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.7.2",
"use": [
"@autorest/python@5.13.0",
"@autorest/python@5.16.0",
"@autorest/modelerfour@4.19.3"
],
"commit": "c57d5de63bf216b2af92ceca9ab18b1605ad3e21",
"commit": "1ddabd9234338d209f9755beac5c13cc0ae3b5f7",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/applicationinsights/resource-manager/readme.md --multiapi --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.13.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"autorest_command": "autorest specification/applicationinsights/resource-manager/readme.md --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"readme": "specification/applicationinsights/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@
from ._version import VERSION

__version__ = VERSION

try:
from ._patch import __all__ as _patch_all
from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import
except ImportError:
_patch_all = []
from ._patch import patch_sdk as _patch_sdk
__all__ = ['ApplicationInsightsManagementClient']
__all__.extend([p for p in _patch_all if p not in __all__])

# `._patch.py` is used for handwritten extensions to the generated code
# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md
from ._patch import patch_sdk
patch_sdk()
_patch_sdk()
Original file line number Diff line number Diff line change
Expand Up @@ -95,23 +95,57 @@ def __init__(
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)
self._serialize.client_side_validation = False
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.annotations = AnnotationsOperations(self._client, self._config, self._serialize, self._deserialize)
self.api_keys = APIKeysOperations(self._client, self._config, self._serialize, self._deserialize)
self.export_configurations = ExportConfigurationsOperations(self._client, self._config, self._serialize, self._deserialize)
self.component_current_billing_features = ComponentCurrentBillingFeaturesOperations(self._client, self._config, self._serialize, self._deserialize)
self.component_quota_status = ComponentQuotaStatusOperations(self._client, self._config, self._serialize, self._deserialize)
self.component_feature_capabilities = ComponentFeatureCapabilitiesOperations(self._client, self._config, self._serialize, self._deserialize)
self.component_available_features = ComponentAvailableFeaturesOperations(self._client, self._config, self._serialize, self._deserialize)
self.proactive_detection_configurations = ProactiveDetectionConfigurationsOperations(self._client, self._config, self._serialize, self._deserialize)
self.components = ComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
self.work_item_configurations = WorkItemConfigurationsOperations(self._client, self._config, self._serialize, self._deserialize)
self.favorites = FavoritesOperations(self._client, self._config, self._serialize, self._deserialize)
self.web_test_locations = WebTestLocationsOperations(self._client, self._config, self._serialize, self._deserialize)
self.web_tests = WebTestsOperations(self._client, self._config, self._serialize, self._deserialize)
self.analytics_items = AnalyticsItemsOperations(self._client, self._config, self._serialize, self._deserialize)
self.workbooks = WorkbooksOperations(self._client, self._config, self._serialize, self._deserialize)
self.my_workbooks = MyWorkbooksOperations(self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize
)
self.annotations = AnnotationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.api_keys = APIKeysOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.export_configurations = ExportConfigurationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.component_current_billing_features = ComponentCurrentBillingFeaturesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.component_quota_status = ComponentQuotaStatusOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.component_feature_capabilities = ComponentFeatureCapabilitiesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.component_available_features = ComponentAvailableFeaturesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.proactive_detection_configurations = ProactiveDetectionConfigurationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.components = ComponentsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.work_item_configurations = WorkItemConfigurationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.favorites = FavoritesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.web_test_locations = WebTestLocationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.web_tests = WebTestsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.analytics_items = AnalyticsItemsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.workbooks = WorkbooksOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.my_workbooks = MyWorkbooksOperations(
self._client, self._config, self._serialize, self._deserialize
)


def _send_request(
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 = "3.1.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@
# --------------------------------------------------------------------------

from ._application_insights_management_client import ApplicationInsightsManagementClient

try:
from ._patch import __all__ as _patch_all
from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import
except ImportError:
_patch_all = []
from ._patch import patch_sdk as _patch_sdk
__all__ = ['ApplicationInsightsManagementClient']
__all__.extend([p for p in _patch_all if p not in __all__])

# `._patch.py` is used for handwritten extensions to the generated code
# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md
from ._patch import patch_sdk
patch_sdk()
_patch_sdk()
Original file line number Diff line number Diff line change
Expand Up @@ -99,23 +99,57 @@ def __init__(
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)
self._serialize.client_side_validation = False
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.annotations = AnnotationsOperations(self._client, self._config, self._serialize, self._deserialize)
self.api_keys = APIKeysOperations(self._client, self._config, self._serialize, self._deserialize)
self.export_configurations = ExportConfigurationsOperations(self._client, self._config, self._serialize, self._deserialize)
self.component_current_billing_features = ComponentCurrentBillingFeaturesOperations(self._client, self._config, self._serialize, self._deserialize)
self.component_quota_status = ComponentQuotaStatusOperations(self._client, self._config, self._serialize, self._deserialize)
self.component_feature_capabilities = ComponentFeatureCapabilitiesOperations(self._client, self._config, self._serialize, self._deserialize)
self.component_available_features = ComponentAvailableFeaturesOperations(self._client, self._config, self._serialize, self._deserialize)
self.proactive_detection_configurations = ProactiveDetectionConfigurationsOperations(self._client, self._config, self._serialize, self._deserialize)
self.components = ComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
self.work_item_configurations = WorkItemConfigurationsOperations(self._client, self._config, self._serialize, self._deserialize)
self.favorites = FavoritesOperations(self._client, self._config, self._serialize, self._deserialize)
self.web_test_locations = WebTestLocationsOperations(self._client, self._config, self._serialize, self._deserialize)
self.web_tests = WebTestsOperations(self._client, self._config, self._serialize, self._deserialize)
self.analytics_items = AnalyticsItemsOperations(self._client, self._config, self._serialize, self._deserialize)
self.workbooks = WorkbooksOperations(self._client, self._config, self._serialize, self._deserialize)
self.my_workbooks = MyWorkbooksOperations(self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize
)
self.annotations = AnnotationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.api_keys = APIKeysOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.export_configurations = ExportConfigurationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.component_current_billing_features = ComponentCurrentBillingFeaturesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.component_quota_status = ComponentQuotaStatusOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.component_feature_capabilities = ComponentFeatureCapabilitiesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.component_available_features = ComponentAvailableFeaturesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.proactive_detection_configurations = ProactiveDetectionConfigurationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.components = ComponentsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.work_item_configurations = WorkItemConfigurationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.favorites = FavoritesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.web_test_locations = WebTestLocationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.web_tests = WebTestsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.analytics_items = AnalyticsItemsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.workbooks = WorkbooksOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.my_workbooks = MyWorkbooksOperations(
self._client, self._config, self._serialize, self._deserialize
)


def _send_request(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
from ._workbooks_operations import WorkbooksOperations
from ._my_workbooks_operations import MyWorkbooksOperations

from ._patch import __all__ as _patch_all
from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import
from ._patch import patch_sdk as _patch_sdk
__all__ = [
'Operations',
'AnnotationsOperations',
Expand All @@ -43,3 +46,5 @@
'WorkbooksOperations',
'MyWorkbooksOperations',
]
__all__.extend([p for p in _patch_all if p not in __all__])
_patch_sdk()
Loading

0 comments on commit aa09eb3

Please sign in to comment.