ucscsdk/utils/ucscbackup.py
def remove_schedule_backup(handle):
    """
    remvove_schedule_backup removes the schedule of UcsCentral's
    full backup.

    Args:
        handle (UcscHandle): UcsCentral Connection handle

    Example:
        remove_schedule_backup(handle)

    """

    from ..mometa.mgmt.MgmtBackupPolicy import MgmtBackupPolicyConsts
    dn = ucsc_base_dn + "/db-backup-policy-default"

    mo = handle.query_dn(dn=dn)
    if not mo:
        raise UcscOperationError("Remove backup schedule",
                                 "Backup Schedule doesn't exist")

    mo.admin_state = MgmtBackupPolicyConsts.ADMIN_STATE_DISABLE

    handle.set_mo(mo)
    handle.commit()

    remvove_schedule_backup removes the schedule of UcsCentral's
    full backup.

    Args:
        handle (UcscHandle): UcsCentral Connection handle

    Example:
        remove_schedule_backup(handle)

    
remvove_schedule_backup removes the schedule of UcsCentral's
full backup.
remvove_schedule_backup removes the schedule of UcsCentral ' s full backup .
def remove_schedule_backup(handle):
    from ..mometa.mgmt.MgmtBackupPolicy import MgmtBackupPolicyConsts
    dn = ucsc_base_dn + "/db-backup-policy-default"
    mo = handle.query_dn(dn=dn)
    if not mo:
        raise UcscOperationError("Remove backup schedule",
                                 "Backup Schedule doesn't exist")
    mo.admin_state = MgmtBackupPolicyConsts.ADMIN_STATE_DISABLE
    handle.set_mo(mo)
    handle.commit()
def remove_schedule_backup ( handle ) : from . . mometa . mgmt . MgmtBackupPolicy import MgmtBackupPolicyConsts dn = ucsc_base_dn + "/db-backup-policy-default" mo = handle . query_dn ( dn = dn ) if not mo : raise UcscOperationError ( "Remove backup schedule" , "Backup Schedule doesn't exist" ) mo . admin_state = MgmtBackupPolicyConsts . ADMIN_STATE_DISABLE handle . set_mo ( mo ) handle . commit ( )
remvove_schedule_backup removes the schedule of UcsCentral's
full backup.
remvove_schedule_backup removes the schedule of UcsCentral ' s full backup .
"""
    remvove_schedule_backup removes the schedule of UcsCentral's
    full backup.

    Args:
        handle (UcscHandle): UcsCentral Connection handle

    Example:
        remove_schedule_backup(handle)

    """
handle
UcsCentral Connection handle
UcsCentral Connection handle
examples
None