PrivateLinkResourceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.search.models.PrivateLinkResourceProperties

Implements

public final class PrivateLinkResourceProperties
implements JsonSerializable<PrivateLinkResourceProperties>

Describes the properties of a supported private link resource for the search service. For a given API version, this represents the 'supported' groupIds when creating a shared private link resource.

Constructor Summary

Constructor Description
PrivateLinkResourceProperties()

Creates an instance of PrivateLinkResourceProperties class.

Method Summary

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

Reads an instance of PrivateLinkResourceProperties from the JsonReader.

String groupId()

Get the groupId property: The group ID of the private link resource.

List<String> requiredMembers()

Get the requiredMembers property: The list of required members of the private link resource.

List<String> requiredZoneNames()

Get the requiredZoneNames property: The list of required DNS zone names of the private link resource.

List<ShareablePrivateLinkResourceType> shareablePrivateLinkResourceTypes()

Get the shareablePrivateLinkResourceTypes property: The list of resources that are onboarded to private link service and that are supported by search.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkResourceProperties

public PrivateLinkResourceProperties()

Creates an instance of PrivateLinkResourceProperties class.

Method Details

fromJson

public static PrivateLinkResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkResourceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

groupId

public String groupId()

Get the groupId property: The group ID of the private link resource.

Returns:

the groupId value.

requiredMembers

public List requiredMembers()

Get the requiredMembers property: The list of required members of the private link resource.

Returns:

the requiredMembers value.

requiredZoneNames

public List requiredZoneNames()

Get the requiredZoneNames property: The list of required DNS zone names of the private link resource.

Returns:

the requiredZoneNames value.

shareablePrivateLinkResourceTypes

public List shareablePrivateLinkResourceTypes()

Get the shareablePrivateLinkResourceTypes property: The list of resources that are onboarded to private link service and that are supported by search.

Returns:

the shareablePrivateLinkResourceTypes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to