TagsOperationsExtensions.UpdateAtScope Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Selectively updates the set of tags on a resource or subscription.
public static Microsoft.Azure.Management.ResourceManager.Models.TagsResource UpdateAtScope (this Microsoft.Azure.Management.ResourceManager.ITagsOperations operations, string scope, Microsoft.Azure.Management.ResourceManager.Models.TagsPatchResource parameters);
static member UpdateAtScope : Microsoft.Azure.Management.ResourceManager.ITagsOperations * string * Microsoft.Azure.Management.ResourceManager.Models.TagsPatchResource -> Microsoft.Azure.Management.ResourceManager.Models.TagsResource
<Extension()>
Public Function UpdateAtScope (operations As ITagsOperations, scope As String, parameters As TagsPatchResource) As TagsResource
Parameters
- operations
- ITagsOperations
The operations group for this extension method.
- scope
- String
The resource scope.
- parameters
- TagsPatchResource
Returns
Remarks
This operation allows replacing, merging or selectively deleting tags on the specified resource or subscription. The specified entity can have a maximum of 50 tags at the end of the operation. The 'replace' option replaces the entire set of existing tags with a new set. The 'merge' option allows adding tags with new names and updating the values of tags with existing names. The 'delete' option allows selectively deleting tags based on given names or name/value pairs.
Applies to
Azure SDK for .NET