Compartilhar via


NetworkToNetworkInterconnectResource.UpdateAsync Método

Definição

Atualize determinadas propriedades do recurso Network To NetworkInterconnects.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects/{networkToNetworkInterconnectName}
  • IdNetworkToNetworkInterconnects_Update de operação
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkToNetworkInterconnectResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkToNetworkInterconnectPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkToNetworkInterconnectPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkToNetworkInterconnectResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkToNetworkInterconnectPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkToNetworkInterconnectResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, patch As NetworkToNetworkInterconnectPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of NetworkToNetworkInterconnectResource))

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 longa execução, consulte Exemplos de operação de Long-Running do Azure.Core.

patch
NetworkToNetworkInterconnectPatch

Propriedades de interconexão de rede para rede a serem atualizadas.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a