ApiOperationPropertiesServiceSpecification Class
- java.
lang. Object - com.
azure. resourcemanager. storagecache. models. ApiOperationPropertiesServiceSpecification
- com.
Implements
public final class ApiOperationPropertiesServiceSpecification
implements JsonSerializable<ApiOperationPropertiesServiceSpecification>
Specification of the all the metrics provided for a resource type.
Constructor | Description |
---|---|
Api |
Creates an instance of Api |
Modifier and Type | Method and Description |
---|---|
static
Api |
from Reads an instance of Api |
List<Log |
log Get the log |
List<Metric |
metric Get the metric |
Json |
to |
void |
validate()
Validates the instance. |
Api |
with Set the log |
Api |
with Set the metric |
Methods inherited from java.lang.Object
ApiOperationPropertiesServiceSpecification
public ApiOperationPropertiesServiceSpecification()
Creates an instance of ApiOperationPropertiesServiceSpecification class.
fromJson
public static ApiOperationPropertiesServiceSpecification fromJson(JsonReader jsonReader)
Reads an instance of ApiOperationPropertiesServiceSpecification from the JsonReader.
Parameters:
Returns:
Throws:
logSpecifications
public List
Get the logSpecifications property: Details about operations related to logs.
Returns:
metricSpecifications
public List
Get the metricSpecifications property: Details about operations related to metrics.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLogSpecifications
public ApiOperationPropertiesServiceSpecification withLogSpecifications(List
Set the logSpecifications property: Details about operations related to logs.
Parameters:
Returns:
withMetricSpecifications
public ApiOperationPropertiesServiceSpecification withMetricSpecifications(List
Set the metricSpecifications property: Details about operations related to metrics.
Parameters:
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: