зеркало из
1
0
Форкнуть 0
Co-authored-by: azure-sdk <PythonSdkPipelines>
This commit is contained in:
Azure SDK Bot 2023-10-22 19:29:56 -07:00 коммит произвёл GitHub
Родитель 55441e3e73
Коммит ef864357dd
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
63 изменённых файлов: 264 добавлений и 170 удалений

Просмотреть файл

@ -1,5 +1,15 @@
# Release History
## 2.0.0b2 (2023-10-23)
### Features Added
- Model Replica has a new parameter region_endpoint_enabled
- Model Replica has a new parameter resource_stopped
- Model WebPubSubNetworkACLs has a new parameter ip_rules
- Model WebPubSubResource has a new parameter region_endpoint_enabled
- Model WebPubSubResource has a new parameter resource_stopped
## 2.0.0b1 (2023-07-21)
### Features Added

Просмотреть файл

@ -59,6 +59,3 @@ Code samples for this package can be found at:
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project.
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-webpubsub%2FREADME.png)

Просмотреть файл

@ -1,11 +1,11 @@
{
"commit": "9975d3476c05bcc6bd9535ad3dfb564e6a168fa5",
"commit": "c280892951a9e45c059132c05aace25a9c752d48",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"autorest": "3.9.7",
"use": [
"@autorest/python@6.6.0",
"@autorest/modelerfour@4.24.3"
"@autorest/python@6.7.1",
"@autorest/modelerfour@4.26.2"
],
"autorest_command": "autorest specification/webpubsub/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/python@6.6.0 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"autorest_command": "autorest specification/webpubsub/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/python@6.7.1 --use=@autorest/modelerfour@4.26.2 --version=3.9.7 --version-tolerant=False",
"readme": "specification/webpubsub/resource-manager/readme.md"
}

Просмотреть файл

@ -29,14 +29,14 @@ class WebPubSubManagementClientConfiguration(Configuration): # pylint: disable=
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2023-06-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2023-08-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
super(WebPubSubManagementClientConfiguration, self).__init__(**kwargs)
api_version: str = kwargs.pop("api_version", "2023-06-01-preview")
api_version: str = kwargs.pop("api_version", "2023-08-01-preview")
if credential is None:
raise ValueError("Parameter 'credential' must not be None.")

Просмотреть файл

