次の方法で共有


OperationalInsightsLinkedServiceCollection.GetAsync メソッド

定義

リンクされたサービス インスタンスを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}
  • 操作IdLinkedServices_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsLinkedServiceResource>> GetAsync (string linkedServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsLinkedServiceResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsLinkedServiceResource>>
Public Overridable Function GetAsync (linkedServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of OperationalInsightsLinkedServiceResource))

パラメーター

linkedServiceName
String

リンクされたサービスの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

linkedServiceName が null です。

適用対象