DeletedServerInner Class

public final class DeletedServerInner
extends ProxyResource

A deleted server.

Method Summary

Modifier and Type Method and Description
OffsetDateTime deletionTime()

Get the deletionTime property: The deletion time of the deleted server.

static DeletedServerInner fromJson(JsonReader jsonReader)

Reads an instance of DeletedServerInner from the JsonReader.

String fullyQualifiedDomainName()

Get the fullyQualifiedDomainName property: The fully qualified domain name of the server.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

String originalId()

Get the originalId property: The original ID of the server before deletion.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

String version()

Get the version property: The version of the deleted server.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

deletionTime

public OffsetDateTime deletionTime()

Get the deletionTime property: The deletion time of the deleted server.

Returns:

the deletionTime value.

fromJson

public static DeletedServerInner fromJson(JsonReader jsonReader)

Reads an instance of DeletedServerInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DeletedServerInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

fullyQualifiedDomainName

public String fullyQualifiedDomainName()

Get the fullyQualifiedDomainName property: The fully qualified domain name of the server.

Returns:

the fullyQualifiedDomainName value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DeletedServerInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DeletedServerInner.name()

Returns:

the name value.

originalId

public String originalId()

Get the originalId property: The original ID of the server before deletion.

Returns:

the originalId value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DeletedServerInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DeletedServerInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: The version of the deleted server.

Returns:

the version value.

Applies to