Freigeben über


AdaptiveApplicationControlGroupCollection.CreateOrUpdateAsync Methode

Definition

Aktualisieren einer Anwendungssteuerungscomputergruppe

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/applicationWhitelistings/{groupName}
  • Vorgangs-IdAdaptiveApplicationControls_Put
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.AdaptiveApplicationControlGroupResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string groupName, Azure.ResourceManager.SecurityCenter.AdaptiveApplicationControlGroupData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.SecurityCenter.AdaptiveApplicationControlGroupData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.AdaptiveApplicationControlGroupResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.SecurityCenter.AdaptiveApplicationControlGroupData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.AdaptiveApplicationControlGroupResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, groupName As String, data As AdaptiveApplicationControlGroupData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of AdaptiveApplicationControlGroupResource))

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der zeitintensive Vorgang für den Dienst abgeschlossen ist; Started , wenn sie nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführungszeit finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

groupName
String

Name einer Computergruppe für die Anwendungssteuerung.

data
AdaptiveApplicationControlGroupData

Die zu verwendende AdaptiveApplicationControlGroup.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

groupName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

groupName oder data ist NULL.

Gilt für: