SubnetSharedPublicIpAddressConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. models. SubnetSharedPublicIpAddressConfiguration
- com.
public final class SubnetSharedPublicIpAddressConfiguration
Configuration for public IP address sharing.
Constructor Summary
Constructor | Description |
---|---|
SubnetSharedPublicIpAddressConfiguration() |
Creates an instance of Subnet |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Port> |
allowedPorts()
Get the allowed |
void |
validate()
Validates the instance. |
Subnet |
withAllowedPorts(List<Port> allowedPorts)
Set the allowed |
Methods inherited from java.lang.Object
Constructor Details
SubnetSharedPublicIpAddressConfiguration
public SubnetSharedPublicIpAddressConfiguration()
Creates an instance of SubnetSharedPublicIpAddressConfiguration class.
Method Details
allowedPorts
public List
Get the allowedPorts property: Backend ports that virtual machines on this subnet are allowed to expose.
Returns:
validate
public void validate()
Validates the instance.
withAllowedPorts
public SubnetSharedPublicIpAddressConfiguration withAllowedPorts(List
Set the allowedPorts property: Backend ports that virtual machines on this subnet are allowed to expose.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for