def METHOD_NAME(self, session, subscription_id):
    client = MonitorManagementClient(
        session.get_credentials(),
        subscription_id=subscription_id
    )
    query = client.subscription_diagnostic_settings.list(subscription_id)
    settings = query.serialize(True).get('value', [])
    # put an empty item in when no diag settings so the absent operator can function
    if not settings:
        settings = [{}]
    return settings