Compartir vía


VirtualMachineExtension.UpdateDefinitionStages.WithTags<ParentT> Interface

Type Parameters

ParentT

the stage of the parent update to return to after attaching this definition

public interface WithTags

The stage of the virtual machine extension definition allowing to specify the tags.

Method Summary

Modifier and Type Method and Description
VirtualMachineExtension.UpdateDefinitionStages.WithAttach<ParentT> withTag(String key, String value)

Adds a tag to the resource.

VirtualMachineExtension.UpdateDefinitionStages.WithAttach<ParentT> withTags(Map<String, String> tags)

Specifies tags for the resource.

Method Details

withTag

public WithAttach withTag(String key, String value)

Adds a tag to the resource.

Parameters:

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

Returns:

the next stage of the definition

withTags

public WithAttach withTags(Map tags)

Specifies tags for the resource.

Parameters:

tags - tags to associate with the resource

Returns:

the next stage of the definition

Applies to