ManagedInstancePecProperty Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.ManagedInstancePecProperty

Implements

public final class ManagedInstancePecProperty
implements JsonSerializable<ManagedInstancePecProperty>

A private endpoint connection under a managed instance.

Constructor Summary

Constructor Description
ManagedInstancePecProperty()

Creates an instance of ManagedInstancePecProperty class.

Method Summary

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

Reads an instance of ManagedInstancePecProperty from the JsonReader.

String id()

Get the id property: Resource ID.

ManagedInstancePrivateEndpointConnectionProperties properties()

Get the properties property: Private endpoint connection properties.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ManagedInstancePecProperty

public ManagedInstancePecProperty()

Creates an instance of ManagedInstancePecProperty class.

Method Details

fromJson

public static ManagedInstancePecProperty fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstancePecProperty from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Resource ID.

Returns:

the id value.

properties

public ManagedInstancePrivateEndpointConnectionProperties properties()

Get the properties property: Private endpoint connection properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to