def AllowPort(self, vm, port):
    if vm.is_static or port == SSH_PORT:
      return
    _AzureEndpoint(vm.name, port, 'tcp').Create()
    _AzureEndpoint(vm.name, port, 'udp').Create()
Opens a port on the firewall.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/providers/azure/azure_network.py/AzureFirewall.AllowPort