@property
@pulumi.getter(name='maxPortsPerVm')
def max_ports_per_vm(self) -> Optional[pulumi.Input[int]]:
    '\n        Maximum number of ports allocated to a VM from this NAT config when Dynamic Port Allocation is enabled. If Dynamic Port Allocation is not enabled, this field has no effect. If Dynamic Port Allocation is enabled, and this field is set, it must be set to a power of two greater than minPortsPerVm, or 64 if minPortsPerVm is not set. If Dynamic Port Allocation is enabled and this field is not set, a maximum of 65536 ports will be allocated to a VM from this NAT config.\n        '
    return pulumi.get(self, 'max_ports_per_vm')
Maximum number of ports allocated to a VM from this NAT config when Dynamic Port Allocation is enabled. If Dynamic Port Allocation is not enabled, this field has no effect. If Dynamic Port Allocation is enabled, and this field is set, it must be set to a power of two greater than minPortsPerVm, or 64 if minPortsPerVm is not set. If Dynamic Port Allocation is enabled and this field is not set, a maximum of 65536 ports will be allocated to a VM from this NAT config.
@property
@pulumi.getter(name='maxPortsPerVm')
def max_ports_per_vm(self) -> Optional[pulumi.Input[int]]:
    '\n        \n        '
    return pulumi.get(self, 'max_ports_per_vm')