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

Definition

Adds a tag to the resource.

public T WithTag (string key, string value);
abstract member WithTag : string * string -> 'T
Public Function WithTag (key As String, value As String) As T

Parameters

key
System.String

key the key for the tag

value
System.String

value the value for the tag

Returns

T

the next stage of the resource definition

Applies to