Freigeben über


NetworkDeviceSkuCollection.GetIfExists(String, CancellationToken) Methode

Definition

Versucht, Details für diese Ressource vom Dienst abzurufen.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus/{networkDeviceSkuName}
  • Vorgangs-IdNetworkDeviceSkus_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceSkuResource> GetIfExists (string networkDeviceSkuName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceSkuResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceSkuResource>
Public Overridable Function GetIfExists (networkDeviceSkuName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of NetworkDeviceSkuResource)

Parameter

networkDeviceSkuName
String

Name der Netzwerkgeräte-SKU.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

networkDeviceSkuName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

networkDeviceSkuName ist NULL.

Gilt für: