def _get_blob_name(blob):
    """Return the blob name.

    :param blob: A blob string or BlobProperties
    :paramtype blob: str or BlobProperties
    :returns: The name of the blob.
    :rtype: str
    """
    try:
        return blob.get('name')
    except AttributeError:
        return blob
Return the blob name.

    :param blob: A blob string or BlobProperties
    :paramtype blob: str or BlobProperties
    :returns: The name of the blob.
    :rtype: str
    
Solutions/CyberArkAudit/Data Connectors/.python_packages/lib/site-packages/azure/storage/blob/_container_client.py