ResourceManagerModelFactory.PredefinedTag Method

Definition

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