TrafficControllerCollection.GetIfExists(String, CancellationToken) メソッド

定義

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

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

パラメーター

trafficControllerName
String

パスのトラフィック コントローラー名。

cancellationToken
CancellationToken

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

戻り値

例外

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

trafficControllerName が null です。

適用対象