TagDetailsInner Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.fluent.models.TagDetailsInner

Implements

public final class TagDetailsInner
implements JsonSerializable<TagDetailsInner>

Tag details.

Method Summary

Modifier and Type Method and Description
TagCount count()

Get the count property: The total number of resources that use the resource tag.

static TagDetailsInner fromJson(JsonReader jsonReader)

Reads an instance of TagDetailsInner from the JsonReader.

String id()

Get the id property: The tag name ID.

String tagName()

Get the tagName property: The tag name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<TagValueInner> values()

Get the values property: The list of tag values.

Methods inherited from java.lang.Object

Method Details

count

public TagCount count()

Get the count property: 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.

Returns:

the count value.

fromJson

public static TagDetailsInner fromJson(JsonReader jsonReader)

Reads an instance of TagDetailsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TagDetailsInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TagDetailsInner.

id

public String id()

Get the id property: The tag name ID.

Returns:

the id value.

tagName

public String tagName()

Get the tagName property: The tag name.

Returns:

the tagName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

values

public List<TagValueInner> values()

Get the values property: The list of tag values.

Returns:

the values value.

Applies to