Freigeben über


MaintenanceExtensions.CreateOrUpdateApplyUpdateByParentAsync Methode

Definition

Anwenden von Wartungsupdates auf Ressource mit übergeordnetem Element

  • Anforderungspfad/abonnements/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default
  • Vorgangs-IdApplyUpdates_CreateOrUpdateParent
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))

Parameter

resourceGroupResource
ResourceGroupResource

Der ResourceGroupResource instance die -Methode ausgeführt wird.

providerName
String

Name des Ressourcenanbieters.

resourceParentType
String

Übergeordneter Ressourcentyp.

resourceParentName
String

Bezeichner des übergeordneten Ressourcenelements.

resourceType
String

Der Ressourcentyp.

resourceName
String

Ressourcenbezeichner.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

providerName, resourceParentType, resourceParentNameresourceType oder resourceName ist eine leere Zeichenfolge, und es wurde erwartet, dass sie nicht leer ist.

providerName, resourceParentType, resourceParentNameresourceType oder resourceName ist NULL.

Gilt für: