public final class SubnetSharedPublicIpAddressConfiguration extends Object
Constructor and Description |
---|
SubnetSharedPublicIpAddressConfiguration() |
Modifier and Type | Method and Description |
---|---|
List<Port> |
allowedPorts()
Get the allowedPorts property: Backend ports that virtual machines on this subnet are allowed to expose.
|
void |
validate()
Validates the instance.
|
SubnetSharedPublicIpAddressConfiguration |
withAllowedPorts(List<Port> allowedPorts)
Set the allowedPorts property: Backend ports that virtual machines on this subnet are allowed to expose.
|
public SubnetSharedPublicIpAddressConfiguration()
public List<Port> allowedPorts()
public SubnetSharedPublicIpAddressConfiguration withAllowedPorts(List<Port> allowedPorts)
allowedPorts
- the allowedPorts value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.