PrivateLinkServiceConnection Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. PrivateLinkServiceConnection
- com.
- com.
public final class PrivateLinkServiceConnection
extends SubResource
PrivateLinkServiceConnection resource.
Constructor Summary
Constructor | Description |
---|---|
PrivateLinkServiceConnection() |
Creates an instance of Private |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Private |
fromJson(JsonReader jsonReader)
Reads an instance of Private |
List<String> |
groupIds()
Get the group |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
Private |
privateLinkServiceConnectionState()
Get the private |
String |
privateLinkServiceId()
Get the private |
Provisioning |
provisioningState()
Get the provisioning |
String |
requestMessage()
Get the request |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The resource type. |
void |
validate()
Validates the instance. |
Private |
withGroupIds(List<String> groupIds)
Set the group |
Private |
withId(String id) |
Private |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group. |
Private |
withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)
Set the private |
Private |
withPrivateLinkServiceId(String privateLinkServiceId)
Set the private |
Private |
withRequestMessage(String requestMessage)
Set the request |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
PrivateLinkServiceConnection
public PrivateLinkServiceConnection()
Creates an instance of PrivateLinkServiceConnection class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static PrivateLinkServiceConnection fromJson(JsonReader jsonReader)
Reads an instance of PrivateLinkServiceConnection from the JsonReader.
Parameters:
Returns:
Throws:
groupIds
public List
Get the groupIds property: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
Returns:
name
public String name()
Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Returns:
privateLinkServiceConnectionState
public PrivateLinkServiceConnectionState privateLinkServiceConnectionState()
Get the privateLinkServiceConnectionState property: A collection of read-only information about the state of the connection to the remote resource.
Returns:
privateLinkServiceId
public String privateLinkServiceId()
Get the privateLinkServiceId property: The resource id of private link service.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the private link service connection resource.
Returns:
requestMessage
public String requestMessage()
Get the requestMessage property: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PrivateLinkServiceConnection.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The resource type.
Returns:
validate
public void validate()
Validates the instance.
withGroupIds
public PrivateLinkServiceConnection withGroupIds(List
Set the groupIds property: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
Parameters:
Returns:
withId
public PrivateLinkServiceConnection withId(String id)
Overrides:
PrivateLinkServiceConnection.withId(String id)Parameters:
withName
public PrivateLinkServiceConnection withName(String name)
Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Parameters:
Returns:
withPrivateLinkServiceConnectionState
public PrivateLinkServiceConnection withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)
Set the privateLinkServiceConnectionState property: A collection of read-only information about the state of the connection to the remote resource.
Parameters:
Returns:
withPrivateLinkServiceId
public PrivateLinkServiceConnection withPrivateLinkServiceId(String privateLinkServiceId)
Set the privateLinkServiceId property: The resource id of private link service.
Parameters:
Returns:
withRequestMessage
public PrivateLinkServiceConnection withRequestMessage(String requestMessage)
Set the requestMessage property: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
Parameters:
Returns:
Applies to
Azure SDK for Java