TagsOperationsExtensions.CreateOrUpdateValueAsync メソッド

定義

定義済みのタグ名の定義済みの値を作成します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.TagValue> CreateOrUpdateValueAsync (this Microsoft.Azure.Management.ResourceManager.ITagsOperations operations, string tagName, string tagValue, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateValueAsync : Microsoft.Azure.Management.ResourceManager.ITagsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.TagValue>
<Extension()>
Public Function CreateOrUpdateValueAsync (operations As ITagsOperations, tagName As String, tagValue As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TagValue)

パラメーター

operations
ITagsOperations

この拡張メソッドの操作グループ。

tagName
String

タグの名前。

tagValue
String

作成するタグの値。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

この操作により、既存の定義済みタグ名の定義済み値の一覧に値を追加できます。 タグ値の最大文字数は 256 文字です。

適用対象