次の方法で共有


WorkloadsExtensions.GetSapMonitor メソッド

定義

指定したサブスクリプション、リソース グループ、およびリソース名の SAP モニターのプロパティを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}
  • 操作Idmonitors_Get
public static Azure.Response<Azure.ResourceManager.Workloads.SapMonitorResource> GetSapMonitor (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string monitorName, System.Threading.CancellationToken cancellationToken = default);
static member GetSapMonitor : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Workloads.SapMonitorResource>
<Extension()>
Public Function GetSapMonitor (resourceGroupResource As ResourceGroupResource, monitorName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SapMonitorResource)

パラメーター

resourceGroupResource
ResourceGroupResource

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

monitorName
String

SAP モニター リソースの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

monitorName が null です。

適用対象