Partager via


MaintenanceExtensions.GetUpdatesByParentAsync Méthode

Définition

Obtenir des mises à jour des ressources.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates
  • IdUpdates_ListParent d’opération
public static Azure.AsyncPageable<Azure.ResourceManager.Maintenance.Models.MaintenanceUpdate> GetUpdatesByParentAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string providerName, string resourceParentType, string resourceParentName, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetUpdatesByParentAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Maintenance.Models.MaintenanceUpdate>
<Extension()>
Public Function GetUpdatesByParentAsync (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 MaintenanceUpdate)

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 MaintenanceUpdate 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 à