NetworkFabricIPPrefixCollection.GetIfExistsAsync メソッド

定義

サービスからこのリソースの詳細を取得しようとします。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/{ipPrefixName}
  • 操作IdIpPrefixes_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPPrefixResource>> GetIfExistsAsync (string ipPrefixName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPPrefixResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPPrefixResource>>
Public Overridable Function GetIfExistsAsync (ipPrefixName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of NetworkFabricIPPrefixResource))

パラメーター

ipPrefixName
String

IP プレフィックスの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

ipPrefixName が null です。

適用対象