

def ex_get_nat_rule(self, network_domain, rule_id):
    '\n        Get a NAT rule by ID\n\n        :param  network_domain: The network domain the rule belongs to\n        :type   network_domain: :class:`DimensionDataNetworkDomain`\n\n        :param  rule_id: The ID of the NAT rule to fetch\n        :type   rule_id: ``str``\n\n        :rtype: :class:`DimensionDataNatRule`\n        '
    rule = self.connection.request_with_orgId_api_2(('network/natRule/%s' % self)).object
    return self._to_nat_rule(rule, network_domain)

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver.ex_get_nat_rule/VarMisuse@27/168 `rule_id`->`self`