次の方法で共有


ExpressRoutePortResource.GetExpressRouteLinkAsync メソッド

定義

指定した ExpressRouteLink リソースを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}
  • 操作IdExpressRouteLinks_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteLinkResource>> GetExpressRouteLinkAsync (string linkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetExpressRouteLinkAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteLinkResource>>
override this.GetExpressRouteLinkAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteLinkResource>>
Public Overridable Function GetExpressRouteLinkAsync (linkName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ExpressRouteLinkResource))

パラメーター

linkName
String

ExpressRouteLink リソースの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

linkName が null です。

適用対象