Esempio n. 1
0
def _AddArgsCommon(parser, messages):
    flags.GetDnsZoneArg(
        'The name of the managed-zone to be created.').AddToParser(parser)
    flags.GetManagedZonesDnsNameArg().AddToParser(parser)
    flags.GetManagedZonesDescriptionArg(required=True).AddToParser(parser)
    flags.AddCommonManagedZonesDnssecArgs(parser, messages)
    labels_util.AddCreateLabelsFlags(parser)
Esempio n. 2
0
 def Args(parser):
   flags.GetDnsZoneArg(
       'The name of the managed-zone to be created.').AddToParser(parser)
   flags.GetManagedZonesDnsNameArg().AddToParser(parser)
   flags.GetManagedZonesDescriptionArg(required=True).AddToParser(parser)
   flags.AddCommonManagedZonesDnssecArgs(parser)
   parser.display_info.AddCacheUpdater(flags.ManagedZoneCompleter)
 def Args(parser):
     flags.GetDnsZoneArg(
         'The name of the managed-zone to be updated..').AddToParser(parser)
     messages = apis.GetMessagesModule('dns', 'v1beta2')
     flags.AddCommonManagedZonesDnssecArgs(parser, messages)
     flags.GetManagedZonesDescriptionArg().AddToParser(parser)
     labels_util.AddUpdateLabelsFlags(parser)
Esempio n. 4
0
 def Args(parser):
   flags.GetDnsZoneArg(
       'The name of the managed-zone to be created.').AddToParser(parser)
   parser.add_argument(
       '--dns-name',
       required=True,
       help='The DNS name suffix that will be managed with the created zone.')
   parser.add_argument('--description',
                       required=True,
                       help='Short description for the managed-zone.')
Esempio n. 5
0
def _AddArgsCommon(parser, messages):
    """Adds the common arguments for all versions."""
    flags.GetDnsZoneArg(
        'The name of the managed-zone to be created.').AddToParser(parser)
    flags.GetManagedZonesDnsNameArg().AddToParser(parser)
    flags.GetManagedZonesDescriptionArg(required=True).AddToParser(parser)
    flags.AddCommonManagedZonesDnssecArgs(parser, messages)
    labels_util.AddCreateLabelsFlags(parser)
    flags.GetManagedZoneNetworksArg().AddToParser(parser)
    flags.GetManagedZoneVisibilityArg().AddToParser(parser)
    flags.GetForwardingTargetsArg().AddToParser(parser)
    flags.GetDnsPeeringArgs().AddToParser(parser)
Esempio n. 6
0
 def Args(parser):
   flags.GetDnsZoneArg(
       'The name of the empty managed-zone to be deleted.').AddToParser(parser)
   parser.display_info.AddCacheUpdater(None)
 def Args(parser):
   flags.GetDnsZoneArg(
       'The name of the managed-zone to be updated..').AddToParser(parser)
   flags.AddCommonManagedZonesDnssecArgs(parser)
   flags.GetManagedZonesDescriptionArg().AddToParser(parser)
Esempio n. 8
0
 def Args(parser):
     flags.GetDnsZoneArg(
         'The name of the managed-zone to be created.').AddToParser(parser)
     flags.GetManagedZonesDnsNameArg().AddToParser(parser)
     flags.GetManagedZonesDescriptionArg(required=True).AddToParser(parser)
     flags.AddCommonManagedZonesDnssecArgs(parser)
Esempio n. 9
0
 def Args(parser):
   flags.GetDnsZoneArg(
       'The name of the empty managed-zone to be deleted.').AddToParser(parser)
Esempio n. 10
0
 def Args(parser):
   flags.GetDnsZoneArg(
       'The name of the managed-zone to be described.').AddToParser(parser)