Partager via


DedicatedCapacityResource.AddTag(String, String, CancellationToken) Méthode

Définition

Ajoutez une balise à la ressource actuelle.

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

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 à