Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR track2_azure-mgmt-webpubsub] update readme #19354

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
11 changes: 7 additions & 4 deletions sdk/webpubsub/azure-mgmt-webpubsub/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.3.0",
"use": "@autorest/python@5.6.6",
"commit": "a4f67651dcaef459afabb647a05a45a5fbb72ffe",
"autorest": "3.4.2",
"use": [
"@autorest/python@5.8.1",
"@autorest/modelerfour@4.19.2"
],
"commit": "0c057560083bfdfd50202f0e79cfac8ec054d56a",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/webpubsub/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.6 --version=3.3.0",
"autorest_command": "autorest specification/webpubsub/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.1 --use=@autorest/modelerfour@4.19.2 --version=3.4.2",
"readme": "specification/webpubsub/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-04-01-preview"
self.api_version = "2021-06-01-preview"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-webpubsub/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "2021-04-01-preview",
"total_api_version_list": ["2021-04-01-preview"],
"chosen_version": "2021-06-01-preview",
"total_api_version_list": ["2021-06-01-preview"],
"client": {
"name": "WebPubSubManagementClient",
"filename": "_web_pub_sub_management_client",
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 = "1.0.0b1"
VERSION = "0.1.0"
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-04-01-preview"
self.api_version = "2021-06-01-preview"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-webpubsub/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:

def list(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.OperationList"]:
"""Lists all of the available REST API operations of the Microsoft.SignalRService provider.

Expand All @@ -57,7 +57,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01-preview"
api_version = "2021-06-01-preview"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:
def list(
self,
location: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.SignalRServiceUsageList"]:
"""List resource usage quotas by location.

Expand All @@ -60,7 +60,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01-preview"
api_version = "2021-06-01-preview"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async def check_name_availability(
self,
location: str,
parameters: "_models.NameAvailabilityParameters",
**kwargs
**kwargs: Any
) -> "_models.NameAvailability":
"""Checks that the resource name is valid and is not already in use.

Expand All @@ -65,7 +65,7 @@ async def check_name_availability(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01-preview"
api_version = "2021-06-01-preview"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -108,7 +108,7 @@ async def check_name_availability(

def list_by_subscription(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.WebPubSubResourceList"]:
"""Handles requests to list all resources in a subscription.

Expand All @@ -122,7 +122,7 @@ def list_by_subscription(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01-preview"
api_version = "2021-06-01-preview"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -176,7 +176,7 @@ async def get_next(next_link=None):
def list_by_resource_group(
self,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.WebPubSubResourceList"]:
"""Handles requests to list all resources in a resource group.

Expand All @@ -193,7 +193,7 @@ def list_by_resource_group(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01-preview"
api_version = "2021-06-01-preview"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -249,7 +249,7 @@ async def get(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> "_models.WebPubSubResource":
"""Get the resource and its properties.

Expand All @@ -268,7 +268,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01-preview"
api_version = "2021-06-01-preview"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -310,14 +310,14 @@ async def _create_or_update_initial(
resource_group_name: str,
resource_name: str,
parameters: "_models.WebPubSubResource",
**kwargs
**kwargs: Any
) -> Optional["_models.WebPubSubResource"]:
cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.WebPubSubResource"]]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01-preview"
api_version = "2021-06-01-preview"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -369,7 +369,7 @@ async def begin_create_or_update(
resource_group_name: str,
resource_name: str,
parameters: "_models.WebPubSubResource",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.WebPubSubResource"]:
"""Create or update a resource.

Expand All @@ -382,8 +382,8 @@ async def begin_create_or_update(
:type parameters: ~azure.mgmt.webpubsub.models.WebPubSubResource
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either WebPubSubResource or the result of cls(response)
Expand Down Expand Up @@ -440,14 +440,14 @@ async def _delete_initial(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> None:
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01-preview"
api_version = "2021-06-01-preview"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -485,7 +485,7 @@ async def begin_delete(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> AsyncLROPoller[None]:
"""Operation to delete a resource.

Expand All @@ -496,8 +496,8 @@ async def begin_delete(
:type resource_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
Expand Down Expand Up @@ -551,14 +551,14 @@ async def _update_initial(
resource_group_name: str,
resource_name: str,
parameters: "_models.WebPubSubResource",
**kwargs
**kwargs: Any
) -> Optional["_models.WebPubSubResource"]:
cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.WebPubSubResource"]]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01-preview"
api_version = "2021-06-01-preview"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -607,7 +607,7 @@ async def begin_update(
resource_group_name: str,
resource_name: str,
parameters: "_models.WebPubSubResource",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.WebPubSubResource"]:
"""Operation to update an exiting resource.

Expand All @@ -620,8 +620,8 @@ async def begin_update(
:type parameters: ~azure.mgmt.webpubsub.models.WebPubSubResource
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either WebPubSubResource or the result of cls(response)
Expand Down Expand Up @@ -678,7 +678,7 @@ async def list_keys(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> "_models.WebPubSubKeys":
"""Get the access keys of the resource.

Expand All @@ -697,7 +697,7 @@ async def list_keys(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01-preview"
api_version = "2021-06-01-preview"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -739,14 +739,14 @@ async def _regenerate_key_initial(
resource_group_name: str,
resource_name: str,
parameters: "_models.RegenerateKeyParameters",
**kwargs
**kwargs: Any
) -> "_models.WebPubSubKeys":
cls = kwargs.pop('cls', None) # type: ClsType["_models.WebPubSubKeys"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01-preview"
api_version = "2021-06-01-preview"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -793,7 +793,7 @@ async def begin_regenerate_key(
resource_group_name: str,
resource_name: str,
parameters: "_models.RegenerateKeyParameters",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.WebPubSubKeys"]:
"""Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated
at the same time.
Expand All @@ -807,8 +807,8 @@ async def begin_regenerate_key(
:type parameters: ~azure.mgmt.webpubsub.models.RegenerateKeyParameters
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either WebPubSubKeys or the result of cls(response)
Expand Down Expand Up @@ -865,14 +865,14 @@ async def _restart_initial(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> None:
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01-preview"
api_version = "2021-06-01-preview"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -910,7 +910,7 @@ async def begin_restart(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> AsyncLROPoller[None]:
"""Operation to restart a resource.

Expand All @@ -921,8 +921,8 @@ async def begin_restart(
:type resource_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
Expand Down
Loading