Partager via


MaintenanceExtensions.GetConfigurationAssignmentsByParentAsync Méthode

Définition

Répertorier configurationAssignments pour la ressource.

  • Chemin/abonnements de la demande/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments
  • IdConfigurationAssignments_ListParent d’opération
public static Azure.AsyncPageable<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData> GetConfigurationAssignmentsByParentAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string providerName, string resourceParentType, string resourceParentName, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetConfigurationAssignmentsByParentAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>
<Extension()>
Public Function GetConfigurationAssignmentsByParentAsync (resourceGroupResource As ResourceGroupResource, providerName As String, resourceParentType As String, resourceParentName As String, resourceType As String, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MaintenanceConfigurationAssignmentData)

Paramètres

resourceGroupResource
ResourceGroupResource

Instance ResourceGroupResource sur laquelle la méthode s’exécute.

providerName
String

Nom du fournisseur de ressources.

resourceParentType
String

Type parent de ressource.

resourceParentName
String

Identificateur parent de ressource.

resourceType
String

Type de ressource.

resourceName
String

Identificateur de ressource.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Collection asynchrone de qui peut nécessiter plusieurs demandes de MaintenanceConfigurationAssignmentData service pour itérer.

Exceptions

providerName, resourceParentType, resourceParentNameresourceType ou resourceName est une chaîne vide et devait être non vide.

providerName, resourceParentType, resourceParentNameresourceType ou resourceName a la valeur null.

S’applique à