Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
959b19f
Remove APIs that are not available in Python 3.6 (#17716)
shenglol Apr 16, 2021
d1dfa89
[KeyVault] Hotfix: GA for managed-HSM ralated commands and parameters…
houk-ms Apr 19, 2021
c6c67ac
removing validation from onprem command (#17749)
fengzhou-msft Apr 19, 2021
135b525
{Core} Hotfix: Fix inifite extension install loop (#17698)
fengzhou-msft Apr 19, 2021
0294cb8
Hot fix for version 2.22.1 (#17752)
zhoxing-ms Apr 19, 2021
03bfa70
[Compute] Zone-redundant storage (ZRS) managed disks (#17754)
qwordy Apr 19, 2021
485fd9d
[AKS] Support updating Windows password (#17684)
AbelHu Apr 19, 2021
e207d54
[BACKUP] az backup vault create: Add tags as an optional argument (#1…
akshayneema Apr 20, 2021
0fa7095
Merge branch 'dev' into release_2.22.1
zhoxing-ms Apr 20, 2021
823b9c6
[Style] Define theme for Cloud Shell (#17283)
jiasli Apr 20, 2021
52096b5
{Network} Network support extendedLocation (#17623)
msyyc Apr 20, 2021
07e8013
Merge branch 'release_2.22.1' into dev
zhoxing-ms Apr 20, 2021
821ccb0
{DNS} Migrate to track 2 (#17787)
jsntcy Apr 21, 2021
b2e26af
{Network} Software Load Balance 100% depth (#17729)
kairu-ms Apr 21, 2021
89f9f2f
storage bump version (#17782)
evelyn-ys Apr 21, 2021
1f5f3e1
{SQL} Fixing failing test for log replay (#17672)
milanbrkic-ms Apr 21, 2021
84b1aef
{Network} application gateway 100% support (#17753)
kairu-ms Apr 21, 2021
0216604
{Core} `az login`: support `--scope` (#17778)
yonzhan Apr 21, 2021
dc32281
{batchai} Refine test with storage account APIs (#17799)
Juliehzl Apr 22, 2021
842de15
{KeyVault} Bump keyvault mgmt sdk version to 2021-04-01-preview (#17679)
houk-ms Apr 22, 2021
0ee45c4
[Role] `az role assignment create/update`: auto complete `assignee_pr…
evelyn-ys Apr 22, 2021
f65800a
[sqlvm] Make SqlServerLicenseType as optional #17766
vasivara-MSFT Apr 22, 2021
f3602f5
{KeyVault} Replace `_token_retriever` with `get_raw_token` (#17812)
jiasli Apr 22, 2021
6728379
{Logging} Redact headers from SDK HTTP log (#17671)
jiasli Apr 22, 2021
2ff95ab
fix 404 in LRO (#15884)
fengzhou-msft Apr 22, 2021
8a0cce9
{Doc} Update track 2 migration roadmap (#17730)
jsntcy Apr 22, 2021
902b942
{Core} Fix: In Cloud Shell, cross-tenant authentication fails for use…
jiasli Apr 22, 2021
cb4471d
{Core} Add `__init__.py` to `azure.cli.core.sdk` (#17817)
jiasli Apr 22, 2021
de212eb
[Compute] disk create: Trusted launch; [Compute] disk create: Hiberna…
qwordy Apr 23, 2021
993537f
{Core} Work around long-running delete or purge operation with 404 st…
houk-ms Apr 23, 2021
f82c201
{Network} vpn 100% support (#17664)
kairu-ms Apr 25, 2021
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
Prev Previous commit
Next Next commit
{Network} Software Load Balance 100% depth (Azure#17729)
* add command 'az network lb list-nic'

* fix test issue

* fix ci issues

* fix linter issues
  • Loading branch information
kairu-ms authored Apr 21, 2021
commit b2e26af6fe0c3e61050f22017dab5b6595b6c9d0
18 changes: 18 additions & 0 deletions src/azure-cli/azure/cli/command_modules/network/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -3691,6 +3691,14 @@
text: az network lb list -g MyResourceGroup
"""

helps['network lb list-nic'] = """
type: command
short-summary: List associated load balancer network interfaces.
examples:
- name: List associated load balancer network interfaces.
text: az network lb list-nic -g MyResourceGroup --name MyLb
"""

helps['network lb outbound-rule'] = """
type: group
short-summary: Manage outbound rules of a load balancer.
Expand Down Expand Up @@ -5984,6 +5992,11 @@
short-summary: Delete a route server under a resource group.
"""

helps['network routeserver wait'] = """
type: command
short-summary: Place the CLI in a waiting state until a condition of the route server is met.
"""

helps['network routeserver peering'] = """
type: group
short-summary: Manage the route server peering.
Expand Down Expand Up @@ -6024,6 +6037,11 @@
short-summary: List all routes the route server bgp connection is advertising to the specified peer.
"""

helps['network routeserver peering wait'] = """
type: command
short-summary: Place the CLI in a waiting state until a condition of the route server peering is met.
"""

helps['network watcher'] = """
type: group
short-summary: Manage the Azure Network Watcher.
Expand Down
3 changes: 3 additions & 0 deletions src/azure-cli/azure/cli/command_modules/network/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,7 @@ def _make_singular(value):
g.wait_command('wait')
g.generic_update_command('update', getter_name='lb_get', getter_type=network_load_balancers_custom,
setter_name='begin_create_or_update')
g.custom_command('list-nic', 'list_load_balancer_nic', min_api='2017-06-01')

property_map = {
'frontend_ip_configurations': 'frontend-ip',
Expand Down Expand Up @@ -1419,6 +1420,7 @@ def _make_singular(value):
g.custom_command('delete', 'delete_virtual_hub', supports_no_wait=True, confirmation=True)
g.show_command('show', 'get')
g.custom_command('list', 'list_virtual_hub')
g.wait_command('wait')

with self.command_group('network routeserver peering', network_virtual_hub_bgp_connection_sdk,
custom_command_type=network_virtual_hub_bgp_connection_update_sdk) as g:
Expand All @@ -1429,6 +1431,7 @@ def _make_singular(value):
custom_func_name='update_virtual_hub_bgp_connection')
g.custom_command('delete', 'delete_virtual_hub_bgp_connection', supports_no_wait=True, confirmation=True)
g.show_command('show', 'get')
g.wait_command('wait')

with self.command_group('network routeserver peering', network_virtual_hub_bgp_connections_sdk,
custom_command_type=network_virtual_hub_bgp_connections_update_sdk) as g:
Expand Down
5 changes: 5 additions & 0 deletions src/azure-cli/azure/cli/command_modules/network/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -3304,6 +3304,11 @@ def create_load_balancer(cmd, load_balancer_name, resource_group_name, location=
return sdk_no_wait(no_wait, client.create_or_update, resource_group_name, deployment_name, properties)


def list_load_balancer_nic(cmd, resource_group_name, load_balancer_name):
client = network_client_factory(cmd.cli_ctx).load_balancer_network_interfaces
return client.list(resource_group_name, load_balancer_name)


def create_lb_inbound_nat_rule(
cmd, resource_group_name, load_balancer_name, item_name, protocol, frontend_port,
backend_port, frontend_ip_name=None, floating_ip=None, idle_timeout=None, enable_tcp_reset=None):
Expand Down
Loading