TagOperationsExtensions.CreateOrUpdateAsync(ITagOperations, String) 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.
Create a subscription resource tag.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.TagCreateResult> CreateOrUpdateAsync (this Microsoft.Azure.Management.Resources.ITagOperations operations, string tagName);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Resources.ITagOperations * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.TagCreateResult>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ITagOperations, tagName As String) As Task(Of TagCreateResult)
Parameters
- operations
- ITagOperations
Reference to the Microsoft.Azure.Management.Resources.ITagOperations.
- tagName
- String
Required. The name of the tag.
Returns
Tag information.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET