Partager via


DnsResolverOutboundEndpointResource.AddTag Méthode

Définition

Ajoutez une balise à la ressource actuelle.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints/{outboundEndpointName}
  • IdOutboundEndpoints_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.DnsResolver.DnsResolverOutboundEndpointResource> AddTag (string key, string value, System.Threading.CancellationToken cancellationToken = default);
abstract member AddTag : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DnsResolver.DnsResolverOutboundEndpointResource>
override this.AddTag : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DnsResolver.DnsResolverOutboundEndpointResource>
Public Overridable Function AddTag (key As String, value As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DnsResolverOutboundEndpointResource)

Paramètres

key
String

Clé de la balise.

value
String

Valeur de la balise.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

key ou value est null.

S’applique à