Class PrivateLinkServiceProperties
java.lang.Object
com.azure.resourcemanager.network.fluent.models.PrivateLinkServiceProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<PrivateLinkServiceProperties>
public final class PrivateLinkServiceProperties
extends Object
implements com.azure.json.JsonSerializable<PrivateLinkServiceProperties>
Properties of the private link service.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PrivateLinkServiceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionalias()Get the alias property: The alias of the private link service.Get the autoApproval property: The auto-approval list of the private link service.Get the destinationIpAddress property: The destination IP address of the private link service.Get the enableProxyProtocol property: Whether the private link service is enabled for proxy protocol or not.fqdns()Get the fqdns property: The list of Fqdn.static PrivateLinkServicePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PrivateLinkServiceProperties from the JsonReader.Get the ipConfigurations property: An array of private link service IP configurations.Get the loadBalancerFrontendIpConfigurations property: An array of references to the load balancer IP configurations.Get the networkInterfaces property: An array of references to the network interfaces created for this private link service.Get the privateEndpointConnections property: An array of list about connections to the private endpoint.Get the provisioningState property: The provisioning state of the private link service resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the visibility property: The visibility list of the private link service.withAutoApproval(PrivateLinkServicePropertiesAutoApproval autoApproval) Set the autoApproval property: The auto-approval list of the private link service.withDestinationIpAddress(String destinationIpAddress) Set the destinationIpAddress property: The destination IP address of the private link service.withEnableProxyProtocol(Boolean enableProxyProtocol) Set the enableProxyProtocol property: Whether the private link service is enabled for proxy protocol or not.Set the fqdns property: The list of Fqdn.withIpConfigurations(List<PrivateLinkServiceIpConfigurationInner> ipConfigurations) Set the ipConfigurations property: An array of private link service IP configurations.withLoadBalancerFrontendIpConfigurations(List<FrontendIpConfigurationInner> loadBalancerFrontendIpConfigurations) Set the loadBalancerFrontendIpConfigurations property: An array of references to the load balancer IP configurations.withVisibility(PrivateLinkServicePropertiesVisibility visibility) Set the visibility property: The visibility list of the private link service.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
PrivateLinkServiceProperties
public PrivateLinkServiceProperties()Creates an instance of PrivateLinkServiceProperties class.
-
-
Method Details
-
loadBalancerFrontendIpConfigurations
Get the loadBalancerFrontendIpConfigurations property: An array of references to the load balancer IP configurations.- Returns:
- the loadBalancerFrontendIpConfigurations value.
-
withLoadBalancerFrontendIpConfigurations
public PrivateLinkServiceProperties withLoadBalancerFrontendIpConfigurations(List<FrontendIpConfigurationInner> loadBalancerFrontendIpConfigurations) Set the loadBalancerFrontendIpConfigurations property: An array of references to the load balancer IP configurations.- Parameters:
loadBalancerFrontendIpConfigurations- the loadBalancerFrontendIpConfigurations value to set.- Returns:
- the PrivateLinkServiceProperties object itself.
-
ipConfigurations
Get the ipConfigurations property: An array of private link service IP configurations.- Returns:
- the ipConfigurations value.
-
withIpConfigurations
public PrivateLinkServiceProperties withIpConfigurations(List<PrivateLinkServiceIpConfigurationInner> ipConfigurations) Set the ipConfigurations property: An array of private link service IP configurations.- Parameters:
ipConfigurations- the ipConfigurations value to set.- Returns:
- the PrivateLinkServiceProperties object itself.
-
destinationIpAddress
Get the destinationIpAddress property: The destination IP address of the private link service.- Returns:
- the destinationIpAddress value.
-
withDestinationIpAddress
Set the destinationIpAddress property: The destination IP address of the private link service.- Parameters:
destinationIpAddress- the destinationIpAddress value to set.- Returns:
- the PrivateLinkServiceProperties object itself.
-
networkInterfaces
Get the networkInterfaces property: An array of references to the network interfaces created for this private link service.- Returns:
- the networkInterfaces value.
-
provisioningState
Get the provisioningState property: The provisioning state of the private link service resource.- Returns:
- the provisioningState value.
-
privateEndpointConnections
Get the privateEndpointConnections property: An array of list about connections to the private endpoint.- Returns:
- the privateEndpointConnections value.
-
visibility
Get the visibility property: The visibility list of the private link service.- Returns:
- the visibility value.
-
withVisibility
public PrivateLinkServiceProperties withVisibility(PrivateLinkServicePropertiesVisibility visibility) Set the visibility property: The visibility list of the private link service.- Parameters:
visibility- the visibility value to set.- Returns:
- the PrivateLinkServiceProperties object itself.
-
autoApproval
Get the autoApproval property: The auto-approval list of the private link service.- Returns:
- the autoApproval value.
-
withAutoApproval
public PrivateLinkServiceProperties 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 PrivateLinkServiceProperties object itself.
-
fqdns
Get the fqdns property: The list of Fqdn.- Returns:
- the fqdns value.
-
withFqdns
Set the fqdns property: The list of Fqdn.- Parameters:
fqdns- the fqdns value to set.- Returns:
- the PrivateLinkServiceProperties object itself.
-
alias
Get the alias property: The alias of the private link service.- Returns:
- the alias value.
-
enableProxyProtocol
Get the enableProxyProtocol property: Whether the private link service is enabled for proxy protocol or not.- Returns:
- the enableProxyProtocol value.
-
withEnableProxyProtocol
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 PrivateLinkServiceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<PrivateLinkServiceProperties>- Throws:
IOException
-
fromJson
public static PrivateLinkServiceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of PrivateLinkServiceProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of PrivateLinkServiceProperties 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 PrivateLinkServiceProperties.
-