Class PrivateEndpointInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.network.fluent.models.PrivateEndpointInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class PrivateEndpointInner
extends com.azure.core.management.Resource
Private endpoint resource.
-
Constructor Summary
Constructors -
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.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.static PrivateEndpointInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PrivateEndpointInner from the JsonReader.id()Get the id property: Resource ID.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.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 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) type()Get the type property: The type of the resource.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.withExtendedLocation(ExtendedLocation extendedLocation) Set the extendedLocation property: The extended location of the load balancer.Set the id property: Resource ID.withIpConfigurations(List<PrivateEndpointIpConfiguration> ipConfigurations) Set the ipConfigurations property: A list of IP configurations of the private endpoint.withLocation(String location) 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 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
-
PrivateEndpointInner
public PrivateEndpointInner()Creates an instance of PrivateEndpointInner 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 PrivateEndpointInner 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 PrivateEndpointInner 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
-
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 PrivateEndpointInner 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 PrivateEndpointInner 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 PrivateEndpointInner 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 PrivateEndpointInner 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 PrivateEndpointInner object itself.
-
customDnsConfigs
Get the customDnsConfigs property: An array of custom dns configurations.- Returns:
- the customDnsConfigs value.
-
withCustomDnsConfigs
public PrivateEndpointInner withCustomDnsConfigs(List<CustomDnsConfigPropertiesFormat> customDnsConfigs) Set the customDnsConfigs property: An array of custom dns configurations.- Parameters:
customDnsConfigs- the customDnsConfigs value to set.- Returns:
- the PrivateEndpointInner 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 PrivateEndpointInner 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 PrivateEndpointInner 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 PrivateEndpointInner 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 PrivateEndpointInner object itself.
-
customNetworkInterfaceName
Get the customNetworkInterfaceName property: The custom name of the network interface attached to the private endpoint.- Returns:
- the customNetworkInterfaceName value.
-
withCustomNetworkInterfaceName
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 PrivateEndpointInner 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 PrivateEndpointInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of PrivateEndpointInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of PrivateEndpointInner 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 PrivateEndpointInner.
-