Skip to content

Commit

Permalink
CodeGen from PR 19862 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merging Dynatrace swagger in stable folder (Azure#19862)

* Committing base swagger version

* Removing preview tag from stable folder api version

* Changing version name in all the files

* Updating readme.go and readme.md files
  • Loading branch information
SDKAuto committed Jul 21, 2022
1 parent 0e8cf20 commit a4cc12c
Show file tree
Hide file tree
Showing 22 changed files with 1,355 additions and 993 deletions.
6 changes: 3 additions & 3 deletions sdk/dynatrace/azure-mgmt-dynatrace/_meta.json
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/[email protected]"
],
"commit": "11830d3ce01db4f39a41dc37a86075b125c87fdc",
"commit": "657a1085075554acd8c66501e323691bdb632b22",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/dynatrace/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/[email protected] --version=3.7.2",
"autorest_command": "autorest specification/dynatrace/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/[email protected] --version=3.7.2",
"readme": "specification/dynatrace/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__ = ['DynatraceObservability']
__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 @@ -60,10 +60,18 @@ def __init__(
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)
self._serialize.client_side_validation = False
self.monitors = MonitorsOperations(self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.tag_rules = TagRulesOperations(self._client, self._config, self._serialize, self._deserialize)
self.single_sign_on = SingleSignOnOperations(self._client, self._config, self._serialize, self._deserialize)
self.monitors = MonitorsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize
)
self.tag_rules = TagRulesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.single_sign_on = SingleSignOnOperations(
self._client, self._config, self._serialize, self._deserialize
)


def _send_request(
Expand Down
105 changes: 0 additions & 105 deletions sdk/dynatrace/azure-mgmt-dynatrace/azure/mgmt/dynatrace/_metadata.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@
# --------------------------------------------------------------------------

from ._dynatrace_observability import DynatraceObservability

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__ = ['DynatraceObservability']
__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 @@ -60,10 +60,18 @@ def __init__(
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)
self._serialize.client_side_validation = False
self.monitors = MonitorsOperations(self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.tag_rules = TagRulesOperations(self._client, self._config, self._serialize, self._deserialize)
self.single_sign_on = SingleSignOnOperations(self._client, self._config, self._serialize, self._deserialize)
self.monitors = MonitorsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize
)
self.tag_rules = TagRulesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.single_sign_on = SingleSignOnOperations(
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 @@ -11,9 +11,14 @@
from ._tag_rules_operations import TagRulesOperations
from ._single_sign_on_operations import SingleSignOnOperations

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__ = [
'MonitorsOperations',
'Operations',
'TagRulesOperations',
'SingleSignOnOperations',
]
__all__.extend([p for p in _patch_all if p not in __all__])
_patch_sdk()
Loading

0 comments on commit a4cc12c

Please sign in to comment.