Partager via


AutomanageHcrpConfigurationProfileAssignmentReportCollection.GetAsync Méthode

Définition

Obtenir des informations sur un rapport associé à une exécution d’attribution de profil de configuration

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.Automanage/configurationProfileAssignments/{configurationProfileAssignmentName}/reports/{reportName}
  • IdHCRPReports_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automanage.AutomanageHcrpConfigurationProfileAssignmentReportResource>> GetAsync (string reportName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automanage.AutomanageHcrpConfigurationProfileAssignmentReportResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automanage.AutomanageHcrpConfigurationProfileAssignmentReportResource>>
Public Overridable Function GetAsync (reportName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomanageHcrpConfigurationProfileAssignmentReportResource))

Paramètres

reportName
String

Nom du rapport.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

reportName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

reportName a la valeur null.

S’applique à