# designateclient.v2.cli.recordsets module

class designateclient.v2.cli.recordsets.CreateRecordSetCommand(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Create new recordset

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger designateclient.v2.cli.recordsets.CreateRecordSetCommand (WARNING)>
  take_action(parsed_args)

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class designateclient.v2.cli.recordsets.DeleteRecordSetCommand(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Delete recordset

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger designateclient.v2.cli.recordsets.DeleteRecordSetCommand (WARNING)>
  take_action(parsed_args)

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class designateclient.v2.cli.recordsets.ListRecordSetsCommand(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Lister`

  List recordsets

  columns = ['id', 'name', 'type', 'records', 'status', 'action']
  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger designateclient.v2.cli.recordsets.ListRecordSetsCommand (WARNING)>
  take_action(parsed_args)

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class designateclient.v2.cli.recordsets.SetRecordSetCommand(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Set recordset properties

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger designateclient.v2.cli.recordsets.SetRecordSetCommand (WARNING)>
  take_action(parsed_args)

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class designateclient.v2.cli.recordsets.ShowRecordSetCommand(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Show recordset details

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger designateclient.v2.cli.recordsets.ShowRecordSetCommand (WARNING)>
  take_action(parsed_args)

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

this page last updated: 2026-03-26 21:09:09

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug