Freigeben über


SubnetResource.GetAsync(String, CancellationToken) Methode

Definition

Ruft das angegebene Subnetz nach virtuellem Netzwerk und Ressourcengruppe ab.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
  • Vorgang IdSubnets_Get
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))

Parameter

expand
String

Erweitert Ressourcen, auf die verwiesen wird.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: