IotSecuritySolutionCollection.CreateOrUpdateAsync Method

Definition

Use this method to create or update yours IoT Security solution

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}
  • Operation Id: IotSecuritySolution_CreateOrUpdate
  • Default Api Version: 2019-08-01
  • Resource: IotSecuritySolutionResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string solutionName, Azure.ResourceManager.SecurityCenter.IotSecuritySolutionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.SecurityCenter.IotSecuritySolutionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.SecurityCenter.IotSecuritySolutionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, solutionName As String, data As IotSecuritySolutionData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of IotSecuritySolutionResource))

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.

solutionName
String

The name of the IoT Security solution.

data
IotSecuritySolutionData

The security solution data.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

solutionName or data is null.

Applies to