TagsOperationsExtensions.UpdateAtScopeAsync 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 System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.TagsResourceInner> UpdateAtScopeAsync (this Microsoft.Azure.Management.ResourceManager.Fluent.ITagsOperations operations, string scope, Microsoft.Azure.Management.ResourceManager.Fluent.Models.TagsPatchResource parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAtScopeAsync : Microsoft.Azure.Management.ResourceManager.Fluent.ITagsOperations * string * Microsoft.Azure.Management.ResourceManager.Fluent.Models.TagsPatchResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.TagsResourceInner>
<Extension()>
Public Function UpdateAtScopeAsync (operations As ITagsOperations, scope As String, parameters As TagsPatchResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TagsResourceInner)
Parameters
- operations
- ITagsOperations
The operations group for this extension method.
- scope
- String
The resource scope.
- parameters
- TagsPatchResource
- cancellationToken
- CancellationToken
The cancellation token.
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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro