Function getzoneidbyname

Source
pub fn getzoneidbyname(zonename: &str) -> Result<i32>
Expand description

Returns the zone ID corresponding to the named zone.

ยงExample

let zoneid = zonename::getzoneidbyname(&zonename).expect("failed to get zoneid");