Compartir a través de


SubnetResource.GetAsync(String, CancellationToken) Método

Definición

Obtiene la subred especificada por red virtual y grupo de recursos.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
  • IdSubnets_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.SubnetResource>> GetAsync (string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.SubnetResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.SubnetResource>>
Public Overridable Function GetAsync (Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SubnetResource))

Parámetros

expand
String

Expande los recursos a los que se hace referencia.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a