Compartilhar via


DigitalTwinsEndpointOperationsExtensions.CreateOrUpdateAsync Método

Definição

Criar ou atualizar o ponto de extremidade DigitalTwinsInstance.

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

Parâmetros

operations
IDigitalTwinsEndpointOperations

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.

endpointName
String

Nome do Recurso de Ponto de Extremidade.

properties
DigitalTwinsEndpointResourceProperties

Propriedades do recurso de ponto de extremidade DigitalTwinsInstance.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a