다음을 통해 공유


IUpdateWithTags<T>.WithTag(String, String) Method

Definition

Adds a tag to the resource.

public Microsoft.Azure.Management.Network.Fluent.IAppliableWithTags<T> WithTag (string key, string value);
abstract member WithTag : string * string -> Microsoft.Azure.Management.Network.Fluent.IAppliableWithTags<'T>
Public Function WithTag (key As String, value As String) As IAppliableWithTags(Of T)

Parameters

key
String

The key for the tag.

value
String

The value for the tag.

Returns

Applies to