OperationPropertiesFormatServiceSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.OperationPropertiesFormatServiceSpecification

Implements

public final class OperationPropertiesFormatServiceSpecification
implements JsonSerializable<OperationPropertiesFormatServiceSpecification>

Specification of the service.

Method Summary

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

Reads an instance of OperationPropertiesFormatServiceSpecification from the JsonReader.

List<LogSpecification> logSpecifications()

Get the logSpecifications property: Operation log specification.

List<MetricSpecification> metricSpecifications()

Get the metricSpecifications property: Operation service specification.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static OperationPropertiesFormatServiceSpecification fromJson(JsonReader jsonReader)

Reads an instance of OperationPropertiesFormatServiceSpecification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

logSpecifications

public List<LogSpecification> logSpecifications()

Get the logSpecifications property: Operation log specification.

Returns:

the logSpecifications value.

metricSpecifications

public List<MetricSpecification> metricSpecifications()

Get the metricSpecifications property: Operation service specification.

Returns:

the metricSpecifications value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to