From 74578ab73590435fda21eaca9229c8b052121f15 Mon Sep 17 00:00:00 2001 From: Jian Hui Date: Tue, 21 Apr 2026 09:07:26 +0800 Subject: [PATCH 1/4] feat: Add disable peering route support for route tables --- .../network/aaz/latest/network/route_table/_create.py | 1 - .../network/aaz/latest/network/route_table/_update.py | 1 - .../network/tests/latest/test_network_commands.py | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/route_table/_create.py b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/route_table/_create.py index 4d429b142c3..3ef0f8531c7 100644 --- a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/route_table/_create.py +++ b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/route_table/_create.py @@ -80,7 +80,6 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["--disable-peering-route"], arg_group="Properties", help="Whether to disable the routes learned by peering on the route table. 'None' means peering routes are enabled, 'All' means all peering routes are disabled.", - is_preview=True, enum={"All": "All", "None": "None"}, ) return cls._args_schema diff --git a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/route_table/_update.py b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/route_table/_update.py index 8c01886195f..11edfe1ff16 100644 --- a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/route_table/_update.py +++ b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/route_table/_update.py @@ -81,7 +81,6 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["--disable-peering-route"], arg_group="Properties", help="Whether to disable the routes learned by peering on the route table. 'None' means peering routes are enabled, 'All' means all peering routes are disabled.", - is_preview=True, nullable=True, enum={"All": "All", "None": "None"}, ) diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py index ee8a9dcc6ee..61b31ee6c9c 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py @@ -5300,7 +5300,7 @@ def test_network_route_table_operation(self, resource_group): self.cmd('network route-table delete --resource-group {rg} --name {table}') self.cmd('network route-table list --resource-group {rg}', checks=self.is_empty()) - @ResourceGroupPreparer(name_prefix='cli_test_route_table_disable_peering', location='centraluseuap') + @ResourceGroupPreparer(name_prefix='cli_test_route_table_disable_peering') def test_network_route_table_disable_peering_route(self, resource_group): self.kwargs.update({ 'table': 'cli-test-rt-peering', From 4c419cb99146727ad8a7e5c630d5283bbe1a9e43 Mon Sep 17 00:00:00 2001 From: Jian Hui Date: Tue, 5 May 2026 10:50:23 +0800 Subject: [PATCH 2/4] feat: upgrade NVA api version --- .../virtual_network_appliance/_create.py | 1382 ++++++++-------- .../virtual_network_appliance/_delete.py | 6 +- .../virtual_network_appliance/_list.py | 1416 ++++++++-------- .../virtual_network_appliance/_show.py | 1244 +++++++------- .../virtual_network_appliance/_update.py | 1472 +++++++++-------- .../virtual_network_appliance/_wait.py | 1242 +++++++------- ..._appliance_private_ip_address_version.yaml | 477 ++++++ .../tests/latest/test_network_commands.py | 59 + 8 files changed, 3963 insertions(+), 3335 deletions(-) create mode 100644 src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance_private_ip_address_version.yaml diff --git a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_create.py b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_create.py index caa4b486057..fa40c635d97 100644 --- a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_create.py +++ b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_create.py @@ -22,9 +22,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2025-05-01", + "version": "2025-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkappliances/{}", "2025-05-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkappliances/{}", "2025-07-01"], ] } @@ -79,11 +79,17 @@ def _build_arguments_schema(cls, *args, **kwargs): # define Arg Group "Properties" _args_schema = cls._args_schema - _args_schema.bandwidth_in_gbps = AAZIntArg( - options=["--bandwidth-in-gbps"], + _args_schema.bandwidth_in_gbps = AAZFloatArg( + options=["--bandwidth-gbps", "--bandwidth-in-gbps"], arg_group="Properties", help="Bandwidth of the VirtualNetworkAppliance resource in Gbps.", ) + _args_schema.private_ip_address_version = AAZStrArg( + options=["--private-ip-version", "--private-ip-address-version"], + arg_group="Properties", + help="Whether the specific virtual network appliance is IPv4 or Dual Stack. Default is IPv4.", + enum={"DualStack": "DualStack", "IPv4": "IPv4"}, + ) _args_schema.subnet = AAZObjectArg( options=["--subnet"], arg_group="Properties", @@ -134,7 +140,7 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["nat-gateway"], help="Nat gateway associated with this subnet.", ) - cls._build_args_sub_resource_create(subnet.nat_gateway) + cls._build_args_common_sub_resource_create(subnet.nat_gateway) subnet.network_security_group = AAZObjectArg( options=["network-security-group"], help="The reference to the NetworkSecurityGroup resource.", @@ -167,16 +173,12 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["service-gateway"], help="Reference to an existing service gateway.", ) - cls._build_args_sub_resource_create(subnet.service_gateway) + cls._build_args_common_sub_resource_create(subnet.service_gateway) subnet.sharing_scope = AAZStrArg( options=["sharing-scope"], help="Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.", enum={"DelegatedServices": "DelegatedServices", "Tenant": "Tenant"}, ) - subnet.type = AAZStrArg( - options=["type"], - help="Resource type.", - ) address_prefixes = cls._args_schema.subnet.address_prefixes address_prefixes.Element = AAZStrArg() @@ -197,7 +199,7 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["subnet"], help="Reference to the subnet resource. A subnet from where application gateway gets its private address.", ) - cls._build_args_sub_resource_create(_element.subnet) + cls._build_args_common_sub_resource_create(_element.subnet) delegations = cls._args_schema.subnet.delegations delegations.Element = AAZObjectArg() @@ -222,7 +224,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ip_allocations = cls._args_schema.subnet.ip_allocations ip_allocations.Element = AAZObjectArg() - cls._build_args_sub_resource_create(ip_allocations.Element) + cls._build_args_common_sub_resource_create(ip_allocations.Element) ipam_pool_prefix_allocations = cls._args_schema.subnet.ipam_pool_prefix_allocations ipam_pool_prefix_allocations.Element = AAZObjectArg() @@ -340,17 +342,13 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["source-port-ranges"], help="The source port ranges.", ) - _element.type = AAZStrArg( - options=["type"], - help="The type of the resource.", - ) destination_address_prefixes = cls._args_schema.subnet.network_security_group.security_rules.Element.destination_address_prefixes destination_address_prefixes.Element = AAZStrArg() destination_application_security_groups = cls._args_schema.subnet.network_security_group.security_rules.Element.destination_application_security_groups destination_application_security_groups.Element = AAZObjectArg() - cls._build_args_application_security_group_create(destination_application_security_groups.Element) + cls._build_args_common_application_security_group_create(destination_application_security_groups.Element) destination_port_ranges = cls._args_schema.subnet.network_security_group.security_rules.Element.destination_port_ranges destination_port_ranges.Element = AAZStrArg() @@ -360,7 +358,7 @@ def _build_arguments_schema(cls, *args, **kwargs): source_application_security_groups = cls._args_schema.subnet.network_security_group.security_rules.Element.source_application_security_groups source_application_security_groups.Element = AAZObjectArg() - cls._build_args_application_security_group_create(source_application_security_groups.Element) + cls._build_args_common_application_security_group_create(source_application_security_groups.Element) source_port_ranges = cls._args_schema.subnet.network_security_group.security_rules.Element.source_port_ranges source_port_ranges.Element = AAZStrArg() @@ -387,6 +385,11 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["disable-bgp-route-propagation"], help="Whether to disable the routes learned by BGP on that route table. True means disable.", ) + route_table.disable_peering_route = AAZStrArg( + options=["disable-peering-route"], + help="Whether to disable the routes learned by peering on the route table. 'None' means peering routes are enabled, 'All' means all peering routes are disabled.", + enum={"All": "All", "None": "None"}, + ) route_table.routes = AAZListArg( options=["routes"], help="Collection of routes contained within a route table.", @@ -415,6 +418,10 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["address-prefix"], help="The destination CIDR to which the route applies.", ) + _element.next_hop = AAZObjectArg( + options=["next-hop"], + help="The next hop definition containing ECMP next hop IP addresses. Only allowed when nextHopType is VirtualApplianceEcmp.", + ) _element.next_hop_ip_address = AAZStrArg( options=["next-hop-ip-address"], help="The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.", @@ -422,13 +429,23 @@ def _build_arguments_schema(cls, *args, **kwargs): _element.next_hop_type = AAZStrArg( options=["next-hop-type"], help="The type of Azure hop the packet should be sent to.", - enum={"Internet": "Internet", "None": "None", "VirtualAppliance": "VirtualAppliance", "VirtualNetworkGateway": "VirtualNetworkGateway", "VnetLocal": "VnetLocal"}, + enum={"Internet": "Internet", "None": "None", "VirtualAppliance": "VirtualAppliance", "VirtualApplianceEcmp": "VirtualApplianceEcmp", "VirtualNetworkGateway": "VirtualNetworkGateway", "VnetLocal": "VnetLocal"}, ) - _element.type = AAZStrArg( - options=["type"], - help="The type of the resource.", + + next_hop = cls._args_schema.subnet.route_table.routes.Element.next_hop + next_hop.next_hop_ip_addresses = AAZListArg( + options=["next-hop-ip-addresses"], + help="List of next hop IP addresses for ECMP routing. Must contain between 2 and 64 IP addresses.", + required=True, + fmt=AAZListArgFormat( + max_length=64, + min_length=2, + ), ) + next_hop_ip_addresses = cls._args_schema.subnet.route_table.routes.Element.next_hop.next_hop_ip_addresses + next_hop_ip_addresses.Element = AAZStrArg() + tags = cls._args_schema.subnet.route_table.tags tags.Element = AAZStrArg() @@ -497,10 +514,6 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["service-resources"], help="A list of service resources.", ) - _element.type = AAZStrArg( - options=["type"], - help="The type of the resource.", - ) service_resources = cls._args_schema.subnet.service_endpoint_policies.Element.service_endpoint_policy_definitions.Element.service_resources service_resources.Element = AAZStrArg() @@ -520,7 +533,7 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["network-identifier"], help="SubResource as network identifier.", ) - cls._build_args_sub_resource_create(_element.network_identifier) + cls._build_args_common_sub_resource_create(_element.network_identifier) _element.service = AAZStrArg( options=["service"], help="The type of the endpoint service.", @@ -530,53 +543,53 @@ def _build_arguments_schema(cls, *args, **kwargs): locations.Element = AAZStrArg() return cls._args_schema - _args_application_security_group_create = None + _args_common_application_security_group_create = None @classmethod - def _build_args_application_security_group_create(cls, _schema): - if cls._args_application_security_group_create is not None: - _schema.location = cls._args_application_security_group_create.location - _schema.tags = cls._args_application_security_group_create.tags + def _build_args_common_application_security_group_create(cls, _schema): + if cls._args_common_application_security_group_create is not None: + _schema.location = cls._args_common_application_security_group_create.location + _schema.tags = cls._args_common_application_security_group_create.tags return - cls._args_application_security_group_create = AAZObjectArg() + cls._args_common_application_security_group_create = AAZObjectArg() - application_security_group_create = cls._args_application_security_group_create - application_security_group_create.location = AAZResourceLocationArg( + common_application_security_group_create = cls._args_common_application_security_group_create + common_application_security_group_create.location = AAZResourceLocationArg( options=["l", "location"], help="Resource location.", fmt=AAZResourceLocationArgFormat( resource_group_arg="resource_group", ), ) - application_security_group_create.tags = AAZDictArg( + common_application_security_group_create.tags = AAZDictArg( options=["tags"], help="Resource tags.", ) - tags = cls._args_application_security_group_create.tags + tags = cls._args_common_application_security_group_create.tags tags.Element = AAZStrArg() - _schema.location = cls._args_application_security_group_create.location - _schema.tags = cls._args_application_security_group_create.tags + _schema.location = cls._args_common_application_security_group_create.location + _schema.tags = cls._args_common_application_security_group_create.tags - _args_sub_resource_create = None + _args_common_sub_resource_create = None @classmethod - def _build_args_sub_resource_create(cls, _schema): - if cls._args_sub_resource_create is not None: - _schema.id = cls._args_sub_resource_create.id + def _build_args_common_sub_resource_create(cls, _schema): + if cls._args_common_sub_resource_create is not None: + _schema.id = cls._args_common_sub_resource_create.id return - cls._args_sub_resource_create = AAZObjectArg() + cls._args_common_sub_resource_create = AAZObjectArg() - sub_resource_create = cls._args_sub_resource_create - sub_resource_create.id = AAZStrArg( + common_sub_resource_create = cls._args_common_sub_resource_create + common_sub_resource_create.id = AAZStrArg( options=["id"], help="Resource ID.", ) - _schema.id = cls._args_sub_resource_create.id + _schema.id = cls._args_common_sub_resource_create.id def _execute_operations(self): self.pre_operations() @@ -659,7 +672,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2025-05-01", + "api-version", "2025-07-01", required=True, ), } @@ -690,7 +703,8 @@ def content(self): properties = _builder.get(".properties") if properties is not None: - properties.set_prop("bandwidthInGbps", AAZIntType, ".bandwidth_in_gbps") + properties.set_prop("bandwidthInGbps", AAZFloatType, ".bandwidth_in_gbps") + properties.set_prop("privateIPAddressVersion", AAZStrType, ".private_ip_address_version") properties.set_prop("subnet", AAZObjectType, ".subnet") subnet = _builder.get(".properties.subnet") @@ -698,7 +712,6 @@ def content(self): subnet.set_prop("id", AAZStrType, ".id") subnet.set_prop("name", AAZStrType, ".name") subnet.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) - subnet.set_prop("type", AAZStrType, ".type") properties = _builder.get(".properties.subnet.properties") if properties is not None: @@ -709,14 +722,14 @@ def content(self): properties.set_prop("delegations", AAZListType, ".delegations") properties.set_prop("ipAllocations", AAZListType, ".ip_allocations") properties.set_prop("ipamPoolPrefixAllocations", AAZListType, ".ipam_pool_prefix_allocations") - _CreateHelper._build_schema_sub_resource_create(properties.set_prop("natGateway", AAZObjectType, ".nat_gateway")) + _CreateHelper._build_schema_common_sub_resource_create(properties.set_prop("natGateway", AAZObjectType, ".nat_gateway")) properties.set_prop("networkSecurityGroup", AAZObjectType, ".network_security_group") properties.set_prop("privateEndpointNetworkPolicies", AAZStrType, ".private_endpoint_network_policies") properties.set_prop("privateLinkServiceNetworkPolicies", AAZStrType, ".private_link_service_network_policies") properties.set_prop("routeTable", AAZObjectType, ".route_table") properties.set_prop("serviceEndpointPolicies", AAZListType, ".service_endpoint_policies") properties.set_prop("serviceEndpoints", AAZListType, ".service_endpoints") - _CreateHelper._build_schema_sub_resource_create(properties.set_prop("serviceGateway", AAZObjectType, ".service_gateway")) + _CreateHelper._build_schema_common_sub_resource_create(properties.set_prop("serviceGateway", AAZObjectType, ".service_gateway")) properties.set_prop("sharingScope", AAZStrType, ".sharing_scope") address_prefixes = _builder.get(".properties.subnet.properties.addressPrefixes") @@ -735,7 +748,7 @@ def content(self): properties = _builder.get(".properties.subnet.properties.applicationGatewayIPConfigurations[].properties") if properties is not None: - _CreateHelper._build_schema_sub_resource_create(properties.set_prop("subnet", AAZObjectType, ".subnet")) + _CreateHelper._build_schema_common_sub_resource_create(properties.set_prop("subnet", AAZObjectType, ".subnet")) delegations = _builder.get(".properties.subnet.properties.delegations") if delegations is not None: @@ -754,7 +767,7 @@ def content(self): ip_allocations = _builder.get(".properties.subnet.properties.ipAllocations") if ip_allocations is not None: - _CreateHelper._build_schema_sub_resource_create(ip_allocations.set_elements(AAZObjectType, ".")) + _CreateHelper._build_schema_common_sub_resource_create(ip_allocations.set_elements(AAZObjectType, ".")) ipam_pool_prefix_allocations = _builder.get(".properties.subnet.properties.ipamPoolPrefixAllocations") if ipam_pool_prefix_allocations is not None: @@ -790,7 +803,6 @@ def content(self): _elements.set_prop("id", AAZStrType, ".id") _elements.set_prop("name", AAZStrType, ".name") _elements.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) - _elements.set_prop("type", AAZStrType, ".type") properties = _builder.get(".properties.subnet.properties.networkSecurityGroup.properties.securityRules[].properties") if properties is not None: @@ -816,7 +828,7 @@ def content(self): destination_application_security_groups = _builder.get(".properties.subnet.properties.networkSecurityGroup.properties.securityRules[].properties.destinationApplicationSecurityGroups") if destination_application_security_groups is not None: - _CreateHelper._build_schema_application_security_group_create(destination_application_security_groups.set_elements(AAZObjectType, ".")) + _CreateHelper._build_schema_common_application_security_group_create(destination_application_security_groups.set_elements(AAZObjectType, ".")) destination_port_ranges = _builder.get(".properties.subnet.properties.networkSecurityGroup.properties.securityRules[].properties.destinationPortRanges") if destination_port_ranges is not None: @@ -828,7 +840,7 @@ def content(self): source_application_security_groups = _builder.get(".properties.subnet.properties.networkSecurityGroup.properties.securityRules[].properties.sourceApplicationSecurityGroups") if source_application_security_groups is not None: - _CreateHelper._build_schema_application_security_group_create(source_application_security_groups.set_elements(AAZObjectType, ".")) + _CreateHelper._build_schema_common_application_security_group_create(source_application_security_groups.set_elements(AAZObjectType, ".")) source_port_ranges = _builder.get(".properties.subnet.properties.networkSecurityGroup.properties.securityRules[].properties.sourcePortRanges") if source_port_ranges is not None: @@ -848,6 +860,7 @@ def content(self): properties = _builder.get(".properties.subnet.properties.routeTable.properties") if properties is not None: properties.set_prop("disableBgpRoutePropagation", AAZBoolType, ".disable_bgp_route_propagation") + properties.set_prop("disablePeeringRoute", AAZStrType, ".disable_peering_route") properties.set_prop("routes", AAZListType, ".routes") routes = _builder.get(".properties.subnet.properties.routeTable.properties.routes") @@ -859,14 +872,22 @@ def content(self): _elements.set_prop("id", AAZStrType, ".id") _elements.set_prop("name", AAZStrType, ".name") _elements.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) - _elements.set_prop("type", AAZStrType, ".type") properties = _builder.get(".properties.subnet.properties.routeTable.properties.routes[].properties") if properties is not None: properties.set_prop("addressPrefix", AAZStrType, ".address_prefix") + properties.set_prop("nextHop", AAZObjectType, ".next_hop") properties.set_prop("nextHopIpAddress", AAZStrType, ".next_hop_ip_address") properties.set_prop("nextHopType", AAZStrType, ".next_hop_type", typ_kwargs={"flags": {"required": True}}) + next_hop = _builder.get(".properties.subnet.properties.routeTable.properties.routes[].properties.nextHop") + if next_hop is not None: + next_hop.set_prop("nextHopIpAddresses", AAZListType, ".next_hop_ip_addresses", typ_kwargs={"flags": {"required": True}}) + + next_hop_ip_addresses = _builder.get(".properties.subnet.properties.routeTable.properties.routes[].properties.nextHop.nextHopIpAddresses") + if next_hop_ip_addresses is not None: + next_hop_ip_addresses.set_elements(AAZStrType, ".") + tags = _builder.get(".properties.subnet.properties.routeTable.tags") if tags is not None: tags.set_elements(AAZStrType, ".") @@ -901,7 +922,6 @@ def content(self): _elements.set_prop("id", AAZStrType, ".id") _elements.set_prop("name", AAZStrType, ".name") _elements.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) - _elements.set_prop("type", AAZStrType, ".type") properties = _builder.get(".properties.subnet.properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].properties") if properties is not None: @@ -924,7 +944,7 @@ def content(self): _elements = _builder.get(".properties.subnet.properties.serviceEndpoints[]") if _elements is not None: _elements.set_prop("locations", AAZListType, ".locations") - _CreateHelper._build_schema_sub_resource_create(_elements.set_prop("networkIdentifier", AAZObjectType, ".network_identifier")) + _CreateHelper._build_schema_common_sub_resource_create(_elements.set_prop("networkIdentifier", AAZObjectType, ".network_identifier")) _elements.set_prop("service", AAZStrType, ".service") locations = _builder.get(".properties.subnet.properties.serviceEndpoints[].locations") @@ -972,13 +992,16 @@ def _build_schema_on_200_201(cls): ) properties = cls._schema_on_200_201.properties - properties.bandwidth_in_gbps = AAZIntType( + properties.bandwidth_in_gbps = AAZFloatType( serialized_name="bandwidthInGbps", ) properties.ip_configurations = AAZListType( serialized_name="ipConfigurations", flags={"read_only": True}, ) + properties.private_ip_address_version = AAZStrType( + serialized_name="privateIPAddressVersion", + ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -988,7 +1011,7 @@ def _build_schema_on_200_201(cls): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - _CreateHelper._build_schema_subnet_read(properties.subnet) + _CreateHelper._build_schema_common_subnet_read(properties.subnet) ip_configurations = cls._schema_on_200_201.properties.ip_configurations ip_configurations.Element = AAZObjectType() @@ -1032,7 +1055,7 @@ class _CreateHelper: """Helper class for Create""" @classmethod - def _build_schema_application_security_group_create(cls, _builder): + def _build_schema_common_application_security_group_create(cls, _builder): if _builder is None: return _builder.set_prop("location", AAZStrType, ".location") @@ -1043,45 +1066,45 @@ def _build_schema_application_security_group_create(cls, _builder): tags.set_elements(AAZStrType, ".") @classmethod - def _build_schema_sub_resource_create(cls, _builder): + def _build_schema_common_sub_resource_create(cls, _builder): if _builder is None: return _builder.set_prop("id", AAZStrType, ".id") - _schema_application_security_group_read = None + _schema_common_application_security_group_read = None @classmethod - def _build_schema_application_security_group_read(cls, _schema): - if cls._schema_application_security_group_read is not None: - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + def _build_schema_common_application_security_group_read(cls, _schema): + if cls._schema_common_application_security_group_read is not None: + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type return - cls._schema_application_security_group_read = _schema_application_security_group_read = AAZObjectType() + cls._schema_common_application_security_group_read = _schema_common_application_security_group_read = AAZObjectType() - application_security_group_read = _schema_application_security_group_read - application_security_group_read.etag = AAZStrType( + common_application_security_group_read = _schema_common_application_security_group_read + common_application_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.id = AAZStrType() - application_security_group_read.location = AAZStrType() - application_security_group_read.name = AAZStrType( + common_application_security_group_read.id = AAZStrType() + common_application_security_group_read.location = AAZStrType() + common_application_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.properties = AAZObjectType( + common_application_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - application_security_group_read.tags = AAZDictType() - application_security_group_read.type = AAZStrType( + common_application_security_group_read.tags = AAZDictType() + common_application_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_application_security_group_read.properties + properties = _schema_common_application_security_group_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -1091,69 +1114,72 @@ def _build_schema_application_security_group_read(cls, _schema): flags={"read_only": True}, ) - tags = _schema_application_security_group_read.tags + tags = _schema_common_application_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type - _schema_extended_location_read = None + _schema_common_extended_location_read = None @classmethod - def _build_schema_extended_location_read(cls, _schema): - if cls._schema_extended_location_read is not None: - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + def _build_schema_common_extended_location_read(cls, _schema): + if cls._schema_common_extended_location_read is not None: + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type return - cls._schema_extended_location_read = _schema_extended_location_read = AAZObjectType() + cls._schema_common_extended_location_read = _schema_common_extended_location_read = AAZObjectType() - extended_location_read = _schema_extended_location_read - extended_location_read.name = AAZStrType() - extended_location_read.type = AAZStrType() + common_extended_location_read = _schema_common_extended_location_read + common_extended_location_read.name = AAZStrType() + common_extended_location_read.type = AAZStrType() - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type - _schema_frontend_ip_configuration_read = None + _schema_common_frontend_ip_configuration_read = None @classmethod - def _build_schema_frontend_ip_configuration_read(cls, _schema): - if cls._schema_frontend_ip_configuration_read is not None: - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + def _build_schema_common_frontend_ip_configuration_read(cls, _schema): + if cls._schema_common_frontend_ip_configuration_read is not None: + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones return - cls._schema_frontend_ip_configuration_read = _schema_frontend_ip_configuration_read = AAZObjectType() + cls._schema_common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read = AAZObjectType() - frontend_ip_configuration_read = _schema_frontend_ip_configuration_read - frontend_ip_configuration_read.etag = AAZStrType( + common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read + common_frontend_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.id = AAZStrType() - frontend_ip_configuration_read.name = AAZStrType() - frontend_ip_configuration_read.properties = AAZObjectType( + common_frontend_ip_configuration_read.id = AAZStrType() + common_frontend_ip_configuration_read.name = AAZStrType() + common_frontend_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - frontend_ip_configuration_read.type = AAZStrType( + common_frontend_ip_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.zones = AAZListType() + common_frontend_ip_configuration_read.zones = AAZListType() - properties = _schema_frontend_ip_configuration_read.properties + properties = _schema_common_frontend_ip_configuration_read.properties + properties.ddos_settings = AAZObjectType( + serialized_name="ddosSettings", + ) properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.inbound_nat_pools = AAZListType( serialized_name="inboundNatPools", flags={"read_only": True}, @@ -1186,66 +1212,72 @@ def _build_schema_frontend_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - inbound_nat_pools = _schema_frontend_ip_configuration_read.properties.inbound_nat_pools + ddos_settings = _schema_common_frontend_ip_configuration_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) + + inbound_nat_pools = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_pools inbound_nat_pools.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_pools.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_pools.Element) - inbound_nat_rules = _schema_frontend_ip_configuration_read.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancing_rules = _schema_frontend_ip_configuration_read.properties.load_balancing_rules + load_balancing_rules = _schema_common_frontend_ip_configuration_read.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_frontend_ip_configuration_read.properties.outbound_rules + outbound_rules = _schema_common_frontend_ip_configuration_read.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - zones = _schema_frontend_ip_configuration_read.zones + zones = _schema_common_frontend_ip_configuration_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones - _schema_ip_configuration_read = None + _schema_common_ip_configuration_read = None @classmethod - def _build_schema_ip_configuration_read(cls, _schema): - if cls._schema_ip_configuration_read is not None: - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + def _build_schema_common_ip_configuration_read(cls, _schema): + if cls._schema_common_ip_configuration_read is not None: + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties return - cls._schema_ip_configuration_read = _schema_ip_configuration_read = AAZObjectType( + cls._schema_common_ip_configuration_read = _schema_common_ip_configuration_read = AAZObjectType( flags={"read_only": True} ) - ip_configuration_read = _schema_ip_configuration_read - ip_configuration_read.etag = AAZStrType( + common_ip_configuration_read = _schema_common_ip_configuration_read + common_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - ip_configuration_read.id = AAZStrType() - ip_configuration_read.name = AAZStrType() - ip_configuration_read.properties = AAZObjectType( + common_ip_configuration_read.id = AAZStrType() + common_ip_configuration_read.name = AAZStrType() + common_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_ip_configuration_read.properties + properties = _schema_common_ip_configuration_read.properties properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", ) @@ -1259,41 +1291,43 @@ def _build_schema_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties - _schema_network_interface_ip_configuration_read = None + _schema_common_network_interface_ip_configuration_read = None @classmethod - def _build_schema_network_interface_ip_configuration_read(cls, _schema): - if cls._schema_network_interface_ip_configuration_read is not None: - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + def _build_schema_common_network_interface_ip_configuration_read(cls, _schema): + if cls._schema_common_network_interface_ip_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type return - cls._schema_network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read = AAZObjectType() + cls._schema_common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read = AAZObjectType() - network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read - network_interface_ip_configuration_read.etag = AAZStrType( + common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read + common_network_interface_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_ip_configuration_read.id = AAZStrType() - network_interface_ip_configuration_read.name = AAZStrType() - network_interface_ip_configuration_read.properties = AAZObjectType( + common_network_interface_ip_configuration_read.id = AAZStrType() + common_network_interface_ip_configuration_read.name = AAZStrType() + common_network_interface_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_ip_configuration_read.type = AAZStrType() + common_network_interface_ip_configuration_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_network_interface_ip_configuration_read.properties + properties = _schema_common_network_interface_ip_configuration_read.properties properties.application_gateway_backend_address_pools = AAZListType( serialized_name="applicationGatewayBackendAddressPools", ) @@ -1303,7 +1337,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.load_balancer_backend_address_pools = AAZListType( serialized_name="loadBalancerBackendAddressPools", ) @@ -1335,17 +1369,17 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) properties.virtual_network_taps = AAZListType( serialized_name="virtualNetworkTaps", ) - application_gateway_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools + application_gateway_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools application_gateway_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1358,7 +1392,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties properties.backend_addresses = AAZListType( serialized_name="backendAddresses", ) @@ -1371,27 +1405,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - backend_addresses = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses + backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element _element.fqdn = AAZStrType() _element.ip_address = AAZStrType( serialized_name="ipAddress", ) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - application_security_groups = _schema_network_interface_ip_configuration_read.properties.application_security_groups + application_security_groups = _schema_common_network_interface_ip_configuration_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - load_balancer_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools + load_balancer_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools load_balancer_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1404,7 +1438,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties properties.backend_ip_configurations = AAZListType( serialized_name="backendIPConfigurations", flags={"read_only": True}, @@ -1428,7 +1462,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="outboundRule", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.outbound_rule) + cls._build_schema_common_sub_resource_read(properties.outbound_rule) properties.outbound_rules = AAZListType( serialized_name="outboundRules", flags={"read_only": True}, @@ -1446,26 +1480,26 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancer_backend_addresses = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses + load_balancer_backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses load_balancer_backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element _element.name = AAZStrType() _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties properties.admin_state = AAZStrType( serialized_name="adminState", ) @@ -1479,23 +1513,23 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.load_balancer_frontend_ip_configuration = AAZObjectType( serialized_name="loadBalancerFrontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.load_balancer_frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.load_balancer_frontend_ip_configuration) properties.network_interface_ip_configuration = AAZObjectType( serialized_name="networkInterfaceIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.network_interface_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.network_interface_ip_configuration) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - inbound_nat_rules_port_mapping = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping + inbound_nat_rules_port_mapping = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping inbound_nat_rules_port_mapping.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element _element.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -1506,27 +1540,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="inboundNatRuleName", ) - load_balancing_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules + load_balancing_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules + outbound_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - tunnel_interfaces = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces + tunnel_interfaces = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces tunnel_interfaces.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element _element.identifier = AAZIntType() _element.port = AAZIntType() _element.protocol = AAZStrType() _element.type = AAZStrType() - load_balancer_inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules + load_balancer_inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules load_balancer_inbound_nat_rules.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1539,16 +1573,16 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties properties.backend_address_pool = AAZObjectType( serialized_name="backendAddressPool", ) - cls._build_schema_sub_resource_read(properties.backend_address_pool) + cls._build_schema_common_sub_resource_read(properties.backend_address_pool) properties.backend_ip_configuration = AAZObjectType( serialized_name="backendIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_network_interface_ip_configuration_read(properties.backend_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.backend_ip_configuration) properties.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -1561,7 +1595,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.frontend_ip_configuration = AAZObjectType( serialized_name="frontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.frontend_ip_configuration) properties.frontend_port = AAZIntType( serialized_name="frontendPort", ) @@ -1580,7 +1614,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - private_link_connection_properties = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties + private_link_connection_properties = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties private_link_connection_properties.fqdns = AAZListType( flags={"read_only": True}, ) @@ -1593,47 +1627,47 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - fqdns = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns + fqdns = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns fqdns.Element = AAZStrType() - virtual_network_taps = _schema_network_interface_ip_configuration_read.properties.virtual_network_taps + virtual_network_taps = _schema_common_network_interface_ip_configuration_read.properties.virtual_network_taps virtual_network_taps.Element = AAZObjectType() - cls._build_schema_virtual_network_tap_read(virtual_network_taps.Element) + cls._build_schema_common_virtual_network_tap_read(virtual_network_taps.Element) - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type - _schema_network_interface_tap_configuration_read = None + _schema_common_network_interface_tap_configuration_read = None @classmethod - def _build_schema_network_interface_tap_configuration_read(cls, _schema): - if cls._schema_network_interface_tap_configuration_read is not None: - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + def _build_schema_common_network_interface_tap_configuration_read(cls, _schema): + if cls._schema_common_network_interface_tap_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type return - cls._schema_network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read = AAZObjectType() + cls._schema_common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read = AAZObjectType() - network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read - network_interface_tap_configuration_read.etag = AAZStrType( + common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read + common_network_interface_tap_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_tap_configuration_read.id = AAZStrType() - network_interface_tap_configuration_read.name = AAZStrType() - network_interface_tap_configuration_read.properties = AAZObjectType( + common_network_interface_tap_configuration_read.id = AAZStrType() + common_network_interface_tap_configuration_read.name = AAZStrType() + common_network_interface_tap_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_tap_configuration_read.type = AAZStrType( + common_network_interface_tap_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_tap_configuration_read.properties + properties = _schema_common_network_interface_tap_configuration_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -1641,53 +1675,53 @@ def _build_schema_network_interface_tap_configuration_read(cls, _schema): properties.virtual_network_tap = AAZObjectType( serialized_name="virtualNetworkTap", ) - cls._build_schema_virtual_network_tap_read(properties.virtual_network_tap) + cls._build_schema_common_virtual_network_tap_read(properties.virtual_network_tap) - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type - _schema_network_interface_read = None + _schema_common_network_interface_read = None @classmethod - def _build_schema_network_interface_read(cls, _schema): - if cls._schema_network_interface_read is not None: - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + def _build_schema_common_network_interface_read(cls, _schema): + if cls._schema_common_network_interface_read is not None: + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type return - cls._schema_network_interface_read = _schema_network_interface_read = AAZObjectType() + cls._schema_common_network_interface_read = _schema_common_network_interface_read = AAZObjectType() - network_interface_read = _schema_network_interface_read - network_interface_read.etag = AAZStrType( + common_network_interface_read = _schema_common_network_interface_read + common_network_interface_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_read.extended_location = AAZObjectType( + common_network_interface_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(network_interface_read.extended_location) - network_interface_read.id = AAZStrType() - network_interface_read.location = AAZStrType() - network_interface_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_network_interface_read.extended_location) + common_network_interface_read.id = AAZStrType() + common_network_interface_read.location = AAZStrType() + common_network_interface_read.name = AAZStrType( flags={"read_only": True}, ) - network_interface_read.properties = AAZObjectType( + common_network_interface_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_read.tags = AAZDictType() - network_interface_read.type = AAZStrType( + common_network_interface_read.tags = AAZDictType() + common_network_interface_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties + properties = _schema_common_network_interface_read.properties properties.auxiliary_mode = AAZStrType( serialized_name="auxiliaryMode", ) @@ -1708,7 +1742,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="dscpConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.dscp_configuration) + cls._build_schema_common_sub_resource_read(properties.dscp_configuration) properties.enable_accelerated_networking = AAZBoolType( serialized_name="enableAcceleratedNetworking", ) @@ -1732,7 +1766,7 @@ def _build_schema_network_interface_read(cls, _schema): properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.nic_type = AAZStrType( serialized_name="nicType", ) @@ -1743,7 +1777,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_link_service = AAZObjectType( serialized_name="privateLinkService", ) @@ -1763,7 +1797,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="virtualMachine", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.virtual_machine) + cls._build_schema_common_sub_resource_read(properties.virtual_machine) properties.vnet_encryption_supported = AAZBoolType( serialized_name="vnetEncryptionSupported", flags={"read_only": True}, @@ -1772,7 +1806,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="workloadType", ) - dns_settings = _schema_network_interface_read.properties.dns_settings + dns_settings = _schema_common_network_interface_read.properties.dns_settings dns_settings.applied_dns_servers = AAZListType( serialized_name="appliedDnsServers", flags={"read_only": True}, @@ -1792,27 +1826,27 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - applied_dns_servers = _schema_network_interface_read.properties.dns_settings.applied_dns_servers + applied_dns_servers = _schema_common_network_interface_read.properties.dns_settings.applied_dns_servers applied_dns_servers.Element = AAZStrType() - dns_servers = _schema_network_interface_read.properties.dns_settings.dns_servers + dns_servers = _schema_common_network_interface_read.properties.dns_settings.dns_servers dns_servers.Element = AAZStrType() - hosted_workloads = _schema_network_interface_read.properties.hosted_workloads + hosted_workloads = _schema_common_network_interface_read.properties.hosted_workloads hosted_workloads.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(ip_configurations.Element) - private_link_service = _schema_network_interface_read.properties.private_link_service + private_link_service = _schema_common_network_interface_read.properties.private_link_service private_link_service.etag = AAZStrType( flags={"read_only": True}, ) private_link_service.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_link_service.extended_location) + cls._build_schema_common_extended_location_read(private_link_service.extended_location) private_link_service.id = AAZStrType() private_link_service.location = AAZStrType() private_link_service.name = AAZStrType( @@ -1826,7 +1860,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties properties.access_mode = AAZStrType( serialized_name="accessMode", ) @@ -1863,19 +1897,19 @@ def _build_schema_network_interface_read(cls, _schema): ) properties.visibility = AAZObjectType() - auto_approval = _schema_network_interface_read.properties.private_link_service.properties.auto_approval + auto_approval = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval auto_approval.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions subscriptions.Element = AAZStrType() - fqdns = _schema_network_interface_read.properties.private_link_service.properties.fqdns + fqdns = _schema_common_network_interface_read.properties.private_link_service.properties.fqdns fqdns.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1888,7 +1922,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties properties.primary = AAZBoolType() properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", @@ -1904,20 +1938,20 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - load_balancer_frontend_ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations + load_balancer_frontend_ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations load_balancer_frontend_ip_configurations.Element = AAZObjectType() - cls._build_schema_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) + cls._build_schema_common_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) - network_interfaces = _schema_network_interface_read.properties.private_link_service.properties.network_interfaces + network_interfaces = _schema_common_network_interface_read.properties.private_link_service.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_endpoint_connections = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections + private_endpoint_connections = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1930,7 +1964,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties properties.link_identifier = AAZStrType( serialized_name="linkIdentifier", flags={"read_only": True}, @@ -1939,7 +1973,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_endpoint_location = AAZStrType( serialized_name="privateEndpointLocation", flags={"read_only": True}, @@ -1947,71 +1981,71 @@ def _build_schema_network_interface_read(cls, _schema): properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) - visibility = _schema_network_interface_read.properties.private_link_service.properties.visibility + visibility = _schema_common_network_interface_read.properties.private_link_service.properties.visibility visibility.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.visibility.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.visibility.subscriptions subscriptions.Element = AAZStrType() - tags = _schema_network_interface_read.properties.private_link_service.tags + tags = _schema_common_network_interface_read.properties.private_link_service.tags tags.Element = AAZStrType() - tap_configurations = _schema_network_interface_read.properties.tap_configurations + tap_configurations = _schema_common_network_interface_read.properties.tap_configurations tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(tap_configurations.Element) - tags = _schema_network_interface_read.tags + tags = _schema_common_network_interface_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type - _schema_network_security_group_read = None + _schema_common_network_security_group_read = None @classmethod - def _build_schema_network_security_group_read(cls, _schema): - if cls._schema_network_security_group_read is not None: - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + def _build_schema_common_network_security_group_read(cls, _schema): + if cls._schema_common_network_security_group_read is not None: + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type return - cls._schema_network_security_group_read = _schema_network_security_group_read = AAZObjectType() + cls._schema_common_network_security_group_read = _schema_common_network_security_group_read = AAZObjectType() - network_security_group_read = _schema_network_security_group_read - network_security_group_read.etag = AAZStrType( + common_network_security_group_read = _schema_common_network_security_group_read + common_network_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.id = AAZStrType() - network_security_group_read.location = AAZStrType() - network_security_group_read.name = AAZStrType( + common_network_security_group_read.id = AAZStrType() + common_network_security_group_read.location = AAZStrType() + common_network_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.properties = AAZObjectType( + common_network_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_security_group_read.tags = AAZDictType() - network_security_group_read.type = AAZStrType( + common_network_security_group_read.tags = AAZDictType() + common_network_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties + properties = _schema_common_network_security_group_read.properties properties.default_security_rules = AAZListType( serialized_name="defaultSecurityRules", flags={"read_only": True}, @@ -2042,14 +2076,14 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - default_security_rules = _schema_network_security_group_read.properties.default_security_rules + default_security_rules = _schema_common_network_security_group_read.properties.default_security_rules default_security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(default_security_rules.Element) + cls._build_schema_common_security_rule_read(default_security_rules.Element) - flow_logs = _schema_network_security_group_read.properties.flow_logs + flow_logs = _schema_common_network_security_group_read.properties.flow_logs flow_logs.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2067,7 +2101,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - identity = _schema_network_security_group_read.properties.flow_logs.Element.identity + identity = _schema_common_network_security_group_read.properties.flow_logs.Element.identity identity.principal_id = AAZStrType( serialized_name="principalId", flags={"read_only": True}, @@ -2081,10 +2115,10 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="userAssignedIdentities", ) - user_assigned_identities = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities + user_assigned_identities = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities user_assigned_identities.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element _element.client_id = AAZStrType( serialized_name="clientId", flags={"read_only": True}, @@ -2094,7 +2128,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties.flow_logs.Element.properties + properties = _schema_common_network_security_group_read.properties.flow_logs.Element.properties properties.enabled = AAZBoolType() properties.enabled_filtering_criteria = AAZStrType( serialized_name="enabledFilteringCriteria", @@ -2126,12 +2160,12 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"required": True}, ) - flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration + flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration flow_analytics_configuration.network_watcher_flow_analytics_configuration = AAZObjectType( serialized_name="networkWatcherFlowAnalyticsConfiguration", ) - network_watcher_flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration + network_watcher_flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration network_watcher_flow_analytics_configuration.enabled = AAZBoolType() network_watcher_flow_analytics_configuration.traffic_analytics_interval = AAZIntType( serialized_name="trafficAnalyticsInterval", @@ -2146,81 +2180,81 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="workspaceResourceId", ) - format = _schema_network_security_group_read.properties.flow_logs.Element.properties.format + format = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.format format.type = AAZStrType() format.version = AAZIntType() - retention_policy = _schema_network_security_group_read.properties.flow_logs.Element.properties.retention_policy + retention_policy = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.retention_policy retention_policy.days = AAZIntType() retention_policy.enabled = AAZBoolType() - tags = _schema_network_security_group_read.properties.flow_logs.Element.tags + tags = _schema_common_network_security_group_read.properties.flow_logs.Element.tags tags.Element = AAZStrType() - network_interfaces = _schema_network_security_group_read.properties.network_interfaces + network_interfaces = _schema_common_network_security_group_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - security_rules = _schema_network_security_group_read.properties.security_rules + security_rules = _schema_common_network_security_group_read.properties.security_rules security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(security_rules.Element) + cls._build_schema_common_security_rule_read(security_rules.Element) - subnets = _schema_network_security_group_read.properties.subnets + subnets = _schema_common_network_security_group_read.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_network_security_group_read.tags + tags = _schema_common_network_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type - _schema_private_endpoint_read = None + _schema_common_private_endpoint_read = None @classmethod - def _build_schema_private_endpoint_read(cls, _schema): - if cls._schema_private_endpoint_read is not None: - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + def _build_schema_common_private_endpoint_read(cls, _schema): + if cls._schema_common_private_endpoint_read is not None: + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type return - cls._schema_private_endpoint_read = _schema_private_endpoint_read = AAZObjectType( + cls._schema_common_private_endpoint_read = _schema_common_private_endpoint_read = AAZObjectType( flags={"read_only": True} ) - private_endpoint_read = _schema_private_endpoint_read - private_endpoint_read.etag = AAZStrType( + common_private_endpoint_read = _schema_common_private_endpoint_read + common_private_endpoint_read.etag = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.extended_location = AAZObjectType( + common_private_endpoint_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_endpoint_read.extended_location) - private_endpoint_read.id = AAZStrType() - private_endpoint_read.location = AAZStrType() - private_endpoint_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_private_endpoint_read.extended_location) + common_private_endpoint_read.id = AAZStrType() + common_private_endpoint_read.location = AAZStrType() + common_private_endpoint_read.name = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.properties = AAZObjectType( + common_private_endpoint_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_endpoint_read.tags = AAZDictType() - private_endpoint_read.type = AAZStrType( + common_private_endpoint_read.tags = AAZDictType() + common_private_endpoint_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties + properties = _schema_common_private_endpoint_read.properties properties.application_security_groups = AAZListType( serialized_name="applicationSecurityGroups", ) @@ -2251,28 +2285,28 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - application_security_groups = _schema_private_endpoint_read.properties.application_security_groups + application_security_groups = _schema_common_private_endpoint_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - custom_dns_configs = _schema_private_endpoint_read.properties.custom_dns_configs + custom_dns_configs = _schema_common_private_endpoint_read.properties.custom_dns_configs custom_dns_configs.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.custom_dns_configs.Element + _element = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element _element.fqdn = AAZStrType() _element.ip_addresses = AAZListType( serialized_name="ipAddresses", ) - ip_addresses = _schema_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses + ip_addresses = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses ip_addresses.Element = AAZStrType() - ip_configurations = _schema_private_endpoint_read.properties.ip_configurations + ip_configurations = _schema_common_private_endpoint_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.ip_configurations.Element + _element = _schema_common_private_endpoint_read.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2284,7 +2318,7 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties.ip_configurations.Element.properties + properties = _schema_common_private_endpoint_read.properties.ip_configurations.Element.properties properties.group_id = AAZStrType( serialized_name="groupId", ) @@ -2295,88 +2329,88 @@ def _build_schema_private_endpoint_read(cls, _schema): serialized_name="privateIPAddress", ) - manual_private_link_service_connections = _schema_private_endpoint_read.properties.manual_private_link_service_connections + manual_private_link_service_connections = _schema_common_private_endpoint_read.properties.manual_private_link_service_connections manual_private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(manual_private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(manual_private_link_service_connections.Element) - network_interfaces = _schema_private_endpoint_read.properties.network_interfaces + network_interfaces = _schema_common_private_endpoint_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_link_service_connections = _schema_private_endpoint_read.properties.private_link_service_connections + private_link_service_connections = _schema_common_private_endpoint_read.properties.private_link_service_connections private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(private_link_service_connections.Element) - tags = _schema_private_endpoint_read.tags + tags = _schema_common_private_endpoint_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type - _schema_private_link_service_connection_state_read = None + _schema_common_private_link_service_connection_state_read = None @classmethod - def _build_schema_private_link_service_connection_state_read(cls, _schema): - if cls._schema_private_link_service_connection_state_read is not None: - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + def _build_schema_common_private_link_service_connection_state_read(cls, _schema): + if cls._schema_common_private_link_service_connection_state_read is not None: + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status return - cls._schema_private_link_service_connection_state_read = _schema_private_link_service_connection_state_read = AAZObjectType() + cls._schema_common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read = AAZObjectType() - private_link_service_connection_state_read = _schema_private_link_service_connection_state_read - private_link_service_connection_state_read.actions_required = AAZStrType( + common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read + common_private_link_service_connection_state_read.actions_required = AAZStrType( serialized_name="actionsRequired", ) - private_link_service_connection_state_read.description = AAZStrType() - private_link_service_connection_state_read.status = AAZStrType() + common_private_link_service_connection_state_read.description = AAZStrType() + common_private_link_service_connection_state_read.status = AAZStrType() - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status - _schema_private_link_service_connection_read = None + _schema_common_private_link_service_connection_read = None @classmethod - def _build_schema_private_link_service_connection_read(cls, _schema): - if cls._schema_private_link_service_connection_read is not None: - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + def _build_schema_common_private_link_service_connection_read(cls, _schema): + if cls._schema_common_private_link_service_connection_read is not None: + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type return - cls._schema_private_link_service_connection_read = _schema_private_link_service_connection_read = AAZObjectType() + cls._schema_common_private_link_service_connection_read = _schema_common_private_link_service_connection_read = AAZObjectType() - private_link_service_connection_read = _schema_private_link_service_connection_read - private_link_service_connection_read.etag = AAZStrType( + common_private_link_service_connection_read = _schema_common_private_link_service_connection_read + common_private_link_service_connection_read.etag = AAZStrType( flags={"read_only": True}, ) - private_link_service_connection_read.id = AAZStrType() - private_link_service_connection_read.name = AAZStrType() - private_link_service_connection_read.properties = AAZObjectType( + common_private_link_service_connection_read.id = AAZStrType() + common_private_link_service_connection_read.name = AAZStrType() + common_private_link_service_connection_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_link_service_connection_read.type = AAZStrType( + common_private_link_service_connection_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_link_service_connection_read.properties + properties = _schema_common_private_link_service_connection_read.properties properties.group_ids = AAZListType( serialized_name="groupIds", ) properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.private_link_service_id = AAZStrType( serialized_name="privateLinkServiceId", ) @@ -2388,58 +2422,58 @@ def _build_schema_private_link_service_connection_read(cls, _schema): serialized_name="requestMessage", ) - group_ids = _schema_private_link_service_connection_read.properties.group_ids + group_ids = _schema_common_private_link_service_connection_read.properties.group_ids group_ids.Element = AAZStrType() - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type - _schema_public_ip_address_read = None + _schema_common_public_ip_address_read = None @classmethod - def _build_schema_public_ip_address_read(cls, _schema): - if cls._schema_public_ip_address_read is not None: - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + def _build_schema_common_public_ip_address_read(cls, _schema): + if cls._schema_common_public_ip_address_read is not None: + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones return - cls._schema_public_ip_address_read = _schema_public_ip_address_read = AAZObjectType() + cls._schema_common_public_ip_address_read = _schema_common_public_ip_address_read = AAZObjectType() - public_ip_address_read = _schema_public_ip_address_read - public_ip_address_read.etag = AAZStrType( + common_public_ip_address_read = _schema_common_public_ip_address_read + common_public_ip_address_read.etag = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.extended_location = AAZObjectType( + common_public_ip_address_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(public_ip_address_read.extended_location) - public_ip_address_read.id = AAZStrType() - public_ip_address_read.location = AAZStrType() - public_ip_address_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_public_ip_address_read.extended_location) + common_public_ip_address_read.id = AAZStrType() + common_public_ip_address_read.location = AAZStrType() + common_public_ip_address_read.name = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.properties = AAZObjectType( + common_public_ip_address_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - public_ip_address_read.sku = AAZObjectType() - public_ip_address_read.tags = AAZDictType() - public_ip_address_read.type = AAZStrType( + common_public_ip_address_read.sku = AAZObjectType() + common_public_ip_address_read.tags = AAZDictType() + common_public_ip_address_read.type = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.zones = AAZListType() + common_public_ip_address_read.zones = AAZListType() - properties = _schema_public_ip_address_read.properties + properties = _schema_common_public_ip_address_read.properties properties.ddos_settings = AAZObjectType( serialized_name="ddosSettings", ) @@ -2459,14 +2493,14 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="ipConfiguration", flags={"read_only": True}, ) - cls._build_schema_ip_configuration_read(properties.ip_configuration) + cls._build_schema_common_ip_configuration_read(properties.ip_configuration) properties.ip_tags = AAZListType( serialized_name="ipTags", ) properties.linked_public_ip_address = AAZObjectType( serialized_name="linkedPublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.linked_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.linked_public_ip_address) properties.migration_phase = AAZStrType( serialized_name="migrationPhase", ) @@ -2486,7 +2520,7 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.resource_guid = AAZStrType( serialized_name="resourceGuid", flags={"read_only": True}, @@ -2494,18 +2528,22 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_public_ip_address = AAZObjectType( serialized_name="servicePublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.service_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.service_public_ip_address) - ddos_settings = _schema_public_ip_address_read.properties.ddos_settings + ddos_settings = _schema_common_public_ip_address_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) ddos_settings.ddos_protection_plan = AAZObjectType( serialized_name="ddosProtectionPlan", ) - cls._build_schema_sub_resource_read(ddos_settings.ddos_protection_plan) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_protection_plan) ddos_settings.protection_mode = AAZStrType( serialized_name="protectionMode", ) - dns_settings = _schema_public_ip_address_read.properties.dns_settings + dns_settings = _schema_common_public_ip_address_read.properties.dns_settings dns_settings.domain_name_label = AAZStrType( serialized_name="domainNameLabel", ) @@ -2517,16 +2555,16 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="reverseFqdn", ) - ip_tags = _schema_public_ip_address_read.properties.ip_tags + ip_tags = _schema_common_public_ip_address_read.properties.ip_tags ip_tags.Element = AAZObjectType() - _element = _schema_public_ip_address_read.properties.ip_tags.Element + _element = _schema_common_public_ip_address_read.properties.ip_tags.Element _element.ip_tag_type = AAZStrType( serialized_name="ipTagType", ) _element.tag = AAZStrType() - nat_gateway = _schema_public_ip_address_read.properties.nat_gateway + nat_gateway = _schema_common_public_ip_address_read.properties.nat_gateway nat_gateway.etag = AAZStrType( flags={"read_only": True}, ) @@ -2545,10 +2583,11 @@ def _build_schema_public_ip_address_read(cls, _schema): ) nat_gateway.zones = AAZListType() - properties = _schema_public_ip_address_read.properties.nat_gateway.properties + properties = _schema_common_public_ip_address_read.properties.nat_gateway.properties properties.idle_timeout_in_minutes = AAZIntType( serialized_name="idleTimeoutInMinutes", ) + properties.nat64 = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -2572,91 +2611,93 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.source_virtual_network = AAZObjectType( serialized_name="sourceVirtualNetwork", ) - cls._build_schema_sub_resource_read(properties.source_virtual_network) + cls._build_schema_common_sub_resource_read(properties.source_virtual_network) properties.subnets = AAZListType( flags={"read_only": True}, ) - public_ip_addresses = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses + public_ip_addresses = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses public_ip_addresses.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses.Element) - public_ip_addresses_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 + public_ip_addresses_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 public_ip_addresses_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses_v6.Element) - public_ip_prefixes = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes + public_ip_prefixes = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes public_ip_prefixes.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes.Element) - public_ip_prefixes_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 + public_ip_prefixes_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 public_ip_prefixes_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes_v6.Element) - subnets = _schema_public_ip_address_read.properties.nat_gateway.properties.subnets + subnets = _schema_common_public_ip_address_read.properties.nat_gateway.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_sub_resource_read(subnets.Element) + cls._build_schema_common_sub_resource_read(subnets.Element) - sku = _schema_public_ip_address_read.properties.nat_gateway.sku + sku = _schema_common_public_ip_address_read.properties.nat_gateway.sku sku.name = AAZStrType() - tags = _schema_public_ip_address_read.properties.nat_gateway.tags + tags = _schema_common_public_ip_address_read.properties.nat_gateway.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.properties.nat_gateway.zones + zones = _schema_common_public_ip_address_read.properties.nat_gateway.zones zones.Element = AAZStrType() - sku = _schema_public_ip_address_read.sku + sku = _schema_common_public_ip_address_read.sku sku.name = AAZStrType() sku.tier = AAZStrType() - tags = _schema_public_ip_address_read.tags + tags = _schema_common_public_ip_address_read.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.zones + zones = _schema_common_public_ip_address_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones - _schema_security_rule_read = None + _schema_common_security_rule_read = None @classmethod - def _build_schema_security_rule_read(cls, _schema): - if cls._schema_security_rule_read is not None: - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + def _build_schema_common_security_rule_read(cls, _schema): + if cls._schema_common_security_rule_read is not None: + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type return - cls._schema_security_rule_read = _schema_security_rule_read = AAZObjectType() + cls._schema_common_security_rule_read = _schema_common_security_rule_read = AAZObjectType() - security_rule_read = _schema_security_rule_read - security_rule_read.etag = AAZStrType( + common_security_rule_read = _schema_common_security_rule_read + common_security_rule_read.etag = AAZStrType( flags={"read_only": True}, ) - security_rule_read.id = AAZStrType() - security_rule_read.name = AAZStrType() - security_rule_read.properties = AAZObjectType( + common_security_rule_read.id = AAZStrType() + common_security_rule_read.name = AAZStrType() + common_security_rule_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - security_rule_read.type = AAZStrType() + common_security_rule_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_security_rule_read.properties + properties = _schema_common_security_rule_read.properties properties.access = AAZStrType( flags={"required": True}, ) @@ -2705,75 +2746,77 @@ def _build_schema_security_rule_read(cls, _schema): serialized_name="sourcePortRanges", ) - destination_address_prefixes = _schema_security_rule_read.properties.destination_address_prefixes + destination_address_prefixes = _schema_common_security_rule_read.properties.destination_address_prefixes destination_address_prefixes.Element = AAZStrType() - destination_application_security_groups = _schema_security_rule_read.properties.destination_application_security_groups + destination_application_security_groups = _schema_common_security_rule_read.properties.destination_application_security_groups destination_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(destination_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(destination_application_security_groups.Element) - destination_port_ranges = _schema_security_rule_read.properties.destination_port_ranges + destination_port_ranges = _schema_common_security_rule_read.properties.destination_port_ranges destination_port_ranges.Element = AAZStrType() - source_address_prefixes = _schema_security_rule_read.properties.source_address_prefixes + source_address_prefixes = _schema_common_security_rule_read.properties.source_address_prefixes source_address_prefixes.Element = AAZStrType() - source_application_security_groups = _schema_security_rule_read.properties.source_application_security_groups + source_application_security_groups = _schema_common_security_rule_read.properties.source_application_security_groups source_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(source_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(source_application_security_groups.Element) - source_port_ranges = _schema_security_rule_read.properties.source_port_ranges + source_port_ranges = _schema_common_security_rule_read.properties.source_port_ranges source_port_ranges.Element = AAZStrType() - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type - _schema_sub_resource_read = None + _schema_common_sub_resource_read = None @classmethod - def _build_schema_sub_resource_read(cls, _schema): - if cls._schema_sub_resource_read is not None: - _schema.id = cls._schema_sub_resource_read.id + def _build_schema_common_sub_resource_read(cls, _schema): + if cls._schema_common_sub_resource_read is not None: + _schema.id = cls._schema_common_sub_resource_read.id return - cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType( + cls._schema_common_sub_resource_read = _schema_common_sub_resource_read = AAZObjectType( flags={"read_only": True} ) - sub_resource_read = _schema_sub_resource_read - sub_resource_read.id = AAZStrType() + common_sub_resource_read = _schema_common_sub_resource_read + common_sub_resource_read.id = AAZStrType() - _schema.id = cls._schema_sub_resource_read.id + _schema.id = cls._schema_common_sub_resource_read.id - _schema_subnet_read = None + _schema_common_subnet_read = None @classmethod - def _build_schema_subnet_read(cls, _schema): - if cls._schema_subnet_read is not None: - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + def _build_schema_common_subnet_read(cls, _schema): + if cls._schema_common_subnet_read is not None: + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type return - cls._schema_subnet_read = _schema_subnet_read = AAZObjectType() + cls._schema_common_subnet_read = _schema_common_subnet_read = AAZObjectType() - subnet_read = _schema_subnet_read - subnet_read.etag = AAZStrType( + common_subnet_read = _schema_common_subnet_read + common_subnet_read.etag = AAZStrType( flags={"read_only": True}, ) - subnet_read.id = AAZStrType() - subnet_read.name = AAZStrType() - subnet_read.properties = AAZObjectType( + common_subnet_read.id = AAZStrType() + common_subnet_read.name = AAZStrType() + common_subnet_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - subnet_read.type = AAZStrType() + common_subnet_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties + properties = _schema_common_subnet_read.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -2804,11 +2847,11 @@ def _build_schema_subnet_read(cls, _schema): properties.nat_gateway = AAZObjectType( serialized_name="natGateway", ) - cls._build_schema_sub_resource_read(properties.nat_gateway) + cls._build_schema_common_sub_resource_read(properties.nat_gateway) properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.private_endpoint_network_policies = AAZStrType( serialized_name="privateEndpointNetworkPolicies", ) @@ -2846,18 +2889,18 @@ def _build_schema_subnet_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.sharing_scope = AAZStrType( serialized_name="sharingScope", ) - address_prefixes = _schema_subnet_read.properties.address_prefixes + address_prefixes = _schema_common_subnet_read.properties.address_prefixes address_prefixes.Element = AAZStrType() - application_gateway_ip_configurations = _schema_subnet_read.properties.application_gateway_ip_configurations + application_gateway_ip_configurations = _schema_common_subnet_read.properties.application_gateway_ip_configurations application_gateway_ip_configurations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.application_gateway_ip_configurations.Element + _element = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2870,18 +2913,18 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.application_gateway_ip_configurations.Element.properties + properties = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) - delegations = _schema_subnet_read.properties.delegations + delegations = _schema_common_subnet_read.properties.delegations delegations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.delegations.Element + _element = _schema_common_subnet_read.properties.delegations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2892,7 +2935,7 @@ def _build_schema_subnet_read(cls, _schema): ) _element.type = AAZStrType() - properties = _schema_subnet_read.properties.delegations.Element.properties + properties = _schema_common_subnet_read.properties.delegations.Element.properties properties.actions = AAZListType( flags={"read_only": True}, ) @@ -2904,17 +2947,17 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceName", ) - actions = _schema_subnet_read.properties.delegations.Element.properties.actions + actions = _schema_common_subnet_read.properties.delegations.Element.properties.actions actions.Element = AAZStrType() - ip_allocations = _schema_subnet_read.properties.ip_allocations + ip_allocations = _schema_common_subnet_read.properties.ip_allocations ip_allocations.Element = AAZObjectType() - cls._build_schema_sub_resource_read(ip_allocations.Element) + cls._build_schema_common_sub_resource_read(ip_allocations.Element) - ip_configuration_profiles = _schema_subnet_read.properties.ip_configuration_profiles + ip_configuration_profiles = _schema_common_subnet_read.properties.ip_configuration_profiles ip_configuration_profiles.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ip_configuration_profiles.Element + _element = _schema_common_subnet_read.properties.ip_configuration_profiles.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2927,22 +2970,22 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.ip_configuration_profiles.Element.properties + properties = _schema_common_subnet_read.properties.ip_configuration_profiles.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - ip_configurations = _schema_subnet_read.properties.ip_configurations + ip_configurations = _schema_common_subnet_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_ip_configuration_read(ip_configurations.Element) - ipam_pool_prefix_allocations = _schema_subnet_read.properties.ipam_pool_prefix_allocations + ipam_pool_prefix_allocations = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations ipam_pool_prefix_allocations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element + _element = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element _element.allocated_address_prefixes = AAZListType( serialized_name="allocatedAddressPrefixes", flags={"read_only": True}, @@ -2954,20 +2997,20 @@ def _build_schema_subnet_read(cls, _schema): flags={"client_flatten": True}, ) - allocated_address_prefixes = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes + allocated_address_prefixes = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes allocated_address_prefixes.Element = AAZStrType() - pool = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool + pool = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool pool.id = AAZStrType() - private_endpoints = _schema_subnet_read.properties.private_endpoints + private_endpoints = _schema_common_subnet_read.properties.private_endpoints private_endpoints.Element = AAZObjectType() - cls._build_schema_private_endpoint_read(private_endpoints.Element) + cls._build_schema_common_private_endpoint_read(private_endpoints.Element) - resource_navigation_links = _schema_subnet_read.properties.resource_navigation_links + resource_navigation_links = _schema_common_subnet_read.properties.resource_navigation_links resource_navigation_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.resource_navigation_links.Element + _element = _schema_common_subnet_read.properties.resource_navigation_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2982,7 +3025,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.resource_navigation_links.Element.properties + properties = _schema_common_subnet_read.properties.resource_navigation_links.Element.properties properties.link = AAZStrType() properties.linked_resource_type = AAZStrType( serialized_name="linkedResourceType", @@ -2992,7 +3035,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - route_table = _schema_subnet_read.properties.route_table + route_table = _schema_common_subnet_read.properties.route_table route_table.etag = AAZStrType( flags={"read_only": True}, ) @@ -3009,10 +3052,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.route_table.properties + properties = _schema_common_subnet_read.properties.route_table.properties properties.disable_bgp_route_propagation = AAZBoolType( serialized_name="disableBgpRoutePropagation", ) + properties.disable_peering_route = AAZStrType( + serialized_name="disablePeeringRoute", + ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -3026,10 +3072,10 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - routes = _schema_subnet_read.properties.route_table.properties.routes + routes = _schema_common_subnet_read.properties.route_table.properties.routes routes.Element = AAZObjectType() - _element = _schema_subnet_read.properties.route_table.properties.routes.Element + _element = _schema_common_subnet_read.properties.route_table.properties.routes.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -3038,9 +3084,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.route_table.properties.routes.Element.properties + properties = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -3048,6 +3096,9 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="hasBgpOverride", flags={"read_only": True}, ) + properties.next_hop = AAZObjectType( + serialized_name="nextHop", + ) properties.next_hop_ip_address = AAZStrType( serialized_name="nextHopIpAddress", ) @@ -3060,17 +3111,26 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - subnets = _schema_subnet_read.properties.route_table.properties.subnets + next_hop = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop + next_hop.next_hop_ip_addresses = AAZListType( + serialized_name="nextHopIpAddresses", + flags={"required": True}, + ) + + next_hop_ip_addresses = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop.next_hop_ip_addresses + next_hop_ip_addresses.Element = AAZStrType() + + subnets = _schema_common_subnet_read.properties.route_table.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.route_table.tags + tags = _schema_common_subnet_read.properties.route_table.tags tags.Element = AAZStrType() - service_association_links = _schema_subnet_read.properties.service_association_links + service_association_links = _schema_common_subnet_read.properties.service_association_links service_association_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_association_links.Element + _element = _schema_common_subnet_read.properties.service_association_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -3083,7 +3143,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_association_links.Element.properties + properties = _schema_common_subnet_read.properties.service_association_links.Element.properties properties.allow_delete = AAZBoolType( serialized_name="allowDelete", ) @@ -3097,13 +3157,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - locations = _schema_subnet_read.properties.service_association_links.Element.properties.locations + locations = _schema_common_subnet_read.properties.service_association_links.Element.properties.locations locations.Element = AAZStrType() - service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies + service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies service_endpoint_policies.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -3123,7 +3183,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties properties.contextual_service_endpoint_policies = AAZListType( serialized_name="contextualServiceEndpointPolicies", ) @@ -3145,13 +3205,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - contextual_service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies + contextual_service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies contextual_service_endpoint_policies.Element = AAZStrType() - service_endpoint_policy_definitions = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions + service_endpoint_policy_definitions = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions service_endpoint_policy_definitions.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -3160,9 +3220,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties properties.description = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", @@ -3173,82 +3235,82 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceResources", ) - service_resources = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources + service_resources = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources service_resources.Element = AAZStrType() - subnets = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.subnets + subnets = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.service_endpoint_policies.Element.tags + tags = _schema_common_subnet_read.properties.service_endpoint_policies.Element.tags tags.Element = AAZStrType() - service_endpoints = _schema_subnet_read.properties.service_endpoints + service_endpoints = _schema_common_subnet_read.properties.service_endpoints service_endpoints.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoints.Element + _element = _schema_common_subnet_read.properties.service_endpoints.Element _element.locations = AAZListType() _element.network_identifier = AAZObjectType( serialized_name="networkIdentifier", ) - cls._build_schema_sub_resource_read(_element.network_identifier) + cls._build_schema_common_sub_resource_read(_element.network_identifier) _element.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) _element.service = AAZStrType() - locations = _schema_subnet_read.properties.service_endpoints.Element.locations + locations = _schema_common_subnet_read.properties.service_endpoints.Element.locations locations.Element = AAZStrType() - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type - _schema_virtual_network_tap_read = None + _schema_common_virtual_network_tap_read = None @classmethod - def _build_schema_virtual_network_tap_read(cls, _schema): - if cls._schema_virtual_network_tap_read is not None: - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + def _build_schema_common_virtual_network_tap_read(cls, _schema): + if cls._schema_common_virtual_network_tap_read is not None: + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type return - cls._schema_virtual_network_tap_read = _schema_virtual_network_tap_read = AAZObjectType() + cls._schema_common_virtual_network_tap_read = _schema_common_virtual_network_tap_read = AAZObjectType() - virtual_network_tap_read = _schema_virtual_network_tap_read - virtual_network_tap_read.etag = AAZStrType( + common_virtual_network_tap_read = _schema_common_virtual_network_tap_read + common_virtual_network_tap_read.etag = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.id = AAZStrType() - virtual_network_tap_read.location = AAZStrType() - virtual_network_tap_read.name = AAZStrType( + common_virtual_network_tap_read.id = AAZStrType() + common_virtual_network_tap_read.location = AAZStrType() + common_virtual_network_tap_read.name = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.properties = AAZObjectType( + common_virtual_network_tap_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - virtual_network_tap_read.tags = AAZDictType() - virtual_network_tap_read.type = AAZStrType( + common_virtual_network_tap_read.tags = AAZDictType() + common_virtual_network_tap_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_virtual_network_tap_read.properties + properties = _schema_common_virtual_network_tap_read.properties properties.destination_load_balancer_front_end_ip_configuration = AAZObjectType( serialized_name="destinationLoadBalancerFrontEndIPConfiguration", ) - cls._build_schema_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) + cls._build_schema_common_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) properties.destination_network_interface_ip_configuration = AAZObjectType( serialized_name="destinationNetworkInterfaceIPConfiguration", ) - cls._build_schema_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) properties.destination_port = AAZIntType( serialized_name="destinationPort", ) @@ -3265,20 +3327,20 @@ def _build_schema_virtual_network_tap_read(cls, _schema): flags={"read_only": True}, ) - network_interface_tap_configurations = _schema_virtual_network_tap_read.properties.network_interface_tap_configurations + network_interface_tap_configurations = _schema_common_virtual_network_tap_read.properties.network_interface_tap_configurations network_interface_tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) - tags = _schema_virtual_network_tap_read.tags + tags = _schema_common_virtual_network_tap_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type __all__ = ["Create"] diff --git a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_delete.py b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_delete.py index 63f36d425f2..5241475d5d6 100644 --- a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_delete.py +++ b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_delete.py @@ -23,9 +23,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2025-05-01", + "version": "2025-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkappliances/{}", "2025-05-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkappliances/{}", "2025-07-01"], ] } @@ -146,7 +146,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2025-05-01", + "api-version", "2025-07-01", required=True, ), } diff --git a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_list.py b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_list.py index b404e0328e8..8fdce8e8679 100644 --- a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_list.py +++ b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_list.py @@ -22,10 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2025-05-01", + "version": "2025-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/microsoft.network/virtualnetworkappliances", "2025-05-01"], - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkappliances", "2025-05-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkappliances", "2025-07-01"], ] } @@ -46,17 +45,14 @@ def _build_arguments_schema(cls, *args, **kwargs): # define Arg Group "" _args_schema = cls._args_schema - _args_schema.resource_group = AAZResourceGroupNameArg() + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) return cls._args_schema def _execute_operations(self): self.pre_operations() - condition_0 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True - condition_1 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) - if condition_0: - self.VirtualNetworkAppliancesListAll(ctx=self.ctx)() - if condition_1: - self.VirtualNetworkAppliancesList(ctx=self.ctx)() + self.VirtualNetworkAppliancesList(ctx=self.ctx)() self.post_operations() @register_callback @@ -72,161 +68,6 @@ def _output(self, *args, **kwargs): next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link - class VirtualNetworkAppliancesListAll(AAZHttpOperation): - CLIENT_TYPE = "MgmtClient" - - def __call__(self, *args, **kwargs): - request = self.make_request() - session = self.client.send_request(request=request, stream=False, **kwargs) - if session.http_response.status_code in [200]: - return self.on_200(session) - - return self.on_error(session.http_response) - - @property - def url(self): - return self.client.format_url( - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkAppliances", - **self.url_parameters - ) - - @property - def method(self): - return "GET" - - @property - def error_format(self): - return "ODataV4Format" - - @property - def url_parameters(self): - parameters = { - **self.serialize_url_param( - "subscriptionId", self.ctx.subscription_id, - required=True, - ), - } - return parameters - - @property - def query_parameters(self): - parameters = { - **self.serialize_query_param( - "api-version", "2025-05-01", - required=True, - ), - } - return parameters - - @property - def header_parameters(self): - parameters = { - **self.serialize_header_param( - "Accept", "application/json", - ), - } - return parameters - - def on_200(self, session): - data = self.deserialize_http_content(session) - self.ctx.set_var( - "instance", - data, - schema_builder=self._build_schema_on_200 - ) - - _schema_on_200 = None - - @classmethod - def _build_schema_on_200(cls): - if cls._schema_on_200 is not None: - return cls._schema_on_200 - - cls._schema_on_200 = AAZObjectType() - - _schema_on_200 = cls._schema_on_200 - _schema_on_200.next_link = AAZStrType( - serialized_name="nextLink", - flags={"read_only": True}, - ) - _schema_on_200.value = AAZListType() - - value = cls._schema_on_200.value - value.Element = AAZObjectType() - - _element = cls._schema_on_200.value.Element - _element.etag = AAZStrType( - flags={"read_only": True}, - ) - _element.id = AAZStrType() - _element.location = AAZStrType() - _element.name = AAZStrType( - flags={"read_only": True}, - ) - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) - _element.tags = AAZDictType() - _element.type = AAZStrType( - flags={"read_only": True}, - ) - - properties = cls._schema_on_200.value.Element.properties - properties.bandwidth_in_gbps = AAZIntType( - serialized_name="bandwidthInGbps", - ) - properties.ip_configurations = AAZListType( - serialized_name="ipConfigurations", - flags={"read_only": True}, - ) - properties.provisioning_state = AAZStrType( - serialized_name="provisioningState", - flags={"read_only": True}, - ) - properties.resource_guid = AAZStrType( - serialized_name="resourceGuid", - flags={"read_only": True}, - ) - properties.subnet = AAZObjectType() - _ListHelper._build_schema_subnet_read(properties.subnet) - - ip_configurations = cls._schema_on_200.value.Element.properties.ip_configurations - ip_configurations.Element = AAZObjectType() - - _element = cls._schema_on_200.value.Element.properties.ip_configurations.Element - _element.etag = AAZStrType( - flags={"read_only": True}, - ) - _element.id = AAZStrType() - _element.name = AAZStrType() - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) - _element.type = AAZStrType( - flags={"read_only": True}, - ) - - properties = cls._schema_on_200.value.Element.properties.ip_configurations.Element.properties - properties.primary = AAZBoolType() - properties.private_ip_address = AAZStrType( - serialized_name="privateIPAddress", - ) - properties.private_ip_address_version = AAZStrType( - serialized_name="privateIPAddressVersion", - ) - properties.private_ip_allocation_method = AAZStrType( - serialized_name="privateIPAllocationMethod", - ) - properties.provisioning_state = AAZStrType( - serialized_name="provisioningState", - flags={"read_only": True}, - ) - - tags = cls._schema_on_200.value.Element.tags - tags.Element = AAZStrType() - - return cls._schema_on_200 - class VirtualNetworkAppliancesList(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" @@ -271,7 +112,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2025-05-01", + "api-version", "2025-07-01", required=True, ), } @@ -306,9 +147,10 @@ def _build_schema_on_200(cls): _schema_on_200 = cls._schema_on_200 _schema_on_200.next_link = AAZStrType( serialized_name="nextLink", - flags={"read_only": True}, ) - _schema_on_200.value = AAZListType() + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) value = cls._schema_on_200.value value.Element = AAZObjectType() @@ -331,13 +173,16 @@ def _build_schema_on_200(cls): ) properties = cls._schema_on_200.value.Element.properties - properties.bandwidth_in_gbps = AAZIntType( + properties.bandwidth_in_gbps = AAZFloatType( serialized_name="bandwidthInGbps", ) properties.ip_configurations = AAZListType( serialized_name="ipConfigurations", flags={"read_only": True}, ) + properties.private_ip_address_version = AAZStrType( + serialized_name="privateIPAddressVersion", + ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -347,7 +192,7 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - _ListHelper._build_schema_subnet_read(properties.subnet) + _ListHelper._build_schema_common_subnet_read(properties.subnet) ip_configurations = cls._schema_on_200.value.Element.properties.ip_configurations ip_configurations.Element = AAZObjectType() @@ -390,40 +235,40 @@ def _build_schema_on_200(cls): class _ListHelper: """Helper class for List""" - _schema_application_security_group_read = None + _schema_common_application_security_group_read = None @classmethod - def _build_schema_application_security_group_read(cls, _schema): - if cls._schema_application_security_group_read is not None: - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + def _build_schema_common_application_security_group_read(cls, _schema): + if cls._schema_common_application_security_group_read is not None: + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type return - cls._schema_application_security_group_read = _schema_application_security_group_read = AAZObjectType() + cls._schema_common_application_security_group_read = _schema_common_application_security_group_read = AAZObjectType() - application_security_group_read = _schema_application_security_group_read - application_security_group_read.etag = AAZStrType( + common_application_security_group_read = _schema_common_application_security_group_read + common_application_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.id = AAZStrType() - application_security_group_read.location = AAZStrType() - application_security_group_read.name = AAZStrType( + common_application_security_group_read.id = AAZStrType() + common_application_security_group_read.location = AAZStrType() + common_application_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.properties = AAZObjectType( + common_application_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - application_security_group_read.tags = AAZDictType() - application_security_group_read.type = AAZStrType( + common_application_security_group_read.tags = AAZDictType() + common_application_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_application_security_group_read.properties + properties = _schema_common_application_security_group_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -433,69 +278,72 @@ def _build_schema_application_security_group_read(cls, _schema): flags={"read_only": True}, ) - tags = _schema_application_security_group_read.tags + tags = _schema_common_application_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type - _schema_extended_location_read = None + _schema_common_extended_location_read = None @classmethod - def _build_schema_extended_location_read(cls, _schema): - if cls._schema_extended_location_read is not None: - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + def _build_schema_common_extended_location_read(cls, _schema): + if cls._schema_common_extended_location_read is not None: + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type return - cls._schema_extended_location_read = _schema_extended_location_read = AAZObjectType() + cls._schema_common_extended_location_read = _schema_common_extended_location_read = AAZObjectType() - extended_location_read = _schema_extended_location_read - extended_location_read.name = AAZStrType() - extended_location_read.type = AAZStrType() + common_extended_location_read = _schema_common_extended_location_read + common_extended_location_read.name = AAZStrType() + common_extended_location_read.type = AAZStrType() - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type - _schema_frontend_ip_configuration_read = None + _schema_common_frontend_ip_configuration_read = None @classmethod - def _build_schema_frontend_ip_configuration_read(cls, _schema): - if cls._schema_frontend_ip_configuration_read is not None: - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + def _build_schema_common_frontend_ip_configuration_read(cls, _schema): + if cls._schema_common_frontend_ip_configuration_read is not None: + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones return - cls._schema_frontend_ip_configuration_read = _schema_frontend_ip_configuration_read = AAZObjectType() + cls._schema_common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read = AAZObjectType() - frontend_ip_configuration_read = _schema_frontend_ip_configuration_read - frontend_ip_configuration_read.etag = AAZStrType( + common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read + common_frontend_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.id = AAZStrType() - frontend_ip_configuration_read.name = AAZStrType() - frontend_ip_configuration_read.properties = AAZObjectType( + common_frontend_ip_configuration_read.id = AAZStrType() + common_frontend_ip_configuration_read.name = AAZStrType() + common_frontend_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - frontend_ip_configuration_read.type = AAZStrType( + common_frontend_ip_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.zones = AAZListType() + common_frontend_ip_configuration_read.zones = AAZListType() - properties = _schema_frontend_ip_configuration_read.properties + properties = _schema_common_frontend_ip_configuration_read.properties + properties.ddos_settings = AAZObjectType( + serialized_name="ddosSettings", + ) properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.inbound_nat_pools = AAZListType( serialized_name="inboundNatPools", flags={"read_only": True}, @@ -528,66 +376,72 @@ def _build_schema_frontend_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - inbound_nat_pools = _schema_frontend_ip_configuration_read.properties.inbound_nat_pools + ddos_settings = _schema_common_frontend_ip_configuration_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) + + inbound_nat_pools = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_pools inbound_nat_pools.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_pools.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_pools.Element) - inbound_nat_rules = _schema_frontend_ip_configuration_read.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancing_rules = _schema_frontend_ip_configuration_read.properties.load_balancing_rules + load_balancing_rules = _schema_common_frontend_ip_configuration_read.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_frontend_ip_configuration_read.properties.outbound_rules + outbound_rules = _schema_common_frontend_ip_configuration_read.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - zones = _schema_frontend_ip_configuration_read.zones + zones = _schema_common_frontend_ip_configuration_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones - _schema_ip_configuration_read = None + _schema_common_ip_configuration_read = None @classmethod - def _build_schema_ip_configuration_read(cls, _schema): - if cls._schema_ip_configuration_read is not None: - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + def _build_schema_common_ip_configuration_read(cls, _schema): + if cls._schema_common_ip_configuration_read is not None: + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties return - cls._schema_ip_configuration_read = _schema_ip_configuration_read = AAZObjectType( + cls._schema_common_ip_configuration_read = _schema_common_ip_configuration_read = AAZObjectType( flags={"read_only": True} ) - ip_configuration_read = _schema_ip_configuration_read - ip_configuration_read.etag = AAZStrType( + common_ip_configuration_read = _schema_common_ip_configuration_read + common_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - ip_configuration_read.id = AAZStrType() - ip_configuration_read.name = AAZStrType() - ip_configuration_read.properties = AAZObjectType( + common_ip_configuration_read.id = AAZStrType() + common_ip_configuration_read.name = AAZStrType() + common_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_ip_configuration_read.properties + properties = _schema_common_ip_configuration_read.properties properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", ) @@ -601,41 +455,43 @@ def _build_schema_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties - _schema_network_interface_ip_configuration_read = None + _schema_common_network_interface_ip_configuration_read = None @classmethod - def _build_schema_network_interface_ip_configuration_read(cls, _schema): - if cls._schema_network_interface_ip_configuration_read is not None: - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + def _build_schema_common_network_interface_ip_configuration_read(cls, _schema): + if cls._schema_common_network_interface_ip_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type return - cls._schema_network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read = AAZObjectType() + cls._schema_common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read = AAZObjectType() - network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read - network_interface_ip_configuration_read.etag = AAZStrType( + common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read + common_network_interface_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_ip_configuration_read.id = AAZStrType() - network_interface_ip_configuration_read.name = AAZStrType() - network_interface_ip_configuration_read.properties = AAZObjectType( + common_network_interface_ip_configuration_read.id = AAZStrType() + common_network_interface_ip_configuration_read.name = AAZStrType() + common_network_interface_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_ip_configuration_read.type = AAZStrType() + common_network_interface_ip_configuration_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_network_interface_ip_configuration_read.properties + properties = _schema_common_network_interface_ip_configuration_read.properties properties.application_gateway_backend_address_pools = AAZListType( serialized_name="applicationGatewayBackendAddressPools", ) @@ -645,7 +501,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.load_balancer_backend_address_pools = AAZListType( serialized_name="loadBalancerBackendAddressPools", ) @@ -677,17 +533,17 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) properties.virtual_network_taps = AAZListType( serialized_name="virtualNetworkTaps", ) - application_gateway_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools + application_gateway_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools application_gateway_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -700,7 +556,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties properties.backend_addresses = AAZListType( serialized_name="backendAddresses", ) @@ -713,27 +569,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - backend_addresses = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses + backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element _element.fqdn = AAZStrType() _element.ip_address = AAZStrType( serialized_name="ipAddress", ) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - application_security_groups = _schema_network_interface_ip_configuration_read.properties.application_security_groups + application_security_groups = _schema_common_network_interface_ip_configuration_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - load_balancer_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools + load_balancer_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools load_balancer_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -746,7 +602,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties properties.backend_ip_configurations = AAZListType( serialized_name="backendIPConfigurations", flags={"read_only": True}, @@ -770,7 +626,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="outboundRule", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.outbound_rule) + cls._build_schema_common_sub_resource_read(properties.outbound_rule) properties.outbound_rules = AAZListType( serialized_name="outboundRules", flags={"read_only": True}, @@ -788,26 +644,26 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancer_backend_addresses = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses + load_balancer_backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses load_balancer_backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element _element.name = AAZStrType() _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties properties.admin_state = AAZStrType( serialized_name="adminState", ) @@ -821,23 +677,23 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.load_balancer_frontend_ip_configuration = AAZObjectType( serialized_name="loadBalancerFrontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.load_balancer_frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.load_balancer_frontend_ip_configuration) properties.network_interface_ip_configuration = AAZObjectType( serialized_name="networkInterfaceIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.network_interface_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.network_interface_ip_configuration) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - inbound_nat_rules_port_mapping = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping + inbound_nat_rules_port_mapping = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping inbound_nat_rules_port_mapping.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element _element.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -848,27 +704,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="inboundNatRuleName", ) - load_balancing_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules + load_balancing_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules + outbound_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - tunnel_interfaces = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces + tunnel_interfaces = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces tunnel_interfaces.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element _element.identifier = AAZIntType() _element.port = AAZIntType() _element.protocol = AAZStrType() _element.type = AAZStrType() - load_balancer_inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules + load_balancer_inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules load_balancer_inbound_nat_rules.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -881,16 +737,16 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties properties.backend_address_pool = AAZObjectType( serialized_name="backendAddressPool", ) - cls._build_schema_sub_resource_read(properties.backend_address_pool) + cls._build_schema_common_sub_resource_read(properties.backend_address_pool) properties.backend_ip_configuration = AAZObjectType( serialized_name="backendIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_network_interface_ip_configuration_read(properties.backend_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.backend_ip_configuration) properties.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -903,7 +759,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.frontend_ip_configuration = AAZObjectType( serialized_name="frontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.frontend_ip_configuration) properties.frontend_port = AAZIntType( serialized_name="frontendPort", ) @@ -922,7 +778,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - private_link_connection_properties = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties + private_link_connection_properties = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties private_link_connection_properties.fqdns = AAZListType( flags={"read_only": True}, ) @@ -935,47 +791,47 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - fqdns = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns + fqdns = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns fqdns.Element = AAZStrType() - virtual_network_taps = _schema_network_interface_ip_configuration_read.properties.virtual_network_taps + virtual_network_taps = _schema_common_network_interface_ip_configuration_read.properties.virtual_network_taps virtual_network_taps.Element = AAZObjectType() - cls._build_schema_virtual_network_tap_read(virtual_network_taps.Element) + cls._build_schema_common_virtual_network_tap_read(virtual_network_taps.Element) - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type - _schema_network_interface_tap_configuration_read = None + _schema_common_network_interface_tap_configuration_read = None @classmethod - def _build_schema_network_interface_tap_configuration_read(cls, _schema): - if cls._schema_network_interface_tap_configuration_read is not None: - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + def _build_schema_common_network_interface_tap_configuration_read(cls, _schema): + if cls._schema_common_network_interface_tap_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type return - cls._schema_network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read = AAZObjectType() + cls._schema_common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read = AAZObjectType() - network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read - network_interface_tap_configuration_read.etag = AAZStrType( + common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read + common_network_interface_tap_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_tap_configuration_read.id = AAZStrType() - network_interface_tap_configuration_read.name = AAZStrType() - network_interface_tap_configuration_read.properties = AAZObjectType( + common_network_interface_tap_configuration_read.id = AAZStrType() + common_network_interface_tap_configuration_read.name = AAZStrType() + common_network_interface_tap_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_tap_configuration_read.type = AAZStrType( + common_network_interface_tap_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_tap_configuration_read.properties + properties = _schema_common_network_interface_tap_configuration_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -983,53 +839,53 @@ def _build_schema_network_interface_tap_configuration_read(cls, _schema): properties.virtual_network_tap = AAZObjectType( serialized_name="virtualNetworkTap", ) - cls._build_schema_virtual_network_tap_read(properties.virtual_network_tap) + cls._build_schema_common_virtual_network_tap_read(properties.virtual_network_tap) - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type - _schema_network_interface_read = None + _schema_common_network_interface_read = None @classmethod - def _build_schema_network_interface_read(cls, _schema): - if cls._schema_network_interface_read is not None: - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + def _build_schema_common_network_interface_read(cls, _schema): + if cls._schema_common_network_interface_read is not None: + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type return - cls._schema_network_interface_read = _schema_network_interface_read = AAZObjectType() + cls._schema_common_network_interface_read = _schema_common_network_interface_read = AAZObjectType() - network_interface_read = _schema_network_interface_read - network_interface_read.etag = AAZStrType( + common_network_interface_read = _schema_common_network_interface_read + common_network_interface_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_read.extended_location = AAZObjectType( + common_network_interface_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(network_interface_read.extended_location) - network_interface_read.id = AAZStrType() - network_interface_read.location = AAZStrType() - network_interface_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_network_interface_read.extended_location) + common_network_interface_read.id = AAZStrType() + common_network_interface_read.location = AAZStrType() + common_network_interface_read.name = AAZStrType( flags={"read_only": True}, ) - network_interface_read.properties = AAZObjectType( + common_network_interface_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_read.tags = AAZDictType() - network_interface_read.type = AAZStrType( + common_network_interface_read.tags = AAZDictType() + common_network_interface_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties + properties = _schema_common_network_interface_read.properties properties.auxiliary_mode = AAZStrType( serialized_name="auxiliaryMode", ) @@ -1050,7 +906,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="dscpConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.dscp_configuration) + cls._build_schema_common_sub_resource_read(properties.dscp_configuration) properties.enable_accelerated_networking = AAZBoolType( serialized_name="enableAcceleratedNetworking", ) @@ -1074,7 +930,7 @@ def _build_schema_network_interface_read(cls, _schema): properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.nic_type = AAZStrType( serialized_name="nicType", ) @@ -1085,7 +941,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_link_service = AAZObjectType( serialized_name="privateLinkService", ) @@ -1105,7 +961,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="virtualMachine", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.virtual_machine) + cls._build_schema_common_sub_resource_read(properties.virtual_machine) properties.vnet_encryption_supported = AAZBoolType( serialized_name="vnetEncryptionSupported", flags={"read_only": True}, @@ -1114,7 +970,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="workloadType", ) - dns_settings = _schema_network_interface_read.properties.dns_settings + dns_settings = _schema_common_network_interface_read.properties.dns_settings dns_settings.applied_dns_servers = AAZListType( serialized_name="appliedDnsServers", flags={"read_only": True}, @@ -1134,27 +990,27 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - applied_dns_servers = _schema_network_interface_read.properties.dns_settings.applied_dns_servers + applied_dns_servers = _schema_common_network_interface_read.properties.dns_settings.applied_dns_servers applied_dns_servers.Element = AAZStrType() - dns_servers = _schema_network_interface_read.properties.dns_settings.dns_servers + dns_servers = _schema_common_network_interface_read.properties.dns_settings.dns_servers dns_servers.Element = AAZStrType() - hosted_workloads = _schema_network_interface_read.properties.hosted_workloads + hosted_workloads = _schema_common_network_interface_read.properties.hosted_workloads hosted_workloads.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(ip_configurations.Element) - private_link_service = _schema_network_interface_read.properties.private_link_service + private_link_service = _schema_common_network_interface_read.properties.private_link_service private_link_service.etag = AAZStrType( flags={"read_only": True}, ) private_link_service.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_link_service.extended_location) + cls._build_schema_common_extended_location_read(private_link_service.extended_location) private_link_service.id = AAZStrType() private_link_service.location = AAZStrType() private_link_service.name = AAZStrType( @@ -1168,7 +1024,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties properties.access_mode = AAZStrType( serialized_name="accessMode", ) @@ -1205,19 +1061,19 @@ def _build_schema_network_interface_read(cls, _schema): ) properties.visibility = AAZObjectType() - auto_approval = _schema_network_interface_read.properties.private_link_service.properties.auto_approval + auto_approval = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval auto_approval.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions subscriptions.Element = AAZStrType() - fqdns = _schema_network_interface_read.properties.private_link_service.properties.fqdns + fqdns = _schema_common_network_interface_read.properties.private_link_service.properties.fqdns fqdns.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1230,7 +1086,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties properties.primary = AAZBoolType() properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", @@ -1246,20 +1102,20 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - load_balancer_frontend_ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations + load_balancer_frontend_ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations load_balancer_frontend_ip_configurations.Element = AAZObjectType() - cls._build_schema_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) + cls._build_schema_common_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) - network_interfaces = _schema_network_interface_read.properties.private_link_service.properties.network_interfaces + network_interfaces = _schema_common_network_interface_read.properties.private_link_service.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_endpoint_connections = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections + private_endpoint_connections = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1272,7 +1128,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties properties.link_identifier = AAZStrType( serialized_name="linkIdentifier", flags={"read_only": True}, @@ -1281,7 +1137,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_endpoint_location = AAZStrType( serialized_name="privateEndpointLocation", flags={"read_only": True}, @@ -1289,71 +1145,71 @@ def _build_schema_network_interface_read(cls, _schema): properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) - visibility = _schema_network_interface_read.properties.private_link_service.properties.visibility + visibility = _schema_common_network_interface_read.properties.private_link_service.properties.visibility visibility.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.visibility.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.visibility.subscriptions subscriptions.Element = AAZStrType() - tags = _schema_network_interface_read.properties.private_link_service.tags + tags = _schema_common_network_interface_read.properties.private_link_service.tags tags.Element = AAZStrType() - tap_configurations = _schema_network_interface_read.properties.tap_configurations + tap_configurations = _schema_common_network_interface_read.properties.tap_configurations tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(tap_configurations.Element) - tags = _schema_network_interface_read.tags + tags = _schema_common_network_interface_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type - _schema_network_security_group_read = None + _schema_common_network_security_group_read = None @classmethod - def _build_schema_network_security_group_read(cls, _schema): - if cls._schema_network_security_group_read is not None: - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + def _build_schema_common_network_security_group_read(cls, _schema): + if cls._schema_common_network_security_group_read is not None: + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type return - cls._schema_network_security_group_read = _schema_network_security_group_read = AAZObjectType() + cls._schema_common_network_security_group_read = _schema_common_network_security_group_read = AAZObjectType() - network_security_group_read = _schema_network_security_group_read - network_security_group_read.etag = AAZStrType( + common_network_security_group_read = _schema_common_network_security_group_read + common_network_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.id = AAZStrType() - network_security_group_read.location = AAZStrType() - network_security_group_read.name = AAZStrType( + common_network_security_group_read.id = AAZStrType() + common_network_security_group_read.location = AAZStrType() + common_network_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.properties = AAZObjectType( + common_network_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_security_group_read.tags = AAZDictType() - network_security_group_read.type = AAZStrType( + common_network_security_group_read.tags = AAZDictType() + common_network_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties + properties = _schema_common_network_security_group_read.properties properties.default_security_rules = AAZListType( serialized_name="defaultSecurityRules", flags={"read_only": True}, @@ -1384,14 +1240,14 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - default_security_rules = _schema_network_security_group_read.properties.default_security_rules + default_security_rules = _schema_common_network_security_group_read.properties.default_security_rules default_security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(default_security_rules.Element) + cls._build_schema_common_security_rule_read(default_security_rules.Element) - flow_logs = _schema_network_security_group_read.properties.flow_logs + flow_logs = _schema_common_network_security_group_read.properties.flow_logs flow_logs.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1409,7 +1265,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - identity = _schema_network_security_group_read.properties.flow_logs.Element.identity + identity = _schema_common_network_security_group_read.properties.flow_logs.Element.identity identity.principal_id = AAZStrType( serialized_name="principalId", flags={"read_only": True}, @@ -1423,10 +1279,10 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="userAssignedIdentities", ) - user_assigned_identities = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities + user_assigned_identities = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities user_assigned_identities.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element _element.client_id = AAZStrType( serialized_name="clientId", flags={"read_only": True}, @@ -1436,7 +1292,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties.flow_logs.Element.properties + properties = _schema_common_network_security_group_read.properties.flow_logs.Element.properties properties.enabled = AAZBoolType() properties.enabled_filtering_criteria = AAZStrType( serialized_name="enabledFilteringCriteria", @@ -1468,12 +1324,12 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"required": True}, ) - flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration + flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration flow_analytics_configuration.network_watcher_flow_analytics_configuration = AAZObjectType( serialized_name="networkWatcherFlowAnalyticsConfiguration", ) - network_watcher_flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration + network_watcher_flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration network_watcher_flow_analytics_configuration.enabled = AAZBoolType() network_watcher_flow_analytics_configuration.traffic_analytics_interval = AAZIntType( serialized_name="trafficAnalyticsInterval", @@ -1488,81 +1344,81 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="workspaceResourceId", ) - format = _schema_network_security_group_read.properties.flow_logs.Element.properties.format + format = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.format format.type = AAZStrType() format.version = AAZIntType() - retention_policy = _schema_network_security_group_read.properties.flow_logs.Element.properties.retention_policy + retention_policy = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.retention_policy retention_policy.days = AAZIntType() retention_policy.enabled = AAZBoolType() - tags = _schema_network_security_group_read.properties.flow_logs.Element.tags + tags = _schema_common_network_security_group_read.properties.flow_logs.Element.tags tags.Element = AAZStrType() - network_interfaces = _schema_network_security_group_read.properties.network_interfaces + network_interfaces = _schema_common_network_security_group_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - security_rules = _schema_network_security_group_read.properties.security_rules + security_rules = _schema_common_network_security_group_read.properties.security_rules security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(security_rules.Element) + cls._build_schema_common_security_rule_read(security_rules.Element) - subnets = _schema_network_security_group_read.properties.subnets + subnets = _schema_common_network_security_group_read.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_network_security_group_read.tags + tags = _schema_common_network_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type - _schema_private_endpoint_read = None + _schema_common_private_endpoint_read = None @classmethod - def _build_schema_private_endpoint_read(cls, _schema): - if cls._schema_private_endpoint_read is not None: - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + def _build_schema_common_private_endpoint_read(cls, _schema): + if cls._schema_common_private_endpoint_read is not None: + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type return - cls._schema_private_endpoint_read = _schema_private_endpoint_read = AAZObjectType( + cls._schema_common_private_endpoint_read = _schema_common_private_endpoint_read = AAZObjectType( flags={"read_only": True} ) - private_endpoint_read = _schema_private_endpoint_read - private_endpoint_read.etag = AAZStrType( + common_private_endpoint_read = _schema_common_private_endpoint_read + common_private_endpoint_read.etag = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.extended_location = AAZObjectType( + common_private_endpoint_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_endpoint_read.extended_location) - private_endpoint_read.id = AAZStrType() - private_endpoint_read.location = AAZStrType() - private_endpoint_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_private_endpoint_read.extended_location) + common_private_endpoint_read.id = AAZStrType() + common_private_endpoint_read.location = AAZStrType() + common_private_endpoint_read.name = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.properties = AAZObjectType( + common_private_endpoint_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_endpoint_read.tags = AAZDictType() - private_endpoint_read.type = AAZStrType( + common_private_endpoint_read.tags = AAZDictType() + common_private_endpoint_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties + properties = _schema_common_private_endpoint_read.properties properties.application_security_groups = AAZListType( serialized_name="applicationSecurityGroups", ) @@ -1593,28 +1449,28 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - application_security_groups = _schema_private_endpoint_read.properties.application_security_groups + application_security_groups = _schema_common_private_endpoint_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - custom_dns_configs = _schema_private_endpoint_read.properties.custom_dns_configs + custom_dns_configs = _schema_common_private_endpoint_read.properties.custom_dns_configs custom_dns_configs.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.custom_dns_configs.Element + _element = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element _element.fqdn = AAZStrType() _element.ip_addresses = AAZListType( serialized_name="ipAddresses", ) - ip_addresses = _schema_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses + ip_addresses = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses ip_addresses.Element = AAZStrType() - ip_configurations = _schema_private_endpoint_read.properties.ip_configurations + ip_configurations = _schema_common_private_endpoint_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.ip_configurations.Element + _element = _schema_common_private_endpoint_read.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1626,7 +1482,7 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties.ip_configurations.Element.properties + properties = _schema_common_private_endpoint_read.properties.ip_configurations.Element.properties properties.group_id = AAZStrType( serialized_name="groupId", ) @@ -1637,88 +1493,88 @@ def _build_schema_private_endpoint_read(cls, _schema): serialized_name="privateIPAddress", ) - manual_private_link_service_connections = _schema_private_endpoint_read.properties.manual_private_link_service_connections + manual_private_link_service_connections = _schema_common_private_endpoint_read.properties.manual_private_link_service_connections manual_private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(manual_private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(manual_private_link_service_connections.Element) - network_interfaces = _schema_private_endpoint_read.properties.network_interfaces + network_interfaces = _schema_common_private_endpoint_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_link_service_connections = _schema_private_endpoint_read.properties.private_link_service_connections + private_link_service_connections = _schema_common_private_endpoint_read.properties.private_link_service_connections private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(private_link_service_connections.Element) - tags = _schema_private_endpoint_read.tags + tags = _schema_common_private_endpoint_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type - _schema_private_link_service_connection_state_read = None + _schema_common_private_link_service_connection_state_read = None @classmethod - def _build_schema_private_link_service_connection_state_read(cls, _schema): - if cls._schema_private_link_service_connection_state_read is not None: - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + def _build_schema_common_private_link_service_connection_state_read(cls, _schema): + if cls._schema_common_private_link_service_connection_state_read is not None: + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status return - cls._schema_private_link_service_connection_state_read = _schema_private_link_service_connection_state_read = AAZObjectType() + cls._schema_common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read = AAZObjectType() - private_link_service_connection_state_read = _schema_private_link_service_connection_state_read - private_link_service_connection_state_read.actions_required = AAZStrType( + common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read + common_private_link_service_connection_state_read.actions_required = AAZStrType( serialized_name="actionsRequired", ) - private_link_service_connection_state_read.description = AAZStrType() - private_link_service_connection_state_read.status = AAZStrType() + common_private_link_service_connection_state_read.description = AAZStrType() + common_private_link_service_connection_state_read.status = AAZStrType() - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status - _schema_private_link_service_connection_read = None + _schema_common_private_link_service_connection_read = None @classmethod - def _build_schema_private_link_service_connection_read(cls, _schema): - if cls._schema_private_link_service_connection_read is not None: - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + def _build_schema_common_private_link_service_connection_read(cls, _schema): + if cls._schema_common_private_link_service_connection_read is not None: + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type return - cls._schema_private_link_service_connection_read = _schema_private_link_service_connection_read = AAZObjectType() + cls._schema_common_private_link_service_connection_read = _schema_common_private_link_service_connection_read = AAZObjectType() - private_link_service_connection_read = _schema_private_link_service_connection_read - private_link_service_connection_read.etag = AAZStrType( + common_private_link_service_connection_read = _schema_common_private_link_service_connection_read + common_private_link_service_connection_read.etag = AAZStrType( flags={"read_only": True}, ) - private_link_service_connection_read.id = AAZStrType() - private_link_service_connection_read.name = AAZStrType() - private_link_service_connection_read.properties = AAZObjectType( + common_private_link_service_connection_read.id = AAZStrType() + common_private_link_service_connection_read.name = AAZStrType() + common_private_link_service_connection_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_link_service_connection_read.type = AAZStrType( + common_private_link_service_connection_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_link_service_connection_read.properties + properties = _schema_common_private_link_service_connection_read.properties properties.group_ids = AAZListType( serialized_name="groupIds", ) properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.private_link_service_id = AAZStrType( serialized_name="privateLinkServiceId", ) @@ -1730,58 +1586,58 @@ def _build_schema_private_link_service_connection_read(cls, _schema): serialized_name="requestMessage", ) - group_ids = _schema_private_link_service_connection_read.properties.group_ids + group_ids = _schema_common_private_link_service_connection_read.properties.group_ids group_ids.Element = AAZStrType() - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type - _schema_public_ip_address_read = None + _schema_common_public_ip_address_read = None @classmethod - def _build_schema_public_ip_address_read(cls, _schema): - if cls._schema_public_ip_address_read is not None: - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + def _build_schema_common_public_ip_address_read(cls, _schema): + if cls._schema_common_public_ip_address_read is not None: + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones return - cls._schema_public_ip_address_read = _schema_public_ip_address_read = AAZObjectType() + cls._schema_common_public_ip_address_read = _schema_common_public_ip_address_read = AAZObjectType() - public_ip_address_read = _schema_public_ip_address_read - public_ip_address_read.etag = AAZStrType( + common_public_ip_address_read = _schema_common_public_ip_address_read + common_public_ip_address_read.etag = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.extended_location = AAZObjectType( + common_public_ip_address_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(public_ip_address_read.extended_location) - public_ip_address_read.id = AAZStrType() - public_ip_address_read.location = AAZStrType() - public_ip_address_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_public_ip_address_read.extended_location) + common_public_ip_address_read.id = AAZStrType() + common_public_ip_address_read.location = AAZStrType() + common_public_ip_address_read.name = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.properties = AAZObjectType( + common_public_ip_address_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - public_ip_address_read.sku = AAZObjectType() - public_ip_address_read.tags = AAZDictType() - public_ip_address_read.type = AAZStrType( + common_public_ip_address_read.sku = AAZObjectType() + common_public_ip_address_read.tags = AAZDictType() + common_public_ip_address_read.type = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.zones = AAZListType() + common_public_ip_address_read.zones = AAZListType() - properties = _schema_public_ip_address_read.properties + properties = _schema_common_public_ip_address_read.properties properties.ddos_settings = AAZObjectType( serialized_name="ddosSettings", ) @@ -1801,14 +1657,14 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="ipConfiguration", flags={"read_only": True}, ) - cls._build_schema_ip_configuration_read(properties.ip_configuration) + cls._build_schema_common_ip_configuration_read(properties.ip_configuration) properties.ip_tags = AAZListType( serialized_name="ipTags", ) properties.linked_public_ip_address = AAZObjectType( serialized_name="linkedPublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.linked_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.linked_public_ip_address) properties.migration_phase = AAZStrType( serialized_name="migrationPhase", ) @@ -1828,7 +1684,7 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.resource_guid = AAZStrType( serialized_name="resourceGuid", flags={"read_only": True}, @@ -1836,18 +1692,22 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_public_ip_address = AAZObjectType( serialized_name="servicePublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.service_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.service_public_ip_address) - ddos_settings = _schema_public_ip_address_read.properties.ddos_settings + ddos_settings = _schema_common_public_ip_address_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) ddos_settings.ddos_protection_plan = AAZObjectType( serialized_name="ddosProtectionPlan", ) - cls._build_schema_sub_resource_read(ddos_settings.ddos_protection_plan) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_protection_plan) ddos_settings.protection_mode = AAZStrType( serialized_name="protectionMode", ) - dns_settings = _schema_public_ip_address_read.properties.dns_settings + dns_settings = _schema_common_public_ip_address_read.properties.dns_settings dns_settings.domain_name_label = AAZStrType( serialized_name="domainNameLabel", ) @@ -1859,16 +1719,16 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="reverseFqdn", ) - ip_tags = _schema_public_ip_address_read.properties.ip_tags + ip_tags = _schema_common_public_ip_address_read.properties.ip_tags ip_tags.Element = AAZObjectType() - _element = _schema_public_ip_address_read.properties.ip_tags.Element + _element = _schema_common_public_ip_address_read.properties.ip_tags.Element _element.ip_tag_type = AAZStrType( serialized_name="ipTagType", ) _element.tag = AAZStrType() - nat_gateway = _schema_public_ip_address_read.properties.nat_gateway + nat_gateway = _schema_common_public_ip_address_read.properties.nat_gateway nat_gateway.etag = AAZStrType( flags={"read_only": True}, ) @@ -1887,10 +1747,11 @@ def _build_schema_public_ip_address_read(cls, _schema): ) nat_gateway.zones = AAZListType() - properties = _schema_public_ip_address_read.properties.nat_gateway.properties + properties = _schema_common_public_ip_address_read.properties.nat_gateway.properties properties.idle_timeout_in_minutes = AAZIntType( serialized_name="idleTimeoutInMinutes", ) + properties.nat64 = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -1914,91 +1775,93 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.source_virtual_network = AAZObjectType( serialized_name="sourceVirtualNetwork", ) - cls._build_schema_sub_resource_read(properties.source_virtual_network) + cls._build_schema_common_sub_resource_read(properties.source_virtual_network) properties.subnets = AAZListType( flags={"read_only": True}, ) - public_ip_addresses = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses + public_ip_addresses = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses public_ip_addresses.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses.Element) - public_ip_addresses_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 + public_ip_addresses_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 public_ip_addresses_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses_v6.Element) - public_ip_prefixes = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes + public_ip_prefixes = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes public_ip_prefixes.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes.Element) - public_ip_prefixes_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 + public_ip_prefixes_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 public_ip_prefixes_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes_v6.Element) - subnets = _schema_public_ip_address_read.properties.nat_gateway.properties.subnets + subnets = _schema_common_public_ip_address_read.properties.nat_gateway.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_sub_resource_read(subnets.Element) + cls._build_schema_common_sub_resource_read(subnets.Element) - sku = _schema_public_ip_address_read.properties.nat_gateway.sku + sku = _schema_common_public_ip_address_read.properties.nat_gateway.sku sku.name = AAZStrType() - tags = _schema_public_ip_address_read.properties.nat_gateway.tags + tags = _schema_common_public_ip_address_read.properties.nat_gateway.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.properties.nat_gateway.zones + zones = _schema_common_public_ip_address_read.properties.nat_gateway.zones zones.Element = AAZStrType() - sku = _schema_public_ip_address_read.sku + sku = _schema_common_public_ip_address_read.sku sku.name = AAZStrType() sku.tier = AAZStrType() - tags = _schema_public_ip_address_read.tags + tags = _schema_common_public_ip_address_read.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.zones + zones = _schema_common_public_ip_address_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones - _schema_security_rule_read = None + _schema_common_security_rule_read = None @classmethod - def _build_schema_security_rule_read(cls, _schema): - if cls._schema_security_rule_read is not None: - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + def _build_schema_common_security_rule_read(cls, _schema): + if cls._schema_common_security_rule_read is not None: + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type return - cls._schema_security_rule_read = _schema_security_rule_read = AAZObjectType() + cls._schema_common_security_rule_read = _schema_common_security_rule_read = AAZObjectType() - security_rule_read = _schema_security_rule_read - security_rule_read.etag = AAZStrType( + common_security_rule_read = _schema_common_security_rule_read + common_security_rule_read.etag = AAZStrType( flags={"read_only": True}, ) - security_rule_read.id = AAZStrType() - security_rule_read.name = AAZStrType() - security_rule_read.properties = AAZObjectType( + common_security_rule_read.id = AAZStrType() + common_security_rule_read.name = AAZStrType() + common_security_rule_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - security_rule_read.type = AAZStrType() + common_security_rule_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_security_rule_read.properties + properties = _schema_common_security_rule_read.properties properties.access = AAZStrType( flags={"required": True}, ) @@ -2047,75 +1910,77 @@ def _build_schema_security_rule_read(cls, _schema): serialized_name="sourcePortRanges", ) - destination_address_prefixes = _schema_security_rule_read.properties.destination_address_prefixes + destination_address_prefixes = _schema_common_security_rule_read.properties.destination_address_prefixes destination_address_prefixes.Element = AAZStrType() - destination_application_security_groups = _schema_security_rule_read.properties.destination_application_security_groups + destination_application_security_groups = _schema_common_security_rule_read.properties.destination_application_security_groups destination_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(destination_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(destination_application_security_groups.Element) - destination_port_ranges = _schema_security_rule_read.properties.destination_port_ranges + destination_port_ranges = _schema_common_security_rule_read.properties.destination_port_ranges destination_port_ranges.Element = AAZStrType() - source_address_prefixes = _schema_security_rule_read.properties.source_address_prefixes + source_address_prefixes = _schema_common_security_rule_read.properties.source_address_prefixes source_address_prefixes.Element = AAZStrType() - source_application_security_groups = _schema_security_rule_read.properties.source_application_security_groups + source_application_security_groups = _schema_common_security_rule_read.properties.source_application_security_groups source_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(source_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(source_application_security_groups.Element) - source_port_ranges = _schema_security_rule_read.properties.source_port_ranges + source_port_ranges = _schema_common_security_rule_read.properties.source_port_ranges source_port_ranges.Element = AAZStrType() - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type - _schema_sub_resource_read = None + _schema_common_sub_resource_read = None @classmethod - def _build_schema_sub_resource_read(cls, _schema): - if cls._schema_sub_resource_read is not None: - _schema.id = cls._schema_sub_resource_read.id + def _build_schema_common_sub_resource_read(cls, _schema): + if cls._schema_common_sub_resource_read is not None: + _schema.id = cls._schema_common_sub_resource_read.id return - cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType( + cls._schema_common_sub_resource_read = _schema_common_sub_resource_read = AAZObjectType( flags={"read_only": True} ) - sub_resource_read = _schema_sub_resource_read - sub_resource_read.id = AAZStrType() + common_sub_resource_read = _schema_common_sub_resource_read + common_sub_resource_read.id = AAZStrType() - _schema.id = cls._schema_sub_resource_read.id + _schema.id = cls._schema_common_sub_resource_read.id - _schema_subnet_read = None + _schema_common_subnet_read = None @classmethod - def _build_schema_subnet_read(cls, _schema): - if cls._schema_subnet_read is not None: - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + def _build_schema_common_subnet_read(cls, _schema): + if cls._schema_common_subnet_read is not None: + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type return - cls._schema_subnet_read = _schema_subnet_read = AAZObjectType() + cls._schema_common_subnet_read = _schema_common_subnet_read = AAZObjectType() - subnet_read = _schema_subnet_read - subnet_read.etag = AAZStrType( + common_subnet_read = _schema_common_subnet_read + common_subnet_read.etag = AAZStrType( flags={"read_only": True}, ) - subnet_read.id = AAZStrType() - subnet_read.name = AAZStrType() - subnet_read.properties = AAZObjectType( + common_subnet_read.id = AAZStrType() + common_subnet_read.name = AAZStrType() + common_subnet_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - subnet_read.type = AAZStrType() + common_subnet_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties + properties = _schema_common_subnet_read.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -2146,11 +2011,11 @@ def _build_schema_subnet_read(cls, _schema): properties.nat_gateway = AAZObjectType( serialized_name="natGateway", ) - cls._build_schema_sub_resource_read(properties.nat_gateway) + cls._build_schema_common_sub_resource_read(properties.nat_gateway) properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.private_endpoint_network_policies = AAZStrType( serialized_name="privateEndpointNetworkPolicies", ) @@ -2188,18 +2053,18 @@ def _build_schema_subnet_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.sharing_scope = AAZStrType( serialized_name="sharingScope", ) - address_prefixes = _schema_subnet_read.properties.address_prefixes + address_prefixes = _schema_common_subnet_read.properties.address_prefixes address_prefixes.Element = AAZStrType() - application_gateway_ip_configurations = _schema_subnet_read.properties.application_gateway_ip_configurations + application_gateway_ip_configurations = _schema_common_subnet_read.properties.application_gateway_ip_configurations application_gateway_ip_configurations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.application_gateway_ip_configurations.Element + _element = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2212,18 +2077,18 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.application_gateway_ip_configurations.Element.properties + properties = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) - delegations = _schema_subnet_read.properties.delegations + delegations = _schema_common_subnet_read.properties.delegations delegations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.delegations.Element + _element = _schema_common_subnet_read.properties.delegations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2234,7 +2099,7 @@ def _build_schema_subnet_read(cls, _schema): ) _element.type = AAZStrType() - properties = _schema_subnet_read.properties.delegations.Element.properties + properties = _schema_common_subnet_read.properties.delegations.Element.properties properties.actions = AAZListType( flags={"read_only": True}, ) @@ -2246,17 +2111,17 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceName", ) - actions = _schema_subnet_read.properties.delegations.Element.properties.actions + actions = _schema_common_subnet_read.properties.delegations.Element.properties.actions actions.Element = AAZStrType() - ip_allocations = _schema_subnet_read.properties.ip_allocations + ip_allocations = _schema_common_subnet_read.properties.ip_allocations ip_allocations.Element = AAZObjectType() - cls._build_schema_sub_resource_read(ip_allocations.Element) + cls._build_schema_common_sub_resource_read(ip_allocations.Element) - ip_configuration_profiles = _schema_subnet_read.properties.ip_configuration_profiles + ip_configuration_profiles = _schema_common_subnet_read.properties.ip_configuration_profiles ip_configuration_profiles.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ip_configuration_profiles.Element + _element = _schema_common_subnet_read.properties.ip_configuration_profiles.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2269,22 +2134,22 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.ip_configuration_profiles.Element.properties + properties = _schema_common_subnet_read.properties.ip_configuration_profiles.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - ip_configurations = _schema_subnet_read.properties.ip_configurations + ip_configurations = _schema_common_subnet_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_ip_configuration_read(ip_configurations.Element) - ipam_pool_prefix_allocations = _schema_subnet_read.properties.ipam_pool_prefix_allocations + ipam_pool_prefix_allocations = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations ipam_pool_prefix_allocations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element + _element = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element _element.allocated_address_prefixes = AAZListType( serialized_name="allocatedAddressPrefixes", flags={"read_only": True}, @@ -2296,20 +2161,20 @@ def _build_schema_subnet_read(cls, _schema): flags={"client_flatten": True}, ) - allocated_address_prefixes = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes + allocated_address_prefixes = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes allocated_address_prefixes.Element = AAZStrType() - pool = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool + pool = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool pool.id = AAZStrType() - private_endpoints = _schema_subnet_read.properties.private_endpoints + private_endpoints = _schema_common_subnet_read.properties.private_endpoints private_endpoints.Element = AAZObjectType() - cls._build_schema_private_endpoint_read(private_endpoints.Element) + cls._build_schema_common_private_endpoint_read(private_endpoints.Element) - resource_navigation_links = _schema_subnet_read.properties.resource_navigation_links + resource_navigation_links = _schema_common_subnet_read.properties.resource_navigation_links resource_navigation_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.resource_navigation_links.Element + _element = _schema_common_subnet_read.properties.resource_navigation_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2324,7 +2189,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.resource_navigation_links.Element.properties + properties = _schema_common_subnet_read.properties.resource_navigation_links.Element.properties properties.link = AAZStrType() properties.linked_resource_type = AAZStrType( serialized_name="linkedResourceType", @@ -2334,7 +2199,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - route_table = _schema_subnet_read.properties.route_table + route_table = _schema_common_subnet_read.properties.route_table route_table.etag = AAZStrType( flags={"read_only": True}, ) @@ -2351,10 +2216,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.route_table.properties + properties = _schema_common_subnet_read.properties.route_table.properties properties.disable_bgp_route_propagation = AAZBoolType( serialized_name="disableBgpRoutePropagation", ) + properties.disable_peering_route = AAZStrType( + serialized_name="disablePeeringRoute", + ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -2368,10 +2236,10 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - routes = _schema_subnet_read.properties.route_table.properties.routes + routes = _schema_common_subnet_read.properties.route_table.properties.routes routes.Element = AAZObjectType() - _element = _schema_subnet_read.properties.route_table.properties.routes.Element + _element = _schema_common_subnet_read.properties.route_table.properties.routes.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2380,9 +2248,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.route_table.properties.routes.Element.properties + properties = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -2390,6 +2260,9 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="hasBgpOverride", flags={"read_only": True}, ) + properties.next_hop = AAZObjectType( + serialized_name="nextHop", + ) properties.next_hop_ip_address = AAZStrType( serialized_name="nextHopIpAddress", ) @@ -2402,17 +2275,26 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - subnets = _schema_subnet_read.properties.route_table.properties.subnets + next_hop = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop + next_hop.next_hop_ip_addresses = AAZListType( + serialized_name="nextHopIpAddresses", + flags={"required": True}, + ) + + next_hop_ip_addresses = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop.next_hop_ip_addresses + next_hop_ip_addresses.Element = AAZStrType() + + subnets = _schema_common_subnet_read.properties.route_table.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.route_table.tags + tags = _schema_common_subnet_read.properties.route_table.tags tags.Element = AAZStrType() - service_association_links = _schema_subnet_read.properties.service_association_links + service_association_links = _schema_common_subnet_read.properties.service_association_links service_association_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_association_links.Element + _element = _schema_common_subnet_read.properties.service_association_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2425,7 +2307,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_association_links.Element.properties + properties = _schema_common_subnet_read.properties.service_association_links.Element.properties properties.allow_delete = AAZBoolType( serialized_name="allowDelete", ) @@ -2439,13 +2321,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - locations = _schema_subnet_read.properties.service_association_links.Element.properties.locations + locations = _schema_common_subnet_read.properties.service_association_links.Element.properties.locations locations.Element = AAZStrType() - service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies + service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies service_endpoint_policies.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2465,7 +2347,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties properties.contextual_service_endpoint_policies = AAZListType( serialized_name="contextualServiceEndpointPolicies", ) @@ -2487,13 +2369,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - contextual_service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies + contextual_service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies contextual_service_endpoint_policies.Element = AAZStrType() - service_endpoint_policy_definitions = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions + service_endpoint_policy_definitions = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions service_endpoint_policy_definitions.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2502,9 +2384,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties properties.description = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", @@ -2515,82 +2399,82 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceResources", ) - service_resources = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources + service_resources = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources service_resources.Element = AAZStrType() - subnets = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.subnets + subnets = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.service_endpoint_policies.Element.tags + tags = _schema_common_subnet_read.properties.service_endpoint_policies.Element.tags tags.Element = AAZStrType() - service_endpoints = _schema_subnet_read.properties.service_endpoints + service_endpoints = _schema_common_subnet_read.properties.service_endpoints service_endpoints.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoints.Element + _element = _schema_common_subnet_read.properties.service_endpoints.Element _element.locations = AAZListType() _element.network_identifier = AAZObjectType( serialized_name="networkIdentifier", ) - cls._build_schema_sub_resource_read(_element.network_identifier) + cls._build_schema_common_sub_resource_read(_element.network_identifier) _element.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) _element.service = AAZStrType() - locations = _schema_subnet_read.properties.service_endpoints.Element.locations + locations = _schema_common_subnet_read.properties.service_endpoints.Element.locations locations.Element = AAZStrType() - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type - _schema_virtual_network_tap_read = None + _schema_common_virtual_network_tap_read = None @classmethod - def _build_schema_virtual_network_tap_read(cls, _schema): - if cls._schema_virtual_network_tap_read is not None: - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + def _build_schema_common_virtual_network_tap_read(cls, _schema): + if cls._schema_common_virtual_network_tap_read is not None: + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type return - cls._schema_virtual_network_tap_read = _schema_virtual_network_tap_read = AAZObjectType() + cls._schema_common_virtual_network_tap_read = _schema_common_virtual_network_tap_read = AAZObjectType() - virtual_network_tap_read = _schema_virtual_network_tap_read - virtual_network_tap_read.etag = AAZStrType( + common_virtual_network_tap_read = _schema_common_virtual_network_tap_read + common_virtual_network_tap_read.etag = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.id = AAZStrType() - virtual_network_tap_read.location = AAZStrType() - virtual_network_tap_read.name = AAZStrType( + common_virtual_network_tap_read.id = AAZStrType() + common_virtual_network_tap_read.location = AAZStrType() + common_virtual_network_tap_read.name = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.properties = AAZObjectType( + common_virtual_network_tap_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - virtual_network_tap_read.tags = AAZDictType() - virtual_network_tap_read.type = AAZStrType( + common_virtual_network_tap_read.tags = AAZDictType() + common_virtual_network_tap_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_virtual_network_tap_read.properties + properties = _schema_common_virtual_network_tap_read.properties properties.destination_load_balancer_front_end_ip_configuration = AAZObjectType( serialized_name="destinationLoadBalancerFrontEndIPConfiguration", ) - cls._build_schema_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) + cls._build_schema_common_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) properties.destination_network_interface_ip_configuration = AAZObjectType( serialized_name="destinationNetworkInterfaceIPConfiguration", ) - cls._build_schema_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) properties.destination_port = AAZIntType( serialized_name="destinationPort", ) @@ -2607,20 +2491,20 @@ def _build_schema_virtual_network_tap_read(cls, _schema): flags={"read_only": True}, ) - network_interface_tap_configurations = _schema_virtual_network_tap_read.properties.network_interface_tap_configurations + network_interface_tap_configurations = _schema_common_virtual_network_tap_read.properties.network_interface_tap_configurations network_interface_tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) - tags = _schema_virtual_network_tap_read.tags + tags = _schema_common_virtual_network_tap_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type __all__ = ["List"] diff --git a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_show.py b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_show.py index e88dec0473c..2956c822ed5 100644 --- a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_show.py +++ b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2025-05-01", + "version": "2025-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkappliances/{}", "2025-05-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkappliances/{}", "2025-07-01"], ] } @@ -123,7 +123,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2025-05-01", + "api-version", "2025-07-01", required=True, ), } @@ -173,13 +173,16 @@ def _build_schema_on_200(cls): ) properties = cls._schema_on_200.properties - properties.bandwidth_in_gbps = AAZIntType( + properties.bandwidth_in_gbps = AAZFloatType( serialized_name="bandwidthInGbps", ) properties.ip_configurations = AAZListType( serialized_name="ipConfigurations", flags={"read_only": True}, ) + properties.private_ip_address_version = AAZStrType( + serialized_name="privateIPAddressVersion", + ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -189,7 +192,7 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - _ShowHelper._build_schema_subnet_read(properties.subnet) + _ShowHelper._build_schema_common_subnet_read(properties.subnet) ip_configurations = cls._schema_on_200.properties.ip_configurations ip_configurations.Element = AAZObjectType() @@ -232,40 +235,40 @@ def _build_schema_on_200(cls): class _ShowHelper: """Helper class for Show""" - _schema_application_security_group_read = None + _schema_common_application_security_group_read = None @classmethod - def _build_schema_application_security_group_read(cls, _schema): - if cls._schema_application_security_group_read is not None: - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + def _build_schema_common_application_security_group_read(cls, _schema): + if cls._schema_common_application_security_group_read is not None: + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type return - cls._schema_application_security_group_read = _schema_application_security_group_read = AAZObjectType() + cls._schema_common_application_security_group_read = _schema_common_application_security_group_read = AAZObjectType() - application_security_group_read = _schema_application_security_group_read - application_security_group_read.etag = AAZStrType( + common_application_security_group_read = _schema_common_application_security_group_read + common_application_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.id = AAZStrType() - application_security_group_read.location = AAZStrType() - application_security_group_read.name = AAZStrType( + common_application_security_group_read.id = AAZStrType() + common_application_security_group_read.location = AAZStrType() + common_application_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.properties = AAZObjectType( + common_application_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - application_security_group_read.tags = AAZDictType() - application_security_group_read.type = AAZStrType( + common_application_security_group_read.tags = AAZDictType() + common_application_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_application_security_group_read.properties + properties = _schema_common_application_security_group_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -275,69 +278,72 @@ def _build_schema_application_security_group_read(cls, _schema): flags={"read_only": True}, ) - tags = _schema_application_security_group_read.tags + tags = _schema_common_application_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type - _schema_extended_location_read = None + _schema_common_extended_location_read = None @classmethod - def _build_schema_extended_location_read(cls, _schema): - if cls._schema_extended_location_read is not None: - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + def _build_schema_common_extended_location_read(cls, _schema): + if cls._schema_common_extended_location_read is not None: + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type return - cls._schema_extended_location_read = _schema_extended_location_read = AAZObjectType() + cls._schema_common_extended_location_read = _schema_common_extended_location_read = AAZObjectType() - extended_location_read = _schema_extended_location_read - extended_location_read.name = AAZStrType() - extended_location_read.type = AAZStrType() + common_extended_location_read = _schema_common_extended_location_read + common_extended_location_read.name = AAZStrType() + common_extended_location_read.type = AAZStrType() - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type - _schema_frontend_ip_configuration_read = None + _schema_common_frontend_ip_configuration_read = None @classmethod - def _build_schema_frontend_ip_configuration_read(cls, _schema): - if cls._schema_frontend_ip_configuration_read is not None: - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + def _build_schema_common_frontend_ip_configuration_read(cls, _schema): + if cls._schema_common_frontend_ip_configuration_read is not None: + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones return - cls._schema_frontend_ip_configuration_read = _schema_frontend_ip_configuration_read = AAZObjectType() + cls._schema_common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read = AAZObjectType() - frontend_ip_configuration_read = _schema_frontend_ip_configuration_read - frontend_ip_configuration_read.etag = AAZStrType( + common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read + common_frontend_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.id = AAZStrType() - frontend_ip_configuration_read.name = AAZStrType() - frontend_ip_configuration_read.properties = AAZObjectType( + common_frontend_ip_configuration_read.id = AAZStrType() + common_frontend_ip_configuration_read.name = AAZStrType() + common_frontend_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - frontend_ip_configuration_read.type = AAZStrType( + common_frontend_ip_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.zones = AAZListType() + common_frontend_ip_configuration_read.zones = AAZListType() - properties = _schema_frontend_ip_configuration_read.properties + properties = _schema_common_frontend_ip_configuration_read.properties + properties.ddos_settings = AAZObjectType( + serialized_name="ddosSettings", + ) properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.inbound_nat_pools = AAZListType( serialized_name="inboundNatPools", flags={"read_only": True}, @@ -370,66 +376,72 @@ def _build_schema_frontend_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) + + ddos_settings = _schema_common_frontend_ip_configuration_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) - inbound_nat_pools = _schema_frontend_ip_configuration_read.properties.inbound_nat_pools + inbound_nat_pools = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_pools inbound_nat_pools.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_pools.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_pools.Element) - inbound_nat_rules = _schema_frontend_ip_configuration_read.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancing_rules = _schema_frontend_ip_configuration_read.properties.load_balancing_rules + load_balancing_rules = _schema_common_frontend_ip_configuration_read.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_frontend_ip_configuration_read.properties.outbound_rules + outbound_rules = _schema_common_frontend_ip_configuration_read.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - zones = _schema_frontend_ip_configuration_read.zones + zones = _schema_common_frontend_ip_configuration_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones - _schema_ip_configuration_read = None + _schema_common_ip_configuration_read = None @classmethod - def _build_schema_ip_configuration_read(cls, _schema): - if cls._schema_ip_configuration_read is not None: - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + def _build_schema_common_ip_configuration_read(cls, _schema): + if cls._schema_common_ip_configuration_read is not None: + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties return - cls._schema_ip_configuration_read = _schema_ip_configuration_read = AAZObjectType( + cls._schema_common_ip_configuration_read = _schema_common_ip_configuration_read = AAZObjectType( flags={"read_only": True} ) - ip_configuration_read = _schema_ip_configuration_read - ip_configuration_read.etag = AAZStrType( + common_ip_configuration_read = _schema_common_ip_configuration_read + common_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - ip_configuration_read.id = AAZStrType() - ip_configuration_read.name = AAZStrType() - ip_configuration_read.properties = AAZObjectType( + common_ip_configuration_read.id = AAZStrType() + common_ip_configuration_read.name = AAZStrType() + common_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_ip_configuration_read.properties + properties = _schema_common_ip_configuration_read.properties properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", ) @@ -443,41 +455,43 @@ def _build_schema_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties - _schema_network_interface_ip_configuration_read = None + _schema_common_network_interface_ip_configuration_read = None @classmethod - def _build_schema_network_interface_ip_configuration_read(cls, _schema): - if cls._schema_network_interface_ip_configuration_read is not None: - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + def _build_schema_common_network_interface_ip_configuration_read(cls, _schema): + if cls._schema_common_network_interface_ip_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type return - cls._schema_network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read = AAZObjectType() + cls._schema_common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read = AAZObjectType() - network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read - network_interface_ip_configuration_read.etag = AAZStrType( + common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read + common_network_interface_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_ip_configuration_read.id = AAZStrType() - network_interface_ip_configuration_read.name = AAZStrType() - network_interface_ip_configuration_read.properties = AAZObjectType( + common_network_interface_ip_configuration_read.id = AAZStrType() + common_network_interface_ip_configuration_read.name = AAZStrType() + common_network_interface_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_ip_configuration_read.type = AAZStrType() + common_network_interface_ip_configuration_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_network_interface_ip_configuration_read.properties + properties = _schema_common_network_interface_ip_configuration_read.properties properties.application_gateway_backend_address_pools = AAZListType( serialized_name="applicationGatewayBackendAddressPools", ) @@ -487,7 +501,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.load_balancer_backend_address_pools = AAZListType( serialized_name="loadBalancerBackendAddressPools", ) @@ -519,17 +533,17 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) properties.virtual_network_taps = AAZListType( serialized_name="virtualNetworkTaps", ) - application_gateway_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools + application_gateway_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools application_gateway_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -542,7 +556,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties properties.backend_addresses = AAZListType( serialized_name="backendAddresses", ) @@ -555,27 +569,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - backend_addresses = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses + backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element _element.fqdn = AAZStrType() _element.ip_address = AAZStrType( serialized_name="ipAddress", ) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - application_security_groups = _schema_network_interface_ip_configuration_read.properties.application_security_groups + application_security_groups = _schema_common_network_interface_ip_configuration_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - load_balancer_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools + load_balancer_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools load_balancer_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -588,7 +602,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties properties.backend_ip_configurations = AAZListType( serialized_name="backendIPConfigurations", flags={"read_only": True}, @@ -612,7 +626,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="outboundRule", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.outbound_rule) + cls._build_schema_common_sub_resource_read(properties.outbound_rule) properties.outbound_rules = AAZListType( serialized_name="outboundRules", flags={"read_only": True}, @@ -630,26 +644,26 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancer_backend_addresses = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses + load_balancer_backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses load_balancer_backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element _element.name = AAZStrType() _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties properties.admin_state = AAZStrType( serialized_name="adminState", ) @@ -663,23 +677,23 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.load_balancer_frontend_ip_configuration = AAZObjectType( serialized_name="loadBalancerFrontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.load_balancer_frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.load_balancer_frontend_ip_configuration) properties.network_interface_ip_configuration = AAZObjectType( serialized_name="networkInterfaceIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.network_interface_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.network_interface_ip_configuration) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - inbound_nat_rules_port_mapping = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping + inbound_nat_rules_port_mapping = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping inbound_nat_rules_port_mapping.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element _element.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -690,27 +704,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="inboundNatRuleName", ) - load_balancing_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules + load_balancing_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules + outbound_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - tunnel_interfaces = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces + tunnel_interfaces = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces tunnel_interfaces.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element _element.identifier = AAZIntType() _element.port = AAZIntType() _element.protocol = AAZStrType() _element.type = AAZStrType() - load_balancer_inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules + load_balancer_inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules load_balancer_inbound_nat_rules.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -723,16 +737,16 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties properties.backend_address_pool = AAZObjectType( serialized_name="backendAddressPool", ) - cls._build_schema_sub_resource_read(properties.backend_address_pool) + cls._build_schema_common_sub_resource_read(properties.backend_address_pool) properties.backend_ip_configuration = AAZObjectType( serialized_name="backendIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_network_interface_ip_configuration_read(properties.backend_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.backend_ip_configuration) properties.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -745,7 +759,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.frontend_ip_configuration = AAZObjectType( serialized_name="frontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.frontend_ip_configuration) properties.frontend_port = AAZIntType( serialized_name="frontendPort", ) @@ -764,7 +778,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - private_link_connection_properties = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties + private_link_connection_properties = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties private_link_connection_properties.fqdns = AAZListType( flags={"read_only": True}, ) @@ -777,47 +791,47 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - fqdns = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns + fqdns = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns fqdns.Element = AAZStrType() - virtual_network_taps = _schema_network_interface_ip_configuration_read.properties.virtual_network_taps + virtual_network_taps = _schema_common_network_interface_ip_configuration_read.properties.virtual_network_taps virtual_network_taps.Element = AAZObjectType() - cls._build_schema_virtual_network_tap_read(virtual_network_taps.Element) + cls._build_schema_common_virtual_network_tap_read(virtual_network_taps.Element) - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type - _schema_network_interface_tap_configuration_read = None + _schema_common_network_interface_tap_configuration_read = None @classmethod - def _build_schema_network_interface_tap_configuration_read(cls, _schema): - if cls._schema_network_interface_tap_configuration_read is not None: - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + def _build_schema_common_network_interface_tap_configuration_read(cls, _schema): + if cls._schema_common_network_interface_tap_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type return - cls._schema_network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read = AAZObjectType() + cls._schema_common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read = AAZObjectType() - network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read - network_interface_tap_configuration_read.etag = AAZStrType( + common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read + common_network_interface_tap_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_tap_configuration_read.id = AAZStrType() - network_interface_tap_configuration_read.name = AAZStrType() - network_interface_tap_configuration_read.properties = AAZObjectType( + common_network_interface_tap_configuration_read.id = AAZStrType() + common_network_interface_tap_configuration_read.name = AAZStrType() + common_network_interface_tap_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_tap_configuration_read.type = AAZStrType( + common_network_interface_tap_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_tap_configuration_read.properties + properties = _schema_common_network_interface_tap_configuration_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -825,53 +839,53 @@ def _build_schema_network_interface_tap_configuration_read(cls, _schema): properties.virtual_network_tap = AAZObjectType( serialized_name="virtualNetworkTap", ) - cls._build_schema_virtual_network_tap_read(properties.virtual_network_tap) + cls._build_schema_common_virtual_network_tap_read(properties.virtual_network_tap) - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type - _schema_network_interface_read = None + _schema_common_network_interface_read = None @classmethod - def _build_schema_network_interface_read(cls, _schema): - if cls._schema_network_interface_read is not None: - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + def _build_schema_common_network_interface_read(cls, _schema): + if cls._schema_common_network_interface_read is not None: + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type return - cls._schema_network_interface_read = _schema_network_interface_read = AAZObjectType() + cls._schema_common_network_interface_read = _schema_common_network_interface_read = AAZObjectType() - network_interface_read = _schema_network_interface_read - network_interface_read.etag = AAZStrType( + common_network_interface_read = _schema_common_network_interface_read + common_network_interface_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_read.extended_location = AAZObjectType( + common_network_interface_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(network_interface_read.extended_location) - network_interface_read.id = AAZStrType() - network_interface_read.location = AAZStrType() - network_interface_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_network_interface_read.extended_location) + common_network_interface_read.id = AAZStrType() + common_network_interface_read.location = AAZStrType() + common_network_interface_read.name = AAZStrType( flags={"read_only": True}, ) - network_interface_read.properties = AAZObjectType( + common_network_interface_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_read.tags = AAZDictType() - network_interface_read.type = AAZStrType( + common_network_interface_read.tags = AAZDictType() + common_network_interface_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties + properties = _schema_common_network_interface_read.properties properties.auxiliary_mode = AAZStrType( serialized_name="auxiliaryMode", ) @@ -892,7 +906,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="dscpConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.dscp_configuration) + cls._build_schema_common_sub_resource_read(properties.dscp_configuration) properties.enable_accelerated_networking = AAZBoolType( serialized_name="enableAcceleratedNetworking", ) @@ -916,7 +930,7 @@ def _build_schema_network_interface_read(cls, _schema): properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.nic_type = AAZStrType( serialized_name="nicType", ) @@ -927,7 +941,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_link_service = AAZObjectType( serialized_name="privateLinkService", ) @@ -947,7 +961,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="virtualMachine", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.virtual_machine) + cls._build_schema_common_sub_resource_read(properties.virtual_machine) properties.vnet_encryption_supported = AAZBoolType( serialized_name="vnetEncryptionSupported", flags={"read_only": True}, @@ -956,7 +970,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="workloadType", ) - dns_settings = _schema_network_interface_read.properties.dns_settings + dns_settings = _schema_common_network_interface_read.properties.dns_settings dns_settings.applied_dns_servers = AAZListType( serialized_name="appliedDnsServers", flags={"read_only": True}, @@ -976,27 +990,27 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - applied_dns_servers = _schema_network_interface_read.properties.dns_settings.applied_dns_servers + applied_dns_servers = _schema_common_network_interface_read.properties.dns_settings.applied_dns_servers applied_dns_servers.Element = AAZStrType() - dns_servers = _schema_network_interface_read.properties.dns_settings.dns_servers + dns_servers = _schema_common_network_interface_read.properties.dns_settings.dns_servers dns_servers.Element = AAZStrType() - hosted_workloads = _schema_network_interface_read.properties.hosted_workloads + hosted_workloads = _schema_common_network_interface_read.properties.hosted_workloads hosted_workloads.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(ip_configurations.Element) - private_link_service = _schema_network_interface_read.properties.private_link_service + private_link_service = _schema_common_network_interface_read.properties.private_link_service private_link_service.etag = AAZStrType( flags={"read_only": True}, ) private_link_service.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_link_service.extended_location) + cls._build_schema_common_extended_location_read(private_link_service.extended_location) private_link_service.id = AAZStrType() private_link_service.location = AAZStrType() private_link_service.name = AAZStrType( @@ -1010,7 +1024,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties properties.access_mode = AAZStrType( serialized_name="accessMode", ) @@ -1047,19 +1061,19 @@ def _build_schema_network_interface_read(cls, _schema): ) properties.visibility = AAZObjectType() - auto_approval = _schema_network_interface_read.properties.private_link_service.properties.auto_approval + auto_approval = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval auto_approval.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions subscriptions.Element = AAZStrType() - fqdns = _schema_network_interface_read.properties.private_link_service.properties.fqdns + fqdns = _schema_common_network_interface_read.properties.private_link_service.properties.fqdns fqdns.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1072,7 +1086,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties properties.primary = AAZBoolType() properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", @@ -1088,20 +1102,20 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - load_balancer_frontend_ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations + load_balancer_frontend_ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations load_balancer_frontend_ip_configurations.Element = AAZObjectType() - cls._build_schema_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) + cls._build_schema_common_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) - network_interfaces = _schema_network_interface_read.properties.private_link_service.properties.network_interfaces + network_interfaces = _schema_common_network_interface_read.properties.private_link_service.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_endpoint_connections = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections + private_endpoint_connections = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1114,7 +1128,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties properties.link_identifier = AAZStrType( serialized_name="linkIdentifier", flags={"read_only": True}, @@ -1123,7 +1137,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_endpoint_location = AAZStrType( serialized_name="privateEndpointLocation", flags={"read_only": True}, @@ -1131,71 +1145,71 @@ def _build_schema_network_interface_read(cls, _schema): properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) - visibility = _schema_network_interface_read.properties.private_link_service.properties.visibility + visibility = _schema_common_network_interface_read.properties.private_link_service.properties.visibility visibility.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.visibility.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.visibility.subscriptions subscriptions.Element = AAZStrType() - tags = _schema_network_interface_read.properties.private_link_service.tags + tags = _schema_common_network_interface_read.properties.private_link_service.tags tags.Element = AAZStrType() - tap_configurations = _schema_network_interface_read.properties.tap_configurations + tap_configurations = _schema_common_network_interface_read.properties.tap_configurations tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(tap_configurations.Element) - tags = _schema_network_interface_read.tags + tags = _schema_common_network_interface_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type - _schema_network_security_group_read = None + _schema_common_network_security_group_read = None @classmethod - def _build_schema_network_security_group_read(cls, _schema): - if cls._schema_network_security_group_read is not None: - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + def _build_schema_common_network_security_group_read(cls, _schema): + if cls._schema_common_network_security_group_read is not None: + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type return - cls._schema_network_security_group_read = _schema_network_security_group_read = AAZObjectType() + cls._schema_common_network_security_group_read = _schema_common_network_security_group_read = AAZObjectType() - network_security_group_read = _schema_network_security_group_read - network_security_group_read.etag = AAZStrType( + common_network_security_group_read = _schema_common_network_security_group_read + common_network_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.id = AAZStrType() - network_security_group_read.location = AAZStrType() - network_security_group_read.name = AAZStrType( + common_network_security_group_read.id = AAZStrType() + common_network_security_group_read.location = AAZStrType() + common_network_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.properties = AAZObjectType( + common_network_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_security_group_read.tags = AAZDictType() - network_security_group_read.type = AAZStrType( + common_network_security_group_read.tags = AAZDictType() + common_network_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties + properties = _schema_common_network_security_group_read.properties properties.default_security_rules = AAZListType( serialized_name="defaultSecurityRules", flags={"read_only": True}, @@ -1226,14 +1240,14 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - default_security_rules = _schema_network_security_group_read.properties.default_security_rules + default_security_rules = _schema_common_network_security_group_read.properties.default_security_rules default_security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(default_security_rules.Element) + cls._build_schema_common_security_rule_read(default_security_rules.Element) - flow_logs = _schema_network_security_group_read.properties.flow_logs + flow_logs = _schema_common_network_security_group_read.properties.flow_logs flow_logs.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1251,7 +1265,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - identity = _schema_network_security_group_read.properties.flow_logs.Element.identity + identity = _schema_common_network_security_group_read.properties.flow_logs.Element.identity identity.principal_id = AAZStrType( serialized_name="principalId", flags={"read_only": True}, @@ -1265,10 +1279,10 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="userAssignedIdentities", ) - user_assigned_identities = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities + user_assigned_identities = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities user_assigned_identities.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element _element.client_id = AAZStrType( serialized_name="clientId", flags={"read_only": True}, @@ -1278,7 +1292,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties.flow_logs.Element.properties + properties = _schema_common_network_security_group_read.properties.flow_logs.Element.properties properties.enabled = AAZBoolType() properties.enabled_filtering_criteria = AAZStrType( serialized_name="enabledFilteringCriteria", @@ -1310,12 +1324,12 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"required": True}, ) - flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration + flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration flow_analytics_configuration.network_watcher_flow_analytics_configuration = AAZObjectType( serialized_name="networkWatcherFlowAnalyticsConfiguration", ) - network_watcher_flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration + network_watcher_flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration network_watcher_flow_analytics_configuration.enabled = AAZBoolType() network_watcher_flow_analytics_configuration.traffic_analytics_interval = AAZIntType( serialized_name="trafficAnalyticsInterval", @@ -1330,81 +1344,81 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="workspaceResourceId", ) - format = _schema_network_security_group_read.properties.flow_logs.Element.properties.format + format = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.format format.type = AAZStrType() format.version = AAZIntType() - retention_policy = _schema_network_security_group_read.properties.flow_logs.Element.properties.retention_policy + retention_policy = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.retention_policy retention_policy.days = AAZIntType() retention_policy.enabled = AAZBoolType() - tags = _schema_network_security_group_read.properties.flow_logs.Element.tags + tags = _schema_common_network_security_group_read.properties.flow_logs.Element.tags tags.Element = AAZStrType() - network_interfaces = _schema_network_security_group_read.properties.network_interfaces + network_interfaces = _schema_common_network_security_group_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - security_rules = _schema_network_security_group_read.properties.security_rules + security_rules = _schema_common_network_security_group_read.properties.security_rules security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(security_rules.Element) + cls._build_schema_common_security_rule_read(security_rules.Element) - subnets = _schema_network_security_group_read.properties.subnets + subnets = _schema_common_network_security_group_read.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_network_security_group_read.tags + tags = _schema_common_network_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type - _schema_private_endpoint_read = None + _schema_common_private_endpoint_read = None @classmethod - def _build_schema_private_endpoint_read(cls, _schema): - if cls._schema_private_endpoint_read is not None: - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + def _build_schema_common_private_endpoint_read(cls, _schema): + if cls._schema_common_private_endpoint_read is not None: + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type return - cls._schema_private_endpoint_read = _schema_private_endpoint_read = AAZObjectType( + cls._schema_common_private_endpoint_read = _schema_common_private_endpoint_read = AAZObjectType( flags={"read_only": True} ) - private_endpoint_read = _schema_private_endpoint_read - private_endpoint_read.etag = AAZStrType( + common_private_endpoint_read = _schema_common_private_endpoint_read + common_private_endpoint_read.etag = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.extended_location = AAZObjectType( + common_private_endpoint_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_endpoint_read.extended_location) - private_endpoint_read.id = AAZStrType() - private_endpoint_read.location = AAZStrType() - private_endpoint_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_private_endpoint_read.extended_location) + common_private_endpoint_read.id = AAZStrType() + common_private_endpoint_read.location = AAZStrType() + common_private_endpoint_read.name = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.properties = AAZObjectType( + common_private_endpoint_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_endpoint_read.tags = AAZDictType() - private_endpoint_read.type = AAZStrType( + common_private_endpoint_read.tags = AAZDictType() + common_private_endpoint_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties + properties = _schema_common_private_endpoint_read.properties properties.application_security_groups = AAZListType( serialized_name="applicationSecurityGroups", ) @@ -1435,28 +1449,28 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - application_security_groups = _schema_private_endpoint_read.properties.application_security_groups + application_security_groups = _schema_common_private_endpoint_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - custom_dns_configs = _schema_private_endpoint_read.properties.custom_dns_configs + custom_dns_configs = _schema_common_private_endpoint_read.properties.custom_dns_configs custom_dns_configs.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.custom_dns_configs.Element + _element = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element _element.fqdn = AAZStrType() _element.ip_addresses = AAZListType( serialized_name="ipAddresses", ) - ip_addresses = _schema_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses + ip_addresses = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses ip_addresses.Element = AAZStrType() - ip_configurations = _schema_private_endpoint_read.properties.ip_configurations + ip_configurations = _schema_common_private_endpoint_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.ip_configurations.Element + _element = _schema_common_private_endpoint_read.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1468,7 +1482,7 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties.ip_configurations.Element.properties + properties = _schema_common_private_endpoint_read.properties.ip_configurations.Element.properties properties.group_id = AAZStrType( serialized_name="groupId", ) @@ -1479,88 +1493,88 @@ def _build_schema_private_endpoint_read(cls, _schema): serialized_name="privateIPAddress", ) - manual_private_link_service_connections = _schema_private_endpoint_read.properties.manual_private_link_service_connections + manual_private_link_service_connections = _schema_common_private_endpoint_read.properties.manual_private_link_service_connections manual_private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(manual_private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(manual_private_link_service_connections.Element) - network_interfaces = _schema_private_endpoint_read.properties.network_interfaces + network_interfaces = _schema_common_private_endpoint_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_link_service_connections = _schema_private_endpoint_read.properties.private_link_service_connections + private_link_service_connections = _schema_common_private_endpoint_read.properties.private_link_service_connections private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(private_link_service_connections.Element) - tags = _schema_private_endpoint_read.tags + tags = _schema_common_private_endpoint_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type - _schema_private_link_service_connection_state_read = None + _schema_common_private_link_service_connection_state_read = None @classmethod - def _build_schema_private_link_service_connection_state_read(cls, _schema): - if cls._schema_private_link_service_connection_state_read is not None: - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + def _build_schema_common_private_link_service_connection_state_read(cls, _schema): + if cls._schema_common_private_link_service_connection_state_read is not None: + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status return - cls._schema_private_link_service_connection_state_read = _schema_private_link_service_connection_state_read = AAZObjectType() + cls._schema_common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read = AAZObjectType() - private_link_service_connection_state_read = _schema_private_link_service_connection_state_read - private_link_service_connection_state_read.actions_required = AAZStrType( + common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read + common_private_link_service_connection_state_read.actions_required = AAZStrType( serialized_name="actionsRequired", ) - private_link_service_connection_state_read.description = AAZStrType() - private_link_service_connection_state_read.status = AAZStrType() + common_private_link_service_connection_state_read.description = AAZStrType() + common_private_link_service_connection_state_read.status = AAZStrType() - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status - _schema_private_link_service_connection_read = None + _schema_common_private_link_service_connection_read = None @classmethod - def _build_schema_private_link_service_connection_read(cls, _schema): - if cls._schema_private_link_service_connection_read is not None: - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + def _build_schema_common_private_link_service_connection_read(cls, _schema): + if cls._schema_common_private_link_service_connection_read is not None: + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type return - cls._schema_private_link_service_connection_read = _schema_private_link_service_connection_read = AAZObjectType() + cls._schema_common_private_link_service_connection_read = _schema_common_private_link_service_connection_read = AAZObjectType() - private_link_service_connection_read = _schema_private_link_service_connection_read - private_link_service_connection_read.etag = AAZStrType( + common_private_link_service_connection_read = _schema_common_private_link_service_connection_read + common_private_link_service_connection_read.etag = AAZStrType( flags={"read_only": True}, ) - private_link_service_connection_read.id = AAZStrType() - private_link_service_connection_read.name = AAZStrType() - private_link_service_connection_read.properties = AAZObjectType( + common_private_link_service_connection_read.id = AAZStrType() + common_private_link_service_connection_read.name = AAZStrType() + common_private_link_service_connection_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_link_service_connection_read.type = AAZStrType( + common_private_link_service_connection_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_link_service_connection_read.properties + properties = _schema_common_private_link_service_connection_read.properties properties.group_ids = AAZListType( serialized_name="groupIds", ) properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.private_link_service_id = AAZStrType( serialized_name="privateLinkServiceId", ) @@ -1572,58 +1586,58 @@ def _build_schema_private_link_service_connection_read(cls, _schema): serialized_name="requestMessage", ) - group_ids = _schema_private_link_service_connection_read.properties.group_ids + group_ids = _schema_common_private_link_service_connection_read.properties.group_ids group_ids.Element = AAZStrType() - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type - _schema_public_ip_address_read = None + _schema_common_public_ip_address_read = None @classmethod - def _build_schema_public_ip_address_read(cls, _schema): - if cls._schema_public_ip_address_read is not None: - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + def _build_schema_common_public_ip_address_read(cls, _schema): + if cls._schema_common_public_ip_address_read is not None: + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones return - cls._schema_public_ip_address_read = _schema_public_ip_address_read = AAZObjectType() + cls._schema_common_public_ip_address_read = _schema_common_public_ip_address_read = AAZObjectType() - public_ip_address_read = _schema_public_ip_address_read - public_ip_address_read.etag = AAZStrType( + common_public_ip_address_read = _schema_common_public_ip_address_read + common_public_ip_address_read.etag = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.extended_location = AAZObjectType( + common_public_ip_address_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(public_ip_address_read.extended_location) - public_ip_address_read.id = AAZStrType() - public_ip_address_read.location = AAZStrType() - public_ip_address_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_public_ip_address_read.extended_location) + common_public_ip_address_read.id = AAZStrType() + common_public_ip_address_read.location = AAZStrType() + common_public_ip_address_read.name = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.properties = AAZObjectType( + common_public_ip_address_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - public_ip_address_read.sku = AAZObjectType() - public_ip_address_read.tags = AAZDictType() - public_ip_address_read.type = AAZStrType( + common_public_ip_address_read.sku = AAZObjectType() + common_public_ip_address_read.tags = AAZDictType() + common_public_ip_address_read.type = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.zones = AAZListType() + common_public_ip_address_read.zones = AAZListType() - properties = _schema_public_ip_address_read.properties + properties = _schema_common_public_ip_address_read.properties properties.ddos_settings = AAZObjectType( serialized_name="ddosSettings", ) @@ -1643,14 +1657,14 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="ipConfiguration", flags={"read_only": True}, ) - cls._build_schema_ip_configuration_read(properties.ip_configuration) + cls._build_schema_common_ip_configuration_read(properties.ip_configuration) properties.ip_tags = AAZListType( serialized_name="ipTags", ) properties.linked_public_ip_address = AAZObjectType( serialized_name="linkedPublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.linked_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.linked_public_ip_address) properties.migration_phase = AAZStrType( serialized_name="migrationPhase", ) @@ -1670,7 +1684,7 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.resource_guid = AAZStrType( serialized_name="resourceGuid", flags={"read_only": True}, @@ -1678,18 +1692,22 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_public_ip_address = AAZObjectType( serialized_name="servicePublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.service_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.service_public_ip_address) - ddos_settings = _schema_public_ip_address_read.properties.ddos_settings + ddos_settings = _schema_common_public_ip_address_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) ddos_settings.ddos_protection_plan = AAZObjectType( serialized_name="ddosProtectionPlan", ) - cls._build_schema_sub_resource_read(ddos_settings.ddos_protection_plan) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_protection_plan) ddos_settings.protection_mode = AAZStrType( serialized_name="protectionMode", ) - dns_settings = _schema_public_ip_address_read.properties.dns_settings + dns_settings = _schema_common_public_ip_address_read.properties.dns_settings dns_settings.domain_name_label = AAZStrType( serialized_name="domainNameLabel", ) @@ -1701,16 +1719,16 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="reverseFqdn", ) - ip_tags = _schema_public_ip_address_read.properties.ip_tags + ip_tags = _schema_common_public_ip_address_read.properties.ip_tags ip_tags.Element = AAZObjectType() - _element = _schema_public_ip_address_read.properties.ip_tags.Element + _element = _schema_common_public_ip_address_read.properties.ip_tags.Element _element.ip_tag_type = AAZStrType( serialized_name="ipTagType", ) _element.tag = AAZStrType() - nat_gateway = _schema_public_ip_address_read.properties.nat_gateway + nat_gateway = _schema_common_public_ip_address_read.properties.nat_gateway nat_gateway.etag = AAZStrType( flags={"read_only": True}, ) @@ -1729,10 +1747,11 @@ def _build_schema_public_ip_address_read(cls, _schema): ) nat_gateway.zones = AAZListType() - properties = _schema_public_ip_address_read.properties.nat_gateway.properties + properties = _schema_common_public_ip_address_read.properties.nat_gateway.properties properties.idle_timeout_in_minutes = AAZIntType( serialized_name="idleTimeoutInMinutes", ) + properties.nat64 = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -1756,91 +1775,93 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.source_virtual_network = AAZObjectType( serialized_name="sourceVirtualNetwork", ) - cls._build_schema_sub_resource_read(properties.source_virtual_network) + cls._build_schema_common_sub_resource_read(properties.source_virtual_network) properties.subnets = AAZListType( flags={"read_only": True}, ) - public_ip_addresses = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses + public_ip_addresses = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses public_ip_addresses.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses.Element) - public_ip_addresses_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 + public_ip_addresses_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 public_ip_addresses_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses_v6.Element) - public_ip_prefixes = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes + public_ip_prefixes = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes public_ip_prefixes.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes.Element) - public_ip_prefixes_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 + public_ip_prefixes_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 public_ip_prefixes_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes_v6.Element) - subnets = _schema_public_ip_address_read.properties.nat_gateway.properties.subnets + subnets = _schema_common_public_ip_address_read.properties.nat_gateway.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_sub_resource_read(subnets.Element) + cls._build_schema_common_sub_resource_read(subnets.Element) - sku = _schema_public_ip_address_read.properties.nat_gateway.sku + sku = _schema_common_public_ip_address_read.properties.nat_gateway.sku sku.name = AAZStrType() - tags = _schema_public_ip_address_read.properties.nat_gateway.tags + tags = _schema_common_public_ip_address_read.properties.nat_gateway.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.properties.nat_gateway.zones + zones = _schema_common_public_ip_address_read.properties.nat_gateway.zones zones.Element = AAZStrType() - sku = _schema_public_ip_address_read.sku + sku = _schema_common_public_ip_address_read.sku sku.name = AAZStrType() sku.tier = AAZStrType() - tags = _schema_public_ip_address_read.tags + tags = _schema_common_public_ip_address_read.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.zones + zones = _schema_common_public_ip_address_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones - _schema_security_rule_read = None + _schema_common_security_rule_read = None @classmethod - def _build_schema_security_rule_read(cls, _schema): - if cls._schema_security_rule_read is not None: - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + def _build_schema_common_security_rule_read(cls, _schema): + if cls._schema_common_security_rule_read is not None: + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type return - cls._schema_security_rule_read = _schema_security_rule_read = AAZObjectType() + cls._schema_common_security_rule_read = _schema_common_security_rule_read = AAZObjectType() - security_rule_read = _schema_security_rule_read - security_rule_read.etag = AAZStrType( + common_security_rule_read = _schema_common_security_rule_read + common_security_rule_read.etag = AAZStrType( flags={"read_only": True}, ) - security_rule_read.id = AAZStrType() - security_rule_read.name = AAZStrType() - security_rule_read.properties = AAZObjectType( + common_security_rule_read.id = AAZStrType() + common_security_rule_read.name = AAZStrType() + common_security_rule_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - security_rule_read.type = AAZStrType() + common_security_rule_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_security_rule_read.properties + properties = _schema_common_security_rule_read.properties properties.access = AAZStrType( flags={"required": True}, ) @@ -1889,75 +1910,77 @@ def _build_schema_security_rule_read(cls, _schema): serialized_name="sourcePortRanges", ) - destination_address_prefixes = _schema_security_rule_read.properties.destination_address_prefixes + destination_address_prefixes = _schema_common_security_rule_read.properties.destination_address_prefixes destination_address_prefixes.Element = AAZStrType() - destination_application_security_groups = _schema_security_rule_read.properties.destination_application_security_groups + destination_application_security_groups = _schema_common_security_rule_read.properties.destination_application_security_groups destination_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(destination_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(destination_application_security_groups.Element) - destination_port_ranges = _schema_security_rule_read.properties.destination_port_ranges + destination_port_ranges = _schema_common_security_rule_read.properties.destination_port_ranges destination_port_ranges.Element = AAZStrType() - source_address_prefixes = _schema_security_rule_read.properties.source_address_prefixes + source_address_prefixes = _schema_common_security_rule_read.properties.source_address_prefixes source_address_prefixes.Element = AAZStrType() - source_application_security_groups = _schema_security_rule_read.properties.source_application_security_groups + source_application_security_groups = _schema_common_security_rule_read.properties.source_application_security_groups source_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(source_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(source_application_security_groups.Element) - source_port_ranges = _schema_security_rule_read.properties.source_port_ranges + source_port_ranges = _schema_common_security_rule_read.properties.source_port_ranges source_port_ranges.Element = AAZStrType() - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type - _schema_sub_resource_read = None + _schema_common_sub_resource_read = None @classmethod - def _build_schema_sub_resource_read(cls, _schema): - if cls._schema_sub_resource_read is not None: - _schema.id = cls._schema_sub_resource_read.id + def _build_schema_common_sub_resource_read(cls, _schema): + if cls._schema_common_sub_resource_read is not None: + _schema.id = cls._schema_common_sub_resource_read.id return - cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType( + cls._schema_common_sub_resource_read = _schema_common_sub_resource_read = AAZObjectType( flags={"read_only": True} ) - sub_resource_read = _schema_sub_resource_read - sub_resource_read.id = AAZStrType() + common_sub_resource_read = _schema_common_sub_resource_read + common_sub_resource_read.id = AAZStrType() - _schema.id = cls._schema_sub_resource_read.id + _schema.id = cls._schema_common_sub_resource_read.id - _schema_subnet_read = None + _schema_common_subnet_read = None @classmethod - def _build_schema_subnet_read(cls, _schema): - if cls._schema_subnet_read is not None: - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + def _build_schema_common_subnet_read(cls, _schema): + if cls._schema_common_subnet_read is not None: + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type return - cls._schema_subnet_read = _schema_subnet_read = AAZObjectType() + cls._schema_common_subnet_read = _schema_common_subnet_read = AAZObjectType() - subnet_read = _schema_subnet_read - subnet_read.etag = AAZStrType( + common_subnet_read = _schema_common_subnet_read + common_subnet_read.etag = AAZStrType( flags={"read_only": True}, ) - subnet_read.id = AAZStrType() - subnet_read.name = AAZStrType() - subnet_read.properties = AAZObjectType( + common_subnet_read.id = AAZStrType() + common_subnet_read.name = AAZStrType() + common_subnet_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - subnet_read.type = AAZStrType() + common_subnet_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties + properties = _schema_common_subnet_read.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -1988,11 +2011,11 @@ def _build_schema_subnet_read(cls, _schema): properties.nat_gateway = AAZObjectType( serialized_name="natGateway", ) - cls._build_schema_sub_resource_read(properties.nat_gateway) + cls._build_schema_common_sub_resource_read(properties.nat_gateway) properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.private_endpoint_network_policies = AAZStrType( serialized_name="privateEndpointNetworkPolicies", ) @@ -2030,18 +2053,18 @@ def _build_schema_subnet_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.sharing_scope = AAZStrType( serialized_name="sharingScope", ) - address_prefixes = _schema_subnet_read.properties.address_prefixes + address_prefixes = _schema_common_subnet_read.properties.address_prefixes address_prefixes.Element = AAZStrType() - application_gateway_ip_configurations = _schema_subnet_read.properties.application_gateway_ip_configurations + application_gateway_ip_configurations = _schema_common_subnet_read.properties.application_gateway_ip_configurations application_gateway_ip_configurations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.application_gateway_ip_configurations.Element + _element = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2054,18 +2077,18 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.application_gateway_ip_configurations.Element.properties + properties = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) - delegations = _schema_subnet_read.properties.delegations + delegations = _schema_common_subnet_read.properties.delegations delegations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.delegations.Element + _element = _schema_common_subnet_read.properties.delegations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2076,7 +2099,7 @@ def _build_schema_subnet_read(cls, _schema): ) _element.type = AAZStrType() - properties = _schema_subnet_read.properties.delegations.Element.properties + properties = _schema_common_subnet_read.properties.delegations.Element.properties properties.actions = AAZListType( flags={"read_only": True}, ) @@ -2088,17 +2111,17 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceName", ) - actions = _schema_subnet_read.properties.delegations.Element.properties.actions + actions = _schema_common_subnet_read.properties.delegations.Element.properties.actions actions.Element = AAZStrType() - ip_allocations = _schema_subnet_read.properties.ip_allocations + ip_allocations = _schema_common_subnet_read.properties.ip_allocations ip_allocations.Element = AAZObjectType() - cls._build_schema_sub_resource_read(ip_allocations.Element) + cls._build_schema_common_sub_resource_read(ip_allocations.Element) - ip_configuration_profiles = _schema_subnet_read.properties.ip_configuration_profiles + ip_configuration_profiles = _schema_common_subnet_read.properties.ip_configuration_profiles ip_configuration_profiles.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ip_configuration_profiles.Element + _element = _schema_common_subnet_read.properties.ip_configuration_profiles.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2111,22 +2134,22 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.ip_configuration_profiles.Element.properties + properties = _schema_common_subnet_read.properties.ip_configuration_profiles.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - ip_configurations = _schema_subnet_read.properties.ip_configurations + ip_configurations = _schema_common_subnet_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_ip_configuration_read(ip_configurations.Element) - ipam_pool_prefix_allocations = _schema_subnet_read.properties.ipam_pool_prefix_allocations + ipam_pool_prefix_allocations = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations ipam_pool_prefix_allocations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element + _element = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element _element.allocated_address_prefixes = AAZListType( serialized_name="allocatedAddressPrefixes", flags={"read_only": True}, @@ -2138,20 +2161,20 @@ def _build_schema_subnet_read(cls, _schema): flags={"client_flatten": True}, ) - allocated_address_prefixes = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes + allocated_address_prefixes = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes allocated_address_prefixes.Element = AAZStrType() - pool = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool + pool = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool pool.id = AAZStrType() - private_endpoints = _schema_subnet_read.properties.private_endpoints + private_endpoints = _schema_common_subnet_read.properties.private_endpoints private_endpoints.Element = AAZObjectType() - cls._build_schema_private_endpoint_read(private_endpoints.Element) + cls._build_schema_common_private_endpoint_read(private_endpoints.Element) - resource_navigation_links = _schema_subnet_read.properties.resource_navigation_links + resource_navigation_links = _schema_common_subnet_read.properties.resource_navigation_links resource_navigation_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.resource_navigation_links.Element + _element = _schema_common_subnet_read.properties.resource_navigation_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2166,7 +2189,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.resource_navigation_links.Element.properties + properties = _schema_common_subnet_read.properties.resource_navigation_links.Element.properties properties.link = AAZStrType() properties.linked_resource_type = AAZStrType( serialized_name="linkedResourceType", @@ -2176,7 +2199,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - route_table = _schema_subnet_read.properties.route_table + route_table = _schema_common_subnet_read.properties.route_table route_table.etag = AAZStrType( flags={"read_only": True}, ) @@ -2193,10 +2216,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.route_table.properties + properties = _schema_common_subnet_read.properties.route_table.properties properties.disable_bgp_route_propagation = AAZBoolType( serialized_name="disableBgpRoutePropagation", ) + properties.disable_peering_route = AAZStrType( + serialized_name="disablePeeringRoute", + ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -2210,10 +2236,10 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - routes = _schema_subnet_read.properties.route_table.properties.routes + routes = _schema_common_subnet_read.properties.route_table.properties.routes routes.Element = AAZObjectType() - _element = _schema_subnet_read.properties.route_table.properties.routes.Element + _element = _schema_common_subnet_read.properties.route_table.properties.routes.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2222,9 +2248,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.route_table.properties.routes.Element.properties + properties = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -2232,6 +2260,9 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="hasBgpOverride", flags={"read_only": True}, ) + properties.next_hop = AAZObjectType( + serialized_name="nextHop", + ) properties.next_hop_ip_address = AAZStrType( serialized_name="nextHopIpAddress", ) @@ -2244,17 +2275,26 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - subnets = _schema_subnet_read.properties.route_table.properties.subnets + next_hop = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop + next_hop.next_hop_ip_addresses = AAZListType( + serialized_name="nextHopIpAddresses", + flags={"required": True}, + ) + + next_hop_ip_addresses = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop.next_hop_ip_addresses + next_hop_ip_addresses.Element = AAZStrType() + + subnets = _schema_common_subnet_read.properties.route_table.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.route_table.tags + tags = _schema_common_subnet_read.properties.route_table.tags tags.Element = AAZStrType() - service_association_links = _schema_subnet_read.properties.service_association_links + service_association_links = _schema_common_subnet_read.properties.service_association_links service_association_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_association_links.Element + _element = _schema_common_subnet_read.properties.service_association_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2267,7 +2307,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_association_links.Element.properties + properties = _schema_common_subnet_read.properties.service_association_links.Element.properties properties.allow_delete = AAZBoolType( serialized_name="allowDelete", ) @@ -2281,13 +2321,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - locations = _schema_subnet_read.properties.service_association_links.Element.properties.locations + locations = _schema_common_subnet_read.properties.service_association_links.Element.properties.locations locations.Element = AAZStrType() - service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies + service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies service_endpoint_policies.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2307,7 +2347,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties properties.contextual_service_endpoint_policies = AAZListType( serialized_name="contextualServiceEndpointPolicies", ) @@ -2329,13 +2369,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - contextual_service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies + contextual_service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies contextual_service_endpoint_policies.Element = AAZStrType() - service_endpoint_policy_definitions = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions + service_endpoint_policy_definitions = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions service_endpoint_policy_definitions.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2344,9 +2384,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties properties.description = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", @@ -2357,82 +2399,82 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceResources", ) - service_resources = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources + service_resources = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources service_resources.Element = AAZStrType() - subnets = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.subnets + subnets = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.service_endpoint_policies.Element.tags + tags = _schema_common_subnet_read.properties.service_endpoint_policies.Element.tags tags.Element = AAZStrType() - service_endpoints = _schema_subnet_read.properties.service_endpoints + service_endpoints = _schema_common_subnet_read.properties.service_endpoints service_endpoints.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoints.Element + _element = _schema_common_subnet_read.properties.service_endpoints.Element _element.locations = AAZListType() _element.network_identifier = AAZObjectType( serialized_name="networkIdentifier", ) - cls._build_schema_sub_resource_read(_element.network_identifier) + cls._build_schema_common_sub_resource_read(_element.network_identifier) _element.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) _element.service = AAZStrType() - locations = _schema_subnet_read.properties.service_endpoints.Element.locations + locations = _schema_common_subnet_read.properties.service_endpoints.Element.locations locations.Element = AAZStrType() - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type - _schema_virtual_network_tap_read = None + _schema_common_virtual_network_tap_read = None @classmethod - def _build_schema_virtual_network_tap_read(cls, _schema): - if cls._schema_virtual_network_tap_read is not None: - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + def _build_schema_common_virtual_network_tap_read(cls, _schema): + if cls._schema_common_virtual_network_tap_read is not None: + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type return - cls._schema_virtual_network_tap_read = _schema_virtual_network_tap_read = AAZObjectType() + cls._schema_common_virtual_network_tap_read = _schema_common_virtual_network_tap_read = AAZObjectType() - virtual_network_tap_read = _schema_virtual_network_tap_read - virtual_network_tap_read.etag = AAZStrType( + common_virtual_network_tap_read = _schema_common_virtual_network_tap_read + common_virtual_network_tap_read.etag = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.id = AAZStrType() - virtual_network_tap_read.location = AAZStrType() - virtual_network_tap_read.name = AAZStrType( + common_virtual_network_tap_read.id = AAZStrType() + common_virtual_network_tap_read.location = AAZStrType() + common_virtual_network_tap_read.name = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.properties = AAZObjectType( + common_virtual_network_tap_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - virtual_network_tap_read.tags = AAZDictType() - virtual_network_tap_read.type = AAZStrType( + common_virtual_network_tap_read.tags = AAZDictType() + common_virtual_network_tap_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_virtual_network_tap_read.properties + properties = _schema_common_virtual_network_tap_read.properties properties.destination_load_balancer_front_end_ip_configuration = AAZObjectType( serialized_name="destinationLoadBalancerFrontEndIPConfiguration", ) - cls._build_schema_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) + cls._build_schema_common_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) properties.destination_network_interface_ip_configuration = AAZObjectType( serialized_name="destinationNetworkInterfaceIPConfiguration", ) - cls._build_schema_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) properties.destination_port = AAZIntType( serialized_name="destinationPort", ) @@ -2449,20 +2491,20 @@ def _build_schema_virtual_network_tap_read(cls, _schema): flags={"read_only": True}, ) - network_interface_tap_configurations = _schema_virtual_network_tap_read.properties.network_interface_tap_configurations + network_interface_tap_configurations = _schema_common_virtual_network_tap_read.properties.network_interface_tap_configurations network_interface_tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) - tags = _schema_virtual_network_tap_read.tags + tags = _schema_common_virtual_network_tap_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type __all__ = ["Show"] diff --git a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_update.py b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_update.py index 063419f6872..c6b6e3f2189 100644 --- a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_update.py +++ b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_update.py @@ -22,9 +22,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2025-05-01", + "version": "2025-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkappliances/{}", "2025-05-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkappliances/{}", "2025-07-01"], ] } @@ -83,12 +83,19 @@ def _build_arguments_schema(cls, *args, **kwargs): # define Arg Group "Properties" _args_schema = cls._args_schema - _args_schema.bandwidth_in_gbps = AAZIntArg( - options=["--bandwidth-in-gbps"], + _args_schema.bandwidth_in_gbps = AAZFloatArg( + options=["--bandwidth-gbps", "--bandwidth-in-gbps"], arg_group="Properties", help="Bandwidth of the VirtualNetworkAppliance resource in Gbps.", nullable=True, ) + _args_schema.private_ip_address_version = AAZStrArg( + options=["--private-ip-version", "--private-ip-address-version"], + arg_group="Properties", + help="Whether the specific virtual network appliance is IPv4 or Dual Stack. Default is IPv4.", + nullable=True, + enum={"DualStack": "DualStack", "IPv4": "IPv4"}, + ) _args_schema.subnet = AAZObjectArg( options=["--subnet"], arg_group="Properties", @@ -150,7 +157,7 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Nat gateway associated with this subnet.", nullable=True, ) - cls._build_args_sub_resource_update(subnet.nat_gateway) + cls._build_args_common_sub_resource_update(subnet.nat_gateway) subnet.network_security_group = AAZObjectArg( options=["network-security-group"], help="The reference to the NetworkSecurityGroup resource.", @@ -188,18 +195,13 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Reference to an existing service gateway.", nullable=True, ) - cls._build_args_sub_resource_update(subnet.service_gateway) + cls._build_args_common_sub_resource_update(subnet.service_gateway) subnet.sharing_scope = AAZStrArg( options=["sharing-scope"], help="Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.", nullable=True, enum={"DelegatedServices": "DelegatedServices", "Tenant": "Tenant"}, ) - subnet.type = AAZStrArg( - options=["type"], - help="Resource type.", - nullable=True, - ) address_prefixes = cls._args_schema.subnet.address_prefixes address_prefixes.Element = AAZStrArg( @@ -227,7 +229,7 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Reference to the subnet resource. A subnet from where application gateway gets its private address.", nullable=True, ) - cls._build_args_sub_resource_update(_element.subnet) + cls._build_args_common_sub_resource_update(_element.subnet) delegations = cls._args_schema.subnet.delegations delegations.Element = AAZObjectArg( @@ -260,7 +262,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ip_allocations.Element = AAZObjectArg( nullable=True, ) - cls._build_args_sub_resource_update(ip_allocations.Element) + cls._build_args_common_sub_resource_update(ip_allocations.Element) ipam_pool_prefix_allocations = cls._args_schema.subnet.ipam_pool_prefix_allocations ipam_pool_prefix_allocations.Element = AAZObjectArg( @@ -399,11 +401,6 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The source port ranges.", nullable=True, ) - _element.type = AAZStrArg( - options=["type"], - help="The type of the resource.", - nullable=True, - ) destination_address_prefixes = cls._args_schema.subnet.network_security_group.security_rules.Element.destination_address_prefixes destination_address_prefixes.Element = AAZStrArg( @@ -414,7 +411,7 @@ def _build_arguments_schema(cls, *args, **kwargs): destination_application_security_groups.Element = AAZObjectArg( nullable=True, ) - cls._build_args_application_security_group_update(destination_application_security_groups.Element) + cls._build_args_common_application_security_group_update(destination_application_security_groups.Element) destination_port_ranges = cls._args_schema.subnet.network_security_group.security_rules.Element.destination_port_ranges destination_port_ranges.Element = AAZStrArg( @@ -430,7 +427,7 @@ def _build_arguments_schema(cls, *args, **kwargs): source_application_security_groups.Element = AAZObjectArg( nullable=True, ) - cls._build_args_application_security_group_update(source_application_security_groups.Element) + cls._build_args_common_application_security_group_update(source_application_security_groups.Element) source_port_ranges = cls._args_schema.subnet.network_security_group.security_rules.Element.source_port_ranges source_port_ranges.Element = AAZStrArg( @@ -461,6 +458,12 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Whether to disable the routes learned by BGP on that route table. True means disable.", nullable=True, ) + route_table.disable_peering_route = AAZStrArg( + options=["disable-peering-route"], + help="Whether to disable the routes learned by peering on the route table. 'None' means peering routes are enabled, 'All' means all peering routes are disabled.", + nullable=True, + enum={"All": "All", "None": "None"}, + ) route_table.routes = AAZListArg( options=["routes"], help="Collection of routes contained within a route table.", @@ -496,6 +499,11 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The destination CIDR to which the route applies.", nullable=True, ) + _element.next_hop = AAZObjectArg( + options=["next-hop"], + help="The next hop definition containing ECMP next hop IP addresses. Only allowed when nextHopType is VirtualApplianceEcmp.", + nullable=True, + ) _element.next_hop_ip_address = AAZStrArg( options=["next-hop-ip-address"], help="The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.", @@ -504,11 +512,21 @@ def _build_arguments_schema(cls, *args, **kwargs): _element.next_hop_type = AAZStrArg( options=["next-hop-type"], help="The type of Azure hop the packet should be sent to.", - enum={"Internet": "Internet", "None": "None", "VirtualAppliance": "VirtualAppliance", "VirtualNetworkGateway": "VirtualNetworkGateway", "VnetLocal": "VnetLocal"}, + enum={"Internet": "Internet", "None": "None", "VirtualAppliance": "VirtualAppliance", "VirtualApplianceEcmp": "VirtualApplianceEcmp", "VirtualNetworkGateway": "VirtualNetworkGateway", "VnetLocal": "VnetLocal"}, ) - _element.type = AAZStrArg( - options=["type"], - help="The type of the resource.", + + next_hop = cls._args_schema.subnet.route_table.routes.Element.next_hop + next_hop.next_hop_ip_addresses = AAZListArg( + options=["next-hop-ip-addresses"], + help="List of next hop IP addresses for ECMP routing. Must contain between 2 and 64 IP addresses.", + fmt=AAZListArgFormat( + max_length=64, + min_length=2, + ), + ) + + next_hop_ip_addresses = cls._args_schema.subnet.route_table.routes.Element.next_hop.next_hop_ip_addresses + next_hop_ip_addresses.Element = AAZStrArg( nullable=True, ) @@ -596,11 +614,6 @@ def _build_arguments_schema(cls, *args, **kwargs): help="A list of service resources.", nullable=True, ) - _element.type = AAZStrArg( - options=["type"], - help="The type of the resource.", - nullable=True, - ) service_resources = cls._args_schema.subnet.service_endpoint_policies.Element.service_endpoint_policy_definitions.Element.service_resources service_resources.Element = AAZStrArg( @@ -628,7 +641,7 @@ def _build_arguments_schema(cls, *args, **kwargs): help="SubResource as network identifier.", nullable=True, ) - cls._build_args_sub_resource_update(_element.network_identifier) + cls._build_args_common_sub_resource_update(_element.network_identifier) _element.service = AAZStrArg( options=["service"], help="The type of the endpoint service.", @@ -641,59 +654,59 @@ def _build_arguments_schema(cls, *args, **kwargs): ) return cls._args_schema - _args_application_security_group_update = None + _args_common_application_security_group_update = None @classmethod - def _build_args_application_security_group_update(cls, _schema): - if cls._args_application_security_group_update is not None: - _schema.location = cls._args_application_security_group_update.location - _schema.tags = cls._args_application_security_group_update.tags + def _build_args_common_application_security_group_update(cls, _schema): + if cls._args_common_application_security_group_update is not None: + _schema.location = cls._args_common_application_security_group_update.location + _schema.tags = cls._args_common_application_security_group_update.tags return - cls._args_application_security_group_update = AAZObjectArg( + cls._args_common_application_security_group_update = AAZObjectArg( nullable=True, ) - application_security_group_update = cls._args_application_security_group_update - application_security_group_update.location = AAZResourceLocationArg( + common_application_security_group_update = cls._args_common_application_security_group_update + common_application_security_group_update.location = AAZResourceLocationArg( options=["l", "location"], help="Resource location.", nullable=True, ) - application_security_group_update.tags = AAZDictArg( + common_application_security_group_update.tags = AAZDictArg( options=["tags"], help="Resource tags.", nullable=True, ) - tags = cls._args_application_security_group_update.tags + tags = cls._args_common_application_security_group_update.tags tags.Element = AAZStrArg( nullable=True, ) - _schema.location = cls._args_application_security_group_update.location - _schema.tags = cls._args_application_security_group_update.tags + _schema.location = cls._args_common_application_security_group_update.location + _schema.tags = cls._args_common_application_security_group_update.tags - _args_sub_resource_update = None + _args_common_sub_resource_update = None @classmethod - def _build_args_sub_resource_update(cls, _schema): - if cls._args_sub_resource_update is not None: - _schema.id = cls._args_sub_resource_update.id + def _build_args_common_sub_resource_update(cls, _schema): + if cls._args_common_sub_resource_update is not None: + _schema.id = cls._args_common_sub_resource_update.id return - cls._args_sub_resource_update = AAZObjectArg( + cls._args_common_sub_resource_update = AAZObjectArg( nullable=True, ) - sub_resource_update = cls._args_sub_resource_update - sub_resource_update.id = AAZStrArg( + common_sub_resource_update = cls._args_common_sub_resource_update + common_sub_resource_update.id = AAZStrArg( options=["id"], help="Resource ID.", nullable=True, ) - _schema.id = cls._args_sub_resource_update.id + _schema.id = cls._args_common_sub_resource_update.id def _execute_operations(self): self.pre_operations() @@ -773,7 +786,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2025-05-01", + "api-version", "2025-07-01", required=True, ), } @@ -872,7 +885,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2025-05-01", + "api-version", "2025-07-01", required=True, ), } @@ -936,7 +949,8 @@ def _update_instance(self, instance): properties = _builder.get(".properties") if properties is not None: - properties.set_prop("bandwidthInGbps", AAZIntType, ".bandwidth_in_gbps") + properties.set_prop("bandwidthInGbps", AAZFloatType, ".bandwidth_in_gbps") + properties.set_prop("privateIPAddressVersion", AAZStrType, ".private_ip_address_version") properties.set_prop("subnet", AAZObjectType, ".subnet") subnet = _builder.get(".properties.subnet") @@ -944,7 +958,6 @@ def _update_instance(self, instance): subnet.set_prop("id", AAZStrType, ".id") subnet.set_prop("name", AAZStrType, ".name") subnet.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) - subnet.set_prop("type", AAZStrType, ".type") properties = _builder.get(".properties.subnet.properties") if properties is not None: @@ -955,14 +968,14 @@ def _update_instance(self, instance): properties.set_prop("delegations", AAZListType, ".delegations") properties.set_prop("ipAllocations", AAZListType, ".ip_allocations") properties.set_prop("ipamPoolPrefixAllocations", AAZListType, ".ipam_pool_prefix_allocations") - _UpdateHelper._build_schema_sub_resource_update(properties.set_prop("natGateway", AAZObjectType, ".nat_gateway")) + _UpdateHelper._build_schema_common_sub_resource_update(properties.set_prop("natGateway", AAZObjectType, ".nat_gateway")) properties.set_prop("networkSecurityGroup", AAZObjectType, ".network_security_group") properties.set_prop("privateEndpointNetworkPolicies", AAZStrType, ".private_endpoint_network_policies") properties.set_prop("privateLinkServiceNetworkPolicies", AAZStrType, ".private_link_service_network_policies") properties.set_prop("routeTable", AAZObjectType, ".route_table") properties.set_prop("serviceEndpointPolicies", AAZListType, ".service_endpoint_policies") properties.set_prop("serviceEndpoints", AAZListType, ".service_endpoints") - _UpdateHelper._build_schema_sub_resource_update(properties.set_prop("serviceGateway", AAZObjectType, ".service_gateway")) + _UpdateHelper._build_schema_common_sub_resource_update(properties.set_prop("serviceGateway", AAZObjectType, ".service_gateway")) properties.set_prop("sharingScope", AAZStrType, ".sharing_scope") address_prefixes = _builder.get(".properties.subnet.properties.addressPrefixes") @@ -981,7 +994,7 @@ def _update_instance(self, instance): properties = _builder.get(".properties.subnet.properties.applicationGatewayIPConfigurations[].properties") if properties is not None: - _UpdateHelper._build_schema_sub_resource_update(properties.set_prop("subnet", AAZObjectType, ".subnet")) + _UpdateHelper._build_schema_common_sub_resource_update(properties.set_prop("subnet", AAZObjectType, ".subnet")) delegations = _builder.get(".properties.subnet.properties.delegations") if delegations is not None: @@ -1000,7 +1013,7 @@ def _update_instance(self, instance): ip_allocations = _builder.get(".properties.subnet.properties.ipAllocations") if ip_allocations is not None: - _UpdateHelper._build_schema_sub_resource_update(ip_allocations.set_elements(AAZObjectType, ".")) + _UpdateHelper._build_schema_common_sub_resource_update(ip_allocations.set_elements(AAZObjectType, ".")) ipam_pool_prefix_allocations = _builder.get(".properties.subnet.properties.ipamPoolPrefixAllocations") if ipam_pool_prefix_allocations is not None: @@ -1036,7 +1049,6 @@ def _update_instance(self, instance): _elements.set_prop("id", AAZStrType, ".id") _elements.set_prop("name", AAZStrType, ".name") _elements.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) - _elements.set_prop("type", AAZStrType, ".type") properties = _builder.get(".properties.subnet.properties.networkSecurityGroup.properties.securityRules[].properties") if properties is not None: @@ -1062,7 +1074,7 @@ def _update_instance(self, instance): destination_application_security_groups = _builder.get(".properties.subnet.properties.networkSecurityGroup.properties.securityRules[].properties.destinationApplicationSecurityGroups") if destination_application_security_groups is not None: - _UpdateHelper._build_schema_application_security_group_update(destination_application_security_groups.set_elements(AAZObjectType, ".")) + _UpdateHelper._build_schema_common_application_security_group_update(destination_application_security_groups.set_elements(AAZObjectType, ".")) destination_port_ranges = _builder.get(".properties.subnet.properties.networkSecurityGroup.properties.securityRules[].properties.destinationPortRanges") if destination_port_ranges is not None: @@ -1074,7 +1086,7 @@ def _update_instance(self, instance): source_application_security_groups = _builder.get(".properties.subnet.properties.networkSecurityGroup.properties.securityRules[].properties.sourceApplicationSecurityGroups") if source_application_security_groups is not None: - _UpdateHelper._build_schema_application_security_group_update(source_application_security_groups.set_elements(AAZObjectType, ".")) + _UpdateHelper._build_schema_common_application_security_group_update(source_application_security_groups.set_elements(AAZObjectType, ".")) source_port_ranges = _builder.get(".properties.subnet.properties.networkSecurityGroup.properties.securityRules[].properties.sourcePortRanges") if source_port_ranges is not None: @@ -1094,6 +1106,7 @@ def _update_instance(self, instance): properties = _builder.get(".properties.subnet.properties.routeTable.properties") if properties is not None: properties.set_prop("disableBgpRoutePropagation", AAZBoolType, ".disable_bgp_route_propagation") + properties.set_prop("disablePeeringRoute", AAZStrType, ".disable_peering_route") properties.set_prop("routes", AAZListType, ".routes") routes = _builder.get(".properties.subnet.properties.routeTable.properties.routes") @@ -1105,14 +1118,22 @@ def _update_instance(self, instance): _elements.set_prop("id", AAZStrType, ".id") _elements.set_prop("name", AAZStrType, ".name") _elements.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) - _elements.set_prop("type", AAZStrType, ".type") properties = _builder.get(".properties.subnet.properties.routeTable.properties.routes[].properties") if properties is not None: properties.set_prop("addressPrefix", AAZStrType, ".address_prefix") + properties.set_prop("nextHop", AAZObjectType, ".next_hop") properties.set_prop("nextHopIpAddress", AAZStrType, ".next_hop_ip_address") properties.set_prop("nextHopType", AAZStrType, ".next_hop_type", typ_kwargs={"flags": {"required": True}}) + next_hop = _builder.get(".properties.subnet.properties.routeTable.properties.routes[].properties.nextHop") + if next_hop is not None: + next_hop.set_prop("nextHopIpAddresses", AAZListType, ".next_hop_ip_addresses", typ_kwargs={"flags": {"required": True}}) + + next_hop_ip_addresses = _builder.get(".properties.subnet.properties.routeTable.properties.routes[].properties.nextHop.nextHopIpAddresses") + if next_hop_ip_addresses is not None: + next_hop_ip_addresses.set_elements(AAZStrType, ".") + tags = _builder.get(".properties.subnet.properties.routeTable.tags") if tags is not None: tags.set_elements(AAZStrType, ".") @@ -1147,7 +1168,6 @@ def _update_instance(self, instance): _elements.set_prop("id", AAZStrType, ".id") _elements.set_prop("name", AAZStrType, ".name") _elements.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) - _elements.set_prop("type", AAZStrType, ".type") properties = _builder.get(".properties.subnet.properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].properties") if properties is not None: @@ -1170,7 +1190,7 @@ def _update_instance(self, instance): _elements = _builder.get(".properties.subnet.properties.serviceEndpoints[]") if _elements is not None: _elements.set_prop("locations", AAZListType, ".locations") - _UpdateHelper._build_schema_sub_resource_update(_elements.set_prop("networkIdentifier", AAZObjectType, ".network_identifier")) + _UpdateHelper._build_schema_common_sub_resource_update(_elements.set_prop("networkIdentifier", AAZObjectType, ".network_identifier")) _elements.set_prop("service", AAZStrType, ".service") locations = _builder.get(".properties.subnet.properties.serviceEndpoints[].locations") @@ -1196,7 +1216,7 @@ class _UpdateHelper: """Helper class for Update""" @classmethod - def _build_schema_application_security_group_update(cls, _builder): + def _build_schema_common_application_security_group_update(cls, _builder): if _builder is None: return _builder.set_prop("location", AAZStrType, ".location") @@ -1207,45 +1227,45 @@ def _build_schema_application_security_group_update(cls, _builder): tags.set_elements(AAZStrType, ".") @classmethod - def _build_schema_sub_resource_update(cls, _builder): + def _build_schema_common_sub_resource_update(cls, _builder): if _builder is None: return _builder.set_prop("id", AAZStrType, ".id") - _schema_application_security_group_read = None + _schema_common_application_security_group_read = None @classmethod - def _build_schema_application_security_group_read(cls, _schema): - if cls._schema_application_security_group_read is not None: - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + def _build_schema_common_application_security_group_read(cls, _schema): + if cls._schema_common_application_security_group_read is not None: + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type return - cls._schema_application_security_group_read = _schema_application_security_group_read = AAZObjectType() + cls._schema_common_application_security_group_read = _schema_common_application_security_group_read = AAZObjectType() - application_security_group_read = _schema_application_security_group_read - application_security_group_read.etag = AAZStrType( + common_application_security_group_read = _schema_common_application_security_group_read + common_application_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.id = AAZStrType() - application_security_group_read.location = AAZStrType() - application_security_group_read.name = AAZStrType( + common_application_security_group_read.id = AAZStrType() + common_application_security_group_read.location = AAZStrType() + common_application_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.properties = AAZObjectType( + common_application_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - application_security_group_read.tags = AAZDictType() - application_security_group_read.type = AAZStrType( + common_application_security_group_read.tags = AAZDictType() + common_application_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_application_security_group_read.properties + properties = _schema_common_application_security_group_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -1255,69 +1275,72 @@ def _build_schema_application_security_group_read(cls, _schema): flags={"read_only": True}, ) - tags = _schema_application_security_group_read.tags + tags = _schema_common_application_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type - _schema_extended_location_read = None + _schema_common_extended_location_read = None @classmethod - def _build_schema_extended_location_read(cls, _schema): - if cls._schema_extended_location_read is not None: - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + def _build_schema_common_extended_location_read(cls, _schema): + if cls._schema_common_extended_location_read is not None: + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type return - cls._schema_extended_location_read = _schema_extended_location_read = AAZObjectType() + cls._schema_common_extended_location_read = _schema_common_extended_location_read = AAZObjectType() - extended_location_read = _schema_extended_location_read - extended_location_read.name = AAZStrType() - extended_location_read.type = AAZStrType() + common_extended_location_read = _schema_common_extended_location_read + common_extended_location_read.name = AAZStrType() + common_extended_location_read.type = AAZStrType() - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type - _schema_frontend_ip_configuration_read = None + _schema_common_frontend_ip_configuration_read = None @classmethod - def _build_schema_frontend_ip_configuration_read(cls, _schema): - if cls._schema_frontend_ip_configuration_read is not None: - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + def _build_schema_common_frontend_ip_configuration_read(cls, _schema): + if cls._schema_common_frontend_ip_configuration_read is not None: + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones return - cls._schema_frontend_ip_configuration_read = _schema_frontend_ip_configuration_read = AAZObjectType() + cls._schema_common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read = AAZObjectType() - frontend_ip_configuration_read = _schema_frontend_ip_configuration_read - frontend_ip_configuration_read.etag = AAZStrType( + common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read + common_frontend_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.id = AAZStrType() - frontend_ip_configuration_read.name = AAZStrType() - frontend_ip_configuration_read.properties = AAZObjectType( + common_frontend_ip_configuration_read.id = AAZStrType() + common_frontend_ip_configuration_read.name = AAZStrType() + common_frontend_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - frontend_ip_configuration_read.type = AAZStrType( + common_frontend_ip_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.zones = AAZListType() + common_frontend_ip_configuration_read.zones = AAZListType() - properties = _schema_frontend_ip_configuration_read.properties + properties = _schema_common_frontend_ip_configuration_read.properties + properties.ddos_settings = AAZObjectType( + serialized_name="ddosSettings", + ) properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.inbound_nat_pools = AAZListType( serialized_name="inboundNatPools", flags={"read_only": True}, @@ -1350,66 +1373,72 @@ def _build_schema_frontend_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) + + ddos_settings = _schema_common_frontend_ip_configuration_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) - inbound_nat_pools = _schema_frontend_ip_configuration_read.properties.inbound_nat_pools + inbound_nat_pools = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_pools inbound_nat_pools.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_pools.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_pools.Element) - inbound_nat_rules = _schema_frontend_ip_configuration_read.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancing_rules = _schema_frontend_ip_configuration_read.properties.load_balancing_rules + load_balancing_rules = _schema_common_frontend_ip_configuration_read.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_frontend_ip_configuration_read.properties.outbound_rules + outbound_rules = _schema_common_frontend_ip_configuration_read.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - zones = _schema_frontend_ip_configuration_read.zones + zones = _schema_common_frontend_ip_configuration_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones - _schema_ip_configuration_read = None + _schema_common_ip_configuration_read = None @classmethod - def _build_schema_ip_configuration_read(cls, _schema): - if cls._schema_ip_configuration_read is not None: - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + def _build_schema_common_ip_configuration_read(cls, _schema): + if cls._schema_common_ip_configuration_read is not None: + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties return - cls._schema_ip_configuration_read = _schema_ip_configuration_read = AAZObjectType( + cls._schema_common_ip_configuration_read = _schema_common_ip_configuration_read = AAZObjectType( flags={"read_only": True} ) - ip_configuration_read = _schema_ip_configuration_read - ip_configuration_read.etag = AAZStrType( + common_ip_configuration_read = _schema_common_ip_configuration_read + common_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - ip_configuration_read.id = AAZStrType() - ip_configuration_read.name = AAZStrType() - ip_configuration_read.properties = AAZObjectType( + common_ip_configuration_read.id = AAZStrType() + common_ip_configuration_read.name = AAZStrType() + common_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_ip_configuration_read.properties + properties = _schema_common_ip_configuration_read.properties properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", ) @@ -1423,41 +1452,43 @@ def _build_schema_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties - _schema_network_interface_ip_configuration_read = None + _schema_common_network_interface_ip_configuration_read = None @classmethod - def _build_schema_network_interface_ip_configuration_read(cls, _schema): - if cls._schema_network_interface_ip_configuration_read is not None: - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + def _build_schema_common_network_interface_ip_configuration_read(cls, _schema): + if cls._schema_common_network_interface_ip_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type return - cls._schema_network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read = AAZObjectType() + cls._schema_common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read = AAZObjectType() - network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read - network_interface_ip_configuration_read.etag = AAZStrType( + common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read + common_network_interface_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_ip_configuration_read.id = AAZStrType() - network_interface_ip_configuration_read.name = AAZStrType() - network_interface_ip_configuration_read.properties = AAZObjectType( + common_network_interface_ip_configuration_read.id = AAZStrType() + common_network_interface_ip_configuration_read.name = AAZStrType() + common_network_interface_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_ip_configuration_read.type = AAZStrType() + common_network_interface_ip_configuration_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_network_interface_ip_configuration_read.properties + properties = _schema_common_network_interface_ip_configuration_read.properties properties.application_gateway_backend_address_pools = AAZListType( serialized_name="applicationGatewayBackendAddressPools", ) @@ -1467,7 +1498,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.load_balancer_backend_address_pools = AAZListType( serialized_name="loadBalancerBackendAddressPools", ) @@ -1499,17 +1530,17 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) properties.virtual_network_taps = AAZListType( serialized_name="virtualNetworkTaps", ) - application_gateway_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools + application_gateway_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools application_gateway_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1522,7 +1553,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties properties.backend_addresses = AAZListType( serialized_name="backendAddresses", ) @@ -1535,27 +1566,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - backend_addresses = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses + backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element _element.fqdn = AAZStrType() _element.ip_address = AAZStrType( serialized_name="ipAddress", ) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - application_security_groups = _schema_network_interface_ip_configuration_read.properties.application_security_groups + application_security_groups = _schema_common_network_interface_ip_configuration_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - load_balancer_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools + load_balancer_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools load_balancer_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1568,7 +1599,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties properties.backend_ip_configurations = AAZListType( serialized_name="backendIPConfigurations", flags={"read_only": True}, @@ -1592,7 +1623,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="outboundRule", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.outbound_rule) + cls._build_schema_common_sub_resource_read(properties.outbound_rule) properties.outbound_rules = AAZListType( serialized_name="outboundRules", flags={"read_only": True}, @@ -1610,26 +1641,26 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancer_backend_addresses = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses + load_balancer_backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses load_balancer_backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element _element.name = AAZStrType() _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties properties.admin_state = AAZStrType( serialized_name="adminState", ) @@ -1643,23 +1674,23 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.load_balancer_frontend_ip_configuration = AAZObjectType( serialized_name="loadBalancerFrontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.load_balancer_frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.load_balancer_frontend_ip_configuration) properties.network_interface_ip_configuration = AAZObjectType( serialized_name="networkInterfaceIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.network_interface_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.network_interface_ip_configuration) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - inbound_nat_rules_port_mapping = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping + inbound_nat_rules_port_mapping = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping inbound_nat_rules_port_mapping.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element _element.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -1670,27 +1701,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="inboundNatRuleName", ) - load_balancing_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules + load_balancing_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules + outbound_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - tunnel_interfaces = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces + tunnel_interfaces = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces tunnel_interfaces.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element _element.identifier = AAZIntType() _element.port = AAZIntType() _element.protocol = AAZStrType() _element.type = AAZStrType() - load_balancer_inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules + load_balancer_inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules load_balancer_inbound_nat_rules.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1703,16 +1734,16 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties properties.backend_address_pool = AAZObjectType( serialized_name="backendAddressPool", ) - cls._build_schema_sub_resource_read(properties.backend_address_pool) + cls._build_schema_common_sub_resource_read(properties.backend_address_pool) properties.backend_ip_configuration = AAZObjectType( serialized_name="backendIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_network_interface_ip_configuration_read(properties.backend_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.backend_ip_configuration) properties.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -1725,7 +1756,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.frontend_ip_configuration = AAZObjectType( serialized_name="frontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.frontend_ip_configuration) properties.frontend_port = AAZIntType( serialized_name="frontendPort", ) @@ -1744,7 +1775,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - private_link_connection_properties = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties + private_link_connection_properties = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties private_link_connection_properties.fqdns = AAZListType( flags={"read_only": True}, ) @@ -1757,47 +1788,47 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - fqdns = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns + fqdns = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns fqdns.Element = AAZStrType() - virtual_network_taps = _schema_network_interface_ip_configuration_read.properties.virtual_network_taps + virtual_network_taps = _schema_common_network_interface_ip_configuration_read.properties.virtual_network_taps virtual_network_taps.Element = AAZObjectType() - cls._build_schema_virtual_network_tap_read(virtual_network_taps.Element) + cls._build_schema_common_virtual_network_tap_read(virtual_network_taps.Element) - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type - _schema_network_interface_tap_configuration_read = None + _schema_common_network_interface_tap_configuration_read = None @classmethod - def _build_schema_network_interface_tap_configuration_read(cls, _schema): - if cls._schema_network_interface_tap_configuration_read is not None: - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + def _build_schema_common_network_interface_tap_configuration_read(cls, _schema): + if cls._schema_common_network_interface_tap_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type return - cls._schema_network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read = AAZObjectType() + cls._schema_common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read = AAZObjectType() - network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read - network_interface_tap_configuration_read.etag = AAZStrType( + common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read + common_network_interface_tap_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_tap_configuration_read.id = AAZStrType() - network_interface_tap_configuration_read.name = AAZStrType() - network_interface_tap_configuration_read.properties = AAZObjectType( + common_network_interface_tap_configuration_read.id = AAZStrType() + common_network_interface_tap_configuration_read.name = AAZStrType() + common_network_interface_tap_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_tap_configuration_read.type = AAZStrType( + common_network_interface_tap_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_tap_configuration_read.properties + properties = _schema_common_network_interface_tap_configuration_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -1805,53 +1836,53 @@ def _build_schema_network_interface_tap_configuration_read(cls, _schema): properties.virtual_network_tap = AAZObjectType( serialized_name="virtualNetworkTap", ) - cls._build_schema_virtual_network_tap_read(properties.virtual_network_tap) + cls._build_schema_common_virtual_network_tap_read(properties.virtual_network_tap) - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type - _schema_network_interface_read = None + _schema_common_network_interface_read = None @classmethod - def _build_schema_network_interface_read(cls, _schema): - if cls._schema_network_interface_read is not None: - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + def _build_schema_common_network_interface_read(cls, _schema): + if cls._schema_common_network_interface_read is not None: + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type return - cls._schema_network_interface_read = _schema_network_interface_read = AAZObjectType() + cls._schema_common_network_interface_read = _schema_common_network_interface_read = AAZObjectType() - network_interface_read = _schema_network_interface_read - network_interface_read.etag = AAZStrType( + common_network_interface_read = _schema_common_network_interface_read + common_network_interface_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_read.extended_location = AAZObjectType( + common_network_interface_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(network_interface_read.extended_location) - network_interface_read.id = AAZStrType() - network_interface_read.location = AAZStrType() - network_interface_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_network_interface_read.extended_location) + common_network_interface_read.id = AAZStrType() + common_network_interface_read.location = AAZStrType() + common_network_interface_read.name = AAZStrType( flags={"read_only": True}, ) - network_interface_read.properties = AAZObjectType( + common_network_interface_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_read.tags = AAZDictType() - network_interface_read.type = AAZStrType( + common_network_interface_read.tags = AAZDictType() + common_network_interface_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties + properties = _schema_common_network_interface_read.properties properties.auxiliary_mode = AAZStrType( serialized_name="auxiliaryMode", ) @@ -1872,7 +1903,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="dscpConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.dscp_configuration) + cls._build_schema_common_sub_resource_read(properties.dscp_configuration) properties.enable_accelerated_networking = AAZBoolType( serialized_name="enableAcceleratedNetworking", ) @@ -1896,7 +1927,7 @@ def _build_schema_network_interface_read(cls, _schema): properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.nic_type = AAZStrType( serialized_name="nicType", ) @@ -1907,7 +1938,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_link_service = AAZObjectType( serialized_name="privateLinkService", ) @@ -1927,7 +1958,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="virtualMachine", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.virtual_machine) + cls._build_schema_common_sub_resource_read(properties.virtual_machine) properties.vnet_encryption_supported = AAZBoolType( serialized_name="vnetEncryptionSupported", flags={"read_only": True}, @@ -1936,7 +1967,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="workloadType", ) - dns_settings = _schema_network_interface_read.properties.dns_settings + dns_settings = _schema_common_network_interface_read.properties.dns_settings dns_settings.applied_dns_servers = AAZListType( serialized_name="appliedDnsServers", flags={"read_only": True}, @@ -1956,27 +1987,27 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - applied_dns_servers = _schema_network_interface_read.properties.dns_settings.applied_dns_servers + applied_dns_servers = _schema_common_network_interface_read.properties.dns_settings.applied_dns_servers applied_dns_servers.Element = AAZStrType() - dns_servers = _schema_network_interface_read.properties.dns_settings.dns_servers + dns_servers = _schema_common_network_interface_read.properties.dns_settings.dns_servers dns_servers.Element = AAZStrType() - hosted_workloads = _schema_network_interface_read.properties.hosted_workloads + hosted_workloads = _schema_common_network_interface_read.properties.hosted_workloads hosted_workloads.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(ip_configurations.Element) - private_link_service = _schema_network_interface_read.properties.private_link_service + private_link_service = _schema_common_network_interface_read.properties.private_link_service private_link_service.etag = AAZStrType( flags={"read_only": True}, ) private_link_service.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_link_service.extended_location) + cls._build_schema_common_extended_location_read(private_link_service.extended_location) private_link_service.id = AAZStrType() private_link_service.location = AAZStrType() private_link_service.name = AAZStrType( @@ -1990,7 +2021,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties properties.access_mode = AAZStrType( serialized_name="accessMode", ) @@ -2027,19 +2058,19 @@ def _build_schema_network_interface_read(cls, _schema): ) properties.visibility = AAZObjectType() - auto_approval = _schema_network_interface_read.properties.private_link_service.properties.auto_approval + auto_approval = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval auto_approval.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions subscriptions.Element = AAZStrType() - fqdns = _schema_network_interface_read.properties.private_link_service.properties.fqdns + fqdns = _schema_common_network_interface_read.properties.private_link_service.properties.fqdns fqdns.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2052,7 +2083,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties properties.primary = AAZBoolType() properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", @@ -2068,20 +2099,20 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - load_balancer_frontend_ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations + load_balancer_frontend_ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations load_balancer_frontend_ip_configurations.Element = AAZObjectType() - cls._build_schema_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) + cls._build_schema_common_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) - network_interfaces = _schema_network_interface_read.properties.private_link_service.properties.network_interfaces + network_interfaces = _schema_common_network_interface_read.properties.private_link_service.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_endpoint_connections = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections + private_endpoint_connections = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2094,7 +2125,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties properties.link_identifier = AAZStrType( serialized_name="linkIdentifier", flags={"read_only": True}, @@ -2103,7 +2134,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_endpoint_location = AAZStrType( serialized_name="privateEndpointLocation", flags={"read_only": True}, @@ -2111,71 +2142,71 @@ def _build_schema_network_interface_read(cls, _schema): properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) - visibility = _schema_network_interface_read.properties.private_link_service.properties.visibility + visibility = _schema_common_network_interface_read.properties.private_link_service.properties.visibility visibility.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.visibility.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.visibility.subscriptions subscriptions.Element = AAZStrType() - tags = _schema_network_interface_read.properties.private_link_service.tags + tags = _schema_common_network_interface_read.properties.private_link_service.tags tags.Element = AAZStrType() - tap_configurations = _schema_network_interface_read.properties.tap_configurations + tap_configurations = _schema_common_network_interface_read.properties.tap_configurations tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(tap_configurations.Element) - tags = _schema_network_interface_read.tags + tags = _schema_common_network_interface_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type - _schema_network_security_group_read = None + _schema_common_network_security_group_read = None @classmethod - def _build_schema_network_security_group_read(cls, _schema): - if cls._schema_network_security_group_read is not None: - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + def _build_schema_common_network_security_group_read(cls, _schema): + if cls._schema_common_network_security_group_read is not None: + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type return - cls._schema_network_security_group_read = _schema_network_security_group_read = AAZObjectType() + cls._schema_common_network_security_group_read = _schema_common_network_security_group_read = AAZObjectType() - network_security_group_read = _schema_network_security_group_read - network_security_group_read.etag = AAZStrType( + common_network_security_group_read = _schema_common_network_security_group_read + common_network_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.id = AAZStrType() - network_security_group_read.location = AAZStrType() - network_security_group_read.name = AAZStrType( + common_network_security_group_read.id = AAZStrType() + common_network_security_group_read.location = AAZStrType() + common_network_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.properties = AAZObjectType( + common_network_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_security_group_read.tags = AAZDictType() - network_security_group_read.type = AAZStrType( + common_network_security_group_read.tags = AAZDictType() + common_network_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties + properties = _schema_common_network_security_group_read.properties properties.default_security_rules = AAZListType( serialized_name="defaultSecurityRules", flags={"read_only": True}, @@ -2206,14 +2237,14 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - default_security_rules = _schema_network_security_group_read.properties.default_security_rules + default_security_rules = _schema_common_network_security_group_read.properties.default_security_rules default_security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(default_security_rules.Element) + cls._build_schema_common_security_rule_read(default_security_rules.Element) - flow_logs = _schema_network_security_group_read.properties.flow_logs + flow_logs = _schema_common_network_security_group_read.properties.flow_logs flow_logs.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2231,7 +2262,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - identity = _schema_network_security_group_read.properties.flow_logs.Element.identity + identity = _schema_common_network_security_group_read.properties.flow_logs.Element.identity identity.principal_id = AAZStrType( serialized_name="principalId", flags={"read_only": True}, @@ -2245,10 +2276,10 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="userAssignedIdentities", ) - user_assigned_identities = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities + user_assigned_identities = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities user_assigned_identities.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element _element.client_id = AAZStrType( serialized_name="clientId", flags={"read_only": True}, @@ -2258,7 +2289,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties.flow_logs.Element.properties + properties = _schema_common_network_security_group_read.properties.flow_logs.Element.properties properties.enabled = AAZBoolType() properties.enabled_filtering_criteria = AAZStrType( serialized_name="enabledFilteringCriteria", @@ -2290,12 +2321,12 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"required": True}, ) - flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration + flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration flow_analytics_configuration.network_watcher_flow_analytics_configuration = AAZObjectType( serialized_name="networkWatcherFlowAnalyticsConfiguration", ) - network_watcher_flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration + network_watcher_flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration network_watcher_flow_analytics_configuration.enabled = AAZBoolType() network_watcher_flow_analytics_configuration.traffic_analytics_interval = AAZIntType( serialized_name="trafficAnalyticsInterval", @@ -2310,81 +2341,81 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="workspaceResourceId", ) - format = _schema_network_security_group_read.properties.flow_logs.Element.properties.format + format = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.format format.type = AAZStrType() format.version = AAZIntType() - retention_policy = _schema_network_security_group_read.properties.flow_logs.Element.properties.retention_policy + retention_policy = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.retention_policy retention_policy.days = AAZIntType() retention_policy.enabled = AAZBoolType() - tags = _schema_network_security_group_read.properties.flow_logs.Element.tags + tags = _schema_common_network_security_group_read.properties.flow_logs.Element.tags tags.Element = AAZStrType() - network_interfaces = _schema_network_security_group_read.properties.network_interfaces + network_interfaces = _schema_common_network_security_group_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - security_rules = _schema_network_security_group_read.properties.security_rules + security_rules = _schema_common_network_security_group_read.properties.security_rules security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(security_rules.Element) + cls._build_schema_common_security_rule_read(security_rules.Element) - subnets = _schema_network_security_group_read.properties.subnets + subnets = _schema_common_network_security_group_read.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_network_security_group_read.tags + tags = _schema_common_network_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type - _schema_private_endpoint_read = None + _schema_common_private_endpoint_read = None @classmethod - def _build_schema_private_endpoint_read(cls, _schema): - if cls._schema_private_endpoint_read is not None: - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + def _build_schema_common_private_endpoint_read(cls, _schema): + if cls._schema_common_private_endpoint_read is not None: + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type return - cls._schema_private_endpoint_read = _schema_private_endpoint_read = AAZObjectType( + cls._schema_common_private_endpoint_read = _schema_common_private_endpoint_read = AAZObjectType( flags={"read_only": True} ) - private_endpoint_read = _schema_private_endpoint_read - private_endpoint_read.etag = AAZStrType( + common_private_endpoint_read = _schema_common_private_endpoint_read + common_private_endpoint_read.etag = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.extended_location = AAZObjectType( + common_private_endpoint_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_endpoint_read.extended_location) - private_endpoint_read.id = AAZStrType() - private_endpoint_read.location = AAZStrType() - private_endpoint_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_private_endpoint_read.extended_location) + common_private_endpoint_read.id = AAZStrType() + common_private_endpoint_read.location = AAZStrType() + common_private_endpoint_read.name = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.properties = AAZObjectType( + common_private_endpoint_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_endpoint_read.tags = AAZDictType() - private_endpoint_read.type = AAZStrType( + common_private_endpoint_read.tags = AAZDictType() + common_private_endpoint_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties + properties = _schema_common_private_endpoint_read.properties properties.application_security_groups = AAZListType( serialized_name="applicationSecurityGroups", ) @@ -2415,28 +2446,28 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - application_security_groups = _schema_private_endpoint_read.properties.application_security_groups + application_security_groups = _schema_common_private_endpoint_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - custom_dns_configs = _schema_private_endpoint_read.properties.custom_dns_configs + custom_dns_configs = _schema_common_private_endpoint_read.properties.custom_dns_configs custom_dns_configs.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.custom_dns_configs.Element + _element = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element _element.fqdn = AAZStrType() _element.ip_addresses = AAZListType( serialized_name="ipAddresses", ) - ip_addresses = _schema_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses + ip_addresses = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses ip_addresses.Element = AAZStrType() - ip_configurations = _schema_private_endpoint_read.properties.ip_configurations + ip_configurations = _schema_common_private_endpoint_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.ip_configurations.Element + _element = _schema_common_private_endpoint_read.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2448,7 +2479,7 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties.ip_configurations.Element.properties + properties = _schema_common_private_endpoint_read.properties.ip_configurations.Element.properties properties.group_id = AAZStrType( serialized_name="groupId", ) @@ -2459,88 +2490,88 @@ def _build_schema_private_endpoint_read(cls, _schema): serialized_name="privateIPAddress", ) - manual_private_link_service_connections = _schema_private_endpoint_read.properties.manual_private_link_service_connections + manual_private_link_service_connections = _schema_common_private_endpoint_read.properties.manual_private_link_service_connections manual_private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(manual_private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(manual_private_link_service_connections.Element) - network_interfaces = _schema_private_endpoint_read.properties.network_interfaces + network_interfaces = _schema_common_private_endpoint_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_link_service_connections = _schema_private_endpoint_read.properties.private_link_service_connections + private_link_service_connections = _schema_common_private_endpoint_read.properties.private_link_service_connections private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(private_link_service_connections.Element) - tags = _schema_private_endpoint_read.tags + tags = _schema_common_private_endpoint_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type - _schema_private_link_service_connection_state_read = None + _schema_common_private_link_service_connection_state_read = None @classmethod - def _build_schema_private_link_service_connection_state_read(cls, _schema): - if cls._schema_private_link_service_connection_state_read is not None: - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + def _build_schema_common_private_link_service_connection_state_read(cls, _schema): + if cls._schema_common_private_link_service_connection_state_read is not None: + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status return - cls._schema_private_link_service_connection_state_read = _schema_private_link_service_connection_state_read = AAZObjectType() + cls._schema_common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read = AAZObjectType() - private_link_service_connection_state_read = _schema_private_link_service_connection_state_read - private_link_service_connection_state_read.actions_required = AAZStrType( + common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read + common_private_link_service_connection_state_read.actions_required = AAZStrType( serialized_name="actionsRequired", ) - private_link_service_connection_state_read.description = AAZStrType() - private_link_service_connection_state_read.status = AAZStrType() + common_private_link_service_connection_state_read.description = AAZStrType() + common_private_link_service_connection_state_read.status = AAZStrType() - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status - _schema_private_link_service_connection_read = None + _schema_common_private_link_service_connection_read = None @classmethod - def _build_schema_private_link_service_connection_read(cls, _schema): - if cls._schema_private_link_service_connection_read is not None: - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + def _build_schema_common_private_link_service_connection_read(cls, _schema): + if cls._schema_common_private_link_service_connection_read is not None: + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type return - cls._schema_private_link_service_connection_read = _schema_private_link_service_connection_read = AAZObjectType() + cls._schema_common_private_link_service_connection_read = _schema_common_private_link_service_connection_read = AAZObjectType() - private_link_service_connection_read = _schema_private_link_service_connection_read - private_link_service_connection_read.etag = AAZStrType( + common_private_link_service_connection_read = _schema_common_private_link_service_connection_read + common_private_link_service_connection_read.etag = AAZStrType( flags={"read_only": True}, ) - private_link_service_connection_read.id = AAZStrType() - private_link_service_connection_read.name = AAZStrType() - private_link_service_connection_read.properties = AAZObjectType( + common_private_link_service_connection_read.id = AAZStrType() + common_private_link_service_connection_read.name = AAZStrType() + common_private_link_service_connection_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_link_service_connection_read.type = AAZStrType( + common_private_link_service_connection_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_link_service_connection_read.properties + properties = _schema_common_private_link_service_connection_read.properties properties.group_ids = AAZListType( serialized_name="groupIds", ) properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.private_link_service_id = AAZStrType( serialized_name="privateLinkServiceId", ) @@ -2552,58 +2583,58 @@ def _build_schema_private_link_service_connection_read(cls, _schema): serialized_name="requestMessage", ) - group_ids = _schema_private_link_service_connection_read.properties.group_ids + group_ids = _schema_common_private_link_service_connection_read.properties.group_ids group_ids.Element = AAZStrType() - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type - _schema_public_ip_address_read = None + _schema_common_public_ip_address_read = None @classmethod - def _build_schema_public_ip_address_read(cls, _schema): - if cls._schema_public_ip_address_read is not None: - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + def _build_schema_common_public_ip_address_read(cls, _schema): + if cls._schema_common_public_ip_address_read is not None: + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones return - cls._schema_public_ip_address_read = _schema_public_ip_address_read = AAZObjectType() + cls._schema_common_public_ip_address_read = _schema_common_public_ip_address_read = AAZObjectType() - public_ip_address_read = _schema_public_ip_address_read - public_ip_address_read.etag = AAZStrType( + common_public_ip_address_read = _schema_common_public_ip_address_read + common_public_ip_address_read.etag = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.extended_location = AAZObjectType( + common_public_ip_address_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(public_ip_address_read.extended_location) - public_ip_address_read.id = AAZStrType() - public_ip_address_read.location = AAZStrType() - public_ip_address_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_public_ip_address_read.extended_location) + common_public_ip_address_read.id = AAZStrType() + common_public_ip_address_read.location = AAZStrType() + common_public_ip_address_read.name = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.properties = AAZObjectType( + common_public_ip_address_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - public_ip_address_read.sku = AAZObjectType() - public_ip_address_read.tags = AAZDictType() - public_ip_address_read.type = AAZStrType( + common_public_ip_address_read.sku = AAZObjectType() + common_public_ip_address_read.tags = AAZDictType() + common_public_ip_address_read.type = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.zones = AAZListType() + common_public_ip_address_read.zones = AAZListType() - properties = _schema_public_ip_address_read.properties + properties = _schema_common_public_ip_address_read.properties properties.ddos_settings = AAZObjectType( serialized_name="ddosSettings", ) @@ -2623,14 +2654,14 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="ipConfiguration", flags={"read_only": True}, ) - cls._build_schema_ip_configuration_read(properties.ip_configuration) + cls._build_schema_common_ip_configuration_read(properties.ip_configuration) properties.ip_tags = AAZListType( serialized_name="ipTags", ) properties.linked_public_ip_address = AAZObjectType( serialized_name="linkedPublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.linked_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.linked_public_ip_address) properties.migration_phase = AAZStrType( serialized_name="migrationPhase", ) @@ -2650,7 +2681,7 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.resource_guid = AAZStrType( serialized_name="resourceGuid", flags={"read_only": True}, @@ -2658,18 +2689,22 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_public_ip_address = AAZObjectType( serialized_name="servicePublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.service_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.service_public_ip_address) - ddos_settings = _schema_public_ip_address_read.properties.ddos_settings + ddos_settings = _schema_common_public_ip_address_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) ddos_settings.ddos_protection_plan = AAZObjectType( serialized_name="ddosProtectionPlan", ) - cls._build_schema_sub_resource_read(ddos_settings.ddos_protection_plan) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_protection_plan) ddos_settings.protection_mode = AAZStrType( serialized_name="protectionMode", ) - dns_settings = _schema_public_ip_address_read.properties.dns_settings + dns_settings = _schema_common_public_ip_address_read.properties.dns_settings dns_settings.domain_name_label = AAZStrType( serialized_name="domainNameLabel", ) @@ -2681,16 +2716,16 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="reverseFqdn", ) - ip_tags = _schema_public_ip_address_read.properties.ip_tags + ip_tags = _schema_common_public_ip_address_read.properties.ip_tags ip_tags.Element = AAZObjectType() - _element = _schema_public_ip_address_read.properties.ip_tags.Element + _element = _schema_common_public_ip_address_read.properties.ip_tags.Element _element.ip_tag_type = AAZStrType( serialized_name="ipTagType", ) _element.tag = AAZStrType() - nat_gateway = _schema_public_ip_address_read.properties.nat_gateway + nat_gateway = _schema_common_public_ip_address_read.properties.nat_gateway nat_gateway.etag = AAZStrType( flags={"read_only": True}, ) @@ -2709,10 +2744,11 @@ def _build_schema_public_ip_address_read(cls, _schema): ) nat_gateway.zones = AAZListType() - properties = _schema_public_ip_address_read.properties.nat_gateway.properties + properties = _schema_common_public_ip_address_read.properties.nat_gateway.properties properties.idle_timeout_in_minutes = AAZIntType( serialized_name="idleTimeoutInMinutes", ) + properties.nat64 = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -2736,91 +2772,93 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.source_virtual_network = AAZObjectType( serialized_name="sourceVirtualNetwork", ) - cls._build_schema_sub_resource_read(properties.source_virtual_network) + cls._build_schema_common_sub_resource_read(properties.source_virtual_network) properties.subnets = AAZListType( flags={"read_only": True}, ) - public_ip_addresses = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses + public_ip_addresses = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses public_ip_addresses.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses.Element) - public_ip_addresses_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 + public_ip_addresses_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 public_ip_addresses_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses_v6.Element) - public_ip_prefixes = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes + public_ip_prefixes = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes public_ip_prefixes.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes.Element) - public_ip_prefixes_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 + public_ip_prefixes_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 public_ip_prefixes_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes_v6.Element) - subnets = _schema_public_ip_address_read.properties.nat_gateway.properties.subnets + subnets = _schema_common_public_ip_address_read.properties.nat_gateway.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_sub_resource_read(subnets.Element) + cls._build_schema_common_sub_resource_read(subnets.Element) - sku = _schema_public_ip_address_read.properties.nat_gateway.sku + sku = _schema_common_public_ip_address_read.properties.nat_gateway.sku sku.name = AAZStrType() - tags = _schema_public_ip_address_read.properties.nat_gateway.tags + tags = _schema_common_public_ip_address_read.properties.nat_gateway.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.properties.nat_gateway.zones + zones = _schema_common_public_ip_address_read.properties.nat_gateway.zones zones.Element = AAZStrType() - sku = _schema_public_ip_address_read.sku + sku = _schema_common_public_ip_address_read.sku sku.name = AAZStrType() sku.tier = AAZStrType() - tags = _schema_public_ip_address_read.tags + tags = _schema_common_public_ip_address_read.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.zones + zones = _schema_common_public_ip_address_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones - _schema_security_rule_read = None + _schema_common_security_rule_read = None @classmethod - def _build_schema_security_rule_read(cls, _schema): - if cls._schema_security_rule_read is not None: - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + def _build_schema_common_security_rule_read(cls, _schema): + if cls._schema_common_security_rule_read is not None: + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type return - cls._schema_security_rule_read = _schema_security_rule_read = AAZObjectType() + cls._schema_common_security_rule_read = _schema_common_security_rule_read = AAZObjectType() - security_rule_read = _schema_security_rule_read - security_rule_read.etag = AAZStrType( + common_security_rule_read = _schema_common_security_rule_read + common_security_rule_read.etag = AAZStrType( flags={"read_only": True}, ) - security_rule_read.id = AAZStrType() - security_rule_read.name = AAZStrType() - security_rule_read.properties = AAZObjectType( + common_security_rule_read.id = AAZStrType() + common_security_rule_read.name = AAZStrType() + common_security_rule_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - security_rule_read.type = AAZStrType() + common_security_rule_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_security_rule_read.properties + properties = _schema_common_security_rule_read.properties properties.access = AAZStrType( flags={"required": True}, ) @@ -2869,75 +2907,77 @@ def _build_schema_security_rule_read(cls, _schema): serialized_name="sourcePortRanges", ) - destination_address_prefixes = _schema_security_rule_read.properties.destination_address_prefixes + destination_address_prefixes = _schema_common_security_rule_read.properties.destination_address_prefixes destination_address_prefixes.Element = AAZStrType() - destination_application_security_groups = _schema_security_rule_read.properties.destination_application_security_groups + destination_application_security_groups = _schema_common_security_rule_read.properties.destination_application_security_groups destination_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(destination_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(destination_application_security_groups.Element) - destination_port_ranges = _schema_security_rule_read.properties.destination_port_ranges + destination_port_ranges = _schema_common_security_rule_read.properties.destination_port_ranges destination_port_ranges.Element = AAZStrType() - source_address_prefixes = _schema_security_rule_read.properties.source_address_prefixes + source_address_prefixes = _schema_common_security_rule_read.properties.source_address_prefixes source_address_prefixes.Element = AAZStrType() - source_application_security_groups = _schema_security_rule_read.properties.source_application_security_groups + source_application_security_groups = _schema_common_security_rule_read.properties.source_application_security_groups source_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(source_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(source_application_security_groups.Element) - source_port_ranges = _schema_security_rule_read.properties.source_port_ranges + source_port_ranges = _schema_common_security_rule_read.properties.source_port_ranges source_port_ranges.Element = AAZStrType() - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type - _schema_sub_resource_read = None + _schema_common_sub_resource_read = None @classmethod - def _build_schema_sub_resource_read(cls, _schema): - if cls._schema_sub_resource_read is not None: - _schema.id = cls._schema_sub_resource_read.id + def _build_schema_common_sub_resource_read(cls, _schema): + if cls._schema_common_sub_resource_read is not None: + _schema.id = cls._schema_common_sub_resource_read.id return - cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType( + cls._schema_common_sub_resource_read = _schema_common_sub_resource_read = AAZObjectType( flags={"read_only": True} ) - sub_resource_read = _schema_sub_resource_read - sub_resource_read.id = AAZStrType() + common_sub_resource_read = _schema_common_sub_resource_read + common_sub_resource_read.id = AAZStrType() - _schema.id = cls._schema_sub_resource_read.id + _schema.id = cls._schema_common_sub_resource_read.id - _schema_subnet_read = None + _schema_common_subnet_read = None @classmethod - def _build_schema_subnet_read(cls, _schema): - if cls._schema_subnet_read is not None: - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + def _build_schema_common_subnet_read(cls, _schema): + if cls._schema_common_subnet_read is not None: + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type return - cls._schema_subnet_read = _schema_subnet_read = AAZObjectType() + cls._schema_common_subnet_read = _schema_common_subnet_read = AAZObjectType() - subnet_read = _schema_subnet_read - subnet_read.etag = AAZStrType( + common_subnet_read = _schema_common_subnet_read + common_subnet_read.etag = AAZStrType( flags={"read_only": True}, ) - subnet_read.id = AAZStrType() - subnet_read.name = AAZStrType() - subnet_read.properties = AAZObjectType( + common_subnet_read.id = AAZStrType() + common_subnet_read.name = AAZStrType() + common_subnet_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - subnet_read.type = AAZStrType() + common_subnet_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties + properties = _schema_common_subnet_read.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -2968,11 +3008,11 @@ def _build_schema_subnet_read(cls, _schema): properties.nat_gateway = AAZObjectType( serialized_name="natGateway", ) - cls._build_schema_sub_resource_read(properties.nat_gateway) + cls._build_schema_common_sub_resource_read(properties.nat_gateway) properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.private_endpoint_network_policies = AAZStrType( serialized_name="privateEndpointNetworkPolicies", ) @@ -3010,18 +3050,18 @@ def _build_schema_subnet_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.sharing_scope = AAZStrType( serialized_name="sharingScope", ) - address_prefixes = _schema_subnet_read.properties.address_prefixes + address_prefixes = _schema_common_subnet_read.properties.address_prefixes address_prefixes.Element = AAZStrType() - application_gateway_ip_configurations = _schema_subnet_read.properties.application_gateway_ip_configurations + application_gateway_ip_configurations = _schema_common_subnet_read.properties.application_gateway_ip_configurations application_gateway_ip_configurations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.application_gateway_ip_configurations.Element + _element = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -3034,18 +3074,18 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.application_gateway_ip_configurations.Element.properties + properties = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) - delegations = _schema_subnet_read.properties.delegations + delegations = _schema_common_subnet_read.properties.delegations delegations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.delegations.Element + _element = _schema_common_subnet_read.properties.delegations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -3056,7 +3096,7 @@ def _build_schema_subnet_read(cls, _schema): ) _element.type = AAZStrType() - properties = _schema_subnet_read.properties.delegations.Element.properties + properties = _schema_common_subnet_read.properties.delegations.Element.properties properties.actions = AAZListType( flags={"read_only": True}, ) @@ -3068,17 +3108,17 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceName", ) - actions = _schema_subnet_read.properties.delegations.Element.properties.actions + actions = _schema_common_subnet_read.properties.delegations.Element.properties.actions actions.Element = AAZStrType() - ip_allocations = _schema_subnet_read.properties.ip_allocations + ip_allocations = _schema_common_subnet_read.properties.ip_allocations ip_allocations.Element = AAZObjectType() - cls._build_schema_sub_resource_read(ip_allocations.Element) + cls._build_schema_common_sub_resource_read(ip_allocations.Element) - ip_configuration_profiles = _schema_subnet_read.properties.ip_configuration_profiles + ip_configuration_profiles = _schema_common_subnet_read.properties.ip_configuration_profiles ip_configuration_profiles.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ip_configuration_profiles.Element + _element = _schema_common_subnet_read.properties.ip_configuration_profiles.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -3091,22 +3131,22 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.ip_configuration_profiles.Element.properties + properties = _schema_common_subnet_read.properties.ip_configuration_profiles.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - ip_configurations = _schema_subnet_read.properties.ip_configurations + ip_configurations = _schema_common_subnet_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_ip_configuration_read(ip_configurations.Element) - ipam_pool_prefix_allocations = _schema_subnet_read.properties.ipam_pool_prefix_allocations + ipam_pool_prefix_allocations = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations ipam_pool_prefix_allocations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element + _element = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element _element.allocated_address_prefixes = AAZListType( serialized_name="allocatedAddressPrefixes", flags={"read_only": True}, @@ -3118,20 +3158,20 @@ def _build_schema_subnet_read(cls, _schema): flags={"client_flatten": True}, ) - allocated_address_prefixes = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes + allocated_address_prefixes = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes allocated_address_prefixes.Element = AAZStrType() - pool = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool + pool = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool pool.id = AAZStrType() - private_endpoints = _schema_subnet_read.properties.private_endpoints + private_endpoints = _schema_common_subnet_read.properties.private_endpoints private_endpoints.Element = AAZObjectType() - cls._build_schema_private_endpoint_read(private_endpoints.Element) + cls._build_schema_common_private_endpoint_read(private_endpoints.Element) - resource_navigation_links = _schema_subnet_read.properties.resource_navigation_links + resource_navigation_links = _schema_common_subnet_read.properties.resource_navigation_links resource_navigation_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.resource_navigation_links.Element + _element = _schema_common_subnet_read.properties.resource_navigation_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -3146,7 +3186,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.resource_navigation_links.Element.properties + properties = _schema_common_subnet_read.properties.resource_navigation_links.Element.properties properties.link = AAZStrType() properties.linked_resource_type = AAZStrType( serialized_name="linkedResourceType", @@ -3156,7 +3196,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - route_table = _schema_subnet_read.properties.route_table + route_table = _schema_common_subnet_read.properties.route_table route_table.etag = AAZStrType( flags={"read_only": True}, ) @@ -3173,10 +3213,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.route_table.properties + properties = _schema_common_subnet_read.properties.route_table.properties properties.disable_bgp_route_propagation = AAZBoolType( serialized_name="disableBgpRoutePropagation", ) + properties.disable_peering_route = AAZStrType( + serialized_name="disablePeeringRoute", + ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -3190,10 +3233,10 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - routes = _schema_subnet_read.properties.route_table.properties.routes + routes = _schema_common_subnet_read.properties.route_table.properties.routes routes.Element = AAZObjectType() - _element = _schema_subnet_read.properties.route_table.properties.routes.Element + _element = _schema_common_subnet_read.properties.route_table.properties.routes.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -3202,9 +3245,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.route_table.properties.routes.Element.properties + properties = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -3212,6 +3257,9 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="hasBgpOverride", flags={"read_only": True}, ) + properties.next_hop = AAZObjectType( + serialized_name="nextHop", + ) properties.next_hop_ip_address = AAZStrType( serialized_name="nextHopIpAddress", ) @@ -3224,17 +3272,26 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - subnets = _schema_subnet_read.properties.route_table.properties.subnets + next_hop = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop + next_hop.next_hop_ip_addresses = AAZListType( + serialized_name="nextHopIpAddresses", + flags={"required": True}, + ) + + next_hop_ip_addresses = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop.next_hop_ip_addresses + next_hop_ip_addresses.Element = AAZStrType() + + subnets = _schema_common_subnet_read.properties.route_table.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.route_table.tags + tags = _schema_common_subnet_read.properties.route_table.tags tags.Element = AAZStrType() - service_association_links = _schema_subnet_read.properties.service_association_links + service_association_links = _schema_common_subnet_read.properties.service_association_links service_association_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_association_links.Element + _element = _schema_common_subnet_read.properties.service_association_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -3247,7 +3304,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_association_links.Element.properties + properties = _schema_common_subnet_read.properties.service_association_links.Element.properties properties.allow_delete = AAZBoolType( serialized_name="allowDelete", ) @@ -3261,13 +3318,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - locations = _schema_subnet_read.properties.service_association_links.Element.properties.locations + locations = _schema_common_subnet_read.properties.service_association_links.Element.properties.locations locations.Element = AAZStrType() - service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies + service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies service_endpoint_policies.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -3287,7 +3344,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties properties.contextual_service_endpoint_policies = AAZListType( serialized_name="contextualServiceEndpointPolicies", ) @@ -3309,13 +3366,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - contextual_service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies + contextual_service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies contextual_service_endpoint_policies.Element = AAZStrType() - service_endpoint_policy_definitions = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions + service_endpoint_policy_definitions = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions service_endpoint_policy_definitions.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -3324,9 +3381,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties properties.description = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", @@ -3337,39 +3396,112 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceResources", ) - service_resources = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources + service_resources = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources service_resources.Element = AAZStrType() - subnets = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.subnets + subnets = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.service_endpoint_policies.Element.tags + tags = _schema_common_subnet_read.properties.service_endpoint_policies.Element.tags tags.Element = AAZStrType() - service_endpoints = _schema_subnet_read.properties.service_endpoints + service_endpoints = _schema_common_subnet_read.properties.service_endpoints service_endpoints.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoints.Element + _element = _schema_common_subnet_read.properties.service_endpoints.Element _element.locations = AAZListType() _element.network_identifier = AAZObjectType( serialized_name="networkIdentifier", ) - cls._build_schema_sub_resource_read(_element.network_identifier) + cls._build_schema_common_sub_resource_read(_element.network_identifier) _element.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) _element.service = AAZStrType() - locations = _schema_subnet_read.properties.service_endpoints.Element.locations + locations = _schema_common_subnet_read.properties.service_endpoints.Element.locations locations.Element = AAZStrType() - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type + + _schema_common_virtual_network_tap_read = None + + @classmethod + def _build_schema_common_virtual_network_tap_read(cls, _schema): + if cls._schema_common_virtual_network_tap_read is not None: + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type + return + + cls._schema_common_virtual_network_tap_read = _schema_common_virtual_network_tap_read = AAZObjectType() + + common_virtual_network_tap_read = _schema_common_virtual_network_tap_read + common_virtual_network_tap_read.etag = AAZStrType( + flags={"read_only": True}, + ) + common_virtual_network_tap_read.id = AAZStrType() + common_virtual_network_tap_read.location = AAZStrType() + common_virtual_network_tap_read.name = AAZStrType( + flags={"read_only": True}, + ) + common_virtual_network_tap_read.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + common_virtual_network_tap_read.tags = AAZDictType() + common_virtual_network_tap_read.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = _schema_common_virtual_network_tap_read.properties + properties.destination_load_balancer_front_end_ip_configuration = AAZObjectType( + serialized_name="destinationLoadBalancerFrontEndIPConfiguration", + ) + cls._build_schema_common_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) + properties.destination_network_interface_ip_configuration = AAZObjectType( + serialized_name="destinationNetworkInterfaceIPConfiguration", + ) + cls._build_schema_common_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) + properties.destination_port = AAZIntType( + serialized_name="destinationPort", + ) + properties.network_interface_tap_configurations = AAZListType( + serialized_name="networkInterfaceTapConfigurations", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.resource_guid = AAZStrType( + serialized_name="resourceGuid", + flags={"read_only": True}, + ) + + network_interface_tap_configurations = _schema_common_virtual_network_tap_read.properties.network_interface_tap_configurations + network_interface_tap_configurations.Element = AAZObjectType() + cls._build_schema_common_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) + + tags = _schema_common_virtual_network_tap_read.tags + tags.Element = AAZStrType() + + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type _schema_virtual_network_appliance_read = None @@ -3405,13 +3537,16 @@ def _build_schema_virtual_network_appliance_read(cls, _schema): ) properties = _schema_virtual_network_appliance_read.properties - properties.bandwidth_in_gbps = AAZIntType( + properties.bandwidth_in_gbps = AAZFloatType( serialized_name="bandwidthInGbps", ) properties.ip_configurations = AAZListType( serialized_name="ipConfigurations", flags={"read_only": True}, ) + properties.private_ip_address_version = AAZStrType( + serialized_name="privateIPAddressVersion", + ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -3421,7 +3556,7 @@ def _build_schema_virtual_network_appliance_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) ip_configurations = _schema_virtual_network_appliance_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() @@ -3466,78 +3601,5 @@ def _build_schema_virtual_network_appliance_read(cls, _schema): _schema.tags = cls._schema_virtual_network_appliance_read.tags _schema.type = cls._schema_virtual_network_appliance_read.type - _schema_virtual_network_tap_read = None - - @classmethod - def _build_schema_virtual_network_tap_read(cls, _schema): - if cls._schema_virtual_network_tap_read is not None: - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type - return - - cls._schema_virtual_network_tap_read = _schema_virtual_network_tap_read = AAZObjectType() - - virtual_network_tap_read = _schema_virtual_network_tap_read - virtual_network_tap_read.etag = AAZStrType( - flags={"read_only": True}, - ) - virtual_network_tap_read.id = AAZStrType() - virtual_network_tap_read.location = AAZStrType() - virtual_network_tap_read.name = AAZStrType( - flags={"read_only": True}, - ) - virtual_network_tap_read.properties = AAZObjectType( - flags={"client_flatten": True}, - ) - virtual_network_tap_read.tags = AAZDictType() - virtual_network_tap_read.type = AAZStrType( - flags={"read_only": True}, - ) - - properties = _schema_virtual_network_tap_read.properties - properties.destination_load_balancer_front_end_ip_configuration = AAZObjectType( - serialized_name="destinationLoadBalancerFrontEndIPConfiguration", - ) - cls._build_schema_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) - properties.destination_network_interface_ip_configuration = AAZObjectType( - serialized_name="destinationNetworkInterfaceIPConfiguration", - ) - cls._build_schema_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) - properties.destination_port = AAZIntType( - serialized_name="destinationPort", - ) - properties.network_interface_tap_configurations = AAZListType( - serialized_name="networkInterfaceTapConfigurations", - flags={"read_only": True}, - ) - properties.provisioning_state = AAZStrType( - serialized_name="provisioningState", - flags={"read_only": True}, - ) - properties.resource_guid = AAZStrType( - serialized_name="resourceGuid", - flags={"read_only": True}, - ) - - network_interface_tap_configurations = _schema_virtual_network_tap_read.properties.network_interface_tap_configurations - network_interface_tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) - - tags = _schema_virtual_network_tap_read.tags - tags.Element = AAZStrType() - - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type - __all__ = ["Update"] diff --git a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_wait.py b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_wait.py index b435dabc0a3..e969269b420 100644 --- a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_wait.py +++ b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/virtual_network_appliance/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkappliances/{}", "2025-05-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkappliances/{}", "2025-07-01"], ] } @@ -119,7 +119,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2025-05-01", + "api-version", "2025-07-01", required=True, ), } @@ -169,13 +169,16 @@ def _build_schema_on_200(cls): ) properties = cls._schema_on_200.properties - properties.bandwidth_in_gbps = AAZIntType( + properties.bandwidth_in_gbps = AAZFloatType( serialized_name="bandwidthInGbps", ) properties.ip_configurations = AAZListType( serialized_name="ipConfigurations", flags={"read_only": True}, ) + properties.private_ip_address_version = AAZStrType( + serialized_name="privateIPAddressVersion", + ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -185,7 +188,7 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - _WaitHelper._build_schema_subnet_read(properties.subnet) + _WaitHelper._build_schema_common_subnet_read(properties.subnet) ip_configurations = cls._schema_on_200.properties.ip_configurations ip_configurations.Element = AAZObjectType() @@ -228,40 +231,40 @@ def _build_schema_on_200(cls): class _WaitHelper: """Helper class for Wait""" - _schema_application_security_group_read = None + _schema_common_application_security_group_read = None @classmethod - def _build_schema_application_security_group_read(cls, _schema): - if cls._schema_application_security_group_read is not None: - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + def _build_schema_common_application_security_group_read(cls, _schema): + if cls._schema_common_application_security_group_read is not None: + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type return - cls._schema_application_security_group_read = _schema_application_security_group_read = AAZObjectType() + cls._schema_common_application_security_group_read = _schema_common_application_security_group_read = AAZObjectType() - application_security_group_read = _schema_application_security_group_read - application_security_group_read.etag = AAZStrType( + common_application_security_group_read = _schema_common_application_security_group_read + common_application_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.id = AAZStrType() - application_security_group_read.location = AAZStrType() - application_security_group_read.name = AAZStrType( + common_application_security_group_read.id = AAZStrType() + common_application_security_group_read.location = AAZStrType() + common_application_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.properties = AAZObjectType( + common_application_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - application_security_group_read.tags = AAZDictType() - application_security_group_read.type = AAZStrType( + common_application_security_group_read.tags = AAZDictType() + common_application_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_application_security_group_read.properties + properties = _schema_common_application_security_group_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -271,69 +274,72 @@ def _build_schema_application_security_group_read(cls, _schema): flags={"read_only": True}, ) - tags = _schema_application_security_group_read.tags + tags = _schema_common_application_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type - _schema_extended_location_read = None + _schema_common_extended_location_read = None @classmethod - def _build_schema_extended_location_read(cls, _schema): - if cls._schema_extended_location_read is not None: - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + def _build_schema_common_extended_location_read(cls, _schema): + if cls._schema_common_extended_location_read is not None: + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type return - cls._schema_extended_location_read = _schema_extended_location_read = AAZObjectType() + cls._schema_common_extended_location_read = _schema_common_extended_location_read = AAZObjectType() - extended_location_read = _schema_extended_location_read - extended_location_read.name = AAZStrType() - extended_location_read.type = AAZStrType() + common_extended_location_read = _schema_common_extended_location_read + common_extended_location_read.name = AAZStrType() + common_extended_location_read.type = AAZStrType() - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type - _schema_frontend_ip_configuration_read = None + _schema_common_frontend_ip_configuration_read = None @classmethod - def _build_schema_frontend_ip_configuration_read(cls, _schema): - if cls._schema_frontend_ip_configuration_read is not None: - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + def _build_schema_common_frontend_ip_configuration_read(cls, _schema): + if cls._schema_common_frontend_ip_configuration_read is not None: + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones return - cls._schema_frontend_ip_configuration_read = _schema_frontend_ip_configuration_read = AAZObjectType() + cls._schema_common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read = AAZObjectType() - frontend_ip_configuration_read = _schema_frontend_ip_configuration_read - frontend_ip_configuration_read.etag = AAZStrType( + common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read + common_frontend_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.id = AAZStrType() - frontend_ip_configuration_read.name = AAZStrType() - frontend_ip_configuration_read.properties = AAZObjectType( + common_frontend_ip_configuration_read.id = AAZStrType() + common_frontend_ip_configuration_read.name = AAZStrType() + common_frontend_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - frontend_ip_configuration_read.type = AAZStrType( + common_frontend_ip_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.zones = AAZListType() + common_frontend_ip_configuration_read.zones = AAZListType() - properties = _schema_frontend_ip_configuration_read.properties + properties = _schema_common_frontend_ip_configuration_read.properties + properties.ddos_settings = AAZObjectType( + serialized_name="ddosSettings", + ) properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.inbound_nat_pools = AAZListType( serialized_name="inboundNatPools", flags={"read_only": True}, @@ -366,66 +372,72 @@ def _build_schema_frontend_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) + + ddos_settings = _schema_common_frontend_ip_configuration_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) - inbound_nat_pools = _schema_frontend_ip_configuration_read.properties.inbound_nat_pools + inbound_nat_pools = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_pools inbound_nat_pools.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_pools.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_pools.Element) - inbound_nat_rules = _schema_frontend_ip_configuration_read.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancing_rules = _schema_frontend_ip_configuration_read.properties.load_balancing_rules + load_balancing_rules = _schema_common_frontend_ip_configuration_read.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_frontend_ip_configuration_read.properties.outbound_rules + outbound_rules = _schema_common_frontend_ip_configuration_read.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - zones = _schema_frontend_ip_configuration_read.zones + zones = _schema_common_frontend_ip_configuration_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones - _schema_ip_configuration_read = None + _schema_common_ip_configuration_read = None @classmethod - def _build_schema_ip_configuration_read(cls, _schema): - if cls._schema_ip_configuration_read is not None: - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + def _build_schema_common_ip_configuration_read(cls, _schema): + if cls._schema_common_ip_configuration_read is not None: + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties return - cls._schema_ip_configuration_read = _schema_ip_configuration_read = AAZObjectType( + cls._schema_common_ip_configuration_read = _schema_common_ip_configuration_read = AAZObjectType( flags={"read_only": True} ) - ip_configuration_read = _schema_ip_configuration_read - ip_configuration_read.etag = AAZStrType( + common_ip_configuration_read = _schema_common_ip_configuration_read + common_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - ip_configuration_read.id = AAZStrType() - ip_configuration_read.name = AAZStrType() - ip_configuration_read.properties = AAZObjectType( + common_ip_configuration_read.id = AAZStrType() + common_ip_configuration_read.name = AAZStrType() + common_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_ip_configuration_read.properties + properties = _schema_common_ip_configuration_read.properties properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", ) @@ -439,41 +451,43 @@ def _build_schema_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties - _schema_network_interface_ip_configuration_read = None + _schema_common_network_interface_ip_configuration_read = None @classmethod - def _build_schema_network_interface_ip_configuration_read(cls, _schema): - if cls._schema_network_interface_ip_configuration_read is not None: - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + def _build_schema_common_network_interface_ip_configuration_read(cls, _schema): + if cls._schema_common_network_interface_ip_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type return - cls._schema_network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read = AAZObjectType() + cls._schema_common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read = AAZObjectType() - network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read - network_interface_ip_configuration_read.etag = AAZStrType( + common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read + common_network_interface_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_ip_configuration_read.id = AAZStrType() - network_interface_ip_configuration_read.name = AAZStrType() - network_interface_ip_configuration_read.properties = AAZObjectType( + common_network_interface_ip_configuration_read.id = AAZStrType() + common_network_interface_ip_configuration_read.name = AAZStrType() + common_network_interface_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_ip_configuration_read.type = AAZStrType() + common_network_interface_ip_configuration_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_network_interface_ip_configuration_read.properties + properties = _schema_common_network_interface_ip_configuration_read.properties properties.application_gateway_backend_address_pools = AAZListType( serialized_name="applicationGatewayBackendAddressPools", ) @@ -483,7 +497,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.load_balancer_backend_address_pools = AAZListType( serialized_name="loadBalancerBackendAddressPools", ) @@ -515,17 +529,17 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) properties.virtual_network_taps = AAZListType( serialized_name="virtualNetworkTaps", ) - application_gateway_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools + application_gateway_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools application_gateway_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -538,7 +552,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties properties.backend_addresses = AAZListType( serialized_name="backendAddresses", ) @@ -551,27 +565,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - backend_addresses = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses + backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element _element.fqdn = AAZStrType() _element.ip_address = AAZStrType( serialized_name="ipAddress", ) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - application_security_groups = _schema_network_interface_ip_configuration_read.properties.application_security_groups + application_security_groups = _schema_common_network_interface_ip_configuration_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - load_balancer_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools + load_balancer_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools load_balancer_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -584,7 +598,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties properties.backend_ip_configurations = AAZListType( serialized_name="backendIPConfigurations", flags={"read_only": True}, @@ -608,7 +622,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="outboundRule", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.outbound_rule) + cls._build_schema_common_sub_resource_read(properties.outbound_rule) properties.outbound_rules = AAZListType( serialized_name="outboundRules", flags={"read_only": True}, @@ -626,26 +640,26 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancer_backend_addresses = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses + load_balancer_backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses load_balancer_backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element _element.name = AAZStrType() _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties properties.admin_state = AAZStrType( serialized_name="adminState", ) @@ -659,23 +673,23 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.load_balancer_frontend_ip_configuration = AAZObjectType( serialized_name="loadBalancerFrontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.load_balancer_frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.load_balancer_frontend_ip_configuration) properties.network_interface_ip_configuration = AAZObjectType( serialized_name="networkInterfaceIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.network_interface_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.network_interface_ip_configuration) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - inbound_nat_rules_port_mapping = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping + inbound_nat_rules_port_mapping = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping inbound_nat_rules_port_mapping.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element _element.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -686,27 +700,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="inboundNatRuleName", ) - load_balancing_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules + load_balancing_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules + outbound_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - tunnel_interfaces = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces + tunnel_interfaces = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces tunnel_interfaces.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element _element.identifier = AAZIntType() _element.port = AAZIntType() _element.protocol = AAZStrType() _element.type = AAZStrType() - load_balancer_inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules + load_balancer_inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules load_balancer_inbound_nat_rules.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -719,16 +733,16 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties properties.backend_address_pool = AAZObjectType( serialized_name="backendAddressPool", ) - cls._build_schema_sub_resource_read(properties.backend_address_pool) + cls._build_schema_common_sub_resource_read(properties.backend_address_pool) properties.backend_ip_configuration = AAZObjectType( serialized_name="backendIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_network_interface_ip_configuration_read(properties.backend_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.backend_ip_configuration) properties.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -741,7 +755,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.frontend_ip_configuration = AAZObjectType( serialized_name="frontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.frontend_ip_configuration) properties.frontend_port = AAZIntType( serialized_name="frontendPort", ) @@ -760,7 +774,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - private_link_connection_properties = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties + private_link_connection_properties = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties private_link_connection_properties.fqdns = AAZListType( flags={"read_only": True}, ) @@ -773,47 +787,47 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - fqdns = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns + fqdns = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns fqdns.Element = AAZStrType() - virtual_network_taps = _schema_network_interface_ip_configuration_read.properties.virtual_network_taps + virtual_network_taps = _schema_common_network_interface_ip_configuration_read.properties.virtual_network_taps virtual_network_taps.Element = AAZObjectType() - cls._build_schema_virtual_network_tap_read(virtual_network_taps.Element) + cls._build_schema_common_virtual_network_tap_read(virtual_network_taps.Element) - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type - _schema_network_interface_tap_configuration_read = None + _schema_common_network_interface_tap_configuration_read = None @classmethod - def _build_schema_network_interface_tap_configuration_read(cls, _schema): - if cls._schema_network_interface_tap_configuration_read is not None: - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + def _build_schema_common_network_interface_tap_configuration_read(cls, _schema): + if cls._schema_common_network_interface_tap_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type return - cls._schema_network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read = AAZObjectType() + cls._schema_common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read = AAZObjectType() - network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read - network_interface_tap_configuration_read.etag = AAZStrType( + common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read + common_network_interface_tap_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_tap_configuration_read.id = AAZStrType() - network_interface_tap_configuration_read.name = AAZStrType() - network_interface_tap_configuration_read.properties = AAZObjectType( + common_network_interface_tap_configuration_read.id = AAZStrType() + common_network_interface_tap_configuration_read.name = AAZStrType() + common_network_interface_tap_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_tap_configuration_read.type = AAZStrType( + common_network_interface_tap_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_tap_configuration_read.properties + properties = _schema_common_network_interface_tap_configuration_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -821,53 +835,53 @@ def _build_schema_network_interface_tap_configuration_read(cls, _schema): properties.virtual_network_tap = AAZObjectType( serialized_name="virtualNetworkTap", ) - cls._build_schema_virtual_network_tap_read(properties.virtual_network_tap) + cls._build_schema_common_virtual_network_tap_read(properties.virtual_network_tap) - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type - _schema_network_interface_read = None + _schema_common_network_interface_read = None @classmethod - def _build_schema_network_interface_read(cls, _schema): - if cls._schema_network_interface_read is not None: - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + def _build_schema_common_network_interface_read(cls, _schema): + if cls._schema_common_network_interface_read is not None: + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type return - cls._schema_network_interface_read = _schema_network_interface_read = AAZObjectType() + cls._schema_common_network_interface_read = _schema_common_network_interface_read = AAZObjectType() - network_interface_read = _schema_network_interface_read - network_interface_read.etag = AAZStrType( + common_network_interface_read = _schema_common_network_interface_read + common_network_interface_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_read.extended_location = AAZObjectType( + common_network_interface_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(network_interface_read.extended_location) - network_interface_read.id = AAZStrType() - network_interface_read.location = AAZStrType() - network_interface_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_network_interface_read.extended_location) + common_network_interface_read.id = AAZStrType() + common_network_interface_read.location = AAZStrType() + common_network_interface_read.name = AAZStrType( flags={"read_only": True}, ) - network_interface_read.properties = AAZObjectType( + common_network_interface_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_read.tags = AAZDictType() - network_interface_read.type = AAZStrType( + common_network_interface_read.tags = AAZDictType() + common_network_interface_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties + properties = _schema_common_network_interface_read.properties properties.auxiliary_mode = AAZStrType( serialized_name="auxiliaryMode", ) @@ -888,7 +902,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="dscpConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.dscp_configuration) + cls._build_schema_common_sub_resource_read(properties.dscp_configuration) properties.enable_accelerated_networking = AAZBoolType( serialized_name="enableAcceleratedNetworking", ) @@ -912,7 +926,7 @@ def _build_schema_network_interface_read(cls, _schema): properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.nic_type = AAZStrType( serialized_name="nicType", ) @@ -923,7 +937,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_link_service = AAZObjectType( serialized_name="privateLinkService", ) @@ -943,7 +957,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="virtualMachine", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.virtual_machine) + cls._build_schema_common_sub_resource_read(properties.virtual_machine) properties.vnet_encryption_supported = AAZBoolType( serialized_name="vnetEncryptionSupported", flags={"read_only": True}, @@ -952,7 +966,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="workloadType", ) - dns_settings = _schema_network_interface_read.properties.dns_settings + dns_settings = _schema_common_network_interface_read.properties.dns_settings dns_settings.applied_dns_servers = AAZListType( serialized_name="appliedDnsServers", flags={"read_only": True}, @@ -972,27 +986,27 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - applied_dns_servers = _schema_network_interface_read.properties.dns_settings.applied_dns_servers + applied_dns_servers = _schema_common_network_interface_read.properties.dns_settings.applied_dns_servers applied_dns_servers.Element = AAZStrType() - dns_servers = _schema_network_interface_read.properties.dns_settings.dns_servers + dns_servers = _schema_common_network_interface_read.properties.dns_settings.dns_servers dns_servers.Element = AAZStrType() - hosted_workloads = _schema_network_interface_read.properties.hosted_workloads + hosted_workloads = _schema_common_network_interface_read.properties.hosted_workloads hosted_workloads.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(ip_configurations.Element) - private_link_service = _schema_network_interface_read.properties.private_link_service + private_link_service = _schema_common_network_interface_read.properties.private_link_service private_link_service.etag = AAZStrType( flags={"read_only": True}, ) private_link_service.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_link_service.extended_location) + cls._build_schema_common_extended_location_read(private_link_service.extended_location) private_link_service.id = AAZStrType() private_link_service.location = AAZStrType() private_link_service.name = AAZStrType( @@ -1006,7 +1020,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties properties.access_mode = AAZStrType( serialized_name="accessMode", ) @@ -1043,19 +1057,19 @@ def _build_schema_network_interface_read(cls, _schema): ) properties.visibility = AAZObjectType() - auto_approval = _schema_network_interface_read.properties.private_link_service.properties.auto_approval + auto_approval = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval auto_approval.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions subscriptions.Element = AAZStrType() - fqdns = _schema_network_interface_read.properties.private_link_service.properties.fqdns + fqdns = _schema_common_network_interface_read.properties.private_link_service.properties.fqdns fqdns.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1068,7 +1082,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties properties.primary = AAZBoolType() properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", @@ -1084,20 +1098,20 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - load_balancer_frontend_ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations + load_balancer_frontend_ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations load_balancer_frontend_ip_configurations.Element = AAZObjectType() - cls._build_schema_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) + cls._build_schema_common_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) - network_interfaces = _schema_network_interface_read.properties.private_link_service.properties.network_interfaces + network_interfaces = _schema_common_network_interface_read.properties.private_link_service.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_endpoint_connections = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections + private_endpoint_connections = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1110,7 +1124,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties properties.link_identifier = AAZStrType( serialized_name="linkIdentifier", flags={"read_only": True}, @@ -1119,7 +1133,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_endpoint_location = AAZStrType( serialized_name="privateEndpointLocation", flags={"read_only": True}, @@ -1127,71 +1141,71 @@ def _build_schema_network_interface_read(cls, _schema): properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) - visibility = _schema_network_interface_read.properties.private_link_service.properties.visibility + visibility = _schema_common_network_interface_read.properties.private_link_service.properties.visibility visibility.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.visibility.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.visibility.subscriptions subscriptions.Element = AAZStrType() - tags = _schema_network_interface_read.properties.private_link_service.tags + tags = _schema_common_network_interface_read.properties.private_link_service.tags tags.Element = AAZStrType() - tap_configurations = _schema_network_interface_read.properties.tap_configurations + tap_configurations = _schema_common_network_interface_read.properties.tap_configurations tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(tap_configurations.Element) - tags = _schema_network_interface_read.tags + tags = _schema_common_network_interface_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type - _schema_network_security_group_read = None + _schema_common_network_security_group_read = None @classmethod - def _build_schema_network_security_group_read(cls, _schema): - if cls._schema_network_security_group_read is not None: - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + def _build_schema_common_network_security_group_read(cls, _schema): + if cls._schema_common_network_security_group_read is not None: + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type return - cls._schema_network_security_group_read = _schema_network_security_group_read = AAZObjectType() + cls._schema_common_network_security_group_read = _schema_common_network_security_group_read = AAZObjectType() - network_security_group_read = _schema_network_security_group_read - network_security_group_read.etag = AAZStrType( + common_network_security_group_read = _schema_common_network_security_group_read + common_network_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.id = AAZStrType() - network_security_group_read.location = AAZStrType() - network_security_group_read.name = AAZStrType( + common_network_security_group_read.id = AAZStrType() + common_network_security_group_read.location = AAZStrType() + common_network_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.properties = AAZObjectType( + common_network_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_security_group_read.tags = AAZDictType() - network_security_group_read.type = AAZStrType( + common_network_security_group_read.tags = AAZDictType() + common_network_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties + properties = _schema_common_network_security_group_read.properties properties.default_security_rules = AAZListType( serialized_name="defaultSecurityRules", flags={"read_only": True}, @@ -1222,14 +1236,14 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - default_security_rules = _schema_network_security_group_read.properties.default_security_rules + default_security_rules = _schema_common_network_security_group_read.properties.default_security_rules default_security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(default_security_rules.Element) + cls._build_schema_common_security_rule_read(default_security_rules.Element) - flow_logs = _schema_network_security_group_read.properties.flow_logs + flow_logs = _schema_common_network_security_group_read.properties.flow_logs flow_logs.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1247,7 +1261,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - identity = _schema_network_security_group_read.properties.flow_logs.Element.identity + identity = _schema_common_network_security_group_read.properties.flow_logs.Element.identity identity.principal_id = AAZStrType( serialized_name="principalId", flags={"read_only": True}, @@ -1261,10 +1275,10 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="userAssignedIdentities", ) - user_assigned_identities = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities + user_assigned_identities = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities user_assigned_identities.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element _element.client_id = AAZStrType( serialized_name="clientId", flags={"read_only": True}, @@ -1274,7 +1288,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties.flow_logs.Element.properties + properties = _schema_common_network_security_group_read.properties.flow_logs.Element.properties properties.enabled = AAZBoolType() properties.enabled_filtering_criteria = AAZStrType( serialized_name="enabledFilteringCriteria", @@ -1306,12 +1320,12 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"required": True}, ) - flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration + flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration flow_analytics_configuration.network_watcher_flow_analytics_configuration = AAZObjectType( serialized_name="networkWatcherFlowAnalyticsConfiguration", ) - network_watcher_flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration + network_watcher_flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration network_watcher_flow_analytics_configuration.enabled = AAZBoolType() network_watcher_flow_analytics_configuration.traffic_analytics_interval = AAZIntType( serialized_name="trafficAnalyticsInterval", @@ -1326,81 +1340,81 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="workspaceResourceId", ) - format = _schema_network_security_group_read.properties.flow_logs.Element.properties.format + format = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.format format.type = AAZStrType() format.version = AAZIntType() - retention_policy = _schema_network_security_group_read.properties.flow_logs.Element.properties.retention_policy + retention_policy = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.retention_policy retention_policy.days = AAZIntType() retention_policy.enabled = AAZBoolType() - tags = _schema_network_security_group_read.properties.flow_logs.Element.tags + tags = _schema_common_network_security_group_read.properties.flow_logs.Element.tags tags.Element = AAZStrType() - network_interfaces = _schema_network_security_group_read.properties.network_interfaces + network_interfaces = _schema_common_network_security_group_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - security_rules = _schema_network_security_group_read.properties.security_rules + security_rules = _schema_common_network_security_group_read.properties.security_rules security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(security_rules.Element) + cls._build_schema_common_security_rule_read(security_rules.Element) - subnets = _schema_network_security_group_read.properties.subnets + subnets = _schema_common_network_security_group_read.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_network_security_group_read.tags + tags = _schema_common_network_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type - _schema_private_endpoint_read = None + _schema_common_private_endpoint_read = None @classmethod - def _build_schema_private_endpoint_read(cls, _schema): - if cls._schema_private_endpoint_read is not None: - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + def _build_schema_common_private_endpoint_read(cls, _schema): + if cls._schema_common_private_endpoint_read is not None: + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type return - cls._schema_private_endpoint_read = _schema_private_endpoint_read = AAZObjectType( + cls._schema_common_private_endpoint_read = _schema_common_private_endpoint_read = AAZObjectType( flags={"read_only": True} ) - private_endpoint_read = _schema_private_endpoint_read - private_endpoint_read.etag = AAZStrType( + common_private_endpoint_read = _schema_common_private_endpoint_read + common_private_endpoint_read.etag = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.extended_location = AAZObjectType( + common_private_endpoint_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_endpoint_read.extended_location) - private_endpoint_read.id = AAZStrType() - private_endpoint_read.location = AAZStrType() - private_endpoint_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_private_endpoint_read.extended_location) + common_private_endpoint_read.id = AAZStrType() + common_private_endpoint_read.location = AAZStrType() + common_private_endpoint_read.name = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.properties = AAZObjectType( + common_private_endpoint_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_endpoint_read.tags = AAZDictType() - private_endpoint_read.type = AAZStrType( + common_private_endpoint_read.tags = AAZDictType() + common_private_endpoint_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties + properties = _schema_common_private_endpoint_read.properties properties.application_security_groups = AAZListType( serialized_name="applicationSecurityGroups", ) @@ -1431,28 +1445,28 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - application_security_groups = _schema_private_endpoint_read.properties.application_security_groups + application_security_groups = _schema_common_private_endpoint_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - custom_dns_configs = _schema_private_endpoint_read.properties.custom_dns_configs + custom_dns_configs = _schema_common_private_endpoint_read.properties.custom_dns_configs custom_dns_configs.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.custom_dns_configs.Element + _element = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element _element.fqdn = AAZStrType() _element.ip_addresses = AAZListType( serialized_name="ipAddresses", ) - ip_addresses = _schema_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses + ip_addresses = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses ip_addresses.Element = AAZStrType() - ip_configurations = _schema_private_endpoint_read.properties.ip_configurations + ip_configurations = _schema_common_private_endpoint_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.ip_configurations.Element + _element = _schema_common_private_endpoint_read.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1464,7 +1478,7 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties.ip_configurations.Element.properties + properties = _schema_common_private_endpoint_read.properties.ip_configurations.Element.properties properties.group_id = AAZStrType( serialized_name="groupId", ) @@ -1475,88 +1489,88 @@ def _build_schema_private_endpoint_read(cls, _schema): serialized_name="privateIPAddress", ) - manual_private_link_service_connections = _schema_private_endpoint_read.properties.manual_private_link_service_connections + manual_private_link_service_connections = _schema_common_private_endpoint_read.properties.manual_private_link_service_connections manual_private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(manual_private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(manual_private_link_service_connections.Element) - network_interfaces = _schema_private_endpoint_read.properties.network_interfaces + network_interfaces = _schema_common_private_endpoint_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_link_service_connections = _schema_private_endpoint_read.properties.private_link_service_connections + private_link_service_connections = _schema_common_private_endpoint_read.properties.private_link_service_connections private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(private_link_service_connections.Element) - tags = _schema_private_endpoint_read.tags + tags = _schema_common_private_endpoint_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type - _schema_private_link_service_connection_state_read = None + _schema_common_private_link_service_connection_state_read = None @classmethod - def _build_schema_private_link_service_connection_state_read(cls, _schema): - if cls._schema_private_link_service_connection_state_read is not None: - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + def _build_schema_common_private_link_service_connection_state_read(cls, _schema): + if cls._schema_common_private_link_service_connection_state_read is not None: + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status return - cls._schema_private_link_service_connection_state_read = _schema_private_link_service_connection_state_read = AAZObjectType() + cls._schema_common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read = AAZObjectType() - private_link_service_connection_state_read = _schema_private_link_service_connection_state_read - private_link_service_connection_state_read.actions_required = AAZStrType( + common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read + common_private_link_service_connection_state_read.actions_required = AAZStrType( serialized_name="actionsRequired", ) - private_link_service_connection_state_read.description = AAZStrType() - private_link_service_connection_state_read.status = AAZStrType() + common_private_link_service_connection_state_read.description = AAZStrType() + common_private_link_service_connection_state_read.status = AAZStrType() - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status - _schema_private_link_service_connection_read = None + _schema_common_private_link_service_connection_read = None @classmethod - def _build_schema_private_link_service_connection_read(cls, _schema): - if cls._schema_private_link_service_connection_read is not None: - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + def _build_schema_common_private_link_service_connection_read(cls, _schema): + if cls._schema_common_private_link_service_connection_read is not None: + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type return - cls._schema_private_link_service_connection_read = _schema_private_link_service_connection_read = AAZObjectType() + cls._schema_common_private_link_service_connection_read = _schema_common_private_link_service_connection_read = AAZObjectType() - private_link_service_connection_read = _schema_private_link_service_connection_read - private_link_service_connection_read.etag = AAZStrType( + common_private_link_service_connection_read = _schema_common_private_link_service_connection_read + common_private_link_service_connection_read.etag = AAZStrType( flags={"read_only": True}, ) - private_link_service_connection_read.id = AAZStrType() - private_link_service_connection_read.name = AAZStrType() - private_link_service_connection_read.properties = AAZObjectType( + common_private_link_service_connection_read.id = AAZStrType() + common_private_link_service_connection_read.name = AAZStrType() + common_private_link_service_connection_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_link_service_connection_read.type = AAZStrType( + common_private_link_service_connection_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_link_service_connection_read.properties + properties = _schema_common_private_link_service_connection_read.properties properties.group_ids = AAZListType( serialized_name="groupIds", ) properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.private_link_service_id = AAZStrType( serialized_name="privateLinkServiceId", ) @@ -1568,58 +1582,58 @@ def _build_schema_private_link_service_connection_read(cls, _schema): serialized_name="requestMessage", ) - group_ids = _schema_private_link_service_connection_read.properties.group_ids + group_ids = _schema_common_private_link_service_connection_read.properties.group_ids group_ids.Element = AAZStrType() - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type - _schema_public_ip_address_read = None + _schema_common_public_ip_address_read = None @classmethod - def _build_schema_public_ip_address_read(cls, _schema): - if cls._schema_public_ip_address_read is not None: - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + def _build_schema_common_public_ip_address_read(cls, _schema): + if cls._schema_common_public_ip_address_read is not None: + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones return - cls._schema_public_ip_address_read = _schema_public_ip_address_read = AAZObjectType() + cls._schema_common_public_ip_address_read = _schema_common_public_ip_address_read = AAZObjectType() - public_ip_address_read = _schema_public_ip_address_read - public_ip_address_read.etag = AAZStrType( + common_public_ip_address_read = _schema_common_public_ip_address_read + common_public_ip_address_read.etag = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.extended_location = AAZObjectType( + common_public_ip_address_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(public_ip_address_read.extended_location) - public_ip_address_read.id = AAZStrType() - public_ip_address_read.location = AAZStrType() - public_ip_address_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_public_ip_address_read.extended_location) + common_public_ip_address_read.id = AAZStrType() + common_public_ip_address_read.location = AAZStrType() + common_public_ip_address_read.name = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.properties = AAZObjectType( + common_public_ip_address_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - public_ip_address_read.sku = AAZObjectType() - public_ip_address_read.tags = AAZDictType() - public_ip_address_read.type = AAZStrType( + common_public_ip_address_read.sku = AAZObjectType() + common_public_ip_address_read.tags = AAZDictType() + common_public_ip_address_read.type = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.zones = AAZListType() + common_public_ip_address_read.zones = AAZListType() - properties = _schema_public_ip_address_read.properties + properties = _schema_common_public_ip_address_read.properties properties.ddos_settings = AAZObjectType( serialized_name="ddosSettings", ) @@ -1639,14 +1653,14 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="ipConfiguration", flags={"read_only": True}, ) - cls._build_schema_ip_configuration_read(properties.ip_configuration) + cls._build_schema_common_ip_configuration_read(properties.ip_configuration) properties.ip_tags = AAZListType( serialized_name="ipTags", ) properties.linked_public_ip_address = AAZObjectType( serialized_name="linkedPublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.linked_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.linked_public_ip_address) properties.migration_phase = AAZStrType( serialized_name="migrationPhase", ) @@ -1666,7 +1680,7 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.resource_guid = AAZStrType( serialized_name="resourceGuid", flags={"read_only": True}, @@ -1674,18 +1688,22 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_public_ip_address = AAZObjectType( serialized_name="servicePublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.service_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.service_public_ip_address) - ddos_settings = _schema_public_ip_address_read.properties.ddos_settings + ddos_settings = _schema_common_public_ip_address_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) ddos_settings.ddos_protection_plan = AAZObjectType( serialized_name="ddosProtectionPlan", ) - cls._build_schema_sub_resource_read(ddos_settings.ddos_protection_plan) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_protection_plan) ddos_settings.protection_mode = AAZStrType( serialized_name="protectionMode", ) - dns_settings = _schema_public_ip_address_read.properties.dns_settings + dns_settings = _schema_common_public_ip_address_read.properties.dns_settings dns_settings.domain_name_label = AAZStrType( serialized_name="domainNameLabel", ) @@ -1697,16 +1715,16 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="reverseFqdn", ) - ip_tags = _schema_public_ip_address_read.properties.ip_tags + ip_tags = _schema_common_public_ip_address_read.properties.ip_tags ip_tags.Element = AAZObjectType() - _element = _schema_public_ip_address_read.properties.ip_tags.Element + _element = _schema_common_public_ip_address_read.properties.ip_tags.Element _element.ip_tag_type = AAZStrType( serialized_name="ipTagType", ) _element.tag = AAZStrType() - nat_gateway = _schema_public_ip_address_read.properties.nat_gateway + nat_gateway = _schema_common_public_ip_address_read.properties.nat_gateway nat_gateway.etag = AAZStrType( flags={"read_only": True}, ) @@ -1725,10 +1743,11 @@ def _build_schema_public_ip_address_read(cls, _schema): ) nat_gateway.zones = AAZListType() - properties = _schema_public_ip_address_read.properties.nat_gateway.properties + properties = _schema_common_public_ip_address_read.properties.nat_gateway.properties properties.idle_timeout_in_minutes = AAZIntType( serialized_name="idleTimeoutInMinutes", ) + properties.nat64 = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -1752,91 +1771,93 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.source_virtual_network = AAZObjectType( serialized_name="sourceVirtualNetwork", ) - cls._build_schema_sub_resource_read(properties.source_virtual_network) + cls._build_schema_common_sub_resource_read(properties.source_virtual_network) properties.subnets = AAZListType( flags={"read_only": True}, ) - public_ip_addresses = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses + public_ip_addresses = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses public_ip_addresses.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses.Element) - public_ip_addresses_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 + public_ip_addresses_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 public_ip_addresses_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses_v6.Element) - public_ip_prefixes = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes + public_ip_prefixes = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes public_ip_prefixes.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes.Element) - public_ip_prefixes_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 + public_ip_prefixes_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 public_ip_prefixes_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes_v6.Element) - subnets = _schema_public_ip_address_read.properties.nat_gateway.properties.subnets + subnets = _schema_common_public_ip_address_read.properties.nat_gateway.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_sub_resource_read(subnets.Element) + cls._build_schema_common_sub_resource_read(subnets.Element) - sku = _schema_public_ip_address_read.properties.nat_gateway.sku + sku = _schema_common_public_ip_address_read.properties.nat_gateway.sku sku.name = AAZStrType() - tags = _schema_public_ip_address_read.properties.nat_gateway.tags + tags = _schema_common_public_ip_address_read.properties.nat_gateway.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.properties.nat_gateway.zones + zones = _schema_common_public_ip_address_read.properties.nat_gateway.zones zones.Element = AAZStrType() - sku = _schema_public_ip_address_read.sku + sku = _schema_common_public_ip_address_read.sku sku.name = AAZStrType() sku.tier = AAZStrType() - tags = _schema_public_ip_address_read.tags + tags = _schema_common_public_ip_address_read.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.zones + zones = _schema_common_public_ip_address_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones - _schema_security_rule_read = None + _schema_common_security_rule_read = None @classmethod - def _build_schema_security_rule_read(cls, _schema): - if cls._schema_security_rule_read is not None: - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + def _build_schema_common_security_rule_read(cls, _schema): + if cls._schema_common_security_rule_read is not None: + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type return - cls._schema_security_rule_read = _schema_security_rule_read = AAZObjectType() + cls._schema_common_security_rule_read = _schema_common_security_rule_read = AAZObjectType() - security_rule_read = _schema_security_rule_read - security_rule_read.etag = AAZStrType( + common_security_rule_read = _schema_common_security_rule_read + common_security_rule_read.etag = AAZStrType( flags={"read_only": True}, ) - security_rule_read.id = AAZStrType() - security_rule_read.name = AAZStrType() - security_rule_read.properties = AAZObjectType( + common_security_rule_read.id = AAZStrType() + common_security_rule_read.name = AAZStrType() + common_security_rule_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - security_rule_read.type = AAZStrType() + common_security_rule_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_security_rule_read.properties + properties = _schema_common_security_rule_read.properties properties.access = AAZStrType( flags={"required": True}, ) @@ -1885,75 +1906,77 @@ def _build_schema_security_rule_read(cls, _schema): serialized_name="sourcePortRanges", ) - destination_address_prefixes = _schema_security_rule_read.properties.destination_address_prefixes + destination_address_prefixes = _schema_common_security_rule_read.properties.destination_address_prefixes destination_address_prefixes.Element = AAZStrType() - destination_application_security_groups = _schema_security_rule_read.properties.destination_application_security_groups + destination_application_security_groups = _schema_common_security_rule_read.properties.destination_application_security_groups destination_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(destination_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(destination_application_security_groups.Element) - destination_port_ranges = _schema_security_rule_read.properties.destination_port_ranges + destination_port_ranges = _schema_common_security_rule_read.properties.destination_port_ranges destination_port_ranges.Element = AAZStrType() - source_address_prefixes = _schema_security_rule_read.properties.source_address_prefixes + source_address_prefixes = _schema_common_security_rule_read.properties.source_address_prefixes source_address_prefixes.Element = AAZStrType() - source_application_security_groups = _schema_security_rule_read.properties.source_application_security_groups + source_application_security_groups = _schema_common_security_rule_read.properties.source_application_security_groups source_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(source_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(source_application_security_groups.Element) - source_port_ranges = _schema_security_rule_read.properties.source_port_ranges + source_port_ranges = _schema_common_security_rule_read.properties.source_port_ranges source_port_ranges.Element = AAZStrType() - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type - _schema_sub_resource_read = None + _schema_common_sub_resource_read = None @classmethod - def _build_schema_sub_resource_read(cls, _schema): - if cls._schema_sub_resource_read is not None: - _schema.id = cls._schema_sub_resource_read.id + def _build_schema_common_sub_resource_read(cls, _schema): + if cls._schema_common_sub_resource_read is not None: + _schema.id = cls._schema_common_sub_resource_read.id return - cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType( + cls._schema_common_sub_resource_read = _schema_common_sub_resource_read = AAZObjectType( flags={"read_only": True} ) - sub_resource_read = _schema_sub_resource_read - sub_resource_read.id = AAZStrType() + common_sub_resource_read = _schema_common_sub_resource_read + common_sub_resource_read.id = AAZStrType() - _schema.id = cls._schema_sub_resource_read.id + _schema.id = cls._schema_common_sub_resource_read.id - _schema_subnet_read = None + _schema_common_subnet_read = None @classmethod - def _build_schema_subnet_read(cls, _schema): - if cls._schema_subnet_read is not None: - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + def _build_schema_common_subnet_read(cls, _schema): + if cls._schema_common_subnet_read is not None: + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type return - cls._schema_subnet_read = _schema_subnet_read = AAZObjectType() + cls._schema_common_subnet_read = _schema_common_subnet_read = AAZObjectType() - subnet_read = _schema_subnet_read - subnet_read.etag = AAZStrType( + common_subnet_read = _schema_common_subnet_read + common_subnet_read.etag = AAZStrType( flags={"read_only": True}, ) - subnet_read.id = AAZStrType() - subnet_read.name = AAZStrType() - subnet_read.properties = AAZObjectType( + common_subnet_read.id = AAZStrType() + common_subnet_read.name = AAZStrType() + common_subnet_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - subnet_read.type = AAZStrType() + common_subnet_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties + properties = _schema_common_subnet_read.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -1984,11 +2007,11 @@ def _build_schema_subnet_read(cls, _schema): properties.nat_gateway = AAZObjectType( serialized_name="natGateway", ) - cls._build_schema_sub_resource_read(properties.nat_gateway) + cls._build_schema_common_sub_resource_read(properties.nat_gateway) properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.private_endpoint_network_policies = AAZStrType( serialized_name="privateEndpointNetworkPolicies", ) @@ -2026,18 +2049,18 @@ def _build_schema_subnet_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.sharing_scope = AAZStrType( serialized_name="sharingScope", ) - address_prefixes = _schema_subnet_read.properties.address_prefixes + address_prefixes = _schema_common_subnet_read.properties.address_prefixes address_prefixes.Element = AAZStrType() - application_gateway_ip_configurations = _schema_subnet_read.properties.application_gateway_ip_configurations + application_gateway_ip_configurations = _schema_common_subnet_read.properties.application_gateway_ip_configurations application_gateway_ip_configurations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.application_gateway_ip_configurations.Element + _element = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2050,18 +2073,18 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.application_gateway_ip_configurations.Element.properties + properties = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) - delegations = _schema_subnet_read.properties.delegations + delegations = _schema_common_subnet_read.properties.delegations delegations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.delegations.Element + _element = _schema_common_subnet_read.properties.delegations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2072,7 +2095,7 @@ def _build_schema_subnet_read(cls, _schema): ) _element.type = AAZStrType() - properties = _schema_subnet_read.properties.delegations.Element.properties + properties = _schema_common_subnet_read.properties.delegations.Element.properties properties.actions = AAZListType( flags={"read_only": True}, ) @@ -2084,17 +2107,17 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceName", ) - actions = _schema_subnet_read.properties.delegations.Element.properties.actions + actions = _schema_common_subnet_read.properties.delegations.Element.properties.actions actions.Element = AAZStrType() - ip_allocations = _schema_subnet_read.properties.ip_allocations + ip_allocations = _schema_common_subnet_read.properties.ip_allocations ip_allocations.Element = AAZObjectType() - cls._build_schema_sub_resource_read(ip_allocations.Element) + cls._build_schema_common_sub_resource_read(ip_allocations.Element) - ip_configuration_profiles = _schema_subnet_read.properties.ip_configuration_profiles + ip_configuration_profiles = _schema_common_subnet_read.properties.ip_configuration_profiles ip_configuration_profiles.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ip_configuration_profiles.Element + _element = _schema_common_subnet_read.properties.ip_configuration_profiles.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2107,22 +2130,22 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.ip_configuration_profiles.Element.properties + properties = _schema_common_subnet_read.properties.ip_configuration_profiles.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - ip_configurations = _schema_subnet_read.properties.ip_configurations + ip_configurations = _schema_common_subnet_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_ip_configuration_read(ip_configurations.Element) - ipam_pool_prefix_allocations = _schema_subnet_read.properties.ipam_pool_prefix_allocations + ipam_pool_prefix_allocations = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations ipam_pool_prefix_allocations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element + _element = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element _element.allocated_address_prefixes = AAZListType( serialized_name="allocatedAddressPrefixes", flags={"read_only": True}, @@ -2134,20 +2157,20 @@ def _build_schema_subnet_read(cls, _schema): flags={"client_flatten": True}, ) - allocated_address_prefixes = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes + allocated_address_prefixes = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes allocated_address_prefixes.Element = AAZStrType() - pool = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool + pool = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool pool.id = AAZStrType() - private_endpoints = _schema_subnet_read.properties.private_endpoints + private_endpoints = _schema_common_subnet_read.properties.private_endpoints private_endpoints.Element = AAZObjectType() - cls._build_schema_private_endpoint_read(private_endpoints.Element) + cls._build_schema_common_private_endpoint_read(private_endpoints.Element) - resource_navigation_links = _schema_subnet_read.properties.resource_navigation_links + resource_navigation_links = _schema_common_subnet_read.properties.resource_navigation_links resource_navigation_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.resource_navigation_links.Element + _element = _schema_common_subnet_read.properties.resource_navigation_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2162,7 +2185,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.resource_navigation_links.Element.properties + properties = _schema_common_subnet_read.properties.resource_navigation_links.Element.properties properties.link = AAZStrType() properties.linked_resource_type = AAZStrType( serialized_name="linkedResourceType", @@ -2172,7 +2195,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - route_table = _schema_subnet_read.properties.route_table + route_table = _schema_common_subnet_read.properties.route_table route_table.etag = AAZStrType( flags={"read_only": True}, ) @@ -2189,10 +2212,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.route_table.properties + properties = _schema_common_subnet_read.properties.route_table.properties properties.disable_bgp_route_propagation = AAZBoolType( serialized_name="disableBgpRoutePropagation", ) + properties.disable_peering_route = AAZStrType( + serialized_name="disablePeeringRoute", + ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -2206,10 +2232,10 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - routes = _schema_subnet_read.properties.route_table.properties.routes + routes = _schema_common_subnet_read.properties.route_table.properties.routes routes.Element = AAZObjectType() - _element = _schema_subnet_read.properties.route_table.properties.routes.Element + _element = _schema_common_subnet_read.properties.route_table.properties.routes.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2218,9 +2244,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.route_table.properties.routes.Element.properties + properties = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -2228,6 +2256,9 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="hasBgpOverride", flags={"read_only": True}, ) + properties.next_hop = AAZObjectType( + serialized_name="nextHop", + ) properties.next_hop_ip_address = AAZStrType( serialized_name="nextHopIpAddress", ) @@ -2240,17 +2271,26 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - subnets = _schema_subnet_read.properties.route_table.properties.subnets + next_hop = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop + next_hop.next_hop_ip_addresses = AAZListType( + serialized_name="nextHopIpAddresses", + flags={"required": True}, + ) + + next_hop_ip_addresses = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop.next_hop_ip_addresses + next_hop_ip_addresses.Element = AAZStrType() + + subnets = _schema_common_subnet_read.properties.route_table.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.route_table.tags + tags = _schema_common_subnet_read.properties.route_table.tags tags.Element = AAZStrType() - service_association_links = _schema_subnet_read.properties.service_association_links + service_association_links = _schema_common_subnet_read.properties.service_association_links service_association_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_association_links.Element + _element = _schema_common_subnet_read.properties.service_association_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2263,7 +2303,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_association_links.Element.properties + properties = _schema_common_subnet_read.properties.service_association_links.Element.properties properties.allow_delete = AAZBoolType( serialized_name="allowDelete", ) @@ -2277,13 +2317,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - locations = _schema_subnet_read.properties.service_association_links.Element.properties.locations + locations = _schema_common_subnet_read.properties.service_association_links.Element.properties.locations locations.Element = AAZStrType() - service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies + service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies service_endpoint_policies.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2303,7 +2343,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties properties.contextual_service_endpoint_policies = AAZListType( serialized_name="contextualServiceEndpointPolicies", ) @@ -2325,13 +2365,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - contextual_service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies + contextual_service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies contextual_service_endpoint_policies.Element = AAZStrType() - service_endpoint_policy_definitions = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions + service_endpoint_policy_definitions = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions service_endpoint_policy_definitions.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2340,9 +2380,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties properties.description = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", @@ -2353,82 +2395,82 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceResources", ) - service_resources = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources + service_resources = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources service_resources.Element = AAZStrType() - subnets = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.subnets + subnets = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.service_endpoint_policies.Element.tags + tags = _schema_common_subnet_read.properties.service_endpoint_policies.Element.tags tags.Element = AAZStrType() - service_endpoints = _schema_subnet_read.properties.service_endpoints + service_endpoints = _schema_common_subnet_read.properties.service_endpoints service_endpoints.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoints.Element + _element = _schema_common_subnet_read.properties.service_endpoints.Element _element.locations = AAZListType() _element.network_identifier = AAZObjectType( serialized_name="networkIdentifier", ) - cls._build_schema_sub_resource_read(_element.network_identifier) + cls._build_schema_common_sub_resource_read(_element.network_identifier) _element.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) _element.service = AAZStrType() - locations = _schema_subnet_read.properties.service_endpoints.Element.locations + locations = _schema_common_subnet_read.properties.service_endpoints.Element.locations locations.Element = AAZStrType() - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type - _schema_virtual_network_tap_read = None + _schema_common_virtual_network_tap_read = None @classmethod - def _build_schema_virtual_network_tap_read(cls, _schema): - if cls._schema_virtual_network_tap_read is not None: - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + def _build_schema_common_virtual_network_tap_read(cls, _schema): + if cls._schema_common_virtual_network_tap_read is not None: + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type return - cls._schema_virtual_network_tap_read = _schema_virtual_network_tap_read = AAZObjectType() + cls._schema_common_virtual_network_tap_read = _schema_common_virtual_network_tap_read = AAZObjectType() - virtual_network_tap_read = _schema_virtual_network_tap_read - virtual_network_tap_read.etag = AAZStrType( + common_virtual_network_tap_read = _schema_common_virtual_network_tap_read + common_virtual_network_tap_read.etag = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.id = AAZStrType() - virtual_network_tap_read.location = AAZStrType() - virtual_network_tap_read.name = AAZStrType( + common_virtual_network_tap_read.id = AAZStrType() + common_virtual_network_tap_read.location = AAZStrType() + common_virtual_network_tap_read.name = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.properties = AAZObjectType( + common_virtual_network_tap_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - virtual_network_tap_read.tags = AAZDictType() - virtual_network_tap_read.type = AAZStrType( + common_virtual_network_tap_read.tags = AAZDictType() + common_virtual_network_tap_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_virtual_network_tap_read.properties + properties = _schema_common_virtual_network_tap_read.properties properties.destination_load_balancer_front_end_ip_configuration = AAZObjectType( serialized_name="destinationLoadBalancerFrontEndIPConfiguration", ) - cls._build_schema_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) + cls._build_schema_common_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) properties.destination_network_interface_ip_configuration = AAZObjectType( serialized_name="destinationNetworkInterfaceIPConfiguration", ) - cls._build_schema_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) properties.destination_port = AAZIntType( serialized_name="destinationPort", ) @@ -2445,20 +2487,20 @@ def _build_schema_virtual_network_tap_read(cls, _schema): flags={"read_only": True}, ) - network_interface_tap_configurations = _schema_virtual_network_tap_read.properties.network_interface_tap_configurations + network_interface_tap_configurations = _schema_common_virtual_network_tap_read.properties.network_interface_tap_configurations network_interface_tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) - tags = _schema_virtual_network_tap_read.tags + tags = _schema_common_virtual_network_tap_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type __all__ = ["Wait"] diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance_private_ip_address_version.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance_private_ip_address_version.yaml new file mode 100644 index 00000000000..e0a7ea50250 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance_private_ip_address_version.yaml @@ -0,0 +1,477 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --address-prefixes + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_vna_ip_version000001?api-version=2024-11-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001","name":"test_vna_ip_version000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_network_virtual_network_appliance_private_ip_address_version","date":"2026-05-04T05:53:05Z","module":"network"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '422' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 04 May 2026 05:53:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 742C5A1718F440F9A27A492A9175D88C Ref B: SG2AA1040512025 Ref C: 2026-05-04T05:53:13Z' + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"addressSpace": {"addressPrefixes": + ["10.10.0.0/16"]}, "enableDdosProtection": false, "enableVmProtection": false}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + Content-Length: + - '153' + Content-Type: + - application/json + ParameterSetName: + - -g -n --address-prefixes + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4?api-version=2024-07-01 + response: + body: + string: '{"name":"vnet-ipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4","etag":"W/\"75268855-98d0-40b9-b98e-40b77944850f\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"e8c91af0-31c4-4fd6-9352-9eb2ecfe1aba","addressSpace":{"addressPrefixes":["10.10.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a9d76d01-5a9e-4f58-ae1a-ce9957257683?api-version=2024-07-01&t=639134707979832735&c=MIIIJzCCBw-gAwIBAgIRAPkg2z-B9Jm_vrDg-qNrjwswDQYJKoZIhvcNAQELBQAwNjE0MDIGA1UEAxMrQ0NNRSBHMSBUTFMgUlNBIDIwNDggU0hBMjU2IDIwNDkgV0NVUyBDQSAwMTAeFw0yNjA0MTAwNjUyMTdaFw0yNjEwMDUxMjUyMTdaMEAxPjA8BgNVBAMTNWFzeW5jb3BlcmF0aW9uc2lnbmluZ2NlcnRpZmljYXRlLm1hbmFnZW1lbnQuYXp1cmUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxhFGHIBug-4Pg8y8wrt85aTDI_1ckzX8XYnsk6BmTh36sX4QX-zrgCccWt1yXC8y3lSRvEr66Pgoywj0gN60U0prO-Llj-OOWdlGOnbBFPBaBa2ogrj2ULknxSn8HyrgUsMa3zGCqoR_eDSq7R_O20UZDFBlonw8TSmqdLPA4fe1TarGVXDGoRxYv_BQE0sxI54JmyZ5uATcXoIBRqCEmrRFh6MO0V4rK5-sBO8yodyMdOweERdOFcDfLvM2WCaax5HnsjPSLMYy-XTD01vXM3XkKAJ6K30JxQ4_Wtn1IvN-b0R-eEdUMUdPKhH4RDL_8xL-ALqsnaG0cNZazOQr1QIDAQABo4IFJDCCBSAwgZ0GA1UdIASBlTCBkjAMBgorBgEEAYI3ewEBMGYGCisGAQQBgjd7AgIwWDBWBggrBgEFBQcCAjBKHkgAMwAzAGUAMAAxADkAMgAxAC0ANABkADYANAAtADQAZgA4AGMALQBhADAANQA1AC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nzE6yrYpuN-9N-_eguijBDGlJhME4-DEli6ULE3b74mmabJpPC-0PtT2L3PeAxni6nnujJ_I2xIAG6PbW7NyQe0MzUWbT8Z1lRfdS2EcoDO2X_uW6j1Bmk1zXl071sEZVsOJ-2YRxvzgSglUEAM0znbKLtjYhCJi8MhFPWan-I3iFv-rBDQ58f4xz7Aw&h=tmjUrtKiMuAYrkNQq0SnXR7CLd-q7H_yiGb-2ZLqtO4 + cache-control: + - no-cache + content-length: + - '552' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 04 May 2026 05:53:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 4dc6f54d-e200-44a0-b6ff-0d72f652d27c + x-ms-operation-identifier: + - tenantId=ed94de55-1f87-4278-9651-525e7ba467d6,objectId=4c73e7a5-a580-4613-82cf-af0b98695e15/southeastasia/ec0acf32-f881-48d0-a602-4a8e2a9eee74 + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: 8DDC0631F387446485D1478056683FC2 Ref B: SG2AA1040518011 Ref C: 2026-05-04T05:53:14Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --address-prefixes + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a9d76d01-5a9e-4f58-ae1a-ce9957257683?api-version=2024-07-01&t=639134707979832735&c=MIIIJzCCBw-gAwIBAgIRAPkg2z-B9Jm_vrDg-qNrjwswDQYJKoZIhvcNAQELBQAwNjE0MDIGA1UEA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a2kvY2NtZXdlc3RjZW50cmFsdXNpY2EwMS9jZXJ0LmNlcjB4BggrBgEFBQcwAoZsaHR0cDovL2NjbWV3ZXN0Y2VudHJhbHVzcGtpLndlc3RjZW50cmFsdXMucGtpLmNvcmUud2luZG93cy5uZXQvY2VydGlmaWNhdGVBdXRob3JpdGllcy9jY21ld2VzdGNlbnRyYWx1c2ljYTAxMA0GCSqGSIb3DQEBCwUAA4IBAQAwpZthpdA-8D9zmLFa9DswaQjZpHoWrNOxcAkBHpasqPjLn8-Kn0Epr2tRtCqiDWEGx_u3n8ziMDqRxvNKiDUdDWhMl9QuodIY45vNfF6z92zdJEJ0m01EaNwji4O0BNu0Yy7zPa_L79KmbrFPHHQkexKO2qyHqYM0M22afvWFTacEIlhMIcL-Hq6afh-pfO3r2D3ZnFSmrZFt1A8qT0qTCXRaOqAM1Wk35M7k-idK2KawQ4Q9KnP0h62bPPhktf4Hi_Ax5-Ms7zxobTxMvoilvGVHYDeQ2zZDEoMmyNZ1gfzPjnGnV2BbMj3JEHIzWuKuw033HBrOIc8peAt8JKrH&s=HqKg3RuGxM115ql9lmEyhQwkhyIqFI3TqxoN4ghQ0m5sq_LZq4IQxutxXRRLUy-ms8l-vvSAxAQ4fL6ggbKLBvcPkoZesm3Tj0zbPNcdWQnnMyUvs1UFPCM8SKcHfsCyV1CznNVXJNoWViUlzjqhPnM6XgnzE6yrYpuN-9N-_eguijBDGlJhME4-DEli6ULE3b74mmabJpPC-0PtT2L3PeAxni6nnujJ_I2xIAG6PbW7NyQe0MzUWbT8Z1lRfdS2EcoDO2X_uW6j1Bmk1zXl071sEZVsOJ-2YRxvzgSglUEAM0znbKLtjYhCJi8MhFPWan-I3iFv-rBDQ58f4xz7Aw&h=tmjUrtKiMuAYrkNQq0SnXR7CLd-q7H_yiGb-2ZLqtO4 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 04 May 2026 05:53:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - d3a02e5a-3ad6-4610-bd26-953fcf1f932e + x-ms-operation-identifier: + - tenantId=ed94de55-1f87-4278-9651-525e7ba467d6,objectId=4c73e7a5-a580-4613-82cf-af0b98695e15/southeastasia/194e2d92-9c63-47dd-970e-0afe6931ba91 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 9C651493645742FE8932A29ADD8BA35B Ref B: SG2AA1070304029 Ref C: 2026-05-04T05:53:18Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --address-prefixes + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4?api-version=2024-07-01 + response: + body: + string: '{"name":"vnet-ipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4","etag":"W/\"8af7fe57-e549-4c95-b021-f54998c10f69\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"e8c91af0-31c4-4fd6-9352-9eb2ecfe1aba","addressSpace":{"addressPrefixes":["10.10.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' + headers: + cache-control: + - no-cache + content-length: + - '553' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 04 May 2026 05:53:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 728d212f-f88b-4cb9-b1d1-5cae8a1463ce + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 5D71017F79CC4F16BB2F6D8B0A30BCBD Ref B: SG2AA1070303060 Ref C: 2026-05-04T05:53:19Z' + status: + code: 200 + message: OK +- request: + body: '{"name": "VirtualNetworkApplianceSubnet", "properties": {"addressPrefix": + "10.10.0.0/24", "defaultOutboundAccess": false, "privateEndpointNetworkPolicies": + "Disabled", "privateLinkServiceNetworkPolicies": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + Content-Length: + - '216' + Content-Type: + - application/json + ParameterSetName: + - -g -n --vnet-name --address-prefix --default-outbound --query + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4/subnets/VirtualNetworkApplianceSubnet?api-version=2024-07-01 + response: + body: + string: '{"name":"VirtualNetworkApplianceSubnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4/subnets/VirtualNetworkApplianceSubnet","etag":"W/\"cb3cb39f-8bc7-419f-9568-b586553b0829\"","properties":{"provisioningState":"Updating","addressPrefix":"10.10.0.0/24","delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled","defaultOutboundAccess":false},"type":"Microsoft.Network/virtualNetworks/subnets"}' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/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BgEFBQcwAoZaaHR0cDovL2NjbWVlYXN0dXMycGtpLmVhc3R1czIucGtpLmNvcmUud2luZG93cy5uZXQvY2VydGlmaWNhdGVBdXRob3JpdGllcy9jY21lZWFzdHVzMmljYTAxMA0GCSqGSIb3DQEBCwUAA4IBAQAxSvsyw-aQGPuLg3sIv-zDLSqhHgP__v9DGyP7D16rJpNG1JcjpiXpbloqD9RW5Gc_hHWn5Kyr1pRABJrFa-jEt89-FiQdkToF-vvwJOXbryAgZYdS03uFzUGqARs3JMMqCHrVkx6hb9oOxh_3JdEemO_dbhApyOVTfloO4kIRsgJnHI_ImFt8xm3xa9ftB0ARfJAdN_1EHgB2NdOgTvaSljVOnQY6R40lh_Wl8-s3GIhHbNwQOECXegBxeVAUVN5nGxlD8TEqKc_mX-22kBMao71zBz3JWtCING4-QzwrWj9pxmanpqYqiVGf40ZbZZihRkte0KI9zvW53Y2Smcy7&s=dcsCgbQkySUYrF-QcbwbmLrFtxckjQa4Y-I5owna5-FaDJq7zMouIvq__11JIf6YVNgZBW2Biv8HuFMgV_mlz_MF_ClcD0Rcn2LFBwyAka1Ttn2fVaRXKYJLTe8jRVFQ1xJRt041Fo6FKIloGjtUaGzdya1z7TWnPDWRwSP8kAgbaEfM-rRb2LqBz9mW5iX-SEqzn_I4eulLlfZraWu2QSmdLf6tBcMPdQwjx6wFn8eGrlUxLPNvB8u5Wm3v1Hj8jgATHhDYJefHwt-dgoD5lipXn6BYrm9khXu4NJRK7fxTBzrrSm5GQjlCE1sWAU6PKqyowziCl4lrmfBAar93iQ&h=LhvcgGzzQEnhFHqMGUfHTZG9-ytGLmlxlu53LRFCGGw + cache-control: + - no-cache + content-length: + - '549' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 04 May 2026 05:53:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - dbed7d51-46a1-4533-8e26-4cac1a70b5ef + x-ms-operation-identifier: + - tenantId=ed94de55-1f87-4278-9651-525e7ba467d6,objectId=4c73e7a5-a580-4613-82cf-af0b98695e15/eastus/69eb5b16-a5de-459a-9c3d-d10a0f0108ce + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: D7C2FDB74146438A9697A6A8A530FD86 Ref B: SG2AA1070306029 Ref C: 2026-05-04T05:53:21Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --address-prefix --default-outbound --query + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/00ee6514-2c65-4c4d-a188-2f6a4d00d481?api-version=2024-07-01&t=639134708015196426&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDealc9e2xWlYn0dX5zgxycoyRECfCn-ACb8WxKGmsKAA5yFa8bggPwuauZjSPSntq3xw99b6CFXZ6EM34WjxaWokZKYj8bbRT14WzrQHemPN5KUaI3SFtZidaSdEAzhm7Ha1a74SG8rDZU8qVqbaoCPQk9Iblv0LucrVV5BAMOwvi-5j-7X9vehxsheuxP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11JIf6YVNgZBW2Biv8HuFMgV_mlz_MF_ClcD0Rcn2LFBwyAka1Ttn2fVaRXKYJLTe8jRVFQ1xJRt041Fo6FKIloGjtUaGzdya1z7TWnPDWRwSP8kAgbaEfM-rRb2LqBz9mW5iX-SEqzn_I4eulLlfZraWu2QSmdLf6tBcMPdQwjx6wFn8eGrlUxLPNvB8u5Wm3v1Hj8jgATHhDYJefHwt-dgoD5lipXn6BYrm9khXu4NJRK7fxTBzrrSm5GQjlCE1sWAU6PKqyowziCl4lrmfBAar93iQ&h=LhvcgGzzQEnhFHqMGUfHTZG9-ytGLmlxlu53LRFCGGw + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 04 May 2026 05:53:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 74348987-9203-44fd-80fa-65d03fe96733 + x-ms-operation-identifier: + - tenantId=ed94de55-1f87-4278-9651-525e7ba467d6,objectId=4c73e7a5-a580-4613-82cf-af0b98695e15/southeastasia/32458e0c-6b27-43d1-8c27-6e0b272d0eeb + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: ABD9D55321384709A96F8E5685FEE6A7 Ref B: SG2AA1070301062 Ref C: 2026-05-04T05:53:22Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --address-prefix --default-outbound --query + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4/subnets/VirtualNetworkApplianceSubnet?api-version=2024-07-01 + response: + body: + string: '{"name":"VirtualNetworkApplianceSubnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4/subnets/VirtualNetworkApplianceSubnet","etag":"W/\"38e616cb-5ac2-485f-80f6-082264f0cf65\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.10.0.0/24","delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled","defaultOutboundAccess":false},"type":"Microsoft.Network/virtualNetworks/subnets"}' + headers: + cache-control: + - no-cache + content-length: + - '550' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 04 May 2026 05:53:22 GMT + etag: + - W/"38e616cb-5ac2-485f-80f6-082264f0cf65" + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 9d6dac75-4a5c-4753-b3bb-925fc973568f + x-ms-operation-identifier: + - tenantId=ed94de55-1f87-4278-9651-525e7ba467d6,objectId=4c73e7a5-a580-4613-82cf-af0b98695e15/eastus/9c3d2e5f-e4b6-46a8-a83b-56db927c528f + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: AA60A8CE08C64C929A9CAA23CE378927 Ref B: SG2AA1070303060 Ref C: 2026-05-04T05:53:23Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_vna_ip_version000001?api-version=2024-11-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001","name":"test_vna_ip_version000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_network_virtual_network_appliance_private_ip_address_version","date":"2026-05-04T05:53:05Z","module":"network"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '422' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 04 May 2026 05:53:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: CB3D965D34404707BBEB002D0341E870 Ref B: SG2AA1040519040 Ref C: 2026-05-04T05:53:24Z' + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"bandwidthInGbps": 50.0, "privateIPAddressVersion": + "IPv4", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4/subnets/VirtualNetworkApplianceSubnet"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + Content-Length: + - '304' + Content-Type: + - application/json + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4?api-version=2025-07-01 + response: + body: + string: '{"error":{"code":"SubscriptionNotRegisteredForFeature","message":"Subscription + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.Network/subscriptions/ + is not registered for feature Microsoft.Network/AllowVirtualNetworkAppliance + required to carry out the requested operation.","details":[]}}' + headers: + cache-control: + - no-cache + content-length: + - '329' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 04 May 2026 05:53:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ecb00700-3025-4db9-92d5-ff75222a3334 + x-ms-operation-identifier: + - tenantId=ed94de55-1f87-4278-9651-525e7ba467d6,objectId=4c73e7a5-a580-4613-82cf-af0b98695e15/eastus/0e62cbe5-fea9-4f92-add5-037a352b09f8 + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: B495C1FF0C524B1BB01E8D0AB4B64CCF Ref B: SG2AA1040518011 Ref C: 2026-05-04T05:53:25Z' + status: + code: 400 + message: Bad Request +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py index 61b31ee6c9c..a159213023f 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py @@ -9355,6 +9355,65 @@ def test_network_virtual_network_appliance(self, resource_group): self.assertTrue(vna_list[0].get('id') == vna2_id) + @ResourceGroupPreparer(name_prefix='test_vna_ip_version', location='eastus') + def test_network_virtual_network_appliance_private_ip_address_version(self, resource_group): + self.kwargs.update({ + 'vnet1': 'vnet-ipv4', + 'vnet2': 'vnet-dualstack', + 'vnet_address': '10.10.0.0/16', + 'subnet': 'VirtualNetworkApplianceSubnet', + 'subnet_address': '10.10.0.0/24', + 'vna_ipv4': 'vna-ipv4', + 'vna_dualstack': 'vna-dualstack', + }) + + # create vnet/subnet for IPv4 vna + self.cmd('network vnet create -g {rg} -n {vnet1} --address-prefixes {vnet_address}') + self.kwargs['subnet1_id'] = self.cmd( + 'network vnet subnet create -g {rg} -n {subnet} --vnet-name {vnet1} ' + '--address-prefix {subnet_address} --default-outbound false --query id' + ).get_output_in_json() + + # create vna with --private-ip-address-version IPv4 + self.cmd( + 'network virtual-network-appliance create -g {rg} -n {vna_ipv4} ' + '--bandwidth-in-gbps 50 --subnet \"{{id:{subnet1_id}}}\" ' + '--private-ip-address-version IPv4' + ) + + self.cmd('network virtual-network-appliance show -g {rg} -n {vna_ipv4}', checks=[ + self.check('privateIPAddressVersion', 'IPv4'), + self.check('bandwidthInGbps', 50), + ]) + + # create vnet/subnet for DualStack vna + self.cmd('network vnet create -g {rg} -n {vnet2} --address-prefixes {vnet_address}') + self.kwargs['subnet2_id'] = self.cmd( + 'network vnet subnet create -g {rg} -n {subnet} --vnet-name {vnet2} ' + '--address-prefix {subnet_address} --default-outbound false --query id' + ).get_output_in_json() + + # create vna with --private-ip-address-version DualStack + self.cmd( + 'network virtual-network-appliance create -g {rg} -n {vna_dualstack} ' + '--bandwidth-in-gbps 100 --subnet \"{{id:{subnet2_id}}}\" ' + '--private-ip-address-version DualStack' + ) + + self.cmd('network virtual-network-appliance show -g {rg} -n {vna_dualstack}', checks=[ + self.check('privateIPAddressVersion', 'DualStack'), + self.check('bandwidthInGbps', 100), + ]) + + # verify list output includes both fields + vna_list = self.cmd('network virtual-network-appliance list -g {rg}', checks=[ + self.check('length(@)', 2), + ]).get_output_in_json() + + for vna in vna_list: + self.assertIn('privateIPAddressVersion', vna) + self.assertIn('bandwidthInGbps', vna) + class DdosCustomPolicyScenarioTest(ScenarioTest): @ResourceGroupPreparer(name_prefix='test_ddos_cuspol', location='eastus') From db56f89b06e882d80b07de17a22c3ade99dd42f6 Mon Sep 17 00:00:00 2001 From: Jian Hui Date: Wed, 13 May 2026 10:53:27 +0800 Subject: [PATCH 3/4] test: update test case --- ...est_network_virtual_network_appliance.yaml | 24 +- ..._appliance_private_ip_address_version.yaml | 1476 ++++++++++++++++- .../tests/latest/test_network_commands.py | 7 +- 3 files changed, 1443 insertions(+), 64 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance.yaml index 156f56bf216..7e7329bc801 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance.yaml @@ -488,7 +488,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.37.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1?api-version=2025-07-01 response: body: string: '{"name":"vna1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1","etag":"W/\"07fa3e2e-6b39-4cc6-a703-54a9b3bc511d\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","tags":{"name":"tag1"},"properties":{"provisioningState":"Updating","bandwidthInGbps":50,"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"07fa3e2e-6b39-4cc6-a703-54a9b3bc511d\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"07fa3e2e-6b39-4cc6-a703-54a9b3bc511d\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"07fa3e2e-6b39-4cc6-a703-54a9b3bc511d\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"07fa3e2e-6b39-4cc6-a703-54a9b3bc511d\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"07fa3e2e-6b39-4cc6-a703-54a9b3bc511d\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}' @@ -644,7 +644,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.37.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1?api-version=2025-07-01 response: body: string: '{"name":"vna1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","tags":{"name":"tag1"},"properties":{"provisioningState":"Succeeded","bandwidthInGbps":50,"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}' @@ -694,7 +694,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.37.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1?api-version=2025-07-01 response: body: string: '{"name":"vna1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","tags":{"name":"tag1"},"properties":{"provisioningState":"Succeeded","bandwidthInGbps":50,"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}' @@ -744,7 +744,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.37.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1?api-version=2025-07-01 response: body: string: '{"name":"vna1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","tags":{"name":"tag1"},"properties":{"provisioningState":"Succeeded","bandwidthInGbps":50,"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"9088dde6-f847-4300-a909-b5e0bab4c481\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}' @@ -800,7 +800,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.37.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1?api-version=2025-07-01 response: body: string: '{"name":"vna1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","tags":{"name":"tag2"},"properties":{"provisioningState":"Succeeded","bandwidthInGbps":50,"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}' @@ -906,7 +906,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.37.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1?api-version=2025-07-01 response: body: string: '{"name":"vna1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","tags":{"name":"tag2"},"properties":{"provisioningState":"Succeeded","bandwidthInGbps":50,"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}' @@ -956,7 +956,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.37.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances?api-version=2025-07-01 response: body: string: '{"value":[{"name":"vna1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","tags":{"name":"tag2"},"properties":{"provisioningState":"Succeeded","bandwidthInGbps":50,"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}]}' @@ -1478,7 +1478,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.37.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2?api-version=2025-07-01 response: body: string: '{"name":"vna2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2","etag":"W/\"eb498131-338d-4148-b6da-3f4f218466ee\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","properties":{"provisioningState":"Updating","bandwidthInGbps":50,"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_1_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"eb498131-338d-4148-b6da-3f4f218466ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_2_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"eb498131-338d-4148-b6da-3f4f218466ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_3_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"eb498131-338d-4148-b6da-3f4f218466ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_4_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"eb498131-338d-4148-b6da-3f4f218466ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_5_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"eb498131-338d-4148-b6da-3f4f218466ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}' @@ -1634,7 +1634,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.37.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2?api-version=2025-07-01 response: body: string: '{"name":"vna2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","properties":{"provisioningState":"Succeeded","bandwidthInGbps":50,"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_1_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_2_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_3_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_4_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_5_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}' @@ -1684,7 +1684,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.37.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances?api-version=2025-07-01 response: body: string: '{"value":[{"name":"vna1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","tags":{"name":"tag2"},"properties":{"provisioningState":"Succeeded","bandwidthInGbps":50,"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_1_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_2_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_3_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_4_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1/ipConfigurations/ipconfig_5_d9a9145b-42d0-46bc-8fa8-30c85ba54192","etag":"W/\"0b8ac23b-6267-4504-b2ad-849c59aa72ee\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}},{"name":"vna2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","properties":{"provisioningState":"Succeeded","bandwidthInGbps":50,"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_1_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_2_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_3_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_4_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_5_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}]}' @@ -1736,7 +1736,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.37.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna1?api-version=2025-07-01 response: body: string: '' @@ -1946,7 +1946,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.37.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances?api-version=2025-07-01 response: body: string: '{"value":[{"name":"vna2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","properties":{"provisioningState":"Succeeded","bandwidthInGbps":50,"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_1_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_2_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_3_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_4_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_a3139059-4377-4506-8700-232ebb3aabfb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna000001/providers/Microsoft.Network/virtualNetworkAppliances/vna2/ipConfigurations/ipconfig_5_a3139059-4377-4506-8700-232ebb3aabfb","etag":"W/\"26e0e68e-4291-41df-a9c4-24fccabb70b0\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}]}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance_private_ip_address_version.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance_private_ip_address_version.yaml index e0a7ea50250..16de02951b1 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance_private_ip_address_version.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance_private_ip_address_version.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_vna_ip_version000001?api-version=2024-11-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001","name":"test_vna_ip_version000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_network_virtual_network_appliance_private_ip_address_version","date":"2026-05-04T05:53:05Z","module":"network"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001","name":"test_vna_ip_version000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_network_virtual_network_appliance_private_ip_address_version","date":"2026-05-13T02:44:12Z","module":"network"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2026 05:53:13 GMT + - Wed, 13 May 2026 02:44:17 GMT expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 742C5A1718F440F9A27A492A9175D88C Ref B: SG2AA1040512025 Ref C: 2026-05-04T05:53:13Z' + - 'Ref A: 868A1CA52BA84169BD11B59D7A0A9AFC Ref B: SG2AA1070304036 Ref C: 2026-05-13T02:44:17Z' status: code: 200 message: OK @@ -69,12 +69,12 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4?api-version=2024-07-01 response: body: - string: '{"name":"vnet-ipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4","etag":"W/\"75268855-98d0-40b9-b98e-40b77944850f\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"e8c91af0-31c4-4fd6-9352-9eb2ecfe1aba","addressSpace":{"addressPrefixes":["10.10.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' + string: '{"name":"vnet-ipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4","etag":"W/\"e0d59297-5193-471c-be0a-144c607d90a1\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"9d0d8d00-7880-40cc-a6a0-bc2cef67f2df","addressSpace":{"addressPrefixes":["10.10.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a9d76d01-5a9e-4f58-ae1a-ce9957257683?api-version=2024-07-01&t=639134707979832735&c=MIIIJzCCBw-gAwIBAgIRAPkg2z-B9Jm_vrDg-qNrjwswDQYJKoZIhvcNAQELBQAwNjE0MDIGA1UEAxMrQ0NNRSBHMSBUTFMgUlNBIDIwNDggU0hBMjU2IDIwNDkgV0NVUyBDQSAwMTAeFw0yNjA0MTAwNjUyMTdaFw0yNjEwMDUxMjUyMTdaMEAxPjA8BgNVBAMTNWFzeW5jb3BlcmF0aW9uc2lnbmluZ2NlcnRpZmljYXRlLm1hbmFnZW1lbnQuYXp1cmUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxhFGHIBug-4Pg8y8wrt85aTDI_1ckzX8XYnsk6BmTh36sX4QX-zrgCccWt1yXC8y3lSRvEr66Pgoywj0gN60U0prO-Llj-OOWdlGOnbBFPBaBa2ogrj2ULknxSn8HyrgUsMa3zGCqoR_eDSq7R_O20UZDFBlonw8TSmqdLPA4fe1TarGVXDGoRxYv_BQE0sxI54JmyZ5uATcXoIBRqCEmrRFh6MO0V4rK5-sBO8yodyMdOweERdOFcDfLvM2WCaax5HnsjPSLMYy-XTD01vXM3XkKAJ6K30JxQ4_Wtn1IvN-b0R-eEdUMUdPKhH4RDL_8xL-ALqsnaG0cNZazOQr1QIDAQABo4IFJDCCBSAwgZ0GA1UdIASBlTCBkjAMBgorBgEEAYI3ewEBMGYGCisGAQQBgjd7AgIwWDBWBggrBgE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vcPkoZesm3Tj0zbPNcdWQnnMyUvs1UFPCM8SKcHfsCyV1CznNVXJNoWViUlzjqhPnM6XgnzE6yrYpuN-9N-_eguijBDGlJhME4-DEli6ULE3b74mmabJpPC-0PtT2L3PeAxni6nnujJ_I2xIAG6PbW7NyQe0MzUWbT8Z1lRfdS2EcoDO2X_uW6j1Bmk1zXl071sEZVsOJ-2YRxvzgSglUEAM0znbKLtjYhCJi8MhFPWan-I3iFv-rBDQ58f4xz7Aw&h=tmjUrtKiMuAYrkNQq0SnXR7CLd-q7H_yiGb-2ZLqtO4 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8d861fd6-cde5-4017-a441-30a4b1283aa7?api-version=2024-07-01&t=639142370596257218&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDealc9e2xWlYn0dX5zgxycoyRECfCn-ACb8WxKGmsKAA5yFa8bggPwuauZjSPSntq3xw99b6CFXZ6EM34WjxaWokZKYj8bbRT14WzrQHemPN5KUaI3SFtZidaSdEAzhm7Ha1a74SG8rDZU8qVqbaoCPQk9Iblv0LucrVV5BAMOwvi-5j-7X9vehxsheuxPwrVmGy_WrXI_3Qflmizp5BND_I3p4BIRjEcaQw_EBd3dhAC52EO5bT3FKSdM6N5xgpZvtjHjxRG2WG_8Gh07OrI0Ib0mnTB1_HNhiEw3_VzdnINXV0_Fsm7HMV-qCCkY5pyJIZjVX7L7FFY0PGqcqUKdAgMB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A1h9QD-LxDT_ryVo1ilSDrhWVgZwD1IUUdG57lUfUaNzDngEUdVqCGwBADVsXnt9-ibUnif9FUqEcn1TcPLspnBkDF26BhlTjPxImfB8OaeJp5bJmt3BePwiJbS0QQ&h=0RI_BJNL2OmqvShXPAmSuPXz9diFg8s6tHZxwDc0K9U cache-control: - no-cache content-length: @@ -82,7 +82,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2026 05:53:17 GMT + - Wed, 13 May 2026 02:44:18 GMT expires: - '-1' pragma: @@ -94,15 +94,15 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4dc6f54d-e200-44a0-b6ff-0d72f652d27c + - 66243390-249c-46aa-b698-93161bfa2b3d x-ms-operation-identifier: - - tenantId=ed94de55-1f87-4278-9651-525e7ba467d6,objectId=4c73e7a5-a580-4613-82cf-af0b98695e15/southeastasia/ec0acf32-f881-48d0-a602-4a8e2a9eee74 + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/eastus/52b83e2d-a132-4a7b-8aa9-a15cd5e2d2e8 x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 8DDC0631F387446485D1478056683FC2 Ref B: SG2AA1040518011 Ref C: 2026-05-04T05:53:14Z' + - 'Ref A: 79D3BB19AF1849BF98A1F98F1A790905 Ref B: SG2AA1040519040 Ref C: 2026-05-13T02:44:19Z' status: code: 201 message: Created @@ -122,7 +122,57 @@ interactions: User-Agent: - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a9d76d01-5a9e-4f58-ae1a-ce9957257683?api-version=2024-07-01&t=639134707979832735&c=MIIIJzCCBw-gAwIBAgIRAPkg2z-B9Jm_v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Network/locations/eastus/operations/8d861fd6-cde5-4017-a441-30a4b1283aa7?api-version=2024-07-01&t=639142370596257218&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDealc9e2xWlYn0dX5zgxycoyRECfCn-ACb8WxKGmsKAA5yFa8bggPwuauZjSPSntq3xw99b6CFXZ6EM34WjxaWokZKYj8bbRT14WzrQHemPN5KUaI3SFtZidaSdEAzhm7Ha1a74SG8rDZU8qVqbaoCPQk9Iblv0LucrVV5BAMOwvi-5j-7X9vehxsheuxPwrVmGy_WrXI_3Qflmizp5BND_I3p4BIRjEcaQw_EBd3dhAC52EO5bT3FKSdM6N5xgpZvtjHjxRG2WG_8Gh07OrI0Ib0mnTB1_HNhiEw3_VzdnINXV0_Fsm7HMV-qCCkY5pyJIZjVX7L7FFY0PGqcqUKdAgMBAAGjggSSMIIEjjCBnQYDVR0gBIGVMIGSMAwGCisGAQQBgjd7AQEwZgYKKwYBBAGCN3sCAjBYMFYGCCsGAQUFBwICMEoeSAAzADMAZQAwADEAOQAyADEALQA0AGQANgA0AC0ANABmADgAYwAtAGEAMAA1ADUALQA1AGIAZABhAGYAZgBkADUAZQAzADMAZDAMBgorBgEEAYI3ewMCMAwGCisGAQQBgjd7BAIwDAYDVR0TAQH_BAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDgYDVR0PAQH_BAQDAgWgMB0GA1UdDgQWBBSZIRQPs2If06iDFyiGbMnvIxenBzAfBgNVHSME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NlcjBmBggrBgEFBQcwAoZaaHR0cDovL2NjbWVlYXN0dXMycGtpLmVhc3R1czIucGtpLmNvcmUud2luZG93cy5uZXQvY2VydGlmaWNhdGVBdXRob3JpdGllcy9jY21lZWFzdHVzMmljYTAxMA0GCSqGSIb3DQEBCwUAA4IBAQAxSvsyw-aQGPuLg3sIv-zDLSqhHgP__v9DGyP7D16rJpNG1JcjpiXpbloqD9RW5Gc_hHWn5Kyr1pRABJrFa-jEt89-FiQdkToF-vvwJOXbryAgZYdS03uFzUGqARs3JMMqCHrVkx6hb9oOxh_3JdEemO_dbhApyOVTfloO4kIRsgJnHI_ImFt8xm3xa9ftB0ARfJAdN_1EHgB2NdOgTvaSljVOnQY6R40lh_Wl8-s3GIhHbNwQOECXegBxeVAUVN5nGxlD8TEqKc_mX-22kBMao71zBz3JWtCING4-QzwrWj9pxmanpqYqiVGf40ZbZZihRkte0KI9zvW53Y2Smcy7&s=wepVtZa0oZIZ3sBlMmEpzpK1TnMwwn5jL50Z7M7yiJ0MJ7Q8EkFXNI007FzIBDhGpmNxCDSRYoQmZ5bkXicwfaCD63cDqkok4WeoZpGDpFgq2ZMvG99J-xiDScGdLRwJD95Tbe9EPbd36494MvbKiiqR7r9biLULeoM54_Nx7rKDnMGErn3m-1_TGbOUGeVISPAv2GNReiQVM-WJ1utLpU2aA1h9QD-LxDT_ryVo1ilSDrhWVgZwD1IUUdG57lUfUaNzDngEUdVqCGwBADVsXnt9-ibUnif9FUqEcn1TcPLspnBkDF26BhlTjPxImfB8OaeJp5bJmt3BePwiJbS0QQ&h=0RI_BJNL2OmqvShXPAmSuPXz9diFg8s6tHZxwDc0K9U + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:44:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 30e49516-b6d1-4fbc-8305-67aad4f494d3 + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/2815294f-4fbe-4b49-9b79-ea42adf37cce + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 219D666270174FACBAE00A4EA4EED054 Ref B: SG2AA1040517031 Ref C: 2026-05-13T02:44:20Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --address-prefixes + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8d861fd6-cde5-4017-a441-30a4b1283aa7?api-version=2024-07-01&t=639142370596257218&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDealc9e2xWlYn0dX5zgxycoyRECfCn-ACb8WxKGmsKAA5yFa8bggPwuauZjSPSntq3xw99b6CFXZ6EM34WjxaWokZKYj8bbRT14WzrQHemPN5KUaI3SFtZidaSdEAzhm7Ha1a74SG8rDZU8qVqbaoCPQk9Iblv0LucrVV5BAMOwvi-5j-7X9vehxsheuxPwrVmGy_WrXI_3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mNxCDSRYoQmZ5bkXicwfaCD63cDqkok4WeoZpGDpFgq2ZMvG99J-xiDScGdLRwJD95Tbe9EPbd36494MvbKiiqR7r9biLULeoM54_Nx7rKDnMGErn3m-1_TGbOUGeVISPAv2GNReiQVM-WJ1utLpU2aA1h9QD-LxDT_ryVo1ilSDrhWVgZwD1IUUdG57lUfUaNzDngEUdVqCGwBADVsXnt9-ibUnif9FUqEcn1TcPLspnBkDF26BhlTjPxImfB8OaeJp5bJmt3BePwiJbS0QQ&h=0RI_BJNL2OmqvShXPAmSuPXz9diFg8s6tHZxwDc0K9U response: body: string: '{"status":"Succeeded"}' @@ -134,7 +184,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2026 05:53:18 GMT + - Wed, 13 May 2026 02:44:31 GMT expires: - '-1' pragma: @@ -146,13 +196,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d3a02e5a-3ad6-4610-bd26-953fcf1f932e + - 56c1d82d-2017-4367-a9a0-3d9a45fef22b x-ms-operation-identifier: - - tenantId=ed94de55-1f87-4278-9651-525e7ba467d6,objectId=4c73e7a5-a580-4613-82cf-af0b98695e15/southeastasia/194e2d92-9c63-47dd-970e-0afe6931ba91 + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/17968896-91da-433f-82d2-c9759a99ef55 x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 9C651493645742FE8932A29ADD8BA35B Ref B: SG2AA1070304029 Ref C: 2026-05-04T05:53:18Z' + - 'Ref A: A06408A2CE994D8F94F22AB777307EA5 Ref B: SG2AA1040520040 Ref C: 2026-05-13T02:44:31Z' status: code: 200 message: OK @@ -175,7 +225,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4?api-version=2024-07-01 response: body: - string: '{"name":"vnet-ipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4","etag":"W/\"8af7fe57-e549-4c95-b021-f54998c10f69\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"e8c91af0-31c4-4fd6-9352-9eb2ecfe1aba","addressSpace":{"addressPrefixes":["10.10.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' + string: '{"name":"vnet-ipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4","etag":"W/\"8f26e4ce-3ac3-4711-b566-9db4ae9e512e\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"9d0d8d00-7880-40cc-a6a0-bc2cef67f2df","addressSpace":{"addressPrefixes":["10.10.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' headers: cache-control: - no-cache @@ -184,7 +234,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2026 05:53:19 GMT + - Wed, 13 May 2026 02:44:32 GMT expires: - '-1' pragma: @@ -196,11 +246,11 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 728d212f-f88b-4cb9-b1d1-5cae8a1463ce + - b4148d14-50be-4c4e-bdc5-dbd904e262d7 x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 5D71017F79CC4F16BB2F6D8B0A30BCBD Ref B: SG2AA1070303060 Ref C: 2026-05-04T05:53:19Z' + - 'Ref A: C162F4E9AF754F198B7DEACF186099C1 Ref B: SG2AA1040520023 Ref C: 2026-05-13T02:44:32Z' status: code: 200 message: OK @@ -229,12 +279,12 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4/subnets/VirtualNetworkApplianceSubnet?api-version=2024-07-01 response: body: - string: '{"name":"VirtualNetworkApplianceSubnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4/subnets/VirtualNetworkApplianceSubnet","etag":"W/\"cb3cb39f-8bc7-419f-9568-b586553b0829\"","properties":{"provisioningState":"Updating","addressPrefix":"10.10.0.0/24","delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled","defaultOutboundAccess":false},"type":"Microsoft.Network/virtualNetworks/subnets"}' + string: '{"name":"VirtualNetworkApplianceSubnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4/subnets/VirtualNetworkApplianceSubnet","etag":"W/\"57e12e29-cf65-49fb-af6f-59006ce19580\"","properties":{"provisioningState":"Updating","addressPrefix":"10.10.0.0/24","delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled","defaultOutboundAccess":false},"type":"Microsoft.Network/virtualNetworks/subnets"}' headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/00ee6514-2c65-4c4d-a188-2f6a4d00d481?api-version=2024-07-01&t=639134708015196426&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNv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ZYdS03uFzUGqARs3JMMqCHrVkx6hb9oOxh_3JdEemO_dbhApyOVTfloO4kIRsgJnHI_ImFt8xm3xa9ftB0ARfJAdN_1EHgB2NdOgTvaSljVOnQY6R40lh_Wl8-s3GIhHbNwQOECXegBxeVAUVN5nGxlD8TEqKc_mX-22kBMao71zBz3JWtCING4-QzwrWj9pxmanpqYqiVGf40ZbZZihRkte0KI9zvW53Y2Smcy7&s=dcsCgbQkySUYrF-QcbwbmLrFtxckjQa4Y-I5owna5-FaDJq7zMouIvq__11JIf6YVNgZBW2Biv8HuFMgV_mlz_MF_ClcD0Rcn2LFBwyAka1Ttn2fVaRXKYJLTe8jRVFQ1xJRt041Fo6FKIloGjtUaGzdya1z7TWnPDWRwSP8kAgbaEfM-rRb2LqBz9mW5iX-SEqzn_I4eulLlfZraWu2QSmdLf6tBcMPdQwjx6wFn8eGrlUxLPNvB8u5Wm3v1Hj8jgATHhDYJefHwt-dgoD5lipXn6BYrm9khXu4NJRK7fxTBzrrSm5GQjlCE1sWAU6PKqyowziCl4lrmfBAar93iQ&h=LhvcgGzzQEnhFHqMGUfHTZG9-ytGLmlxlu53LRFCGGw + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/767edf1a-b318-475e-ba52-d6fdb78dafa8?api-version=2024-07-01&t=639142370759366263&c=MIIIJzCCBw-gAwIBAgIRAPkg2z-B9Jm_vrDg-qNrjwswDQYJKoZIhvcNAQELBQAwNjE0MDIGA1UEAxMrQ0NNRSBHMSBUTFMgUlNBIDIwNDggU0hBMjU2IDIwNDkgV0NVUyBDQSAwMTAeFw0yNjA0MTAwNjUyMTdaFw0yNjEwMDUxMjUyMTdaMEAxPjA8BgNVBAMTNWFzeW5jb3BlcmF0aW9uc2lnbmluZ2NlcnRpZmljYXRlLm1hbmFnZW1lbnQuYXp1cmUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxhFGHIBug-4Pg8y8w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WrNOxcAkBHpasqPjLn8-Kn0Epr2tRtCqiDWEGx_u3n8ziMDqRxvNKiDUdDWhMl9QuodIY45vNfF6z92zdJEJ0m01EaNwji4O0BNu0Yy7zPa_L79KmbrFPHHQkexKO2qyHqYM0M22afvWFTacEIlhMIcL-Hq6afh-pfO3r2D3ZnFSmrZFt1A8qT0qTCXRaOqAM1Wk35M7k-idK2KawQ4Q9KnP0h62bPPhktf4Hi_Ax5-Ms7zxobTxMvoilvGVHYDeQ2zZDEoMmyNZ1gfzPjnGnV2BbMj3JEHIzWuKuw033HBrOIc8peAt8JKrH&s=i8JbJ0l5WXLbFiOVANR6j5oWQyEZmz6hWMTIpxKYW_cvGktnF1XCwOb55yVRNgsvDrmriuMks1hxa7sl9pxHM4ijitldZE8L8ts5xMNHs0Li-w3IIH2FzlinjpWhFaAjtXzPlGIoDRj7bUyWerRi77gFopdeuKMn5mw1KhN9Llwx8nCvqCCciKjDLPlK877XEao461quxmTeKBUBTj4euWM_X7cFyuHQg4u2x9DcSJO2H-0LdqAbo_rgoo9ivQuwHu2RhbZotbMUWHGT_BP7GWU8ibWpdZqBshYhB2qlLSgO9CqZB0SfpwMUtPT8SYTBq5yyOK87EFSsiyLTvtDhnQ&h=cc0s1GRMRGzoMqZExhgAz3sX1OnaPNAMXaCILlksbtA cache-control: - no-cache content-length: @@ -242,7 +292,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2026 05:53:20 GMT + - Wed, 13 May 2026 02:44:35 GMT expires: - '-1' pragma: @@ -254,15 +304,15 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dbed7d51-46a1-4533-8e26-4cac1a70b5ef + - 9fd15bfb-90c0-4de8-93e9-1f3e6de87903 x-ms-operation-identifier: - - tenantId=ed94de55-1f87-4278-9651-525e7ba467d6,objectId=4c73e7a5-a580-4613-82cf-af0b98695e15/eastus/69eb5b16-a5de-459a-9c3d-d10a0f0108ce + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/cf05a531-6f4a-4b3f-b172-df94a3e2d7e2 x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: D7C2FDB74146438A9697A6A8A530FD86 Ref B: SG2AA1070306029 Ref C: 2026-05-04T05:53:21Z' + - 'Ref A: 63AD5568880A4238A068D3209978AD01 Ref B: SG2AA1040517034 Ref C: 2026-05-13T02:44:33Z' status: code: 201 message: Created @@ -282,7 +332,7 @@ interactions: User-Agent: - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/00ee6514-2c65-4c4d-a188-2f6a4d00d481?api-version=2024-07-01&t=639134708015196426&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDealc9e2xWlYn0dX5zgxycoyRECfCn-ACb8WxKGmsKAA5yFa8bggPwuauZjSPSntq3xw99b6CFXZ6EM34WjxaWokZKYj8bbRT14WzrQHemPN5KUaI3SFtZidaSdEAzhm7Ha1a74SG8rDZU8qVqbaoCPQk9Iblv0LucrVV5BAMOwvi-5j-7X9vehxsheuxPwrVmGy_WrXI_3Qflmizp5BND_I3p4BIRjEcaQw_EBd3dhAC52EO5bT3FKSdM6N5xgpZvtjHjxRG2WG_8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Fo6FKIloGjtUaGzdya1z7TWnPDWRwSP8kAgbaEfM-rRb2LqBz9mW5iX-SEqzn_I4eulLlfZraWu2QSmdLf6tBcMPdQwjx6wFn8eGrlUxLPNvB8u5Wm3v1Hj8jgATHhDYJefHwt-dgoD5lipXn6BYrm9khXu4NJRK7fxTBzrrSm5GQjlCE1sWAU6PKqyowziCl4lrmfBAar93iQ&h=LhvcgGzzQEnhFHqMGUfHTZG9-ytGLmlxlu53LRFCGGw + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/767edf1a-b318-475e-ba52-d6fdb78dafa8?api-version=2024-07-01&t=639142370759366263&c=MIIIJzCCBw-gAwIBAgIRAPkg2z-B9Jm_vrDg-qNrjwswDQYJKoZIhvcNAQELBQAwNjE0MDIGA1UEAxMrQ0NNRSBHMSBUTFMgUlNBIDIwNDggU0hBMjU2IDIwNDkgV0NVUyBDQSAwMTAeFw0yNjA0MTAwNjUyMTdaFw0yNjEwMDUxMjUyMTdaMEAxPjA8BgNVBAMTNWFzeW5jb3BlcmF0aW9uc2lnbmluZ2NlcnRpZmljYXRlLm1hbmFnZW1lbnQuYXp1cmUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxhFGHIBug-4Pg8y8wrt85aTDI_1ckzX8XYnsk6BmTh36sX4QX-zrgCccWt1yXC8y3lSRvEr66Pgoywj0gN60U0prO-Llj-OOWdlGOnbBFPBaBa2ogrj2ULknxSn8HyrgUsMa3zGCqoR_eDSq7R_O20UZDFBlonw8TSmqdLPA4fe1TarGVXDGoRxYv_BQE0sxI54JmyZ5uATcXoIBRqCEmrRFh6MO0V4rK5-sBO8yodyMdOweERdOFcDfLvM2WCaax5HnsjPSLMYy-XTD01vXM3XkKAJ6K30JxQ4_Wtn1IvN-b0R-eEdUMUdPKhH4RDL_8xL-ALqsnaG0cNZazOQr1QIDAQABo4IFJDCCBSAwgZ0GA1UdIASBlTCBkjAM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W_cvGktnF1XCwOb55yVRNgsvDrmriuMks1hxa7sl9pxHM4ijitldZE8L8ts5xMNHs0Li-w3IIH2FzlinjpWhFaAjtXzPlGIoDRj7bUyWerRi77gFopdeuKMn5mw1KhN9Llwx8nCvqCCciKjDLPlK877XEao461quxmTeKBUBTj4euWM_X7cFyuHQg4u2x9DcSJO2H-0LdqAbo_rgoo9ivQuwHu2RhbZotbMUWHGT_BP7GWU8ibWpdZqBshYhB2qlLSgO9CqZB0SfpwMUtPT8SYTBq5yyOK87EFSsiyLTvtDhnQ&h=cc0s1GRMRGzoMqZExhgAz3sX1OnaPNAMXaCILlksbtA response: body: string: '{"status":"Succeeded"}' @@ -294,7 +344,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2026 05:53:22 GMT + - Wed, 13 May 2026 02:44:36 GMT expires: - '-1' pragma: @@ -306,13 +356,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 74348987-9203-44fd-80fa-65d03fe96733 + - 3ae128b7-2805-44ba-9572-775bcef0b81f x-ms-operation-identifier: - - tenantId=ed94de55-1f87-4278-9651-525e7ba467d6,objectId=4c73e7a5-a580-4613-82cf-af0b98695e15/southeastasia/32458e0c-6b27-43d1-8c27-6e0b272d0eeb + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/c8b9eaa7-b080-4983-a4e4-e5dcedb63642 x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: ABD9D55321384709A96F8E5685FEE6A7 Ref B: SG2AA1070301062 Ref C: 2026-05-04T05:53:22Z' + - 'Ref A: 7A1016FD0E3947298D32FEB3ED021C33 Ref B: SG2AA1040517029 Ref C: 2026-05-13T02:44:36Z' status: code: 200 message: OK @@ -335,7 +385,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4/subnets/VirtualNetworkApplianceSubnet?api-version=2024-07-01 response: body: - string: '{"name":"VirtualNetworkApplianceSubnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4/subnets/VirtualNetworkApplianceSubnet","etag":"W/\"38e616cb-5ac2-485f-80f6-082264f0cf65\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.10.0.0/24","delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled","defaultOutboundAccess":false},"type":"Microsoft.Network/virtualNetworks/subnets"}' + string: '{"name":"VirtualNetworkApplianceSubnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4/subnets/VirtualNetworkApplianceSubnet","etag":"W/\"b47df8fe-b5c2-4617-80ad-d0bceb2383f4\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.10.0.0/24","delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled","defaultOutboundAccess":false},"type":"Microsoft.Network/virtualNetworks/subnets"}' headers: cache-control: - no-cache @@ -344,9 +394,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2026 05:53:22 GMT + - Wed, 13 May 2026 02:44:38 GMT etag: - - W/"38e616cb-5ac2-485f-80f6-082264f0cf65" + - W/"b47df8fe-b5c2-4617-80ad-d0bceb2383f4" expires: - '-1' pragma: @@ -358,13 +408,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9d6dac75-4a5c-4753-b3bb-925fc973568f + - dc56886d-a497-48b6-811b-026ad0c64498 x-ms-operation-identifier: - - tenantId=ed94de55-1f87-4278-9651-525e7ba467d6,objectId=4c73e7a5-a580-4613-82cf-af0b98695e15/eastus/9c3d2e5f-e4b6-46a8-a83b-56db927c528f + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/eastus/c233e49a-7266-4c5c-be17-1ee479ce9da0 x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: AA60A8CE08C64C929A9CAA23CE378927 Ref B: SG2AA1070303060 Ref C: 2026-05-04T05:53:23Z' + - 'Ref A: 4A543C8F3DA444798CEB27440908C0C5 Ref B: SG2AA1070306023 Ref C: 2026-05-13T02:44:37Z' status: code: 200 message: OK @@ -387,7 +437,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_vna_ip_version000001?api-version=2024-11-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001","name":"test_vna_ip_version000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_network_virtual_network_appliance_private_ip_address_version","date":"2026-05-04T05:53:05Z","module":"network"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001","name":"test_vna_ip_version000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_network_virtual_network_appliance_private_ip_address_version","date":"2026-05-13T02:44:12Z","module":"network"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -396,7 +446,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2026 05:53:24 GMT + - Wed, 13 May 2026 02:44:39 GMT expires: - '-1' pragma: @@ -410,7 +460,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: CB3D965D34404707BBEB002D0341E870 Ref B: SG2AA1040519040 Ref C: 2026-05-04T05:53:24Z' + - 'Ref A: 8FBC0AEA6A9F4659B021ED2F5D3FDEDF Ref B: SG2AA1040518031 Ref C: 2026-05-13T02:44:39Z' status: code: 200 message: OK @@ -438,19 +488,20 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4?api-version=2025-07-01 response: body: - string: '{"error":{"code":"SubscriptionNotRegisteredForFeature","message":"Subscription - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.Network/subscriptions/ - is not registered for feature Microsoft.Network/AllowVirtualNetworkAppliance - required to carry out the requested operation.","details":[]}}' + string: '{"name":"vna-ipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4","etag":"W/\"dc271ab7-8b13-4bac-815a-20feb28f4a8a\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"e8d34018-b198-45f1-ae79-0b7a06341289","bandwidthInGbps":50,"privateIPAddressVersion":"IPv4","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_1_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"dc271ab7-8b13-4bac-815a-20feb28f4a8a\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_2_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"dc271ab7-8b13-4bac-815a-20feb28f4a8a\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_3_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"dc271ab7-8b13-4bac-815a-20feb28f4a8a\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_4_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"dc271ab7-8b13-4bac-815a-20feb28f4a8a\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_5_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"dc271ab7-8b13-4bac-815a-20feb28f4a8a\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}' headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/374daad8-d309-4bc3-aacc-6fd246038a5b?api-version=2025-07-01&t=639142370801492135&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDealc9e2xWlYn0dX5zgxycoyRECfCn-ACb8WxKGmsKAA5yFa8bggPwuauZjSPSntq3xw99b6CFXZ6EM34WjxaWokZKYj8bbRT14WzrQHemPN5KUaI3SFtZidaSdEAzhm7Ha1a74SG8rDZU8qVqbaoCPQk9Iblv0LucrVV5BAMOwvi-5j-7X9vehxsheuxPwrVmGy_WrXI_3Qflmizp5BND_I3p4BIRjEcaQw_EBd3dhAC52EO5bT3FKSdM6N5xgpZvtjHjxRG2WG_8Gh07OrI0Ib0mnTB1_HNhiEw3_VzdnINXV0_Fsm7HMV-qCCkY5pyJIZjVX7L7FFY0PGqcqUKdAgMBAAGjggSSMIIEjjCBnQYDVR0gBIGVMIGSMAwGCisGAQQBgjd7AQEwZgYKKwYBBAGCN3sCAjBYMFYGCCsGAQUFBwICMEoeSAAzADMAZQAwADEAOQAyADEALQA0AGQANgA0AC0ANABmADgAYwAtAGEAMAA1ADUALQA1AGIAZABhAGYAZgBkADUAZQAzADMAZDAMBgorBgEEAYI3ewMCMAwGCisGAQQBgjd7BAIwDAYDVR0TAQH_BAIwADA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HMAKGUWh0dHA6Ly9jcmwubWljcm9zb2Z0LmNvbS9lYXN0dXMyL2NhY2VydHMvY2NtZWVhc3R1czJwa2kvY2NtZWVhc3R1czJpY2EwMS9jZXJ0LmNlcjBmBggrBgEFBQcwAoZaaHR0cDovL2NjbWVlYXN0dXMycGtpLmVhc3R1czIucGtpLmNvcmUud2luZG93cy5uZXQvY2VydGlmaWNhdGVBdXRob3JpdGllcy9jY21lZWFzdHVzMmljYTAxMA0GCSqGSIb3DQEBCwUAA4IBAQAxSvsyw-aQGPuLg3sIv-zDLSqhHgP__v9DGyP7D16rJpNG1JcjpiXpbloqD9RW5Gc_hHWn5Kyr1pRABJrFa-jEt89-FiQdkToF-vvwJOXbryAgZYdS03uFzUGqARs3JMMqCHrVkx6hb9oOxh_3JdEemO_dbhApyOVTfloO4kIRsgJnHI_ImFt8xm3xa9ftB0ARfJAdN_1EHgB2NdOgTvaSljVOnQY6R40lh_Wl8-s3GIhHbNwQOECXegBxeVAUVN5nGxlD8TEqKc_mX-22kBMao71zBz3JWtCING4-QzwrWj9pxmanpqYqiVGf40ZbZZihRkte0KI9zvW53Y2Smcy7&s=dWPs-6wWXQujhiocyLpPUV4ufAntQbmHwfsaaRr9uXs1ArmfCFGBJaAw6OTOwGOA1kVs1nSC6vsCMYjCVstZ2PksmyHIceAEbrArvdjlcmfEIHNK3fuj_2pS0p64M7Gd5ZgbxAJ5wGPG8SStJeEzmRF1M-3g2oYTOU6brkeavrbfHhT3uNVsr9q9SqIIfYLCOZk7b14KFySTqQuqaOp_NL-WPlPktz8-TsDGIFVvSrf11CPMuIiaQqjw3CVwwYdFSbCppESfV3lfnGQxdHZULHqsyem0bDWPBhT5flMB7tG0rYA7tdnbUGxBqU-pbLxWLB9_275VSZ25dpzJgEg1UA&h=af-EsKv8nsI1O2nWDJBBIgjm35txsOqZ4Ut0QWXnMEo cache-control: - no-cache content-length: - - '329' + - '3377' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2026 05:53:25 GMT + - Wed, 13 May 2026 02:44:39 GMT expires: - '-1' pragma: @@ -462,16 +513,1343 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ecb00700-3025-4db9-92d5-ff75222a3334 + - e3caffd1-0809-4911-94a4-596bcd52e8ae x-ms-operation-identifier: - - tenantId=ed94de55-1f87-4278-9651-525e7ba467d6,objectId=4c73e7a5-a580-4613-82cf-af0b98695e15/eastus/0e62cbe5-fea9-4f92-add5-037a352b09f8 + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/eastus/d8fb2465-c54f-4ee2-83cf-c89c5cb24a66 x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: B495C1FF0C524B1BB01E8D0AB4B64CCF Ref B: SG2AA1040518011 Ref C: 2026-05-04T05:53:25Z' + - 'Ref A: F141EAD6266A4FD5851CF14A26989FB1 Ref B: SG2AA1070304025 Ref C: 2026-05-13T02:44:39Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/374daad8-d309-4bc3-aacc-6fd246038a5b?api-version=2025-07-01&t=639142370801492135&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQD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Et89-FiQdkToF-vvwJOXbryAgZYdS03uFzUGqARs3JMMqCHrVkx6hb9oOxh_3JdEemO_dbhApyOVTfloO4kIRsgJnHI_ImFt8xm3xa9ftB0ARfJAdN_1EHgB2NdOgTvaSljVOnQY6R40lh_Wl8-s3GIhHbNwQOECXegBxeVAUVN5nGxlD8TEqKc_mX-22kBMao71zBz3JWtCING4-QzwrWj9pxmanpqYqiVGf40ZbZZihRkte0KI9zvW53Y2Smcy7&s=dWPs-6wWXQujhiocyLpPUV4ufAntQbmHwfsaaRr9uXs1ArmfCFGBJaAw6OTOwGOA1kVs1nSC6vsCMYjCVstZ2PksmyHIceAEbrArvdjlcmfEIHNK3fuj_2pS0p64M7Gd5ZgbxAJ5wGPG8SStJeEzmRF1M-3g2oYTOU6brkeavrbfHhT3uNVsr9q9SqIIfYLCOZk7b14KFySTqQuqaOp_NL-WPlPktz8-TsDGIFVvSrf11CPMuIiaQqjw3CVwwYdFSbCppESfV3lfnGQxdHZULHqsyem0bDWPBhT5flMB7tG0rYA7tdnbUGxBqU-pbLxWLB9_275VSZ25dpzJgEg1UA&h=af-EsKv8nsI1O2nWDJBBIgjm35txsOqZ4Ut0QWXnMEo + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:44:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 30478c32-1d1e-4627-9e34-5529945ede01 + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/ec87184f-6707-4209-b464-43dd85c85cde + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: AE25CC5A2C1C45E3AA15FA583BE6B962 Ref B: SG2AA1040516052 Ref C: 2026-05-13T02:44:40Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/374daad8-d309-4bc3-aacc-6fd246038a5b?api-version=2025-07-01&t=639142370801492135&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDealc9e2xWlYn0dX5zgxycoyRECfCn-ACb8WxKGmsKAA5yFa8bggPwuauZjSPSntq3xw99b6CFXZ6EM34WjxaWokZKYj8bbRT14WzrQHemPN5KUaI3SFtZidaSdEAzhm7Ha1a74SG8rDZU8qVqbaoCPQk9Iblv0LucrVV5BAMOwvi-5j-7X9vehxsheuxPwrVmGy_WrXI_3Qflmizp5BND_I3p4BIRjEcaQw_EBd3dhAC52EO5bT3FKSdM6N5xgpZvtjHjxRG2WG_8Gh07OrI0Ib0mnTB1_HNhiEw3_VzdnINXV0_Fsm7HMV-qCCkY5pyJIZjVX7L7FFY0PGqcqUKdAgMBAAGjggSSMIIEjjCBnQYDVR0gBIGVMIGSMAwGCisGAQQBgjd7AQEwZgYKKwYBBAGCN3sCAjBYMFYGCC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G0rYA7tdnbUGxBqU-pbLxWLB9_275VSZ25dpzJgEg1UA&h=af-EsKv8nsI1O2nWDJBBIgjm35txsOqZ4Ut0QWXnMEo + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:44:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - fdff283d-50cd-45a2-b426-af3c8025868b + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/malaysiasouth/14191ef2-f210-46ba-bae2-b9da4ea5d959 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: ECAEB7AC11CF4037A2C167072BC6A372 Ref B: SG2AA1070306036 Ref C: 2026-05-13T02:44:52Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/374daad8-d309-4bc3-aacc-6fd246038a5b?api-version=2025-07-01&t=639142370801492135&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5b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ryAgZYdS03uFzUGqARs3JMMqCHrVkx6hb9oOxh_3JdEemO_dbhApyOVTfloO4kIRsgJnHI_ImFt8xm3xa9ftB0ARfJAdN_1EHgB2NdOgTvaSljVOnQY6R40lh_Wl8-s3GIhHbNwQOECXegBxeVAUVN5nGxlD8TEqKc_mX-22kBMao71zBz3JWtCING4-QzwrWj9pxmanpqYqiVGf40ZbZZihRkte0KI9zvW53Y2Smcy7&s=dWPs-6wWXQujhiocyLpPUV4ufAntQbmHwfsaaRr9uXs1ArmfCFGBJaAw6OTOwGOA1kVs1nSC6vsCMYjCVstZ2PksmyHIceAEbrArvdjlcmfEIHNK3fuj_2pS0p64M7Gd5ZgbxAJ5wGPG8SStJeEzmRF1M-3g2oYTOU6brkeavrbfHhT3uNVsr9q9SqIIfYLCOZk7b14KFySTqQuqaOp_NL-WPlPktz8-TsDGIFVvSrf11CPMuIiaQqjw3CVwwYdFSbCppESfV3lfnGQxdHZULHqsyem0bDWPBhT5flMB7tG0rYA7tdnbUGxBqU-pbLxWLB9_275VSZ25dpzJgEg1UA&h=af-EsKv8nsI1O2nWDJBBIgjm35txsOqZ4Ut0QWXnMEo + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:45:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 0651f0bd-76c5-4532-8842-6d04970b7910 + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/7668f03f-9625-4cd6-b15a-e8309d2b16d4 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 2CFD52540EE04743AD8C5DEA1C8ED6AA Ref B: SG2AA1070306036 Ref C: 2026-05-13T02:45:14Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/374daad8-d309-4bc3-aacc-6fd246038a5b?api-version=2025-07-01&t=639142370801492135&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDealc9e2xWlYn0dX5zgxycoyRECfCn-ACb8WxKGmsKAA5yFa8bggPwuauZjSPSntq3xw99b6CFXZ6EM34WjxaWokZKYj8bbRT14WzrQHemPN5KUaI3SFtZidaSdEAzhm7Ha1a74SG8rDZU8qVqbaoCPQk9Iblv0LucrVV5BAMOwvi-5j-7X9vehxsheuxPwrVmGy_WrXI_3Qflmizp5BND_I3p4BIRjEcaQw_EBd3dhAC52EO5bT3FKSdM6N5xgpZvtjHjxRG2WG_8Gh07OrI0Ib0mnTB1_HNhiEw3_VzdnINXV0_Fsm7HMV-qCCkY5pyJIZjVX7L7FFY0PGqcqUKdAgMBAAGjggSSMIIEjjCBnQYDVR0gBIGVMIGSMAwGCisGAQQBgjd7AQEwZgYKKwYBBAGCN3sCAjBYMFYGCCsGAQUFBwICMEo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xBqU-pbLxWLB9_275VSZ25dpzJgEg1UA&h=af-EsKv8nsI1O2nWDJBBIgjm35txsOqZ4Ut0QWXnMEo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:45:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 3d358a67-45a5-41ae-82e2-2ea16f7d213c + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/46e7b75e-356b-483b-ac93-f02b2c70d774 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 4338B63563744D0E90EF12C47FE69DCB Ref B: SG2AA1040513060 Ref C: 2026-05-13T02:45:35Z' status: - code: 400 - message: Bad Request + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4?api-version=2025-07-01 + response: + body: + string: '{"name":"vna-ipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"e8d34018-b198-45f1-ae79-0b7a06341289","bandwidthInGbps":50,"privateIPAddressVersion":"IPv4","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_1_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_2_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_3_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_4_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_5_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}' + headers: + cache-control: + - no-cache + content-length: + - '3378' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:45:37 GMT + etag: + - W/"155d0f96-00d4-431a-88bf-a73f987ddb7e" + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 81853a19-429e-4ff1-b29c-85697d046f1b + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 442C967609704C91A78237CC6E5E7517 Ref B: SG2AA1070305042 Ref C: 2026-05-13T02:45:37Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4?api-version=2025-07-01 + response: + body: + string: '{"name":"vna-ipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"e8d34018-b198-45f1-ae79-0b7a06341289","bandwidthInGbps":50,"privateIPAddressVersion":"IPv4","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_1_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_2_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_3_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_4_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_5_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}' + headers: + cache-control: + - no-cache + content-length: + - '3378' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:45:38 GMT + etag: + - W/"155d0f96-00d4-431a-88bf-a73f987ddb7e" + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 7f615f5a-d21d-4c4e-a8af-bb4cbc0b76f4 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 8DBFF3FE27BD4E7FAD9A6EC120429ABB Ref B: SG2AA1070305042 Ref C: 2026-05-13T02:45:37Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --address-prefixes + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_vna_ip_version000001?api-version=2024-11-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001","name":"test_vna_ip_version000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_network_virtual_network_appliance_private_ip_address_version","date":"2026-05-13T02:44:12Z","module":"network"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '422' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:45:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 7FDA631169FB46EFA3EE9B9F45E546C2 Ref B: SG2AA1070301025 Ref C: 2026-05-13T02:45:39Z' + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"addressSpace": {"addressPrefixes": + ["10.10.0.0/16", "fd00:db8::/48"]}, "enableDdosProtection": false, "enableVmProtection": + false}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + Content-Length: + - '170' + Content-Type: + - application/json + ParameterSetName: + - -g -n --address-prefixes + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack?api-version=2024-07-01 + response: + body: + string: '{"name":"vnet-dualstack","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack","etag":"W/\"51979ddf-02dd-40ca-8107-0a0938fe8389\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"9a9ff040-ebfc-4695-8d2b-97c24d13e598","addressSpace":{"addressPrefixes":["10.10.0.0/16","fd00:db8::/48"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/cce53e50-9cb9-4635-b3b3-1cf3b3cc54ff?api-version=2024-07-01&t=639142371441416746&c=MIIIJzCCBw-gAwIBAgIRAPkg2z-B9Jm_vrDg-qNrjwswDQYJKoZIhvcNAQELBQAwNjE0MDIGA1UEAxMrQ0NNRSBHMSBUTFMgUlNBIDIwNDggU0hBMjU2IDIwNDkgV0NVUyBDQSAwMTAeFw0yNjA0MTAwNjUyMTdaFw0yNjEwMDUxMjUyMTdaMEAxPjA8BgNVBAMTNWFzeW5jb3BlcmF0aW9uc2lnbmluZ2NlcnRpZmljYXRlLm1hbmFnZW1lbnQuYXp1cmUuY29tMIIBIjANB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MA0GCSqGSIb3DQEBCwUAA4IBAQAwpZthpdA-8D9zmLFa9DswaQjZpHoWrNOxcAkBHpasqPjLn8-Kn0Epr2tRtCqiDWEGx_u3n8ziMDqRxvNKiDUdDWhMl9QuodIY45vNfF6z92zdJEJ0m01EaNwji4O0BNu0Yy7zPa_L79KmbrFPHHQkexKO2qyHqYM0M22afvWFTacEIlhMIcL-Hq6afh-pfO3r2D3ZnFSmrZFt1A8qT0qTCXRaOqAM1Wk35M7k-idK2KawQ4Q9KnP0h62bPPhktf4Hi_Ax5-Ms7zxobTxMvoilvGVHYDeQ2zZDEoMmyNZ1gfzPjnGnV2BbMj3JEHIzWuKuw033HBrOIc8peAt8JKrH&s=LfCYZMBuKQ9xsry7dshd5RnGzfVu32X4rzpaddp2PGn7kx1YSHf16Nzh4oXO6VZshsFM-SJ9TTt46-YTAi0h8mRmbdD5mABDdlctHS1iKaY1mLEyD68ycXQh10PW1vXgEpTI33c1NYAGoJIPESTFENYILL-ZANbHYg7iwi1XskzyyZNgbFv9wEZfg7MBSMYOZdnQhT4aPRYF9arOSZ-cjlBHKgBIc98gRShJMVn0ekjwkSWFFF6gph_VYNbUJ-dDBQNTRaXBKQMQuDF7jIxcmkdVVjjO9c7TTuO4GblrimRYLi8NjdZQjA0CmQGtrJlPmHNNFXEBdblLwdUIX3hoIQ&h=CATGB_RBCwCK2PYP4G3EndPqvMYFVnueAFv9UEHbnhM + cache-control: + - no-cache + content-length: + - '578' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:45:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 9ccbcdde-4904-496f-bff6-e278175cf1f4 + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/bd524e3e-fb2b-4c72-80b6-a76982fca1af + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: EBD30A1065D64C668B6DE03126F48ADE Ref B: SG2AA1040513054 Ref C: 2026-05-13T02:45:40Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --address-prefixes + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/cce53e50-9cb9-4635-b3b3-1cf3b3cc54ff?api-version=2024-07-01&t=639142371441416746&c=MIIIJzCCBw-gAwIBAgIRAPkg2z-B9Jm_vrDg-qNrjwswDQYJKoZIhvcNAQELBQAwNjE0MDIGA1UEAxMrQ0NNRSBHMSBUTFMgUlNBIDIwNDggU0hBMjU2IDIwNDkgV0NVUyBDQSAwMTAeFw0yNjA0MTAwNjUyMTdaFw0yNjEwMDUxMjUyMTdaMEAxPjA8BgNVBAMTNWFzeW5jb3BlcmF0aW9uc2lnbmluZ2NlcnRpZmljYXRlLm1hbmFnZW1lbnQuYXp1cmUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxhFGHIBug-4Pg8y8wrt85aTDI_1ckzX8XYnsk6BmTh36sX4QX-zrgCccWt1yXC8y3lSRvEr66Pgoywj0gN60U0prO-Llj-OOWdlGOnbBFPBaBa2ogrj2ULknxSn8HyrgUsMa3zGCqoR_eDSq7R_O20UZDFBlonw8TSmqdLPA4fe1TarGVXDGoRxYv_BQE0sxI54JmyZ5uATcXoIBRqCEmrRFh6MO0V4rK5-sBO8yodyMdOweERdOFcDfLvM2WCaax5HnsjPSLMYy-XTD01vXM3XkKAJ6K30JxQ4_Wtn1IvN-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GnV2BbMj3JEHIzWuKuw033HBrOIc8peAt8JKrH&s=LfCYZMBuKQ9xsry7dshd5RnGzfVu32X4rzpaddp2PGn7kx1YSHf16Nzh4oXO6VZshsFM-SJ9TTt46-YTAi0h8mRmbdD5mABDdlctHS1iKaY1mLEyD68ycXQh10PW1vXgEpTI33c1NYAGoJIPESTFENYILL-ZANbHYg7iwi1XskzyyZNgbFv9wEZfg7MBSMYOZdnQhT4aPRYF9arOSZ-cjlBHKgBIc98gRShJMVn0ekjwkSWFFF6gph_VYNbUJ-dDBQNTRaXBKQMQuDF7jIxcmkdVVjjO9c7TTuO4GblrimRYLi8NjdZQjA0CmQGtrJlPmHNNFXEBdblLwdUIX3hoIQ&h=CATGB_RBCwCK2PYP4G3EndPqvMYFVnueAFv9UEHbnhM + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:45:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 7c33c8f2-1ef0-49b4-a63d-07635cb41058 + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/c11d8baf-61ac-4080-800a-514e4c0b4886 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 0D0EC93A6D1140F596AF42D18CFABE38 Ref B: SG2AA1070306062 Ref C: 2026-05-13T02:45:44Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --address-prefixes + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack?api-version=2024-07-01 + response: + body: + string: '{"name":"vnet-dualstack","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack","etag":"W/\"d182369d-d650-4ed1-9c3f-d4ccf6502d88\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"9a9ff040-ebfc-4695-8d2b-97c24d13e598","addressSpace":{"addressPrefixes":["10.10.0.0/16","fd00:db8::/48"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' + headers: + cache-control: + - no-cache + content-length: + - '579' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:45:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - a939c3ef-583f-4382-9c12-83db70ad7b5f + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 2AF961E2F1554EB19D70882C7BA32330 Ref B: SG2AA1040520040 Ref C: 2026-05-13T02:45:45Z' + status: + code: 200 + message: OK +- request: + body: '{"name": "VirtualNetworkApplianceSubnet", "properties": {"addressPrefixes": + ["10.10.0.0/24", "fd00:db8::/64"], "defaultOutboundAccess": false, "privateEndpointNetworkPolicies": + "Disabled", "privateLinkServiceNetworkPolicies": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + Content-Length: + - '237' + Content-Type: + - application/json + ParameterSetName: + - -g -n --vnet-name --address-prefixes --default-outbound --query + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack/subnets/VirtualNetworkApplianceSubnet?api-version=2024-07-01 + response: + body: + string: '{"name":"VirtualNetworkApplianceSubnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack/subnets/VirtualNetworkApplianceSubnet","etag":"W/\"d8dfffcc-c705-4584-9f12-6a4d9fe704a8\"","properties":{"provisioningState":"Updating","addressPrefixes":["10.10.0.0/24","fd00:db8::/64"],"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled","defaultOutboundAccess":false},"type":"Microsoft.Network/virtualNetworks/subnets"}' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/940ab423-6dd7-4c36-87cf-a7df7f7b8a5f?api-version=2024-07-01&t=639142371472936303&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDealc9e2xWlYn0dX5zgxycoyRECfCn-ACb8WxKGmsKAA5yFa8bggPwuauZjSPSntq3xw99b6CFXZ6EM34WjxaWokZKYj8bbRT14WzrQHemPN5KUaI3SFtZidaSdEAzhm7Ha1a74SG8rDZU8qVqbaoCPQ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GO-b_htz4Jnb1mW4t9DbAN24QW6wzkSA6OlSU25q657GQ4f38BZWWrHgXmbkkbbAEaG4qgg7qg3u-jn8mrQQ0ydnDCuvFY5NOrVShtsJzJSL0mhntvj9FwA0ovjDlVy3jAjfb342_t1UD_Gl47mkNjZ0O3CC7aW4l28S2Bcb9jTJZmTddEdYUWAgO7e-xxs3M0oFAv3IvnZJdVOgF4B8SWmZjgLM-RkpYE0whUrVgO1_sXq_aMBpFGV_UFdk9Ymz6Grr7MyXskFklFwxKTBoihBULO6Ok_lUC2VF7dzcAHvE1WVO15pbYEqyJtYQs9QsjHJA&h=sccWeHPX4MoWqXIhFg_IeQpn7n8ui16jBefSUrzbqc0 + cache-control: + - no-cache + content-length: + - '574' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:45:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 819aa120-83df-4714-8e76-dfe4cc7ba092 + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/eastus/e57cc118-b63e-41fa-b3dc-0189e6de2c30 + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: BD739E337E8C4AB18099E1571D76BD95 Ref B: SG2AA1070305036 Ref C: 2026-05-13T02:45:46Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --address-prefixes --default-outbound --query + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/940ab423-6dd7-4c36-87cf-a7df7f7b8a5f?api-version=2024-07-01&t=639142371472936303&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDealc9e2xWlYn0dX5zgxycoyRECfCn-ACb8WxKGmsKAA5yFa8bggPwuauZjSPSntq3xw99b6CFXZ6EM34WjxaWokZKYj8bbRT14WzrQHemPN5KUaI3SFtZidaSdEAzhm7Ha1a74SG8rDZU8qVqbaoCPQk9Iblv0LucrVV5BAMOwvi-5j-7X9vehxsheuxPwrVmGy_WrXI_3Qflmizp5BND_I3p4BIRjEcaQw_EBd3dhAC52EO5bT3FKSdM6N5xgpZvtjHjxRG2WG_8Gh07OrI0Ib0mnTB1_HNhiEw3_VzdnINXV0_Fsm7HMV-qCCkY5pyJIZjVX7L7FFY0PGqcqUKdAgMBAAGjggSSMIIEjjCBnQYDVR0gBIGVMIGSMAwGCisGAQQBgjd7AQEwZgYKKwYBBAGCN3sCAjBYMFYGCCsGAQUFBwICMEoeSAAzADMAZQAwADEAOQAyADEALQA0AGQANgA0AC0ANABmADgAYwAtAGEAMAA1ADUALQA1AGIAZABhAGYAZgBkADUAZQAzADMAZDAMBgorBgEEAYI3ewMCMAwGCisGAQQBgjd7BAIwDAYDVR0TAQH_BAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDgYDVR0PAQH_BAQDAgWgMB0GA1UdDgQWBBSZIRQPs2If06iDFyiGbMnvIxenBz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S9jZXJ0LmNlcjBmBggrBgEFBQcwAoZaaHR0cDovL2NjbWVlYXN0dXMycGtpLmVhc3R1czIucGtpLmNvcmUud2luZG93cy5uZXQvY2VydGlmaWNhdGVBdXRob3JpdGllcy9jY21lZWFzdHVzMmljYTAxMA0GCSqGSIb3DQEBCwUAA4IBAQAxSvsyw-aQGPuLg3sIv-zDLSqhHgP__v9DGyP7D16rJpNG1JcjpiXpbloqD9RW5Gc_hHWn5Kyr1pRABJrFa-jEt89-FiQdkToF-vvwJOXbryAgZYdS03uFzUGqARs3JMMqCHrVkx6hb9oOxh_3JdEemO_dbhApyOVTfloO4kIRsgJnHI_ImFt8xm3xa9ftB0ARfJAdN_1EHgB2NdOgTvaSljVOnQY6R40lh_Wl8-s3GIhHbNwQOECXegBxeVAUVN5nGxlD8TEqKc_mX-22kBMao71zBz3JWtCING4-QzwrWj9pxmanpqYqiVGf40ZbZZihRkte0KI9zvW53Y2Smcy7&s=0EdvLNjZLfJobVz-PGGO-b_htz4Jnb1mW4t9DbAN24QW6wzkSA6OlSU25q657GQ4f38BZWWrHgXmbkkbbAEaG4qgg7qg3u-jn8mrQQ0ydnDCuvFY5NOrVShtsJzJSL0mhntvj9FwA0ovjDlVy3jAjfb342_t1UD_Gl47mkNjZ0O3CC7aW4l28S2Bcb9jTJZmTddEdYUWAgO7e-xxs3M0oFAv3IvnZJdVOgF4B8SWmZjgLM-RkpYE0whUrVgO1_sXq_aMBpFGV_UFdk9Ymz6Grr7MyXskFklFwxKTBoihBULO6Ok_lUC2VF7dzcAHvE1WVO15pbYEqyJtYQs9QsjHJA&h=sccWeHPX4MoWqXIhFg_IeQpn7n8ui16jBefSUrzbqc0 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:45:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - c85b9866-dd8e-43f6-bea7-b3f71ff6cb52 + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/88ee7692-22e8-417c-af1e-ce37711c809f + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: A33735626F6E47FEB4C42BE6EEA209C9 Ref B: SG2AA1070301052 Ref C: 2026-05-13T02:45:47Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --address-prefixes --default-outbound --query + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack/subnets/VirtualNetworkApplianceSubnet?api-version=2024-07-01 + response: + body: + string: '{"name":"VirtualNetworkApplianceSubnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack/subnets/VirtualNetworkApplianceSubnet","etag":"W/\"34d7a5bd-7d6d-4b5e-8e10-154abdde4760\"","properties":{"provisioningState":"Succeeded","addressPrefixes":["10.10.0.0/24","fd00:db8::/64"],"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled","defaultOutboundAccess":false},"type":"Microsoft.Network/virtualNetworks/subnets"}' + headers: + cache-control: + - no-cache + content-length: + - '575' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:45:50 GMT + etag: + - W/"34d7a5bd-7d6d-4b5e-8e10-154abdde4760" + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - c5c4c932-0d11-42c0-bce9-fb1c25f71e64 + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/03a6f68f-6b69-46a4-8989-d64e8d6226f6 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 946A6D75E4964B96AE325358B7CE49DC Ref B: SG2AA1040516054 Ref C: 2026-05-13T02:45:49Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_vna_ip_version000001?api-version=2024-11-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001","name":"test_vna_ip_version000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_network_virtual_network_appliance_private_ip_address_version","date":"2026-05-13T02:44:12Z","module":"network"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '422' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:45:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 52D485CCB1174DFDB044F48D647405F8 Ref B: SG2AA1070305040 Ref C: 2026-05-13T02:45:51Z' + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"bandwidthInGbps": 100.0, "privateIPAddressVersion": + "DualStack", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack/subnets/VirtualNetworkApplianceSubnet"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + Content-Length: + - '315' + Content-Type: + - application/json + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack?api-version=2025-07-01 + response: + body: + string: '{"name":"vna-dualstack","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack","etag":"W/\"641f66a4-c1f2-4a0d-813b-e794fbcd633a\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"072d6d62-30d8-4790-aa58-bcbd10d68ffc","bandwidthInGbps":100,"privateIPAddressVersion":"DualStack","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_1_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"641f66a4-c1f2-4a0d-813b-e794fbcd633a\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_2_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"641f66a4-c1f2-4a0d-813b-e794fbcd633a\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_3_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"641f66a4-c1f2-4a0d-813b-e794fbcd633a\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_4_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"641f66a4-c1f2-4a0d-813b-e794fbcd633a\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_5_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"641f66a4-c1f2-4a0d-813b-e794fbcd633a\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_1_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_1_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"641f66a4-c1f2-4a0d-813b-e794fbcd633a\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_v6_2_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_2_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"641f66a4-c1f2-4a0d-813b-e794fbcd633a\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_3_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_3_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"641f66a4-c1f2-4a0d-813b-e794fbcd633a\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_4_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_4_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"641f66a4-c1f2-4a0d-813b-e794fbcd633a\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_5_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_5_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"641f66a4-c1f2-4a0d-813b-e794fbcd633a\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b728d67c-8df6-498a-8564-9fd24adfdf65?api-version=2025-07-01&t=639142371533606602&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2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Wn5Kyr1pRABJrFa-jEt89-FiQdkToF-vvwJOXbryAgZYdS03uFzUGqARs3JMMqCHrVkx6hb9oOxh_3JdEemO_dbhApyOVTfloO4kIRsgJnHI_ImFt8xm3xa9ftB0ARfJAdN_1EHgB2NdOgTvaSljVOnQY6R40lh_Wl8-s3GIhHbNwQOECXegBxeVAUVN5nGxlD8TEqKc_mX-22kBMao71zBz3JWtCING4-QzwrWj9pxmanpqYqiVGf40ZbZZihRkte0KI9zvW53Y2Smcy7&s=heGNWrN5EW33GYLiKm4Avadv5EcUAiIKCJqMGIieaV-4B3eBZolopGA5SG4I-hFudedeVXkCmHQ1QhKgMOKfZ3knO-ObE8OKiY8p_yInoiAOqSVE5zSpfAwV4eFtr-oSYulZwZrc0Fckn6yZ4Yz1GhJP0xr1-fkaNCqRCeKAzbUFQqrCtYWSG0IgM29RZn5sWacSAYlH86nwWYA3JpxFo21dj7cRbevfKPgBg6Rp-lDwd-LTzMOQOygByXSvPFA96K1mbObilRfWCiVdNk-HfA0dyyF-pNPEkoPdqQOeNFBNfMqft680sCJCG_cja318dCeT4Qx9yXXXAJMF_1QyMg&h=4sfvr8cfs9podKRNZr2dysZhNi4c2SRQjUKKmkfI1F8 + cache-control: + - no-cache + content-length: + - '6182' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:45:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 20587352-da71-4581-8b01-fc87c46bf80c + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/eastus/885decaf-67f4-4eaa-ad87-71583dbd5349 + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: D828B80BCE554F5EBD22CF9852AE7CAF Ref B: SG2AA1070306040 Ref C: 2026-05-13T02:45:52Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b728d67c-8df6-498a-8564-9fd24adfdf65?api-version=2025-07-01&t=639142371533606602&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDealc9e2xWlYn0dX5zgxycoyRECfCn-ACb8WxKGmsKAA5yFa8bggPwuauZjSPSntq3xw99b6CFXZ6EM34WjxaWokZKYj8bbRT14WzrQHemPN5KUaI3SFtZidaSdEAzhm7Ha1a74SG8rDZU8qVqbaoCPQk9Iblv0LucrVV5BAMOwvi-5j-7X9vehxsheuxPwrVmGy_WrXI_3Qflmizp5BND_I3p4BIRjEcaQw_EBd3dhAC52EO5bT3FKSdM6N5xgpZvtjHjxRG2WG_8Gh07OrI0Ib0mnTB1_HNhiEw3_VzdnINXV0_Fsm7HMV-qCCkY5pyJIZjVX7L7FFY0PGqcqUKdAgMBAAGjggSSMIIEjjCBnQYDVR0gBIGVMIGSMAwGCisGAQQBgjd7AQEwZgYKKwYBBAGC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pNPEkoPdqQOeNFBNfMqft680sCJCG_cja318dCeT4Qx9yXXXAJMF_1QyMg&h=4sfvr8cfs9podKRNZr2dysZhNi4c2SRQjUKKmkfI1F8 + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:45:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 9425f87c-a112-4812-aa60-802e4c905ddd + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/d0946850-78f2-487b-8e2e-671a0398110f + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: BE9F91E61F7E4B4DBE07B540427AF3AB Ref B: SG2AA1070303023 Ref C: 2026-05-13T02:45:54Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b728d67c-8df6-498a-8564-9fd24adfdf65?api-version=2025-07-01&t=639142371533606602&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM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vwJOXbryAgZYdS03uFzUGqARs3JMMqCHrVkx6hb9oOxh_3JdEemO_dbhApyOVTfloO4kIRsgJnHI_ImFt8xm3xa9ftB0ARfJAdN_1EHgB2NdOgTvaSljVOnQY6R40lh_Wl8-s3GIhHbNwQOECXegBxeVAUVN5nGxlD8TEqKc_mX-22kBMao71zBz3JWtCING4-QzwrWj9pxmanpqYqiVGf40ZbZZihRkte0KI9zvW53Y2Smcy7&s=heGNWrN5EW33GYLiKm4Avadv5EcUAiIKCJqMGIieaV-4B3eBZolopGA5SG4I-hFudedeVXkCmHQ1QhKgMOKfZ3knO-ObE8OKiY8p_yInoiAOqSVE5zSpfAwV4eFtr-oSYulZwZrc0Fckn6yZ4Yz1GhJP0xr1-fkaNCqRCeKAzbUFQqrCtYWSG0IgM29RZn5sWacSAYlH86nwWYA3JpxFo21dj7cRbevfKPgBg6Rp-lDwd-LTzMOQOygByXSvPFA96K1mbObilRfWCiVdNk-HfA0dyyF-pNPEkoPdqQOeNFBNfMqft680sCJCG_cja318dCeT4Qx9yXXXAJMF_1QyMg&h=4sfvr8cfs9podKRNZr2dysZhNi4c2SRQjUKKmkfI1F8 + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:46:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 45d051be-7404-4d68-8adf-f102140a6b7d + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/327691b6-4bf7-4e04-8f62-fe774ddde1de + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 7DEEE07FE3034BA7BA93D6CB013EBD5C Ref B: SG2AA1040513042 Ref C: 2026-05-13T02:46:05Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b728d67c-8df6-498a-8564-9fd24adfdf65?api-version=2025-07-01&t=639142371533606602&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDealc9e2xWlYn0dX5zgxycoyRECfCn-ACb8WxKGmsKAA5yFa8bggPwuauZjSPSntq3xw99b6CFXZ6EM34WjxaWokZKYj8bbRT14WzrQHemPN5KUaI3SFtZidaSdEAzhm7Ha1a74SG8rDZU8qVqbaoCPQk9Iblv0LucrVV5BAMOwvi-5j-7X9vehxsheuxPwrVmGy_WrXI_3Qflmizp5BND_I3p4BIRjEcaQw_EBd3dhAC52EO5bT3FKSdM6N5xgpZvtjHjxRG2WG_8Gh07OrI0Ib0mnTB1_HNhiEw3_VzdnINXV0_Fsm7HMV-qCCkY5pyJIZjVX7L7FFY0PGqcqUKdAgMBAAGjggSSMIIEjjCBnQYDVR0gBIGVMIGSMAwGCisGAQQBgjd7AQEwZgYKKwYBBAGCN3sCAjBYMFYGCCsGAQUFBwICMEoe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cja318dCeT4Qx9yXXXAJMF_1QyMg&h=4sfvr8cfs9podKRNZr2dysZhNi4c2SRQjUKKmkfI1F8 + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:46:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 753e6d13-0c4c-421c-9dbd-743d98d5bcce + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/edb35604-5d7d-43e7-9941-aa221ee672c8 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 042F0C87BF1F48F78AB875281D3A4D8C Ref B: SG2AA1070304034 Ref C: 2026-05-13T02:46:26Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b728d67c-8df6-498a-8564-9fd24adfdf65?api-version=2025-07-01&t=639142371533606602&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaW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3JMMqCHrVkx6hb9oOxh_3JdEemO_dbhApyOVTfloO4kIRsgJnHI_ImFt8xm3xa9ftB0ARfJAdN_1EHgB2NdOgTvaSljVOnQY6R40lh_Wl8-s3GIhHbNwQOECXegBxeVAUVN5nGxlD8TEqKc_mX-22kBMao71zBz3JWtCING4-QzwrWj9pxmanpqYqiVGf40ZbZZihRkte0KI9zvW53Y2Smcy7&s=heGNWrN5EW33GYLiKm4Avadv5EcUAiIKCJqMGIieaV-4B3eBZolopGA5SG4I-hFudedeVXkCmHQ1QhKgMOKfZ3knO-ObE8OKiY8p_yInoiAOqSVE5zSpfAwV4eFtr-oSYulZwZrc0Fckn6yZ4Yz1GhJP0xr1-fkaNCqRCeKAzbUFQqrCtYWSG0IgM29RZn5sWacSAYlH86nwWYA3JpxFo21dj7cRbevfKPgBg6Rp-lDwd-LTzMOQOygByXSvPFA96K1mbObilRfWCiVdNk-HfA0dyyF-pNPEkoPdqQOeNFBNfMqft680sCJCG_cja318dCeT4Qx9yXXXAJMF_1QyMg&h=4sfvr8cfs9podKRNZr2dysZhNi4c2SRQjUKKmkfI1F8 + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:46:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - c53b8727-f24a-4e16-b82c-bba417742813 + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/48b90bb3-b352-4b4c-81c0-acac3a0c2658 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 7A07575FE55E48CB9B8791826F9A2974 Ref B: SG2AA1040513023 Ref C: 2026-05-13T02:46:47Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b728d67c-8df6-498a-8564-9fd24adfdf65?api-version=2025-07-01&t=639142371533606602&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDealc9e2xWlYn0dX5zgxycoyRECfCn-ACb8WxKGmsKAA5yFa8bggPwuauZjSPSntq3xw99b6CFXZ6EM34WjxaWokZKYj8bbRT14WzrQHemPN5KUaI3SFtZidaSdEAzhm7Ha1a74SG8rDZU8qVqbaoCPQk9Iblv0LucrVV5BAMOwvi-5j-7X9vehxsheuxPwrVmGy_WrXI_3Qflmizp5BND_I3p4BIRjEcaQw_EBd3dhAC52EO5bT3FKSdM6N5xgpZvtjHjxRG2WG_8Gh07OrI0Ib0mnTB1_HNhiEw3_VzdnINXV0_Fsm7HMV-qCCkY5pyJIZjVX7L7FFY0PGqcqUKdAgMBAAGjggSSMIIEjjCBnQYDVR0gBIGVMIGSMAwGCisGAQQBgjd7AQEwZgYKKwYBBAGCN3sCAjBYMFYGCCsGAQUFBwICMEoeSAAzADMAZQAwADEAOQAyADEALQA0A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g&h=4sfvr8cfs9podKRNZr2dysZhNi4c2SRQjUKKmkfI1F8 + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:47:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - f62e546e-077f-49a0-b297-a8585f35a0c0 + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/bd38d8f8-9a18-4037-9824-efb586a9d9a8 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 256FAD138E2840B6B8F815805120D2A8 Ref B: SG2AA1070303023 Ref C: 2026-05-13T02:47:29Z' + status: + code: 200 + message: '' +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b728d67c-8df6-498a-8564-9fd24adfdf65?api-version=2025-07-01&t=639142371533606602&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdl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dbhApyOVTfloO4kIRsgJnHI_ImFt8xm3xa9ftB0ARfJAdN_1EHgB2NdOgTvaSljVOnQY6R40lh_Wl8-s3GIhHbNwQOECXegBxeVAUVN5nGxlD8TEqKc_mX-22kBMao71zBz3JWtCING4-QzwrWj9pxmanpqYqiVGf40ZbZZihRkte0KI9zvW53Y2Smcy7&s=heGNWrN5EW33GYLiKm4Avadv5EcUAiIKCJqMGIieaV-4B3eBZolopGA5SG4I-hFudedeVXkCmHQ1QhKgMOKfZ3knO-ObE8OKiY8p_yInoiAOqSVE5zSpfAwV4eFtr-oSYulZwZrc0Fckn6yZ4Yz1GhJP0xr1-fkaNCqRCeKAzbUFQqrCtYWSG0IgM29RZn5sWacSAYlH86nwWYA3JpxFo21dj7cRbevfKPgBg6Rp-lDwd-LTzMOQOygByXSvPFA96K1mbObilRfWCiVdNk-HfA0dyyF-pNPEkoPdqQOeNFBNfMqft680sCJCG_cja318dCeT4Qx9yXXXAJMF_1QyMg&h=4sfvr8cfs9podKRNZr2dysZhNi4c2SRQjUKKmkfI1F8 + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:48:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 3bcdf4e1-ef8c-4cf9-98e4-f5e23ea24832 + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/a9ec79e0-dede-49eb-88b5-064fe09ff731 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: DC7D14FA9C364CB1ADC3C7E858ECC965 Ref B: SG2AA1040513025 Ref C: 2026-05-13T02:48:10Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b728d67c-8df6-498a-8564-9fd24adfdf65?api-version=2025-07-01&t=639142371533606602&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDealc9e2xWlYn0dX5zgxycoyRECfCn-ACb8WxKGmsKAA5yFa8bggPwuauZjSPSntq3xw99b6CFXZ6EM34WjxaWokZKYj8bbRT14WzrQHemPN5KUaI3SFtZidaSdEAzhm7Ha1a74SG8rDZU8qVqbaoCPQk9Iblv0LucrVV5BAMOwvi-5j-7X9vehxsheuxPwrVmGy_WrXI_3Qflmizp5BND_I3p4BIRjEcaQw_EBd3dhAC52EO5bT3FKSdM6N5xgpZvtjHjxRG2WG_8Gh07OrI0Ib0mnTB1_HNhiEw3_VzdnINXV0_Fsm7HMV-qCCkY5pyJIZjVX7L7FFY0PGqcqUKdAgMBAAGjggSSMIIEjjCBnQYDVR0gBIGVMIGSMAwGCisGAQQBgjd7AQEwZgYKKwYBBAGCN3sCAjBYMFYGCCsGAQUFBwICMEoeSAAzADMAZQAwADEAOQAyADEALQA0AGQANgA0AC0ANABmADgA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RNZr2dysZhNi4c2SRQjUKKmkfI1F8 + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:49:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 059c8845-33fe-4d0e-be89-ddffc9103c5c + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/0da9525d-3627-4bbd-94b3-c70fca46886b + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: D5CE2347062E4608A53D369DBC41B7BD Ref B: SG2AA1070306062 Ref C: 2026-05-13T02:49:31Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b728d67c-8df6-498a-8564-9fd24adfdf65?api-version=2025-07-01&t=639142371533606602&c=MIIHlDCCBnygAwIBAgIQZiYkoV_LM7Hwt06_u_DzJDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQxMDA4MTUzOVoXDTI2MTAwNTE0MTUzOVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggE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nHI_ImFt8xm3xa9ftB0ARfJAdN_1EHgB2NdOgTvaSljVOnQY6R40lh_Wl8-s3GIhHbNwQOECXegBxeVAUVN5nGxlD8TEqKc_mX-22kBMao71zBz3JWtCING4-QzwrWj9pxmanpqYqiVGf40ZbZZihRkte0KI9zvW53Y2Smcy7&s=heGNWrN5EW33GYLiKm4Avadv5EcUAiIKCJqMGIieaV-4B3eBZolopGA5SG4I-hFudedeVXkCmHQ1QhKgMOKfZ3knO-ObE8OKiY8p_yInoiAOqSVE5zSpfAwV4eFtr-oSYulZwZrc0Fckn6yZ4Yz1GhJP0xr1-fkaNCqRCeKAzbUFQqrCtYWSG0IgM29RZn5sWacSAYlH86nwWYA3JpxFo21dj7cRbevfKPgBg6Rp-lDwd-LTzMOQOygByXSvPFA96K1mbObilRfWCiVdNk-HfA0dyyF-pNPEkoPdqQOeNFBNfMqft680sCJCG_cja318dCeT4Qx9yXXXAJMF_1QyMg&h=4sfvr8cfs9podKRNZr2dysZhNi4c2SRQjUKKmkfI1F8 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:52:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - bfefc264-0259-419b-9eda-05030cfebe6b + x-ms-operation-identifier: + - tenantId=544a7a2e-697f-487c-b2b0-a13df7f346b6,objectId=73deb370-6e80-42b7-bab4-943c887d3e3c/southeastasia/74126608-834d-4363-b070-d2439931ab63 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: D8217A3A41454437A14159D6D7E6EAF8 Ref B: SG2AA1040517040 Ref C: 2026-05-13T02:52:13Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance create + Connection: + - keep-alive + ParameterSetName: + - -g -n --bandwidth-in-gbps --subnet --private-ip-address-version + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack?api-version=2025-07-01 + response: + body: + string: '{"name":"vna-dualstack","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"072d6d62-30d8-4790-aa58-bcbd10d68ffc","bandwidthInGbps":100,"privateIPAddressVersion":"DualStack","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_1_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_2_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_3_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_4_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_5_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_1_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_1_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_v6_2_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_2_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_3_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_3_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_4_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_4_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_5_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_5_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}' + headers: + cache-control: + - no-cache + content-length: + - '6183' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:52:14 GMT + etag: + - W/"5251e092-3e57-45e5-a378-4b81d87fc455" + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 2f73e077-f635-4f30-bf65-cc348495a282 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: C6C09622806D45409A97B4EE6C0FF81E Ref B: SG2AA1040517042 Ref C: 2026-05-13T02:52:14Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack?api-version=2025-07-01 + response: + body: + string: '{"name":"vna-dualstack","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"072d6d62-30d8-4790-aa58-bcbd10d68ffc","bandwidthInGbps":100,"privateIPAddressVersion":"DualStack","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_1_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_2_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_3_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_4_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_5_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_1_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_1_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_v6_2_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_2_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_3_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_3_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_4_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_4_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_5_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_5_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}' + headers: + cache-control: + - no-cache + content-length: + - '6183' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:52:15 GMT + etag: + - W/"5251e092-3e57-45e5-a378-4b81d87fc455" + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 55029556-1793-48c2-8b9a-2df50b0b15c4 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 0B090344CF974CDD9C80EB33A8B06FFE Ref B: SG2AA1070304029 Ref C: 2026-05-13T02:52:16Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network virtual-network-appliance list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances?api-version=2025-07-01 + response: + body: + string: '{"value":[{"name":"vna-dualstack","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"072d6d62-30d8-4790-aa58-bcbd10d68ffc","bandwidthInGbps":100,"privateIPAddressVersion":"DualStack","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_1_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_2_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_3_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_4_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_5_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_1_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_1_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_v6_2_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_2_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_3_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_3_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_4_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_4_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_v6_5_a2218a9a-309b-4c1c-b480-551bb4628f41","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-dualstack/ipConfigurations/ipconfig_v6_5_a2218a9a-309b-4c1c-b480-551bb4628f41","etag":"W/\"5251e092-3e57-45e5-a378-4b81d87fc455\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"fd00:db8::8","privateIPAllocationMethod":"Dynamic","primary":false}}]}},{"name":"vna-ipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"e8d34018-b198-45f1-ae79-0b7a06341289","bandwidthInGbps":50,"privateIPAddressVersion":"IPv4","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4/subnets/VirtualNetworkApplianceSubnet"},"ipConfigurations":[{"name":"ipconfig_1_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_1_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.4","privateIPAllocationMethod":"Dynamic","primary":true}},{"name":"ipconfig_2_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_2_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.5","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_3_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_3_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.6","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_4_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_4_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.7","privateIPAllocationMethod":"Dynamic","primary":false}},{"name":"ipconfig_5_df86b230-6eb5-4410-bd63-156e43798a43","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworkAppliances/vna-ipv4/ipConfigurations/ipconfig_5_df86b230-6eb5-4410-bd63-156e43798a43","etag":"W/\"155d0f96-00d4-431a-88bf-a73f987ddb7e\"","type":"Microsoft.Network/virtualNetworkAppliances/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.10.0.8","privateIPAllocationMethod":"Dynamic","primary":false}}]}}]}' + headers: + cache-control: + - no-cache + content-length: + - '9574' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2026 02:52:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 1f756a51-a64e-4c3f-9e9d-3def021e2bf7 + x-ms-original-request-ids: + - 2a3c1349-7fde-47bc-81e4-4550d2ffafa5 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 224FF9BFF043471EB5DE89BAEB398F09 Ref B: SG2AA1070306042 Ref C: 2026-05-13T02:52:17Z' + status: + code: 200 + message: OK version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py index a159213023f..2ecd189bf55 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py @@ -9386,11 +9386,12 @@ def test_network_virtual_network_appliance_private_ip_address_version(self, reso self.check('bandwidthInGbps', 50), ]) - # create vnet/subnet for DualStack vna - self.cmd('network vnet create -g {rg} -n {vnet2} --address-prefixes {vnet_address}') + # create vnet/subnet for DualStack vna (need both IPv4 and IPv6 address spaces) + self.cmd('network vnet create -g {rg} -n {vnet2} --address-prefixes {vnet_address} fd00:db8::/48') self.kwargs['subnet2_id'] = self.cmd( 'network vnet subnet create -g {rg} -n {subnet} --vnet-name {vnet2} ' - '--address-prefix {subnet_address} --default-outbound false --query id' + '--address-prefixes {subnet_address} fd00:db8::/64 ' + '--default-outbound false --query id' ).get_output_in_json() # create vna with --private-ip-address-version DualStack From 05527b96312524844f4e1e58757c04095b8d491d Mon Sep 17 00:00:00 2001 From: Jian Hui Date: Wed, 13 May 2026 11:57:48 +0800 Subject: [PATCH 4/4] test: update test case --- ...tual_network_appliance_private_ip_address_version.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance_private_ip_address_version.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance_private_ip_address_version.yaml index 16de02951b1..272f4dd99dd 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance_private_ip_address_version.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_network_appliance_private_ip_address_version.yaml @@ -66,7 +66,7 @@ interactions: User-Agent: - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4?api-version=2024-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4?api-version=2025-07-01 response: body: string: '{"name":"vnet-ipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4","etag":"W/\"e0d59297-5193-471c-be0a-144c607d90a1\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"9d0d8d00-7880-40cc-a6a0-bc2cef67f2df","addressSpace":{"addressPrefixes":["10.10.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' @@ -222,7 +222,7 @@ interactions: User-Agent: - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4?api-version=2024-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4?api-version=2025-07-01 response: body: string: '{"name":"vnet-ipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-ipv4","etag":"W/\"8f26e4ce-3ac3-4711-b566-9db4ae9e512e\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"9d0d8d00-7880-40cc-a6a0-bc2cef67f2df","addressSpace":{"addressPrefixes":["10.10.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' @@ -893,7 +893,7 @@ interactions: User-Agent: - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack?api-version=2024-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack?api-version=2025-07-01 response: body: string: '{"name":"vnet-dualstack","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack","etag":"W/\"51979ddf-02dd-40ca-8107-0a0938fe8389\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"9a9ff040-ebfc-4695-8d2b-97c24d13e598","addressSpace":{"addressPrefixes":["10.10.0.0/16","fd00:db8::/48"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' @@ -999,7 +999,7 @@ interactions: User-Agent: - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack?api-version=2024-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack?api-version=2025-07-01 response: body: string: '{"name":"vnet-dualstack","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vna_ip_version000001/providers/Microsoft.Network/virtualNetworks/vnet-dualstack","etag":"W/\"d182369d-d650-4ed1-9c3f-d4ccf6502d88\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"9a9ff040-ebfc-4695-8d2b-97c24d13e598","addressSpace":{"addressPrefixes":["10.10.0.0/16","fd00:db8::/48"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}'