Partager via


AutomanageVmConfigurationProfileAssignmentReportCollection.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.Compute/virtualMachines/{vmName}/providers/Microsoft.Automanage/configurationProfileAssignments/{configurationProfileAssignmentName}/reports/{reportName}
  • Idreports_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automanage.AutomanageVmConfigurationProfileAssignmentReportResource>> GetAsync (string reportName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automanage.AutomanageVmConfigurationProfileAssignmentReportResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automanage.AutomanageVmConfigurationProfileAssignmentReportResource>>
Public Overridable Function GetAsync (reportName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomanageVmConfigurationProfileAssignmentReportResource))

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 à