Interface VirtualMachineExtension.UpdateDefinitionStages.WithTags<ParentT>
- Type Parameters:
ParentT- the stage of the parent update to return to after attaching this definition
- All Known Subinterfaces:
VirtualMachineExtension.UpdateDefinition<ParentT>,VirtualMachineExtension.UpdateDefinitionStages.WithAttach<ParentT>
- Enclosing interface:
- VirtualMachineExtension.UpdateDefinitionStages
public static interface VirtualMachineExtension.UpdateDefinitionStages.WithTags<ParentT>
The stage of the virtual machine extension definition allowing to specify the tags.
-
Method Summary
-
Method Details
-
withTags
VirtualMachineExtension.UpdateDefinitionStages.WithAttach<ParentT> withTags(Map<String, String> tags) Specifies tags for the resource.- Parameters:
tags- tags to associate with the resource- Returns:
- the next stage of the definition
-
withTag
VirtualMachineExtension.UpdateDefinitionStages.WithAttach<ParentT> withTag(String key, String value) Adds a tag to the resource.- Parameters:
key- the key for the tagvalue- the value for the tag- Returns:
- the next stage of the definition
-