Skip to content

PasswordForSystemAdministrator

Bases: OCIType

Password to be generated for a System or Provisioning administrator. If the administratorId is not included, or included but is not an exiting administrator for the service provider, a password will be generated based on only the rules applicable for a new user.

Attributes:

administrator_id (Optional[str]):

generate_password (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class PasswordForSystemAdministrator(OCIType):
    """Password to be generated for a System or Provisioning administrator. If the administratorId is
        not included, or included but is not an exiting administrator for the
        service provider, a password will be generated
        based on only the rules applicable for a new user.

    Attributes:

        administrator_id (Optional[str]):

        generate_password (bool):

    """

    administrator_id: Optional[str] = field(
        default=None, metadata={"alias": "administratorId"}
    )

    generate_password: bool = field(metadata={"alias": "generatePassword"})