OperationPropertiesDefinition Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.fluent.models.OperationPropertiesDefinition

Implements

public final class OperationPropertiesDefinition
implements JsonSerializable<OperationPropertiesDefinition>

The definition of Azure Monitoring properties.

Method Summary

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

Reads an instance of OperationPropertiesDefinition from the JsonReader.

OperationServiceSpecificationDefinition serviceSpecification()

Get the serviceSpecification property: The definition of Azure Monitoring service.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static OperationPropertiesDefinition fromJson(JsonReader jsonReader)

Reads an instance of OperationPropertiesDefinition from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

serviceSpecification

public OperationServiceSpecificationDefinition serviceSpecification()

Get the serviceSpecification property: The definition of Azure Monitoring service.

Returns:

the serviceSpecification value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to