Class PrivateLinkServiceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.network.fluent.models.PrivateLinkServiceInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class PrivateLinkServiceInner
extends com.azure.core.management.Resource
Private link service resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PrivateLinkServiceInner 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.etag()Get the etag property: A unique read-only string that changes whenever the resource is updated.Get the extendedLocation property: The extended location of the load balancer.fqdns()Get the fqdns property: The list of Fqdn.static PrivateLinkServiceInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PrivateLinkServiceInner from the JsonReader.id()Get the id property: Resource ID.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.name()Get the name property: The name of the resource.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) type()Get the type property: The type of the resource.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.withExtendedLocation(ExtendedLocation extendedLocation) Set the extendedLocation property: The extended location of the load balancer.Set the fqdns property: The list of Fqdn.Set the id property: Resource ID.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.withLocation(String location) withVisibility(PrivateLinkServicePropertiesVisibility visibility) Set the visibility property: The visibility list of the private link service.Methods inherited from class com.azure.core.management.Resource
location, tagsMethods 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
-
PrivateLinkServiceInner
public PrivateLinkServiceInner()Creates an instance of PrivateLinkServiceInner class.
-
-
Method Details
-
extendedLocation
Get the extendedLocation property: The extended location of the load balancer.- Returns:
- the extendedLocation value.
-
withExtendedLocation
Set the extendedLocation property: The extended location of the load balancer.- Parameters:
extendedLocation- the extendedLocation value to set.- Returns:
- the PrivateLinkServiceInner object itself.
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
id
Get the id property: Resource ID.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the PrivateLinkServiceInner object itself.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
loadBalancerFrontendIpConfigurations
Get the loadBalancerFrontendIpConfigurations property: An array of references to the load balancer IP configurations.- Returns:
- the loadBalancerFrontendIpConfigurations value.
-
withLoadBalancerFrontendIpConfigurations
public PrivateLinkServiceInner 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 PrivateLinkServiceInner object itself.
-
ipConfigurations
Get the ipConfigurations property: An array of private link service IP configurations.- Returns:
- the ipConfigurations value.
-
withIpConfigurations
public PrivateLinkServiceInner 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 PrivateLinkServiceInner 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 PrivateLinkServiceInner 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
Set the visibility property: The visibility list of the private link service.- Parameters:
visibility- the visibility value to set.- Returns:
- the PrivateLinkServiceInner object itself.
-
autoApproval
Get the autoApproval property: The auto-approval list of the private link service.- Returns:
- the autoApproval 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.
-
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 PrivateLinkServiceInner 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 PrivateLinkServiceInner 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<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.Resource- Throws:
IOException
-
fromJson
public static PrivateLinkServiceInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the PrivateLinkServiceInner.
-