Skip to content

PasswordForAccessDevice

Bases: OCIType

Passwords to be generated for an access device. The combination of serviceProviderId, groupId, and deviceName will be used to find the device if it exists. If the device doesn't exist yet, then the serviceProviderId and groupId will be used to choose the password rules with which to generate the device password.

Attributes:

service_provider_id (Optional[str]):

group_id (Optional[str]):

device_name (Optional[str]):

generate_device_authentication_password (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class PasswordForAccessDevice(OCIType):
    """Passwords to be generated for an access device.
        The combination of serviceProviderId, groupId, and deviceName will be used
        to find the device if it exists. If the device doesn't exist yet, then
        the serviceProviderId and groupId will be used to choose the password
        rules with which to generate the device password.

    Attributes:

        service_provider_id (Optional[str]):

        group_id (Optional[str]):

        device_name (Optional[str]):

        generate_device_authentication_password (bool):

    """

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

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

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

    generate_device_authentication_password: bool = field(
        metadata={"alias": "generateDeviceAuthenticationPassword"}
    )