Freigeben über


SubnetResource.Get(String, CancellationToken) Methode

Definition

Ruft das angegebene Subnetz nach virtuellem Netzwerk und Ressourcengruppe ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
  • Vorgangs-IdSubnets_Get
public virtual Azure.Response<Azure.ResourceManager.Network.SubnetResource> Get (string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.SubnetResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.SubnetResource>
Public Overridable Function Get (Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SubnetResource)

Parameter

expand
String

Erweitert die referenzierten Ressourcen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: