Partager via


MaintenanceExtensions.CreateOrUpdateApplyUpdateByParentAsync Méthode

Définition

Appliquer des mises à jour de maintenance à la ressource avec parent

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

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

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 à