Partilhar via


PrivateLinkServiceInner Class

public final class PrivateLinkServiceInner
extends Resource

Private link service resource.

Constructor Summary

Constructor Description
PrivateLinkServiceInner()

Creates an instance of PrivateLinkServiceInner class.

Method Summary

Modifier and Type Method and Description
String alias()

Get the alias property: The alias of the private link service.

PrivateLinkServicePropertiesAutoApproval autoApproval()

Get the autoApproval property: The auto-approval list of the private link service.

String destinationIpAddress()

Get the destinationIpAddress property: The destination IP address of the private link service.

Boolean enableProxyProtocol()

Get the enableProxyProtocol property: Whether the private link service is enabled for proxy protocol or not.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location of the load balancer.

List<String> fqdns()

Get the fqdns property: The list of Fqdn.

static PrivateLinkServiceInner fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkServiceInner from the JsonReader.

String id()

Get the id property: Resource ID.

List<PrivateLinkServiceIpConfigurationInner> ipConfigurations()

Get the ipConfigurations property: An array of private link service IP configurations.

List<FrontendIpConfigurationInner> loadBalancerFrontendIpConfigurations()

Get the loadBalancerFrontendIpConfigurations property: An array of references to the load balancer IP configurations.

String name()

Get the name property: The name of the resource.

List<NetworkInterfaceInner> networkInterfaces()

Get the networkInterfaces property: An array of references to the network interfaces created for this private link service.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: An array of list about connections to the private endpoint.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the private link service resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

PrivateLinkServicePropertiesVisibility visibility()

Get the visibility property: The visibility list of the private link service.

PrivateLinkServiceInner withAutoApproval(PrivateLinkServicePropertiesAutoApproval autoApproval)

Set the autoApproval property: The auto-approval list of the private link service.

PrivateLinkServiceInner withDestinationIpAddress(String destinationIpAddress)

Set the destinationIpAddress property: The destination IP address of the private link service.

PrivateLinkServiceInner withEnableProxyProtocol(Boolean enableProxyProtocol)

Set the enableProxyProtocol property: Whether the private link service is enabled for proxy protocol or not.

PrivateLinkServiceInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location of the load balancer.

PrivateLinkServiceInner withFqdns(List<String> fqdns)

Set the fqdns property: The list of Fqdn.

PrivateLinkServiceInner withId(String id)

Set the id property: Resource ID.

PrivateLinkServiceInner withIpConfigurations(List<PrivateLinkServiceIpConfigurationInner> ipConfigurations)

Set the ipConfigurations property: An array of private link service IP configurations.

PrivateLinkServiceInner withLoadBalancerFrontendIpConfigurations(List<FrontendIpConfigurationInner> loadBalancerFrontendIpConfigurations)

Set the loadBalancerFrontendIpConfigurations property: An array of references to the load balancer IP configurations.

PrivateLinkServiceInner withLocation(String location)
PrivateLinkServiceInner withTags(Map<String,String> tags)
PrivateLinkServiceInner withVisibility(PrivateLinkServicePropertiesVisibility visibility)

Set the visibility property: The visibility list of the private link service.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkServiceInner

public PrivateLinkServiceInner()

Creates an instance of PrivateLinkServiceInner class.

Method Details

alias

public String alias()

Get the alias property: The alias of the private link service.

Returns:

the alias value.

autoApproval

public PrivateLinkServicePropertiesAutoApproval autoApproval()

Get the autoApproval property: The auto-approval list of the private link service.

Returns:

the autoApproval value.

destinationIpAddress

public String destinationIpAddress()

Get the destinationIpAddress property: The destination IP address of the private link service.

Returns:

the destinationIpAddress value.

enableProxyProtocol

public Boolean enableProxyProtocol()

Get the enableProxyProtocol property: Whether the private link service is enabled for proxy protocol or not.

Returns:

the enableProxyProtocol value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

extendedLocation

public ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location of the load balancer.

Returns:

the extendedLocation value.

fqdns

public List fqdns()

Get the fqdns property: The list of Fqdn.

