ResourceManagerModelFactory.PredefinedTag 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.
Initializes a new instance of PredefinedTag.
public static Azure.ResourceManager.Resources.Models.PredefinedTag PredefinedTag (string id = default, string tagName = default, Azure.ResourceManager.Resources.Models.PredefinedTagCount count = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.PredefinedTagValue> values = default);
static member PredefinedTag : string * string * Azure.ResourceManager.Resources.Models.PredefinedTagCount * seq<Azure.ResourceManager.Resources.Models.PredefinedTagValue> -> Azure.ResourceManager.Resources.Models.PredefinedTag
Public Shared Function PredefinedTag (Optional id As String = Nothing, Optional tagName As String = Nothing, Optional count As PredefinedTagCount = Nothing, Optional values As IEnumerable(Of PredefinedTagValue) = Nothing) As PredefinedTag
Parameters
- id
- String
The tag name ID.
- tagName
- String
The tag name.
- count
- PredefinedTagCount
The total number of resources that use the resource tag. When a tag is initially created and has no associated resources, the value is 0.
- values
- IEnumerable<PredefinedTagValue>
The list of tag values.
Returns
A new PredefinedTag instance for mocking.
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