你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.keyvault.models.ServiceSpecification

Implements

public final class ServiceSpecification
implements JsonSerializable<ServiceSpecification>

One property of operation, include log specifications.

Method Summary

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

Reads an instance of ServiceSpecification from the JsonReader.

List<LogSpecification> logSpecifications()

Get the logSpecifications property: Log specifications of operation.

List<MetricSpecification> metricSpecifications()

Get the metricSpecifications property: Metric specifications of operation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ServiceSpecification fromJson(JsonReader jsonReader)

Reads an instance of ServiceSpecification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

logSpecifications

public List<LogSpecification> logSpecifications()

Get the logSpecifications property: Log specifications of operation.

Returns:

the logSpecifications value.

metricSpecifications

public List<MetricSpecification> metricSpecifications()

Get the metricSpecifications property: Metric specifications of operation.

Returns:

the metricSpecifications value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to