次の方法で共有


VoiceServicesTestLineResource.AddTag メソッド

定義

現在のリソースにタグを追加します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines/{testLineName}
  • 操作IdTestLines_Get
public virtual Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesTestLineResource> AddTag (string key, string value, System.Threading.CancellationToken cancellationToken = default);
abstract member AddTag : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesTestLineResource>
override this.AddTag : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesTestLineResource>
Public Overridable Function AddTag (key As String, value As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VoiceServicesTestLineResource)

パラメーター

key
String

タグのキー。

value
String

タグの値。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

key または value が null です。

適用対象