Dela via


IotOperationsBrokerAuthenticationResource.UpdateAsync Method

Definition

Create a BrokerAuthenticationResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authentications/{authenticationName}
  • Operation Id: BrokerAuthenticationResource_CreateOrUpdate
  • Default Api Version: 2024-11-01
  • Resource: IotOperationsBrokerAuthenticationResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.IotOperations.IotOperationsBrokerAuthenticationResource>> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.IotOperations.IotOperationsBrokerAuthenticationData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.IotOperations.IotOperationsBrokerAuthenticationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.IotOperations.IotOperationsBrokerAuthenticationResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.IotOperations.IotOperationsBrokerAuthenticationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.IotOperations.IotOperationsBrokerAuthenticationResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As IotOperationsBrokerAuthenticationData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of IotOperationsBrokerAuthenticationResource))

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.

data
IotOperationsBrokerAuthenticationData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to