次の方法で共有


GuestConfigurationHcrpAssignmentResource.GetReportAsync メソッド

定義

reportId を使用して、ゲスト構成の割り当てのレポートを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}/reports/{reportId}
  • 操作IdGuestConfigurationHCRPAssignmentReports_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationAssignmentReport>> GetReportAsync (string reportId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReportAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationAssignmentReport>>
override this.GetReportAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationAssignmentReport>>
Public Overridable Function GetReportAsync (reportId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GuestConfigurationAssignmentReport))

パラメーター

reportId
String

ゲスト構成割り当てレポートの GUID。

cancellationToken
CancellationToken

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

戻り値

例外

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

reportId が null です。

適用対象