Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fQ==/2018-11-01.xml (3,760 lines of code) (raw):

<?xml version='1.0' encoding='utf-8'?> <CodeGen plane="mgmt-plane"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}" version="2018-11-01" swagger="mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya3Mve3ZpcnR1YWxOZXR3b3JrTmFtZX0=/V/MjAxOC0xMS0wMQ=="/> <commandGroup name="network vnet"> <command name="show" version="2018-11-01"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}" version="2018-11-01" swagger="mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya3Mve3ZpcnR1YWxOZXR3b3JrTmFtZX0=/V/MjAxOC0xMS0wMQ=="/> <argGroup name=""> <arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/> <arg type="string" var="$Path.virtualNetworkName" options="name n" required="True" idPart="name"> <help short="The virtual network (VNet) name."/> </arg> <arg type="string" var="$Query.expand" options="expand"> <help short="Expands referenced resources. Default value is None."/> </arg> </argGroup> <operation operationId="VirtualNetworks_Get"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}"> <request method="get"> <path> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/> <param type="string" name="virtualNetworkName" arg="$Path.virtualNetworkName" required="True"/> </path> <query> <param type="string" name="$expand" arg="$Query.expand"/> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2018-11-01&quot;"/> </const> </query> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="addressSpace" cls="AddressSpace_read"> <prop type="array<string>" name="addressPrefixes"> <item type="string"/> </prop> </prop> <prop type="object" name="ddosProtectionPlan"> <prop type="string" name="id"/> </prop> <prop type="object" name="dhcpOptions"> <prop type="array<string>" name="dnsServers"> <item type="string"/> </prop> </prop> <prop type="boolean" name="enableDdosProtection"> <default value="false"/> </prop> <prop type="boolean" name="enableVmProtection"> <default value="false"/> </prop> <prop type="string" name="provisioningState"/> <prop type="string" name="resourceGuid"/> <prop type="array<object>" name="subnets"> <item type="object" cls="Subnet_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/subnets/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="addressPrefix"/> <prop type="array<string>" name="addressPrefixes"> <item type="string"/> </prop> <prop type="array<object>" name="delegations"> <item type="object"> <prop type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<string>" name="actions"> <item type="string"/> </prop> <prop readOnly="True" type="string" name="provisioningState"/> <prop type="string" name="serviceName"/> </prop> </item> </prop> <prop readOnly="True" type="array<@InterfaceEndpoint_read>" name="interfaceEndpoints"> <item type="@InterfaceEndpoint_read"/> </prop> <prop readOnly="True" type="array<object>" name="ipConfigurationProfiles"> <item type="object"> <prop type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="string" name="provisioningState"/> <prop type="@Subnet_read" name="subnet"/> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> <prop readOnly="True" type="array<@IPConfiguration_read>" name="ipConfigurations"> <item type="@IPConfiguration_read"/> </prop> <prop type="object" name="networkSecurityGroup" cls="NetworkSecurityGroup_read"> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkSecurityGroups/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<@SecurityRule_read>" name="defaultSecurityRules"> <item type="@SecurityRule_read"/> </prop> <prop readOnly="True" type="array<object>" name="networkInterfaces"> <item type="object" cls="NetworkInterface_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkInterfaces/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="dnsSettings"> <prop type="array<string>" name="appliedDnsServers"> <item type="string"/> </prop> <prop type="array<string>" name="dnsServers"> <item type="string"/> </prop> <prop type="string" name="internalDnsNameLabel"/> <prop type="string" name="internalDomainNameSuffix"/> <prop type="string" name="internalFqdn"/> </prop> <prop type="boolean" name="enableAcceleratedNetworking"/> <prop type="boolean" name="enableIPForwarding"/> <prop readOnly="True" type="array<string>" name="hostedWorkloads"> <item type="string"/> </prop> <prop type="object" name="interfaceEndpoint" cls="InterfaceEndpoint_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/interfaceEndpoints/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="endpointService"> <prop type="string" name="id"/> </prop> <prop type="string" name="fqdn"/> <prop readOnly="True" type="array<@NetworkInterface_read>" name="networkInterfaces"> <item type="@NetworkInterface_read"/> </prop> <prop readOnly="True" type="string" name="owner"/> <prop readOnly="True" type="string" name="provisioningState"/> <prop type="@Subnet_read" name="subnet"/> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </prop> <prop type="array<object>" name="ipConfigurations"> <item type="object" cls="NetworkInterfaceIPConfiguration_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkInterfaces/{}/ipConfigurations/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<object>" name="applicationGatewayBackendAddressPools"> <item type="object"> <prop type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<object>" name="backendAddresses"> <item type="object"> <prop type="string" name="fqdn"/> <prop type="string" name="ipAddress"/> </item> </prop> <prop type="array<@NetworkInterfaceIPConfiguration_read>" name="backendIPConfigurations"> <item type="@NetworkInterfaceIPConfiguration_read"/> </prop> <prop type="string" name="provisioningState"/> </prop> <prop type="string" name="type"/> </item> </prop> <prop type="array<@ApplicationSecurityGroup_read>" name="applicationSecurityGroups"> <item type="@ApplicationSecurityGroup_read"/> </prop> <prop type="array<object>" name="loadBalancerBackendAddressPools"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/loadBalancers/{}/backendAddressPools/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="array<@NetworkInterfaceIPConfiguration_read>" name="backendIPConfigurations"> <item type="@NetworkInterfaceIPConfiguration_read"/> </prop> <prop readOnly="True" type="array<@SubResource_read>" name="loadBalancingRules"> <item type="@SubResource_read"/> </prop> <prop readOnly="True" type="@SubResource_read" name="outboundRule"/> <prop readOnly="True" type="array<@SubResource_read>" name="outboundRules"> <item type="@SubResource_read"/> </prop> <prop type="string" name="provisioningState"/> </prop> </item> </prop> <prop type="array<object>" name="loadBalancerInboundNatRules"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/loadBalancers/{}/inboundNatRules/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="@NetworkInterfaceIPConfiguration_read" name="backendIPConfiguration"/> <prop type="integer32" name="backendPort"/> <prop type="boolean" name="enableFloatingIP"/> <prop type="boolean" name="enableTcpReset"/> <prop type="@SubResource_read" name="frontendIPConfiguration"/> <prop type="integer32" name="frontendPort"/> <prop type="integer32" name="idleTimeoutInMinutes"/> <prop type="string" name="protocol"> <enum> <item value="&quot;All&quot;"/> <item value="&quot;Tcp&quot;"/> <item value="&quot;Udp&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> </prop> </item> </prop> <prop type="boolean" name="primary"/> <prop type="string" name="privateIPAddress"/> <prop type="string" name="privateIPAddressVersion"> <enum> <item value="&quot;IPv4&quot;"/> <item value="&quot;IPv6&quot;"/> </enum> </prop> <prop type="string" name="privateIPAllocationMethod"> <enum> <item value="&quot;Dynamic&quot;"/> <item value="&quot;Static&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> <prop type="@PublicIPAddress_read" name="publicIPAddress"/> <prop type="@Subnet_read" name="subnet"/> <prop type="array<object>" name="virtualNetworkTaps"> <item type="object" cls="VirtualNetworkTap_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkTaps/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="destinationLoadBalancerFrontEndIPConfiguration"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/loadBalancers/{}/frontendIPConfigurations/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="array<@SubResource_read>" name="inboundNatPools"> <item type="@SubResource_read"/> </prop> <prop readOnly="True" type="array<@SubResource_read>" name="inboundNatRules"> <item type="@SubResource_read"/> </prop> <prop readOnly="True" type="array<@SubResource_read>" name="loadBalancingRules"> <item type="@SubResource_read"/> </prop> <prop readOnly="True" type="array<@SubResource_read>" name="outboundRules"> <item type="@SubResource_read"/> </prop> <prop type="string" name="privateIPAddress"/> <prop type="string" name="privateIPAllocationMethod"> <enum> <item value="&quot;Dynamic&quot;"/> <item value="&quot;Static&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> <prop type="object" name="publicIPAddress" cls="PublicIPAddress_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/publicIPAddresses/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="ddosSettings"> <prop type="@SubResource_read" name="ddosCustomPolicy"/> <prop type="string" name="protectionCoverage"> <enum> <item value="&quot;Basic&quot;"/> <item value="&quot;Standard&quot;"/> </enum> </prop> </prop> <prop type="object" name="dnsSettings"> <prop type="string" name="domainNameLabel"/> <prop type="string" name="fqdn"/> <prop type="string" name="reverseFqdn"/> </prop> <prop type="integer32" name="idleTimeoutInMinutes"/> <prop type="string" name="ipAddress"/> <prop type="object" name="ipConfiguration" cls="IPConfiguration_read"> <prop type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="privateIPAddress"/> <prop type="string" name="privateIPAllocationMethod"> <enum> <item value="&quot;Dynamic&quot;"/> <item value="&quot;Static&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> <prop type="@PublicIPAddress_read" name="publicIPAddress"/> <prop type="@Subnet_read" name="subnet"/> </prop> </prop> <prop type="array<object>" name="ipTags"> <item type="object"> <prop type="string" name="ipTagType"/> <prop type="string" name="tag"/> </item> </prop> <prop type="string" name="provisioningState"/> <prop type="string" name="publicIPAddressVersion"> <enum> <item value="&quot;IPv4&quot;"/> <item value="&quot;IPv6&quot;"/> </enum> </prop> <prop type="string" name="publicIPAllocationMethod"> <enum> <item value="&quot;Dynamic&quot;"/> <item value="&quot;Static&quot;"/> </enum> </prop> <prop type="@SubResource_read" name="publicIPPrefix"/> <prop type="string" name="resourceGuid"/> </prop> <prop type="object" name="sku"> <prop type="string" name="name"> <enum> <item value="&quot;Basic&quot;"/> <item value="&quot;Standard&quot;"/> </enum> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> <prop type="array<string>" name="zones"> <item type="string"/> </prop> </prop> <prop type="@SubResource_read" name="publicIPPrefix"/> <prop type="@Subnet_read" name="subnet"/> </prop> <prop type="array<string>" name="zones"> <item type="string"/> </prop> </prop> <prop type="@NetworkInterfaceIPConfiguration_read" name="destinationNetworkInterfaceIPConfiguration"/> <prop type="integer" name="destinationPort"/> <prop readOnly="True" type="array<object>" name="networkInterfaceTapConfigurations"> <item type="object" cls="NetworkInterfaceTapConfiguration_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkInterfaces/{}/tapConfigurations/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="string" name="provisioningState"/> <prop type="@VirtualNetworkTap_read" name="virtualNetworkTap"/> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> <prop readOnly="True" type="string" name="provisioningState"/> <prop readOnly="True" type="string" name="resourceGuid"/> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> </prop> </item> </prop> <prop type="string" name="macAddress"/> <prop type="@NetworkSecurityGroup_read" name="networkSecurityGroup"/> <prop type="boolean" name="primary"/> <prop type="string" name="provisioningState"/> <prop type="string" name="resourceGuid"/> <prop type="array<@NetworkInterfaceTapConfiguration_read>" name="tapConfigurations"> <item type="@NetworkInterfaceTapConfiguration_read"/> </prop> <prop type="object" name="virtualMachine" cls="SubResource_read"> <prop type="string" name="id"/> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> <prop type="string" name="provisioningState"/> <prop type="string" name="resourceGuid"/> <prop type="array<object>" name="securityRules"> <item type="object" cls="SecurityRule_read"> <prop type="ResourceId" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="access" required="True"> <enum> <item value="&quot;Allow&quot;"/> <item value="&quot;Deny&quot;"/> </enum> </prop> <prop type="string" name="description"/> <prop type="string" name="destinationAddressPrefix"/> <prop type="array<string>" name="destinationAddressPrefixes"> <item type="string"/> </prop> <prop type="array<@ApplicationSecurityGroup_read>" name="destinationApplicationSecurityGroups"> <item type="@ApplicationSecurityGroup_read"/> </prop> <prop type="string" name="destinationPortRange"/> <prop type="array<string>" name="destinationPortRanges"> <item type="string"/> </prop> <prop type="string" name="direction" required="True"> <enum> <item value="&quot;Inbound&quot;"/> <item value="&quot;Outbound&quot;"/> </enum> </prop> <prop type="integer32" name="priority"/> <prop type="string" name="protocol" required="True"> <enum> <item value="&quot;*&quot;"/> <item value="&quot;Tcp&quot;"/> <item value="&quot;Udp&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> <prop type="string" name="sourceAddressPrefix"/> <prop type="array<string>" name="sourceAddressPrefixes"> <item type="string"/> </prop> <prop type="array<object>" name="sourceApplicationSecurityGroups"> <item type="object" cls="ApplicationSecurityGroup_read"> <prop readOnly="True" type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/applicationSecurityGroups/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="string" name="provisioningState"/> <prop readOnly="True" type="string" name="resourceGuid"/> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> <prop type="string" name="sourcePortRange"/> <prop type="array<string>" name="sourcePortRanges"> <item type="string"/> </prop> </prop> </item> </prop> <prop readOnly="True" type="array<@Subnet_read>" name="subnets"> <item type="@Subnet_read"/> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </prop> <prop type="string" name="provisioningState"/> <prop readOnly="True" type="string" name="purpose"/> <prop type="array<object>" name="resourceNavigationLinks"> <item type="object"> <prop readOnly="True" type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="link"/> <prop type="string" name="linkedResourceType"/> <prop readOnly="True" type="string" name="provisioningState"/> </prop> </item> </prop> <prop type="object" name="routeTable"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="boolean" name="disableBgpRoutePropagation"/> <prop type="string" name="provisioningState"/> <prop type="array<object>" name="routes"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}/routes/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="addressPrefix"/> <prop type="string" name="nextHopIpAddress"/> <prop type="string" name="nextHopType" required="True"> <enum> <item value="&quot;Internet&quot;"/> <item value="&quot;None&quot;"/> <item value="&quot;VirtualAppliance&quot;"/> <item value="&quot;VirtualNetworkGateway&quot;"/> <item value="&quot;VnetLocal&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> </prop> </item> </prop> <prop readOnly="True" type="array<@Subnet_read>" name="subnets"> <item type="@Subnet_read"/> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </prop> <prop type="array<object>" name="serviceAssociationLinks"> <item type="object"> <prop readOnly="True" type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="link"/> <prop type="string" name="linkedResourceType"/> <prop readOnly="True" type="string" name="provisioningState"/> </prop> </item> </prop> <prop type="array<object>" name="serviceEndpointPolicies"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/serviceEndpointPolicies/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="string" name="provisioningState"/> <prop readOnly="True" type="string" name="resourceGuid"/> <prop type="array<object>" name="serviceEndpointPolicyDefinitions"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/serviceEndpointPolicies/{}/serviceEndpointPolicyDefinitions/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="description"/> <prop readOnly="True" type="string" name="provisioningState"/> <prop type="string" name="service"/> <prop type="array<string>" name="serviceResources"> <item type="string"/> </prop> </prop> </item> </prop> <prop readOnly="True" type="array<@Subnet_read>" name="subnets"> <item type="@Subnet_read"/> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> <prop type="array<object>" name="serviceEndpoints"> <item type="object"> <prop type="array<string>" name="locations"> <item type="string"/> </prop> <prop type="string" name="provisioningState"/> <prop type="string" name="service"/> </item> </prop> </prop> </item> </prop> <prop type="array<object>" name="virtualNetworkPeerings"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/virtualNetworkPeerings/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="boolean" name="allowForwardedTraffic"/> <prop type="boolean" name="allowGatewayTransit"/> <prop type="boolean" name="allowVirtualNetworkAccess"/> <prop type="string" name="peeringState"> <enum> <item value="&quot;Connected&quot;"/> <item value="&quot;Disconnected&quot;"/> <item value="&quot;Initiated&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> <prop type="@AddressSpace_read" name="remoteAddressSpace"/> <prop type="@SubResource_read" name="remoteVirtualNetwork"/> <prop type="boolean" name="useRemoteGateways"/> </prop> </item> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </schema> </json> </body> </response> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> <output type="object" ref="$Instance" clientFlatten="True"/> </command> <command name="delete" version="2018-11-01" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}" version="2018-11-01" swagger="mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya3Mve3ZpcnR1YWxOZXR3b3JrTmFtZX0=/V/MjAxOC0xMS0wMQ=="/> <argGroup name=""> <arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/> <arg type="string" var="$Path.virtualNetworkName" options="name n" required="True" idPart="name"> <help short="The virtual network (VNet) name."/> </arg> </argGroup> <operation operationId="VirtualNetworks_Delete"> <longRunning finalStateVia="azure-async-operation"/> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}"> <request method="delete"> <path> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/> <param type="string" name="virtualNetworkName" arg="$Path.virtualNetworkName" required="True"/> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2018-11-01&quot;"/> </const> </query> </request> <response statusCode="200"/> <response statusCode="202"/> <response statusCode="204"/> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> </command> <command name="create" version="2018-11-01" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}" version="2018-11-01" swagger="mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya3Mve3ZpcnR1YWxOZXR3b3JrTmFtZX0=/V/MjAxOC0xMS0wMQ=="/> <argGroup name=""> <arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/> <arg type="string" var="$Path.virtualNetworkName" options="name n" required="True" idPart="name"> <help short="The virtual network (VNet) name."/> </arg> <arg type="ResourceLocation" var="$parameters.location" options="location l" group=""> <help short="Resource location."/> </arg> <arg type="array<string>" var="$parameters.properties.addressSpace.addressPrefixes" options="address-prefixes" group=""> <help short="Space-separated list of IP address prefixes for the VNet. Default: 10.0.0.0/16."/> <default value="[&quot;10.0.0.0/16&quot;]"/> <item type="string"/> </arg> <arg type="string" var="$parameters.properties.ddosProtectionPlan.id" options="ddos-protection-plan" group=""> <help short="Name or ID of a DDoS protection plan to associate with the VNet."/> </arg> <arg type="array<string>" var="$parameters.properties.dhcpOptions.dnsServers" options="dns-servers" group=""> <help short="Space-separated list of DNS server IP addresses."/> <item type="string"/> </arg> <arg type="boolean" var="$parameters.properties.enableDdosProtection" options="ddos-protection" group=""> <help short="Control whether DDoS protection is enabled."/> <default value="false"/> </arg> <arg type="boolean" var="$parameters.properties.enableVmProtection" options="vm-protection" group=""> <help short="Enable VM protection for all subnets in the VNet."/> <default value="false"/> </arg> <arg type="object" var="$parameters.tags" options="tags" group=""> <help short="Space-separated tags: key[=value] [key[=value] ...]."/> <additionalProp> <item type="string"/> </additionalProp> </arg> </argGroup> <argGroup name="Parameters"> <arg type="string" var="$parameters.etag" options="etag" hide="True" group="Parameters"> <help short="Gets a unique read-only string that changes whenever the resource is updated."/> </arg> <arg type="ResourceId" var="$parameters.id" options="id" hide="True" group="Parameters"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}"/> </arg> </argGroup> <argGroup name="Properties"> <arg type="string" var="$parameters.properties.provisioningState" options="provisioning-state" hide="True" group="Properties"> <help short="The provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."/> </arg> <arg type="string" var="$parameters.properties.resourceGuid" options="resource-guid" hide="True" group="Properties"> <help short="The resourceGuid property of the Virtual Network resource."/> </arg> <arg type="array<object>" var="$parameters.properties.virtualNetworkPeerings" options="virtual-network-peerings" hide="True" group="Properties"> <help short="A list of peerings in a Virtual Network."/> <item type="object"> <arg type="string" var="$parameters.properties.virtualNetworkPeerings[].etag" options="etag"> <help short="A unique read-only string that changes whenever the resource is updated."/> </arg> <arg type="ResourceId" var="$parameters.properties.virtualNetworkPeerings[].id" options="id"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/virtualNetworkPeerings/{}"/> </arg> <arg type="string" var="$parameters.properties.virtualNetworkPeerings[].name" options="name"> <help short="The name of the resource that is unique within a resource group. This name can be used to access the resource."/> </arg> <arg type="boolean" var="$parameters.properties.virtualNetworkPeerings[].properties.allowForwardedTraffic" options="allow-forwarded-traffic" group="Properties"> <help short="Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network."/> </arg> <arg type="boolean" var="$parameters.properties.virtualNetworkPeerings[].properties.allowGatewayTransit" options="allow-gateway-transit" group="Properties"> <help short="If gateway links can be used in remote virtual networking to link to this virtual network."/> </arg> <arg type="boolean" var="$parameters.properties.virtualNetworkPeerings[].properties.allowVirtualNetworkAccess" options="allow-virtual-network-access" group="Properties"> <help short="Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space."/> </arg> <arg type="string" var="$parameters.properties.virtualNetworkPeerings[].properties.peeringState" options="peering-state" group="Properties"> <help short="The status of the virtual network peering."/> <enum> <item name="Connected" value="&quot;Connected&quot;"/> <item name="Disconnected" value="&quot;Disconnected&quot;"/> <item name="Initiated" value="&quot;Initiated&quot;"/> </enum> </arg> <arg type="string" var="$parameters.properties.virtualNetworkPeerings[].properties.provisioningState" options="provisioning-state" group="Properties"> <help short="The provisioning state of the resource."/> </arg> <arg type="object" var="$parameters.properties.virtualNetworkPeerings[].properties.remoteAddressSpace" options="remote-address-space" group="Properties" cls="AddressSpace_create"> <help short="The reference to the address space peered with the remote virtual network."/> <arg type="array<string>" var="@AddressSpace_create.addressPrefixes" options="address-prefixes"> <help short="A list of address blocks reserved for this virtual network in CIDR notation."/> <item type="string"/> </arg> </arg> <arg type="object" var="$parameters.properties.virtualNetworkPeerings[].properties.remoteVirtualNetwork" options="remote-virtual-network" group="Properties"> <help short="The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering)."/> <arg type="string" var="$parameters.properties.virtualNetworkPeerings[].properties.remoteVirtualNetwork.id" options="id"> <help short="Resource ID."/> </arg> </arg> <arg type="boolean" var="$parameters.properties.virtualNetworkPeerings[].properties.useRemoteGateways" options="use-remote-gateways" group="Properties"> <help short="If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway."/> </arg> </item> </arg> </argGroup> <argGroup name="Subnet"> <arg type="array<object>" var="$parameters.properties.subnets" options="subnets" group="Subnet"> <help short="Manage a list of subnets in a Virtual Network (similar to `az network vnet subnet`)."/> <item type="object"> <arg type="string" var="$parameters.properties.subnets[].etag" options="etag" hide="True" group=""> <help short="A unique read-only string that changes whenever the resource is updated."/> </arg> <arg type="ResourceId" var="$parameters.properties.subnets[].id" options="id" hide="True" group=""> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/subnets/{}"/> </arg> <arg type="string" var="$parameters.properties.subnets[].name" options="name" group=""> <help short="The subnet name."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.addressPrefix" options="address-prefix" group="Properties"> <help short="The address prefix for the subnet."/> </arg> <arg type="array<string>" var="$parameters.properties.subnets[].properties.addressPrefixes" options="address-prefixes" group="Properties"> <help short="List of address prefixes for the subnet."/> <item type="string"/> </arg> <arg type="array<object>" var="$parameters.properties.subnets[].properties.delegations" options="delegations" group="Properties"> <help short="An array of references to the delegations on the subnet."/> <item type="object"> <arg type="string" var="$parameters.properties.subnets[].properties.delegations[].etag" options="etag"> <help short="A unique read-only string that changes whenever the resource is updated."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.delegations[].id" options="id"> <help short="Resource ID."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.delegations[].name" options="name"> <help short="The name of the resource that is unique within a subnet. This name can be used to access the resource."/> </arg> <arg type="array<string>" var="$parameters.properties.subnets[].properties.delegations[].properties.actions" options="actions" group="Properties"> <help short="Describes the actions permitted to the service upon delegation"/> <item type="string"/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.delegations[].properties.serviceName" options="service-name" group="Properties"> <help short="The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers)."/> </arg> </item> </arg> <arg type="object" var="$parameters.properties.subnets[].properties.networkSecurityGroup" options="network-security-group nsg" group="Properties"> <help short="The reference to the NetworkSecurityGroup resource."/> <arg type="ResourceId" var="$parameters.properties.subnets[].properties.networkSecurityGroup.id" options="id"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkSecurityGroups/{}"/> </arg> <arg type="ResourceLocation" var="$parameters.properties.subnets[].properties.networkSecurityGroup.location" options="location l"> <help short="Resource location."/> </arg> <arg type="array<object>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.defaultSecurityRules" options="default-security-rules" group="Properties"> <help short="The default security rules of network security group."/> <item type="object" cls="SecurityRule_create"> <arg type="ResourceId" var="@SecurityRule_create.id" options="id" hide="True"> <help short="Resource ID."/> </arg> <arg type="string" var="@SecurityRule_create.name" options="name"> <help short="The name of the resource that is unique within a resource group. This name can be used to access the resource."/> </arg> <arg type="string" var="@SecurityRule_create.properties.access" options="access" group="Properties"> <help short="The network traffic is allowed or denied. Possible values are: 'Allow' and 'Deny'."/> <enum> <item name="Allow" value="&quot;Allow&quot;"/> <item name="Deny" value="&quot;Deny&quot;"/> </enum> </arg> <arg type="string" var="@SecurityRule_create.properties.description" options="description" group="Properties"> <help short="A description for this rule. Restricted to 140 chars."/> </arg> <arg type="string" var="@SecurityRule_create.properties.destinationAddressPrefix" options="destination-address-prefix" group="Properties"> <help short="The destination address prefix. CIDR or destination IP range. Asterisks '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used."/> </arg> <arg type="array<string>" var="@SecurityRule_create.properties.destinationAddressPrefixes" options="destination-address-prefixes" group="Properties"> <help short="The destination address prefixes. CIDR or destination IP ranges."/> <item type="string"/> </arg> <arg type="array<@ApplicationSecurityGroup_create>" var="@SecurityRule_create.properties.destinationApplicationSecurityGroups" options="destination-application-security-groups" group="Properties"> <help short="The application security group specified as destination."/> <item type="@ApplicationSecurityGroup_create"/> </arg> <arg type="string" var="@SecurityRule_create.properties.destinationPortRange" options="destination-port-range" group="Properties"> <help short="The destination port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports."/> </arg> <arg type="array<string>" var="@SecurityRule_create.properties.destinationPortRanges" options="destination-port-ranges" group="Properties"> <help short="The destination port ranges."/> <item type="string"/> </arg> <arg type="string" var="@SecurityRule_create.properties.direction" options="direction" group="Properties"> <help short="The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: 'Inbound' and 'Outbound'."/> <enum> <item name="Inbound" value="&quot;Inbound&quot;"/> <item name="Outbound" value="&quot;Outbound&quot;"/> </enum> </arg> <arg type="integer32" var="@SecurityRule_create.properties.priority" options="priority" group="Properties"> <help short="The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule."/> </arg> <arg type="string" var="@SecurityRule_create.properties.protocol" options="protocol" group="Properties"> <help short="Network protocol this rule applies to. Possible values are 'Tcp', 'Udp', and '*'."/> <enum> <item name="*" value="&quot;*&quot;"/> <item name="Tcp" value="&quot;Tcp&quot;"/> <item name="Udp" value="&quot;Udp&quot;"/> </enum> </arg> <arg type="string" var="@SecurityRule_create.properties.provisioningState" options="provisioning-state" group="Properties"> <help short="The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."/> </arg> <arg type="string" var="@SecurityRule_create.properties.sourceAddressPrefix" options="source-address-prefix" group="Properties"> <help short="The CIDR or source IP range. Asterisks '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from. "/> </arg> <arg type="array<string>" var="@SecurityRule_create.properties.sourceAddressPrefixes" options="source-address-prefixes" group="Properties"> <help short="The CIDR or source IP ranges."/> <item type="string"/> </arg> <arg type="array<object>" var="@SecurityRule_create.properties.sourceApplicationSecurityGroups" options="source-application-security-groups" group="Properties"> <help short="The application security group specified as source."/> <item type="object" cls="ApplicationSecurityGroup_create"> <arg type="ResourceId" var="@ApplicationSecurityGroup_create.id" options="id"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/applicationSecurityGroups/{}"/> </arg> <arg type="ResourceLocation" var="@ApplicationSecurityGroup_create.location" options="location l"> <help short="Resource location."/> </arg> <arg type="object" var="@ApplicationSecurityGroup_create.tags" options="tags"> <help short="Resource tags."/> <additionalProp> <item type="string"/> </additionalProp> </arg> </item> </arg> <arg type="string" var="@SecurityRule_create.properties.sourcePortRange" options="source-port-range" group="Properties"> <help short="The source port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports."/> </arg> <arg type="array<string>" var="@SecurityRule_create.properties.sourcePortRanges" options="source-port-ranges" group="Properties"> <help short="The source port ranges."/> <item type="string"/> </arg> </item> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.provisioningState" options="provisioning-state" group="Properties"> <help short="The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.resourceGuid" options="resource-guid" group="Properties"> <help short="The resource GUID property of the network security group resource."/> </arg> <arg type="array<object>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules" options="security-rules" group="Properties"> <help short="A collection of security rules of the network security group."/> <item type="object"> <arg type="ResourceId" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].id" options="id"> <help short="Resource ID."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].name" options="name"> <help short="The name of the resource that is unique within a resource group. This name can be used to access the resource."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.access" options="access" group="Properties"> <help short="The network traffic is allowed or denied."/> <enum> <item name="Allow" value="&quot;Allow&quot;"/> <item name="Deny" value="&quot;Deny&quot;"/> </enum> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.description" options="description" group="Properties"> <help short="A description for this rule. Restricted to 140 chars."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationAddressPrefix" options="destination-address-prefix" group="Properties"> <help short="The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used."/> </arg> <arg type="array<string>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationAddressPrefixes" options="destination-address-prefixes" group="Properties"> <help short="The destination address prefixes. CIDR or destination IP ranges."/> <item type="string"/> </arg> <arg type="array<@ApplicationSecurityGroup_create>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationApplicationSecurityGroups" options="destination-application-security-groups" group="Properties"> <help short="The application security group specified as destination."/> <item type="@ApplicationSecurityGroup_create"/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationPortRange" options="destination-port-range" group="Properties"> <help short="The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports."/> </arg> <arg type="array<string>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationPortRanges" options="destination-port-ranges" group="Properties"> <help short="The destination port ranges."/> <item type="string"/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.direction" options="direction" group="Properties"> <help short="The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic."/> <enum> <item name="Inbound" value="&quot;Inbound&quot;"/> <item name="Outbound" value="&quot;Outbound&quot;"/> </enum> </arg> <arg type="integer32" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.priority" options="priority" group="Properties"> <help short="The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.protocol" options="protocol" group="Properties"> <help short="Network protocol this rule applies to."/> <enum> <item name="*" value="&quot;*&quot;"/> <item name="Tcp" value="&quot;Tcp&quot;"/> <item name="Udp" value="&quot;Udp&quot;"/> </enum> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.provisioningState" options="provisioning-state" group="Properties"> <help short="The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourceAddressPrefix" options="source-address-prefix" group="Properties"> <help short="The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from."/> </arg> <arg type="array<string>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourceAddressPrefixes" options="source-address-prefixes" group="Properties"> <help short="The CIDR or source IP ranges."/> <item type="string"/> </arg> <arg type="array<@ApplicationSecurityGroup_create>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourceApplicationSecurityGroups" options="source-application-security-groups" group="Properties"> <help short="The application security group specified as source."/> <item type="@ApplicationSecurityGroup_create"/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourcePortRange" options="source-port-range" group="Properties"> <help short="The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports."/> </arg> <arg type="array<string>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourcePortRanges" options="source-port-ranges" group="Properties"> <help short="The source port ranges."/> <item type="string"/> </arg> </item> </arg> <arg type="object" var="$parameters.properties.subnets[].properties.networkSecurityGroup.tags" options="tags"> <help short="Resource tags."/> <additionalProp> <item type="string"/> </additionalProp> </arg> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.provisioningState" options="provisioning-state" hide="True" group="Properties"> <help short="The provisioning state of the resource."/> </arg> <arg type="array<object>" var="$parameters.properties.subnets[].properties.resourceNavigationLinks" options="resource-navigation-links" hide="True" group="Properties"> <help short="Gets an array of references to the external resources using subnet."/> <item type="object"> <arg type="string" var="$parameters.properties.subnets[].properties.resourceNavigationLinks[].id" options="id"> <help short="Resource ID."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.resourceNavigationLinks[].name" options="name"> <help short="Name of the resource that is unique within a resource group. This name can be used to access the resource."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.resourceNavigationLinks[].properties.link" options="link" group="Properties"> <help short="Link to the external resource"/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.resourceNavigationLinks[].properties.linkedResourceType" options="linked-resource-type" group="Properties"> <help short="Resource type of the linked resource."/> </arg> </item> </arg> <arg type="object" var="$parameters.properties.subnets[].properties.routeTable" options="route-table" group="Properties"> <help short="The reference to the RouteTable resource."/> <arg type="string" var="$parameters.properties.subnets[].properties.routeTable.etag" options="etag"> <help short="Gets a unique read-only string that changes whenever the resource is updated."/> </arg> <arg type="ResourceId" var="$parameters.properties.subnets[].properties.routeTable.id" options="id"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}"/> </arg> <arg type="ResourceLocation" var="$parameters.properties.subnets[].properties.routeTable.location" options="location l"> <help short="Resource location."/> </arg> <arg type="boolean" var="$parameters.properties.subnets[].properties.routeTable.properties.disableBgpRoutePropagation" options="disable-bgp-route-propagation" group="Properties"> <help short="Whether to disable the routes learned by BGP on that route table. True means disable."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.routeTable.properties.provisioningState" options="provisioning-state" group="Properties"> <help short="The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."/> </arg> <arg type="array<object>" var="$parameters.properties.subnets[].properties.routeTable.properties.routes" options="routes" group="Properties"> <help short="Collection of routes contained within a route table."/> <item type="object"> <arg type="string" var="$parameters.properties.subnets[].properties.routeTable.properties.routes[].etag" options="etag"> <help short="A unique read-only string that changes whenever the resource is updated."/> </arg> <arg type="ResourceId" var="$parameters.properties.subnets[].properties.routeTable.properties.routes[].id" options="id"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}/routes/{}"/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.routeTable.properties.routes[].name" options="name"> <help short="The name of the resource that is unique within a resource group. This name can be used to access the resource."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.addressPrefix" options="address-prefix" group="Properties"> <help short="The destination CIDR to which the route applies."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.nextHopIpAddress" options="next-hop-ip-address" group="Properties"> <help short="The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.nextHopType" options="next-hop-type" group="Properties"> <help short="The type of Azure hop the packet should be sent to."/> <enum> <item name="Internet" value="&quot;Internet&quot;"/> <item name="None" value="&quot;None&quot;"/> <item name="VirtualAppliance" value="&quot;VirtualAppliance&quot;"/> <item name="VirtualNetworkGateway" value="&quot;VirtualNetworkGateway&quot;"/> <item name="VnetLocal" value="&quot;VnetLocal&quot;"/> </enum> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.provisioningState" options="provisioning-state" group="Properties"> <help short="The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."/> </arg> </item> </arg> <arg type="object" var="$parameters.properties.subnets[].properties.routeTable.tags" options="tags"> <help short="Resource tags."/> <additionalProp> <item type="string"/> </additionalProp> </arg> </arg> <arg type="array<object>" var="$parameters.properties.subnets[].properties.serviceAssociationLinks" options="service-association-links" hide="True" group="Properties"> <help short="Gets an array of references to services injecting into this subnet."/> <item type="object"> <arg type="string" var="$parameters.properties.subnets[].properties.serviceAssociationLinks[].id" options="id"> <help short="Resource ID."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.serviceAssociationLinks[].name" options="name"> <help short="Name of the resource that is unique within a resource group. This name can be used to access the resource."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.serviceAssociationLinks[].properties.link" options="link" group="Properties"> <help short="Link to the external resource."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.serviceAssociationLinks[].properties.linkedResourceType" options="linked-resource-type" group="Properties"> <help short="Resource type of the linked resource."/> </arg> </item> </arg> <arg type="array<object>" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies" options="service-endpoint-policy" group="Properties"> <help short="An array of service endpoint policies."/> <item type="object"> <arg type="string" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].etag" options="etag"> <help short="A unique read-only string that changes whenever the resource is updated."/> </arg> <arg type="ResourceId" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].id" options="id"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/serviceEndpointPolicies/{}"/> </arg> <arg type="ResourceLocation" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].location" options="location l"> <help short="Resource location."/> </arg> <arg type="array<object>" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions" options="service-endpoint-policy-definitions" group="Properties"> <help short="A collection of service endpoint policy definitions of the service endpoint policy."/> <item type="object"> <arg type="string" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].etag" options="etag"> <help short="A unique read-only string that changes whenever the resource is updated."/> </arg> <arg type="ResourceId" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].id" options="id"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/serviceEndpointPolicies/{}/serviceEndpointPolicyDefinitions/{}"/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].name" options="name"> <help short="The name of the resource that is unique within a resource group. This name can be used to access the resource."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].properties.description" options="description" group="Properties"> <help short="A description for this rule. Restricted to 140 chars."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].properties.service" options="service" group="Properties"> <help short="Service endpoint name."/> </arg> <arg type="array<string>" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].properties.serviceResources" options="service-resources" group="Properties"> <help short="A list of service resources."/> <item type="string"/> </arg> </item> </arg> <arg type="object" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].tags" options="tags"> <help short="Resource tags."/> <additionalProp> <item type="string"/> </additionalProp> </arg> </item> </arg> <arg type="array<object>" var="$parameters.properties.subnets[].properties.serviceEndpoints" options="service-endpoints" group="Properties"> <help short="An array of service endpoints."/> <item type="object"> <arg type="array<string>" var="$parameters.properties.subnets[].properties.serviceEndpoints[].locations" options="locations"> <help short="A list of locations."/> <item type="string"/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.serviceEndpoints[].provisioningState" options="provisioning-state"> <help short="The provisioning state of the resource."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.serviceEndpoints[].service" options="service"> <help short="The type of the endpoint service."/> </arg> </item> </arg> </item> </arg> </argGroup> <operation operationId="VirtualNetworks_CreateOrUpdate"> <longRunning finalStateVia="azure-async-operation"/> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}"> <request method="put"> <path> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/> <param type="string" name="virtualNetworkName" arg="$Path.virtualNetworkName" required="True"/> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2018-11-01&quot;"/> </const> </query> <body> <json> <schema type="object" name="parameters" required="True" clientFlatten="True"> <prop type="string" name="etag" arg="$parameters.etag"/> <prop type="ResourceId" name="id" arg="$parameters.id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}"/> </prop> <prop type="ResourceLocation" name="location" arg="$parameters.location"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="addressSpace"> <prop type="array<string>" name="addressPrefixes" arg="$parameters.properties.addressSpace.addressPrefixes"> <item type="string"/> </prop> </prop> <prop type="object" name="ddosProtectionPlan"> <prop type="string" name="id" arg="$parameters.properties.ddosProtectionPlan.id"/> </prop> <prop type="object" name="dhcpOptions"> <prop type="array<string>" name="dnsServers" arg="$parameters.properties.dhcpOptions.dnsServers"> <item type="string"/> </prop> </prop> <prop type="boolean" name="enableDdosProtection" arg="$parameters.properties.enableDdosProtection"> <default value="false"/> </prop> <prop type="boolean" name="enableVmProtection" arg="$parameters.properties.enableVmProtection"> <default value="false"/> </prop> <prop type="string" name="provisioningState" arg="$parameters.properties.provisioningState"/> <prop type="string" name="resourceGuid" arg="$parameters.properties.resourceGuid"/> <prop type="array<object>" name="subnets" arg="$parameters.properties.subnets"> <item type="object"> <prop type="string" name="etag" arg="$parameters.properties.subnets[].etag"/> <prop type="ResourceId" name="id" arg="$parameters.properties.subnets[].id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/subnets/{}"/> </prop> <prop type="string" name="name" arg="$parameters.properties.subnets[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="addressPrefix" arg="$parameters.properties.subnets[].properties.addressPrefix"/> <prop type="array<string>" name="addressPrefixes" arg="$parameters.properties.subnets[].properties.addressPrefixes"> <item type="string"/> </prop> <prop type="array<object>" name="delegations" arg="$parameters.properties.subnets[].properties.delegations"> <item type="object"> <prop type="string" name="etag" arg="$parameters.properties.subnets[].properties.delegations[].etag"/> <prop type="string" name="id" arg="$parameters.properties.subnets[].properties.delegations[].id"/> <prop type="string" name="name" arg="$parameters.properties.subnets[].properties.delegations[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<string>" name="actions" arg="$parameters.properties.subnets[].properties.delegations[].properties.actions"> <item type="string"/> </prop> <prop type="string" name="serviceName" arg="$parameters.properties.subnets[].properties.delegations[].properties.serviceName"/> </prop> </item> </prop> <prop type="object" name="networkSecurityGroup" arg="$parameters.properties.subnets[].properties.networkSecurityGroup"> <prop type="ResourceId" name="id" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkSecurityGroups/{}"/> </prop> <prop type="ResourceLocation" name="location" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.location"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<object>" name="defaultSecurityRules" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.defaultSecurityRules"> <item type="object" cls="SecurityRule_create"> <prop type="ResourceId" name="id" arg="@SecurityRule_create.id"/> <prop type="string" name="name" arg="@SecurityRule_create.name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="access" arg="@SecurityRule_create.properties.access" required="True"> <enum> <item value="&quot;Allow&quot;"/> <item value="&quot;Deny&quot;"/> </enum> </prop> <prop type="string" name="description" arg="@SecurityRule_create.properties.description"/> <prop type="string" name="destinationAddressPrefix" arg="@SecurityRule_create.properties.destinationAddressPrefix"/> <prop type="array<string>" name="destinationAddressPrefixes" arg="@SecurityRule_create.properties.destinationAddressPrefixes"> <item type="string"/> </prop> <prop type="array<@ApplicationSecurityGroup_create>" name="destinationApplicationSecurityGroups" arg="@SecurityRule_create.properties.destinationApplicationSecurityGroups"> <item type="@ApplicationSecurityGroup_create"/> </prop> <prop type="string" name="destinationPortRange" arg="@SecurityRule_create.properties.destinationPortRange"/> <prop type="array<string>" name="destinationPortRanges" arg="@SecurityRule_create.properties.destinationPortRanges"> <item type="string"/> </prop> <prop type="string" name="direction" arg="@SecurityRule_create.properties.direction" required="True"> <enum> <item value="&quot;Inbound&quot;"/> <item value="&quot;Outbound&quot;"/> </enum> </prop> <prop type="integer32" name="priority" arg="@SecurityRule_create.properties.priority"/> <prop type="string" name="protocol" arg="@SecurityRule_create.properties.protocol" required="True"> <enum> <item value="&quot;*&quot;"/> <item value="&quot;Tcp&quot;"/> <item value="&quot;Udp&quot;"/> </enum> </prop> <prop type="string" name="provisioningState" arg="@SecurityRule_create.properties.provisioningState"/> <prop type="string" name="sourceAddressPrefix" arg="@SecurityRule_create.properties.sourceAddressPrefix"/> <prop type="array<string>" name="sourceAddressPrefixes" arg="@SecurityRule_create.properties.sourceAddressPrefixes"> <item type="string"/> </prop> <prop type="array<object>" name="sourceApplicationSecurityGroups" arg="@SecurityRule_create.properties.sourceApplicationSecurityGroups"> <item type="object" cls="ApplicationSecurityGroup_create"> <prop type="ResourceId" name="id" arg="@ApplicationSecurityGroup_create.id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/applicationSecurityGroups/{}"/> </prop> <prop type="ResourceLocation" name="location" arg="@ApplicationSecurityGroup_create.location"/> <prop type="object" name="tags" arg="@ApplicationSecurityGroup_create.tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> </item> </prop> <prop type="string" name="sourcePortRange" arg="@SecurityRule_create.properties.sourcePortRange"/> <prop type="array<string>" name="sourcePortRanges" arg="@SecurityRule_create.properties.sourcePortRanges"> <item type="string"/> </prop> </prop> </item> </prop> <prop type="string" name="provisioningState" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.provisioningState"/> <prop type="string" name="resourceGuid" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.resourceGuid"/> <prop type="array<object>" name="securityRules" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules"> <item type="object"> <prop type="ResourceId" name="id" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].id"/> <prop type="string" name="name" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="access" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.access" required="True"> <enum> <item value="&quot;Allow&quot;"/> <item value="&quot;Deny&quot;"/> </enum> </prop> <prop type="string" name="description" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.description"/> <prop type="string" name="destinationAddressPrefix" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationAddressPrefix"/> <prop type="array<string>" name="destinationAddressPrefixes" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationAddressPrefixes"> <item type="string"/> </prop> <prop type="array<@ApplicationSecurityGroup_create>" name="destinationApplicationSecurityGroups" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationApplicationSecurityGroups"> <item type="@ApplicationSecurityGroup_create"/> </prop> <prop type="string" name="destinationPortRange" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationPortRange"/> <prop type="array<string>" name="destinationPortRanges" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationPortRanges"> <item type="string"/> </prop> <prop type="string" name="direction" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.direction" required="True"> <enum> <item value="&quot;Inbound&quot;"/> <item value="&quot;Outbound&quot;"/> </enum> </prop> <prop type="integer32" name="priority" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.priority"/> <prop type="string" name="protocol" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.protocol" required="True"> <enum> <item value="&quot;*&quot;"/> <item value="&quot;Tcp&quot;"/> <item value="&quot;Udp&quot;"/> </enum> </prop> <prop type="string" name="provisioningState" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.provisioningState"/> <prop type="string" name="sourceAddressPrefix" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourceAddressPrefix"/> <prop type="array<string>" name="sourceAddressPrefixes" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourceAddressPrefixes"> <item type="string"/> </prop> <prop type="array<@ApplicationSecurityGroup_create>" name="sourceApplicationSecurityGroups" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourceApplicationSecurityGroups"> <item type="@ApplicationSecurityGroup_create"/> </prop> <prop type="string" name="sourcePortRange" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourcePortRange"/> <prop type="array<string>" name="sourcePortRanges" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourcePortRanges"> <item type="string"/> </prop> </prop> </item> </prop> </prop> <prop type="object" name="tags" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> </prop> <prop type="string" name="provisioningState" arg="$parameters.properties.subnets[].properties.provisioningState"/> <prop type="array<object>" name="resourceNavigationLinks" arg="$parameters.properties.subnets[].properties.resourceNavigationLinks"> <item type="object"> <prop type="string" name="id" arg="$parameters.properties.subnets[].properties.resourceNavigationLinks[].id"/> <prop type="string" name="name" arg="$parameters.properties.subnets[].properties.resourceNavigationLinks[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="link" arg="$parameters.properties.subnets[].properties.resourceNavigationLinks[].properties.link"/> <prop type="string" name="linkedResourceType" arg="$parameters.properties.subnets[].properties.resourceNavigationLinks[].properties.linkedResourceType"/> </prop> </item> </prop> <prop type="object" name="routeTable" arg="$parameters.properties.subnets[].properties.routeTable"> <prop type="string" name="etag" arg="$parameters.properties.subnets[].properties.routeTable.etag"/> <prop type="ResourceId" name="id" arg="$parameters.properties.subnets[].properties.routeTable.id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}"/> </prop> <prop type="ResourceLocation" name="location" arg="$parameters.properties.subnets[].properties.routeTable.location"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="boolean" name="disableBgpRoutePropagation" arg="$parameters.properties.subnets[].properties.routeTable.properties.disableBgpRoutePropagation"/> <prop type="string" name="provisioningState" arg="$parameters.properties.subnets[].properties.routeTable.properties.provisioningState"/> <prop type="array<object>" name="routes" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes"> <item type="object"> <prop type="string" name="etag" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes[].etag"/> <prop type="ResourceId" name="id" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes[].id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}/routes/{}"/> </prop> <prop type="string" name="name" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="addressPrefix" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.addressPrefix"/> <prop type="string" name="nextHopIpAddress" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.nextHopIpAddress"/> <prop type="string" name="nextHopType" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.nextHopType" required="True"> <enum> <item value="&quot;Internet&quot;"/> <item value="&quot;None&quot;"/> <item value="&quot;VirtualAppliance&quot;"/> <item value="&quot;VirtualNetworkGateway&quot;"/> <item value="&quot;VnetLocal&quot;"/> </enum> </prop> <prop type="string" name="provisioningState" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.provisioningState"/> </prop> </item> </prop> </prop> <prop type="object" name="tags" arg="$parameters.properties.subnets[].properties.routeTable.tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> </prop> <prop type="array<object>" name="serviceAssociationLinks" arg="$parameters.properties.subnets[].properties.serviceAssociationLinks"> <item type="object"> <prop type="string" name="id" arg="$parameters.properties.subnets[].properties.serviceAssociationLinks[].id"/> <prop type="string" name="name" arg="$parameters.properties.subnets[].properties.serviceAssociationLinks[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="link" arg="$parameters.properties.subnets[].properties.serviceAssociationLinks[].properties.link"/> <prop type="string" name="linkedResourceType" arg="$parameters.properties.subnets[].properties.serviceAssociationLinks[].properties.linkedResourceType"/> </prop> </item> </prop> <prop type="array<object>" name="serviceEndpointPolicies" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies"> <item type="object"> <prop type="string" name="etag" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].etag"/> <prop type="ResourceId" name="id" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/serviceEndpointPolicies/{}"/> </prop> <prop type="ResourceLocation" name="location" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].location"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<object>" name="serviceEndpointPolicyDefinitions" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions"> <item type="object"> <prop type="string" name="etag" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].etag"/> <prop type="ResourceId" name="id" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/serviceEndpointPolicies/{}/serviceEndpointPolicyDefinitions/{}"/> </prop> <prop type="string" name="name" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="description" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].properties.description"/> <prop type="string" name="service" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].properties.service"/> <prop type="array<string>" name="serviceResources" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].properties.serviceResources"> <item type="string"/> </prop> </prop> </item> </prop> </prop> <prop type="object" name="tags" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> </item> </prop> <prop type="array<object>" name="serviceEndpoints" arg="$parameters.properties.subnets[].properties.serviceEndpoints"> <item type="object"> <prop type="array<string>" name="locations" arg="$parameters.properties.subnets[].properties.serviceEndpoints[].locations"> <item type="string"/> </prop> <prop type="string" name="provisioningState" arg="$parameters.properties.subnets[].properties.serviceEndpoints[].provisioningState"/> <prop type="string" name="service" arg="$parameters.properties.subnets[].properties.serviceEndpoints[].service"/> </item> </prop> </prop> </item> </prop> <prop type="array<object>" name="virtualNetworkPeerings" arg="$parameters.properties.virtualNetworkPeerings"> <item type="object"> <prop type="string" name="etag" arg="$parameters.properties.virtualNetworkPeerings[].etag"/> <prop type="ResourceId" name="id" arg="$parameters.properties.virtualNetworkPeerings[].id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/virtualNetworkPeerings/{}"/> </prop> <prop type="string" name="name" arg="$parameters.properties.virtualNetworkPeerings[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="boolean" name="allowForwardedTraffic" arg="$parameters.properties.virtualNetworkPeerings[].properties.allowForwardedTraffic"/> <prop type="boolean" name="allowGatewayTransit" arg="$parameters.properties.virtualNetworkPeerings[].properties.allowGatewayTransit"/> <prop type="boolean" name="allowVirtualNetworkAccess" arg="$parameters.properties.virtualNetworkPeerings[].properties.allowVirtualNetworkAccess"/> <prop type="string" name="peeringState" arg="$parameters.properties.virtualNetworkPeerings[].properties.peeringState"> <enum> <item value="&quot;Connected&quot;"/> <item value="&quot;Disconnected&quot;"/> <item value="&quot;Initiated&quot;"/> </enum> </prop> <prop type="string" name="provisioningState" arg="$parameters.properties.virtualNetworkPeerings[].properties.provisioningState"/> <prop type="object" name="remoteAddressSpace" arg="$parameters.properties.virtualNetworkPeerings[].properties.remoteAddressSpace" cls="AddressSpace_create"> <prop type="array<string>" name="addressPrefixes" arg="@AddressSpace_create.addressPrefixes"> <item type="string"/> </prop> </prop> <prop type="object" name="remoteVirtualNetwork" arg="$parameters.properties.virtualNetworkPeerings[].properties.remoteVirtualNetwork"> <prop type="string" name="id" arg="$parameters.properties.virtualNetworkPeerings[].properties.remoteVirtualNetwork.id"/> </prop> <prop type="boolean" name="useRemoteGateways" arg="$parameters.properties.virtualNetworkPeerings[].properties.useRemoteGateways"/> </prop> </item> </prop> </prop> <prop type="object" name="tags" arg="$parameters.tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> </schema> </json> </body> </request> <response statusCode="200 201"> <body> <json var="$Instance"> <schema type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="addressSpace" cls="AddressSpace_read"> <prop type="array<string>" name="addressPrefixes"> <item type="string"/> </prop> </prop> <prop type="object" name="ddosProtectionPlan"> <prop type="string" name="id"/> </prop> <prop type="object" name="dhcpOptions"> <prop type="array<string>" name="dnsServers"> <item type="string"/> </prop> </prop> <prop type="boolean" name="enableDdosProtection"> <default value="false"/> </prop> <prop type="boolean" name="enableVmProtection"> <default value="false"/> </prop> <prop type="string" name="provisioningState"/> <prop type="string" name="resourceGuid"/> <prop type="array<object>" name="subnets"> <item type="object" cls="Subnet_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/subnets/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="addressPrefix"/> <prop type="array<string>" name="addressPrefixes"> <item type="string"/> </prop> <prop type="array<object>" name="delegations"> <item type="object"> <prop type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<string>" name="actions"> <item type="string"/> </prop> <prop readOnly="True" type="string" name="provisioningState"/> <prop type="string" name="serviceName"/> </prop> </item> </prop> <prop readOnly="True" type="array<@InterfaceEndpoint_read>" name="interfaceEndpoints"> <item type="@InterfaceEndpoint_read"/> </prop> <prop readOnly="True" type="array<object>" name="ipConfigurationProfiles"> <item type="object"> <prop type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="string" name="provisioningState"/> <prop type="@Subnet_read" name="subnet"/> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> <prop readOnly="True" type="array<@IPConfiguration_read>" name="ipConfigurations"> <item type="@IPConfiguration_read"/> </prop> <prop type="object" name="networkSecurityGroup" cls="NetworkSecurityGroup_read"> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkSecurityGroups/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<@SecurityRule_read>" name="defaultSecurityRules"> <item type="@SecurityRule_read"/> </prop> <prop readOnly="True" type="array<object>" name="networkInterfaces"> <item type="object" cls="NetworkInterface_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkInterfaces/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="dnsSettings"> <prop type="array<string>" name="appliedDnsServers"> <item type="string"/> </prop> <prop type="array<string>" name="dnsServers"> <item type="string"/> </prop> <prop type="string" name="internalDnsNameLabel"/> <prop type="string" name="internalDomainNameSuffix"/> <prop type="string" name="internalFqdn"/> </prop> <prop type="boolean" name="enableAcceleratedNetworking"/> <prop type="boolean" name="enableIPForwarding"/> <prop readOnly="True" type="array<string>" name="hostedWorkloads"> <item type="string"/> </prop> <prop type="object" name="interfaceEndpoint" cls="InterfaceEndpoint_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/interfaceEndpoints/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="endpointService"> <prop type="string" name="id"/> </prop> <prop type="string" name="fqdn"/> <prop readOnly="True" type="array<@NetworkInterface_read>" name="networkInterfaces"> <item type="@NetworkInterface_read"/> </prop> <prop readOnly="True" type="string" name="owner"/> <prop readOnly="True" type="string" name="provisioningState"/> <prop type="@Subnet_read" name="subnet"/> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </prop> <prop type="array<object>" name="ipConfigurations"> <item type="object" cls="NetworkInterfaceIPConfiguration_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkInterfaces/{}/ipConfigurations/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<object>" name="applicationGatewayBackendAddressPools"> <item type="object"> <prop type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<object>" name="backendAddresses"> <item type="object"> <prop type="string" name="fqdn"/> <prop type="string" name="ipAddress"/> </item> </prop> <prop type="array<@NetworkInterfaceIPConfiguration_read>" name="backendIPConfigurations"> <item type="@NetworkInterfaceIPConfiguration_read"/> </prop> <prop type="string" name="provisioningState"/> </prop> <prop type="string" name="type"/> </item> </prop> <prop type="array<@ApplicationSecurityGroup_read>" name="applicationSecurityGroups"> <item type="@ApplicationSecurityGroup_read"/> </prop> <prop type="array<object>" name="loadBalancerBackendAddressPools"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/loadBalancers/{}/backendAddressPools/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="array<@NetworkInterfaceIPConfiguration_read>" name="backendIPConfigurations"> <item type="@NetworkInterfaceIPConfiguration_read"/> </prop> <prop readOnly="True" type="array<@SubResource_read>" name="loadBalancingRules"> <item type="@SubResource_read"/> </prop> <prop readOnly="True" type="@SubResource_read" name="outboundRule"/> <prop readOnly="True" type="array<@SubResource_read>" name="outboundRules"> <item type="@SubResource_read"/> </prop> <prop type="string" name="provisioningState"/> </prop> </item> </prop> <prop type="array<object>" name="loadBalancerInboundNatRules"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/loadBalancers/{}/inboundNatRules/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="@NetworkInterfaceIPConfiguration_read" name="backendIPConfiguration"/> <prop type="integer32" name="backendPort"/> <prop type="boolean" name="enableFloatingIP"/> <prop type="boolean" name="enableTcpReset"/> <prop type="@SubResource_read" name="frontendIPConfiguration"/> <prop type="integer32" name="frontendPort"/> <prop type="integer32" name="idleTimeoutInMinutes"/> <prop type="string" name="protocol"> <enum> <item value="&quot;All&quot;"/> <item value="&quot;Tcp&quot;"/> <item value="&quot;Udp&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> </prop> </item> </prop> <prop type="boolean" name="primary"/> <prop type="string" name="privateIPAddress"/> <prop type="string" name="privateIPAddressVersion"> <enum> <item value="&quot;IPv4&quot;"/> <item value="&quot;IPv6&quot;"/> </enum> </prop> <prop type="string" name="privateIPAllocationMethod"> <enum> <item value="&quot;Dynamic&quot;"/> <item value="&quot;Static&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> <prop type="@PublicIPAddress_read" name="publicIPAddress"/> <prop type="@Subnet_read" name="subnet"/> <prop type="array<object>" name="virtualNetworkTaps"> <item type="object" cls="VirtualNetworkTap_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkTaps/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="destinationLoadBalancerFrontEndIPConfiguration"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/loadBalancers/{}/frontendIPConfigurations/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="array<@SubResource_read>" name="inboundNatPools"> <item type="@SubResource_read"/> </prop> <prop readOnly="True" type="array<@SubResource_read>" name="inboundNatRules"> <item type="@SubResource_read"/> </prop> <prop readOnly="True" type="array<@SubResource_read>" name="loadBalancingRules"> <item type="@SubResource_read"/> </prop> <prop readOnly="True" type="array<@SubResource_read>" name="outboundRules"> <item type="@SubResource_read"/> </prop> <prop type="string" name="privateIPAddress"/> <prop type="string" name="privateIPAllocationMethod"> <enum> <item value="&quot;Dynamic&quot;"/> <item value="&quot;Static&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> <prop type="object" name="publicIPAddress" cls="PublicIPAddress_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/publicIPAddresses/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="ddosSettings"> <prop type="@SubResource_read" name="ddosCustomPolicy"/> <prop type="string" name="protectionCoverage"> <enum> <item value="&quot;Basic&quot;"/> <item value="&quot;Standard&quot;"/> </enum> </prop> </prop> <prop type="object" name="dnsSettings"> <prop type="string" name="domainNameLabel"/> <prop type="string" name="fqdn"/> <prop type="string" name="reverseFqdn"/> </prop> <prop type="integer32" name="idleTimeoutInMinutes"/> <prop type="string" name="ipAddress"/> <prop type="object" name="ipConfiguration" cls="IPConfiguration_read"> <prop type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="privateIPAddress"/> <prop type="string" name="privateIPAllocationMethod"> <enum> <item value="&quot;Dynamic&quot;"/> <item value="&quot;Static&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> <prop type="@PublicIPAddress_read" name="publicIPAddress"/> <prop type="@Subnet_read" name="subnet"/> </prop> </prop> <prop type="array<object>" name="ipTags"> <item type="object"> <prop type="string" name="ipTagType"/> <prop type="string" name="tag"/> </item> </prop> <prop type="string" name="provisioningState"/> <prop type="string" name="publicIPAddressVersion"> <enum> <item value="&quot;IPv4&quot;"/> <item value="&quot;IPv6&quot;"/> </enum> </prop> <prop type="string" name="publicIPAllocationMethod"> <enum> <item value="&quot;Dynamic&quot;"/> <item value="&quot;Static&quot;"/> </enum> </prop> <prop type="@SubResource_read" name="publicIPPrefix"/> <prop type="string" name="resourceGuid"/> </prop> <prop type="object" name="sku"> <prop type="string" name="name"> <enum> <item value="&quot;Basic&quot;"/> <item value="&quot;Standard&quot;"/> </enum> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> <prop type="array<string>" name="zones"> <item type="string"/> </prop> </prop> <prop type="@SubResource_read" name="publicIPPrefix"/> <prop type="@Subnet_read" name="subnet"/> </prop> <prop type="array<string>" name="zones"> <item type="string"/> </prop> </prop> <prop type="@NetworkInterfaceIPConfiguration_read" name="destinationNetworkInterfaceIPConfiguration"/> <prop type="integer" name="destinationPort"/> <prop readOnly="True" type="array<object>" name="networkInterfaceTapConfigurations"> <item type="object" cls="NetworkInterfaceTapConfiguration_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkInterfaces/{}/tapConfigurations/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="string" name="provisioningState"/> <prop type="@VirtualNetworkTap_read" name="virtualNetworkTap"/> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> <prop readOnly="True" type="string" name="provisioningState"/> <prop readOnly="True" type="string" name="resourceGuid"/> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> </prop> </item> </prop> <prop type="string" name="macAddress"/> <prop type="@NetworkSecurityGroup_read" name="networkSecurityGroup"/> <prop type="boolean" name="primary"/> <prop type="string" name="provisioningState"/> <prop type="string" name="resourceGuid"/> <prop type="array<@NetworkInterfaceTapConfiguration_read>" name="tapConfigurations"> <item type="@NetworkInterfaceTapConfiguration_read"/> </prop> <prop type="object" name="virtualMachine" cls="SubResource_read"> <prop type="string" name="id"/> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> <prop type="string" name="provisioningState"/> <prop type="string" name="resourceGuid"/> <prop type="array<object>" name="securityRules"> <item type="object" cls="SecurityRule_read"> <prop type="ResourceId" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="access" required="True"> <enum> <item value="&quot;Allow&quot;"/> <item value="&quot;Deny&quot;"/> </enum> </prop> <prop type="string" name="description"/> <prop type="string" name="destinationAddressPrefix"/> <prop type="array<string>" name="destinationAddressPrefixes"> <item type="string"/> </prop> <prop type="array<@ApplicationSecurityGroup_read>" name="destinationApplicationSecurityGroups"> <item type="@ApplicationSecurityGroup_read"/> </prop> <prop type="string" name="destinationPortRange"/> <prop type="array<string>" name="destinationPortRanges"> <item type="string"/> </prop> <prop type="string" name="direction" required="True"> <enum> <item value="&quot;Inbound&quot;"/> <item value="&quot;Outbound&quot;"/> </enum> </prop> <prop type="integer32" name="priority"/> <prop type="string" name="protocol" required="True"> <enum> <item value="&quot;*&quot;"/> <item value="&quot;Tcp&quot;"/> <item value="&quot;Udp&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> <prop type="string" name="sourceAddressPrefix"/> <prop type="array<string>" name="sourceAddressPrefixes"> <item type="string"/> </prop> <prop type="array<object>" name="sourceApplicationSecurityGroups"> <item type="object" cls="ApplicationSecurityGroup_read"> <prop readOnly="True" type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/applicationSecurityGroups/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="string" name="provisioningState"/> <prop readOnly="True" type="string" name="resourceGuid"/> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> <prop type="string" name="sourcePortRange"/> <prop type="array<string>" name="sourcePortRanges"> <item type="string"/> </prop> </prop> </item> </prop> <prop readOnly="True" type="array<@Subnet_read>" name="subnets"> <item type="@Subnet_read"/> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </prop> <prop type="string" name="provisioningState"/> <prop readOnly="True" type="string" name="purpose"/> <prop type="array<object>" name="resourceNavigationLinks"> <item type="object"> <prop readOnly="True" type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="link"/> <prop type="string" name="linkedResourceType"/> <prop readOnly="True" type="string" name="provisioningState"/> </prop> </item> </prop> <prop type="object" name="routeTable"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="boolean" name="disableBgpRoutePropagation"/> <prop type="string" name="provisioningState"/> <prop type="array<object>" name="routes"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}/routes/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="addressPrefix"/> <prop type="string" name="nextHopIpAddress"/> <prop type="string" name="nextHopType" required="True"> <enum> <item value="&quot;Internet&quot;"/> <item value="&quot;None&quot;"/> <item value="&quot;VirtualAppliance&quot;"/> <item value="&quot;VirtualNetworkGateway&quot;"/> <item value="&quot;VnetLocal&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> </prop> </item> </prop> <prop readOnly="True" type="array<@Subnet_read>" name="subnets"> <item type="@Subnet_read"/> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </prop> <prop type="array<object>" name="serviceAssociationLinks"> <item type="object"> <prop readOnly="True" type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="link"/> <prop type="string" name="linkedResourceType"/> <prop readOnly="True" type="string" name="provisioningState"/> </prop> </item> </prop> <prop type="array<object>" name="serviceEndpointPolicies"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/serviceEndpointPolicies/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="string" name="provisioningState"/> <prop readOnly="True" type="string" name="resourceGuid"/> <prop type="array<object>" name="serviceEndpointPolicyDefinitions"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/serviceEndpointPolicies/{}/serviceEndpointPolicyDefinitions/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="description"/> <prop readOnly="True" type="string" name="provisioningState"/> <prop type="string" name="service"/> <prop type="array<string>" name="serviceResources"> <item type="string"/> </prop> </prop> </item> </prop> <prop readOnly="True" type="array<@Subnet_read>" name="subnets"> <item type="@Subnet_read"/> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> <prop type="array<object>" name="serviceEndpoints"> <item type="object"> <prop type="array<string>" name="locations"> <item type="string"/> </prop> <prop type="string" name="provisioningState"/> <prop type="string" name="service"/> </item> </prop> </prop> </item> </prop> <prop type="array<object>" name="virtualNetworkPeerings"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/virtualNetworkPeerings/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="boolean" name="allowForwardedTraffic"/> <prop type="boolean" name="allowGatewayTransit"/> <prop type="boolean" name="allowVirtualNetworkAccess"/> <prop type="string" name="peeringState"> <enum> <item value="&quot;Connected&quot;"/> <item value="&quot;Disconnected&quot;"/> <item value="&quot;Initiated&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> <prop type="@AddressSpace_read" name="remoteAddressSpace"/> <prop type="@SubResource_read" name="remoteVirtualNetwork"/> <prop type="boolean" name="useRemoteGateways"/> </prop> </item> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </schema> </json> </body> </response> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> <output type="object" ref="$Instance" clientFlatten="True"/> </command> <command name="update" version="2018-11-01" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}" version="2018-11-01" swagger="mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya3Mve3ZpcnR1YWxOZXR3b3JrTmFtZX0=/V/MjAxOC0xMS0wMQ=="/> <argGroup name=""> <arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/> <arg type="string" var="$Path.virtualNetworkName" options="name n" required="True" idPart="name"> <help short="The virtual network (VNet) name."/> </arg> <arg nullable="True" type="array<string>" var="$parameters.properties.addressSpace.addressPrefixes" options="address-prefixes" group=""> <help short="Space-separated list of IP address prefixes for the VNet."/> <item nullable="True" type="string"/> </arg> <arg nullable="True" type="string" var="$parameters.properties.ddosProtectionPlan.id" options="ddos-protection-plan" group=""> <help short="Name or ID of a DDoS protection plan to associate with the VNet."/> </arg> <arg nullable="True" type="array<string>" var="$parameters.properties.dhcpOptions.dnsServers" options="dns-servers" group=""> <help short="Space-separated list of DNS server IP addresses."/> <item nullable="True" type="string"/> </arg> <arg nullable="True" type="boolean" var="$parameters.properties.enableDdosProtection" options="ddos-protection" group=""> <help short="Control whether DDoS protection is enabled."/> </arg> <arg nullable="True" type="boolean" var="$parameters.properties.enableVmProtection" options="vm-protection" group=""> <help short="Enable VM protection for all subnets in the VNet."/> </arg> </argGroup> <argGroup name="Parameters"> <arg nullable="True" type="string" var="$parameters.etag" options="etag" hide="True" group="Parameters"> <help short="Gets a unique read-only string that changes whenever the resource is updated."/> </arg> <arg nullable="True" type="ResourceId" var="$parameters.id" options="id" hide="True" group="Parameters"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}"/> </arg> <arg nullable="True" type="ResourceLocation" var="$parameters.location" options="location l" hide="True" group="Parameters"> <help short="Resource location."/> </arg> <arg nullable="True" type="object" var="$parameters.tags" options="tags" hide="True" group="Parameters"> <help short="Resource tags."/> <additionalProp> <item nullable="True" type="string"/> </additionalProp> </arg> </argGroup> <argGroup name="Properties"> <arg nullable="True" type="string" var="$parameters.properties.provisioningState" options="provisioning-state" hide="True" group="Properties"> <help short="The provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.resourceGuid" options="resource-guid" hide="True" group="Properties"> <help short="The resourceGuid property of the Virtual Network resource."/> </arg> <arg nullable="True" type="array<object>" var="$parameters.properties.subnets" options="subnets" hide="True" group="Properties"> <help short="A list of subnets in a Virtual Network."/> <item nullable="True" type="object"> <arg nullable="True" type="string" var="$parameters.properties.subnets[].etag" options="etag" hide="True" group=""> <help short="A unique read-only string that changes whenever the resource is updated."/> </arg> <arg nullable="True" type="ResourceId" var="$parameters.properties.subnets[].id" options="id"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/subnets/{}"/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].name" options="name"> <help short="The name of the resource that is unique within a resource group. This name can be used to access the resource."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.addressPrefix" options="address-prefix" group="Properties"> <help short="The address prefix for the subnet."/> </arg> <arg nullable="True" type="array<string>" var="$parameters.properties.subnets[].properties.addressPrefixes" options="address-prefixes" group="Properties"> <help short="List of address prefixes for the subnet."/> <item nullable="True" type="string"/> </arg> <arg nullable="True" type="array<object>" var="$parameters.properties.subnets[].properties.delegations" options="delegations" group="Properties"> <help short="An array of references to the delegations on the subnet."/> <item nullable="True" type="object"> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.delegations[].etag" options="etag"> <help short="A unique read-only string that changes whenever the resource is updated."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.delegations[].id" options="id"> <help short="Resource ID."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.delegations[].name" options="name"> <help short="The name of the resource that is unique within a subnet. This name can be used to access the resource."/> </arg> <arg nullable="True" type="array<string>" var="$parameters.properties.subnets[].properties.delegations[].properties.actions" options="actions" group="Properties"> <help short="Describes the actions permitted to the service upon delegation"/> <item nullable="True" type="string"/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.delegations[].properties.serviceName" options="service-name" group="Properties"> <help short="The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers)."/> </arg> </item> </arg> <arg nullable="True" type="object" var="$parameters.properties.subnets[].properties.networkSecurityGroup" options="network-security-group" group="Properties"> <help short="The reference to the NetworkSecurityGroup resource."/> <arg nullable="True" type="ResourceId" var="$parameters.properties.subnets[].properties.networkSecurityGroup.id" options="id"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkSecurityGroups/{}"/> </arg> <arg nullable="True" type="ResourceLocation" var="$parameters.properties.subnets[].properties.networkSecurityGroup.location" options="location l"> <help short="Resource location."/> </arg> <arg nullable="True" type="array<object>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.defaultSecurityRules" options="default-security-rules" group="Properties"> <help short="The default security rules of network security group."/> <item nullable="True" type="object" cls="SecurityRule_update"> <arg nullable="True" type="ResourceId" var="@SecurityRule_update.id" options="id" hide="True"> <help short="Resource ID."/> </arg> <arg nullable="True" type="string" var="@SecurityRule_update.name" options="name"> <help short="The name of the resource that is unique within a resource group. This name can be used to access the resource."/> </arg> <arg type="string" var="@SecurityRule_update.properties.access" options="access" group="Properties"> <help short="The network traffic is allowed or denied. Possible values are: 'Allow' and 'Deny'."/> <enum> <item name="Allow" value="&quot;Allow&quot;"/> <item name="Deny" value="&quot;Deny&quot;"/> </enum> </arg> <arg nullable="True" type="string" var="@SecurityRule_update.properties.description" options="description" group="Properties"> <help short="A description for this rule. Restricted to 140 chars."/> </arg> <arg nullable="True" type="string" var="@SecurityRule_update.properties.destinationAddressPrefix" options="destination-address-prefix" group="Properties"> <help short="The destination address prefix. CIDR or destination IP range. Asterisks '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used."/> </arg> <arg nullable="True" type="array<string>" var="@SecurityRule_update.properties.destinationAddressPrefixes" options="destination-address-prefixes" group="Properties"> <help short="The destination address prefixes. CIDR or destination IP ranges."/> <item nullable="True" type="string"/> </arg> <arg nullable="True" type="array<@ApplicationSecurityGroup_update>" var="@SecurityRule_update.properties.destinationApplicationSecurityGroups" options="destination-application-security-groups" group="Properties"> <help short="The application security group specified as destination."/> <item nullable="True" type="@ApplicationSecurityGroup_update"/> </arg> <arg nullable="True" type="string" var="@SecurityRule_update.properties.destinationPortRange" options="destination-port-range" group="Properties"> <help short="The destination port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports."/> </arg> <arg nullable="True" type="array<string>" var="@SecurityRule_update.properties.destinationPortRanges" options="destination-port-ranges" group="Properties"> <help short="The destination port ranges."/> <item nullable="True" type="string"/> </arg> <arg type="string" var="@SecurityRule_update.properties.direction" options="direction" group="Properties"> <help short="The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: 'Inbound' and 'Outbound'."/> <enum> <item name="Inbound" value="&quot;Inbound&quot;"/> <item name="Outbound" value="&quot;Outbound&quot;"/> </enum> </arg> <arg nullable="True" type="integer32" var="@SecurityRule_update.properties.priority" options="priority" group="Properties"> <help short="The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule."/> </arg> <arg type="string" var="@SecurityRule_update.properties.protocol" options="protocol" group="Properties"> <help short="Network protocol this rule applies to. Possible values are 'Tcp', 'Udp', and '*'."/> <enum> <item name="*" value="&quot;*&quot;"/> <item name="Tcp" value="&quot;Tcp&quot;"/> <item name="Udp" value="&quot;Udp&quot;"/> </enum> </arg> <arg nullable="True" type="string" var="@SecurityRule_update.properties.provisioningState" options="provisioning-state" group="Properties"> <help short="The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."/> </arg> <arg nullable="True" type="string" var="@SecurityRule_update.properties.sourceAddressPrefix" options="source-address-prefix" group="Properties"> <help short="The CIDR or source IP range. Asterisks '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from. "/> </arg> <arg nullable="True" type="array<string>" var="@SecurityRule_update.properties.sourceAddressPrefixes" options="source-address-prefixes" group="Properties"> <help short="The CIDR or source IP ranges."/> <item nullable="True" type="string"/> </arg> <arg nullable="True" type="array<object>" var="@SecurityRule_update.properties.sourceApplicationSecurityGroups" options="source-application-security-groups" group="Properties"> <help short="The application security group specified as source."/> <item nullable="True" type="object" cls="ApplicationSecurityGroup_update"> <arg nullable="True" type="ResourceId" var="@ApplicationSecurityGroup_update.id" options="id"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/applicationSecurityGroups/{}"/> </arg> <arg nullable="True" type="ResourceLocation" var="@ApplicationSecurityGroup_update.location" options="location l"> <help short="Resource location."/> </arg> <arg nullable="True" type="object" var="@ApplicationSecurityGroup_update.tags" options="tags"> <help short="Resource tags."/> <additionalProp> <item nullable="True" type="string"/> </additionalProp> </arg> </item> </arg> <arg nullable="True" type="string" var="@SecurityRule_update.properties.sourcePortRange" options="source-port-range" group="Properties"> <help short="The source port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports."/> </arg> <arg nullable="True" type="array<string>" var="@SecurityRule_update.properties.sourcePortRanges" options="source-port-ranges" group="Properties"> <help short="The source port ranges."/> <item nullable="True" type="string"/> </arg> </item> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.provisioningState" options="provisioning-state" group="Properties"> <help short="The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.resourceGuid" options="resource-guid" group="Properties"> <help short="The resource GUID property of the network security group resource."/> </arg> <arg nullable="True" type="array<object>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules" options="security-rules" group="Properties"> <help short="A collection of security rules of the network security group."/> <item nullable="True" type="object"> <arg nullable="True" type="ResourceId" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].id" options="id"> <help short="Resource ID."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].name" options="name"> <help short="The name of the resource that is unique within a resource group. This name can be used to access the resource."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.access" options="access" group="Properties"> <help short="The network traffic is allowed or denied."/> <enum> <item name="Allow" value="&quot;Allow&quot;"/> <item name="Deny" value="&quot;Deny&quot;"/> </enum> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.description" options="description" group="Properties"> <help short="A description for this rule. Restricted to 140 chars."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationAddressPrefix" options="destination-address-prefix" group="Properties"> <help short="The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used."/> </arg> <arg nullable="True" type="array<string>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationAddressPrefixes" options="destination-address-prefixes" group="Properties"> <help short="The destination address prefixes. CIDR or destination IP ranges."/> <item nullable="True" type="string"/> </arg> <arg nullable="True" type="array<@ApplicationSecurityGroup_update>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationApplicationSecurityGroups" options="destination-application-security-groups" group="Properties"> <help short="The application security group specified as destination."/> <item nullable="True" type="@ApplicationSecurityGroup_update"/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationPortRange" options="destination-port-range" group="Properties"> <help short="The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports."/> </arg> <arg nullable="True" type="array<string>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationPortRanges" options="destination-port-ranges" group="Properties"> <help short="The destination port ranges."/> <item nullable="True" type="string"/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.direction" options="direction" group="Properties"> <help short="The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic."/> <enum> <item name="Inbound" value="&quot;Inbound&quot;"/> <item name="Outbound" value="&quot;Outbound&quot;"/> </enum> </arg> <arg nullable="True" type="integer32" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.priority" options="priority" group="Properties"> <help short="The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.protocol" options="protocol" group="Properties"> <help short="Network protocol this rule applies to."/> <enum> <item name="*" value="&quot;*&quot;"/> <item name="Tcp" value="&quot;Tcp&quot;"/> <item name="Udp" value="&quot;Udp&quot;"/> </enum> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.provisioningState" options="provisioning-state" group="Properties"> <help short="The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourceAddressPrefix" options="source-address-prefix" group="Properties"> <help short="The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from."/> </arg> <arg nullable="True" type="array<string>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourceAddressPrefixes" options="source-address-prefixes" group="Properties"> <help short="The CIDR or source IP ranges."/> <item nullable="True" type="string"/> </arg> <arg nullable="True" type="array<@ApplicationSecurityGroup_update>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourceApplicationSecurityGroups" options="source-application-security-groups" group="Properties"> <help short="The application security group specified as source."/> <item nullable="True" type="@ApplicationSecurityGroup_update"/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourcePortRange" options="source-port-range" group="Properties"> <help short="The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports."/> </arg> <arg nullable="True" type="array<string>" var="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourcePortRanges" options="source-port-ranges" group="Properties"> <help short="The source port ranges."/> <item nullable="True" type="string"/> </arg> </item> </arg> <arg nullable="True" type="object" var="$parameters.properties.subnets[].properties.networkSecurityGroup.tags" options="tags"> <help short="Resource tags."/> <additionalProp> <item nullable="True" type="string"/> </additionalProp> </arg> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.provisioningState" options="provisioning-state" hide="True" group="Properties"> <help short="The provisioning state of the resource."/> </arg> <arg nullable="True" type="array<object>" var="$parameters.properties.subnets[].properties.resourceNavigationLinks" options="resource-navigation-links" hide="True" group="Properties"> <help short="Gets an array of references to the external resources using subnet."/> <item nullable="True" type="object"> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.resourceNavigationLinks[].id" options="id"> <help short="Resource ID."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.resourceNavigationLinks[].name" options="name"> <help short="Name of the resource that is unique within a resource group. This name can be used to access the resource."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.resourceNavigationLinks[].properties.link" options="link" group="Properties"> <help short="Link to the external resource"/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.resourceNavigationLinks[].properties.linkedResourceType" options="linked-resource-type" group="Properties"> <help short="Resource type of the linked resource."/> </arg> </item> </arg> <arg nullable="True" type="object" var="$parameters.properties.subnets[].properties.routeTable" options="route-table" group="Properties"> <help short="The reference to the RouteTable resource."/> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.routeTable.etag" options="etag"> <help short="Gets a unique read-only string that changes whenever the resource is updated."/> </arg> <arg nullable="True" type="ResourceId" var="$parameters.properties.subnets[].properties.routeTable.id" options="id"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}"/> </arg> <arg nullable="True" type="ResourceLocation" var="$parameters.properties.subnets[].properties.routeTable.location" options="location l"> <help short="Resource location."/> </arg> <arg nullable="True" type="boolean" var="$parameters.properties.subnets[].properties.routeTable.properties.disableBgpRoutePropagation" options="disable-bgp-route-propagation" group="Properties"> <help short="Whether to disable the routes learned by BGP on that route table. True means disable."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.routeTable.properties.provisioningState" options="provisioning-state" group="Properties"> <help short="The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."/> </arg> <arg nullable="True" type="array<object>" var="$parameters.properties.subnets[].properties.routeTable.properties.routes" options="routes" group="Properties"> <help short="Collection of routes contained within a route table."/> <item nullable="True" type="object"> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.routeTable.properties.routes[].etag" options="etag"> <help short="A unique read-only string that changes whenever the resource is updated."/> </arg> <arg nullable="True" type="ResourceId" var="$parameters.properties.subnets[].properties.routeTable.properties.routes[].id" options="id"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}/routes/{}"/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.routeTable.properties.routes[].name" options="name"> <help short="The name of the resource that is unique within a resource group. This name can be used to access the resource."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.addressPrefix" options="address-prefix" group="Properties"> <help short="The destination CIDR to which the route applies."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.nextHopIpAddress" options="next-hop-ip-address" group="Properties"> <help short="The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance."/> </arg> <arg type="string" var="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.nextHopType" options="next-hop-type" group="Properties"> <help short="The type of Azure hop the packet should be sent to."/> <enum> <item name="Internet" value="&quot;Internet&quot;"/> <item name="None" value="&quot;None&quot;"/> <item name="VirtualAppliance" value="&quot;VirtualAppliance&quot;"/> <item name="VirtualNetworkGateway" value="&quot;VirtualNetworkGateway&quot;"/> <item name="VnetLocal" value="&quot;VnetLocal&quot;"/> </enum> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.provisioningState" options="provisioning-state" group="Properties"> <help short="The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."/> </arg> </item> </arg> <arg nullable="True" type="object" var="$parameters.properties.subnets[].properties.routeTable.tags" options="tags"> <help short="Resource tags."/> <additionalProp> <item nullable="True" type="string"/> </additionalProp> </arg> </arg> <arg nullable="True" type="array<object>" var="$parameters.properties.subnets[].properties.serviceAssociationLinks" options="service-association-links" hide="True" group="Properties"> <help short="Gets an array of references to services injecting into this subnet."/> <item nullable="True" type="object"> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.serviceAssociationLinks[].id" options="id"> <help short="Resource ID."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.serviceAssociationLinks[].name" options="name"> <help short="Name of the resource that is unique within a resource group. This name can be used to access the resource."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.serviceAssociationLinks[].properties.link" options="link" group="Properties"> <help short="Link to the external resource."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.serviceAssociationLinks[].properties.linkedResourceType" options="linked-resource-type" group="Properties"> <help short="Resource type of the linked resource."/> </arg> </item> </arg> <arg nullable="True" type="array<object>" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies" options="service-endpoint-policies" group="Properties"> <help short="An array of service endpoint policies."/> <item nullable="True" type="object"> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].etag" options="etag"> <help short="A unique read-only string that changes whenever the resource is updated."/> </arg> <arg nullable="True" type="ResourceId" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].id" options="id"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/serviceEndpointPolicies/{}"/> </arg> <arg nullable="True" type="ResourceLocation" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].location" options="location l"> <help short="Resource location."/> </arg> <arg nullable="True" type="array<object>" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions" options="service-endpoint-policy-definitions" group="Properties"> <help short="A collection of service endpoint policy definitions of the service endpoint policy."/> <item nullable="True" type="object"> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].etag" options="etag"> <help short="A unique read-only string that changes whenever the resource is updated."/> </arg> <arg nullable="True" type="ResourceId" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].id" options="id"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/serviceEndpointPolicies/{}/serviceEndpointPolicyDefinitions/{}"/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].name" options="name"> <help short="The name of the resource that is unique within a resource group. This name can be used to access the resource."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].properties.description" options="description" group="Properties"> <help short="A description for this rule. Restricted to 140 chars."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].properties.service" options="service" group="Properties"> <help short="Service endpoint name."/> </arg> <arg nullable="True" type="array<string>" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].properties.serviceResources" options="service-resources" group="Properties"> <help short="A list of service resources."/> <item nullable="True" type="string"/> </arg> </item> </arg> <arg nullable="True" type="object" var="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].tags" options="tags"> <help short="Resource tags."/> <additionalProp> <item nullable="True" type="string"/> </additionalProp> </arg> </item> </arg> <arg nullable="True" type="array<object>" var="$parameters.properties.subnets[].properties.serviceEndpoints" options="service-endpoints" group="Properties"> <help short="An array of service endpoints."/> <item nullable="True" type="object"> <arg nullable="True" type="array<string>" var="$parameters.properties.subnets[].properties.serviceEndpoints[].locations" options="locations"> <help short="A list of locations."/> <item nullable="True" type="string"/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.serviceEndpoints[].provisioningState" options="provisioning-state"> <help short="The provisioning state of the resource."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.subnets[].properties.serviceEndpoints[].service" options="service"> <help short="The type of the endpoint service."/> </arg> </item> </arg> </item> </arg> <arg nullable="True" type="array<object>" var="$parameters.properties.virtualNetworkPeerings" options="virtual-network-peerings" hide="True" group="Properties"> <help short="A list of peerings in a Virtual Network."/> <item nullable="True" type="object"> <arg nullable="True" type="string" var="$parameters.properties.virtualNetworkPeerings[].etag" options="etag"> <help short="A unique read-only string that changes whenever the resource is updated."/> </arg> <arg nullable="True" type="ResourceId" var="$parameters.properties.virtualNetworkPeerings[].id" options="id"> <help short="Resource ID."/> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/virtualNetworkPeerings/{}"/> </arg> <arg nullable="True" type="string" var="$parameters.properties.virtualNetworkPeerings[].name" options="name"> <help short="The name of the resource that is unique within a resource group. This name can be used to access the resource."/> </arg> <arg nullable="True" type="boolean" var="$parameters.properties.virtualNetworkPeerings[].properties.allowForwardedTraffic" options="allow-forwarded-traffic" group="Properties"> <help short="Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network."/> </arg> <arg nullable="True" type="boolean" var="$parameters.properties.virtualNetworkPeerings[].properties.allowGatewayTransit" options="allow-gateway-transit" group="Properties"> <help short="If gateway links can be used in remote virtual networking to link to this virtual network."/> </arg> <arg nullable="True" type="boolean" var="$parameters.properties.virtualNetworkPeerings[].properties.allowVirtualNetworkAccess" options="allow-virtual-network-access" group="Properties"> <help short="Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.virtualNetworkPeerings[].properties.peeringState" options="peering-state" group="Properties"> <help short="The status of the virtual network peering."/> <enum> <item name="Connected" value="&quot;Connected&quot;"/> <item name="Disconnected" value="&quot;Disconnected&quot;"/> <item name="Initiated" value="&quot;Initiated&quot;"/> </enum> </arg> <arg nullable="True" type="string" var="$parameters.properties.virtualNetworkPeerings[].properties.provisioningState" options="provisioning-state" group="Properties"> <help short="The provisioning state of the resource."/> </arg> <arg nullable="True" type="object" var="$parameters.properties.virtualNetworkPeerings[].properties.remoteAddressSpace" options="remote-address-space" group="Properties" cls="AddressSpace_update"> <help short="The reference to the address space peered with the remote virtual network."/> <arg nullable="True" type="array<string>" var="@AddressSpace_update.addressPrefixes" options="address-prefixes"> <help short="A list of address blocks reserved for this virtual network in CIDR notation."/> <item nullable="True" type="string"/> </arg> </arg> <arg nullable="True" type="object" var="$parameters.properties.virtualNetworkPeerings[].properties.remoteVirtualNetwork" options="remote-virtual-network" group="Properties"> <help short="The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering)."/> <arg nullable="True" type="string" var="$parameters.properties.virtualNetworkPeerings[].properties.remoteVirtualNetwork.id" options="id"> <help short="Resource ID."/> </arg> </arg> <arg nullable="True" type="boolean" var="$parameters.properties.virtualNetworkPeerings[].properties.useRemoteGateways" options="use-remote-gateways" group="Properties"> <help short="If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway."/> </arg> </item> </arg> </argGroup> <operation operationId="VirtualNetworks_Get"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}"> <request method="get"> <path> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/> <param type="string" name="virtualNetworkName" arg="$Path.virtualNetworkName" required="True"/> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2018-11-01&quot;"/> </const> </query> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object" cls="VirtualNetwork_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="addressSpace" cls="AddressSpace_read"> <prop type="array<string>" name="addressPrefixes"> <item type="string"/> </prop> </prop> <prop type="object" name="ddosProtectionPlan"> <prop type="string" name="id"/> </prop> <prop type="object" name="dhcpOptions"> <prop type="array<string>" name="dnsServers"> <item type="string"/> </prop> </prop> <prop type="boolean" name="enableDdosProtection"> <default value="false"/> </prop> <prop type="boolean" name="enableVmProtection"> <default value="false"/> </prop> <prop type="string" name="provisioningState"/> <prop type="string" name="resourceGuid"/> <prop type="array<object>" name="subnets"> <item type="object" cls="Subnet_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/subnets/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="addressPrefix"/> <prop type="array<string>" name="addressPrefixes"> <item type="string"/> </prop> <prop type="array<object>" name="delegations"> <item type="object"> <prop type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<string>" name="actions"> <item type="string"/> </prop> <prop readOnly="True" type="string" name="provisioningState"/> <prop type="string" name="serviceName"/> </prop> </item> </prop> <prop readOnly="True" type="array<@InterfaceEndpoint_read>" name="interfaceEndpoints"> <item type="@InterfaceEndpoint_read"/> </prop> <prop readOnly="True" type="array<object>" name="ipConfigurationProfiles"> <item type="object"> <prop type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="string" name="provisioningState"/> <prop type="@Subnet_read" name="subnet"/> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> <prop readOnly="True" type="array<@IPConfiguration_read>" name="ipConfigurations"> <item type="@IPConfiguration_read"/> </prop> <prop type="object" name="networkSecurityGroup" cls="NetworkSecurityGroup_read"> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkSecurityGroups/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<@SecurityRule_read>" name="defaultSecurityRules"> <item type="@SecurityRule_read"/> </prop> <prop readOnly="True" type="array<object>" name="networkInterfaces"> <item type="object" cls="NetworkInterface_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkInterfaces/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="dnsSettings"> <prop type="array<string>" name="appliedDnsServers"> <item type="string"/> </prop> <prop type="array<string>" name="dnsServers"> <item type="string"/> </prop> <prop type="string" name="internalDnsNameLabel"/> <prop type="string" name="internalDomainNameSuffix"/> <prop type="string" name="internalFqdn"/> </prop> <prop type="boolean" name="enableAcceleratedNetworking"/> <prop type="boolean" name="enableIPForwarding"/> <prop readOnly="True" type="array<string>" name="hostedWorkloads"> <item type="string"/> </prop> <prop type="object" name="interfaceEndpoint" cls="InterfaceEndpoint_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/interfaceEndpoints/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="endpointService"> <prop type="string" name="id"/> </prop> <prop type="string" name="fqdn"/> <prop readOnly="True" type="array<@NetworkInterface_read>" name="networkInterfaces"> <item type="@NetworkInterface_read"/> </prop> <prop readOnly="True" type="string" name="owner"/> <prop readOnly="True" type="string" name="provisioningState"/> <prop type="@Subnet_read" name="subnet"/> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </prop> <prop type="array<object>" name="ipConfigurations"> <item type="object" cls="NetworkInterfaceIPConfiguration_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkInterfaces/{}/ipConfigurations/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<object>" name="applicationGatewayBackendAddressPools"> <item type="object"> <prop type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<object>" name="backendAddresses"> <item type="object"> <prop type="string" name="fqdn"/> <prop type="string" name="ipAddress"/> </item> </prop> <prop type="array<@NetworkInterfaceIPConfiguration_read>" name="backendIPConfigurations"> <item type="@NetworkInterfaceIPConfiguration_read"/> </prop> <prop type="string" name="provisioningState"/> </prop> <prop type="string" name="type"/> </item> </prop> <prop type="array<@ApplicationSecurityGroup_read>" name="applicationSecurityGroups"> <item type="@ApplicationSecurityGroup_read"/> </prop> <prop type="array<object>" name="loadBalancerBackendAddressPools"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/loadBalancers/{}/backendAddressPools/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="array<@NetworkInterfaceIPConfiguration_read>" name="backendIPConfigurations"> <item type="@NetworkInterfaceIPConfiguration_read"/> </prop> <prop readOnly="True" type="array<@SubResource_read>" name="loadBalancingRules"> <item type="@SubResource_read"/> </prop> <prop readOnly="True" type="@SubResource_read" name="outboundRule"/> <prop readOnly="True" type="array<@SubResource_read>" name="outboundRules"> <item type="@SubResource_read"/> </prop> <prop type="string" name="provisioningState"/> </prop> </item> </prop> <prop type="array<object>" name="loadBalancerInboundNatRules"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/loadBalancers/{}/inboundNatRules/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="@NetworkInterfaceIPConfiguration_read" name="backendIPConfiguration"/> <prop type="integer32" name="backendPort"/> <prop type="boolean" name="enableFloatingIP"/> <prop type="boolean" name="enableTcpReset"/> <prop type="@SubResource_read" name="frontendIPConfiguration"/> <prop type="integer32" name="frontendPort"/> <prop type="integer32" name="idleTimeoutInMinutes"/> <prop type="string" name="protocol"> <enum> <item value="&quot;All&quot;"/> <item value="&quot;Tcp&quot;"/> <item value="&quot;Udp&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> </prop> </item> </prop> <prop type="boolean" name="primary"/> <prop type="string" name="privateIPAddress"/> <prop type="string" name="privateIPAddressVersion"> <enum> <item value="&quot;IPv4&quot;"/> <item value="&quot;IPv6&quot;"/> </enum> </prop> <prop type="string" name="privateIPAllocationMethod"> <enum> <item value="&quot;Dynamic&quot;"/> <item value="&quot;Static&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> <prop type="@PublicIPAddress_read" name="publicIPAddress"/> <prop type="@Subnet_read" name="subnet"/> <prop type="array<object>" name="virtualNetworkTaps"> <item type="object" cls="VirtualNetworkTap_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkTaps/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="destinationLoadBalancerFrontEndIPConfiguration"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/loadBalancers/{}/frontendIPConfigurations/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="array<@SubResource_read>" name="inboundNatPools"> <item type="@SubResource_read"/> </prop> <prop readOnly="True" type="array<@SubResource_read>" name="inboundNatRules"> <item type="@SubResource_read"/> </prop> <prop readOnly="True" type="array<@SubResource_read>" name="loadBalancingRules"> <item type="@SubResource_read"/> </prop> <prop readOnly="True" type="array<@SubResource_read>" name="outboundRules"> <item type="@SubResource_read"/> </prop> <prop type="string" name="privateIPAddress"/> <prop type="string" name="privateIPAllocationMethod"> <enum> <item value="&quot;Dynamic&quot;"/> <item value="&quot;Static&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> <prop type="object" name="publicIPAddress" cls="PublicIPAddress_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/publicIPAddresses/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="ddosSettings"> <prop type="@SubResource_read" name="ddosCustomPolicy"/> <prop type="string" name="protectionCoverage"> <enum> <item value="&quot;Basic&quot;"/> <item value="&quot;Standard&quot;"/> </enum> </prop> </prop> <prop type="object" name="dnsSettings"> <prop type="string" name="domainNameLabel"/> <prop type="string" name="fqdn"/> <prop type="string" name="reverseFqdn"/> </prop> <prop type="integer32" name="idleTimeoutInMinutes"/> <prop type="string" name="ipAddress"/> <prop type="object" name="ipConfiguration" cls="IPConfiguration_read"> <prop type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="privateIPAddress"/> <prop type="string" name="privateIPAllocationMethod"> <enum> <item value="&quot;Dynamic&quot;"/> <item value="&quot;Static&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> <prop type="@PublicIPAddress_read" name="publicIPAddress"/> <prop type="@Subnet_read" name="subnet"/> </prop> </prop> <prop type="array<object>" name="ipTags"> <item type="object"> <prop type="string" name="ipTagType"/> <prop type="string" name="tag"/> </item> </prop> <prop type="string" name="provisioningState"/> <prop type="string" name="publicIPAddressVersion"> <enum> <item value="&quot;IPv4&quot;"/> <item value="&quot;IPv6&quot;"/> </enum> </prop> <prop type="string" name="publicIPAllocationMethod"> <enum> <item value="&quot;Dynamic&quot;"/> <item value="&quot;Static&quot;"/> </enum> </prop> <prop type="@SubResource_read" name="publicIPPrefix"/> <prop type="string" name="resourceGuid"/> </prop> <prop type="object" name="sku"> <prop type="string" name="name"> <enum> <item value="&quot;Basic&quot;"/> <item value="&quot;Standard&quot;"/> </enum> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> <prop type="array<string>" name="zones"> <item type="string"/> </prop> </prop> <prop type="@SubResource_read" name="publicIPPrefix"/> <prop type="@Subnet_read" name="subnet"/> </prop> <prop type="array<string>" name="zones"> <item type="string"/> </prop> </prop> <prop type="@NetworkInterfaceIPConfiguration_read" name="destinationNetworkInterfaceIPConfiguration"/> <prop type="integer" name="destinationPort"/> <prop readOnly="True" type="array<object>" name="networkInterfaceTapConfigurations"> <item type="object" cls="NetworkInterfaceTapConfiguration_read"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkInterfaces/{}/tapConfigurations/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="string" name="provisioningState"/> <prop type="@VirtualNetworkTap_read" name="virtualNetworkTap"/> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> <prop readOnly="True" type="string" name="provisioningState"/> <prop readOnly="True" type="string" name="resourceGuid"/> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> </prop> </item> </prop> <prop type="string" name="macAddress"/> <prop type="@NetworkSecurityGroup_read" name="networkSecurityGroup"/> <prop type="boolean" name="primary"/> <prop type="string" name="provisioningState"/> <prop type="string" name="resourceGuid"/> <prop type="array<@NetworkInterfaceTapConfiguration_read>" name="tapConfigurations"> <item type="@NetworkInterfaceTapConfiguration_read"/> </prop> <prop type="object" name="virtualMachine" cls="SubResource_read"> <prop type="string" name="id"/> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> <prop type="string" name="provisioningState"/> <prop type="string" name="resourceGuid"/> <prop type="array<object>" name="securityRules"> <item type="object" cls="SecurityRule_read"> <prop type="ResourceId" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="access" required="True"> <enum> <item value="&quot;Allow&quot;"/> <item value="&quot;Deny&quot;"/> </enum> </prop> <prop type="string" name="description"/> <prop type="string" name="destinationAddressPrefix"/> <prop type="array<string>" name="destinationAddressPrefixes"> <item type="string"/> </prop> <prop type="array<@ApplicationSecurityGroup_read>" name="destinationApplicationSecurityGroups"> <item type="@ApplicationSecurityGroup_read"/> </prop> <prop type="string" name="destinationPortRange"/> <prop type="array<string>" name="destinationPortRanges"> <item type="string"/> </prop> <prop type="string" name="direction" required="True"> <enum> <item value="&quot;Inbound&quot;"/> <item value="&quot;Outbound&quot;"/> </enum> </prop> <prop type="integer32" name="priority"/> <prop type="string" name="protocol" required="True"> <enum> <item value="&quot;*&quot;"/> <item value="&quot;Tcp&quot;"/> <item value="&quot;Udp&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> <prop type="string" name="sourceAddressPrefix"/> <prop type="array<string>" name="sourceAddressPrefixes"> <item type="string"/> </prop> <prop type="array<object>" name="sourceApplicationSecurityGroups"> <item type="object" cls="ApplicationSecurityGroup_read"> <prop readOnly="True" type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/applicationSecurityGroups/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="string" name="provisioningState"/> <prop readOnly="True" type="string" name="resourceGuid"/> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> <prop type="string" name="sourcePortRange"/> <prop type="array<string>" name="sourcePortRanges"> <item type="string"/> </prop> </prop> </item> </prop> <prop readOnly="True" type="array<@Subnet_read>" name="subnets"> <item type="@Subnet_read"/> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </prop> <prop type="string" name="provisioningState"/> <prop readOnly="True" type="string" name="purpose"/> <prop type="array<object>" name="resourceNavigationLinks"> <item type="object"> <prop readOnly="True" type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="link"/> <prop type="string" name="linkedResourceType"/> <prop readOnly="True" type="string" name="provisioningState"/> </prop> </item> </prop> <prop type="object" name="routeTable"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="boolean" name="disableBgpRoutePropagation"/> <prop type="string" name="provisioningState"/> <prop type="array<object>" name="routes"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}/routes/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="addressPrefix"/> <prop type="string" name="nextHopIpAddress"/> <prop type="string" name="nextHopType" required="True"> <enum> <item value="&quot;Internet&quot;"/> <item value="&quot;None&quot;"/> <item value="&quot;VirtualAppliance&quot;"/> <item value="&quot;VirtualNetworkGateway&quot;"/> <item value="&quot;VnetLocal&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> </prop> </item> </prop> <prop readOnly="True" type="array<@Subnet_read>" name="subnets"> <item type="@Subnet_read"/> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </prop> <prop type="array<object>" name="serviceAssociationLinks"> <item type="object"> <prop readOnly="True" type="string" name="etag"/> <prop type="string" name="id"/> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="link"/> <prop type="string" name="linkedResourceType"/> <prop readOnly="True" type="string" name="provisioningState"/> </prop> </item> </prop> <prop type="array<object>" name="serviceEndpointPolicies"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/serviceEndpointPolicies/{}"/> </prop> <prop type="ResourceLocation" name="location"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="string" name="provisioningState"/> <prop readOnly="True" type="string" name="resourceGuid"/> <prop type="array<object>" name="serviceEndpointPolicyDefinitions"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/serviceEndpointPolicies/{}/serviceEndpointPolicyDefinitions/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="description"/> <prop readOnly="True" type="string" name="provisioningState"/> <prop type="string" name="service"/> <prop type="array<string>" name="serviceResources"> <item type="string"/> </prop> </prop> </item> </prop> <prop readOnly="True" type="array<@Subnet_read>" name="subnets"> <item type="@Subnet_read"/> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> <prop type="array<object>" name="serviceEndpoints"> <item type="object"> <prop type="array<string>" name="locations"> <item type="string"/> </prop> <prop type="string" name="provisioningState"/> <prop type="string" name="service"/> </item> </prop> </prop> </item> </prop> <prop type="array<object>" name="virtualNetworkPeerings"> <item type="object"> <prop type="string" name="etag"/> <prop type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/virtualNetworkPeerings/{}"/> </prop> <prop type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="boolean" name="allowForwardedTraffic"/> <prop type="boolean" name="allowGatewayTransit"/> <prop type="boolean" name="allowVirtualNetworkAccess"/> <prop type="string" name="peeringState"> <enum> <item value="&quot;Connected&quot;"/> <item value="&quot;Disconnected&quot;"/> <item value="&quot;Initiated&quot;"/> </enum> </prop> <prop type="string" name="provisioningState"/> <prop type="@AddressSpace_read" name="remoteAddressSpace"/> <prop type="@SubResource_read" name="remoteVirtualNetwork"/> <prop type="boolean" name="useRemoteGateways"/> </prop> </item> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </schema> </json> </body> </response> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> <operation> <instanceUpdate ref="$Instance"> <json> <schema type="object" name="parameters" required="True" clientFlatten="True"> <prop type="string" name="etag" arg="$parameters.etag"/> <prop type="ResourceId" name="id" arg="$parameters.id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}"/> </prop> <prop type="ResourceLocation" name="location" arg="$parameters.location"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="object" name="addressSpace"> <prop type="array<string>" name="addressPrefixes" arg="$parameters.properties.addressSpace.addressPrefixes"> <item type="string"/> </prop> </prop> <prop type="object" name="ddosProtectionPlan"> <prop type="string" name="id" arg="$parameters.properties.ddosProtectionPlan.id"/> </prop> <prop type="object" name="dhcpOptions"> <prop type="array<string>" name="dnsServers" arg="$parameters.properties.dhcpOptions.dnsServers"> <item type="string"/> </prop> </prop> <prop type="boolean" name="enableDdosProtection" arg="$parameters.properties.enableDdosProtection"> <default value="false"/> </prop> <prop type="boolean" name="enableVmProtection" arg="$parameters.properties.enableVmProtection"> <default value="false"/> </prop> <prop type="string" name="provisioningState" arg="$parameters.properties.provisioningState"/> <prop type="string" name="resourceGuid" arg="$parameters.properties.resourceGuid"/> <prop type="array<object>" name="subnets" arg="$parameters.properties.subnets"> <item type="object"> <prop type="string" name="etag" arg="$parameters.properties.subnets[].etag"/> <prop type="ResourceId" name="id" arg="$parameters.properties.subnets[].id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/subnets/{}"/> </prop> <prop type="string" name="name" arg="$parameters.properties.subnets[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="addressPrefix" arg="$parameters.properties.subnets[].properties.addressPrefix"/> <prop type="array<string>" name="addressPrefixes" arg="$parameters.properties.subnets[].properties.addressPrefixes"> <item type="string"/> </prop> <prop type="array<object>" name="delegations" arg="$parameters.properties.subnets[].properties.delegations"> <item type="object"> <prop type="string" name="etag" arg="$parameters.properties.subnets[].properties.delegations[].etag"/> <prop type="string" name="id" arg="$parameters.properties.subnets[].properties.delegations[].id"/> <prop type="string" name="name" arg="$parameters.properties.subnets[].properties.delegations[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<string>" name="actions" arg="$parameters.properties.subnets[].properties.delegations[].properties.actions"> <item type="string"/> </prop> <prop type="string" name="serviceName" arg="$parameters.properties.subnets[].properties.delegations[].properties.serviceName"/> </prop> </item> </prop> <prop type="object" name="networkSecurityGroup" arg="$parameters.properties.subnets[].properties.networkSecurityGroup"> <prop type="ResourceId" name="id" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkSecurityGroups/{}"/> </prop> <prop type="ResourceLocation" name="location" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.location"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<object>" name="defaultSecurityRules" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.defaultSecurityRules"> <item type="object" cls="SecurityRule_update"> <prop type="ResourceId" name="id" arg="@SecurityRule_update.id"/> <prop type="string" name="name" arg="@SecurityRule_update.name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="access" arg="@SecurityRule_update.properties.access" required="True"> <enum> <item value="&quot;Allow&quot;"/> <item value="&quot;Deny&quot;"/> </enum> </prop> <prop type="string" name="description" arg="@SecurityRule_update.properties.description"/> <prop type="string" name="destinationAddressPrefix" arg="@SecurityRule_update.properties.destinationAddressPrefix"/> <prop type="array<string>" name="destinationAddressPrefixes" arg="@SecurityRule_update.properties.destinationAddressPrefixes"> <item type="string"/> </prop> <prop type="array<@ApplicationSecurityGroup_update>" name="destinationApplicationSecurityGroups" arg="@SecurityRule_update.properties.destinationApplicationSecurityGroups"> <item type="@ApplicationSecurityGroup_update"/> </prop> <prop type="string" name="destinationPortRange" arg="@SecurityRule_update.properties.destinationPortRange"/> <prop type="array<string>" name="destinationPortRanges" arg="@SecurityRule_update.properties.destinationPortRanges"> <item type="string"/> </prop> <prop type="string" name="direction" arg="@SecurityRule_update.properties.direction" required="True"> <enum> <item value="&quot;Inbound&quot;"/> <item value="&quot;Outbound&quot;"/> </enum> </prop> <prop type="integer32" name="priority" arg="@SecurityRule_update.properties.priority"/> <prop type="string" name="protocol" arg="@SecurityRule_update.properties.protocol" required="True"> <enum> <item value="&quot;*&quot;"/> <item value="&quot;Tcp&quot;"/> <item value="&quot;Udp&quot;"/> </enum> </prop> <prop type="string" name="provisioningState" arg="@SecurityRule_update.properties.provisioningState"/> <prop type="string" name="sourceAddressPrefix" arg="@SecurityRule_update.properties.sourceAddressPrefix"/> <prop type="array<string>" name="sourceAddressPrefixes" arg="@SecurityRule_update.properties.sourceAddressPrefixes"> <item type="string"/> </prop> <prop type="array<object>" name="sourceApplicationSecurityGroups" arg="@SecurityRule_update.properties.sourceApplicationSecurityGroups"> <item type="object" cls="ApplicationSecurityGroup_update"> <prop type="ResourceId" name="id" arg="@ApplicationSecurityGroup_update.id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/applicationSecurityGroups/{}"/> </prop> <prop type="ResourceLocation" name="location" arg="@ApplicationSecurityGroup_update.location"/> <prop type="object" name="tags" arg="@ApplicationSecurityGroup_update.tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> </item> </prop> <prop type="string" name="sourcePortRange" arg="@SecurityRule_update.properties.sourcePortRange"/> <prop type="array<string>" name="sourcePortRanges" arg="@SecurityRule_update.properties.sourcePortRanges"> <item type="string"/> </prop> </prop> </item> </prop> <prop type="string" name="provisioningState" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.provisioningState"/> <prop type="string" name="resourceGuid" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.resourceGuid"/> <prop type="array<object>" name="securityRules" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules"> <item type="object"> <prop type="ResourceId" name="id" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].id"/> <prop type="string" name="name" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="access" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.access" required="True"> <enum> <item value="&quot;Allow&quot;"/> <item value="&quot;Deny&quot;"/> </enum> </prop> <prop type="string" name="description" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.description"/> <prop type="string" name="destinationAddressPrefix" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationAddressPrefix"/> <prop type="array<string>" name="destinationAddressPrefixes" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationAddressPrefixes"> <item type="string"/> </prop> <prop type="array<@ApplicationSecurityGroup_update>" name="destinationApplicationSecurityGroups" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationApplicationSecurityGroups"> <item type="@ApplicationSecurityGroup_update"/> </prop> <prop type="string" name="destinationPortRange" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationPortRange"/> <prop type="array<string>" name="destinationPortRanges" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.destinationPortRanges"> <item type="string"/> </prop> <prop type="string" name="direction" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.direction" required="True"> <enum> <item value="&quot;Inbound&quot;"/> <item value="&quot;Outbound&quot;"/> </enum> </prop> <prop type="integer32" name="priority" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.priority"/> <prop type="string" name="protocol" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.protocol" required="True"> <enum> <item value="&quot;*&quot;"/> <item value="&quot;Tcp&quot;"/> <item value="&quot;Udp&quot;"/> </enum> </prop> <prop type="string" name="provisioningState" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.provisioningState"/> <prop type="string" name="sourceAddressPrefix" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourceAddressPrefix"/> <prop type="array<string>" name="sourceAddressPrefixes" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourceAddressPrefixes"> <item type="string"/> </prop> <prop type="array<@ApplicationSecurityGroup_update>" name="sourceApplicationSecurityGroups" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourceApplicationSecurityGroups"> <item type="@ApplicationSecurityGroup_update"/> </prop> <prop type="string" name="sourcePortRange" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourcePortRange"/> <prop type="array<string>" name="sourcePortRanges" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.properties.securityRules[].properties.sourcePortRanges"> <item type="string"/> </prop> </prop> </item> </prop> </prop> <prop type="object" name="tags" arg="$parameters.properties.subnets[].properties.networkSecurityGroup.tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> </prop> <prop type="string" name="provisioningState" arg="$parameters.properties.subnets[].properties.provisioningState"/> <prop type="array<object>" name="resourceNavigationLinks" arg="$parameters.properties.subnets[].properties.resourceNavigationLinks"> <item type="object"> <prop type="string" name="id" arg="$parameters.properties.subnets[].properties.resourceNavigationLinks[].id"/> <prop type="string" name="name" arg="$parameters.properties.subnets[].properties.resourceNavigationLinks[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="link" arg="$parameters.properties.subnets[].properties.resourceNavigationLinks[].properties.link"/> <prop type="string" name="linkedResourceType" arg="$parameters.properties.subnets[].properties.resourceNavigationLinks[].properties.linkedResourceType"/> </prop> </item> </prop> <prop type="object" name="routeTable" arg="$parameters.properties.subnets[].properties.routeTable"> <prop type="string" name="etag" arg="$parameters.properties.subnets[].properties.routeTable.etag"/> <prop type="ResourceId" name="id" arg="$parameters.properties.subnets[].properties.routeTable.id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}"/> </prop> <prop type="ResourceLocation" name="location" arg="$parameters.properties.subnets[].properties.routeTable.location"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="boolean" name="disableBgpRoutePropagation" arg="$parameters.properties.subnets[].properties.routeTable.properties.disableBgpRoutePropagation"/> <prop type="string" name="provisioningState" arg="$parameters.properties.subnets[].properties.routeTable.properties.provisioningState"/> <prop type="array<object>" name="routes" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes"> <item type="object"> <prop type="string" name="etag" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes[].etag"/> <prop type="ResourceId" name="id" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes[].id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}/routes/{}"/> </prop> <prop type="string" name="name" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="addressPrefix" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.addressPrefix"/> <prop type="string" name="nextHopIpAddress" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.nextHopIpAddress"/> <prop type="string" name="nextHopType" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.nextHopType" required="True"> <enum> <item value="&quot;Internet&quot;"/> <item value="&quot;None&quot;"/> <item value="&quot;VirtualAppliance&quot;"/> <item value="&quot;VirtualNetworkGateway&quot;"/> <item value="&quot;VnetLocal&quot;"/> </enum> </prop> <prop type="string" name="provisioningState" arg="$parameters.properties.subnets[].properties.routeTable.properties.routes[].properties.provisioningState"/> </prop> </item> </prop> </prop> <prop type="object" name="tags" arg="$parameters.properties.subnets[].properties.routeTable.tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> </prop> <prop type="array<object>" name="serviceAssociationLinks" arg="$parameters.properties.subnets[].properties.serviceAssociationLinks"> <item type="object"> <prop type="string" name="id" arg="$parameters.properties.subnets[].properties.serviceAssociationLinks[].id"/> <prop type="string" name="name" arg="$parameters.properties.subnets[].properties.serviceAssociationLinks[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="link" arg="$parameters.properties.subnets[].properties.serviceAssociationLinks[].properties.link"/> <prop type="string" name="linkedResourceType" arg="$parameters.properties.subnets[].properties.serviceAssociationLinks[].properties.linkedResourceType"/> </prop> </item> </prop> <prop type="array<object>" name="serviceEndpointPolicies" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies"> <item type="object"> <prop type="string" name="etag" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].etag"/> <prop type="ResourceId" name="id" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/serviceEndpointPolicies/{}"/> </prop> <prop type="ResourceLocation" name="location" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].location"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<object>" name="serviceEndpointPolicyDefinitions" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions"> <item type="object"> <prop type="string" name="etag" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].etag"/> <prop type="ResourceId" name="id" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/serviceEndpointPolicies/{}/serviceEndpointPolicyDefinitions/{}"/> </prop> <prop type="string" name="name" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="string" name="description" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].properties.description"/> <prop type="string" name="service" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].properties.service"/> <prop type="array<string>" name="serviceResources" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].properties.serviceEndpointPolicyDefinitions[].properties.serviceResources"> <item type="string"/> </prop> </prop> </item> </prop> </prop> <prop type="object" name="tags" arg="$parameters.properties.subnets[].properties.serviceEndpointPolicies[].tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> </item> </prop> <prop type="array<object>" name="serviceEndpoints" arg="$parameters.properties.subnets[].properties.serviceEndpoints"> <item type="object"> <prop type="array<string>" name="locations" arg="$parameters.properties.subnets[].properties.serviceEndpoints[].locations"> <item type="string"/> </prop> <prop type="string" name="provisioningState" arg="$parameters.properties.subnets[].properties.serviceEndpoints[].provisioningState"/> <prop type="string" name="service" arg="$parameters.properties.subnets[].properties.serviceEndpoints[].service"/> </item> </prop> </prop> </item> </prop> <prop type="array<object>" name="virtualNetworkPeerings" arg="$parameters.properties.virtualNetworkPeerings"> <item type="object"> <prop type="string" name="etag" arg="$parameters.properties.virtualNetworkPeerings[].etag"/> <prop type="ResourceId" name="id" arg="$parameters.properties.virtualNetworkPeerings[].id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/virtualNetworkPeerings/{}"/> </prop> <prop type="string" name="name" arg="$parameters.properties.virtualNetworkPeerings[].name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="boolean" name="allowForwardedTraffic" arg="$parameters.properties.virtualNetworkPeerings[].properties.allowForwardedTraffic"/> <prop type="boolean" name="allowGatewayTransit" arg="$parameters.properties.virtualNetworkPeerings[].properties.allowGatewayTransit"/> <prop type="boolean" name="allowVirtualNetworkAccess" arg="$parameters.properties.virtualNetworkPeerings[].properties.allowVirtualNetworkAccess"/> <prop type="string" name="peeringState" arg="$parameters.properties.virtualNetworkPeerings[].properties.peeringState"> <enum> <item value="&quot;Connected&quot;"/> <item value="&quot;Disconnected&quot;"/> <item value="&quot;Initiated&quot;"/> </enum> </prop> <prop type="string" name="provisioningState" arg="$parameters.properties.virtualNetworkPeerings[].properties.provisioningState"/> <prop type="object" name="remoteAddressSpace" arg="$parameters.properties.virtualNetworkPeerings[].properties.remoteAddressSpace" cls="AddressSpace_update"> <prop type="array<string>" name="addressPrefixes" arg="@AddressSpace_update.addressPrefixes"> <item type="string"/> </prop> </prop> <prop type="object" name="remoteVirtualNetwork" arg="$parameters.properties.virtualNetworkPeerings[].properties.remoteVirtualNetwork"> <prop type="string" name="id" arg="$parameters.properties.virtualNetworkPeerings[].properties.remoteVirtualNetwork.id"/> </prop> <prop type="boolean" name="useRemoteGateways" arg="$parameters.properties.virtualNetworkPeerings[].properties.useRemoteGateways"/> </prop> </item> </prop> </prop> <prop type="object" name="tags" arg="$parameters.tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> </schema> </json> </instanceUpdate> </operation> <operation operationId="VirtualNetworks_CreateOrUpdate"> <longRunning finalStateVia="azure-async-operation"/> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}"> <request method="put"> <path> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/> <param type="string" name="virtualNetworkName" arg="$Path.virtualNetworkName" required="True"/> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2018-11-01&quot;"/> </const> </query> <body> <json ref="$Instance"/> </body> </request> <response statusCode="200 201"> <body> <json var="$Instance"> <schema type="@VirtualNetwork_read"/> </json> </body> </response> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> <output type="object" ref="$Instance" clientFlatten="True"/> </command> </commandGroup> </CodeGen>