MaxSizeCapability Class

  • java.lang.Object
    • com.microsoft.azure.management.sql.MaxSizeCapability

public class MaxSizeCapability

The maximum size limits for a database.

Constructor Summary

Constructor Description
MaxSizeCapability()

Method Summary

Modifier and Type Method and Description
long limit()

Get the maximum size of the database (see 'unit' for the units).

CapabilityStatus status()

Get the status of the maximum size capability.

MaxSizeUnits unit()

Get the units that the limit is expressed in.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

MaxSizeCapability

public MaxSizeCapability()

Method Details

limit

public long limit()

Get the maximum size of the database (see 'unit' for the units).

Returns:

the limit value

status

public CapabilityStatus status()

Get the status of the maximum size capability. Possible values include: 'Visible', 'Available', 'Default', 'Disabled'.

Returns:

the status value

unit

public MaxSizeUnits unit()

Get the units that the limit is expressed in. Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes'.

Returns:

the unit value

Applies to