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.Models.TagsResource> UpdateAtScopeAsync (this Microsoft.Azure.Management.ResourceManager.ITagsOperations operations, string scope, Microsoft.Azure.Management.ResourceManager.Models.TagsPatchResource parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAtScopeAsync : Microsoft.Azure.Management.ResourceManager.ITagsOperations * string * Microsoft.Azure.Management.ResourceManager.Models.TagsPatchResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.TagsResource>
<Extension()>
Public Function UpdateAtScopeAsync (operations As ITagsOperations, scope As String, parameters As TagsPatchResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TagsResource)
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應