Returns:

the fqdns value.

fromJson

public static PrivateLinkServiceInner fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkServiceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Resource ID.

Overrides:

PrivateLinkServiceInner.id()

Returns:

the id value.

ipConfigurations

public List ipConfigurations()

Get the ipConfigurations property: An array of private link service IP configurations.

Returns:

the ipConfigurations value.

loadBalancerFrontendIpConfigurations

public List loadBalancerFrontendIpConfigurations()

Get the loadBalancerFrontendIpConfigurations property: An array of references to the load balancer IP configurations.

Returns:

the loadBalancerFrontendIpConfigurations value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

PrivateLinkServiceInner.name()

Returns:

the name value.

networkInterfaces

public List networkInterfaces()

Get the networkInterfaces property: An array of references to the network interfaces created for this private link service.

Returns:

the networkInterfaces value.

privateEndpointConnections

public List privateEndpointConnections()

Get the privateEndpointConnections property: An array of list about connections to the private endpoint.

Returns:

the privateEndpointConnections value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the private link service resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PrivateLinkServiceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

PrivateLinkServiceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

visibility

public PrivateLinkServicePropertiesVisibility visibility()

Get the visibility property: The visibility list of the private link service.

Returns:

the visibility value.

withAutoApproval

public PrivateLinkServiceInner withAutoApproval(PrivateLinkServicePropertiesAutoApproval autoApproval)

Set the autoApproval property: The auto-approval list of the private link service.

Parameters:

autoApproval - the autoApproval value to set.

Returns:

the PrivateLinkServiceInner object itself.

withDestinationIpAddress

public PrivateLinkServiceInner withDestinationIpAddress(String destinationIpAddress)

Set the destinationIpAddress property: The destination IP address of the private link service.

Parameters:

destinationIpAddress - the destinationIpAddress value to set.

Returns:

the PrivateLinkServiceInner object itself.

withEnableProxyProtocol

public PrivateLinkServiceInner withEnableProxyProtocol(Boolean enableProxyProtocol)

Set the enableProxyProtocol property: Whether the private link service is enabled for proxy protocol or not.

Parameters:

enableProxyProtocol - the enableProxyProtocol value to set.

Returns:

the PrivateLinkServiceInner object itself.

withExtendedLocation

public PrivateLinkServiceInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location of the load balancer.

Parameters:

extendedLocation - the extendedLocation value to set.

Returns:

the PrivateLinkServiceInner object itself.

withFqdns

public PrivateLinkServiceInner withFqdns(List fqdns)

Set the fqdns property: The list of Fqdn.

Parameters:

fqdns - the fqdns value to set.

Returns:

the PrivateLinkServiceInner object itself.

withId

public PrivateLinkServiceInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the PrivateLinkServiceInner object itself.

withIpConfigurations

public PrivateLinkServiceInner withIpConfigurations(List ipConfigurations)

Set the ipConfigurations property: An array of private link service IP configurations.

Parameters:

ipConfigurations - the ipConfigurations value to set.

Returns:

the PrivateLinkServiceInner object itself.

withLoadBalancerFrontendIpConfigurations

public PrivateLinkServiceInner withLoadBalancerFrontendIpConfigurations(List loadBalancerFrontendIpConfigurations)

Set the loadBalancerFrontendIpConfigurations property: An array of references to the load balancer IP configurations.

Parameters:

loadBalancerFrontendIpConfigurations - the loadBalancerFrontendIpConfigurations value to set.

Returns:

the PrivateLinkServiceInner object itself.

withLocation

public PrivateLinkServiceInner withLocation(String location)

Overrides:

PrivateLinkServiceInner.withLocation(String location)

Parameters:

location

withTags

public PrivateLinkServiceInner withTags(Map tags)

Overrides:

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

Parameters:

tags

withVisibility

public PrivateLinkServiceInner withVisibility(PrivateLinkServicePropertiesVisibility visibility)

Set the visibility property: The visibility list of the private link service.

Parameters:

visibility - the visibility value to set.

Returns:

the PrivateLinkServiceInner object itself.

Applies to