ITagsOperations.CreateOrUpdateValueWithHttpMessagesAsync メソッド

定義

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

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ResourceManager.Models.TagValue>> CreateOrUpdateValueWithHttpMessagesAsync (string tagName, string tagValue, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateValueWithHttpMessagesAsync : string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ResourceManager.Models.TagValue>>
Public Function CreateOrUpdateValueWithHttpMessagesAsync (tagName As String, tagValue As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of TagValue))

パラメーター

tagName
String

タグの名前。

tagValue
String

作成するタグの値。

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

操作が無効な状態コードを返したときにスローされます

応答を逆シリアル化できない場合にスローされます

必須パラメーターが null の場合にスローされます

注釈

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

適用対象