ManagedPrivateEndpointModelInner Class

public final class ManagedPrivateEndpointModelInner
extends Resource

The managed private endpoint resource type.

Constructor Summary

Constructor Description
ManagedPrivateEndpointModelInner()

Creates an instance of ManagedPrivateEndpointModelInner class.

Method Summary

Modifier and Type Method and Description
ManagedPrivateEndpointConnectionState connectionState()

Get the connectionState property: The state of managed private endpoint connection.

static ManagedPrivateEndpointModelInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedPrivateEndpointModelInner from the JsonReader.

List<String> groupIds()

Get the groupIds property: The group Ids of the managed private endpoint.

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

Get the privateLinkResourceId property: The ARM resource ID of the resource for which the managed private endpoint is pointing to.

String privateLinkResourceRegion()

Get the privateLinkResourceRegion property: The region of the resource to which the managed private endpoint is pointing to.

String privateLinkServicePrivateIp()

Get the privateLinkServicePrivateIp property: The private IP of private endpoint after approval.

String privateLinkServiceUrl()

Get the privateLinkServiceUrl property: The URL of the data store behind the private link service.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

String requestMessage()

Get the requestMessage property: User input request message of the managed private endpoint.

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.

ManagedPrivateEndpointModelInner withGroupIds(List<String> groupIds)

Set the groupIds property: The group Ids of the managed private endpoint.

ManagedPrivateEndpointModelInner withLocation(String location)
ManagedPrivateEndpointModelInner withPrivateLinkResourceId(String privateLinkResourceId)

Set the privateLinkResourceId property: The ARM resource ID of the resource for which the managed private endpoint is pointing to.

ManagedPrivateEndpointModelInner withPrivateLinkResourceRegion(String privateLinkResourceRegion)

Set the privateLinkResourceRegion property: The region of the resource to which the managed private endpoint is pointing to.

ManagedPrivateEndpointModelInner withPrivateLinkServiceUrl(String privateLinkServiceUrl)

Set the privateLinkServiceUrl property: The URL of the data store behind the private link service.

ManagedPrivateEndpointModelInner withRequestMessage(String requestMessage)

Set the requestMessage property: User input request message of the managed private endpoint.

ManagedPrivateEndpointModelInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ManagedPrivateEndpointModelInner

public ManagedPrivateEndpointModelInner()

Creates an instance of ManagedPrivateEndpointModelInner class.

Method Details

connectionState

public ManagedPrivateEndpointConnectionState connectionState()

Get the connectionState property: The state of managed private endpoint connection.

Returns:

the connectionState value.

fromJson

public static ManagedPrivateEndpointModelInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedPrivateEndpointModelInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

groupIds

public List<String> groupIds()

Get the groupIds property: The group Ids of the managed private endpoint.

Returns:

the groupIds value.

id

public String id()

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

Overrides:

ManagedPrivateEndpointModelInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ManagedPrivateEndpointModelInner.name()

Returns:

the name value.

privateLinkResourceId

public String privateLinkResourceId()

Get the privateLinkResourceId property: The ARM resource ID of the resource for which the managed private endpoint is pointing to.

Returns:

the privateLinkResourceId value.

privateLinkResourceRegion

public String privateLinkResourceRegion()

Get the privateLinkResourceRegion property: The region of the resource to which the managed private endpoint is pointing to.

Returns:

the privateLinkResourceRegion value.

privateLinkServicePrivateIp

public String privateLinkServicePrivateIp()

Get the privateLinkServicePrivateIp property: The private IP of private endpoint after approval. This property is empty before connection is approved.

Returns:

the privateLinkServicePrivateIp value.

privateLinkServiceUrl

public String privateLinkServiceUrl()

Get the privateLinkServiceUrl property: The URL of the data store behind the private link service. It would be the URL in the Grafana data source configuration page without the protocol and port.

Returns:

the privateLinkServiceUrl value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

requestMessage

public String requestMessage()

Get the requestMessage property: User input request message of the managed private endpoint.

Returns:

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

ManagedPrivateEndpointModelInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ManagedPrivateEndpointModelInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withGroupIds

public ManagedPrivateEndpointModelInner withGroupIds(List<String> groupIds)

Set the groupIds property: The group Ids of the managed private endpoint.

Parameters:

groupIds - the groupIds value to set.

Returns:

the ManagedPrivateEndpointModelInner object itself.

withLocation

public ManagedPrivateEndpointModelInner withLocation(String location)

Overrides:

ManagedPrivateEndpointModelInner.withLocation(String location)

Parameters:

location

withPrivateLinkResourceId

public ManagedPrivateEndpointModelInner withPrivateLinkResourceId(String privateLinkResourceId)

Set the privateLinkResourceId property: The ARM resource ID of the resource for which the managed private endpoint is pointing to.

Parameters:

privateLinkResourceId - the privateLinkResourceId value to set.

Returns:

the ManagedPrivateEndpointModelInner object itself.

withPrivateLinkResourceRegion

public ManagedPrivateEndpointModelInner withPrivateLinkResourceRegion(String privateLinkResourceRegion)

Set the privateLinkResourceRegion property: The region of the resource to which the managed private endpoint is pointing to.

Parameters:

privateLinkResourceRegion - the privateLinkResourceRegion value to set.

Returns:

the ManagedPrivateEndpointModelInner object itself.

withPrivateLinkServiceUrl

public ManagedPrivateEndpointModelInner withPrivateLinkServiceUrl(String privateLinkServiceUrl)

Set the privateLinkServiceUrl property: The URL of the data store behind the private link service. It would be the URL in the Grafana data source configuration page without the protocol and port.

Parameters:

privateLinkServiceUrl - the privateLinkServiceUrl value to set.

Returns:

the ManagedPrivateEndpointModelInner object itself.

withRequestMessage

public ManagedPrivateEndpointModelInner withRequestMessage(String requestMessage)

Set the requestMessage property: User input request message of the managed private endpoint.

Parameters:

requestMessage - the requestMessage value to set.

Returns:

the ManagedPrivateEndpointModelInner object itself.

withTags

public ManagedPrivateEndpointModelInner withTags(Map<String,String> tags)

Overrides:

ManagedPrivateEndpointModelInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to