@ -662,8 +662,9 @@ class Serializer(object):
_serialized.update(_new_attr) # type: ignore
_new_attr = _new_attr[k] # type: ignore
_serialized = _serialized[k]
except ValueError:
continue
except ValueError as err:
if isinstance(err, SerializationError):
raise
except (AttributeError, KeyError, TypeError) as err:
msg = "Attribute {} in object {} cannot be serialized.\n{}".format(attr_name, class_name, str(target_obj))
@ -741,6 +742,8 @@ class Serializer(object):
:param data: The data to be serialized.
:param str data_type: The type to be serialized from.
:keyword bool skip_quote: Whether to skip quote the serialized result.
Defaults to False.
:rtype: str
:raises: TypeError if serialization fails.
:raises: ValueError if data is None
@ -749,10 +752,8 @@ class Serializer(object):
# Treat the list aside, since we don't want to encode the div separator
if data_type.startswith("["):
internal_data_type = data_type[1:-1]
data = [self.serialize_data(d, internal_data_type, **kwargs) if d is not None else "" for d in data]
if not kwargs.get("skip_quote", False):
data = [quote(str(d), safe="") for d in data]
return str(self.serialize_iter(data, internal_data_type, **kwargs))
do_quote = not kwargs.get("skip_quote", False)
return str(self.serialize_iter(data, internal_data_type, do_quote=do_quote, **kwargs))
# Not a list, regular serialization
output = self.serialize_data(data, data_type, **kwargs)
@ -891,6 +892,8 @@ class Serializer(object):
not be None or empty.
:param str div: If set, this str will be used to combine the elements
in the iterable into a combined string. Default is 'None'.
:keyword bool do_quote: Whether to quote the serialized result of each iterable element.
Defaults to False.
:rtype: list, str
"""
if isinstance(data, str):
@ -903,9 +906,14 @@ class Serializer(object):
for d in data:
try:
serialized.append(self.serialize_data(d, iter_type, **kwargs))
except ValueError:
except ValueError as err:
if isinstance(err, SerializationError):
raise
serialized.append(None)
if kwargs.get("do_quote", False):
serialized = ["" if s is None else quote(str(s), safe="") for s in serialized]
if div:
serialized = ["" if s is None else str(s) for s in serialized]
serialized = div.join(serialized)
@ -950,7 +958,9 @@ class Serializer(object):
for key, value in attr.items():
try:
serialized[self.serialize_unicode(key)] = self.serialize_data(value, dict_type, **kwargs)
except ValueError:
except ValueError as err:
if isinstance(err, SerializationError):
raise
serialized[self.serialize_unicode(key)] = None
if "xml" in serialization_ctxt:

Просмотреть файл

@ -5,8 +5,6 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from typing import List, cast
from azure.core.pipeline.transport import HttpRequest
@ -16,15 +14,3 @@ def _convert_request(request, files=None):
if files:
request.set_formdata_body(files)
return request
def _format_url_section(template, **kwargs):
components = template.split("/")
while components:
try:
return template.format(**kwargs)
except KeyError as key:
# Need the cast, as for some reasons "split" is typed as list[str | Any]
formatted_components = cast(List[str], template.split("/"))
components = [c for c in formatted_components if "{}".format(key.args[0]) not in c]
template = "/".join(components)

Просмотреть файл

@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
VERSION = "2.0.0b1"
VERSION = "2.0.0b2"

Просмотреть файл

@ -69,7 +69,7 @@ class WebPubSubManagementClient: # pylint: disable=client-accepts-api-version-k
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2023-06-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2023-08-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no

Просмотреть файл

@ -29,14 +29,14 @@ class WebPubSubManagementClientConfiguration(Configuration): # pylint: disable=
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2023-06-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2023-08-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
super(WebPubSubManagementClientConfiguration, self).__init__(**kwargs)
api_version: str = kwargs.pop("api_version", "2023-06-01-preview")
api_version: str = kwargs.pop("api_version", "2023-08-01-preview")
if credential is None:
raise ValueError("Parameter 'credential' must not be None.")

Просмотреть файл

@ -69,7 +69,7 @@ class WebPubSubManagementClient: # pylint: disable=client-accepts-api-version-k
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2023-06-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2023-08-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no

Просмотреть файл

@ -20,6 +20,7 @@ from ._models_py3 import EventListener
from ._models_py3 import EventListenerEndpoint
from ._models_py3 import EventListenerFilter
from ._models_py3 import EventNameFilter
from ._models_py3 import IPRule
from ._models_py3 import LiveTraceCategory
from ._models_py3 import LiveTraceConfiguration
from ._models_py3 import LogSpecification
@ -106,6 +107,7 @@ __all__ = [
"EventListenerEndpoint",
"EventListenerFilter",
"EventNameFilter",
"IPRule",
"LiveTraceCategory",
"LiveTraceConfiguration",
"LogSpecification",

Просмотреть файл

@ -707,6 +707,34 @@ class EventNameFilter(EventListenerFilter):
self.user_event_pattern = user_event_pattern
class IPRule(_serialization.Model):
"""An IP rule.
:ivar value: An IP or CIDR or ServiceTag.
:vartype value: str
:ivar action: Azure Networking ACL Action. Known values are: "Allow" and "Deny".
:vartype action: str or ~azure.mgmt.webpubsub.models.ACLAction
"""
_attribute_map = {
"value": {"key": "value", "type": "str"},
"action": {"key": "action", "type": "str"},
}
def __init__(
self, *, value: Optional[str] = None, action: Optional[Union[str, "_models.ACLAction"]] = None, **kwargs: Any
) -> None:
"""
:keyword value: An IP or CIDR or ServiceTag.
:paramtype value: str
:keyword action: Azure Networking ACL Action. Known values are: "Allow" and "Deny".
:paramtype action: str or ~azure.mgmt.webpubsub.models.ACLAction
"""
super().__init__(**kwargs)
self.value = value
self.action = action
class LiveTraceCategory(_serialization.Model):
"""Live trace category configuration of a Microsoft.SignalRService resource.
@ -1669,6 +1697,14 @@ class Replica(TrackedResource):
:ivar provisioning_state: Provisioning state of the resource. Known values are: "Unknown",
"Succeeded", "Failed", "Canceled", "Running", "Creating", "Updating", "Deleting", and "Moving".
:vartype provisioning_state: str or ~azure.mgmt.webpubsub.models.ProvisioningState
:ivar region_endpoint_enabled: Enable or disable the regional endpoint. Default to "Enabled".
When it's Disabled, new connections will not be routed to this endpoint, however existing
connections will not be affected.
:vartype region_endpoint_enabled: str
:ivar resource_stopped: Stop or start the resource. Default to "false".
When it's true, the data plane of the resource is shutdown.
When it's false, the data plane of the resource is started.
:vartype resource_stopped: str
"""
_validation = {
@ -1689,6 +1725,8 @@ class Replica(TrackedResource):
"location": {"key": "location", "type": "str"},
"sku": {"key": "sku", "type": "ResourceSku"},
"provisioning_state": {"key": "properties.provisioningState", "type": "str"},
"region_endpoint_enabled": {"key": "properties.regionEndpointEnabled", "type": "str"},
"resource_stopped": {"key": "properties.resourceStopped", "type": "str"},
}
def __init__(
@ -1697,6 +1735,8 @@ class Replica(TrackedResource):
location: str,
tags: Optional[Dict[str, str]] = None,
sku: Optional["_models.ResourceSku"] = None,
region_endpoint_enabled: str = "Enabled",
resource_stopped: str = "false",
**kwargs: Any
) -> None:
"""
@ -1706,10 +1746,21 @@ class Replica(TrackedResource):
:paramtype location: str
:keyword sku: The billing information of the resource.
:paramtype sku: ~azure.mgmt.webpubsub.models.ResourceSku
:keyword region_endpoint_enabled: Enable or disable the regional endpoint. Default to
"Enabled".
When it's Disabled, new connections will not be routed to this endpoint, however existing
connections will not be affected.
:paramtype region_endpoint_enabled: str
:keyword resource_stopped: Stop or start the resource. Default to "false".
When it's true, the data plane of the resource is shutdown.
When it's false, the data plane of the resource is started.
:paramtype resource_stopped: str
"""
super().__init__(tags=tags, location=location, **kwargs)
self.sku = sku
self.provisioning_state = None
self.region_endpoint_enabled = region_endpoint_enabled
self.resource_stopped = resource_stopped
class ReplicaList(_serialization.Model):
@ -2655,12 +2706,19 @@ class WebPubSubNetworkACLs(_serialization.Model):
:vartype public_network: ~azure.mgmt.webpubsub.models.NetworkACL
:ivar private_endpoints: ACLs for requests from private endpoints.
:vartype private_endpoints: list[~azure.mgmt.webpubsub.models.PrivateEndpointACL]
:ivar ip_rules: IP rules for filtering public traffic.
:vartype ip_rules: list[~azure.mgmt.webpubsub.models.IPRule]
"""
_validation = {
"ip_rules": {"max_items": 30, "min_items": 0},
}
_attribute_map = {
"default_action": {"key": "defaultAction", "type": "str"},
"public_network": {"key": "publicNetwork", "type": "NetworkACL"},
"private_endpoints": {"key": "privateEndpoints", "type": "[PrivateEndpointACL]"},
"ip_rules": {"key": "ipRules", "type": "[IPRule]"},
}
def __init__(
@ -2669,6 +2727,7 @@ class WebPubSubNetworkACLs(_serialization.Model):
default_action: Optional[Union[str, "_models.ACLAction"]] = None,
public_network: Optional["_models.NetworkACL"] = None,
private_endpoints: Optional[List["_models.PrivateEndpointACL"]] = None,
ip_rules: Optional[List["_models.IPRule"]] = None,
**kwargs: Any
) -> None:
"""
@ -2678,11 +2737,14 @@ class WebPubSubNetworkACLs(_serialization.Model):
:paramtype public_network: ~azure.mgmt.webpubsub.models.NetworkACL
:keyword private_endpoints: ACLs for requests from private endpoints.
:paramtype private_endpoints: list[~azure.mgmt.webpubsub.models.PrivateEndpointACL]
:keyword ip_rules: IP rules for filtering public traffic.
:paramtype ip_rules: list[~azure.mgmt.webpubsub.models.IPRule]
"""
super().__init__(**kwargs)
self.default_action = default_action
self.public_network = public_network
self.private_endpoints = private_endpoints
self.ip_rules = ip_rules
class WebPubSubResource(TrackedResource): # pylint: disable=too-many-instance-attributes
@ -2760,6 +2822,16 @@ class WebPubSubResource(TrackedResource): # pylint: disable=too-many-instance-a
Enable or disable aad auth
When set as true, connection with AuthType=aad won't work.
:vartype disable_aad_auth: bool
:ivar region_endpoint_enabled: Enable or disable the regional endpoint. Default to "Enabled".
When it's Disabled, new connections will not be routed to this endpoint, however existing
connections will not be affected.
This property is replica specific. Disable the regional endpoint without replica is not
allowed.
:vartype region_endpoint_enabled: str
:ivar resource_stopped: Stop or start the resource. Default to "false".
When it's true, the data plane of the resource is shutdown.
When it's false, the data plane of the resource is started.
:vartype resource_stopped: str
"""
_validation = {
@ -2814,6 +2886,8 @@ class WebPubSubResource(TrackedResource): # pylint: disable=too-many-instance-a
"public_network_access": {"key": "properties.publicNetworkAccess", "type": "str"},
"disable_local_auth": {"key": "properties.disableLocalAuth", "type": "bool"},
"disable_aad_auth": {"key": "properties.disableAadAuth", "type": "bool"},
"region_endpoint_enabled": {"key": "properties.regionEndpointEnabled", "type": "str"},
"resource_stopped": {"key": "properties.resourceStopped", "type": "str"},
}
def __init__( # pylint: disable=too-many-locals
@ -2831,6 +2905,8 @@ class WebPubSubResource(TrackedResource): # pylint: disable=too-many-instance-a
public_network_access: str = "Enabled",
disable_local_auth: bool = False,
disable_aad_auth: bool = False,
region_endpoint_enabled: str = "Enabled",
resource_stopped: str = "false",
**kwargs: Any
) -> None:
"""
@ -2867,6 +2943,17 @@ class WebPubSubResource(TrackedResource): # pylint: disable=too-many-instance-a
Enable or disable aad auth
When set as true, connection with AuthType=aad won't work.
:paramtype disable_aad_auth: bool
:keyword region_endpoint_enabled: Enable or disable the regional endpoint. Default to
"Enabled".
When it's Disabled, new connections will not be routed to this endpoint, however existing
connections will not be affected.
This property is replica specific. Disable the regional endpoint without replica is not
allowed.
:paramtype region_endpoint_enabled: str
:keyword resource_stopped: Stop or start the resource. Default to "false".
When it's true, the data plane of the resource is shutdown.
When it's false, the data plane of the resource is started.
:paramtype resource_stopped: str
"""
super().__init__(tags=tags, location=location, **kwargs)
self.sku = sku
@ -2888,6 +2975,8 @@ class WebPubSubResource(TrackedResource): # pylint: disable=too-many-instance-a
self.public_network_access = public_network_access
self.disable_local_auth = disable_local_auth
self.disable_aad_auth = disable_aad_auth
self.region_endpoint_enabled = region_endpoint_enabled
self.resource_stopped = resource_stopped
class WebPubSubResourceList(_serialization.Model):

Просмотреть файл

@ -40,7 +40,7 @@ def build_list_request(**kwargs: Any) -> HttpRequest:
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL

Просмотреть файл

@ -27,7 +27,7 @@ from azure.mgmt.core.exceptions import ARMErrorFormat
from .. import models as _models
from .._serialization import Serializer
from .._vendor import _convert_request, _format_url_section
from .._vendor import _convert_request
T = TypeVar("T")
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
@ -40,7 +40,7 @@ def build_list_request(location: str, subscription_id: str, **kwargs: Any) -> Ht
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -52,7 +52,7 @@ def build_list_request(location: str, subscription_id: str, **kwargs: Any) -> Ht
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")

Просмотреть файл

@ -30,7 +30,7 @@ from azure.mgmt.core.polling.arm_polling import ARMPolling
from .. import models as _models
from .._serialization import Serializer
from .._vendor import _convert_request, _format_url_section
from .._vendor import _convert_request
T = TypeVar("T")
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
@ -45,7 +45,7 @@ def build_list_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -68,7 +68,7 @@ def build_list_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -85,7 +85,7 @@ def build_get_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -109,7 +109,7 @@ def build_get_request(
"certificateName": _SERIALIZER.url("certificate_name", certificate_name, "str"),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -126,7 +126,7 @@ def build_create_or_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -151,7 +151,7 @@ def build_create_or_update_request(
"certificateName": _SERIALIZER.url("certificate_name", certificate_name, "str"),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -170,7 +170,7 @@ def build_delete_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -194,7 +194,7 @@ def build_delete_request(
"certificateName": _SERIALIZER.url("certificate_name", certificate_name, "str"),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")

Просмотреть файл

@ -30,7 +30,7 @@ from azure.mgmt.core.polling.arm_polling import ARMPolling
from .. import models as _models
from .._serialization import Serializer
from .._vendor import _convert_request, _format_url_section
from .._vendor import _convert_request
T = TypeVar("T")
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
@ -45,7 +45,7 @@ def build_list_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -68,7 +68,7 @@ def build_list_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -85,7 +85,7 @@ def build_get_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -109,7 +109,7 @@ def build_get_request(
"name": _SERIALIZER.url("name", name, "str"),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -126,7 +126,7 @@ def build_create_or_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -151,7 +151,7 @@ def build_create_or_update_request(
"name": _SERIALIZER.url("name", name, "str"),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -170,7 +170,7 @@ def build_delete_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -194,7 +194,7 @@ def build_delete_request(
"name": _SERIALIZER.url("name", name, "str"),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")

Просмотреть файл

@ -30,7 +30,7 @@ from azure.mgmt.core.polling.arm_polling import ARMPolling
from .. import models as _models
from .._serialization import Serializer
from .._vendor import _convert_request, _format_url_section
from .._vendor import _convert_request
T = TypeVar("T")
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
@ -45,7 +45,7 @@ def build_list_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -68,7 +68,7 @@ def build_list_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -85,7 +85,7 @@ def build_get_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -109,7 +109,7 @@ def build_get_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -126,7 +126,7 @@ def build_create_or_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -151,7 +151,7 @@ def build_create_or_update_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -170,7 +170,7 @@ def build_delete_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -194,7 +194,7 @@ def build_delete_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")

Просмотреть файл

@ -30,7 +30,7 @@ from azure.mgmt.core.polling.arm_polling import ARMPolling
from .. import models as _models
from .._serialization import Serializer
from .._vendor import _convert_request, _format_url_section
from .._vendor import _convert_request
T = TypeVar("T")
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
@ -43,7 +43,7 @@ def build_check_name_availability_request(location: str, subscription_id: str, *
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -57,7 +57,7 @@ def build_check_name_availability_request(location: str, subscription_id: str, *
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -74,7 +74,7 @@ def build_list_by_subscription_request(subscription_id: str, **kwargs: Any) -> H
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -83,7 +83,7 @@ def build_list_by_subscription_request(subscription_id: str, **kwargs: Any) -> H
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -98,7 +98,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -113,7 +113,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -128,7 +128,7 @@ def build_get_request(resource_group_name: str, resource_name: str, subscription
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -151,7 +151,7 @@ def build_get_request(resource_group_name: str, resource_name: str, subscription
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -168,7 +168,7 @@ def build_create_or_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -192,7 +192,7 @@ def build_create_or_update_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -211,7 +211,7 @@ def build_delete_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -234,7 +234,7 @@ def build_delete_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -251,7 +251,7 @@ def build_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -275,7 +275,7 @@ def build_update_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -294,7 +294,7 @@ def build_list_keys_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -317,7 +317,7 @@ def build_list_keys_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -334,7 +334,7 @@ def build_regenerate_key_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -358,7 +358,7 @@ def build_regenerate_key_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -377,7 +377,7 @@ def build_list_replica_skus_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -408,7 +408,7 @@ def build_list_replica_skus_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -425,7 +425,7 @@ def build_restart_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -448,7 +448,7 @@ def build_restart_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -465,7 +465,7 @@ def build_list_skus_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -488,7 +488,7 @@ def build_list_skus_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")

Просмотреть файл

@ -30,7 +30,7 @@ from azure.mgmt.core.polling.arm_polling import ARMPolling
from .. import models as _models
from .._serialization import Serializer
from .._vendor import _convert_request, _format_url_section
from .._vendor import _convert_request
T = TypeVar("T")
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
@ -45,7 +45,7 @@ def build_list_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -68,7 +68,7 @@ def build_list_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -89,7 +89,7 @@ def build_get_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -115,7 +115,7 @@ def build_get_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -136,7 +136,7 @@ def build_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -163,7 +163,7 @@ def build_update_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -186,7 +186,7 @@ def build_delete_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -212,7 +212,7 @@ def build_delete_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")

Просмотреть файл

@ -27,7 +27,7 @@ from azure.mgmt.core.exceptions import ARMErrorFormat
from .. import models as _models
from .._serialization import Serializer
from .._vendor import _convert_request, _format_url_section
from .._vendor import _convert_request
T = TypeVar("T")
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
@ -42,7 +42,7 @@ def build_list_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -65,7 +65,7 @@ def build_list_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")

Просмотреть файл

@ -30,7 +30,7 @@ from azure.mgmt.core.polling.arm_polling import ARMPolling
from .. import models as _models
from .._serialization import Serializer
from .._vendor import _convert_request, _format_url_section
from .._vendor import _convert_request
T = TypeVar("T")
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
@ -45,7 +45,7 @@ def build_list_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -68,7 +68,7 @@ def build_list_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -85,7 +85,7 @@ def build_get_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -116,7 +116,7 @@ def build_get_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -133,7 +133,7 @@ def build_create_or_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -165,7 +165,7 @@ def build_create_or_update_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -184,7 +184,7 @@ def build_delete_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -215,7 +215,7 @@ def build_delete_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -232,7 +232,7 @@ def build_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -264,7 +264,7 @@ def build_update_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -283,7 +283,7 @@ def build_restart_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -314,7 +314,7 @@ def build_restart_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")

Просмотреть файл

@ -30,7 +30,7 @@ from azure.mgmt.core.polling.arm_polling import ARMPolling
from .. import models as _models
from .._serialization import Serializer
from .._vendor import _convert_request, _format_url_section
from .._vendor import _convert_request
T = TypeVar("T")
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
@ -45,7 +45,7 @@ def build_list_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -68,7 +68,7 @@ def build_list_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -89,7 +89,7 @@ def build_get_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -115,7 +115,7 @@ def build_get_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -136,7 +136,7 @@ def build_create_or_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -163,7 +163,7 @@ def build_create_or_update_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@ -186,7 +186,7 @@ def build_delete_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -212,7 +212,7 @@ def build_delete_request(
),
}
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
_url: str = _url.format(**path_format_arguments) # type: ignore
# Construct parameters
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")

Просмотреть файл

@ -34,6 +34,6 @@ def main():
print(item)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/Operations_List.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/Operations_List.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -36,6 +36,6 @@ def main():
print(item)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/Usages_List.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/Usages_List.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -36,6 +36,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSub_CheckNameAvailability.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSub_CheckNameAvailability.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -63,6 +63,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSub_CreateOrUpdate.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSub_CreateOrUpdate.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -44,6 +44,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubCustomCertificates_CreateOrUpdate.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubCustomCertificates_CreateOrUpdate.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -36,6 +36,6 @@ def main():
)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubCustomCertificates_Delete.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubCustomCertificates_Delete.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubCustomCertificates_Get.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubCustomCertificates_Get.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(item)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubCustomCertificates_List.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubCustomCertificates_List.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -45,6 +45,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubCustomDomains_CreateOrUpdate.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubCustomDomains_CreateOrUpdate.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -36,6 +36,6 @@ def main():
).result()
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubCustomDomains_Delete.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubCustomDomains_Delete.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubCustomDomains_Get.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubCustomDomains_Get.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(item)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubCustomDomains_List.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubCustomDomains_List.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -35,6 +35,6 @@ def main():
).result()
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSub_Delete.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSub_Delete.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -36,6 +36,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSub_Get.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSub_Get.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -64,6 +64,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubHubs_CreateOrUpdate.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubHubs_CreateOrUpdate.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -36,6 +36,6 @@ def main():
).result()
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubHubs_Delete.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubHubs_Delete.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubHubs_Get.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubHubs_Get.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(item)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubHubs_List.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubHubs_List.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -36,6 +36,6 @@ def main():
print(item)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSub_ListByResourceGroup.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSub_ListByResourceGroup.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -34,6 +34,6 @@ def main():
print(item)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSub_ListBySubscription.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSub_ListBySubscription.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -36,6 +36,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSub_ListKeys.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSub_ListKeys.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSub_ListReplicaSkus.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSub_ListReplicaSkus.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -36,6 +36,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSub_ListSkus.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSub_ListSkus.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -36,6 +36,6 @@ def main():
).result()
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubPrivateEndpointConnections_Delete.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubPrivateEndpointConnections_Delete.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubPrivateEndpointConnections_Get.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubPrivateEndpointConnections_Get.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(item)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubPrivateEndpointConnections_List.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubPrivateEndpointConnections_List.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -43,6 +43,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubPrivateEndpointConnections_Update.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubPrivateEndpointConnections_Update.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(item)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubPrivateLinkResources_List.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubPrivateLinkResources_List.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSub_RegenerateKey.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSub_RegenerateKey.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -35,7 +35,7 @@ def main():
replica_name="myWebPubSubService-eastus",
parameters={
"location": "eastus",
"properties": {},
"properties": {"resourceStopped": "false"},
"sku": {"capacity": 1, "name": "Premium_P1", "tier": "Premium"},
"tags": {"key1": "value1"},
},
@ -43,6 +43,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubReplicas_CreateOrUpdate.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubReplicas_CreateOrUpdate.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -36,6 +36,6 @@ def main():
)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubReplicas_Delete.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubReplicas_Delete.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubReplicas_Get.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubReplicas_Get.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(item)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubReplicas_List.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubReplicas_List.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -36,6 +36,6 @@ def main():
).result()
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubReplicas_Restart.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubReplicas_Restart.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -35,7 +35,7 @@ def main():
replica_name="myWebPubSubService-eastus",
parameters={
"location": "eastus",
"properties": {},
"properties": {"resourceStopped": "false"},
"sku": {"capacity": 1, "name": "Premium_P1", "tier": "Premium"},
"tags": {"key1": "value1"},
},
@ -43,6 +43,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubReplicas_Update.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubReplicas_Update.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -35,6 +35,6 @@ def main():
).result()
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSub_Restart.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSub_Restart.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -44,6 +44,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubSharedPrivateLinkResources_CreateOrUpdate.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubSharedPrivateLinkResources_CreateOrUpdate.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -36,6 +36,6 @@ def main():
).result()
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubSharedPrivateLinkResources_Delete.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubSharedPrivateLinkResources_Delete.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubSharedPrivateLinkResources_Get.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubSharedPrivateLinkResources_Get.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(item)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSubSharedPrivateLinkResources_List.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSubSharedPrivateLinkResources_List.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -63,6 +63,6 @@ def main():
print(response)
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-06-01-preview/examples/WebPubSub_Update.json
# x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/WebPubSub_Update.json
if __name__ == "__main__":
main()