UpdatableWithTags.UpdateWithTags<T> Interface
Type Parameters
- T
the type of the resource being update
public static interface UpdatableWithTags.UpdateWithTags
An update allowing tags to be modified for the resource.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Appliable |
withTag(String key, String value)
Adds a tag to the resource. |
abstract
Appliable |
withTags(Map<String,String> tags)
Specifies tags for the resource as a Map. |
abstract
Appliable |
withoutTag(String key)
Removes a tag from the resource. |
Method Details
withTag
public abstract AppliableWithTags
Adds a tag to the resource.
Parameters:
Returns:
withTags
public abstract AppliableWithTags
Specifies tags for the resource as a Map.
Parameters:
Returns:
withoutTag
public abstract AppliableWithTags
Removes a tag from the resource.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for