com.microsoft.azure.management.sql.ServiceObjectiveCapability Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-sql Show documentation
Show all versions of azure-mgmt-sql Show documentation
This package contains Microsoft Azure SDK for SQL Management module.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.sql;
import java.util.UUID;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
/**
* The service objectives capability.
*/
@JsonFlatten
public class ServiceObjectiveCapability {
/**
* The service objective name.
*/
@JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
private String name;
/**
* The status of the service objective. Possible values include: 'Visible',
* 'Available', 'Default', 'Disabled'.
*/
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
private CapabilityStatus status;
/**
* Unit type used to measure service objective performance level. Possible
* values include: 'DTU'.
*/
@JsonProperty(value = "performanceLevel.unit", access = JsonProperty.Access.WRITE_ONLY)
private PerformanceLevelUnit unit;
/**
* Performance level value.
*/
@JsonProperty(value = "performanceLevel.value", access = JsonProperty.Access.WRITE_ONLY)
private Integer value;
/**
* The unique ID of the service objective.
*/
@JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
private UUID id;
/**
* The list of supported maximum database sizes for this service objective.
*/
@JsonProperty(value = "supportedMaxSizes", access = JsonProperty.Access.WRITE_ONLY)
private List supportedMaxSizes;
/**
* The included (free) max size for this service level objective.
*/
@JsonProperty(value = "includedMaxSize", access = JsonProperty.Access.WRITE_ONLY)
private MaxSizeCapability includedMaxSize;
/**
* Get the service objective name.
*
* @return the name value
*/
public String name() {
return this.name;
}
/**
* Get the status of the service objective. Possible values include: 'Visible', 'Available', 'Default', 'Disabled'.
*
* @return the status value
*/
public CapabilityStatus status() {
return this.status;
}
/**
* Get unit type used to measure service objective performance level. Possible values include: 'DTU'.
*
* @return the unit value
*/
public PerformanceLevelUnit unit() {
return this.unit;
}
/**
* Get performance level value.
*
* @return the value value
*/
public Integer value() {
return this.value;
}
/**
* Get the unique ID of the service objective.
*
* @return the id value
*/
public UUID id() {
return this.id;
}
/**
* Get the list of supported maximum database sizes for this service objective.
*
* @return the supportedMaxSizes value
*/
public List supportedMaxSizes() {
return this.supportedMaxSizes;
}
/**
* Get the included (free) max size for this service level objective.
*
* @return the includedMaxSize value
*/
public MaxSizeCapability includedMaxSize() {
return this.includedMaxSize;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy