VirtualRoutersOperations.GetAsync(String, String, String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the specified Virtual Router.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.VirtualRouter>> GetAsync (string resourceGroupName, string virtualRouterName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.VirtualRouter>>
override this.GetAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.VirtualRouter>>
Public Overridable Function GetAsync (resourceGroupName As String, virtualRouterName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VirtualRouter))
Parameters
- resourceGroupName
- System.String
The name of the resource group.
- virtualRouterName
- System.String
The name of the Virtual Router.
- expand
- System.String
Expands referenced resources.
- cancellationToken
- System.Threading.CancellationToken
The cancellation token to use.
Returns
- System.Threading.Tasks.Task<Response<VirtualRouter>>