Partilhar via


HealthcareApisIotConnectorResource.UpdateAsync Método

Definição

Corrija um IoT Connector.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}
  • Operação IdIotConnectors_Update
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HealthcareApis.HealthcareApisIotConnectorResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisIotConnectorPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.HealthcareApis.Models.HealthcareApisIotConnectorPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HealthcareApis.HealthcareApisIotConnectorResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.HealthcareApis.Models.HealthcareApisIotConnectorPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HealthcareApis.HealthcareApisIotConnectorResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, patch As HealthcareApisIotConnectorPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of HealthcareApisIotConnectorResource))

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de execução prolongada, consulte Exemplos de operação de Long-Running do Azure.Core.

patch
HealthcareApisIotConnectorPatch

Os parâmetros para atualizar um IoT Connector.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a