Class PrivateLinkServiceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.network.fluent.models.PrivateLinkServiceInner
-
public final class PrivateLinkServiceInner extends com.azure.core.management.ResourcePrivate link service resource.
-
-
Constructor Summary
Constructors Constructor Description PrivateLinkServiceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringalias()Get the alias property: The alias of the private link service.PrivateLinkServicePropertiesAutoApprovalautoApproval()Get the autoApproval property: The auto-approval list of the private link service.BooleanenableProxyProtocol()Get the enableProxyProtocol property: Whether the private link service is enabled for proxy protocol or not.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.ExtendedLocationextendedLocation()Get the extendedLocation property: The extended location of the load balancer.List<String>fqdns()Get the fqdns property: The list of Fqdn.Stringid()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.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.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the private link service resource.voidvalidate()Validates the instance.PrivateLinkServicePropertiesVisibilityvisibility()Get the visibility property: The visibility list of the private link service.PrivateLinkServiceInnerwithAutoApproval(PrivateLinkServicePropertiesAutoApproval autoApproval)Set the autoApproval property: The auto-approval list of the private link service.PrivateLinkServiceInnerwithEnableProxyProtocol(Boolean enableProxyProtocol)Set the enableProxyProtocol property: Whether the private link service is enabled for proxy protocol or not.PrivateLinkServiceInnerwithExtendedLocation(ExtendedLocation extendedLocation)Set the extendedLocation property: The extended location of the load balancer.PrivateLinkServiceInnerwithFqdns(List<String> fqdns)Set the fqdns property: The list of Fqdn.PrivateLinkServiceInnerwithId(String id)Set the id property: Resource ID.PrivateLinkServiceInnerwithIpConfigurations(List<PrivateLinkServiceIpConfigurationInner> ipConfigurations)Set the ipConfigurations property: An array of private link service IP configurations.PrivateLinkServiceInnerwithLoadBalancerFrontendIpConfigurations(List<FrontendIpConfigurationInner> loadBalancerFrontendIpConfigurations)Set the loadBalancerFrontendIpConfigurations property: An array of references to the load balancer IP configurations.PrivateLinkServiceInnerwithLocation(String location)PrivateLinkServiceInnerwithTags(Map<String,String> tags)PrivateLinkServiceInnerwithVisibility(PrivateLinkServicePropertiesVisibility visibility)Set the visibility property: The visibility list of the private link service.
-
-
-
Method Detail
-
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: The extended location of the load balancer.- Returns:
- the extendedLocation value.
-
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.
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
id
public String id()
Get the id property: Resource ID.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
public PrivateLinkServiceInner withId(String id)
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the PrivateLinkServiceInner object itself.
-
withLocation
public PrivateLinkServiceInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public PrivateLinkServiceInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
loadBalancerFrontendIpConfigurations
public List<FrontendIpConfigurationInner> 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
public List<PrivateLinkServiceIpConfigurationInner> 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.
-
networkInterfaces
public List<NetworkInterfaceInner> networkInterfaces()
Get the networkInterfaces property: An array of references to the network interfaces created for this private link service.- Returns:
- the networkInterfaces value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the private link service resource.- Returns:
- the provisioningState value.
-
privateEndpointConnections
public List<PrivateEndpointConnectionInner> privateEndpointConnections()
Get the privateEndpointConnections property: An array of list about connections to the private endpoint.- Returns:
- the privateEndpointConnections value.
-
visibility
public PrivateLinkServicePropertiesVisibility visibility()
Get the visibility property: The visibility list of the private link service.- Returns:
- the visibility value.
-
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.
-
autoApproval
public PrivateLinkServicePropertiesAutoApproval 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
public List<String> fqdns()
Get the fqdns property: The list of Fqdn.- Returns:
- the fqdns value.
-
withFqdns
public PrivateLinkServiceInner withFqdns(List<String> fqdns)
Set the fqdns property: The list of Fqdn.- Parameters:
fqdns- the fqdns value to set.- Returns:
- the PrivateLinkServiceInner object itself.
-
alias
public String alias()
Get the alias property: The alias of the private link service.- Returns:
- the alias 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.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-