@utils.arg('domain', metavar='<domain>', help=_('DNS domain.'))
@utils.arg('--availability-zone', metavar='<availability-zone>', default=None, help=_('Limit access to this domain to servers in the specified availability zone.'))
@deprecated_network
def do_dns_create_private_domain(cs, args):
 cs.dns_domains.create_private(args.domain, args.availability_zone)

@ utils . arg ( 'domain' , metavar = '<domain>' , help = _ ( 'DNS domain.' ) ) @ utils . arg ( '--availability-zone' , metavar = '<availability-zone>' , default = None , help = _ ( 'Limit access to this domain to servers in the specified availability zone.' ) ) @ deprecated_network def do_dns_create_private_domain ( cs , args ) : cs . dns_domains . create_private ( args . domain , args . availability_zone )
create the specified dns domain .