Metadata Class

  • java.lang.Object
    • com.azure.resourcemanager.monitor.models.Metadata

Implements

public class Metadata
implements JsonSerializable<Metadata>

Metadata about the resource.

Constructor Summary

Constructor Description
Metadata()

Creates an instance of Metadata class.

Method Summary

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

Reads an instance of Metadata from the JsonReader.

String provisionedBy()

Get the provisionedBy property: Azure offering managing this resource on-behalf-of customer.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

Metadata

public Metadata()

Creates an instance of Metadata class.

Method Details

fromJson

public static Metadata fromJson(JsonReader jsonReader)

Reads an instance of Metadata from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisionedBy

public String provisionedBy()

Get the provisionedBy property: Azure offering managing this resource on-behalf-of customer.

Returns:

the provisionedBy value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to