ResourceDeletionInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.ResourceDeletionInfo

Implements

public final class ResourceDeletionInfo
implements JsonSerializable<ResourceDeletionInfo>

Deletion info for a tracked resource (Backup Vault).

Method Summary

Modifier and Type Method and Description
String deleteActivityId()

Get the deleteActivityId property: Delete activity ID for troubleshooting the deletion of the tracked resource.

OffsetDateTime deletionTime()

Get the deletionTime property: Specifies time of deletion for the tracked resource (Backup Vault).

static ResourceDeletionInfo fromJson(JsonReader jsonReader)

Reads an instance of ResourceDeletionInfo from the JsonReader.

OffsetDateTime scheduledPurgeTime()

Get the scheduledPurgeTime property: Specifies the scheduled purge time for the tracked resource (Backup Vault).

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

deleteActivityId

public String deleteActivityId()

Get the deleteActivityId property: Delete activity ID for troubleshooting the deletion of the tracked resource.

Returns:

the deleteActivityId value.

deletionTime

public OffsetDateTime deletionTime()

Get the deletionTime property: Specifies time of deletion for the tracked resource (Backup Vault).

Returns:

the deletionTime value.

fromJson

public static ResourceDeletionInfo fromJson(JsonReader jsonReader)

Reads an instance of ResourceDeletionInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

scheduledPurgeTime

public OffsetDateTime scheduledPurgeTime()

Get the scheduledPurgeTime property: Specifies the scheduled purge time for the tracked resource (Backup Vault).

Returns:

the scheduledPurgeTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to