Share via


SecurityConnectorApplicationCollection.CreateOrUpdate Method

Definition

Creates or update a security Application on the given security connector.

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

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.

applicationId
String

The security Application key - unique key for the standard application.

data
SecurityApplicationData

Application over a subscription scope.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

applicationId is an empty string, and was expected to be non-empty.

applicationId or data is null.

Applies to