Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/monitor/azure-mgmt-monitor/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "817e7cea0b7e3194868825cbef6d4e62a7895951",
"commit": "2be8ce93bac9b70d81355e95bbac1eb7d3d65466",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
"@autorest/[email protected].8",
"@autorest/[email protected].12",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/monitor/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected].8 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
"autorest_command": "autorest specification/monitor/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/[email protected].12 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
"readme": "specification/monitor/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "6.0.1"
VERSION = "0.1.0"
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 = "6.0.1"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload

from azure.core.async_paging import AsyncItemPaged, AsyncList
Expand Down Expand Up @@ -155,7 +156,7 @@ async def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "AlertRuleResource")
Expand Down Expand Up @@ -429,7 +430,7 @@ async def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(alert_rules_resource, (IO, bytes)):
if isinstance(alert_rules_resource, (IOBase, bytes)):
_content = alert_rules_resource
else:
_json = self._serialize.body(alert_rules_resource, "AlertRuleResourcePatch")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload

from azure.core.async_paging import AsyncItemPaged, AsyncList
Expand Down Expand Up @@ -239,7 +240,7 @@ async def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "AutoscaleSettingResource")
Expand Down Expand Up @@ -517,7 +518,7 @@ async def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(autoscale_setting_resource, (IO, bytes)):
if isinstance(autoscale_setting_resource, (IOBase, bytes)):
_content = autoscale_setting_resource
else:
_json = self._serialize.body(autoscale_setting_resource, "AutoscaleSettingResourcePatch")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, overload

from azure.core.exceptions import (
Expand Down Expand Up @@ -336,7 +337,7 @@ def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "AlertRuleResource")
Expand Down Expand Up @@ -610,7 +611,7 @@ def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(alert_rules_resource, (IO, bytes)):
if isinstance(alert_rules_resource, (IOBase, bytes)):
_content = alert_rules_resource
else:
_json = self._serialize.body(alert_rules_resource, "AlertRuleResourcePatch")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, overload

from azure.core.exceptions import (
Expand Down Expand Up @@ -426,7 +427,7 @@ def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "AutoscaleSettingResource")
Expand Down Expand Up @@ -704,7 +705,7 @@ def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(autoscale_setting_resource, (IO, bytes)):
if isinstance(autoscale_setting_resource, (IOBase, bytes)):
_content = autoscale_setting_resource
else:
_json = self._serialize.body(autoscale_setting_resource, "AutoscaleSettingResourcePatch")
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 = "6.0.1"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload

from azure.core.async_paging import AsyncItemPaged, AsyncList
Expand Down Expand Up @@ -155,7 +156,7 @@ async def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "AlertRuleResource")
Expand Down Expand Up @@ -429,7 +430,7 @@ async def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(alert_rules_resource, (IO, bytes)):
if isinstance(alert_rules_resource, (IOBase, bytes)):
_content = alert_rules_resource
else:
_json = self._serialize.body(alert_rules_resource, "AlertRuleResourcePatch")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload

from azure.core.exceptions import (
Expand Down Expand Up @@ -187,7 +188,7 @@ async def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "ServiceDiagnosticSettingsResource")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, overload

from azure.core.exceptions import (
Expand Down Expand Up @@ -336,7 +337,7 @@ def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "AlertRuleResource")
Expand Down Expand Up @@ -610,7 +611,7 @@ def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(alert_rules_resource, (IO, bytes)):
if isinstance(alert_rules_resource, (IOBase, bytes)):
_content = alert_rules_resource
else:
_json = self._serialize.body(alert_rules_resource, "AlertRuleResourcePatch")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload

from azure.core.exceptions import (
Expand Down Expand Up @@ -241,7 +242,7 @@ def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "ServiceDiagnosticSettingsResource")
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 = "6.0.1"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
import urllib.parse

Expand Down Expand Up @@ -156,7 +157,7 @@ async def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "AlertRuleResource")
Expand Down Expand Up @@ -430,7 +431,7 @@ async def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(alert_rules_resource, (IO, bytes)):
if isinstance(alert_rules_resource, (IOBase, bytes)):
_content = alert_rules_resource
else:
_json = self._serialize.body(alert_rules_resource, "AlertRuleResourcePatch")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
import urllib.parse

Expand Down Expand Up @@ -252,7 +253,7 @@ async def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "LogProfileResource")
Expand Down Expand Up @@ -374,7 +375,7 @@ async def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(log_profiles_resource, (IO, bytes)):
if isinstance(log_profiles_resource, (IOBase, bytes)):
_content = log_profiles_resource
else:
_json = self._serialize.body(log_profiles_resource, "LogProfileResourcePatch")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, overload
import urllib.parse

Expand Down Expand Up @@ -337,7 +338,7 @@ def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "AlertRuleResource")
Expand Down Expand Up @@ -611,7 +612,7 @@ def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(alert_rules_resource, (IO, bytes)):
if isinstance(alert_rules_resource, (IOBase, bytes)):
_content = alert_rules_resource
else:
_json = self._serialize.body(alert_rules_resource, "AlertRuleResourcePatch")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, overload
import urllib.parse

Expand Down Expand Up @@ -378,7 +379,7 @@ def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "LogProfileResource")
Expand Down Expand Up @@ -500,7 +501,7 @@ def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(log_profiles_resource, (IO, bytes)):
if isinstance(log_profiles_resource, (IOBase, bytes)):
_content = log_profiles_resource
else:
_json = self._serialize.body(log_profiles_resource, "LogProfileResourcePatch")
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 = "6.0.1"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload

from azure.core.exceptions import (
Expand Down Expand Up @@ -195,7 +196,7 @@ async def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "ServiceDiagnosticSettingsResource")
Expand Down Expand Up @@ -326,7 +327,7 @@ async def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(service_diagnostic_settings_resource, (IO, bytes)):
if isinstance(service_diagnostic_settings_resource, (IOBase, bytes)):
_content = service_diagnostic_settings_resource
else:
_json = self._serialize.body(service_diagnostic_settings_resource, "ServiceDiagnosticSettingsResourcePatch")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload

from azure.core.exceptions import (
Expand Down Expand Up @@ -272,7 +273,7 @@ def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "ServiceDiagnosticSettingsResource")
Expand Down Expand Up @@ -403,7 +404,7 @@ def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(service_diagnostic_settings_resource, (IO, bytes)):
if isinstance(service_diagnostic_settings_resource, (IOBase, bytes)):
_content = service_diagnostic_settings_resource
else:
_json = self._serialize.body(service_diagnostic_settings_resource, "ServiceDiagnosticSettingsResourcePatch")
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 = "6.0.1"
VERSION = "1.0.0b1"
Loading