Interface PrivateEndpoint.DefinitionStages.WithSubnet
- All Known Subinterfaces:
PrivateEndpoint.Definition
- Enclosing interface:
- PrivateEndpoint.DefinitionStages
public static interface PrivateEndpoint.DefinitionStages.WithSubnet
The stage of a private endpoint definition allowing to specify the subnet.
-
Method Summary
Modifier and TypeMethodDescriptionwithSubnet(Subnet subnet) Specifies the subnet, from which the private IP will be allocated.withSubnetId(String subnetId) Specifies the subnet, from which the private IP will be allocated.
-
Method Details
-
withSubnet
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
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
-