@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api NetworkManagementClient
@base https://management.azure.com
@version 2019-11-01
@auth OAuth2
@endpoints 9
@toc subscriptions(9)

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}
@desc Deletes the specified Virtual Router.
@required {resourceGroupName: any # The name of the resource group., virtualRouterName: any # The name of the Virtual Router.}
@returns(200) Delete successful.
@returns(202) Accepted and the operation will complete asynchronously.
@returns(204) Request successful. Resource with the specified name does not exist.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}
@desc Gets the specified Virtual Router.
@required {resourceGroupName: any # The name of the resource group., virtualRouterName: any # The name of the Virtual Router.}
@optional {$expand: any # Expands referenced resources.}
@returns(200) Request successful. The operation returns a Virtual Router resource.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}
@desc Creates or updates the specified Virtual Router.
@required {resourceGroupName: any # The name of the resource group., virtualRouterName: any # The name of the Virtual Router., parameters: any # Parameters supplied to the create or update Virtual Router.}
@returns(200) Request successful. The operation returns the resulting Virtual Router resource.
@returns(201) Request received successfully. The operation returns the resulting Virtual Router resource.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters
@desc Lists all Virtual Routers in a resource group.
@required {resourceGroupName: any # The name of the resource group.}
@returns(200) Success. The operation returns a list of Virtual Router resources.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters
@desc Gets all the Virtual Routers in a subscription.
@returns(200) Success. The operation returns a list of Virtual Router resources.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}
@desc Deletes the specified peering from a Virtual Router.
@required {resourceGroupName: any # The name of the resource group., virtualRouterName: any # The name of the Virtual Router., peeringName: any # The name of the peering.}
@returns(200) Delete successful.
@returns(202) Accepted and the operation will complete asynchronously.
@returns(204) Request successful. Resource with the specified name does not exist.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}
@desc Gets the specified Virtual Router Peering.
@required {resourceGroupName: any # The name of the resource group., virtualRouterName: any # The name of the Virtual Router., peeringName: any # The name of the Virtual Router Peering.}
@returns(200) Request successful. The operation returns a Virtual Router Peering resource.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}
@desc Creates or updates the specified Virtual Router Peering.
@required {resourceGroupName: any # The name of the resource group., virtualRouterName: any # The name of the Virtual Router., peeringName: any # The name of the Virtual Router Peering., parameters: any # Parameters supplied to the create or update Virtual Router Peering operation.}
@returns(200) Request successful. The operation returns the resulting Virtual Router Peering resource.
@returns(201) Request received successfully. The operation returns the resulting Virtual Router Peering resource.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings
@desc Lists all Virtual Router Peerings in a Virtual Router resource.
@required {resourceGroupName: any # The name of the resource group., virtualRouterName: any # The name of the Virtual Router.}
@returns(200) Success. The operation returns a list of Virtual Router Peering resources.

@end
