{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-network-virtualnetwork","description":"NetworkManagementClient","version":"2019-08-01","base_url":"https://management.azure.com","endpoints":20,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api NetworkManagementClient\n@base https://management.azure.com\n@version 2019-08-01\n@auth OAuth2\n@common_fields {resourceGroupName: any # The name of the resource group.}\n@endpoints 20\n@toc subscriptions(20)\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}\n@desc Deletes the specified virtual network.\n@required {virtualNetworkName: any # The name of the virtual network.}\n@returns(200) Delete successful.\n@returns(202) Accepted and the operation will complete asynchronously.\n@returns(204) Delete successful.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}\n@desc Gets the specified virtual network by resource group.\n@required {virtualNetworkName: any # The name of the virtual network.}\n@optional {$expand: any # Expands referenced resources.}\n@returns(200) Request successful. The operation returns the resulting VirtualNetwork resource.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}\n@desc Creates or updates a virtual network in the specified resource group.\n@required {virtualNetworkName: any # The name of the virtual network., parameters: any # Parameters supplied to the create or update virtual network operation.}\n@returns(200) Update successful. The operation returns the resulting VirtualNetwork resource.\n@returns(201) Create successful. The operation returns the resulting VirtualNetwork resource.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}\n@desc Updates a virtual network tags.\n@required {virtualNetworkName: any # The name of the virtual network., parameters: any # Parameters supplied to update virtual network tags.}\n@returns(200) Update successful. The operation returns the resulting VirtualNetwork resource.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks\n@desc Gets all virtual networks in a subscription.\n@returns(200) Request successful. The operation returns a list of VirtualNetwork resources.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks\n@desc Gets all virtual networks in a resource group.\n@returns(200) Request successful. The operation returns a list of VirtualNetwork resources.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}\n@desc Deletes the specified subnet.\n@required {virtualNetworkName: any # The name of the virtual network., subnetName: any # The name of the subnet.}\n@returns(200) Delete successful.\n@returns(202) Accepted and the operation will complete asynchronously.\n@returns(204) Request successful. Resource does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}\n@desc Gets the specified subnet by virtual network and resource group.\n@required {virtualNetworkName: any # The name of the virtual network., subnetName: any # The name of the subnet.}\n@optional {$expand: any # Expands referenced resources.}\n@returns(200) Request successful. The operation returns the resulting Subnet resource.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}\n@desc Creates or updates a subnet in the specified virtual network.\n@required {virtualNetworkName: any # The name of the virtual network., subnetName: any # The name of the subnet., subnetParameters: any # Parameters supplied to the create or update subnet operation.}\n@returns(200) Update successful. The operation returns the resulting Subnet resource.\n@returns(201) Create successful. The operation returns the resulting Subnet resource.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/PrepareNetworkPolicies\n@desc Prepares a subnet by applying network intent policies.\n@required {virtualNetworkName: any # The name of the virtual network., subnetName: any # The name of the subnet., prepareNetworkPoliciesRequestParameters: any # Parameters supplied to prepare subnet by applying network intent policies.}\n@returns(200) Preparing subnet by applying network intent policies is successful.\n@returns(202) Accepted and the operation will complete asynchronously.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/UnprepareNetworkPolicies\n@desc Unprepares a subnet by removing network intent policies.\n@required {virtualNetworkName: any # The name of the virtual network., subnetName: any # The name of the subnet., unprepareNetworkPoliciesRequestParameters: any # Parameters supplied to unprepare subnet to remove network intent policies.}\n@returns(200) Unpreparing subnet by removing network intent policies is successful.\n@returns(202) Accepted and the operation will complete asynchronously.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ResourceNavigationLinks\n@desc Gets a list of resource navigation links for a subnet.\n@required {virtualNetworkName: any # The name of the virtual network., subnetName: any # The name of the subnet.}\n@returns(200) Request successful. The operation returns a list of resource navigation links for the subnet.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ServiceAssociationLinks\n@desc Gets a list of service association links for a subnet.\n@required {virtualNetworkName: any # The name of the virtual network., subnetName: any # The name of the subnet.}\n@returns(200) Request successful. The operation returns a list of service association links for the subnet.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets\n@desc Gets all subnets in a virtual network.\n@required {virtualNetworkName: any # The name of the virtual network.}\n@returns(200) Request successful. The operation returns a list of Subnet resources.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}\n@desc Deletes the specified virtual network peering.\n@required {virtualNetworkName: any # The name of the virtual network., virtualNetworkPeeringName: any # The name of the virtual network peering.}\n@returns(200) Delete successful.\n@returns(202) Accepted and the operation will complete asynchronously.\n@returns(204) Delete successful.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}\n@desc Gets the specified virtual network peering.\n@required {virtualNetworkName: any # The name of the virtual network., virtualNetworkPeeringName: any # The name of the virtual network peering.}\n@returns(200) Request successful. The operation returns the resulting VirtualNetworkPeering resource.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}\n@desc Creates or updates a peering in the specified virtual network.\n@required {virtualNetworkName: any # The name of the virtual network., virtualNetworkPeeringName: any # The name of the peering., VirtualNetworkPeeringParameters: any # Parameters supplied to the create or update virtual network peering operation.}\n@returns(200) Update successful. The operation returns the resulting VirtualNetworkPeering resource.\n@returns(201) Create successful. The operation returns the resulting VirtualNetworkPeering resource.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings\n@desc Gets all virtual network peerings in a virtual network.\n@required {virtualNetworkName: any # The name of the virtual network.}\n@returns(200) Request successful. The operation returns a list of VirtualNetworkPeering resources.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability\n@desc Checks whether a private IP address is available for use.\n@required {virtualNetworkName: any # The name of the virtual network., ipAddress: any # The private IP address to be verified.}\n@returns(200) Private IP address availability and list of other free addresses if the requested one is not available.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages\n@desc Lists usage stats.\n@required {virtualNetworkName: any # The name of the virtual network.}\n@returns(200) Usage stats for vnet.\n\n@end\n"}