com.microsoft.azure.management.sql.MaxSizeCapability 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 Sql Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* 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 com.fasterxml.jackson.annotation.JsonProperty;
/**
* The maximum size limits for a database.
*/
public class MaxSizeCapability {
/**
* The maximum size of the database (see 'unit' for the units).
*/
@JsonProperty(value = "limit", access = JsonProperty.Access.WRITE_ONLY)
private long limit;
/**
* The units that the limit is expressed in. Possible values include:
* 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes'.
*/
@JsonProperty(value = "unit", access = JsonProperty.Access.WRITE_ONLY)
private MaxSizeUnits unit;
/**
* The status of the maximum size capability. Possible values include:
* 'Visible', 'Available', 'Default', 'Disabled'.
*/
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
private CapabilityStatus status;
/**
* Get the maximum size of the database (see 'unit' for the units).
*
* @return the limit value
*/
public long limit() {
return this.limit;
}
/**
* Get the units that the limit is expressed in. Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes'.
*
* @return the unit value
*/
public MaxSizeUnits unit() {
return this.unit;
}
/**
* Get the status of the maximum size capability. Possible values include: 'Visible', 'Available', 'Default', 'Disabled'.
*
* @return the status value
*/
public CapabilityStatus status() {
return this.status;
}
}