Partilhar via


PrivateEndpointInner Class

public final class PrivateEndpointInner
extends Resource

Private endpoint resource.

Constructor Summary

Constructor Description
PrivateEndpointInner()

Creates an instance of PrivateEndpointInner class.

Method Summary

Modifier and Type Method and Description
List<ApplicationSecurityGroupInner> applicationSecurityGroups()

Get the applicationSecurityGroups property: Application security groups in which the private endpoint IP configuration is included.

List<CustomDnsConfigPropertiesFormat> customDnsConfigs()

Get the customDnsConfigs property: An array of custom dns configurations.

String customNetworkInterfaceName()

Get the customNetworkInterfaceName property: The custom name of the network interface attached to the private endpoint.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location of the load balancer.

static PrivateEndpointInner fromJson(JsonReader jsonReader)

Reads an instance of PrivateEndpointInner from the JsonReader.

String id()

Get the id property: Resource ID.

List<PrivateEndpointIpConfiguration> ipConfigurations()

Get the ipConfigurations property: A list of IP configurations of the private endpoint.

List<PrivateLinkServiceConnection> manualPrivateLinkServiceConnections()

Get the manualPrivateLinkServiceConnections property: A grouping of information about the connection to the remote resource.

String name()

Get the name property: The name of the resource.

List<NetworkInterfaceInner> networkInterfaces()

Get the networkInterfaces property: An array of references to the network interfaces created for this private endpoint.

List<PrivateLinkServiceConnection> privateLinkServiceConnections()

Get the privateLinkServiceConnections property: A grouping of information about the connection to the remote resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the private endpoint resource.

SubnetInner subnet()

Get the subnet property: The ID of the subnet from which the private IP will be allocated.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

PrivateEndpointInner withApplicationSecurityGroups(List<ApplicationSecurityGroupInner> applicationSecurityGroups)

Set the applicationSecurityGroups property: Application security groups in which the private endpoint IP configuration is included.

PrivateEndpointInner withCustomDnsConfigs(List<CustomDnsConfigPropertiesFormat> customDnsConfigs)

Set the customDnsConfigs property: An array of custom dns configurations.

PrivateEndpointInner withCustomNetworkInterfaceName(String customNetworkInterfaceName)

Set the customNetworkInterfaceName property: The custom name of the network interface attached to the private endpoint.

PrivateEndpointInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location of the load balancer.

PrivateEndpointInner withId(String id)

Set the id property: Resource ID.

PrivateEndpointInner withIpConfigurations(List<PrivateEndpointIpConfiguration> ipConfigurations)

Set the ipConfigurations property: A list of IP configurations of the private endpoint.

PrivateEndpointInner withLocation(String location)
PrivateEndpointInner withManualPrivateLinkServiceConnections(List<PrivateLinkServiceConnection> manualPrivateLinkServiceConnections)

Set the manualPrivateLinkServiceConnections property: A grouping of information about the connection to the remote resource.

PrivateEndpointInner withPrivateLinkServiceConnections(List<PrivateLinkServiceConnection> privateLinkServiceConnections)

Set the privateLinkServiceConnections property: A grouping of information about the connection to the remote resource.

PrivateEndpointInner withSubnet(SubnetInner subnet)

Set the subnet property: The ID of the subnet from which the private IP will be allocated.

PrivateEndpointInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

PrivateEndpointInner

public PrivateEndpointInner()

Creates an instance of PrivateEndpointInner class.

Method Details

applicationSecurityGroups

public List applicationSecurityGroups()

Get the applicationSecurityGroups property: Application security groups in which the private endpoint IP configuration is included.

Returns:

the applicationSecurityGroups value.

customDnsConfigs

public List customDnsConfigs()

Get the customDnsConfigs property: An array of custom dns configurations.

Returns:

the customDnsConfigs value.

customNetworkInterfaceName

public String customNetworkInterfaceName()

Get the customNetworkInterfaceName property: The custom name of the network interface attached to the private endpoint.

Returns:

the customNetworkInterfaceName value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

extendedLocation

public ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location of the load balancer.

Returns:

the extendedLocation value.

fromJson

public static PrivateEndpointInner fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Resource ID.

Overrides:

PrivateEndpointInner.id()

Returns:

the id value.

ipConfigurations

public List 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.

manualPrivateLinkServiceConnections

public List 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.

name

public String name()

Get the name property: The name of the resource.

Overrides:

PrivateEndpointInner.name()

Returns:

the name value.

networkInterfaces

public List networkInterfaces()

Get the networkInterfaces property: An array of references to the network interfaces created for this private endpoint.

Returns:

the networkInterfaces value.

privateLinkServiceConnections

public List privateLinkServiceConnections()

Get the privateLinkServiceConnections property: A grouping of information about the connection to the remote resource.

Returns:

the privateLinkServiceConnections value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the private endpoint resource.

Returns:

the provisioningState value.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PrivateEndpointInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

PrivateEndpointInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withApplicationSecurityGroups

public PrivateEndpointInner withApplicationSecurityGroups(List 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.

withCustomDnsConfigs

public PrivateEndpointInner withCustomDnsConfigs(List customDnsConfigs)

Set the customDnsConfigs property: An array of custom dns configurations.

Parameters:

customDnsConfigs - the customDnsConfigs value to set.

Returns:

the PrivateEndpointInner object itself.

withCustomNetworkInterfaceName

public PrivateEndpointInner 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 PrivateEndpointInner object itself.

withExtendedLocation

public PrivateEndpointInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location of the load balancer.

Parameters:

extendedLocation - the extendedLocation value to set.

Returns:

the PrivateEndpointInner object itself.

withId

public PrivateEndpointInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the PrivateEndpointInner object itself.

withIpConfigurations

public PrivateEndpointInner withIpConfigurations(List 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.

withLocation

public PrivateEndpointInner withLocation(String location)

Overrides:

PrivateEndpointInner.withLocation(String location)

Parameters:

location

withManualPrivateLinkServiceConnections

public PrivateEndpointInner withManualPrivateLinkServiceConnections(List 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.

withPrivateLinkServiceConnections

public PrivateEndpointInner withPrivateLinkServiceConnections(List 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.

withSubnet

public PrivateEndpointInner 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 PrivateEndpointInner object itself.

withTags

public PrivateEndpointInner withTags(Map tags)

Overrides:

PrivateEndpointInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to