Class PrivateEndpointPropertiesInner

java.lang.Object
com.azure.resourcemanager.network.fluent.models.PrivateEndpointPropertiesInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<PrivateEndpointPropertiesInner>

public final class PrivateEndpointPropertiesInner extends Object implements com.azure.json.JsonSerializable<PrivateEndpointPropertiesInner>
Properties of the private endpoint.
  • Constructor Details

    • PrivateEndpointPropertiesInner

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

    • subnet

      public SubnetInner subnet()
      Get the subnet property: The ID of the subnet from which the private IP will be allocated.
      Returns:
      the subnet value.
    • withSubnet

      public PrivateEndpointPropertiesInner withSubnet(SubnetInner subnet)
      Set the subnet property: The ID of the subnet from which the private IP will be allocated.
      Parameters:
      subnet - the subnet value to set.
      Returns:
      the PrivateEndpointPropertiesInner object itself.
    • networkInterfaces

      public List<NetworkInterfaceInner> networkInterfaces()
      Get the networkInterfaces property: An array of references to the network interfaces created for this private endpoint.
      Returns:
      the networkInterfaces value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the private endpoint resource.
      Returns:
      the provisioningState value.
    • privateLinkServiceConnections

      public List<PrivateLinkServiceConnection> privateLinkServiceConnections()
      Get the privateLinkServiceConnections property: A grouping of information about the connection to the remote resource.
      Returns:
      the privateLinkServiceConnections value.
    • withPrivateLinkServiceConnections

      public PrivateEndpointPropertiesInner withPrivateLinkServiceConnections(List<PrivateLinkServiceConnection> privateLinkServiceConnections)
      Set the privateLinkServiceConnections property: A grouping of information about the connection to the remote resource.
      Parameters:
      privateLinkServiceConnections - the privateLinkServiceConnections value to set.
      Returns:
      the PrivateEndpointPropertiesInner object itself.
    • manualPrivateLinkServiceConnections

      public List<PrivateLinkServiceConnection> manualPrivateLinkServiceConnections()
      Get the manualPrivateLinkServiceConnections property: A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
      Returns:
      the manualPrivateLinkServiceConnections value.
    • withManualPrivateLinkServiceConnections

      public PrivateEndpointPropertiesInner withManualPrivateLinkServiceConnections(List<PrivateLinkServiceConnection> manualPrivateLinkServiceConnections)
      Set the manualPrivateLinkServiceConnections property: A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
      Parameters:
      manualPrivateLinkServiceConnections - the manualPrivateLinkServiceConnections value to set.
      Returns:
      the PrivateEndpointPropertiesInner object itself.
    • customDnsConfigs

      public List<CustomDnsConfigPropertiesFormat> customDnsConfigs()
      Get the customDnsConfigs property: An array of custom dns configurations.
      Returns:
      the customDnsConfigs value.
    • withCustomDnsConfigs

      public PrivateEndpointPropertiesInner withCustomDnsConfigs(List<CustomDnsConfigPropertiesFormat> customDnsConfigs)
      Set the customDnsConfigs property: An array of custom dns configurations.
      Parameters:
      customDnsConfigs - the customDnsConfigs value to set.
      Returns:
      the PrivateEndpointPropertiesInner object itself.
    • applicationSecurityGroups

      public List<ApplicationSecurityGroupInner> applicationSecurityGroups()
      Get the applicationSecurityGroups property: Application security groups in which the private endpoint IP configuration is included.
      Returns:
      the applicationSecurityGroups value.
    • withApplicationSecurityGroups

      public PrivateEndpointPropertiesInner withApplicationSecurityGroups(List<ApplicationSecurityGroupInner> applicationSecurityGroups)
      Set the applicationSecurityGroups property: Application security groups in which the private endpoint IP configuration is included.
      Parameters:
      applicationSecurityGroups - the applicationSecurityGroups value to set.
      Returns:
      the PrivateEndpointPropertiesInner object itself.
    • ipConfigurations

      public List<PrivateEndpointIpConfiguration> ipConfigurations()
      Get the ipConfigurations property: A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
      Returns:
      the ipConfigurations value.
    • withIpConfigurations

      public PrivateEndpointPropertiesInner withIpConfigurations(List<PrivateEndpointIpConfiguration> ipConfigurations)
      Set the ipConfigurations property: A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
      Parameters:
      ipConfigurations - the ipConfigurations value to set.
      Returns:
      the PrivateEndpointPropertiesInner object itself.
    • customNetworkInterfaceName

      public String customNetworkInterfaceName()
      Get the customNetworkInterfaceName property: The custom name of the network interface attached to the private endpoint.
      Returns:
      the customNetworkInterfaceName value.
    • withCustomNetworkInterfaceName

      public PrivateEndpointPropertiesInner withCustomNetworkInterfaceName(String customNetworkInterfaceName)
      Set the customNetworkInterfaceName property: The custom name of the network interface attached to the private endpoint.
      Parameters:
      customNetworkInterfaceName - the customNetworkInterfaceName value to set.
      Returns:
      the PrivateEndpointPropertiesInner 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<PrivateEndpointPropertiesInner>
      Throws:
      IOException
    • fromJson

      public static PrivateEndpointPropertiesInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of PrivateEndpointPropertiesInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of PrivateEndpointPropertiesInner 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 PrivateEndpointPropertiesInner.