Interface PrivateEndpoint.DefinitionStages.WithSubnet
-
- All Known Subinterfaces:
PrivateEndpoint.Definition
- Enclosing interface:
- PrivateEndpoint.DefinitionStages
public static interface PrivateEndpoint.DefinitionStages.WithSubnetThe stage of a private endpoint definition allowing to specify the subnet.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrivateEndpoint.DefinitionStages.WithPrivateLinkServiceConnectionwithSubnet(Subnet subnet)Specifies the subnet, from which the private IP will be allocated.PrivateEndpoint.DefinitionStages.WithPrivateLinkServiceConnectionwithSubnetId(String subnetId)Specifies the subnet, from which the private IP will be allocated.
-
-
-
Method Detail
-
withSubnet
PrivateEndpoint.DefinitionStages.WithPrivateLinkServiceConnection withSubnet(Subnet subnet)
Specifies the subnet, from which the private IP will be allocated.- Parameters:
subnet- the subnet from which the private IP will be allocated- Returns:
- the next stage of private endpoint definition
-
withSubnetId
PrivateEndpoint.DefinitionStages.WithPrivateLinkServiceConnection withSubnetId(String subnetId)
Specifies the subnet, from which the private IP will be allocated.- Parameters:
subnetId- the ID of subnet from which the private IP will be allocated- Returns:
- the next stage of private endpoint definition
-
-