HybridConnectivityExtensions.GetEndpointResourceAsync メソッド

定義

リソースへのエンドポイントを取得します。

  • 要求パス/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}
  • 操作IdEndpoints_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridConnectivity.EndpointResource>> GetEndpointResourceAsync (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string endpointName, System.Threading.CancellationToken cancellationToken = default);
static member GetEndpointResourceAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridConnectivity.EndpointResource>>
<Extension()>
Public Function GetEndpointResourceAsync (client As ArmClient, scope As ResourceIdentifier, endpointName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EndpointResource))

パラメーター

client
ArmClient

ArmClientメソッドが実行するインスタンス。

scope
ResourceIdentifier

リソースが適用するスコープ。

endpointName
String

エンドポイント名。

cancellationToken
CancellationToken

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

戻り値

例外

endpointName が null です。

適用対象