IotSecuritySolutionCollection.CreateOrUpdate 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string solutionName, Azure.ResourceManager.SecurityCenter.IotSecuritySolutionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.SecurityCenter.IotSecuritySolutionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.SecurityCenter.IotSecuritySolutionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, solutionName As String, data As IotSecuritySolutionData, Optional cancellationToken As CancellationToken = Nothing) As 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