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 Summary
ConstructorsConstructorDescriptionCreates an instance of PrivateEndpointPropertiesInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the applicationSecurityGroups property: Application security groups in which the private endpoint IP configuration is included.Get the customDnsConfigs property: An array of custom dns configurations.Get the customNetworkInterfaceName property: The custom name of the network interface attached to the private endpoint.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PrivateEndpointPropertiesInner from the JsonReader.Get the ipConfigurations property: A list of IP configurations of the private endpoint.Get the manualPrivateLinkServiceConnections property: A grouping of information about the connection to the remote resource.Get the networkInterfaces property: An array of references to the network interfaces created for this private endpoint.Get the privateLinkServiceConnections property: A grouping of information about the connection to the remote resource.Get the provisioningState property: The provisioning state of the private endpoint resource.subnet()Get the subnet property: The ID of the subnet from which the private IP will be allocated.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withApplicationSecurityGroups(List<ApplicationSecurityGroupInner> applicationSecurityGroups) Set the applicationSecurityGroups property: Application security groups in which the private endpoint IP configuration is included.withCustomDnsConfigs(List<CustomDnsConfigPropertiesFormat> customDnsConfigs) Set the customDnsConfigs property: An array of custom dns configurations.withCustomNetworkInterfaceName(String customNetworkInterfaceName) Set the customNetworkInterfaceName property: The custom name of the network interface attached to the private endpoint.withIpConfigurations(List<PrivateEndpointIpConfiguration> ipConfigurations) Set the ipConfigurations property: A list of IP configurations of the private endpoint.withManualPrivateLinkServiceConnections(List<PrivateLinkServiceConnection> manualPrivateLinkServiceConnections) Set the manualPrivateLinkServiceConnections property: A grouping of information about the connection to the remote resource.withPrivateLinkServiceConnections(List<PrivateLinkServiceConnection> privateLinkServiceConnections) Set the privateLinkServiceConnections property: A grouping of information about the connection to the remote resource.withSubnet(SubnetInner subnet) Set the subnet property: The ID of the subnet from which the private IP will be allocated.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
-
PrivateEndpointPropertiesInner
public PrivateEndpointPropertiesInner()Creates an instance of PrivateEndpointPropertiesInner class.
-
-
Method Details
-
subnet
Get the subnet property: The ID of the subnet from which the private IP will be allocated.- Returns:
- the subnet value.
-
withSubnet
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
Get the networkInterfaces property: An array of references to the network interfaces created for this private endpoint.- Returns:
- the networkInterfaces value.
-
provisioningState
Get the provisioningState property: The provisioning state of the private endpoint resource.- Returns:
- the provisioningState value.
-
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
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
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
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
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
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
- Specified by:
toJsonin interfacecom.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.
-