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-databoxedge] [databoxedge] remove python track1 configuration #6903

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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 7 additions & 4 deletions sdk/databoxedge/azure-mgmt-databoxedge/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.3.0",
"use": "@autorest/[email protected]",
"commit": "cc247b28bd6dc94786fb18e691d6331a168985f6",
"autorest": "3.4.5",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "a91b884c58d80bfa9f3f8384421b6c8ab247f4ea",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/databoxedge/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/databoxedge/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.4 --use=@autorest/[email protected] --version=3.4.5",
"readme": "specification/databoxedge/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
# --------------------------------------------------------------------------

from ._data_box_edge_management_client import DataBoxEdgeManagementClient
from ._version import VERSION

__version__ = VERSION
__all__ = ['DataBoxEdgeManagementClient']

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy

from ._version import VERSION

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from typing import Any

from azure.core.credentials import TokenCredential

VERSION = "unknown"

class DataBoxEdgeManagementClientConfiguration(Configuration):
"""Configuration for DataBoxEdgeManagementClient.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy

from .._version import VERSION

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials_async import AsyncTokenCredential

VERSION = "unknown"

class DataBoxEdgeManagementClientConfiguration(Configuration):
"""Configuration for DataBoxEdgeManagementClient.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def list_by_role(
device_name: str,
role_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.AddonList"]:
"""Lists all the addons configured in the role.

Expand Down Expand Up @@ -127,7 +127,7 @@ async def get(
role_name: str,
addon_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> "_models.Addon":
"""Gets a specific addon by name.

Expand Down Expand Up @@ -194,7 +194,7 @@ async def _create_or_update_initial(
addon_name: str,
resource_group_name: str,
addon: "_models.Addon",
**kwargs
**kwargs: Any
) -> Optional["_models.Addon"]:
cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Addon"]]
error_map = {
Expand Down Expand Up @@ -253,7 +253,7 @@ async def begin_create_or_update(
addon_name: str,
resource_group_name: str,
addon: "_models.Addon",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.Addon"]:
"""Create or update a addon.

Expand All @@ -269,8 +269,8 @@ async def begin_create_or_update(
:type addon: ~azure.mgmt.databoxedge.v2020_12_01.models.Addon
: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 Addon or the result of cls(response)
Expand Down Expand Up @@ -333,7 +333,7 @@ async def _delete_initial(
role_name: str,
addon_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> None:
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
Expand Down Expand Up @@ -381,7 +381,7 @@ async def begin_delete(
role_name: str,
addon_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncLROPoller[None]:
"""Deletes the addon on the device.

Expand All @@ -395,8 +395,8 @@ async def begin_delete(
:type resource_group_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
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def list_by_data_box_edge_device(
self,
device_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.AlertList"]:
"""Gets all the alerts for a Data Box Edge/Data Box Gateway device.

Expand Down Expand Up @@ -120,7 +120,7 @@ async def get(
device_name: str,
name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> "_models.Alert":
"""Gets an alert by name.

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.DataBoxEdgeSkuList"]:
"""List all the available Skus and information related to them.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def list_by_data_box_edge_device(
self,
device_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.BandwidthSchedulesList"]:
"""Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device.

Expand Down Expand Up @@ -122,7 +122,7 @@ async def get(
device_name: str,
name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> "_models.BandwidthSchedule":
"""Gets the properties of the specified bandwidth schedule.

Expand Down Expand Up @@ -185,7 +185,7 @@ async def _create_or_update_initial(
name: str,
resource_group_name: str,
parameters: "_models.BandwidthSchedule",
**kwargs
**kwargs: Any
) -> Optional["_models.BandwidthSchedule"]:
cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BandwidthSchedule"]]
error_map = {
Expand Down Expand Up @@ -242,7 +242,7 @@ async def begin_create_or_update(
name: str,
resource_group_name: str,
parameters: "_models.BandwidthSchedule",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.BandwidthSchedule"]:
"""Creates or updates a bandwidth schedule.

Expand All @@ -256,8 +256,8 @@ async def begin_create_or_update(
:type parameters: ~azure.mgmt.databoxedge.v2020_12_01.models.BandwidthSchedule
: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 BandwidthSchedule or the result of cls(response)
Expand Down Expand Up @@ -317,7 +317,7 @@ async def _delete_initial(
device_name: str,
name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> None:
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
Expand Down Expand Up @@ -363,7 +363,7 @@ async def begin_delete(
device_name: str,
name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncLROPoller[None]:
"""Deletes the specified bandwidth schedule.

Expand All @@ -375,8 +375,8 @@ async def begin_delete(
:type resource_group_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
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def list_by_storage_account(
device_name: str,
storage_account_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ContainerList"]:
"""Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device.

Expand Down Expand Up @@ -129,7 +129,7 @@ async def get(
storage_account_name: str,
container_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> "_models.Container":
"""Gets a container by name.

Expand Down Expand Up @@ -198,7 +198,7 @@ async def _create_or_update_initial(
container_name: str,
resource_group_name: str,
container: "_models.Container",
**kwargs
**kwargs: Any
) -> Optional["_models.Container"]:
cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Container"]]
error_map = {
Expand Down Expand Up @@ -257,7 +257,7 @@ async def begin_create_or_update(
container_name: str,
resource_group_name: str,
container: "_models.Container",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.Container"]:
"""Creates a new container or updates an existing container on the device.

Expand All @@ -275,8 +275,8 @@ async def begin_create_or_update(
:type container: ~azure.mgmt.databoxedge.v2020_12_01.models.Container
: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 Container or the result of cls(response)
Expand Down Expand Up @@ -339,7 +339,7 @@ async def _delete_initial(
storage_account_name: str,
container_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> None:
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
Expand Down Expand Up @@ -387,7 +387,7 @@ async def begin_delete(
storage_account_name: str,
container_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncLROPoller[None]:
"""Deletes the container on the Data Box Edge/Data Box Gateway device.

Expand All @@ -401,8 +401,8 @@ async def begin_delete(
:type resource_group_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 @@ -461,7 +461,7 @@ async def _refresh_initial(
storage_account_name: str,
container_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> None:
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
Expand Down Expand Up @@ -509,7 +509,7 @@ async def begin_refresh(
storage_account_name: str,
container_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncLROPoller[None]:
"""Refreshes the container metadata with the data from the cloud.

Expand All @@ -525,8 +525,8 @@ async def begin_refresh(
:type resource_group_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