# mistralclient.commands.v2.members module

class mistralclient.commands.v2.members.Create(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Shares a resource to another tenant.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.members.Create (WARNING)>
  take_action(parsed_args)

    Run command.

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

class mistralclient.commands.v2.members.Delete(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  Delete a resource sharing relationship.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.members.Delete (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class mistralclient.commands.v2.members.Get(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Show specific member information.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.members.Get (WARNING)>
  take_action(parsed_args)

    Run command.

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

class mistralclient.commands.v2.members.List(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `MistralLister`

  List all members.

  get_parser(parsed_args)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.members.List (WARNING)>

class mistralclient.commands.v2.members.MemberFormatter

  Bases: `MistralFormatter`

  COLUMNS = [('resource_id', 'Resource ID'), ('resource_type', 'Resource Type'), ('project_id', 'Resource Owner'), ('member_id', 'Member ID'), ('status', 'Status'), ('created_at', 'Created at'), ('updated_at', 'Updated at')]
  static format(member=None, lister=False)

class mistralclient.commands.v2.members.Update(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Update resource sharing status.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.members.Update (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:31:21

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