MockableSelfHelpArmClient.GetSelfHelpDiagnostic メソッド

定義

診断の作成時に選択した 'diagnosticsResourceName' を使用して、診断を取得します。

  • 要求パス/{scope}/providers/Microsoft.Help/診断/{diagnosticsResourceName}
  • 操作IdDiagnostics_Get
public virtual Azure.Response<Azure.ResourceManager.SelfHelp.SelfHelpDiagnosticResource> GetSelfHelpDiagnostic (Azure.Core.ResourceIdentifier scope, string diagnosticsResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSelfHelpDiagnostic : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SelfHelp.SelfHelpDiagnosticResource>
override this.GetSelfHelpDiagnostic : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SelfHelp.SelfHelpDiagnosticResource>
Public Overridable Function GetSelfHelpDiagnostic (scope As ResourceIdentifier, diagnosticsResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SelfHelpDiagnosticResource)

パラメーター

scope
ResourceIdentifier

リソースが適用されるスコープ。

diagnosticsResourceName
String

分析情報リソースの一意のリソース名。

cancellationToken
CancellationToken

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

戻り値

例外

diagnosticsResourceName が null です。

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

適用対象