ResourceGuardProxyBaseResourceInner Class

public final class ResourceGuardProxyBaseResourceInner
extends ProxyResource

ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs.

Constructor Summary

Constructor Description
ResourceGuardProxyBaseResourceInner()

Creates an instance of ResourceGuardProxyBaseResourceInner class.

Method Summary

Modifier and Type Method and Description
static ResourceGuardProxyBaseResourceInner fromJson(JsonReader jsonReader)

Reads an instance of ResourceGuardProxyBaseResourceInner 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.

ResourceGuardProxyBase properties()

Get the properties property: ResourceGuardProxyBaseResource properties.

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.

ResourceGuardProxyBaseResourceInner withProperties(ResourceGuardProxyBase properties)

Set the properties property: ResourceGuardProxyBaseResource properties.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ResourceGuardProxyBaseResourceInner

public ResourceGuardProxyBaseResourceInner()

Creates an instance of ResourceGuardProxyBaseResourceInner class.

Method Details

fromJson

public static ResourceGuardProxyBaseResourceInner fromJson(JsonReader jsonReader)

Reads an instance of ResourceGuardProxyBaseResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ResourceGuardProxyBaseResourceInner 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:

ResourceGuardProxyBaseResourceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ResourceGuardProxyBaseResourceInner.name()

Returns:

the name value.

properties

public ResourceGuardProxyBase properties()

Get the properties property: ResourceGuardProxyBaseResource properties.

Returns:

the properties 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:

ResourceGuardProxyBaseResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ResourceGuardProxyBaseResourceInner.type()

Returns:

the type value.

withProperties

public ResourceGuardProxyBaseResourceInner withProperties(ResourceGuardProxyBase properties)

Set the properties property: ResourceGuardProxyBaseResource properties.

Parameters:

properties - the properties value to set.

Returns:

the ResourceGuardProxyBaseResourceInner object itself.

Applies to