Compartilhar via


IotConnectorsOperationsExtensions.CreateOrUpdateAsync Método

Definição

Cria ou atualiza um recurso de IoT Connector com os parâmetros especificados.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.HealthcareApis.Models.IotConnector> CreateOrUpdateAsync (this Microsoft.Azure.Management.HealthcareApis.IIotConnectorsOperations operations, string resourceGroupName, string workspaceName, string iotConnectorName, Microsoft.Azure.Management.HealthcareApis.Models.IotConnector iotConnector, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.HealthcareApis.IIotConnectorsOperations * string * string * string * Microsoft.Azure.Management.HealthcareApis.Models.IotConnector * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.HealthcareApis.Models.IotConnector>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IIotConnectorsOperations, resourceGroupName As String, workspaceName As String, iotConnectorName As String, iotConnector As IotConnector, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IotConnector)

Parâmetros

operations
IIotConnectorsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos que contém a instância de serviço.

workspaceName
String

O nome do recurso de workspace.

iotConnectorName
String

O nome do recurso IoT Connector.

iotConnector
IotConnector

Os parâmetros para criar ou atualizar um recurso de Conectores IoT.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a