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

[AutoPR track2_azure-mgmt-peering] [python] track2 config #6293

Closed
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/peering/azure-mgmt-peering/_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": "e304f0d89247ec7d983167f5cfa6ed975a5e8a12",
"autorest": "3.4.2",
"use": [
"@autorest/python@5.8.1",
"@autorest/modelerfour@4.19.2"
],
"commit": "9da177769d74a0caa5616af0e36042aa60ad9986",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/peering/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/peering/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/peering/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
},
"async": {
"coroutine": true,
"signature": "async def check_service_provider_availability(\n self,\n check_service_provider_availability_input: \"_models.CheckServiceProviderAvailabilityInput\",\n **kwargs\n) -\u003e Union[str, \"_models.Enum0\"]:\n",
"signature": "async def check_service_provider_availability(\n self,\n check_service_provider_availability_input: \"_models.CheckServiceProviderAvailabilityInput\",\n **kwargs: Any\n) -\u003e Union[str, \"_models.Enum0\"]:\n",
"doc": "\"\"\"Checks if the peering service provider is present within 1000 miles of customer\u0027s location.\n\n:param check_service_provider_availability_input: The CheckServiceProviderAvailabilityInput\n indicating customer location and service provider.\n:type check_service_provider_availability_input: ~azure.mgmt.peering.models.CheckServiceProviderAvailabilityInput\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Enum0, or the result of cls(response)\n:rtype: str or ~azure.mgmt.peering.models.Enum0\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\""
},
"call": "check_service_provider_availability_input"
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.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def list(
self,
peering_location: str,
kind: Union[str, "_models.Enum1"],
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.PeeringListResult"]:
"""Lists all of the legacy peerings under the given subscription matching the specified kind and
location.
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.OperationListResult"]:
"""Lists all of the available API operations for peering resources.

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:
async def get(
self,
peer_asn_name: str,
**kwargs
**kwargs: Any
) -> "_models.PeerAsn":
"""Gets the peer ASN with the specified name under the given subscription.

Expand Down Expand Up @@ -100,7 +100,7 @@ async def create_or_update(
self,
peer_asn_name: str,
peer_asn: "_models.PeerAsn",
**kwargs
**kwargs: Any
) -> "_models.PeerAsn":
"""Creates a new peer ASN or updates an existing peer ASN with the specified name under the given
subscription.
Expand Down Expand Up @@ -167,7 +167,7 @@ async def create_or_update(
async def delete(
self,
peer_asn_name: str,
**kwargs
**kwargs: Any
) -> None:
"""Deletes an existing peer ASN with the specified name under the given subscription.

Expand Down Expand Up @@ -218,7 +218,7 @@ async def delete(

def list_by_subscription(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.PeerAsnListResult"]:
"""Lists all of the peer ASNs under the given subscription.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def list(
self,
kind: Union[str, "_models.Enum14"],
direct_peering_type: Optional[Union[str, "_models.Enum15"]] = None,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.PeeringLocationListResult"]:
"""Lists all of the available peering locations for the specified kind of peering.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class PeeringManagementClientOperationsMixin:
async def check_service_provider_availability(
self,
check_service_provider_availability_input: "_models.CheckServiceProviderAvailabilityInput",
**kwargs
**kwargs: Any
) -> Union[str, "_models.Enum0"]:
"""Checks if the peering service provider is present within 1000 miles of customer's location.

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.PeeringServiceLocationListResult"]:
"""Lists all of the available peering service locations for the specified kind of peering.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def get(
resource_group_name: str,
peering_service_name: str,
prefix_name: str,
**kwargs
**kwargs: Any
) -> "_models.PeeringServicePrefix":
"""Gets the peering service prefix.

Expand Down Expand Up @@ -109,7 +109,7 @@ async def create_or_update(
peering_service_name: str,
prefix_name: str,
peering_service_prefix: "_models.PeeringServicePrefix",
**kwargs
**kwargs: Any
) -> "_models.PeeringServicePrefix":
"""Creates or updates the peering prefix.

Expand Down Expand Up @@ -183,7 +183,7 @@ async def delete(
resource_group_name: str,
peering_service_name: str,
prefix_name: str,
**kwargs
**kwargs: Any
) -> None:
"""removes the peering prefix.

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.PeeringServiceProviderListResult"]:
"""Lists all of the available peering service locations for the specified kind of peering.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def get(
self,
resource_group_name: str,
peering_service_name: str,
**kwargs
**kwargs: Any
) -> "_models.PeeringService":
"""Gets an existing peering service with the specified name under the given subscription and
resource group.
Expand Down Expand Up @@ -106,7 +106,7 @@ async def create_or_update(
resource_group_name: str,
peering_service_name: str,
peering_service: "_models.PeeringService",
**kwargs
**kwargs: Any
) -> "_models.PeeringService":
"""Creates a new peering service or updates an existing peering with the specified name under the
given subscription and resource group.
Expand Down Expand Up @@ -177,7 +177,7 @@ async def delete(
self,
resource_group_name: str,
peering_service_name: str,
**kwargs
**kwargs: Any
) -> None:
"""Deletes an existing peering service with the specified name under the given subscription and
resource group.
Expand Down Expand Up @@ -235,7 +235,7 @@ async def update(
resource_group_name: str,
peering_service_name: str,
tags: "_models.ResourceTags",
**kwargs
**kwargs: Any
) -> "_models.PeeringService":
"""Updates tags for a peering service with the specified name under the given subscription and
resource group.
Expand Down Expand Up @@ -301,7 +301,7 @@ async def update(
def list_by_resource_group(
self,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.PeeringServiceListResult"]:
"""Lists all of the peering services under the given subscription and resource group.

Expand Down Expand Up @@ -371,7 +371,7 @@ async def get_next(next_link=None):

def list_by_subscription(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.PeeringServiceListResult"]:
"""Lists all of the peerings under the given subscription.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def get(
self,
resource_group_name: str,
peering_name: str,
**kwargs
**kwargs: Any
) -> "_models.Peering":
"""Gets an existing peering with the specified name under the given subscription and resource
group.
Expand Down Expand Up @@ -106,7 +106,7 @@ async def create_or_update(
resource_group_name: str,
peering_name: str,
peering: "_models.Peering",
**kwargs
**kwargs: Any
) -> "_models.Peering":
"""Creates a new peering or updates an existing peering with the specified name under the given
subscription and resource group.
Expand Down Expand Up @@ -177,7 +177,7 @@ async def delete(
self,
resource_group_name: str,
peering_name: str,
**kwargs
**kwargs: Any
) -> None:
"""Deletes an existing peering with the specified name under the given subscription and resource
group.
Expand Down Expand Up @@ -235,7 +235,7 @@ async def update(
resource_group_name: str,
peering_name: str,
tags: "_models.ResourceTags",
**kwargs
**kwargs: Any
) -> "_models.Peering":
"""Updates tags for a peering with the specified name under the given subscription and resource
group.
Expand Down Expand Up @@ -301,7 +301,7 @@ async def update(
def list_by_resource_group(
self,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.PeeringListResult"]:
"""Lists all of the peerings under the given subscription and resource group.

Expand Down Expand Up @@ -371,7 +371,7 @@ async def get_next(next_link=None):

def list_by_subscription(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.PeeringListResult"]:
"""Lists all of the peerings under the given subscription.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def list_by_peering_service(
self,
resource_group_name: str,
peering_service_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.PeeringServicePrefixListResult"]:
"""Lists the peerings prefix in the resource group.

Expand Down