共用方式為


IotSecuritySolutionResource.UpdateAsync Method

Definition

Use this method to update existing IoT Security solution tags or user defined resources. To update other fields use the CreateOrUpdate method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}
  • Operation Id: IotSecuritySolution_Update
  • Default Api Version: 2019-08-01
  • Resource: IotSecuritySolutionResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource>> UpdateAsync (Azure.ResourceManager.SecurityCenter.Models.IotSecuritySolutionPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.SecurityCenter.Models.IotSecuritySolutionPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource>>
override this.UpdateAsync : Azure.ResourceManager.SecurityCenter.Models.IotSecuritySolutionPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource>>
Public Overridable Function UpdateAsync (patch As IotSecuritySolutionPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IotSecuritySolutionResource))

Parameters

patch
IotSecuritySolutionPatch

The security solution data.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to