Freigeben über


AzureWebCategoryCollection.GetIfExists Methode

Definition

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

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

Parameter

name
String

Der Name von azureWebCategory.

expand
String

Erweitert resourceIds zurück, auf die von der AzureWebCategory-Ressource verwiesen wird.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

name ist NULL.

Gilt für: