ServerEndpointCloudTieringStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.storagesync.models.ServerEndpointCloudTieringStatus

Implements

public final class ServerEndpointCloudTieringStatus
implements JsonSerializable<ServerEndpointCloudTieringStatus>

Server endpoint cloud tiering status object.

Method Summary

Modifier and Type Method and Description
CloudTieringCachePerformance cachePerformance()

Get the cachePerformance property: Information regarding how well the local cache on the server is performing.

CloudTieringDatePolicyStatus datePolicyStatus()

Get the datePolicyStatus property: Status of the date policy.

CloudTieringFilesNotTiering filesNotTiering()

Get the filesNotTiering property: Information regarding files that failed to be tiered.

static ServerEndpointCloudTieringStatus fromJson(JsonReader jsonReader)

Reads an instance of ServerEndpointCloudTieringStatus from the JsonReader.

ServerEndpointHealthState health()

Get the health property: Cloud tiering health state.

OffsetDateTime healthLastUpdatedTimestamp()

Get the healthLastUpdatedTimestamp property: The last updated timestamp of health state.

Integer lastCloudTieringResult()

Get the lastCloudTieringResult property: Last cloud tiering result (HResult).

OffsetDateTime lastSuccessTimestamp()

Get the lastSuccessTimestamp property: Last cloud tiering success timestamp.

OffsetDateTime lastUpdatedTimestamp()

Get the lastUpdatedTimestamp property: Last updated timestamp.

CloudTieringLowDiskMode lowDiskMode()

Get the lowDiskMode property: Information regarding the low disk mode state.

CloudTieringSpaceSavings spaceSavings()

Get the spaceSavings property: Information regarding how much local space cloud tiering is saving.

JsonWriter toJson(JsonWriter jsonWriter)
CloudTieringVolumeFreeSpacePolicyStatus volumeFreeSpacePolicyStatus()

Get the volumeFreeSpacePolicyStatus property: Status of the volume free space policy.

Methods inherited from java.lang.Object

Method Details

cachePerformance

public CloudTieringCachePerformance cachePerformance()

Get the cachePerformance property: Information regarding how well the local cache on the server is performing.

Returns:

the cachePerformance value.

datePolicyStatus

public CloudTieringDatePolicyStatus datePolicyStatus()

Get the datePolicyStatus property: Status of the date policy.

Returns:

the datePolicyStatus value.

filesNotTiering

public CloudTieringFilesNotTiering filesNotTiering()

Get the filesNotTiering property: Information regarding files that failed to be tiered.

Returns:

the filesNotTiering value.

fromJson

public static ServerEndpointCloudTieringStatus fromJson(JsonReader jsonReader)

Reads an instance of ServerEndpointCloudTieringStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

health

public ServerEndpointHealthState health()

Get the health property: Cloud tiering health state.

Returns:

the health value.

healthLastUpdatedTimestamp

public OffsetDateTime healthLastUpdatedTimestamp()

Get the healthLastUpdatedTimestamp property: The last updated timestamp of health state.

Returns:

the healthLastUpdatedTimestamp value.

lastCloudTieringResult

public Integer lastCloudTieringResult()

Get the lastCloudTieringResult property: Last cloud tiering result (HResult).

Returns:

the lastCloudTieringResult value.

lastSuccessTimestamp

public OffsetDateTime lastSuccessTimestamp()

Get the lastSuccessTimestamp property: Last cloud tiering success timestamp.

Returns:

the lastSuccessTimestamp value.

lastUpdatedTimestamp

public OffsetDateTime lastUpdatedTimestamp()

Get the lastUpdatedTimestamp property: Last updated timestamp.

Returns:

the lastUpdatedTimestamp value.

lowDiskMode

public CloudTieringLowDiskMode lowDiskMode()

Get the lowDiskMode property: Information regarding the low disk mode state.

Returns:

the lowDiskMode value.

spaceSavings

public CloudTieringSpaceSavings spaceSavings()

Get the spaceSavings property: Information regarding how much local space cloud tiering is saving.

Returns:

the spaceSavings value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

volumeFreeSpacePolicyStatus

public CloudTieringVolumeFreeSpacePolicyStatus volumeFreeSpacePolicyStatus()

Get the volumeFreeSpacePolicyStatus property: Status of the volume free space policy.

Returns:

the volumeFreeSpacePolicyStatus value.

Applies to