Compartir vía


VirtualMachineExtension.UpdateStages.WithTags Interface

public interface WithTags

The stage of the virtual machine extension update allowing to add or update tags.

Method Summary

Modifier and Type Method and Description
VirtualMachineExtension.Update withoutTag(String key)

Removes a tag from the virtual machine extension.

VirtualMachineExtension.Update withTag(String key, String value)

Adds a tag to the virtual machine extension.

VirtualMachineExtension.Update withTags(Map<String, String> tags)

Specifies tags for the virtual machine extension.

Method Details

withoutTag

public Update withoutTag(String key)

Removes a tag from the virtual machine extension.

Parameters:

key - the key of the tag to remove

Returns:

the next stage of the update

withTag

public Update withTag(String key, String value)

Adds a tag to the virtual machine extension.

Parameters:

key - the key for the tag
value - the value for the tag

Returns:

the next stage of the update

withTags

public Update withTags(Map tags)

Specifies tags for the virtual machine extension.

Parameters:

tags - tags indexed by name

Returns:

the next stage of the update

Applies to