Partager via


ServiceEndpointPolicyResource.UpdateAsync Méthode

Définition

Mises à jour balises d’une stratégie de point de terminaison de service.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}
  • IdServiceEndpointPolicies_UpdateTags d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ServiceEndpointPolicyResource>> UpdateAsync (Azure.ResourceManager.Network.Models.NetworkTagsObject networkTagsObject, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Network.Models.NetworkTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ServiceEndpointPolicyResource>>
override this.UpdateAsync : Azure.ResourceManager.Network.Models.NetworkTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ServiceEndpointPolicyResource>>
Public Overridable Function UpdateAsync (networkTagsObject As NetworkTagsObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceEndpointPolicyResource))

Paramètres

networkTagsObject
NetworkTagsObject

Paramètres fournis pour mettre à jour les balises de stratégie de point de terminaison de service.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

networkTagsObject a la valeur null.

S’applique à