AzureWebCategoryCollection.GetIfExists メソッド

定義

サービスからこのリソースの詳細の取得を試みます。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}
  • 操作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)

パラメーター

name
String

azureWebCategory の名前。

expand
String

azureWebCategory リソースによって参照される resourceIds を再び展開します。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

name は空の文字列であり、空でないと想定されていました。

name が null です。

適用対象