Compartilhar via


PeeringServiceResource.UpdateAsync Método

Definição

Atualizações marcas para um serviço de emparelhamento com o nome especificado na assinatura e no grupo de recursos fornecidos.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}
  • IdPeeringServices_Update de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Peering.PeeringServiceResource>> UpdateAsync (Azure.ResourceManager.Peering.Models.PeeringServicePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Peering.Models.PeeringServicePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Peering.PeeringServiceResource>>
override this.UpdateAsync : Azure.ResourceManager.Peering.Models.PeeringServicePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Peering.PeeringServiceResource>>
Public Overridable Function UpdateAsync (patch As PeeringServicePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PeeringServiceResource))

Parâmetros

patch
PeeringServicePatch

As marcas do recurso.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a