共用方式為


SubscriptionSecurityApplicationResource.UpdateAsync Method

Definition

Creates or update a security application on the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/applications/{applicationId}
  • Operation Id: Application_CreateOrUpdate
  • Default Api Version: 2022-07-01-preview
  • Resource: SubscriptionSecurityApplicationResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityApplicationResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.SecurityCenter.SecurityApplicationData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.SecurityCenter.SecurityApplicationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityApplicationResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.SecurityCenter.SecurityApplicationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityApplicationResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As SecurityApplicationData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SubscriptionSecurityApplicationResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

data
SecurityApplicationData

Application over a subscription scope.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to