IWithTags<ParentT>.WithTag(String, String) Method

Definition

Adds a tag to the resource.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineExtension.UpdateDefinition.IWithAttach<ParentT> WithTag (string key, string value);
abstract member WithTag : string * string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineExtension.UpdateDefinition.IWithAttach<'ParentT>
Public Function WithTag (key As String, value As String) As IWithAttach(Of ParentT)

Parameters

key
String

The key for the tag.

value
String

The value for the tag.

Returns

IWithAttach<ParentT>

Applies to