UserMetricsModelInner Class

public final class UserMetricsModelInner
extends ProxyResource

Class representing Traffic Manager User Metrics.

Method Summary

Modifier and Type Method and Description
static UserMetricsModelInner fromJson(JsonReader jsonReader)

Reads an instance of UserMetricsModelInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String key()

Get the key property: The key returned by the User Metrics operation.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

fromJson

public static UserMetricsModelInner fromJson(JsonReader jsonReader)

Reads an instance of UserMetricsModelInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of UserMetricsModelInner 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 UserMetricsModelInner.

id

public String id()

Get the id property: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}.

Overrides:

UserMetricsModelInner.id()

Returns:

the id value.

key

public String key()

Get the key property: The key returned by the User Metrics operation.

Returns:

the key value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

UserMetricsModelInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

UserMetricsModelInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.

Overrides:

UserMetricsModelInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to