Compartilhar via


TimeSeriesDatabaseConnectionsOperationsExtensions.CreateOrUpdateAsync Método

Definição

Criar ou atualizar uma conexão de banco de dados de série temporal.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DigitalTwins.Models.TimeSeriesDatabaseConnection> CreateOrUpdateAsync (this Microsoft.Azure.Management.DigitalTwins.ITimeSeriesDatabaseConnectionsOperations operations, string resourceGroupName, string resourceName, string timeSeriesDatabaseConnectionName, Microsoft.Azure.Management.DigitalTwins.Models.TimeSeriesDatabaseConnectionProperties properties = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DigitalTwins.ITimeSeriesDatabaseConnectionsOperations * string * string * string * Microsoft.Azure.Management.DigitalTwins.Models.TimeSeriesDatabaseConnectionProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DigitalTwins.Models.TimeSeriesDatabaseConnection>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ITimeSeriesDatabaseConnectionsOperations, resourceGroupName As String, resourceName As String, timeSeriesDatabaseConnectionName As String, Optional properties As TimeSeriesDatabaseConnectionProperties = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TimeSeriesDatabaseConnection)

Parâmetros

operations
ITimeSeriesDatabaseConnectionsOperations

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

resourceGroupName
String

O nome do grupo de recursos que contém o DigitalTwinsInstance.

resourceName
String

O nome do DigitalTwinsInstance.

timeSeriesDatabaseConnectionName
String

Nome da conexão de banco de dados de série temporal.

properties
TimeSeriesDatabaseConnectionProperties

Propriedades de uma conexão de banco de dados de série temporal específica.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a