GenericResourceExpandedInner Class

public final class GenericResourceExpandedInner
extends GenericResourceInner

Resource information.

Method Summary

Modifier and Type Method and Description
OffsetDateTime changedTime()

Get the changedTime property: The changed time of the resource.

OffsetDateTime createdTime()

Get the createdTime property: The created time of the resource.

static GenericResourceExpandedInner fromJson(JsonReader jsonReader)

Reads an instance of GenericResourceExpandedInner from the JsonReader.

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 provisioningState()

Get the provisioningState property: The provisioning state of the resource.

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.

Methods inherited from Resource

Methods inherited from GenericResourceInner

Methods inherited from java.lang.Object

Method Details

changedTime

public OffsetDateTime changedTime()

Get the changedTime property: The changed time of the resource. This is only present if requested via the $expand query parameter.

Returns:

the changedTime value.

createdTime

public OffsetDateTime createdTime()

Get the createdTime property: The created time of the resource. This is only present if requested via the $expand query parameter.

Returns:

the createdTime value.

fromJson

public static GenericResourceExpandedInner fromJson(JsonReader jsonReader)

Reads an instance of GenericResourceExpandedInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

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

Overrides:

GenericResourceExpandedInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

GenericResourceExpandedInner.name()

Returns:

the name value.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioning state of the resource. This is only present if requested via the $expand query parameter.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

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

Overrides:

GenericResourceExpandedInner.systemData()

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

GenericResourceExpandedInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

GenericResourceExpandedInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

GenericResourceExpandedInner.validate()

Applies to