SecurityInsightsSentinelOnboardingStateCollection.CreateOrUpdate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create Sentinel onboarding state
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}
- Operation Id: SentinelOnboardingStates_Create
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.
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for