ContainerAppResource.AddTagAsync(String, String, CancellationToken) メソッド

定義

現在のリソースにタグを追加します。 要求パス: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName} 操作 ID: ContainerApps_Get

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.ContainerAppResource>> AddTagAsync (string key, string value, System.Threading.CancellationToken cancellationToken = default);
abstract member AddTagAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.ContainerAppResource>>
override this.AddTagAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.ContainerAppResource>>
Public Overridable Function AddTagAsync (key As String, value As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppResource))

パラメーター

key
String

タグのキー。

value
String

タグの値。

cancellationToken
CancellationToken

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

戻り値

例外

key または value が null です。

適用対象