Skip to content

Commit

Permalink
bump vwan version to 2020-04-01 (#1825)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsntcy authored Jun 4, 2020
1 parent dc7e9c4 commit 78959c6
Show file tree
Hide file tree
Showing 119 changed files with 7,866 additions and 4,645 deletions.
2 changes: 1 addition & 1 deletion src/virtual-wan/azext_vwan/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self, cli_ctx=None):
from azure.cli.core.commands import CliCommandType
from .profiles import CUSTOM_VWAN, CUSTOM_VHUB_ROUTE_TABLE
register_resource_type('latest', CUSTOM_VWAN, '2018-08-01')
register_resource_type('latest', CUSTOM_VHUB_ROUTE_TABLE, '2020-03-01')
register_resource_type('latest', CUSTOM_VHUB_ROUTE_TABLE, '2020-04-01')

super(VirtualWanCommandsLoader, self).__init__(
cli_ctx=cli_ctx,
Expand Down
2 changes: 1 addition & 1 deletion src/virtual-wan/azext_vwan/_client_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def network_client_route_table_factory(cli_ctx, aux_subscriptions=None, **_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from .profiles import CUSTOM_VHUB_ROUTE_TABLE
return get_mgmt_service_client(cli_ctx, CUSTOM_VHUB_ROUTE_TABLE, aux_subscriptions=aux_subscriptions,
api_version='2020-03-01')
api_version='2020-04-01')


def cf_virtual_wans(cli_ctx, _):
Expand Down
6 changes: 3 additions & 3 deletions src/virtual-wan/azext_vwan/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@
def load_command_table(self, _):

network_vhub_sdk = CliCommandType(
operations_tmpl='azext_vwan.vendored_sdks.v2020_03_01.operations#VirtualHubsOperations.{}',
operations_tmpl='azext_vwan.vendored_sdks.v2020_04_01.operations#VirtualHubsOperations.{}',
client_factory=cf_virtual_hubs,
resource_type=CUSTOM_VHUB_ROUTE_TABLE,
min_api='2018-08-01'
)

network_vhub_route_table_sdk = CliCommandType(
operations_tmpl='azext_vwan.vendored_sdks.v2020_03_01.operations#VirtualHubRouteTableV2sOperations.{}',
operations_tmpl='azext_vwan.vendored_sdks.v2020_04_01.operations#VirtualHubRouteTableV2sOperations.{}',
client_factory=cf_virtual_hub_route_table_v2s,
resource_type=CUSTOM_VHUB_ROUTE_TABLE,
min_api='2019-09-01'
)

network_vwan_sdk = CliCommandType(
operations_tmpl='azext_vwan.vendored_sdks.v2020_03_01.operations#VirtualWansOperations.{}',
operations_tmpl='azext_vwan.vendored_sdks.v2020_04_01.operations#VirtualWansOperations.{}',
client_factory=cf_virtual_wans,
resource_type=CUSTOM_VHUB_ROUTE_TABLE,
min_api='2018-08-01'
Expand Down
2 changes: 1 addition & 1 deletion src/virtual-wan/azext_vwan/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from azure.cli.core.profiles import CustomResourceType

CUSTOM_VWAN = CustomResourceType('azext_vwan.vendored_sdks.v2018_08_01', 'NetworkManagementClient')
CUSTOM_VHUB_ROUTE_TABLE = CustomResourceType('azext_vwan.vendored_sdks.v2020_03_01', 'NetworkManagementClient')
CUSTOM_VHUB_ROUTE_TABLE = CustomResourceType('azext_vwan.vendored_sdks.v2020_04_01', 'NetworkManagementClient')

Large diffs are not rendered by default.

Loading

0 comments on commit 78959c6

Please sign in to comment.