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 Details

    • PrivateLinkServiceInner

      public PrivateLinkServiceInner()
      Creates an instance of PrivateLinkServiceInner class.
  • Method Details

    • 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:
      id in class com.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.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • withLocation

      public PrivateLinkServiceInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public PrivateLinkServiceInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.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.
    • destinationIpAddress

      public String destinationIpAddress()
      Get the destinationIpAddress property: The destination IP address of the private link service.
      Returns:
      the destinationIpAddress value.
    • 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.
    • 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

      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

      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.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.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.