PrivateLinkServiceConnection Class

  • java.lang.Object
    • com.microsoft.azure.SubResource
      • com.microsoft.azure.management.network.PrivateLinkServiceConnection

public class PrivateLinkServiceConnection
extends com.microsoft.azure.SubResource

PrivateLinkServiceConnection resource.

Constructor Summary

Constructor Description
PrivateLinkServiceConnection()

Method Summary

Modifier and Type Method and Description
java.lang.String etag()

Get a unique read-only string that changes whenever the resource is updated.

java.util.List<java.lang.String> groupIds()

Get the ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.

java.lang.String name()

Get the name of the resource that is unique within a resource group.

PrivateLinkServiceConnectionState privateLinkServiceConnectionState()

Get a collection of read-only information about the state of the connection to the remote resource.

java.lang.String privateLinkServiceId()

Get the resource id of private link service.

ProvisioningState provisioningState()

Get the provisioning state of the private link service connection resource.

java.lang.String requestMessage()

Get a message passed to the owner of the remote resource with this connection request.

java.lang.String type()

Get the resource type.

PrivateLinkServiceConnection withGroupIds(List<String> groupIds)

Set the ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.

PrivateLinkServiceConnection withName(String name)

Set the name of the resource that is unique within a resource group.

PrivateLinkServiceConnection withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)

Set a collection of read-only information about the state of the connection to the remote resource.

PrivateLinkServiceConnection withPrivateLinkServiceId(String privateLinkServiceId)

Set the resource id of private link service.

PrivateLinkServiceConnection withRequestMessage(String requestMessage)

Set a message passed to the owner of the remote resource with this connection request.

Methods inherited from com.microsoft.azure.SubResource

com.microsoft.azure.SubResource.id com.microsoft.azure.SubResource.withId

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

PrivateLinkServiceConnection

public PrivateLinkServiceConnection()

Method Details

etag

public String etag()

Get a unique read-only string that changes whenever the resource is updated.

Returns:

the etag value

groupIds

public List groupIds()

Get the ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.

Returns:

the groupIds value

name

public String name()

Get the name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value

privateLinkServiceConnectionState

public PrivateLinkServiceConnectionState privateLinkServiceConnectionState()

Get a collection of read-only information about the state of the connection to the remote resource.

Returns:

the privateLinkServiceConnectionState value

privateLinkServiceId

public String privateLinkServiceId()

Get the resource id of private link service.

Returns:

the privateLinkServiceId value

provisioningState

public ProvisioningState provisioningState()

Get the provisioning state of the private link service connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.

Returns:

the provisioningState value

requestMessage

public String requestMessage()

Get a message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.

Returns:

the requestMessage value

type

public String type()

Get the resource type.

Returns:

the type value

withGroupIds

public PrivateLinkServiceConnection withGroupIds(List groupIds)

Set the ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.

Parameters:

groupIds - the groupIds value to set

Returns:

the PrivateLinkServiceConnection object itself.

withName

public PrivateLinkServiceConnection withName(String name)

Set the name of the resource that is unique within a resource group. This name can be used to access the resource.

Parameters:

name - the name value to set

Returns:

the PrivateLinkServiceConnection object itself.

withPrivateLinkServiceConnectionState

public PrivateLinkServiceConnection withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)

Set a collection of read-only information about the state of the connection to the remote resource.

Parameters:

privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set

Returns:

the PrivateLinkServiceConnection object itself.

withPrivateLinkServiceId

public PrivateLinkServiceConnection withPrivateLinkServiceId(String privateLinkServiceId)

Set the resource id of private link service.

Parameters:

privateLinkServiceId - the privateLinkServiceId value to set

Returns:

the PrivateLinkServiceConnection object itself.

withRequestMessage

public PrivateLinkServiceConnection withRequestMessage(String requestMessage)

Set a message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.

Parameters:

requestMessage - the requestMessage value to set

Returns:

the PrivateLinkServiceConnection object itself.

Applies to