Share via


SecurityInsightsSentinelOnboardingStateCollection.CreateOrUpdate Method

Definition

Create Sentinel onboarding state

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}
  • Operation Id: SentinelOnboardingStates_Create
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsSentinelOnboardingStateResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityInsights.SecurityInsightsSentinelOnboardingStateResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string sentinelOnboardingStateName, Azure.ResourceManager.SecurityInsights.SecurityInsightsSentinelOnboardingStateData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.SecurityInsights.SecurityInsightsSentinelOnboardingStateData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityInsights.SecurityInsightsSentinelOnboardingStateResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.SecurityInsights.SecurityInsightsSentinelOnboardingStateData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityInsights.SecurityInsightsSentinelOnboardingStateResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, sentinelOnboardingStateName As String, data As SecurityInsightsSentinelOnboardingStateData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of SecurityInsightsSentinelOnboardingStateResource)

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.

sentinelOnboardingStateName
String

The Sentinel onboarding state name. Supports - default.

data
SecurityInsightsSentinelOnboardingStateData

The Sentinel onboarding state parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

sentinelOnboardingStateName or data is null.

Applies to