Skip to content

Commit a9aa979

Browse files
committed
Regenerate code from aaz
1 parent 8132123 commit a9aa979

File tree

7 files changed

+10
-417
lines changed

7 files changed

+10
-417
lines changed

src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_create.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
7979
# define Arg Group "Properties"
8080

8181
_args_schema = cls._args_schema
82-
_args_schema.bandwidth_in_gbps = AAZStrArg(
82+
_args_schema.bandwidth_in_gbps = AAZIntArg(
8383
options=["--bandwidth-in-gbps"],
8484
arg_group="Properties",
8585
help="Bandwidth of the VirtualNetworkAppliance resource in Gbps.",
@@ -690,7 +690,7 @@ def content(self):
690690

691691
properties = _builder.get(".properties")
692692
if properties is not None:
693-
properties.set_prop("bandwidthInGbps", AAZStrType, ".bandwidth_in_gbps")
693+
properties.set_prop("bandwidthInGbps", AAZIntType, ".bandwidth_in_gbps")
694694
properties.set_prop("subnet", AAZObjectType, ".subnet")
695695

696696
subnet = _builder.get(".properties.subnet")
@@ -972,7 +972,7 @@ def _build_schema_on_200_201(cls):
972972
)
973973

974974
properties = cls._schema_on_200_201.properties
975-
properties.bandwidth_in_gbps = AAZStrType(
975+
properties.bandwidth_in_gbps = AAZIntType(
976976
serialized_name="bandwidthInGbps",
977977
)
978978
properties.ip_configurations = AAZListType(

src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_list.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def _build_schema_on_200(cls):
172172
)
173173

174174
properties = cls._schema_on_200.value.Element.properties
175-
properties.bandwidth_in_gbps = AAZStrType(
175+
properties.bandwidth_in_gbps = AAZIntType(
176176
serialized_name="bandwidthInGbps",
177177
)
178178
properties.ip_configurations = AAZListType(
@@ -331,7 +331,7 @@ def _build_schema_on_200(cls):
331331
)
332332

333333
properties = cls._schema_on_200.value.Element.properties
334-
properties.bandwidth_in_gbps = AAZStrType(
334+
properties.bandwidth_in_gbps = AAZIntType(
335335
serialized_name="bandwidthInGbps",
336336
)
337337
properties.ip_configurations = AAZListType(

src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_show.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def _build_schema_on_200(cls):
173173
)
174174

175175
properties = cls._schema_on_200.properties
176-
properties.bandwidth_in_gbps = AAZStrType(
176+
properties.bandwidth_in_gbps = AAZIntType(
177177
serialized_name="bandwidthInGbps",
178178
)
179179
properties.ip_configurations = AAZListType(

src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_update.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
8383
# define Arg Group "Properties"
8484

8585
_args_schema = cls._args_schema
86-
_args_schema.bandwidth_in_gbps = AAZStrArg(
86+
_args_schema.bandwidth_in_gbps = AAZIntArg(
8787
options=["--bandwidth-in-gbps"],
8888
arg_group="Properties",
8989
help="Bandwidth of the VirtualNetworkAppliance resource in Gbps.",
@@ -936,7 +936,7 @@ def _update_instance(self, instance):
936936

937937
properties = _builder.get(".properties")
938938
if properties is not None:
939-
properties.set_prop("bandwidthInGbps", AAZStrType, ".bandwidth_in_gbps")
939+
properties.set_prop("bandwidthInGbps", AAZIntType, ".bandwidth_in_gbps")
940940
properties.set_prop("subnet", AAZObjectType, ".subnet")
941941

942942
subnet = _builder.get(".properties.subnet")
@@ -3405,7 +3405,7 @@ def _build_schema_virtual_network_appliance_read(cls, _schema):
34053405
)
34063406

34073407
properties = _schema_virtual_network_appliance_read.properties
3408-
properties.bandwidth_in_gbps = AAZStrType(
3408+
properties.bandwidth_in_gbps = AAZIntType(
34093409
serialized_name="bandwidthInGbps",
34103410
)
34113411
properties.ip_configurations = AAZListType(

src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_wait.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def _build_schema_on_200(cls):
169169
)
170170

171171
properties = cls._schema_on_200.properties
172-
properties.bandwidth_in_gbps = AAZStrType(
172+
properties.bandwidth_in_gbps = AAZIntType(
173173
serialized_name="bandwidthInGbps",
174174
)
175175
properties.ip_configurations = AAZListType(

src/azure-cli/azure/cli/command_modules/network/commands.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -779,15 +779,6 @@ def load_command_table(self, _):
779779
self.command_table["network virtual-appliance update"] = VirtualApplianceUpdate(loader=self)
780780
# endregion
781781

782-
# region VirtualNetworkAppliance
783-
from .operations.virtual_network_appliance import (VirtualNetworkApplianceCreate, VirtualNetworkApplianceList,
784-
VirtualNetworkApplianceShow, VirtualNetworkApplianceUpdate)
785-
self.command_table["network virtual-network-appliance create"] = VirtualNetworkApplianceCreate(loader=self)
786-
self.command_table["network virtual-network-appliance list"] = VirtualNetworkApplianceList(loader=self)
787-
self.command_table["network virtual-network-appliance show"] = VirtualNetworkApplianceShow(loader=self)
788-
self.command_table["network virtual-network-appliance update"] = VirtualNetworkApplianceUpdate(loader=self)
789-
# endregion
790-
791782
# region CustomIp
792783
from .custom import CustomIpPrefixCreate, CustomIpPrefixUpdate
793784
self.command_table["network custom-ip prefix create"] = CustomIpPrefixCreate(loader=self)

0 commit comments

Comments
 (0)