ScopedResourceInner Class

public final class ScopedResourceInner
extends ProxyResource

A private link scoped resource.

Constructor Summary

Constructor Description
ScopedResourceInner()

Creates an instance of ScopedResourceInner class.

Method Summary

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

Reads an instance of ScopedResourceInner from the JsonReader.

String id()

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

String linkedResourceId()

Get the linkedResourceId property: The resource id of the scoped Azure monitor resource.

String name()

Get the name property: The name of the resource.

String provisioningState()

Get the provisioningState property: State of the private endpoint connection.

SystemData systemData()

Get the systemData property: System data.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ScopedResourceInner withLinkedResourceId(String linkedResourceId)

Set the linkedResourceId property: The resource id of the scoped Azure monitor resource.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ScopedResourceInner

public ScopedResourceInner()

Creates an instance of ScopedResourceInner class.

Method Details

fromJson

public static ScopedResourceInner fromJson(JsonReader jsonReader)

Reads an instance of ScopedResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ScopedResourceInner.id()

Returns:

the id value.

linkedResourceId

public String linkedResourceId()

Get the linkedResourceId property: The resource id of the scoped Azure monitor resource.

Returns:

the linkedResourceId value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ScopedResourceInner.name()

Returns:

the name value.

provisioningState

public String provisioningState()

Get the provisioningState property: State of the private endpoint connection.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: System data.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ScopedResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ScopedResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLinkedResourceId

public ScopedResourceInner withLinkedResourceId(String linkedResourceId)

Set the linkedResourceId property: The resource id of the scoped Azure monitor resource.

Parameters:

linkedResourceId - the linkedResourceId value to set.

Returns:

the ScopedResourceInner object itself.

Applies to